diff --git a/Info.txt b/Info.txt index 490cfc594..932745575 100644 --- a/Info.txt +++ b/Info.txt @@ -1,2 +1,2 @@ -The included images are schematics for all multiblock structures, layer by layer. If a block is seperated by a black line, it is interchangeable, such as the electricity ports of factories which are opitonal, the inner tungsten blanket of the fusion reactor which can be removed completely and the concrete around the nuclear reactor (leaving out these parts will have it's downsites, such as less energy, missing ports or radiation) +The included images are schematics for all multiblock structures, layer by layer. If a block is seperated by a black line, it is interchangeable, such as the electricity ports of factories which are opitonal, the inner tungsten blanket of the fusion reactor which can be removed completely and the concrete around the nuclear reactor (leaving out these parts will have it's downsites, such as less energy, missing ports or radiation) The advanced factory can be built like the basic one, but with it's own parts. \ No newline at end of file diff --git a/assets/hbm/lang/de_DE.lang b/assets/hbm/lang/de_DE.lang index a3b23580c..c49aeec2b 100644 --- a/assets/hbm/lang/de_DE.lang +++ b/assets/hbm/lang/de_DE.lang @@ -1,935 +1,1059 @@ -itemGroup.tabTest=Nuclear Tech Mod Test Tab -itemGroup.tabParts=Nuclear Tech Mod Bauteile -itemGroup.tabBlocks=Nuclear Tech Mod Blöcke -itemGroup.tabNuke=Nuclear Tech Mod Bomben - -item.record.lc.desc=Valve - Diabolic Adrenaline Guitar/Lambda Core -item.record.ss.desc=Valve - Sector Sweep -item.record.vc.desc=Valve - Vortal Combat - -death.attack.nuclearBlast=%1$s wurde von einer Atomexplosion weggeblasen. -death.attack.revolverBullet=%1$s wurde von %2$s in den Kopf geschossen. -death.attack.mudPoisoning=%1$s starb an Giftschlamm. -death.attack.euthanized=%1$s wurde von %2$s eingeschläfert. -death.attack.euthanizedSelf=%1$s hat sich selbst eingeschläfert, was für ein Vollpfosten. -death.attack.euthanizedSelf2=%1$s gewinnt den Darwin Award. -death.attack.tau=%1$s wurde von %2$s mit negativ geladenen Tauonen durchsiebt. -death.attack.tauBlast=%1$s lud die XVL1456 zu lange auf und wurde in Stücke gerissen. -death.attack.chopperBullet=%1$s wurde von %2$s gerekt. -death.attack.cmb=%1$s wurde von %2$s pulverisiert. -death.attack.subAtomic=%1$s's Atome wurden von %2$s vernichtet. -death.attack.subAtomic2=%1$s verließ das QPU-Gitter weil %2$s seine De-Facto-Geschwindigkeit manipulierte. -<<<<<<< HEAD -death.attack.subAtomic3=%1$s's Divergenzwert fiel wegen %2$s unter 1 Prozent. -======= -death.attack.subAtomic3=%1$s's Divergenzwert fiel wegen %2$s unter den 1%-Wert. ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -death.attack.subAtomic4=%1$s wurde von %2$s durch null geteilt. -death.attack.subAtomic5=%1$s wurde von %2$s nullifiziert. -death.attack.radiation=%1$s starb an Strahlenvergiftung. -death.attack.acid=%1$s fiel in Säure. -death.attack.suicide=%1$s blies sich die Rübe weg. -<<<<<<< HEAD -death.attack.electrified=%1$s wurde von %2$s elektrisiert. -death.attack.flamethrower=%1$s wurde von %2$s gegrillt. -death.attack.plasma=%1$s wurde von %2$s eingeäschert. -death.attack.ice=%1$s wurde von %2$s in ein Eis am Stiel verwandelt. -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - -item.redstone_sword.name=Redstoneschwert -item.big_sword.name=Großes Schwert -item.test_nuke_igniter.name=Zünder -item.test_nuke_propellant.name=Treibladung -item.test_nuke_tier1_shielding.name=Neutronenreflektor (Stufe 1) -item.test_nuke_tier2_shielding.name=Neutronenreflektor (Stufe 2) -item.test_nuke_tier1_bullet.name=U235 Geschoss (Stufe 1) -item.test_nuke_tier2_bullet.name=MOX Geschoss (Stufe 2) -item.test_nuke_tier1_target.name=Unkritischer U235 Hohlkörper (Stufe 1) -item.test_nuke_tier2_target.name=Unkritischer MOX Hohlkörper (Stufe 2) - -item.gadget_explosive.name=Treibladung -item.gadget_explosive8.name=Verbundene Treibladung -item.gadget_wireing.name=Kabelrolle -item.gadget_core.name=Plutoniumkern - -item.boy_igniter.name=Zünder -item.boy_propellant.name=Treibladung -item.boy_bullet.name=U235 Geschoss -item.boy_target.name=Unterkritischer U235 Hohlkörper -item.boy_shielding.name=Neutronenschild - -item.man_explosive.name=Treibladung -item.man_explosive8.name=Verbundene Treibladung -item.man_igniter.name=Zünder -item.man_core.name=Plutoniumkern - -item.mike_core.name=Mit Uran ummantelter Deuteriumtank -item.mike_deut.name=Deuteriumtank -item.mike_cooling_unit.name=Deuteriumkühleinheit - -item.tsar_core.name=Fusionskern - -item.fleija_igniter.name=Impulszünder -item.fleija_propellant.name=Schrabidiumtreibladung -item.fleija_core.name=F.L.E.I.J.A. Uran-235-Ladung - -container.nukeGadget=The Gadget -container.nukeBoy=Little Boy -container.nukeMan=Fat Man -container.nukeMike=Ivy Mike -container.nukeTsar=Tsar Bombe -container.nukeFleija=F.L.E.I.J.A. -container.nukePrototype=Der Prototyp - -container.bombMulti=Mehrzweckbombe - -tile.nuke_gadget.name=The Gadget -tile.nuke_boy.name=Little Boy -tile.nuke_man.name=Fat Man -tile.nuke_mike.name=Ivy Mike -tile.nuke_tsar.name=Tsar Bombe -tile.nuke_fleija.name=F.L.E.I.J.A. -tile.nuke_prototype.name=Der Prototyp - -tile.bomb_multi.name=Mehrzweckbombe - -tile.flame_war.name=Flamewar aus der Box -tile.float_bomb.name=Schwebebombe -tile.therm_endo.name=Endothermische Bombe -tile.therm_exo.name=Exothermische Bombe - -tile.crashed_bomb.name=Blindgänger - -tile.crate.name=Vorratskiste - -tile.machine_difurnace_off.name=Legierungshochofen -tile.machine_difurnace_on.name=Legierungshochofen -container.diFurnace=Legierungshochofen -tile.machine_centrifuge.name=Zentrifuge -container.centrifuge=Zentrifuge -tile.machine_uf6_tank.name=Uranhexafluorit-Tank -container.uf6_tank=UF6 Tank -tile.machine_puf6_tank.name=Plutoniumhexafluorit-Tank -container.puf6_tank=PuF6 Tank -tile.machine_reactor.name=Brutreaktor -container.reactor=Brutreaktor -tile.machine_nuke_furnace_off.name=Atombetriebener Ofen -tile.machine_nuke_furnace_on.name=Atombetriebener Ofen -container.nukeFurnace=Atombetriebener Ofen -tile.machine_rtg_furnace_off.name=RTG-Ofen -tile.machine_rtg_furnace_on.name=RTG-Ofen -container.rtgFurnace=RTG-Ofen -tile.machine_electric_furnace_off.name=Elektrischer Ofen -tile.machine_electric_furnace_on.name=Elektrischer Ofen -container.electricFurnace=Elektrischer Ofen -tile.machine_generator.name=Atomreaktor -container.generator=Atomreaktor -tile.red_wire_coated.name=Geschirmtes rotes Kupferkabel -tile.machine_deuterium.name=Deuteriumextraktor -container.machine_deuterium=Deuteriumextraktor -tile.machine_battery.name=Energiespeicherblock -container.battery=Energiespeicher -tile.machine_coal_off.name=Kohlegenerator -tile.machine_coal_on.name=Kohlegenerator -container.machineCoal=Kohlegenerator -tile.launch_pad.name=Raketenabschussrampe -container.launchPad=Raketenabschussrampe -tile.book_guide.name=Hbm's Nuclear Tech Mod Handbuch -tile.machine_schrabidium_transmutator.name=Schrabidium-Transmutationsgerät -container.machine_schrabidium_transmutator=Schrabidium-Transmutationsgerät -tile.machine_diesel.name=Dieselgenerator -container.machineDiesel=Dieselgenerator -tile.machine_shredder.name=Shredder -container.machineShredder=Shredder -tile.machine_combine_factory.name=CMB-Stahl Hochofen -container.machineCMB=CMB-Stahl Hochofen -tile.machine_teleporter.name=Teleporter - -tile.factory_titanium_hull.name=Einfache Fabrikshülle -tile.factory_titanium_furnace.name=Einfache Fabrikzugriffsluke -tile.factory_titanium_conductor.name=Einfacher Fabriksstromanschluss -tile.factory_titanium_core.name=Einfache Fabrikkernkomponente -item.factory_core_titanium.name=Einfacher Fabrikenergiecluster -container.factoryTitanium=Einfache Fabrik -tile.factory_advanced_hull.name=Fortgeschrittene Fabrikshülle -tile.factory_advanced_furnace.name=Fortgeschrittene Fabrikzugriffsluke -tile.factory_advanced_conductor.name=Fortgeschrittener Fabriksstromanschluss -tile.factory_advanced_core.name=Fortgeschrittene Fabrikkernkomponente -item.factory_core_advanced.name=Fortgeschrittener Fabrikenergiecluster -container.factoryAdvanced=Fortgeschrittene Fabrik - -tile.reactor_element.name=Reaktorkammer -tile.reactor_control.name=Steuerstäbe -tile.reactor_hatch.name=Kraftwerkszugriffsluke -tile.reactor_conductor.name=Reaktorstromanschluss -tile.reactor_computer.name=Reaktorsteuerung -container.reactorMultiblock=Großer Atomreaktor - -tile.fusion_conductor.name=Supraleiter-Magnet -tile.fusion_center.name=Zentralmagnetstück -tile.fusion_motor.name=Magnetmotorstück -tile.fusion_heater.name=Plasmaerhitzer -tile.fusion_hatch.name=Fusionsreaktorzugriffsluke -tile.fusion_core.name=Fusionsreaktorsteuerung -tile.plasma.name=Plasma -container.fusionMultiblock=Großer Fusionsreaktor - -tile.watz_element.name=Watzreaktionskammer -tile.watz_control.name=Verstärkte Steuerstäbe -tile.watz_cooler.name=Watz-Superkühler -tile.watz_end.name=Watz-Stabilitätselement -tile.watz_hatch.name=Watzreaktorzugriffsluke -tile.watz_conductor.name=Watz-Stromanschluss -tile.watz_core.name=Watzreaktorkern -container.watzPowerplant=Watzkraftwerk - -tile.fwatz_conductor.name=4000K Supraleiter-Magnet -tile.fwatz_cooler.name=Kühlmitteltankhülle -tile.fwatz_tank.name=Kühlmitteltank -tile.fwatz_scaffold.name=Watzwerkstützen -tile.fwatz_hatch.name=Watzwerkzugriffsluke -tile.fwatz_computer.name=Watzwerkrechenmatrix -tile.fwatz_core.name=Fusionarer Watzwerkkern -tile.fwatz_plasma.name=Destabilisiertes Antischrabidiumplasma - -item.fuse.name=Sicherung - -tile.test_nuke.name=Test Atombombe - -item.ingot_uranium.name=Uranbarren -item.ingot_u235.name=U235-Barren -item.ingot_u238.name=U238-Barren -item.ingot_plutonium.name=Plutoniumbarren -item.ingot_pu238.name=Pu238-Barren -item.ingot_pu239.name=Pu239-Barren -item.ingot_pu240.name=Pu240-Barren -item.ingot_titanium.name=Titanbarren -item.sulfur.name=Schwefel - -item.niter.name=Salpeter -item.ingot_copper.name=Industrielles Kupfer -item.ingot_red_copper.name=Minecraft Kupfer -item.ingot_tungsten.name=Wolframbarren -item.ingot_aluminium.name=Aluminiumbarren -item.fluorite.name=Fluorit -item.ingot_steel.name=Stahlbarren -item.plate_steel.name=Stahlplatte -item.ingot_beryllium.name=Berylliumbarren -item.plate_schrabidium.name=Schrabidiumplatte -item.ingot_schrabidium.name=Schrabidiumbarren -item.nugget_schrabidium.name=Schrabidiumnugget -item.plate_copper.name=Kupferplatte -item.ingot_advanced_alloy.name=Fortgeschrittene Legierung -item.plate_advanced_alloy.name=Fortgeschrittene Legierungsplatte -item.wire_advanced_alloy.name=Supraleiter -item.coil_advanced_alloy.name=Supraleitende Magnetspule -item.coil_advanced_torus.name=Supraleitende Ringspule -item.lithium.name=Lithiumwürfel -item.ingot_magnetized_tungsten.name=Magnetisierter Wolframbarren -item.ingot_combine_steel.name=CMB-Stahlbarren -item.plate_combine_steel.name=CMB-Stahlplatte -item.wire_magnetized_tungsten.name=4000K Hochtemperaturensupraleiter -item.coil_magnetized_tungsten.name=4000K Hochtemperaturensupraleitermagnetspule -item.plate_mixed.name=Gemischte Platte -item.plate_paa.name=PaA-Legierungsplatte - -item.nugget_u235.name=U235-Nugget -item.nugget_u238.name=U238-Nugget -item.nugget_pu238.name=Pu238-Nugget -item.nugget_pu239.name=Pu239-Nugget -item.nugget_pu240.name=Pu240-Nugget -item.plate_titanium.name=Titanplatte -item.plate_aluminium.name=Aluminiumplatte -item.wire_red_copper.name=Roter Kupferdraht -item.neutron_reflector.name=Neutronenreflektor -item.nugget_beryllium.name=Berylliumnugget - -item.wire_aluminium.name=Aluminiumdraht -item.wire_copper.name=Kupferdraht -item.wire_gold.name=Golddraht -item.wire_schrabidium.name=Schrabidiumdraht - -item.circuit_aluminium.name=Einfacher Schaltkreis -item.circuit_copper.name=Erweiterter Schaltkreis -item.circuit_red_copper.name=Forgeschrittener Schaltkreis -item.circuit_gold.name=Übertakteter Schaltkreis -item.circuit_schrabidium.name=Leistungsstarker Schaltkreis - -tile.block_aluminium.name=Aluminiumblock -tile.block_copper.name=Kupferblock -tile.block_fluorite.name=Fluoritblock -tile.block_niter.name=Salpeterblock -tile.block_red_copper.name=Roter Kupferblock -tile.block_steel.name=Stahlblock -tile.block_sulfur.name=Schwefelblock -tile.block_titanium.name=Titanblock -tile.block_tungsten.name=Wolframblock -tile.block_uranium.name=Uranblock -tile.block_trinitite.name=Trinititblock -tile.block_beryllium.name=Berylliumblock -tile.block_waste.name=Atommüllblock -tile.block_scrap.name=Schrottblock -<<<<<<< HEAD -tile.block_electrical_scrap.name=Elektroschrottblock -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -tile.block_advanced_alloy.name=Fortgeschrittener Legierungsblock -tile.block_magnetized_tungsten.name=Magnetisierter Wolframblock -tile.block_combine_steel.name=CMB-Stahlblock - -tile.ore_aluminium.name=Aluminiumerz -tile.ore_copper.name=Kupfererz -tile.ore_fluorite.name=Fluoriterz -tile.ore_niter.name=Salpetererz -tile.ore_sulfur.name=Schwefelerz -tile.ore_titanium.name=Titanerz -tile.ore_tungsten.name=Wolframerz -tile.ore_uranium.name=Uranerz -tile.ore_schrabidium.name=Schrabidiumerz -tile.ore_beryllium.name=Berylliumerz - -tile.ore_nether_uranium.name=Nether-Uranerz -tile.ore_nether_plutonium.name=Nether-Plutoniumerz -tile.ore_nether_tungsten.name=Nether-Wolframerz -tile.ore_nether_sulfur.name=Nether-Schwefelerz -tile.ore_nether_fire.name=Feuererz -tile.ore_nether_schrabidium.name=Nether-Schrabidiumerz - -tile.reinforced_brick.name=Verstärkter Stein -tile.reinforced_glass.name=Verstärktes Glas -tile.reinforced_sand.name=Verstärkter Sandstein -tile.reinforced_light.name=Verstärkter Glowstone -tile.reinforced_lamp_off.name=Verstärkte Lampe -tile.reinforced_lamp_on.name=Verstärkte Lampe - -tile.brick_concrete.name=Betonziegel -tile.brick_obsidian.name=Obsidianziegel -tile.brick_light.name=Helle Ziegel - -tile.cmb_brick.name=CMB-Stahlfliese -tile.cmb_brick_reinforced.name=Verstärkte CMB-Ziegel - -tile.gravel_obsidian.name=Gebrochener Obsidian - -item.nugget_uranium.name=Urannugget -item.nugget_plutonium.name=Plutoniumnugget -item.nugget_neptunium.name=Neptuniumnugget -item.ingot_neptunium.name=Neptuniumbarren -item.nugget_lead.name=Bleinugget -item.ingot_lead.name=Bleibarren -tile.block_lead.name=Bleiblock -tile.ore_lead.name=Bleierz - -item.powder_lead.name=Bleistaub -item.powder_neptunium.name=Neptuniumstaub -item.powder_schrabidium.name=Schrabidiumstaub -item.powder_iron.name=Eisenstaub -item.powder_gold.name=Goldstaub -item.powder_aluminium.name=Aluminiumstaub -item.powder_beryllium.name=Berylliumstaub -item.powder_copper.name=Kupferstaub -item.powder_titanium.name=Titanstaub -item.powder_tungsten.name=Wolframstaub -item.powder_uranium.name=Uranstaub -item.powder_plutonium.name=Plutoniumstaub -item.dust.name=Staub -item.powder_coal.name=Kohlestaub -item.powder_lapis.name=Lapis Lazuli-Staub -item.powder_emerald.name=Smaragdstaub -item.powder_diamond.name=Diamantstaub -item.powder_red_copper.name=Roter Kupfer Staub -item.powder_steel.name=Stahlstaub -item.powder_magnetized_tungsten.name=Magnetisierter Wolframstaub -item.powder_combine_steel.name=CMB-Stahlstaub -item.powder_lithium.name=Lithiumstaub -item.powder_advanced_alloy.name=Fortgeschrittener Legierungsstaub -item.powder_quartz.name=Quarzstaub -item.powder_power.name=Energiepulver -item.powder_iodine.name=Iodstaub -item.powder_thorium.name=Thoriumstaub -item.powder_neodymium.name=Neodymstaub -item.powder_astatine.name=Astatstaub -<<<<<<< HEAD -item.powder_caesium.name=Caesiumstaub -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - -item.battery_generic.name=Batterie -item.battery_advanced.name=Fortgeschrittene Batterie -item.battery_schrabidium.name=Schrabidiumbatterie -item.battery_creative.name=Unendliche Batterie - -item.fusion_core.name=Fusionskern -item.energy_core.name=Selbstgebauter Energiekern - -item.plate_iron.name=Eisenplatte -item.plate_lead.name=Bleiplatte -item.coil_copper.name=Kupferspule -item.coil_copper_torus.name=Ringspule -item.wire_tungsten.name=Wolframdraht -item.coil_tungsten.name=Heizspirale -item.tank_steel.name=Stahltank -item.motor.name=Motor -item.centrifuge_element.name=Zentrifugenelement -item.centrifuge_tower.name=Zentrifugenturm -item.reactor_core.name=Brutreaktorkern -item.pellet_rtg.name=Plutonium 238 Pellet -item.rtg_unit.name=RTG Einheit -item.hazmat_cloth.name=Strahlenschutzanzugsstoff -item.filter_coal.name=Aktivkohlefilter -item.tritium_deuterium_cake.name=Tritium-Deuterium-Kuchen -item.telepad.name=Teleplatte -item.entanglement_kit.name=Verschränkungskit - -item.cell_empty.name=Leere Zelle -item.cell_uf6.name=Uranhexafluorit-Zelle -item.cell_puf6.name=Plutoniumhexafluorit-Zelle -item.cell_antimatter.name=Antimaterienzelle -item.cell_deuterium.name=Deuteriumzelle -item.cell_tritium.name=Tritiumzelle -item.cell_sas3.name=Schrabidiumtrisulfat-Zelle -item.cell_anti_schrabidium.name=Antischrabidiumzelle -item.singularity.name=Singularität -item.singularity_counter_resonant.name=Eingefasste nicht-resonante Singularität -item.singularity_super_heated.name=Supererhitzte resonante Singularität -item.black_hole.name=Miniatur Schwarzes Loch -item.crystal_xen.name=Künstlicher Xen-Kristall - -item.inf_water.name=Unendlicher Wassertank -item.inf_deuterium.name=Unendlicher Deuteriumtank -item.inf_tritium.name=Unendlicher Tritiumtank -item.inf_coolant.name=Unendlicher Kühlflüssigkeitstank -item.inf_sulfur.name=Unendlicher Schwefeltank -item.inf_diesel.name=Unendlicher Dieseltank -item.inf_antimatter.name=Unendlicher Antimaterietank -item.inf_antischrabidium.name=Unendlicher Antischrabidiumtank - -item.canister_empty.name=Leerer Kanister -item.canister_fuel.name=Treibstoffkanister -item.canister_napalm.name=Napalm B -item.canister_NITAN.name=NITAN© 100 Oktan Supertreibstoff - -item.rod_empty.name=Leerer Brennstab -item.rod_uranium.name=Uranbrennstab -item.rod_u235.name=U235-Brennstab -item.rod_u238.name=U238-Brennstab -item.rod_plutonium.name=Plutoniumbrennstab -item.rod_pu238.name=Pu238-Brennstab -item.rod_pu239.name=Pu239-Brennstab -item.rod_pu240.name=Pu240-Brennstab -item.rod_neptunium.name=Neptuniumbrennstab -item.rod_lead.name=Bleistab -item.rod_schrabidium.name=Schrabidiumbrennstab - -item.rod_dual_empty.name=Leerer Doppelbrennstab -item.rod_dual_uranium.name=Urandoppelbrennstab -item.rod_dual_u235.name=U235-Doppelbrennstab -item.rod_dual_u238.name=U238-Doppelbrennstab -item.rod_dual_plutonium.name=Plutoniumdoppelbrennstab -item.rod_dual_pu238.name=Pu238-Doppelbrennstab -item.rod_dual_pu239.name=Pu239-Doppelbrennstab -item.rod_dual_pu240.name=Pu240-Doppelbrennstab -item.rod_dual_neptunium.name=Neptuniumdoppelbrennstab -item.rod_dual_lead.name=Bleidoppelstab -item.rod_dual_schrabidium.name=Schrabidiumdoppelbrennstab - -item.rod_quad_empty.name=Leerer Vierfachbrennstab -item.rod_quad_uranium.name=Uranvierfachbrennstab -item.rod_quad_u235.name=U235-Vierfachbrennstab -item.rod_quad_u238.name=U238-Vierfachbrennstab -item.rod_quad_plutonium.name=Plutoniumvierfachbrennstab -item.rod_quad_pu238.name=Pu238-Vierfachbrennstab -item.rod_quad_pu239.name=Pu239-Vierfachbrennstab -item.rod_quad_pu240.name=Pu240-Vierfachbrennstab -item.rod_quad_neptunium.name=Neptuniumvierfachbrennstab -item.rod_quad_lead.name=Bleivierfachstab -item.rod_quad_schrabidium.name=Schrabidiumvierfachbrennstab - -item.rod_uranium_fuel_depleted.name=Erschöpfte Urankernbrennstoffzelle -item.rod_dual_uranium_fuel_depleted.name=Erschöpfte Urandoppelkernbrennstoffzelle -item.rod_quad_uranium_fuel_depleted.name=Erschöpfte Uranvierfachkernbrennstoffzelle -item.rod_plutonium_fuel_depleted.name=Erschöpfte Plutoniumkernbrennstoffzelle -item.rod_dual_plutonium_fuel_depleted.name=Erschöpfte Plutoniumdoppelkernbrennstoffzelle -item.rod_quad_plutonium_fuel_depleted.name=Erschöpfte Plutoniumvierfachkernbrennstoffzelle -item.rod_mox_fuel_depleted.name=Erschöpfte MOX-Kernbrennstoffzelle -item.rod_dual_mox_fuel_depleted.name=Erschöpfte MOX-Doppelkernbrennstoffzelle -item.rod_quad_mox_fuel_depleted.name=Erschöpfte MOX-Vierfachkernbrennstoffzelle -item.rod_schrabidium_fuel_depleted.name=Erschöpfte Schrabidiumkernbrennstoffzelle -item.rod_dual_schrabidium_fuel_depleted.name=Erschöpfte Schrabidiumdoppelkernbrennstoffzelle -item.rod_quad_schrabidium_fuel_depleted.name=Erschöpfte Schrabidiumvierfachkernbrennstoffzelle - -item.rod_waste.name=Atommüllstab -item.rod_dual_waste.name=Doppelter Atommüllstab -item.rod_quad_waste.name=Vierfacher Atommüllstab - -item.gun_rpg.name=Raketenwerfer -item.gun_rpg_ammo.name=Rakete - -item.flame_pony.name=Bild eines Cartoon Ponys -item.flame_conspiracy.name=Verschwörungstheorie -item.flame_politics.name=Politisches Thema -item.flame_opinion.name=Eigene Meinung - -item.pellet_cluster.name=Explosive Pellets -item.powder_fire.name=Flammenpulver -item.powder_poison.name=Giftpulver -item.pellet_gas.name=Giftgaskatusche -item.magnetron.name=Magnetron -item.powder_thermite.name=Thermit - -item.nuke_starter_kit.name=Atomphysik Starterkit -item.nuke_commercially_kit.name=Atomphysik Kit für kommerzielle Zwecke -item.nuke_advanced_kit.name=Atomphysik Kit für Fortgeschrittene -item.gadget_kit.name=The Gadget Kit -item.boy_kit.name=Little Boy Kit -item.man_kit.name=Fat Man Kit -item.mike_kit.name=Ivy Mike Kit -item.tsar_kit.name=Tsar Bomba Kit -item.fleija_kit.name=F.L.E.I.J.A. Kit -item.multi_kit.name=Mehrzweckbomben Kit -item.grenade_kit.name=Granaten Kit -item.nuke_electric_kit.name=Kit des Elektronikingenieurs -item.prototype_kit.name=Prototyp Kit -item.missile_kit.name=Raketen Kit -item.t45_kit.name=T45-Powerrüstungskit -item.euphemium_kit.name=Euphemium Kit - -tile.waste_earth.name=Totes Gras -tile.waste_trinitite.name=Trinititerz -tile.waste_trinitite_red.name=Rotes Trinititerz -tile.waste_log.name=Verkohltes Holz -tile.waste_planks.name=Verkohlte Holzbretter - -item.trinitite.name=Trinitit -item.nuclear_waste.name=Atommüll -item.scrap.name=Schrott - -item.ingot_uranium_fuel.name=Urankernbrennstoffbarren -item.ingot_plutonium_fuel.name=Plutoniumkernbrennstoffbarren -item.ingot_mox_fuel.name=MOX-Kernbrennstoffbarren -item.ingot_schrabidium_fuel.name=Schrabidiumkernbrennstoffbarren - -item.nugget_uranium_fuel.name=Urankernbrennstoffnugget -item.nugget_plutonium_fuel.name=Plutoniumkernbrennstoffnugget -item.nugget_mox_fuel.name=MOX-Kernbrennstoffnugget -item.nugget_schrabidium_fuel.name=Schrabidiumkernbrennstoffnugget - -item.grenade_generic.name=Handgranate -item.grenade_strong.name=Verbesserte Handgranate -item.grenade_frag.name=Splittergranate -item.grenade_fire.name=Brandsplittergranate -item.grenade_cluster.name=Cluster-Bombe -item.grenade_flare.name=Blendgranate -item.grenade_electric.name=Blitzbombe -item.grenade_poison.name=Giftgranate -item.grenade_gas.name=Gasgranate -item.grenade_plasma.name=Plasmagranate -item.grenade_tau.name=Taugranate -item.grenade_schrabidium.name=Schrabidiumgranate -item.grenade_lemon.name=Zitronengranate -item.grenade_mk2.name=Mk 2 Granate "Botschafter Ananas" -item.grenade_aschrab.name=Werfbare Antischrabidiumzelle -item.grenade_nuke.name=Mark VI Bohrgranate -item.grenade_nuclear.name=Nuka-Granate -item.grenade_zomg.name=Negativenergie-Paarvernichtungsgranate - -item.rod_uranium_fuel.name=Urankernbrennstoffzelle -item.rod_dual_uranium_fuel.name=Doppelte Urankernbrennstoffzelle -item.rod_quad_uranium_fuel.name=Vierfache Urankernbrennstoffzelle -item.rod_plutonium_fuel.name=Plutoniumkernbrennstoffzelle -item.rod_dual_plutonium_fuel.name=Doppelte Plutoniumkernbrennstoffzelle -item.rod_quad_plutonium_fuel.name=Vierfache Plutoniumkernbrennstoffzelle -item.rod_mox_fuel.name=MOX-Kernbrennstoffzelle -item.rod_dual_mox_fuel.name=Doppelte MOX-Kernbrennstoffzelle -item.rod_quad_mox_fuel.name=Vierfache MOX-Kernbrennstoffzelle -item.rod_schrabidium_fuel.name=Schrabidiumkernbrennstoffzelle -item.rod_dual_schrabidium_fuel.name=Doppelte Schrabidiumkernbrennstoffzelle -item.rod_quad_schrabidium_fuel.name=Vierfache Schrabidiumkernbrennstoffzelle - -item.rod_water.name=Wasserzelle -item.rod_dual_water.name=Doppelte Wasserzelle -item.rod_quad_water.name=Vierfache Wasserzelle - -item.rod_coolant.name=Kühlzelle -item.rod_dual_coolant.name=Doppelte Kühlzelle -item.rod_quad_coolant.name=Vierfache Kühlzelle - -item.rod_lithium.name=Lithiumstab -item.rod_dual_lithium.name=Doppelter Lithiumstab -item.rod_quad_lithium.name=Vierfacher Lithiumstab - -item.rod_tritium.name=Tritiumzelle -item.rod_dual_tritium.name=Doppelte Tritiumzelle -item.rod_quad_tritium.name=Vierfache Tritiumzelle - -item.levitation_unit.name=Gravitationsmanipulator -item.thermo_unit_empty.name=Thermische Verteilungseinheit -item.thermo_unit_endo.name=Kälteverteilungseinheit -item.thermo_unit_exo.name=Hitzeverteilungseinheit - -item.bomb_waffle.name=Massenvernichtungswaffel -item.schnitzel_vegan.name=Veganes Schnitzel -item.apple_schrabidium.name=Schrabidiumapfel -item.cotton_candy.name=Radioaktive Zuckerwatte -item.tem_flakes.name=Tem Flakes -item.glowing_stew.name=Leuchtende Pilzsuppe -item.lemon.name="Zitrone" - -tile.frozen_grass.name=Gefrorenes Gras -tile.frozen_dirt.name=Gefrorene Erde -tile.frozen_log.name=Gefrorener Baumstamm -tile.frozen_planks.name=Gefrorene Holzbretter - -tile.tape_recorder.name=Tonbandgerät -tile.steel_poles.name=Stahlmasten -tile.pole_top.name=Antennenspitze -tile.pole_satellite_receiver.name=Satellitenschüssel -tile.steel_wall.name=Stahlwand -tile.steel_corner.name=Stahlwand (Ecke) -tile.steel_roof.name=Flaches Stachldach -tile.steel_beam.name=Stahlträger -tile.steel_scaffold.name=Stahlgerüst - -item.gun_revolver_iron.name=Einfacher Revolver -item.gun_revolver.name=Verbesserter Revolver -item.gun_revolver_gold.name=Goldener Revolver -item.gun_revolver_lead.name=Nuka-Revolver -item.gun_revolver_schrabidium.name=Schrabidiumrevolver -item.gun_revolver_cursed.name=Verfluchte Pistole -item.gun_fatman.name=M42 Nukleares Katapult "Fat Man" -item.gun_mirv.name=M42 Nukleares Katapult "Experimentelles MIRV" -item.gun_bf.name=M42_2 Nukleares Katapult "Antimaterienwerfer" -item.gun_mp40.name=Maschinenpistole -item.gun_xvl1456.name=XVL1456 Tau-Kanone Prototyp -item.gun_osipr.name=Standartausrüstung für Sicherheitskräfte -<<<<<<< HEAD -item.gun_immolator.name=Der Immolator -item.gun_cryolator.name=Der Cryolator -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -item.gun_mp.name=Maschinengewehr des Pazifisten -item.gun_zomg.name=Singularitätsbetriebener Paarvernichtungsstrahl "ZOMG Kanone" -item.gun_emp.name=EMP-Strahler -item.gun_super_shotgun.name=Super Shotgun -item.gun_moist_nugget.name=Moisn-Nagant -item.gun_revolver_inverted.name=Umgedrehter Revolver - -item.gun_revolver_iron_ammo.name=Patrone -item.gun_revolver_ammo.name=Bleipatrone -item.gun_revolver_gold_ammo.name=Goldene Kugel -item.gun_revolver_lead_ammo.name=Mit Glas umhüllte Atompatrone -item.gun_revolver_schrabidium_ammo.name=Schrabidiumpatrone -item.gun_revolver_cursed_ammo.name=Stahlpatrone -item.gun_fatman_ammo.name=Miniatombombe -item.gun_mirv_ammo.name=Achtfaches MIRV -item.gun_bf_ammo.name=Mk.V kompaktes AMAT-Artilleriegeschoss - Typ B.F. -item.gun_mp40_ammo.name=SMG-Patrone -item.gun_xvl1456_ammo.name=Kiste mit erschöpftem Uran-235 -item.gun_osipr_ammo.name=Dunkler Energiepuls-Plug -item.gun_osipr_ammo2.name=Combine Ball -item.gun_immolator_ammo.name=Immolatorkraftstoff -item.gun_cryolator_ammo.name=Kryozelle -item.gun_mp_ammo.name=Kleine treibmittellose MG-Patrone -item.gun_emp_ammo.name=Energiezelle - -item.clip_revolver_iron.name=Box voll Eisenkugeln -item.clip_revolver.name=.357 Magnum Patronen -item.clip_revolver_gold.name=Schatulle mit goldenen Patronen -item.clip_revolver_schrabidium.name=Schrabidium-Muntionsbehälter -item.clip_rpg.name=Raketenbehälter -item.clip_xvl1456.name=Große Isotopenbox -item.clip_osipr.name=AR2 Magazin -item.clip_immolator.name=Großer Kraftstofftank -item.clip_cryolator.name=Großer Kryogentank -item.clip_revolver_lead.name=Box voll Atompatronen -item.clip_revolver_cursed.name=Magazin der Standardpistole des Britannischen Militärs -item.clip_fatman.name=Miniatombomben im Sechserpack -item.clip_mirv.name=Kauf-drei-zahl-eins Packung Mini MIRVs -item.clip_bf.name=BF-Geschosse im Doppelpack -item.clip_mp.name=Magazin des Standardsturmgewehrs des Britannischen Militärs -item.clip_mp40.name=9mm SMG-Magazin -item.clip_emp.name=Magnetsteifen mit Energiezellen - -tile.block_schrabidium.name=Schrabidiumblock -item.plate_gold.name=Goldplatte - -item.syringe_empty.name=Leere Spritze -item.syringe_antidote.name=Gegenmittel -item.syringe_poison.name=Giftspritze -item.syringe_awesome.name=AWESOME -item.syringe_metal_empty.name=Metallspritze -item.syringe_metal_stimpak.name=Stimpak -item.syringe_metal_medx.name=Med-X -item.syringe_metal_psycho.name=Psycho - -item.stealth_boy.name=Mobile Tarnkappe - -entity.hbm.entity_bullet.name=Patrone -entity.hbm.entity_rocket.name=Rakete -entity.hbm.entity_schrabnel.name=Schrabnel -entity.entity_mob_nuclear_creeper.name=Nuklearer Creeper -entity.entity_mob_hunter_chopper.name=Jagdschrauber - -item.cap_aluminium.name=Aluminiumdeckel -item.hull_small_steel.name=Kleine Stahlhülle -item.hull_small_aluminium.name=Kleine Aluminiumhülle -item.hull_big_steel.name=Große Stahlhülle -item.hull_big_aluminium.name=Große Aluminiumhülle -item.hull_big_titanium.name=Große Titanhülle -item.fins_flat.name=Flache Stahlabdeckung -item.fins_small_steel.name=Kleine Stahlgitterfinnen -item.fins_big_steel.name=Große Stahlgitterfinnen -item.fins_tri_steel.name=Große Stahlflossen -item.fins_quad_titanium.name=Kleine Titanflossen -item.sphere_steel.name=Stahlhohlkugel -item.pedestal_steel.name=Stahlsockel -item.dysfunctional_reactor.name=Funktionsunfähiger Atomreaktor - -item.combine_scrap.name=CMB Schrott -item.chopper_head.name=Jagdschrauber Cockpit -item.chopper_gun.name=Pulskanone -item.chopper_torso.name=Jagdschrauber Rumpf -item.chopper_tail.name=Jagdschrauber Heck -item.chopper_wing.name=Jagdschrauber Seitentragfläche -item.chopper_blades.name=Jagdschrauber Rotorblätter - -item.igniter.name=Zünder -item.watch.name=Zerbrochene Taschenuhr -item.apple_euphemium.name=Euphemiumapfel -item.ingot_euphemium.name=Euphemiumbarren -item.nugget_euphemium.name=Euphemiumnugget -item.rod_quad_euphemium.name=Ausgebrannter Schrabidiumvierfachbrennstab - -item.euphemium_helmet.name=Euphemiumstiefel -item.euphemium_plate.name=Euphemiumbrustplatte -item.euphemium_legs.name=Euphemiumbeinschutz -item.euphemium_boots.name=Euphemiumstiefel - -item.schrabidium_helmet.name=Schrabidiumhelm -item.schrabidium_plate.name=Schrabidiumbrustplatte -item.schrabidium_legs.name=Schrabidiumbeinschutz -item.schrabidium_boots.name=Schrabidiumstiefel -item.schrabidium_sword.name=Schrabidiumschwert -item.schrabidium_pickaxe.name=Schrabidiumspitzhacke -item.schrabidium_axe.name=Schrabidiumaxt -item.schrabidium_shovel.name=Schrabidiumschaufel -item.schrabidium_hoe.name=Schrabidiumfeldhacke - -item.chainsaw.name=Kettensäge -item.crowbar.name=Mk.V Kistenöffnungsapparat "Brechstange" - -item.mask_of_infamy.name=Maske der Schande - -tile.det_cord.name=Det Cord -tile.red_barrel.name=Explosives Fass -tile.yellow_barrel.name=Radioaktives Fass - -item.designator.name=Kurzdistanz Zielmarkierer -item.missile_generic.name=HE Rakete -item.missile_anti_ballistic.name=Flugabwehrrakete -item.missile_incendiary.name=Brandrakete -item.missile_cluster.name=Streurakete -item.missile_buster.name=Bunkerbrechende Rakete -item.missile_strong.name=Starke HE Rakete -item.missile_incendiary_strong.name=Starke Brandrakete -item.missile_cluster_strong.name=Starke Streurakete -item.missile_buster_strong.name=Verbesserte bunkerbrechende Rakete -item.missile_burst.name=Spare Missile -item.missile_inferno.name=Inferno Missile G.R.N. Mk.II -item.missile_rain.name=Schüttbombenregen -item.missile_drill.name=Der Betonbrecher -item.missile_nuclear.name=Atomrakete -item.missile_nuclear_cluster.name=Atomare MIRV-Rakete -item.missile_endo.name=Endothermische Rakete -item.missile_exo.name=Exothermische Rakete - -item.hazmat_helmet.name=Strahlenschutzhelm -item.hazmat_plate.name=Strahlenschutzbrustplatte -item.hazmat_legs.name=Strahlenschutzhose -item.hazmat_boots.name=Strahlenschutzstiefel -item.hazmat_paa_helmet.name=PaA-Kampfschutzanzug Helm -item.hazmat_paa_plate.name=PaA-Kampfschutzanzug Brustplatte -item.hazmat_paa_legs.name=PaA-Kampfschutzanzug Hose -item.hazmat_paa_boots.name=PaA-Kampfschutzanzug Stiefel -<<<<<<< HEAD -======= -<<<<<<< HEAD ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - -item.paa_plate.name=PaA-Brustschutzplatte -item.paa_legs.name=PaA-Beinverstärkungsschienen -item.paa_boots.name=PaA-"olle Latschen" -<<<<<<< HEAD -======= -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - -item.goggles.name=Schutzbrille -item.gas_mask.name=Gasmaske - -item.t45_helmet.name=T45-Powerrüstungshelm -item.t45_plate.name=T45-Powerrüstungsbrustpanzer -item.t45_legs.name=T45-Powerrüstungsbeinschutz -item.t45_boots.name=T45-Powerrüstungsstiefel - -tile.mush.name=Leuchtender Pilz -tile.waste_mycelium.name=Leuchtende Myzel - -item.warhead_generic_small.name=Kleiner Sprengkopf -item.warhead_generic_medium.name=Mittlerer Sprengkopf -item.warhead_generic_large.name=Großer Sprengkopf -item.warhead_incendiary_small.name=Kleiner Brandsprengkopf -item.warhead_incendiary_medium.name=Mittlerer Brandsprengkopf -item.warhead_incendiary_large.name=Großer Brandsprengkopf -item.warhead_cluster_small.name=Kleiner Kasettensprengkopf -item.warhead_cluster_medium.name=Mittlerer Kasettensprengkopf -item.warhead_cluster_large.name=Großer Kasettensprengkopf -item.warhead_buster_small.name=Kleiner bunkerbrechender Sprengkopf -item.warhead_buster_medium.name=Mittlerer bunkerbrechender Sprengkopf -item.warhead_buster_large.name=Großer bunkerbrechender Sprengkopf -item.warhead_nuclear.name=Atomsprengkopf -item.warhead_mirvlet.name=MIRV -item.warhead_mirv.name=Achtfacher MIRV-Sprengkopf -item.warhead_thermo_endo.name=Endothermischer Sprengkopf -item.warhead_thermo_exo.name=Exothermischer Sprengkopf -item.fuel_tank_small.name=Kleiner Treibstofftank -item.fuel_tank_medium.name=Mittlerer Treibstofftank -item.fuel_tank_large.name=Großer Treibstofftank -item.thruster_small.name=Kleines Raketentriebwerk -item.thruster_medium.name=Mittleres Raketentriebwerk -item.thruster_large.name=Großes Raketentriebwerk - -item.wand_k.name=Konstruktions-Zauberstab -item.wand_s.name=Struktur-Zauberstab -item.wand_d.name=Debug-Zauberstab - -item.screwdriver.name=Schraubenzieher -item.overfuse.name=Singularitätsschraubenzieher - -item.steel_helmet.name=Stahlhelm -item.steel_plate.name=Stahlbrustpanzer -item.steel_legs.name=Stahlbeinschutz -item.steel_boots.name=Stahlstiefel -item.titanium_helmet.name=Titanhelm -item.titanium_plate.name=Titanbrustpanzer -item.titanium_legs.name=Titanbeinschutz -item.titanium_boots.name=Titanstiefel -item.alloy_helmet.name=Legierungshelm -item.alloy_plate.name=Legierungsbrustpanzer -item.alloy_legs.name=Legierungsbeinschutz -item.alloy_boots.name=Legierungsstiefel -item.cmb_helmet.name=CMB-Stahlhelm -item.cmb_plate.name=CMB-Stahlbrustpanzer -item.cmb_legs.name=CMB-Stahlbeinschutz -item.cmb_boots.name=CMB-Stahlstiefel - -item.steel_sword.name=Stahlschwert -item.steel_pickaxe.name=Stahlspitzhacke -item.steel_axe.name=Stahlaxt -item.steel_shovel.name=Stahlschaufel -item.steel_hoe.name=Stahlfeldhacke -item.titanium_sword.name=Titanschwert -item.titanium_pickaxe.name=Titanspitzhacke -item.titanium_axe.name=Titanaxt -item.titanium_shovel.name=Titanschaufel -item.titanium_hoe.name=Titanfeldhacke -item.alloy_sword.name=Legierungsschwert -item.alloy_pickaxe.name=Legierungsspitzhacke -item.alloy_axe.name=Legierungsaxt -item.alloy_shovel.name=Legierungsschaufel -item.alloy_hoe.name=Legierungsfeldhacke -item.cmb_sword.name=CMB-Stahlschwert -item.cmb_pickaxe.name=CMB-Stahlspitzhacke -item.cmb_axe.name=CMB-Stahlaxt -item.cmb_shovel.name=CMB-Stahlschaufel -item.cmb_hoe.name=CMB-Stahlfeldhacke - -tile.red_cable.name=Rotes Kupferkabel -tile.block_meteor.name=Meteoritenblock - -item.cape_radiation.name=Cape (Radioaktiv) -item.cape_gasmask.name=Cape (Gasmaske) -item.cape_schrabidium.name=Cape (Schrabidisch) -item.cape_hbm.name=Hbms Cape -item.cape_dafnik.name=Dafniks Cape -item.cape_lpkukin.name=LPkukins Cape - -tile.machine_converter_he_rf.name=HE zu RF Konverter -tile.machine_converter_rf_he.name=RF zu HE Konverter - -item.schrabidium_hammer.name=Schrabidiumhammer -item.euphemium_stopper.name=Stopper -item.matchstick.name=Streichholz -item.remote.name=Kaputte Fernbedienung - -item.redcoil_capacitor.name=Rotspulenkondensator -item.detonator.name=Fernzünder -item.crate_caller.name=Nachschub-Requester - -item.ingot_hes.name=Stark angereicherter Schrabidiumkernbrennstoffbarren -item.ingot_les.name=Schwach angereicherter Schrabidiumkernbrennstoffbarren -item.nugget_hes.name=Stark angereichertes Schrabidiumkernbrennstoffnugget -item.nugget_les.name=Schwach angereichertes Schrabidiumkernbrennstoffnugget - -item.pellet_schrabidium.name=Pures Schrabidium-Watzpellet -item.pellet_hes.name=HES-Watzpellet -item.pellet_mes.name=MES-Watzpellet -item.pellet_les.name=LES-Watzpellet -item.pellet_beryllium.name=Beryllium-Moderatonspellet -item.pellet_neptunium.name=Neptunium-Watzpellet -item.pellet_lead.name=Bleireflektorpellet -item.pellet_advanced.name=Fortgeschrittenes Watzaufwertugspellet - -item.titanium_filter.name=Titanfilter - -tile.mud_block.name=Giftiger Schlamm -fluid.mud_fluid=Giftiger Schlamm -item.bucket_mud.name=Eimer mit giftigem Schlamm -tile.acid_block.name=Säure -fluid.acid_fluid=Säure -item.bucket_acid.name=Säureeimer -tile.toxic_block.name=Stereotypischer grüner Schleim -fluid.toxic_fluid=Stereotypischer grüner Schleim -item.bucket_toxic.name=Eimer mit stereotypischem grünen Schleim -item.tank_waste_0.name=Schlammcontainer -item.tank_waste_1.name=Schlammcontainer -item.tank_waste_2.name=Schlammcontainer -item.tank_waste_3.name=Schlammcontainer -item.tank_waste_4.name=Schlammcontainer -item.tank_waste_5.name=Schlammcontainer -item.tank_waste_6.name=Schlammcontainer -item.tank_waste_7.name=Schlammcontainer -item.tank_waste_8.name=Schlammcontainer - -item.can_empty.name=Leere Dose -item.can_smart.name='Smart' Energy-Drink -item.can_creature.name='Creature' Energy-Drink -item.can_redbomb.name='Red Bomb' Energy-Drink -item.can_mrsugar.name='Dr. Sugar' Softdrink - -item.blades_aluminium.name=Aluminiumsägeblatt -item.blades_gold.name=Goldenes Sägeblatt -item.blades_iron.name=Eisensägeblatt -item.blades_steel.name=Stahlsägeblatt -item.blades_titanium.name=Titansägeblatt -item.blades_advanced_alloy.name=Fortgeschrittenes Sägeblatt -item.blades_combine_steel.name=CMB-Sägeblatt -item.blades_schrabidium.name=Schrabidiumsägeblatt - -<<<<<<< HEAD -item.linker.name=Telelinker - -item.letter.name=Eilbrief - -item.chopper.name=Jagdschrauber -======= -<<<<<<< HEAD -item.letter.name=Eilbrief - -item.chopper.name=Jagdschrauber -======= -item.letter.name=Eilbrief ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af +itemGroup.tabTest=Nuclear Tech Mod Test Tab +itemGroup.tabParts=Nuclear Tech Mod Bauteile +itemGroup.tabBlocks=Nuclear Tech Mod Blöcke +itemGroup.tabNuke=Nuclear Tech Mod Bomben + +item.record.lc.desc=Valve - Diabolic Adrenaline Guitar/Lambda Core +item.record.ss.desc=Valve - Sector Sweep +item.record.vc.desc=Valve - Vortal Combat + +death.attack.nuclearBlast=%1$s wurde von einer Atomexplosion weggeblasen. +death.attack.revolverBullet=%1$s wurde von %2$s in den Kopf geschossen. +death.attack.mudPoisoning=%1$s starb an Giftschlamm. +death.attack.euthanized=%1$s wurde von %2$s eingeschläfert. +death.attack.euthanizedSelf=%1$s hat sich selbst eingeschläfert, was für ein Vollpfosten. +death.attack.euthanizedSelf2=%1$s gewinnt den Darwin Award. +death.attack.tau=%1$s wurde von %2$s mit negativ geladenen Tauonen durchsiebt. +death.attack.tauBlast=%1$s lud die XVL1456 zu lange auf und wurde in Stücke gerissen. +death.attack.chopperBullet=%1$s wurde von %2$s gerekt. +death.attack.cmb=%1$s wurde von %2$s pulverisiert. +death.attack.subAtomic=%1$s's Atome wurden von %2$s vernichtet. +death.attack.subAtomic2=%1$s verließ das QPU-Gitter weil %2$s seine De-Facto-Geschwindigkeit manipulierte. +death.attack.subAtomic3=%1$s's Divergenzwert fiel wegen %2$s unter 1 Prozent. +death.attack.subAtomic4=%1$s wurde von %2$s durch null geteilt. +death.attack.subAtomic5=%1$s wurde von %2$s nullifiziert. +death.attack.radiation=%1$s starb an Strahlenvergiftung. +death.attack.acid=%1$s fiel in Säure. +death.attack.suicide=%1$s blies sich die Rübe weg. +death.attack.electrified=%1$s wurde von %2$s elektrisiert. +death.attack.flamethrower=%1$s wurde von %2$s gegrillt. +death.attack.plasma=%1$s wurde von %2$s eingeäschert. +death.attack.ice=%1$s wurde von %2$s in ein Eis am Stiel verwandelt. +death.attack.cheater=%1$s starb als dreckiger Cheater. Spiel fair, oder verpiss dich! +death.attack.laser=%1$s wurde von %2$s in Asche verwandet. + +item.redstone_sword.name=Redstoneschwert +item.big_sword.name=Großes Schwert +item.test_nuke_igniter.name=Zünder +item.test_nuke_propellant.name=Treibladung +item.test_nuke_tier1_shielding.name=Neutronenreflektor (Stufe 1) +item.test_nuke_tier2_shielding.name=Neutronenreflektor (Stufe 2) +item.test_nuke_tier1_bullet.name=U235 Geschoss (Stufe 1) +item.test_nuke_tier2_bullet.name=MOX Geschoss (Stufe 2) +item.test_nuke_tier1_target.name=Unkritischer U235 Hohlkörper (Stufe 1) +item.test_nuke_tier2_target.name=Unkritischer MOX Hohlkörper (Stufe 2) + +item.gadget_explosive.name=Treibladung +item.gadget_explosive8.name=Verbundene Treibladung +item.gadget_wireing.name=Kabelrolle +item.gadget_core.name=Plutoniumkern + +item.boy_igniter.name=Zünder +item.boy_propellant.name=Treibladung +item.boy_bullet.name=U235 Geschoss +item.boy_target.name=Unterkritischer U235 Hohlkörper +item.boy_shielding.name=Neutronenschild + +item.man_explosive.name=Treibladung +item.man_explosive8.name=Verbundene Treibladung +item.man_igniter.name=Zünder +item.man_core.name=Plutoniumkern + +item.mike_core.name=Mit Uran ummantelter Deuteriumtank +item.mike_deut.name=Deuteriumtank +item.mike_cooling_unit.name=Deuteriumkühleinheit + +item.tsar_core.name=Fusionskern + +item.fleija_igniter.name=Impulszünder +item.fleija_propellant.name=Schrabidiumtreibladung +item.fleija_core.name=F.L.E.I.J.A. Uran-235-Ladung + +container.nukeGadget=The Gadget +container.nukeBoy=Little Boy +container.nukeMan=Fat Man +container.nukeMike=Ivy Mike +container.nukeTsar=Tsar Bombe +container.nukeFleija=F.L.E.I.J.A. +container.nukePrototype=Der Prototyp +container.nukeCustom=Anpassbare Bombe + +container.bombMulti=Mehrzweckbombe + +tile.nuke_gadget.name=The Gadget +tile.nuke_boy.name=Little Boy +tile.nuke_man.name=Fat Man +tile.nuke_mike.name=Ivy Mike +tile.nuke_tsar.name=Tsar Bombe +tile.nuke_fleija.name=F.L.E.I.J.A. +tile.nuke_prototype.name=Der Prototyp +tile.nuke_custom.name=Anpassbare Bombe + +tile.bomb_multi.name=Mehrzweckbombe + +tile.flame_war.name=Flamewar aus der Box +tile.float_bomb.name=Schwebebombe +tile.therm_endo.name=Endothermische Bombe +tile.therm_exo.name=Exothermische Bombe + +tile.crashed_bomb.name=Blindgänger + +tile.crate.name=Vorratskiste + +tile.machine_difurnace_off.name=Legierungshochofen +tile.machine_difurnace_on.name=Legierungshochofen +container.diFurnace=Legierungshochofen +tile.machine_centrifuge.name=Zentrifuge +container.centrifuge=Zentrifuge +tile.machine_uf6_tank.name=Uranhexafluorit-Tank +container.uf6_tank=UF6 Tank +tile.machine_puf6_tank.name=Plutoniumhexafluorit-Tank +container.puf6_tank=PuF6 Tank +tile.machine_reactor.name=Brutreaktor +container.reactor=Brutreaktor +tile.machine_nuke_furnace_off.name=Atombetriebener Ofen +tile.machine_nuke_furnace_on.name=Atombetriebener Ofen +container.nukeFurnace=Atombetriebener Ofen +tile.machine_rtg_furnace_off.name=RTG-Ofen +tile.machine_rtg_furnace_on.name=RTG-Ofen +container.rtgFurnace=RTG-Ofen +tile.machine_electric_furnace_off.name=Elektrischer Ofen +tile.machine_electric_furnace_on.name=Elektrischer Ofen +container.electricFurnace=Elektrischer Ofen +tile.machine_generator.name=Atomreaktor +container.generator=Atomreaktor +tile.red_wire_coated.name=Geschirmtes rotes Kupferkabel +tile.machine_deuterium.name=Deuteriumextraktor +container.machine_deuterium=Deuteriumextraktor +tile.machine_battery.name=Energiespeicherblock +container.battery=Energiespeicher +tile.machine_coal_off.name=Kohlegenerator +tile.machine_coal_on.name=Kohlegenerator +container.machineCoal=Kohlegenerator +tile.launch_pad.name=Raketenabschussrampe +container.launchPad=Raketenabschussrampe +tile.book_guide.name=Hbm's Nuclear Tech Mod Handbuch +tile.machine_schrabidium_transmutator.name=Schrabidium-Transmutationsgerät +container.machine_schrabidium_transmutator=Schrabidium-Transmutationsgerät +tile.machine_diesel.name=Dieselgenerator +container.machineDiesel=Dieselgenerator +tile.machine_shredder.name=Brecher +container.machineShredder=Brecher +tile.machine_combine_factory.name=CMB-Stahl Hochofen +container.machineCMB=CMB-Stahl Hochofen +tile.machine_teleporter.name=Teleporter +container.teleporter=Teleporter +tile.machine_reix_mainframe.name=Rei-X Hauptrechner +container.reix=Rei-X Hauptrechner +tile.machine_industrial_generator.name=Industrieller Generator +container.iGenerator=Industrieller Generator + +tile.rail_highspeed.name=Hochgeschwindigkeitsschienen +tile.rail_booster.name=Hochgeschwindigkeits-Boosterschienen + +tile.factory_titanium_hull.name=Einfache Fabrikshülle +tile.factory_titanium_furnace.name=Einfache Fabrikzugriffsluke +tile.factory_titanium_conductor.name=Einfacher Fabriksstromanschluss +tile.factory_titanium_core.name=Einfache Fabrikkernkomponente +item.factory_core_titanium.name=Einfacher Fabrikenergiecluster +container.factoryTitanium=Einfache Fabrik +tile.factory_advanced_hull.name=Fortgeschrittene Fabrikshülle +tile.factory_advanced_furnace.name=Fortgeschrittene Fabrikzugriffsluke +tile.factory_advanced_conductor.name=Fortgeschrittener Fabriksstromanschluss +tile.factory_advanced_core.name=Fortgeschrittene Fabrikkernkomponente +item.factory_core_advanced.name=Fortgeschrittener Fabrikenergiecluster +container.factoryAdvanced=Fortgeschrittene Fabrik + +tile.reactor_element.name=Reaktorkammer +tile.reactor_control.name=Steuerstäbe +tile.reactor_hatch.name=Kraftwerkszugriffsluke +tile.reactor_conductor.name=Reaktorstromanschluss +tile.reactor_computer.name=Reaktorsteuerung +container.reactorMultiblock=Großer Atomreaktor + +tile.fusion_conductor.name=Supraleiter-Magnet +tile.fusion_center.name=Zentralmagnetstück +tile.fusion_motor.name=Magnetmotorstück +tile.fusion_heater.name=Plasmaerhitzer +tile.fusion_hatch.name=Fusionsreaktorzugriffsluke +tile.fusion_core.name=Fusionsreaktorsteuerung +tile.plasma.name=Plasma +container.fusionMultiblock=Großer Fusionsreaktor + +tile.watz_element.name=Watzreaktionskammer +tile.watz_control.name=Verstärkte Steuerstäbe +tile.watz_cooler.name=Watz-Superkühler +tile.watz_end.name=Watz-Stabilitätselement +tile.watz_hatch.name=Watzreaktorzugriffsluke +tile.watz_conductor.name=Watz-Stromanschluss +tile.watz_core.name=Watzreaktorkern +container.watzPowerplant=Watzkraftwerk + +tile.fwatz_conductor.name=4000K Supraleiter-Magnet +tile.fwatz_cooler.name=Kühlmitteltankhülle +tile.fwatz_tank.name=Kühlmitteltank +tile.fwatz_scaffold.name=Watzwerkstützen +tile.fwatz_hatch.name=Watzwerkzugriffsluke +tile.fwatz_computer.name=Watzwerkrechenmatrix +tile.fwatz_core.name=Fusionarer Watzwerkkern +tile.fwatz_plasma.name=Destabilisiertes Antischrabidiumplasma +container.fusionaryWatzPlant=Fusionares Watzwerk + +tile.machine_rtg_grey.name=Radioisotopengenerator +tile.machine_rtg_red.name=Fulminationsgenerator +tile.machine_rtg_orange.name=Starker RTG +tile.machine_rtg_yellow.name=Australium Supergenerator +tile.machine_rtg_green.name=Verticium-Reichtumsgenerator +tile.machine_rtg_cyan.name=Schrabidium-Zerfallsenergie-Generator +tile.machine_rtg_blue.name=Convectionsgenerator +tile.machine_rtg_purple.name=Paarvernichtungsgenerator + +item.fuse.name=Sicherung + +tile.test_nuke.name=Test Atombombe + +item.ingot_uranium.name=Uranbarren +item.ingot_u235.name=U235-Barren +item.ingot_u238.name=U238-Barren +item.ingot_plutonium.name=Plutoniumbarren +item.ingot_pu238.name=Pu238-Barren +item.ingot_pu239.name=Pu239-Barren +item.ingot_pu240.name=Pu240-Barren +item.ingot_titanium.name=Titanbarren +item.sulfur.name=Schwefel + +item.niter.name=Salpeter +item.ingot_copper.name=Industrielles Kupfer +item.ingot_red_copper.name=Minecraft Kupfer +item.ingot_tungsten.name=Wolframbarren +item.ingot_aluminium.name=Aluminiumbarren +item.fluorite.name=Fluorit +item.ingot_steel.name=Stahlbarren +item.plate_steel.name=Stahlplatte +item.ingot_beryllium.name=Berylliumbarren +item.plate_schrabidium.name=Schrabidiumplatte +item.ingot_schrabidium.name=Schrabidiumbarren +item.nugget_schrabidium.name=Schrabidiumnugget +item.plate_copper.name=Kupferplatte +item.board_copper.name=Kupfertafel +item.ingot_advanced_alloy.name=Fortgeschrittene Legierung +item.plate_advanced_alloy.name=Fortgeschrittene Legierungsplatte +item.wire_advanced_alloy.name=Supraleiter +item.coil_advanced_alloy.name=Supraleitende Magnetspule +item.coil_advanced_torus.name=Supraleitende Ringspule +item.coil_gold.name=Goldspule +item.coil_gold_torus.name=Goldene Ringspule +item.lithium.name=Lithiumwürfel +item.ingot_magnetized_tungsten.name=Magnetisierter Wolframbarren +item.ingot_combine_steel.name=CMB-Stahlbarren +item.plate_combine_steel.name=CMB-Stahlplatte +item.wire_magnetized_tungsten.name=4000K Hochtemperaturensupraleiter +item.coil_magnetized_tungsten.name=4000K Hochtemperaturensupraleitermagnetspule +item.plate_mixed.name=Gemischte Platte +item.plate_paa.name=PaA-Legierungsplatte + +item.ingot_australium.name=Australiumbarren +item.ingot_weidanium.name=Weidaniumbarren +item.ingot_reiium.name=Reiiumbarren +item.ingot_unobtainium.name=Unobtainiumbarren +item.ingot_daffergon.name=Daffergonbarren +item.ingot_verticium.name=Verticiumbarren +item.nugget_australium.name=Australiumnugget +item.nugget_weidanium.name=Weidaniumnugget +item.nugget_reiium.name=Reiiumnugget +item.nugget_unobtainium.name=Unobtainiumnugget +item.nugget_daffergon.name=Daffergonnugget +item.nugget_verticium.name=Verticiumnugget + +item.nugget_u235.name=U235-Nugget +item.nugget_u238.name=U238-Nugget +item.nugget_pu238.name=Pu238-Nugget +item.nugget_pu239.name=Pu239-Nugget +item.nugget_pu240.name=Pu240-Nugget +item.plate_titanium.name=Titanplatte +item.plate_aluminium.name=Aluminiumplatte +item.wire_red_copper.name=Roter Kupferdraht +item.neutron_reflector.name=Neutronenreflektor +item.nugget_beryllium.name=Berylliumnugget + +item.wire_aluminium.name=Aluminiumdraht +item.wire_copper.name=Kupferdraht +item.wire_gold.name=Golddraht +item.wire_schrabidium.name=Schrabidiumdraht + +item.circuit_aluminium.name=Einfacher Schaltkreis +item.circuit_copper.name=Erweiterter Schaltkreis +item.circuit_red_copper.name=Forgeschrittener Schaltkreis +item.circuit_gold.name=Übertakteter Schaltkreis +item.circuit_schrabidium.name=Leistungsstarker Schaltkreis + +tile.block_aluminium.name=Aluminiumblock +tile.block_copper.name=Kupferblock +tile.block_fluorite.name=Fluoritblock +tile.block_niter.name=Salpeterblock +tile.block_red_copper.name=Roter Kupferblock +tile.block_steel.name=Stahlblock +tile.block_sulfur.name=Schwefelblock +tile.block_titanium.name=Titanblock +tile.block_tungsten.name=Wolframblock +tile.block_uranium.name=Uranblock +tile.block_trinitite.name=Trinititblock +tile.block_beryllium.name=Berylliumblock +tile.block_waste.name=Atommüllblock +tile.block_scrap.name=Schrottblock +tile.block_electrical_scrap.name=Elektroschrottblock +tile.block_advanced_alloy.name=Fortgeschrittener Legierungsblock +tile.block_magnetized_tungsten.name=Magnetisierter Wolframblock +tile.block_combine_steel.name=CMB-Stahlblock +tile.block_australium.name=Australiumblock +tile.block_weidanium.name=Weidaniumblock +tile.block_reiium.name=Reiiumblock +tile.block_unobtainium.name=Unobtainiumblock +tile.block_daffergon.name=Daffergonblock +tile.block_verticium.name=Verticiumblock + +tile.ore_aluminium.name=Aluminiumerz +tile.ore_copper.name=Kupfererz +tile.ore_fluorite.name=Fluoriterz +tile.ore_niter.name=Salpetererz +tile.ore_sulfur.name=Schwefelerz +tile.ore_titanium.name=Titanerz +tile.ore_tungsten.name=Wolframerz +tile.ore_uranium.name=Uranerz +tile.ore_schrabidium.name=Schrabidiumerz +tile.ore_beryllium.name=Berylliumerz + +tile.ore_nether_uranium.name=Nether-Uranerz +tile.ore_nether_plutonium.name=Nether-Plutoniumerz +tile.ore_nether_tungsten.name=Nether-Wolframerz +tile.ore_nether_sulfur.name=Nether-Schwefelerz +tile.ore_nether_fire.name=Feuererz +tile.ore_nether_schrabidium.name=Nether-Schrabidiumerz + +tile.ore_australium.name=Australisches Erz +tile.ore_weidanium.name=Weidit +tile.ore_reiium.name=Reiit +tile.ore_unobtainium.name=Glimmerblende +tile.ore_daffergon.name=Dellit +tile.ore_verticium.name=Dollargrünes Mineral + +tile.reinforced_brick.name=Verstärkter Stein +tile.reinforced_glass.name=Verstärktes Glas +tile.reinforced_sand.name=Verstärkter Sandstein +tile.reinforced_light.name=Verstärkter Glowstone +tile.reinforced_lamp_off.name=Verstärkte Lampe +tile.reinforced_lamp_on.name=Verstärkte Lampe + +tile.brick_concrete.name=Betonziegel +tile.brick_obsidian.name=Obsidianziegel +tile.brick_light.name=Helle Ziegel + +tile.cmb_brick.name=CMB-Stahlfliese +tile.cmb_brick_reinforced.name=Verstärkte CMB-Ziegel + +tile.gravel_obsidian.name=Gebrochener Obsidian + +tile.seal_frame.name=Siloluke (Rahmen) +tile.seal_controller.name=Silolukenöffner +tile.seal_hatch.name=Siloluke (Deckel) + +item.nugget_uranium.name=Urannugget +item.nugget_plutonium.name=Plutoniumnugget +item.nugget_neptunium.name=Neptuniumnugget +item.ingot_neptunium.name=Neptuniumbarren +item.nugget_lead.name=Bleinugget +item.ingot_lead.name=Bleibarren +tile.block_lead.name=Bleiblock +tile.ore_lead.name=Bleierz + +item.powder_lead.name=Bleistaub +item.powder_neptunium.name=Neptuniumstaub +item.powder_schrabidium.name=Schrabidiumstaub +item.powder_iron.name=Eisenstaub +item.powder_gold.name=Goldstaub +item.powder_aluminium.name=Aluminiumstaub +item.powder_beryllium.name=Berylliumstaub +item.powder_copper.name=Kupferstaub +item.powder_titanium.name=Titanstaub +item.powder_tungsten.name=Wolframstaub +item.powder_uranium.name=Uranstaub +item.powder_plutonium.name=Plutoniumstaub +item.dust.name=Staub +item.powder_coal.name=Kohlestaub +item.powder_lapis.name=Lapis Lazuli-Staub +item.powder_emerald.name=Smaragdstaub +item.powder_diamond.name=Diamantstaub +item.powder_red_copper.name=Roter Kupfer Staub +item.powder_steel.name=Stahlstaub +item.powder_magnetized_tungsten.name=Magnetisierter Wolframstaub +item.powder_combine_steel.name=CMB-Stahlstaub +item.powder_lithium.name=Lithiumstaub +item.powder_advanced_alloy.name=Fortgeschrittener Legierungsstaub +item.powder_quartz.name=Quarzstaub +item.powder_power.name=Energiepulver +item.powder_iodine.name=Iodstaub +item.powder_thorium.name=Thoriumstaub +item.powder_neodymium.name=Neodymstaub +item.powder_astatine.name=Astatstaub +item.powder_caesium.name=Caesiumstaub +item.powder_australium.name=Australiumstaub +item.powder_weidanium.name=Weidaniumstaub +item.powder_reiium.name=Reiiumstaub +item.powder_unobtainium.name=Unobtainiumstaub +item.powder_daffergon.name=Daffergonstaub +item.powder_verticium.name=Verticiumstaub +item.powder_strontium.name=Strontiumstaub +item.powder_cobalt.name=Cobaltstaub +item.powder_bromine.name=Bromstaub +item.powder_niobium.name=Niobstaub +item.powder_tennessine.name=Tennessinstaub +item.powder_cerium.name=Cerstaub + +item.battery_generic.name=Batterie +item.battery_advanced.name=Fortgeschrittene Batterie +item.battery_schrabidium.name=Schrabidiumbatterie +item.battery_creative.name=Unendliche Batterie + +item.fusion_core.name=Fusionskern +item.energy_core.name=Selbstgebauter Energiekern + +item.plate_iron.name=Eisenplatte +item.plate_lead.name=Bleiplatte +item.coil_copper.name=Kupferspule +item.coil_copper_torus.name=Ringspule +item.wire_tungsten.name=Wolframdraht +item.coil_tungsten.name=Heizspirale +item.tank_steel.name=Stahltank +item.motor.name=Motor +item.centrifuge_element.name=Zentrifugenelement +item.centrifuge_tower.name=Zentrifugenturm +item.reactor_core.name=Brutreaktorkern +item.pellet_rtg.name=Plutonium 238 Pellet +item.rtg_unit.name=RTG Einheit +item.hazmat_cloth.name=Strahlenschutzanzugsstoff +item.filter_coal.name=Aktivkohlefilter +item.tritium_deuterium_cake.name=Tritium-Deuterium-Kuchen +item.telepad.name=Teleplatte +item.entanglement_kit.name=Verschränkungskit +item.toothpicks.name=Zahnstocher +item.ducttape.name=Klebeband + +item.cell_empty.name=Leere Zelle +item.cell_uf6.name=Uranhexafluorit-Zelle +item.cell_puf6.name=Plutoniumhexafluorit-Zelle +item.cell_antimatter.name=Antimaterienzelle +item.cell_deuterium.name=Deuteriumzelle +item.cell_tritium.name=Tritiumzelle +item.cell_sas3.name=Schrabidiumtrisulfat-Zelle +item.cell_anti_schrabidium.name=Antischrabidiumzelle +item.singularity.name=Singularität +item.singularity_counter_resonant.name=Eingefasste nicht-resonante Singularität +item.singularity_super_heated.name=Supererhitzte resonante Singularität +item.black_hole.name=Miniatur Schwarzes Loch +item.crystal_xen.name=Künstlicher Xen-Kristall + +item.inf_water.name=Unendlicher Wassertank +item.inf_deuterium.name=Unendlicher Deuteriumtank +item.inf_tritium.name=Unendlicher Tritiumtank +item.inf_coolant.name=Unendlicher Kühlflüssigkeitstank +item.inf_sulfur.name=Unendlicher Schwefeltank +item.inf_diesel.name=Unendlicher Dieseltank +item.inf_antimatter.name=Unendlicher Antimaterietank +item.inf_antischrabidium.name=Unendlicher Antischrabidiumtank + +item.oil_canola.name=Rohes Canola-Öl + +item.canister_empty.name=Leerer Kanister +item.canister_canola.name=Schmiermittelkanister +item.canister_fuel.name=Treibstoffkanister +item.canister_napalm.name=Napalm B +item.canister_NITAN.name=NITAN© 100 Oktan Supertreibstoff + +item.rod_empty.name=Leerer Brennstab +item.rod_uranium.name=Uranbrennstab +item.rod_u235.name=U235-Brennstab +item.rod_u238.name=U238-Brennstab +item.rod_plutonium.name=Plutoniumbrennstab +item.rod_pu238.name=Pu238-Brennstab +item.rod_pu239.name=Pu239-Brennstab +item.rod_pu240.name=Pu240-Brennstab +item.rod_neptunium.name=Neptuniumbrennstab +item.rod_lead.name=Bleistab +item.rod_schrabidium.name=Schrabidiumbrennstab +item.rod_astatine.name=Euphemiumbrennstab +item.rod_australium.name=Australiumbrennstab +item.rod_weidanium.name=Weidaniumbrennstab +item.rod_reiium.name=Reiiumbrennstab +item.rod_unobtainium.name=Unobtainiumbrennstab +item.rod_daffergon.name=Daffergonbrennstab +item.rod_verticium.name=Verticiumbrennstab + +item.rod_dual_empty.name=Leerer Doppelbrennstab +item.rod_dual_uranium.name=Urandoppelbrennstab +item.rod_dual_u235.name=U235-Doppelbrennstab +item.rod_dual_u238.name=U238-Doppelbrennstab +item.rod_dual_plutonium.name=Plutoniumdoppelbrennstab +item.rod_dual_pu238.name=Pu238-Doppelbrennstab +item.rod_dual_pu239.name=Pu239-Doppelbrennstab +item.rod_dual_pu240.name=Pu240-Doppelbrennstab +item.rod_dual_neptunium.name=Neptuniumdoppelbrennstab +item.rod_dual_lead.name=Bleidoppelstab +item.rod_dual_schrabidium.name=Schrabidiumdoppelbrennstab + +item.rod_quad_empty.name=Leerer Vierfachbrennstab +item.rod_quad_uranium.name=Uranvierfachbrennstab +item.rod_quad_u235.name=U235-Vierfachbrennstab +item.rod_quad_u238.name=U238-Vierfachbrennstab +item.rod_quad_plutonium.name=Plutoniumvierfachbrennstab +item.rod_quad_pu238.name=Pu238-Vierfachbrennstab +item.rod_quad_pu239.name=Pu239-Vierfachbrennstab +item.rod_quad_pu240.name=Pu240-Vierfachbrennstab +item.rod_quad_neptunium.name=Neptuniumvierfachbrennstab +item.rod_quad_lead.name=Bleivierfachstab +item.rod_quad_schrabidium.name=Schrabidiumvierfachbrennstab + +item.rod_uranium_fuel_depleted.name=Erschöpfte Urankernbrennstoffzelle +item.rod_dual_uranium_fuel_depleted.name=Erschöpfte Urandoppelkernbrennstoffzelle +item.rod_quad_uranium_fuel_depleted.name=Erschöpfte Uranvierfachkernbrennstoffzelle +item.rod_plutonium_fuel_depleted.name=Erschöpfte Plutoniumkernbrennstoffzelle +item.rod_dual_plutonium_fuel_depleted.name=Erschöpfte Plutoniumdoppelkernbrennstoffzelle +item.rod_quad_plutonium_fuel_depleted.name=Erschöpfte Plutoniumvierfachkernbrennstoffzelle +item.rod_mox_fuel_depleted.name=Erschöpfte MOX-Kernbrennstoffzelle +item.rod_dual_mox_fuel_depleted.name=Erschöpfte MOX-Doppelkernbrennstoffzelle +item.rod_quad_mox_fuel_depleted.name=Erschöpfte MOX-Vierfachkernbrennstoffzelle +item.rod_schrabidium_fuel_depleted.name=Erschöpfte Schrabidiumkernbrennstoffzelle +item.rod_dual_schrabidium_fuel_depleted.name=Erschöpfte Schrabidiumdoppelkernbrennstoffzelle +item.rod_quad_schrabidium_fuel_depleted.name=Erschöpfte Schrabidiumvierfachkernbrennstoffzelle + +item.rod_waste.name=Atommüllstab +item.rod_dual_waste.name=Doppelter Atommüllstab +item.rod_quad_waste.name=Vierfacher Atommüllstab + +item.gun_rpg.name=Raketenwerfer +item.gun_rpg_ammo.name=Rakete + +item.flame_pony.name=Bild eines Cartoon Ponys +item.flame_conspiracy.name=Verschwörungstheorie +item.flame_politics.name=Politisches Thema +item.flame_opinion.name=Eigene Meinung + +item.pellet_cluster.name=Explosive Pellets +item.pellet_buckshot.name=Schrotkugeln +item.powder_fire.name=Flammenpulver +item.powder_ice.name=Kryopulver +item.powder_poison.name=Giftpulver +item.pellet_gas.name=Giftgaskatusche +item.magnetron.name=Magnetron +item.powder_thermite.name=Thermit + +item.nuke_starter_kit.name=Atomphysik Starterkit +item.nuke_commercially_kit.name=Atomphysik Kit für kommerzielle Zwecke +item.nuke_advanced_kit.name=Atomphysik Kit für Fortgeschrittene +item.gadget_kit.name=The Gadget Kit +item.boy_kit.name=Little Boy Kit +item.man_kit.name=Fat Man Kit +item.mike_kit.name=Ivy Mike Kit +item.tsar_kit.name=Tsar Bomba Kit +item.fleija_kit.name=F.L.E.I.J.A. Kit +item.multi_kit.name=Mehrzweckbomben Kit +item.grenade_kit.name=Granaten Kit +item.nuke_electric_kit.name=Kit des Elektronikingenieurs +item.prototype_kit.name=Prototyp Kit +item.missile_kit.name=Raketen Kit +item.t45_kit.name=T45-Powerrüstungskit +item.euphemium_kit.name=Euphemium Kit + +tile.waste_earth.name=Totes Gras +tile.waste_trinitite.name=Trinititerz +tile.waste_trinitite_red.name=Rotes Trinititerz +tile.waste_log.name=Verkohltes Holz +tile.waste_planks.name=Verkohlte Holzbretter + +item.trinitite.name=Trinitit +item.nuclear_waste.name=Atommüll +item.scrap.name=Schrott + +item.ingot_uranium_fuel.name=Urankernbrennstoffbarren +item.ingot_plutonium_fuel.name=Plutoniumkernbrennstoffbarren +item.ingot_mox_fuel.name=MOX-Kernbrennstoffbarren +item.ingot_schrabidium_fuel.name=Schrabidiumkernbrennstoffbarren + +item.nugget_uranium_fuel.name=Urankernbrennstoffnugget +item.nugget_plutonium_fuel.name=Plutoniumkernbrennstoffnugget +item.nugget_mox_fuel.name=MOX-Kernbrennstoffnugget +item.nugget_schrabidium_fuel.name=Schrabidiumkernbrennstoffnugget + +item.grenade_generic.name=Handgranate +item.grenade_strong.name=Verbesserte Handgranate +item.grenade_frag.name=Splittergranate +item.grenade_fire.name=Brandsplittergranate +item.grenade_cluster.name=Cluster-Bombe +item.grenade_flare.name=Blendgranate +item.grenade_electric.name=Blitzbombe +item.grenade_poison.name=Giftgranate +item.grenade_gas.name=Gasgranate +item.grenade_pulse.name=Impulsgranate +item.grenade_plasma.name=Plasmagranate +item.grenade_tau.name=Taugranate +item.grenade_schrabidium.name=Schrabidiumgranate +item.grenade_lemon.name=Zitronengranate +item.grenade_mk2.name=Mk 2 Granate "Botschafter Ananas" +item.grenade_aschrab.name=Werfbare Antischrabidiumzelle +item.grenade_nuke.name=Mark VI Bohrgranate +item.grenade_nuclear.name=Nuka-Granate +item.grenade_zomg.name=Negativenergie-Paarvernichtungsgranate +item.ullapool_caber.name=Ullapool'sche Stiel + +item.rod_uranium_fuel.name=Urankernbrennstoffzelle +item.rod_dual_uranium_fuel.name=Doppelte Urankernbrennstoffzelle +item.rod_quad_uranium_fuel.name=Vierfache Urankernbrennstoffzelle +item.rod_plutonium_fuel.name=Plutoniumkernbrennstoffzelle +item.rod_dual_plutonium_fuel.name=Doppelte Plutoniumkernbrennstoffzelle +item.rod_quad_plutonium_fuel.name=Vierfache Plutoniumkernbrennstoffzelle +item.rod_mox_fuel.name=MOX-Kernbrennstoffzelle +item.rod_dual_mox_fuel.name=Doppelte MOX-Kernbrennstoffzelle +item.rod_quad_mox_fuel.name=Vierfache MOX-Kernbrennstoffzelle +item.rod_schrabidium_fuel.name=Schrabidiumkernbrennstoffzelle +item.rod_dual_schrabidium_fuel.name=Doppelte Schrabidiumkernbrennstoffzelle +item.rod_quad_schrabidium_fuel.name=Vierfache Schrabidiumkernbrennstoffzelle + +item.rod_water.name=Wasserzelle +item.rod_dual_water.name=Doppelte Wasserzelle +item.rod_quad_water.name=Vierfache Wasserzelle + +item.rod_coolant.name=Kühlzelle +item.rod_dual_coolant.name=Doppelte Kühlzelle +item.rod_quad_coolant.name=Vierfache Kühlzelle + +item.rod_lithium.name=Lithiumstab +item.rod_dual_lithium.name=Doppelter Lithiumstab +item.rod_quad_lithium.name=Vierfacher Lithiumstab + +item.rod_tritium.name=Tritiumzelle +item.rod_dual_tritium.name=Doppelte Tritiumzelle +item.rod_quad_tritium.name=Vierfache Tritiumzelle + +item.levitation_unit.name=Gravitationsmanipulator +item.thermo_unit_empty.name=Thermische Verteilungseinheit +item.thermo_unit_endo.name=Kälteverteilungseinheit +item.thermo_unit_exo.name=Hitzeverteilungseinheit + +item.bomb_waffle.name=Massenvernichtungswaffel +item.schnitzel_vegan.name=Veganes Schnitzel +item.apple_schrabidium.name=Schrabidiumapfel +item.cotton_candy.name=Radioaktive Zuckerwatte +item.tem_flakes.name=Tem Flakes +item.glowing_stew.name=Leuchtende Pilzsuppe +item.lemon.name="Zitrone" + +tile.frozen_grass.name=Gefrorenes Gras +tile.frozen_dirt.name=Gefrorene Erde +tile.frozen_log.name=Gefrorener Baumstamm +tile.frozen_planks.name=Gefrorene Holzbretter + +tile.tape_recorder.name=Tonbandgerät +tile.steel_poles.name=Stahlmasten +tile.pole_top.name=Antennenspitze +tile.pole_satellite_receiver.name=Satellitenschüssel +tile.steel_wall.name=Stahlwand +tile.steel_corner.name=Stahlwand (Ecke) +tile.steel_roof.name=Flaches Stachldach +tile.steel_beam.name=Stahlträger +tile.steel_scaffold.name=Stahlgerüst + +item.gun_revolver_iron.name=Einfacher Revolver +item.gun_revolver.name=Verbesserter Revolver +item.gun_revolver_gold.name=Goldener Revolver +item.gun_revolver_lead.name=Nuka-Revolver +item.gun_revolver_schrabidium.name=Schrabidiumrevolver +item.gun_revolver_cursed.name=Verfluchte Pistole +item.gun_revolver_nightmare.name=Nightmare-Revolver (Original) +item.gun_revolver_nightmare2.name=Nightmare-Revolver (Dunkel) +item.gun_fatman.name=M42 Nukleares Katapult "Fat Man" +item.gun_mirv.name=M42 Nukleares Katapult "Experimentelles MIRV" +item.gun_bf.name=M42_2 Nukleares Katapult "Antimaterienwerfer" +item.gun_mp40.name=Maschinenpistole +item.gun_uboinik.name=Ubojnik +item.gun_xvl1456.name=XVL1456 Tau-Kanone Prototyp +item.gun_osipr.name=Standartausrüstung für Sicherheitskräfte +item.gun_immolator.name=Der Immolator +item.gun_cryolator.name=Der Cryolator +item.gun_mp.name=Maschinengewehr des Pazifisten +item.gun_zomg.name=Singularitätsbetriebener Paarvernichtungsstrahl "ZOMG Kanone" +item.gun_emp.name=EMP-Strahler +item.gun_super_shotgun.name=Super Shotgun +item.gun_moist_nugget.name=Moisn-Nagant +item.gun_revolver_inverted.name=Umgedrehter Revolver +item.gun_jack.name=Jackhammer +item.gun_spark.name=Die Zündkerze +item.gun_hp.name=HPP Lazerjet +item.gun_euthanasia.name=Euthanasia + +item.gun_revolver_iron_ammo.name=Patrone +item.gun_revolver_ammo.name=Bleipatrone +item.gun_revolver_gold_ammo.name=Goldene Kugel +item.gun_revolver_lead_ammo.name=Mit Glas umhüllte Atompatrone +item.gun_revolver_schrabidium_ammo.name=Schrabidiumpatrone +item.gun_revolver_cursed_ammo.name=Stahlpatrone +item.gun_revolver_nightmare_ammo.name=Nightmare-Kugel +item.gun_revolver_nightmare2_ammo.name=Laserschrot +item.gun_fatman_ammo.name=Miniatombombe +item.gun_mirv_ammo.name=Achtfaches MIRV +item.gun_bf_ammo.name=Mk.V kompaktes AMAT-Artilleriegeschoss - Typ B.F. +item.gun_mp40_ammo.name=SMG-Patrone +item.gun_uboinik_ammo.name=12x70 Schrotmunition +item.gun_xvl1456_ammo.name=Kiste mit erschöpftem Uran-235 +item.gun_osipr_ammo.name=Dunkler Energiepuls-Plug +item.gun_osipr_ammo2.name=Combine Ball +item.gun_immolator_ammo.name=Immolatorkraftstoff +item.gun_cryolator_ammo.name=Kryozelle +item.gun_mp_ammo.name=Kleine treibmittellose MG-Patrone +item.gun_emp_ammo.name=Energiezelle +item.gun_jack_ammo.name=Vierfache Schrotpatrone +item.gun_spark_ammo.name=Elektromagnetische Katusche +item.gun_hp_ammo.name=Tintenpatrone +item.gun_euthanasia_ammo.name=Spritze + +item.clip_revolver_iron.name=Box voll Eisenkugeln +item.clip_revolver.name=.357 Magnum Patronen +item.clip_revolver_gold.name=Schatulle mit goldenen Patronen +item.clip_revolver_schrabidium.name=Schrabidium-Muntionsbehälter +item.clip_rpg.name=Raketenbehälter +item.clip_xvl1456.name=Große Isotopenbox +item.clip_osipr.name=AR2 Magazin +item.clip_immolator.name=Großer Kraftstofftank +item.clip_cryolator.name=Großer Kryogentank +item.clip_revolver_lead.name=Box voll Atompatronen +item.clip_revolver_cursed.name=Magazin der Standardpistole des Britannischen Militärs +item.clip_fatman.name=Miniatombomben im Sechserpack +item.clip_mirv.name=Kauf-drei-zahl-eins Packung Mini MIRVs +item.clip_bf.name=BF-Geschosse im Doppelpack +item.clip_mp.name=Magazin des Standardsturmgewehrs des Britannischen Militärs +item.clip_mp40.name=9mm SMG-Magazin +item.clip_uboinik.name=Schrotpatronenbox +item.clip_emp.name=Magnetsteifen mit Energiezellen +item.clip_revolver_nightmare.name=Sack voll Kugeln +item.clip_revolver_nightmare2.name=Munitionsgürtel mit Laserschrot + +tile.block_schrabidium.name=Schrabidiumblock +item.plate_gold.name=Goldplatte + +item.syringe_empty.name=Leere Spritze +item.syringe_antidote.name=Gegenmittel +item.syringe_poison.name=Giftspritze +item.syringe_awesome.name=AWESOME +item.syringe_metal_empty.name=Metallspritze +item.syringe_metal_stimpak.name=Stimpak +item.syringe_metal_medx.name=Med-X +item.syringe_metal_psycho.name=Psycho + +item.stealth_boy.name=Mobile Tarnkappe + +entity.hbm.entity_bullet.name=Patrone +entity.hbm.entity_rocket.name=Rakete +entity.hbm.entity_schrabnel.name=Schrabnel +entity.entity_mob_nuclear_creeper.name=Nuklearer Creeper +entity.entity_mob_hunter_chopper.name=Jagdschrauber + +item.cap_aluminium.name=Aluminiumdeckel +item.hull_small_steel.name=Kleine Stahlhülle +item.hull_small_aluminium.name=Kleine Aluminiumhülle +item.hull_big_steel.name=Große Stahlhülle +item.hull_big_aluminium.name=Große Aluminiumhülle +item.hull_big_titanium.name=Große Titanhülle +item.fins_flat.name=Flache Stahlabdeckung +item.fins_small_steel.name=Kleine Stahlgitterfinnen +item.fins_big_steel.name=Große Stahlgitterfinnen +item.fins_tri_steel.name=Große Stahlflossen +item.fins_quad_titanium.name=Kleine Titanflossen +item.sphere_steel.name=Stahlhohlkugel +item.pedestal_steel.name=Stahlsockel +item.dysfunctional_reactor.name=Funktionsunfähiger Atomreaktor + +item.rotor_steel.name=Großer Stahlrotor +item.generator_steel.name=Generator +item.blade_titanium.name=Titanturbinenschaufel +item.turbine_titanium.name=Dampfturbine +item.generator_front.name=Generatorfront + +item.combine_scrap.name=CMB Schrott +item.chopper_head.name=Jagdschrauber Cockpit +item.chopper_gun.name=Pulskanone +item.chopper_torso.name=Jagdschrauber Rumpf +item.chopper_tail.name=Jagdschrauber Heck +item.chopper_wing.name=Jagdschrauber Seitentragfläche +item.chopper_blades.name=Jagdschrauber Rotorblätter + +item.igniter.name=Zünder +item.watch.name=Zerbrochene Taschenuhr +item.apple_astatine.name=Euphemiumapfel +item.ingot_astatine.name=Euphemiumbarren +item.nugget_astatine.name=Euphemiumnugget +item.rod_quad_astatine.name=Ausgebrannter Schrabidiumvierfachbrennstab + +item.astatine_helmet.name=Euphemiumstiefel +item.astatine_plate.name=Euphemiumbrustplatte +item.astatine_legs.name=Euphemiumbeinschutz +item.astatine_boots.name=Euphemiumstiefel + +item.schrabidium_helmet.name=Schrabidiumhelm +item.schrabidium_plate.name=Schrabidiumbrustplatte +item.schrabidium_legs.name=Schrabidiumbeinschutz +item.schrabidium_boots.name=Schrabidiumstiefel +item.schrabidium_sword.name=Schrabidiumschwert +item.schrabidium_pickaxe.name=Schrabidiumspitzhacke +item.schrabidium_axe.name=Schrabidiumaxt +item.schrabidium_shovel.name=Schrabidiumschaufel +item.schrabidium_hoe.name=Schrabidiumfeldhacke + +item.chainsaw.name=Kettensäge +item.crowbar.name=Mk.V Kistenöffnungsapparat "Brechstange" + +item.mask_of_infamy.name=Maske der Schande + +tile.det_cord.name=Det Cord +tile.red_barrel.name=Explosives Fass +tile.yellow_barrel.name=Radioaktives Fass + +item.designator.name=Kurzdistanz Zielmarkierer +item.missile_generic.name=HE Rakete +item.missile_anti_ballistic.name=Flugabwehrrakete +item.missile_incendiary.name=Brandrakete +item.missile_cluster.name=Streurakete +item.missile_buster.name=Bunkerbrechende Rakete +item.missile_strong.name=Starke HE Rakete +item.missile_incendiary_strong.name=Starke Brandrakete +item.missile_cluster_strong.name=Starke Streurakete +item.missile_buster_strong.name=Verbesserte bunkerbrechende Rakete +item.missile_burst.name=Spare Missile +item.missile_inferno.name=Inferno Missile G.R.N. Mk.II +item.missile_rain.name=Schüttbombenregen +item.missile_drill.name=Der Betonbrecher +item.missile_nuclear.name=Atomrakete +item.missile_nuclear_cluster.name=Atomare MIRV-Rakete +item.missile_endo.name=Endothermische Rakete +item.missile_exo.name=Exothermische Rakete + +item.hazmat_helmet.name=Strahlenschutzhelm +item.hazmat_plate.name=Strahlenschutzbrustplatte +item.hazmat_legs.name=Strahlenschutzhose +item.hazmat_boots.name=Strahlenschutzstiefel +item.hazmat_paa_helmet.name=PaA-Kampfschutzanzug Helm +item.hazmat_paa_plate.name=PaA-Kampfschutzanzug Brustplatte +item.hazmat_paa_legs.name=PaA-Kampfschutzanzug Hose +item.hazmat_paa_boots.name=PaA-Kampfschutzanzug Stiefel + +item.paa_plate.name=PaA-Brustschutzplatte +item.paa_legs.name=PaA-Beinverstärkungsschienen +item.paa_boots.name=PaA-"olle Latschen" + +item.goggles.name=Schutzbrille +item.gas_mask.name=Gasmaske + +item.t45_helmet.name=T45-Powerrüstungshelm +item.t45_plate.name=T45-Powerrüstungsbrustpanzer +item.t45_legs.name=T45-Powerrüstungsbeinschutz +item.t45_boots.name=T45-Powerrüstungsstiefel + +tile.mush.name=Leuchtender Pilz +tile.waste_mycelium.name=Leuchtende Myzel + +item.warhead_generic_small.name=Kleiner Sprengkopf +item.warhead_generic_medium.name=Mittlerer Sprengkopf +item.warhead_generic_large.name=Großer Sprengkopf +item.warhead_incendiary_small.name=Kleiner Brandsprengkopf +item.warhead_incendiary_medium.name=Mittlerer Brandsprengkopf +item.warhead_incendiary_large.name=Großer Brandsprengkopf +item.warhead_cluster_small.name=Kleiner Kasettensprengkopf +item.warhead_cluster_medium.name=Mittlerer Kasettensprengkopf +item.warhead_cluster_large.name=Großer Kasettensprengkopf +item.warhead_buster_small.name=Kleiner bunkerbrechender Sprengkopf +item.warhead_buster_medium.name=Mittlerer bunkerbrechender Sprengkopf +item.warhead_buster_large.name=Großer bunkerbrechender Sprengkopf +item.warhead_nuclear.name=Atomsprengkopf +item.warhead_mirvlet.name=MIRV +item.warhead_mirv.name=Achtfacher MIRV-Sprengkopf +item.warhead_thermo_endo.name=Endothermischer Sprengkopf +item.warhead_thermo_exo.name=Exothermischer Sprengkopf +item.fuel_tank_small.name=Kleiner Treibstofftank +item.fuel_tank_medium.name=Mittlerer Treibstofftank +item.fuel_tank_large.name=Großer Treibstofftank +item.thruster_small.name=Kleines Raketentriebwerk +item.thruster_medium.name=Mittleres Raketentriebwerk +item.thruster_large.name=Großes Raketentriebwerk + +item.wand_k.name=Konstruktions-Zauberstab +item.wand_s.name=Struktur-Zauberstab +item.wand_d.name=Debug-Zauberstab + +item.screwdriver.name=Schraubenzieher +item.overfuse.name=Singularitätsschraubenzieher + +item.steel_helmet.name=Stahlhelm +item.steel_plate.name=Stahlbrustpanzer +item.steel_legs.name=Stahlbeinschutz +item.steel_boots.name=Stahlstiefel +item.titanium_helmet.name=Titanhelm +item.titanium_plate.name=Titanbrustpanzer +item.titanium_legs.name=Titanbeinschutz +item.titanium_boots.name=Titanstiefel +item.alloy_helmet.name=Legierungshelm +item.alloy_plate.name=Legierungsbrustpanzer +item.alloy_legs.name=Legierungsbeinschutz +item.alloy_boots.name=Legierungsstiefel +item.cmb_helmet.name=CMB-Stahlhelm +item.cmb_plate.name=CMB-Stahlbrustpanzer +item.cmb_legs.name=CMB-Stahlbeinschutz +item.cmb_boots.name=CMB-Stahlstiefel + +item.steel_sword.name=Stahlschwert +item.steel_pickaxe.name=Stahlspitzhacke +item.steel_axe.name=Stahlaxt +item.steel_shovel.name=Stahlschaufel +item.steel_hoe.name=Stahlfeldhacke +item.titanium_sword.name=Titanschwert +item.titanium_pickaxe.name=Titanspitzhacke +item.titanium_axe.name=Titanaxt +item.titanium_shovel.name=Titanschaufel +item.titanium_hoe.name=Titanfeldhacke +item.alloy_sword.name=Legierungsschwert +item.alloy_pickaxe.name=Legierungsspitzhacke +item.alloy_axe.name=Legierungsaxt +item.alloy_shovel.name=Legierungsschaufel +item.alloy_hoe.name=Legierungsfeldhacke +item.cmb_sword.name=CMB-Stahlschwert +item.cmb_pickaxe.name=CMB-Stahlspitzhacke +item.cmb_axe.name=CMB-Stahlaxt +item.cmb_shovel.name=CMB-Stahlschaufel +item.cmb_hoe.name=CMB-Stahlfeldhacke + +tile.red_cable.name=Rotes Kupferkabel +tile.block_meteor.name=Meteoritenblock + +item.cape_radiation.name=Cape (Radioaktiv) +item.cape_gasmask.name=Cape (Gasmaske) +item.cape_schrabidium.name=Cape (Schrabidisch) +item.cape_hbm.name=Hbms Cape +item.cape_dafnik.name=Dafniks Cape +item.cape_lpkukin.name=LPkukins Cape +item.cape_vertice.name=Lord Vertices Cape + +tile.machine_converter_he_rf.name=HE zu RF Konverter +tile.machine_converter_rf_he.name=RF zu HE Konverter + +item.schrabidium_hammer.name=Schrabidiumhammer +item.euphemium_stopper.name=Stopper +item.matchstick.name=Streichholz +item.remote.name=Kaputte Fernbedienung + +item.redcoil_capacitor.name=Rotspulenkondensator +item.detonator.name=Fernzünder +item.crate_caller.name=Nachschub-Requester + +item.ingot_hes.name=Stark angereicherter Schrabidiumkernbrennstoffbarren +item.ingot_les.name=Schwach angereicherter Schrabidiumkernbrennstoffbarren +item.nugget_hes.name=Stark angereichertes Schrabidiumkernbrennstoffnugget +item.nugget_les.name=Schwach angereichertes Schrabidiumkernbrennstoffnugget + +item.pellet_schrabidium.name=Pures Schrabidium-Watzpellet +item.pellet_hes.name=HES-Watzpellet +item.pellet_mes.name=MES-Watzpellet +item.pellet_les.name=LES-Watzpellet +item.pellet_beryllium.name=Beryllium-Moderatonspellet +item.pellet_neptunium.name=Neptunium-Watzpellet +item.pellet_lead.name=Bleireflektorpellet +item.pellet_advanced.name=Fortgeschrittenes Watzaufwertugspellet + +item.titanium_filter.name=Titanfilter + +tile.mud_block.name=Giftiger Schlamm +fluid.mud_fluid=Giftiger Schlamm +item.bucket_mud.name=Eimer mit giftigem Schlamm +tile.acid_block.name=Säure +fluid.acid_fluid=Säure +item.bucket_acid.name=Säureeimer +tile.toxic_block.name=Stereotypischer grüner Schleim +fluid.toxic_fluid=Stereotypischer grüner Schleim +item.bucket_toxic.name=Eimer mit stereotypischem grünen Schleim +item.tank_waste_0.name=Schlammcontainer +item.tank_waste_1.name=Schlammcontainer +item.tank_waste_2.name=Schlammcontainer +item.tank_waste_3.name=Schlammcontainer +item.tank_waste_4.name=Schlammcontainer +item.tank_waste_5.name=Schlammcontainer +item.tank_waste_6.name=Schlammcontainer +item.tank_waste_7.name=Schlammcontainer +item.tank_waste_8.name=Schlammcontainer + +item.can_empty.name=Leere Dose +item.can_smart.name='Smart' Energy-Drink +item.can_creature.name='Creature' Energy-Drink +item.can_redbomb.name='Red Bomb' Energy-Drink +item.can_mrsugar.name='Dr. Sugar' Softdrink +item.can_overcharge.name=Overcharge Delirium XT +item.bottle_empty.name=Leere bombenförmige Glasflasche +item.bottle_nuka.name=Nuka-Cola Flasche +item.bottle_cherry.name=Nuka-Cherry Flasche +item.bottle_quantum.name=Nuka Cola Quantum +item.bottle2_empty.name=Leere Glasflasche +item.bottle2_korl.name=Korl +item.bottle2_fritz.name=Fritz-Kola +item.bottle2_korl_special.name=Das erste Korl +item.bottle2_fritz_special.name=Die erste Fritz-Kola +item.chocolate_milk.name=Schokomilch + +item.blades_aluminium.name=Aluminiumsägeblatt +item.blades_gold.name=Goldenes Sägeblatt +item.blades_iron.name=Eisensägeblatt +item.blades_steel.name=Stahlsägeblatt +item.blades_titanium.name=Titansägeblatt +item.blades_advanced_alloy.name=Fortgeschrittenes Sägeblatt +item.blades_combine_steel.name=CMB-Sägeblatt +item.blades_schrabidium.name=Schrabidiumsägeblatt + +item.linker.name=Telelinker + +item.thermo_element.name=Thermoelektrisches Element +item.limiter.name=Generator-Limiter + +item.multitool_dig.name=Power Fist (Grabklaue) +item.multitool_silk.name=Power Fist (Behutsamkeitsklaue) +item.multitool_ext.name=Power Fist (Erzextraktor) +item.multitool_miner.name=Power Fist (Extrahierender Mininglaser) +item.multitool_hit.name=Power Fist (Faust) +item.multitool_beam.name=Power Fist (Zapper) +item.multitool_sky.name=Power Fist (Crack the Sky) +item.multitool_mega.name=Power Fist (Superhieb) +item.multitool_joule.name=Power Fist (Gigajoule) +item.multitool_decon.name=Power Fist (Dekontaminator) + +item.australium_iii.name=Mark III Lebensverlängerer +item.australium_iv.name=Mark IV Lebensverlängerer +item.australium_v.name=Mark V Lebensverlängerer + +item.weapon_saw.name=Ärztlich autorisierter Mord +item.weapon_bat.name=Richards Standard +item.weapon_bat_nail.name=Das Klischee +item.weapon_golf_club.name=Schläger des russischen Mafiosos +item.weapon_pipe_rusty.name=Der Einstellungskorrigierer +item.weapon_pipe_lead.name=Die Handüberbrückung +item.reer_graar.name=The Reer Graar + +item.letter.name=Eilbrief +item.polaroid.name=Das Polaroid + +item.crystal_horn.name=Kristallhorn +item.crystal_charred.name=Verkohlter Kristall +item.ingot_lanthanium.name=Semistabiler Lanthanbarren +item.ingot_actinium.name=Semistabiler Actiniumbarren + +tile.dummy_block.name=Dummyblock +tile.dummy_port.name=Dummyblock (Stromanschluss) + +item.chopper.name=Jagdschrauber + +tile.crystal_virus.name=Dunkler Kristall +tile.crystal_hardened.name=Gehärteter Dunkler Kristall + +tile.cheater_virus.name=Geliertes Euphemium +tile.cheater_virus_seed.name=Instabiler Euphemiumschrabid-Block \ No newline at end of file diff --git a/assets/hbm/lang/en_US.lang b/assets/hbm/lang/en_US.lang index 1bb96e386..531b816ba 100644 --- a/assets/hbm/lang/en_US.lang +++ b/assets/hbm/lang/en_US.lang @@ -1,934 +1,1059 @@ -itemGroup.tabTest=Nuclear Tech Mod Test Tab -itemGroup.tabParts=Nuclear Tech Mod Parts -itemGroup.tabBlocks=Nuclear Tech Mod Blocks -itemGroup.tabNuke=Nuclear Tech Mod Nukes - -item.record.lc.desc=Valve - Diabolic Adrenaline Guitar/Lambda Core -item.record.ss.desc=Valve - Sector Sweep -item.record.vc.desc=Valve - Vortal Combat - -death.attack.nuclearBlast=%1$s was blown away by a nuclear explosion. -death.attack.revolverBullet=%1$s was shot in the head by %2$s. -death.attack.mudPoisoning=%1$s died in poisonous mud. -death.attack.euthanized=%1$s was euthanized by %2$s. -death.attack.euthanizedSelf=%1$s euthanized himself, what a dork. -death.attack.euthanizedSelf2=%1$s wins the Darwin Award. -death.attack.tau=%1$s was riddeled by %2$s using negatively charged tauons. -death.attack.tauBlast=%1$s charged the XVL1456 for too long and was blown into pieces. -death.attack.chopperBullet=%1$s was rekt by %2$s. -death.attack.cmb=%1$s was fizzeled by %2$s. -<<<<<<< HEAD -death.attack.subAtomic=%1$s's atoms have been destroyed by %2$s. -death.attack.subAtomic2=%1$s was QPU-misaligned because %2$s tampered with his de facto speed. -death.attack.subAtomic3=%1$s's divergence dropped below 1 percent because of %2$s. -======= -<<<<<<< HEAD -death.attack.subAtomic=%1$s's atoms have been destroyed by %2$s. -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 -death.attack.subAtomic2=%1$s was QPU-misaligned because %2$s tampered with his de facto speed. -death.attack.subAtomic3=%1$s's divergence dropped below 1% because of %2$s. ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -death.attack.subAtomic4=%1$s was divided by zero by %2$s. -death.attack.subAtomic5=%1$s was nullified by %2$s. -death.attack.radiation=%1$s died from radiation poisoning. -death.attack.acid=%1$s fell into acid. -death.attack.suicide=%1$s blew their head off. -<<<<<<< HEAD -death.attack.electrified=%1$s was electrified by %2$s. -death.attack.flamethrower=%1$s was cremated by %2$s. -death.attack.plasma=%1$s was immolated by %2$s. -death.attack.ice=%1$s was turned into a popsicle by %2$s. -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - -item.redstone_sword.name=Redstone Sword -item.big_sword.name=Great Sword -item.test_nuke_igniter.name=Igniter -item.test_nuke_propellant.name=Propellant -item.test_nuke_tier1_shielding.name=Neutron Reflector (Tier 1) -item.test_nuke_tier2_shielding.name=Neutron Reflector (Tier 2) -item.test_nuke_tier1_bullet.name=U235 Projectile (Tier 1) -item.test_nuke_tier2_bullet.name=MOX Projectile (Tier 2) -item.test_nuke_tier1_target.name=Subcritical U235 Target (Tier 1) -item.test_nuke_tier2_target.name=Subcritical MOX Target (Tier 2) - -item.gadget_explosive.name=Propellant -item.gadget_explosive8.name=Bundle of Propellant -item.gadget_wireing.name=Wiring -item.gadget_core.name=Plutonium Core - -item.boy_igniter.name=Bomb Igniter -item.boy_propellant.name=Propellant -item.boy_bullet.name=U235 Projectile -item.boy_target.name=Subcritical U235 Target -item.boy_shielding.name=Neutron Shielding - -item.man_explosive.name=Propellant -item.man_explosive8.name=Bundle of Propellant -item.man_igniter.name=Bomb Igniter -item.man_core.name=Plutonium Core - -item.mike_core.name=Uranium Coated Deuterium Tank -item.mike_deut.name=Deuterium Tank -item.mike_cooling_unit.name=Deuterium Cooling Unit - -item.tsar_core.name=Tsar Bomba Core - -item.fleija_igniter.name=Pulse Igniter -item.fleija_propellant.name=Schrabidium Propellant -item.fleija_core.name=F.L.E.I.J.A. Uranium 235 Charge - -container.nukeGadget=The Gadget -container.nukeBoy=Little Boy -container.nukeMan=Fat Man -container.nukeMike=Ivy Mike -container.nukeTsar=Tsar Bomba -container.nukeFleija=F.L.E.I.J.A. -container.nukePrototype=The Prototype - -container.bombMulti=Multi Purpose Bomb - -tile.nuke_gadget.name=The Gadget -tile.nuke_boy.name=Little Boy -tile.nuke_man.name=Fat Man -tile.nuke_mike.name=Ivy Mike -tile.nuke_tsar.name=Tsar Bomba -tile.nuke_fleija.name=F.L.E.I.J.A. -tile.nuke_prototype.name=The Prototype - -tile.bomb_multi.name=Multi Purpose Bomb - -tile.flame_war.name=Flame War in a Box -tile.float_bomb.name=Levitation Bomb -tile.therm_endo.name=Endothermic Bomb -tile.therm_exo.name=Exothermic Bomb - -tile.crashed_bomb.name=Dud - -tile.crate.name=Supply Crate - -tile.machine_difurnace_off.name=Alloy Furnace -tile.machine_difurnace_on.name=Alloy Furnace -container.diFurnace=Alloy Furnace -tile.machine_centrifuge.name=Centrifuge -container.centrifuge=Centrifuge -tile.machine_uf6_tank.name=Uranium Hexafluoride Tank -container.uf6_tank=UF6 Tank -tile.machine_puf6_tank.name=Plutonium Hexafluoride Tank -container.puf6_tank=PuF6 Tank -tile.machine_reactor.name=Breeding Reactor -container.reactor=Breeding Reactor -tile.machine_nuke_furnace_off.name=Nuclear Powered Furnace -tile.machine_nuke_furnace_on.name=Nuclear Powered Furnace -container.nukeFurnace=Nuclear Powered Furnace -tile.machine_rtg_furnace_off.name=RTG Furnace -tile.machine_rtg_furnace_on.name=RTG Furnace -container.rtgFurnace=RTG Furnace -tile.machine_electric_furnace_off.name=Electric Furnace -tile.machine_electric_furnace_on.name=Electric Furnace -container.electricFurnace=Electric Furnace -tile.machine_generator.name=Nuclear Reactor -container.generator=Nuclear Reactor -tile.red_wire_coated.name=Coated Red Copper Cable -tile.machine_deuterium.name=Deuterium Extractor -container.machine_deuterium=Deuterium Extractor -tile.machine_battery.name=Energy Storage Block -container.battery=Energy Storage -tile.machine_coal_off.name=Coal Generator -tile.machine_coal_on.name=Coal Generator -container.machineCoal=Coal Generator -tile.launch_pad.name=Missile Launch Pad -container.launchPad=Missile Launch Pad -tile.book_guide.name=Hbm's Nuclear Tech Mod Manual -tile.machine_schrabidium_transmutator.name=Schrabidium Transmutation Device -container.machine_schrabidium_transmutator=Schrabidium Transmutation Device -tile.machine_diesel.name=Diesel Generator -container.machineDiesel=Diesel Generator -tile.machine_shredder.name=Shredder -container.machineShredder=Shredder -tile.machine_combine_factory.name=CMB Steel Furnace -container.machineCMB=CMB Steel Furnace -tile.machine_teleporter.name=Teleporter - -tile.factory_titanium_hull.name=Basic Factory Casing -tile.factory_titanium_furnace.name=Basic Factory Access Hatch -tile.factory_titanium_conductor.name=Basic Factory Electricity Port -tile.factory_titanium_core.name=Basic Factory Core Component -item.factory_core_titanium.name=Basic Factory Energy Cluster -container.factoryTitanium=Basic Factory -tile.factory_advanced_hull.name=Advanced Factory Casing -tile.factory_advanced_furnace.name=Advanced Factory Access Hatch -tile.factory_advanced_conductor.name=Advanced Factory Electricity Port -tile.factory_advanced_core.name=Advanced Factory Core Component -item.factory_core_advanced.name=Advanced Factory Energy Cluster -container.factoryAdvanced=Advanced Factory - -tile.reactor_element.name=Reaktor Chamber -tile.reactor_control.name=Control Rods -tile.reactor_hatch.name=Reactor Access Hatch -tile.reactor_conductor.name=Reactor Electricity Port -tile.reactor_computer.name=Reaktor Control -container.reactorMultiblock=Big Nuclear Reactor - -tile.fusion_conductor.name=Superconducting Magnet -tile.fusion_center.name=Central Magnet Piece -tile.fusion_motor.name=Magnet Motor Piece -tile.fusion_heater.name=Plasma Heater -tile.fusion_hatch.name=Fusion Reactor Access Hatch -tile.fusion_core.name=Fusion Reactor Control -tile.plasma.name=Plasma -container.fusionMultiblock=Big Fusion Reactor - -tile.watz_element.name=Watz Reaction Chamber -tile.watz_control.name=Reinforced Control Rods -tile.watz_cooler.name=Watz Reactor Supercooler -tile.watz_end.name=Watz Reactor Stability Element -tile.watz_hatch.name=Watz Reactor Access Hatch -tile.watz_conductor.name=Watz Electricity Port -tile.watz_core.name=Watz Reactor Control -container.watzPowerplant=Watz Power Plant - -tile.fwatz_conductor.name=4000K Superconducting Magnet -tile.fwatz_cooler.name=Regenerative Coolant Fluid Tank Shell -tile.fwatz_tank.name=Regenerative Coolant Fluid Tank -tile.fwatz_scaffold.name=Fusionary Watz Plant Structural Support -tile.fwatz_hatch.name=Fusionary Watz Plant Access Hatch -tile.fwatz_computer.name=Fusionary Watz Reactor Calculation Matrix -tile.fwatz_core.name=Fusionary Watz Reactor Control -tile.fwatz_plasma.name=Destabilized Antischrabidium Plasma - -item.fuse.name=Fuse - -tile.test_nuke.name=Test Nuke - -item.ingot_uranium.name=Uranium Ingot -item.ingot_u235.name=U235 Ingot -item.ingot_u238.name=U238 Ingot -item.ingot_plutonium.name=Plutonium Ingot -item.ingot_pu238.name=Pu238 Ingot -item.ingot_pu239.name=Pu239 Ingot -item.ingot_pu240.name=Pu240 Ingot -item.ingot_titanium.name=Titanium Ingot -item.sulfur.name=Sulfur - -item.niter.name=Niter -item.ingot_copper.name=Industrial Grade Copper -item.ingot_red_copper.name=Minecraft Grade Copper -item.ingot_tungsten.name=Tungsten Ingot -item.ingot_aluminium.name=Aluminium Ingot -item.fluorite.name=Fluorite -item.ingot_steel.name=Steel Ingot -item.plate_steel.name=Steel Plate -item.ingot_beryllium.name=Beryllium Ingot -item.plate_schrabidium.name=Schrabidium Plate -item.ingot_schrabidium.name=Schrabidium Ingot -item.nugget_schrabidium.name=Schrabidium Nugget -item.plate_copper.name=Copper Plate -item.ingot_advanced_alloy.name=Advanced Alloy Ingot -item.plate_advanced_alloy.name=Advanced Alloy Plate -item.wire_advanced_alloy.name=Super Conductor -item.coil_advanced_alloy.name=Super Conducting Coil -item.coil_advanced_torus.name=Super Conducting Ring Coil -item.lithium.name=Lithium Cube -item.ingot_magnetized_tungsten.name=Magnetized Tungsten Ingot -item.ingot_combine_steel.name=CMB Steel Ingot -item.plate_combine_steel.name=CMB Steel Plate -item.wire_magnetized_tungsten.name=4000K High Temperature Super Conductor -item.coil_magnetized_tungsten.name=4000K High Temperature Super Conducting Coil -item.plate_mixed.name=Mixed Plate -item.plate_paa.name=PaA Alloy Plate - -item.nugget_u235.name=U235 Nugget -item.nugget_u238.name=U238 Nugget -item.nugget_pu238.name=Pu238 Nugget -item.nugget_pu239.name=Pu239 Nugget -item.nugget_pu240.name=Pu240 Nugget -item.plate_titanium.name=Titanium Plate -item.plate_aluminium.name=Aluminium Plate -item.wire_red_copper.name=Red Copper Wire -item.neutron_reflector.name=Neutron Reflector -item.nugget_beryllium.name=Beryllium Nugget - -item.wire_aluminium.name=Aluminium Wire -item.wire_copper.name=Copper Wire -item.wire_gold.name=Gold Wire -item.wire_schrabidium.name=Schrabidium Wire - -item.circuit_aluminium.name=Basic Circuit -item.circuit_copper.name=Enhanced Circuit -item.circuit_red_copper.name=Advanved Circuit -item.circuit_gold.name=Overclocked Circuit -item.circuit_schrabidium.name=High Performance Circuit - -tile.block_aluminium.name=Block of Aluminium -tile.block_copper.name=Block of Copper -tile.block_fluorite.name=Block of Fluorite -tile.block_niter.name=Block of Niter -tile.block_red_copper.name=Block of Red Copper -tile.block_steel.name=Block of Steel -tile.block_sulfur.name=Block of Sulfur -tile.block_titanium.name=Block of Titanium -tile.block_tungsten.name=Block of Tungsten -tile.block_uranium.name=Block of Uranium -tile.block_trinitite.name=Block of Trinitite -tile.block_beryllium.name=Block of Beryllium -tile.block_waste.name=Block of Nuclear Waste -tile.block_scrap.name=Block of Scrap -<<<<<<< HEAD -tile.block_electrical_scrap.name=Block of Electrical Scrap -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -tile.block_advanced_alloy.name=Block of Advanced Alloy -tile.block_magnetized_tungsten.name=Block of Magnetized Tungsten -tile.block_combine_steel.name=Block of CMB Steel - -tile.ore_aluminium.name=Aluminium Ore -tile.ore_copper.name=Copper Ore -tile.ore_fluorite.name=Fluorite Ore -tile.ore_niter.name=Niter Ore -tile.ore_sulfur.name=Sulfur Ore -tile.ore_titanium.name=Titanium Ore -tile.ore_tungsten.name=Tungsten Ore -tile.ore_uranium.name=Uranium Ore -tile.ore_schrabidium.name=Schrabidium Ore -tile.ore_beryllium.name=Beryllium Ore - -tile.ore_nether_uranium.name=Nether Uranium Ore -tile.ore_nether_plutonium.name=Nether Plutonium Ore -tile.ore_nether_tungsten.name=Nether Tungsten Ore -tile.ore_nether_sulfur.name=Nether Sulfur Ore -tile.ore_nether_fire.name=Fire Ore -tile.ore_nether_schrabidium.name=Nether Schrabidium Ore - -tile.reinforced_brick.name=Reinforced Stone -tile.reinforced_glass.name=Reinforced Glass -tile.reinforced_sand.name=Reinforced Sandstone -tile.reinforced_light.name=Reinforced Glowstone -tile.reinforced_lamp_off.name=Reinforced Lamp -tile.reinforced_lamp_on.name=Reinforced Lamp - -tile.brick_concrete.name=Concrete Bricks -tile.brick_obsidian.name=Obsidian Bricks -tile.brick_light.name=Light Bricks - -tile.cmb_brick.name=CMB Steel Tile -tile.cmb_brick_reinforced.name=Reinforced CMB Bricks - -tile.gravel_obsidian.name=Crushed Obsidian - -item.nugget_uranium.name=Uranium Nugget -item.nugget_plutonium.name=Plutonium Nugget -item.nugget_neptunium.name=Neptunium Nugget -item.ingot_neptunium.name=Neptunium Ingot -item.nugget_lead.name=Lead Nugget -item.ingot_lead.name=Lead Ingot -tile.block_lead.name=Block of Lead -tile.ore_lead.name=Lead Ore - -item.powder_lead.name=Lead Powder -item.powder_neptunium.name=Neptunium Powder -item.powder_schrabidium.name=Schrabidium Powder -item.powder_iron.name=Iron Powder -item.powder_gold.name=Gold Powder -item.powder_aluminium.name=Aluminium Powder -item.powder_beryllium.name=Beryllium Powder -item.powder_copper.name=Copper Powder -item.powder_titanium.name=Titanium Powder -item.powder_tungsten.name=Tungsten Powder -item.powder_uranium.name=Uranium Powder -item.powder_plutonium.name=Plutonium Powder -item.dust.name=Dust -item.powder_coal.name=Coal Powder -item.powder_lapis.name=Lapis Lazuli Powder -item.powder_emerald.name=Emerald Powder -item.powder_diamond.name=Diamond Powder -item.powder_red_copper.name=Red Copper Powder -item.powder_steel.name=Steel Powder -item.powder_magnetized_tungsten.name=Magnetized Tungsten Powder -item.powder_combine_steel.name=CMB Steel Powder -item.powder_lithium.name=Lithium Powder -item.powder_advanced_alloy.name=Advanced Alloy Powder -item.powder_quartz.name=Quartz Powder -item.powder_power.name=Energy Powder -item.powder_iodine.name=Iodine Powder -item.powder_thorium.name=Thorium Powder -item.powder_neodymium.name=Neodymium Powder -item.powder_astatine.name=Astatine Powder -item.powder_caesium.name=Caesium Powder - -item.battery_generic.name=Battery -item.battery_advanced.name=Advanced Battery -item.battery_schrabidium.name=Schrabidium Battery -item.battery_creative.name=Infinite Battery - -item.fusion_core.name=Fusion Core -item.energy_core.name=Makeshift Energy Core - -item.plate_iron.name=Iron Plate -item.plate_lead.name=Lead Plate -item.coil_copper.name=Copper Coil -item.coil_copper_torus.name=Ring Coil -item.wire_tungsten.name=Tungsten Wire -item.coil_tungsten.name=Heating Coil -item.tank_steel.name=Steel Tank -item.motor.name=Motor -item.centrifuge_element.name=Centrifuge Element -item.centrifuge_tower.name=Centrifuge Tower -item.reactor_core.name=Breeding Reactor Core -item.pellet_rtg.name=Plutonium 238 Fuel Pellet -item.rtg_unit.name=RTG Unit -item.hazmat_cloth.name=Hazmat Cloth -item.filter_coal.name=Activated Carbon Filter -item.tritium_deuterium_cake.name=Tritium-Deuterium-Cake -item.telepad.name=Telepad -item.entanglement_kit.name=Entaglement Kit - -item.cell_empty.name=Empty Cell -item.cell_uf6.name=Uranium Hexafluorite Cell -item.cell_puf6.name=Plutonium Hexafluorite Cell -item.cell_antimatter.name=Antimatter Cell -item.cell_deuterium.name=Deuterium Cell -item.cell_tritium.name=Tritium Cell -item.cell_sas3.name=Schrabidium Trisulfide Cell -item.cell_anti_schrabidium.name=Antischrabidium Cell -item.singularity.name=Singularity -item.singularity_counter_resonant.name=Contained Counter-Resonant Singularity -item.singularity_super_heated.name=Superheated Resonating Singularity -item.black_hole.name=Miniature Black Hole -item.crystal_xen.name=Artificial Xen Crystal - -item.inf_water.name=Infinite Water Tank -item.inf_deuterium.name=Infinite Deuterium Tank -item.inf_tritium.name=Infinite Tritium Tank -item.inf_coolant.name=Infinite Coolant Tank -item.inf_sulfur.name=Infinite Sulfur Tank -item.inf_diesel.name=Infinite Diesel Tank -item.inf_antimatter.name=Infinite Antimatter Tank -item.inf_antischrabidium.name=Infinite Antischrabidium Tank - -item.canister_empty.name=Empty Canister -item.canister_fuel.name=Fuel Canister -item.canister_napalm.name=Napalm B -item.canister_NITAN.name=NITAN© 100 Octane Super Fuel - -item.rod_empty.name=Emty Rod -item.rod_uranium.name=Uranium Rod -item.rod_u235.name=U235 Rod -item.rod_u238.name=U238 Rod -item.rod_plutonium.name=Plutonium Rod -item.rod_pu238.name=Pu238 Rod -item.rod_pu239.name=Pu239 Rod -item.rod_pu240.name=Pu240 Rod -item.rod_neptunium.name=Neptunium Rod -item.rod_lead.name=Lead Rod -item.rod_schrabidium.name=Schrabidium Rod - -item.rod_dual_empty.name=Emty Dual Rod -item.rod_dual_uranium.name=Uranium Dual Fl Rod -item.rod_dual_u235.name=U235 Dual Rod -item.rod_dual_u238.name=U238 Dual Rod -item.rod_dual_plutonium.name=Plutonium Dual Rod -item.rod_dual_pu238.name=Pu238 Dual Rod -item.rod_dual_pu239.name=Pu239 Dual Rod -item.rod_dual_pu240.name=Pu240 Dual Rod -item.rod_dual_neptunium.name=Neptunium Dual Rod -item.rod_dual_lead.name=Lead Dual Rod -item.rod_dual_schrabidium.name=Schrabidium Dual Rod - -item.rod_quad_empty.name=Emty Quad Rod -item.rod_quad_uranium.name=Uranium Quad Rod -item.rod_quad_u235.name=U235 Quad Rod -item.rod_quad_u238.name=U238 Quad Rod -item.rod_quad_plutonium.name=Plutonium Quad Rod -item.rod_quad_pu238.name=Pu238 Quad Rod -item.rod_quad_pu239.name=Pu239 Quad Rod -item.rod_quad_pu240.name=Pu240 Quad Rod -item.rod_quad_neptunium.name=Neptunium Quad Rod -item.rod_quad_lead.name=Lead Quad Rod -item.rod_quad_schrabidium.name=Schrabidium Quad Rod - -item.rod_uranium_fuel_depleted.name=Depleted Uranium Fuel Rod -item.rod_dual_uranium_fuel_depleted.name=Depleted Uranium Dual Fuel Rod -item.rod_quad_uranium_fuel_depleted.name=Depleted Uranium Quad Fuel Rod -item.rod_plutonium_fuel_depleted.name=Depleted Plutonium Fuel Rod -item.rod_dual_plutonium_fuel_depleted.name=Depleted Plutonium Dual Fuel Rod -item.rod_quad_plutonium_fuel_depleted.name=Depleted Plutonium Quad Fuel Rod -item.rod_mox_fuel_depleted.name=Depleted MOX Fuel Rod -item.rod_dual_mox_fuel_depleted.name=Depleted MOX Dual Fuel Rod -item.rod_quad_mox_fuel_depleted.name=Depleted MOX Quad Fuel Rod -item.rod_schrabidium_fuel_depleted.name=Depleted Schrabidium Fuel Rod -item.rod_dual_schrabidium_fuel_depleted.name=Depleted Schrabidium Dual Fuel Rod -item.rod_quad_schrabidium_fuel_depleted.name=Depleted Schrabidium Quad Fuel Rod - -item.rod_waste.name=Nuclear Waste Rod -item.rod_dual_waste.name=Nuclear Waste Dual Rod -item.rod_quad_waste.name=Nuclear Waste Quad Rod - -item.gun_rpg.name=Rocket Launcher -item.gun_rpg_ammo.name=Rocket - -item.flame_pony.name=Painting of a Cartoon Pony -item.flame_conspiracy.name=Conspiracy Theory -item.flame_politics.name=Political Topic -item.flame_opinion.name=Own Opinion - -item.pellet_cluster.name=Explosive Pellets -item.powder_fire.name=Flame Powder -item.powder_poison.name=Poison Powder -item.pellet_gas.name=Poison Gas Cartridge -item.magnetron.name=Magnetron -item.powder_thermite.name=Thermite - -item.nuke_starter_kit.name=Atomic Science Starter Kit -item.nuke_commercially_kit.name=Atomic Science Kit for Commercial Uses -item.nuke_advanced_kit.name=Atomic Science Advanced Kit -item.gadget_kit.name=The Gadget Kit -item.boy_kit.name=Little Boy Kit -item.man_kit.name=Fat Man Kit -item.mike_kit.name=Ivy Mike Kit -item.tsar_kit.name=Tsar Bomba Kit -item.fleija_kit.name=F.L.E.I.J.A. Kit -item.multi_kit.name=Multi Purpose Bomb Kit -item.grenade_kit.name=Grenade Kit -item.nuke_electric_kit.name=Electronic Engineer's Kit -item.prototype_kit.name=Prototype Kit -item.missile_kit.name=Missile Kit -item.t45_kit.name=T45 Power Armor Kit -item.euphemium_kit.name=Euphemium Kit - -tile.waste_earth.name=Dead Grass -tile.waste_trinitite.name=Trinitite Ore -tile.waste_trinitite_red.name=Red Trinitite Ore -tile.waste_log.name=Charred Log -tile.waste_planks.name=Charred Wooden Planks - -item.trinitite.name=Trinitite -item.nuclear_waste.name=Nuclear Waste -item.scrap.name=Scrap - -item.ingot_uranium_fuel.name=Ingot of Uranium Fuel -item.ingot_plutonium_fuel.name=Ingot of Plutonium Fuel -item.ingot_mox_fuel.name=Ingot of MOX Fuel -item.ingot_schrabidium_fuel.name=Ingot of Schrabidium Fuel - -item.nugget_uranium_fuel.name=Nugget of Uranium Fuel -item.nugget_plutonium_fuel.name=Nugget of Plutonium Fuel -item.nugget_mox_fuel.name=Nugget of MOX Fuel -item.nugget_schrabidium_fuel.name=Nugget of Schrabidium Fuel - -item.grenade_generic.name=Grenade -item.grenade_strong.name=Enhanced Grenade -item.grenade_frag.name=Frag Grenade -item.grenade_fire.name=Flame Frag Grenade -item.grenade_cluster.name=Cluster Bomb -item.grenade_flare.name=Flare Grenade -item.grenade_electric.name=Lightning Bomb -item.grenade_poison.name=Poison Grenade -item.grenade_gas.name=Gas Grenade -item.grenade_plasma.name=Plasma Grenade -item.grenade_tau.name=Tau Grenade -item.grenade_schrabidium.name=Schrabidium Grenade -item.grenade_lemon.name=Combustible Lemon -item.grenade_mk2.name=Mk 2 Grenade "Ambassador Pineapple" -item.grenade_aschrab.name=Tossable Antischrabidium Cell -item.grenade_nuke.name=Mark VI Drill Grenade -item.grenade_nuclear.name=Nuka Grenade -item.grenade_zomg.name=Negative Energy Pair Annihilation Grenade - -item.rod_uranium_fuel.name=Uranium Fuel Rod -item.rod_dual_uranium_fuel.name=Uranium Dual Fuel Rod -item.rod_quad_uranium_fuel.name=Uranium Quad Fuel Rod -item.rod_plutonium_fuel.name=Plutonium Fuel Rod -item.rod_dual_plutonium_fuel.name=Plutonium Dual Fuel Rod -item.rod_quad_plutonium_fuel.name=Plutonium Quad Fuel Rod -item.rod_mox_fuel.name=MOX Fuel Rod -item.rod_dual_mox_fuel.name=MOX Dual Fuel Rod -item.rod_quad_mox_fuel.name=MOX Quad Fuel Rod -item.rod_schrabidium_fuel.name=Schrabidium Fuel Rod -item.rod_dual_schrabidium_fuel.name=Schrabidium Dual Fuel Rod -item.rod_quad_schrabidium_fuel.name=Schrabidium Quad Fuel Rod - -item.rod_water.name=Water Cell -item.rod_dual_water.name=Dual Water Cell -item.rod_quad_water.name=Quad Water Cell - -item.rod_coolant.name=Coolant Cell -item.rod_dual_coolant.name=Dual Coolant Cell -item.rod_quad_coolant.name=Quad Coolant Cell - -item.rod_lithium.name=Lithium Rod -item.rod_dual_lithium.name=Dual Lithium Rod -item.rod_quad_lithium.name=Quad Lithium Rod - -item.rod_tritium.name=Tritium Cell -item.rod_dual_tritium.name=Dual Tritium Cell -item.rod_quad_tritium.name=Quad Tritium Cell - -item.levitation_unit.name=Gravity Manipulator -item.thermo_unit_empty.name=Thermic Distribution Unit -item.thermo_unit_endo.name=Coldness Distribution Unit -item.thermo_unit_exo.name=Heat Distribution Unit - -item.bomb_waffle.name=Waffle of Mass Destruction -item.schnitzel_vegan.name=Vegan Schnitzel -item.apple_schrabidium.name=Schrabidium Apple -item.cotton_candy.name=Radioactive Cotton Candy -item.tem_flakes.name=Tem Flakes -item.glowing_stew.name=Glowing Mushroom Stew -item.lemon.name="Lemon" - -tile.frozen_grass.name=Frozen Grass -tile.frozen_dirt.name=Frozen Dirt -tile.frozen_log.name=Frozen Log -tile.frozen_planks.name=Frozen Planks - -tile.tape_recorder.name=Tape Recorder -tile.steel_poles.name=Steel Pole -tile.pole_top.name=Antenna Top -tile.pole_satellite_receiver.name=Satellite Receiver -tile.steel_wall.name=Steel Wall -tile.steel_corner.name=Steel Wall Corner -tile.steel_roof.name=Flat Steel Roof -tile.steel_beam.name=Steel Beam -tile.steel_scaffold.name=Steel Scaffold - -item.gun_revolver_iron.name=Simple Revolver -item.gun_revolver.name=Enhanced Revolver -item.gun_revolver_gold.name=Golden Revolver -item.gun_revolver_lead.name=Nuka Revolver -item.gun_revolver_schrabidium.name=Schrabidium Revolver -item.gun_revolver_cursed.name=Cursed Revolver -item.gun_fatman.name=M42 Nuclear Catapult "Fat Man" -item.gun_mirv.name=M42 Nuclear Catapult "Experimental MIRV" -item.gun_bf.name=M42_2 Nuclear Catapult "Antimatter Launcher" -item.gun_mp40.name=Submachine Gun -item.gun_xvl1456.name=XVL1456 Tau Cannon Prototype -item.gun_osipr.name=Overwatch Standard Issue Pulse Rifle -item.gun_immolator.name=The Immolator -item.gun_cryolator.name=The Cryolator -item.gun_mp.name=Pacifist's Machine Gun -item.gun_zomg.name=Singularity Powered Annihilation Ray "ZOMG Cannon" -item.gun_emp.name=EMP Ray -item.gun_super_shotgun.name=Super Shotgun -item.gun_moist_nugget.name=Moisn-Nagant -item.gun_revolver_inverted.name=Flipped Revolver - -item.gun_revolver_iron_ammo.name=Bullet -item.gun_revolver_ammo.name=Lead Bullet -item.gun_revolver_gold_ammo.name=Golden Bullet -item.gun_revolver_lead_ammo.name=Glass Covered Nuclear Bullet -item.gun_revolver_schrabidium_ammo.name=Schrabidium Bullet -item.gun_revolver_cursed_ammo.name=Steel Bullet -item.gun_fatman_ammo.name=Mini Nuke -item.gun_mirv_ammo.name=Eightfold MIRV -item.gun_bf_ammo.name=Mk.V Compact AMAT-Artillery Shell - Type B.F. -item.gun_mp40_ammo.name=Submachine Gun Round -item.gun_xvl1456_ammo.name=Depleted Uranium-235 Box -item.gun_osipr_ammo.name=Dark Energy Pulse Plug -item.gun_osipr_ammo2.name=Combine Ball -item.gun_immolator_ammo.name=Immolator Fuel -item.gun_cryolator_ammo.name=Cryo Cell -item.gun_mp_ammo.name=Small Propellantless Machine Gun Round -item.gun_emp_ammo.name=Energy Cell - -item.clip_revolver_iron.name=Box of Iron Rounds -item.clip_revolver.name=Box of .357 Rounds -item.clip_revolver_gold.name=Small Coffer of Golden Bullets -item.clip_revolver_schrabidium.name=Schrabidium Ammo Container -item.clip_rpg.name=Rocket Container -item.clip_xvl1456.name=Large Isotope Box -item.clip_osipr.name=AR2 Magazine -item.clip_immolator.name=Tank of Immolator Fuel -item.clip_cryolator.name=Tank of Cryolator Fuel -item.clip_revolver_lead.name=Box of Nuclear Bullets -item.clip_revolver_cursed.name=Britannia Military Standard Issue Pisol Magazine -item.clip_fatman.name=Six Pack of Mini Nukes -item.clip_mirv.name=Three-In-One Pack of Mini MIRVs -item.clip_bf.name=BF-Shell Double Pack -item.clip_mp.name=Britannia Military Standard Issue Assult Rifle Magazine -item.clip_mp40.name=9mm SMG Magazine -item.clip_emp.name=Small Pack of Energy Cells - -tile.block_schrabidium.name=Block of Schrabidium -item.plate_gold.name=Gold Plate - -item.syringe_empty.name=Empty Syringe -item.syringe_antidote.name=Antidote -item.syringe_poison.name=Poisonous Injection -item.syringe_awesome.name=AWESOME -item.syringe_metal_empty.name=Metal Syringe -item.syringe_metal_stimpak.name=Stimpak -item.syringe_metal_medx.name=Med-X -item.syringe_metal_psycho.name=Psycho - -item.stealth_boy.name=Stealth Device - -entity.hbm.entity_bullet.name=Bullet -entity.hbm.entity_rocket.name=Rocket -entity.hbm.entity_schrabnel.name=Schrabnel -entity.entity_mob_nuclear_creeper.name=Nuclear Creeper -entity.entity_mob_hunter_chopper.name=Hunter Chopper - -item.cap_aluminium.name=Aluminium Cap -item.hull_small_steel.name=Small Steel Shell -item.hull_small_aluminium.name=Small Aluminium Shell -item.hull_big_steel.name=Big Steel Shell -item.hull_big_aluminium.name=Big Aluminium Shell -item.hull_big_titanium.name=Big Titanium Shell -item.fins_flat.name=Flat Steel Casing -item.fins_small_steel.name=Small Steel Grid Fins -item.fins_big_steel.name=Big Steel Grid Fins -item.fins_tri_steel.name=Large Steel Fins -item.fins_quad_titanium.name=Small Titanium Fins -item.sphere_steel.name=Steel Sphere -item.pedestal_steel.name=Steel Pedestal -item.dysfunctional_reactor.name=Dysfunctional Nuclear Reactor - -item.combine_scrap.name=CMB Scrap Metal -item.chopper_head.name=Hunter Chopper Cockpit -item.chopper_gun.name=Emplacement Gun -item.chopper_torso.name=Hunter Chopper Body -item.chopper_tail.name=Hunter Chopper Tail -item.chopper_wing.name=Hunter Chopper Wing -item.chopper_blades.name=Hunter Chopper Rotor Blades - -item.igniter.name=Igniter -item.watch.name=Broken Pocket Watch -item.apple_euphemium.name=Euphemium Apple -item.ingot_euphemium.name=Euphemium Ingot -item.nugget_euphemium.name=Euphemium Nugget -item.rod_quad_euphemium.name=Burned Out Quad Schrabidium Fuel Rod - -item.euphemium_helmet.name=Euphemium Helemt -item.euphemium_plate.name=Euphemium Chestplate -item.euphemium_legs.name=Euphemium Leggings -item.euphemium_boots.name=Euphemiums Boots - -item.schrabidium_helmet.name=Schrabidium Helmet -item.schrabidium_plate.name=Schrabidium Chestpate -item.schrabidium_legs.name=Schrabidium Leggings -item.schrabidium_boots.name=Schrabidium Boots -item.schrabidium_sword.name=Schrabidium Sword -item.schrabidium_pickaxe.name=Schrabidium Pickaxe -item.schrabidium_axe.name=Schrabidium Axe -item.schrabidium_shovel.name=Schrabidium Shovel -item.schrabidium_hoe.name=Schrabidium Hoe - -item.chainsaw.name=Chainsaw -item.crowbar.name=Mk.V Crate Opening Device "Crowbar" - -item.mask_of_infamy.name=Mask of Infamy - -tile.det_cord.name=Det Cord -tile.red_barrel.name=Explosive Barrel -tile.yellow_barrel.name=Radioactive Barrel - -item.designator.name=Short Range Target Designator -item.missile_generic.name=High Explosive Missile -item.missile_anti_ballistic.name=Anti Ballistic Missile -item.missile_incendiary.name=Incendiary Missile -item.missile_cluster.name=Cluster Missile -item.missile_buster.name=Bunker Buster -item.missile_strong.name=Strong HE Missile -item.missile_incendiary_strong.name=Strong Incendiary Missile -item.missile_cluster_strong.name=Strong Cluster Missile -item.missile_buster_strong.name=Enhanced Bunker Buster -item.missile_burst.name=Spare Missile -item.missile_inferno.name=Inferno Missile G.R.N. Mk.II -item.missile_rain.name=Bomblet Rain -item.missile_drill.name=The Concrete Cracker -item.missile_nuclear.name=Nuclear Missile -item.missile_nuclear_cluster.name=Nuclear MIRV Missile -item.missile_endo.name=Endothermic Missile -item.missile_exo.name=Exothermic Missile - -item.hazmat_helmet.name=Hazmat Helmet -item.hazmat_plate.name=Hazmmat Chestplate -item.hazmat_legs.name=Hazmat Leggings -item.hazmat_boots.name=Hazmat Boots -item.hazmat_paa_helmet.name=PaA Battle Hazmat Suit Helmet -item.hazmat_paa_plate.name=PaA Battle Hazmat Suit Chestplate -item.hazmat_paa_legs.name=PaA Battle Hazmat Suit Leggings -item.hazmat_paa_boots.name=PaA Battle Hazmat Suit Boots -<<<<<<< HEAD -======= -<<<<<<< HEAD ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - -item.paa_plate.name=PaA Chest Protection Plate -item.paa_legs.name=PaA Leg Reinforcements -item.paa_boots.name=PaA "good ol' shoes" -<<<<<<< HEAD -======= -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - -item.goggles.name=Protection Goggles -item.gas_mask.name=Gas Mask - -item.t45_helmet.name=T45 Power Armor Helmet -item.t45_plate.name=T45 Power Armor Chestplate -item.t45_legs.name=T45 Power Armor Leggings -item.t45_boots.name=T45 Power Armor Boots - -tile.mush.name=Glowing Mushroom -tile.waste_mycelium.name=Glowing Mycelium - -item.warhead_generic_small.name=Small Warhead -item.warhead_generic_medium.name=Medium Warhead -item.warhead_generic_large.name=Large Warhead -item.warhead_incendiary_small.name=Small Incendiary Warhead -item.warhead_incendiary_medium.name=Medium Incendiary Warhead -item.warhead_incendiary_large.name=Large Incendiary Warhead -item.warhead_cluster_small.name=Small Cluster Warhead -item.warhead_cluster_medium.name=Medium Cluster Warhead -item.warhead_cluster_large.name=Large Cluster Warhead -item.warhead_buster_small.name=Small Bunker Buster Warhead -item.warhead_buster_medium.name=Medium Bunker Buster Warhead -item.warhead_buster_large.name=Large Bunker Buster Warhead -item.warhead_nuclear.name=Nuclear Warhead -item.warhead_mirvlet.name=MIRV -item.warhead_mirv.name=Eightfold MIRV Warhead -item.warhead_thermo_endo.name=Endothermic Warhead -item.warhead_thermo_exo.name=Exothermic Warhead -item.fuel_tank_small.name=Small Fuel Tank -item.fuel_tank_medium.name=Medium Fuel Tank -item.fuel_tank_large.name=Large Fuel Tank -item.thruster_small.name=Small Thruster -item.thruster_medium.name=Medium Thruster -item.thruster_large.name=Large Thruster - -item.wand_k.name=Construction Wand -item.wand_s.name=Structure Wand -item.wand_d.name=Debug Wand - -item.screwdriver.name=Screwdriver -item.overfuse.name=Singularity Screwdriver - -item.steel_helmet.name=Steel Helmet -item.steel_plate.name=Steel Chestplate -item.steel_legs.name=Steel Leggings -item.steel_boots.name=Steel Boots -item.titanium_helmet.name=Titanium Helmet -item.titanium_plate.name=Titanium Chestplate -item.titanium_legs.name=Titanium Leggings -item.titanium_boots.name=Titanium Boots -item.alloy_helmet.name=Advanced Alloy Helmet -item.alloy_plate.name=Advanced Alloy Chestplate -item.alloy_legs.name=Advanced Alloy Leggings -item.alloy_boots.name=Advanced Alloy Boots -item.cmb_helmet.name=CMB Steel Helmet -item.cmb_plate.name=CMB Steel Chestplate -item.cmb_legs.name=CMB Steel Leggings -item.cmb_boots.name=CMB Steel Boots - -item.steel_sword.name=Steel Sword -item.steel_pickaxe.name=Steel Pickaxe -item.steel_axe.name=Steel Axe -item.steel_shovel.name=Steel Shovel -item.steel_hoe.name=Steel Hoe -item.titanium_sword.name=Titanium Sword -item.titanium_pickaxe.name=Titanium Pickaxe -item.titanium_axe.name=Titanium Axe -item.titanium_shovel.name=Titanium Shovel -item.titanium_hoe.name=Titanium Hoe -item.alloy_sword.name=Advanced Alloy Sword -item.alloy_pickaxe.name=Advanced Alloy Pickaxe -item.alloy_axe.name=Advanced Alloy Axe -item.alloy_shovel.name=Advanced Alloy Shovel -item.alloy_hoe.name=Advanced Alloy Hoe -item.cmb_sword.name=CMB Steel Sword -item.cmb_pickaxe.name=CMB Steel Pickaxe -item.cmb_axe.name=CMB Steel Axe -item.cmb_shovel.name=CMB Steel Shovel -item.cmb_hoe.name=CMB Steel Hoe - -tile.red_cable.name=Red Copper Cable -tile.block_meteor.name=Meteor Block - -item.cape_radiation.name=Cape (Radiation) -item.cape_gasmask.name=Cape (Gas Mask) -item.cape_schrabidium.name=Cape (Schrabidic) -item.cape_hbm.name=Hbm's Cape -item.cape_dafnik.name=Dafnik's Cape -item.cape_lpkukin.name=LPkukin's Cape - -tile.machine_converter_he_rf.name=HE to RF Converter -tile.machine_converter_rf_he.name=RF to HE Converter - -item.schrabidium_hammer.name=Schrabidium Hammer -item.euphemium_stopper.name=Stopper -item.matchstick.name=Matchstick -item.remote.name=Broken Remote - -item.redcoil_capacitor.name=Redcoil Capacitor -item.detonator.name=Detonator -item.crate_caller.name=Supply Drop Requester - -item.ingot_hes.name=Highly Enriched Schrabidium Fuel Ingot -item.ingot_les.name=Low Enriched Schrabidium Fuel Ingot -item.nugget_hes.name=Highly Enriched Schrabidium Fuel Nugget -item.nugget_les.name=Low Enriched Schrabidium Fuel Nugget - -item.pellet_schrabidium.name=Pure Schrabidium Watz Pellet -item.pellet_hes.name=HES Watz Pellet -item.pellet_mes.name=MES Watz Pellet -item.pellet_les.name=LES Watz Pellet -item.pellet_beryllium.name=Beryllium Moderator Pellet -item.pellet_neptunium.name=Neptunium Watz Pellet -item.pellet_lead.name=Lead Reflector Pellet -item.pellet_advanced.name=Advanced Watz Performance Improver - -item.titanium_filter.name=Titanium Filter - -tile.mud_block.name=Poisonous Mud -fluid.mud_fluid=Poisonous Mud -item.bucket_mud.name=Bucket of Poisonous Mud -tile.acid_block.name=Acid -fluid.acid_fluid=Acid -item.bucket_acid.name=Bucket of Acid -tile.toxic_block.name=Stereotypical Green Ooze -fluid.toxic_fluid=Stereotypical Green Ooze -item.bucket_toxic.name=Bucket of Stereotypical Green Ooze -item.tank_waste_0.name=Mud Container -item.tank_waste_1.name=Mud Container -item.tank_waste_2.name=Mud Container -item.tank_waste_3.name=Mud Container -item.tank_waste_4.name=Mud Container -item.tank_waste_5.name=Mud Container -item.tank_waste_6.name=Mud Container -item.tank_waste_7.name=Mud Container -item.tank_waste_8.name=Mud Container - -item.can_empty.name=Empty Can -item.can_smart.name='Smart' Energy Drink -item.can_creature.name='Creature' Energy Drink -item.can_redbomb.name='Red Bomb' Energy Drink -item.can_mrsugar.name='Dr. Sugar' Soft Drink - -item.blades_aluminium.name=Aluminium Shredder Blades -item.blades_gold.name=Golden Shredder Blades -item.blades_iron.name=Iron Shredder Blades -item.blades_steel.name=Steel Shredder Blades -item.blades_titanium.name=Titanium Shredder Blades -item.blades_advanced_alloy.name=Advanced Shredder Blades -item.blades_combine_steel.name=CMB Shredder Blades -item.blades_schrabidium.name=Schrabidium Shredder Blades - -<<<<<<< HEAD -item.linker.name=Telelinker - -item.letter.name=Express Mail - -item.chopper.name=Hunter Chopper -======= -<<<<<<< HEAD -item.letter.name=Express Mail - -item.chopper.name=Hunter Chopper -======= -item.letter.name=Express Mail ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af +itemGroup.tabTest=Nuclear Tech Mod Test Tab +itemGroup.tabParts=Nuclear Tech Mod Parts +itemGroup.tabBlocks=Nuclear Tech Mod Blocks +itemGroup.tabNuke=Nuclear Tech Mod Nukes + +item.record.lc.desc=Valve - Diabolic Adrenaline Guitar/Lambda Core +item.record.ss.desc=Valve - Sector Sweep +item.record.vc.desc=Valve - Vortal Combat + +death.attack.nuclearBlast=%1$s was blown away by a nuclear explosion. +death.attack.revolverBullet=%1$s was shot in the head by %2$s. +death.attack.mudPoisoning=%1$s died in poisonous mud. +death.attack.euthanized=%1$s was euthanized by %2$s. +death.attack.euthanizedSelf=%1$s euthanized himself, what a dork. +death.attack.euthanizedSelf2=%1$s wins the Darwin Award. +death.attack.tau=%1$s was riddeled by %2$s using negatively charged tauons. +death.attack.tauBlast=%1$s charged the XVL1456 for too long and was blown into pieces. +death.attack.chopperBullet=%1$s was rekt by %2$s. +death.attack.cmb=%1$s was fizzeled by %2$s. +death.attack.subAtomic=%1$s's atoms have been destroyed by %2$s. +death.attack.subAtomic2=%1$s was QPU-misaligned because %2$s tampered with his de facto speed. +death.attack.subAtomic3=%1$s's divergence dropped below 1 percent because of %2$s. +death.attack.subAtomic4=%1$s was divided by zero by %2$s. +death.attack.subAtomic5=%1$s was nullified by %2$s. +death.attack.radiation=%1$s died from radiation poisoning. +death.attack.acid=%1$s fell into acid. +death.attack.suicide=%1$s blew their head off. +death.attack.electrified=%1$s was electrified by %2$s. +death.attack.flamethrower=%1$s was cremated by %2$s. +death.attack.plasma=%1$s was immolated by %2$s. +death.attack.ice=%1$s was turned into a popsicle by %2$s. +death.attack.cheater=%1$s died as a dirty cheater. Play fair, or piss off. +death.attack.laser=%1$s was turned into ash by %2$s. + +item.redstone_sword.name=Redstone Sword +item.big_sword.name=Great Sword +item.test_nuke_igniter.name=Igniter +item.test_nuke_propellant.name=Propellant +item.test_nuke_tier1_shielding.name=Neutron Reflector (Tier 1) +item.test_nuke_tier2_shielding.name=Neutron Reflector (Tier 2) +item.test_nuke_tier1_bullet.name=U235 Projectile (Tier 1) +item.test_nuke_tier2_bullet.name=MOX Projectile (Tier 2) +item.test_nuke_tier1_target.name=Subcritical U235 Target (Tier 1) +item.test_nuke_tier2_target.name=Subcritical MOX Target (Tier 2) + +item.gadget_explosive.name=Propellant +item.gadget_explosive8.name=Bundle of Propellant +item.gadget_wireing.name=Wiring +item.gadget_core.name=Plutonium Core + +item.boy_igniter.name=Bomb Igniter +item.boy_propellant.name=Propellant +item.boy_bullet.name=U235 Projectile +item.boy_target.name=Subcritical U235 Target +item.boy_shielding.name=Neutron Shielding + +item.man_explosive.name=Propellant +item.man_explosive8.name=Bundle of Propellant +item.man_igniter.name=Bomb Igniter +item.man_core.name=Plutonium Core + +item.mike_core.name=Uranium Coated Deuterium Tank +item.mike_deut.name=Deuterium Tank +item.mike_cooling_unit.name=Deuterium Cooling Unit + +item.tsar_core.name=Tsar Bomba Core + +item.fleija_igniter.name=Pulse Igniter +item.fleija_propellant.name=Schrabidium Propellant +item.fleija_core.name=F.L.E.I.J.A. Uranium 235 Charge + +container.nukeGadget=The Gadget +container.nukeBoy=Little Boy +container.nukeMan=Fat Man +container.nukeMike=Ivy Mike +container.nukeTsar=Tsar Bomba +container.nukeFleija=F.L.E.I.J.A. +container.nukePrototype=The Prototype +container.nukeCustom=Custom Nuke + +container.bombMulti=Multi Purpose Bomb + +tile.nuke_gadget.name=The Gadget +tile.nuke_boy.name=Little Boy +tile.nuke_man.name=Fat Man +tile.nuke_mike.name=Ivy Mike +tile.nuke_tsar.name=Tsar Bomba +tile.nuke_fleija.name=F.L.E.I.J.A. +tile.nuke_prototype.name=The Prototype +tile.nuke_custom.name=Custom Nuke + +tile.bomb_multi.name=Multi Purpose Bomb + +tile.flame_war.name=Flame War in a Box +tile.float_bomb.name=Levitation Bomb +tile.therm_endo.name=Endothermic Bomb +tile.therm_exo.name=Exothermic Bomb + +tile.crashed_bomb.name=Dud + +tile.crate.name=Supply Crate + +tile.machine_difurnace_off.name=Alloy Furnace +tile.machine_difurnace_on.name=Alloy Furnace +container.diFurnace=Alloy Furnace +tile.machine_centrifuge.name=Centrifuge +container.centrifuge=Centrifuge +tile.machine_uf6_tank.name=Uranium Hexafluoride Tank +container.uf6_tank=UF6 Tank +tile.machine_puf6_tank.name=Plutonium Hexafluoride Tank +container.puf6_tank=PuF6 Tank +tile.machine_reactor.name=Breeding Reactor +container.reactor=Breeding Reactor +tile.machine_nuke_furnace_off.name=Nuclear Powered Furnace +tile.machine_nuke_furnace_on.name=Nuclear Powered Furnace +container.nukeFurnace=Nuclear Powered Furnace +tile.machine_rtg_furnace_off.name=RTG Furnace +tile.machine_rtg_furnace_on.name=RTG Furnace +container.rtgFurnace=RTG Furnace +tile.machine_electric_furnace_off.name=Electric Furnace +tile.machine_electric_furnace_on.name=Electric Furnace +container.electricFurnace=Electric Furnace +tile.machine_generator.name=Nuclear Reactor +container.generator=Nuclear Reactor +tile.red_wire_coated.name=Coated Red Copper Cable +tile.machine_deuterium.name=Deuterium Extractor +container.machine_deuterium=Deuterium Extractor +tile.machine_battery.name=Energy Storage Block +container.battery=Energy Storage +tile.machine_coal_off.name=Coal Generator +tile.machine_coal_on.name=Coal Generator +container.machineCoal=Coal Generator +tile.launch_pad.name=Missile Launch Pad +container.launchPad=Missile Launch Pad +tile.book_guide.name=Hbm's Nuclear Tech Mod Manual +tile.machine_schrabidium_transmutator.name=Schrabidium Transmutation Device +container.machine_schrabidium_transmutator=Schrabidium Transmutation Device +tile.machine_diesel.name=Diesel Generator +container.machineDiesel=Diesel Generator +tile.machine_shredder.name=Shredder +container.machineShredder=Shredder +tile.machine_combine_factory.name=CMB Steel Furnace +container.machineCMB=CMB Steel Furnace +tile.machine_teleporter.name=Teleporter +container.teleporter=Teleporter +tile.machine_reix_mainframe.name=Rei-X Mainframe +container.reix=Rei-X Mainframe +tile.machine_industrial_generator.name=Industrial Generator +container.iGenerator=Industrial Generator + +tile.rail_highspeed.name=High Speed Rail +tile.rail_booster.name=High Speed Booster Rail + +tile.factory_titanium_hull.name=Basic Factory Casing +tile.factory_titanium_furnace.name=Basic Factory Access Hatch +tile.factory_titanium_conductor.name=Basic Factory Electricity Port +tile.factory_titanium_core.name=Basic Factory Core Component +item.factory_core_titanium.name=Basic Factory Energy Cluster +container.factoryTitanium=Basic Factory +tile.factory_advanced_hull.name=Advanced Factory Casing +tile.factory_advanced_furnace.name=Advanced Factory Access Hatch +tile.factory_advanced_conductor.name=Advanced Factory Electricity Port +tile.factory_advanced_core.name=Advanced Factory Core Component +item.factory_core_advanced.name=Advanced Factory Energy Cluster +container.factoryAdvanced=Advanced Factory + +tile.reactor_element.name=Reactor Chamber +tile.reactor_control.name=Control Rods +tile.reactor_hatch.name=Reactor Access Hatch +tile.reactor_conductor.name=Reactor Electricity Port +tile.reactor_computer.name=Reactor Control +container.reactorMultiblock=Big Nuclear Reactor + +tile.fusion_conductor.name=Superconducting Magnet +tile.fusion_center.name=Central Magnet Piece +tile.fusion_motor.name=Magnet Motor Piece +tile.fusion_heater.name=Plasma Heater +tile.fusion_hatch.name=Fusion Reactor Access Hatch +tile.fusion_core.name=Fusion Reactor Control +tile.plasma.name=Plasma +container.fusionMultiblock=Big Fusion Reactor + +tile.watz_element.name=Watz Reaction Chamber +tile.watz_control.name=Reinforced Control Rods +tile.watz_cooler.name=Watz Reactor Supercooler +tile.watz_end.name=Watz Reactor Stability Element +tile.watz_hatch.name=Watz Reactor Access Hatch +tile.watz_conductor.name=Watz Electricity Port +tile.watz_core.name=Watz Reactor Control +container.watzPowerplant=Watz Power Plant + +tile.fwatz_conductor.name=4000K Superconducting Magnet +tile.fwatz_cooler.name=Regenerative Coolant Fluid Tank Shell +tile.fwatz_tank.name=Regenerative Coolant Fluid Tank +tile.fwatz_scaffold.name=Fusionary Watz Plant Structural Support +tile.fwatz_hatch.name=Fusionary Watz Plant Access Hatch +tile.fwatz_computer.name=Fusionary Watz Reactor Calculation Matrix +tile.fwatz_core.name=Fusionary Watz Reactor Control +tile.fwatz_plasma.name=Destabilized Antischrabidium Plasma +container.fusionaryWatzPlant=Fusionary Watz Plant + +tile.machine_rtg_grey.name=Radioisotope Thermoelectric Generator +tile.machine_rtg_red.name=Fulmination Generator +tile.machine_rtg_orange.name=Strong RT Generator +tile.machine_rtg_yellow.name=Australium Superfuel Reactor +tile.machine_rtg_green.name=Verticium Wealth Generator +tile.machine_rtg_cyan.name=Schrabidium Decay Generator +tile.machine_rtg_blue.name=Convection Generator +tile.machine_rtg_purple.name=Antimatter Annihilation Generator + +item.fuse.name=Fuse + +tile.test_nuke.name=Test Nuke + +item.ingot_uranium.name=Uranium Ingot +item.ingot_u235.name=U235 Ingot +item.ingot_u238.name=U238 Ingot +item.ingot_plutonium.name=Plutonium Ingot +item.ingot_pu238.name=Pu238 Ingot +item.ingot_pu239.name=Pu239 Ingot +item.ingot_pu240.name=Pu240 Ingot +item.ingot_titanium.name=Titanium Ingot +item.sulfur.name=Sulfur + +item.niter.name=Niter +item.ingot_copper.name=Industrial Grade Copper +item.ingot_red_copper.name=Minecraft Grade Copper +item.ingot_tungsten.name=Tungsten Ingot +item.ingot_aluminium.name=Aluminium Ingot +item.fluorite.name=Fluorite +item.ingot_steel.name=Steel Ingot +item.plate_steel.name=Steel Plate +item.ingot_beryllium.name=Beryllium Ingot +item.plate_schrabidium.name=Schrabidium Plate +item.ingot_schrabidium.name=Schrabidium Ingot +item.nugget_schrabidium.name=Schrabidium Nugget +item.plate_copper.name=Copper Plate +item.board_copper.name=Copper Panel +item.ingot_advanced_alloy.name=Advanced Alloy Ingot +item.plate_advanced_alloy.name=Advanced Alloy Plate +item.wire_advanced_alloy.name=Super Conductor +item.coil_advanced_alloy.name=Super Conducting Coil +item.coil_advanced_torus.name=Super Conducting Ring Coil +item.coil_gold.name=Gold Coil +item.coil_gold_torus.name=Golden Ring Coil +item.lithium.name=Lithium Cube +item.ingot_magnetized_tungsten.name=Magnetized Tungsten Ingot +item.ingot_combine_steel.name=CMB Steel Ingot +item.plate_combine_steel.name=CMB Steel Plate +item.wire_magnetized_tungsten.name=4000K High Temperature Super Conductor +item.coil_magnetized_tungsten.name=4000K High Temperature Super Conducting Coil +item.plate_mixed.name=Mixed Plate +item.plate_paa.name=PaA Alloy Plate + +item.ingot_australium.name=Australium Ingot +item.ingot_weidanium.name=Weidanium Ingot +item.ingot_reiium.name=Reiium Ingot +item.ingot_unobtainium.name=Unobtainium Ingot +item.ingot_daffergon.name=Daffergon Ingot +item.ingot_verticium.name=Verticium Ingot +item.nugget_australium.name=Australium Nugget +item.nugget_weidanium.name=Weidanium Nugget +item.nugget_reiium.name=Reiium Nugget +item.nugget_unobtainium.name=Unobtainium Nugget +item.nugget_daffergon.name=Daffergon Nugget +item.nugget_verticium.name=Verticium Nugget + +item.nugget_u235.name=U235 Nugget +item.nugget_u238.name=U238 Nugget +item.nugget_pu238.name=Pu238 Nugget +item.nugget_pu239.name=Pu239 Nugget +item.nugget_pu240.name=Pu240 Nugget +item.plate_titanium.name=Titanium Plate +item.plate_aluminium.name=Aluminium Plate +item.wire_red_copper.name=Red Copper Wire +item.neutron_reflector.name=Neutron Reflector +item.nugget_beryllium.name=Beryllium Nugget + +item.wire_aluminium.name=Aluminium Wire +item.wire_copper.name=Copper Wire +item.wire_gold.name=Gold Wire +item.wire_schrabidium.name=Schrabidium Wire + +item.circuit_aluminium.name=Basic Circuit +item.circuit_copper.name=Enhanced Circuit +item.circuit_red_copper.name=Advanved Circuit +item.circuit_gold.name=Overclocked Circuit +item.circuit_schrabidium.name=High Performance Circuit + +tile.block_aluminium.name=Block of Aluminium +tile.block_copper.name=Block of Copper +tile.block_fluorite.name=Block of Fluorite +tile.block_niter.name=Block of Niter +tile.block_red_copper.name=Block of Red Copper +tile.block_steel.name=Block of Steel +tile.block_sulfur.name=Block of Sulfur +tile.block_titanium.name=Block of Titanium +tile.block_tungsten.name=Block of Tungsten +tile.block_uranium.name=Block of Uranium +tile.block_trinitite.name=Block of Trinitite +tile.block_beryllium.name=Block of Beryllium +tile.block_waste.name=Block of Nuclear Waste +tile.block_scrap.name=Block of Scrap +tile.block_electrical_scrap.name=Block of Electrical Scrap +tile.block_advanced_alloy.name=Block of Advanced Alloy +tile.block_magnetized_tungsten.name=Block of Magnetized Tungsten +tile.block_combine_steel.name=Block of CMB Steel +tile.block_australium.name=Block of Australium +tile.block_weidanium.name=Block of Weidanium +tile.block_reiium.name=Block of Reiium +tile.block_unobtainium.name=Block of Unobtainium +tile.block_daffergon.name=Block of Daffergon +tile.block_verticium.name=Block of Verticium + +tile.ore_aluminium.name=Aluminium Ore +tile.ore_copper.name=Copper Ore +tile.ore_fluorite.name=Fluorite Ore +tile.ore_niter.name=Niter Ore +tile.ore_sulfur.name=Sulfur Ore +tile.ore_titanium.name=Titanium Ore +tile.ore_tungsten.name=Tungsten Ore +tile.ore_uranium.name=Uranium Ore +tile.ore_schrabidium.name=Schrabidium Ore +tile.ore_beryllium.name=Beryllium Ore + +tile.ore_nether_uranium.name=Nether Uranium Ore +tile.ore_nether_plutonium.name=Nether Plutonium Ore +tile.ore_nether_tungsten.name=Nether Tungsten Ore +tile.ore_nether_sulfur.name=Nether Sulfur Ore +tile.ore_nether_fire.name=Fire Ore +tile.ore_nether_schrabidium.name=Nether Schrabidium Ore + +tile.ore_australium.name=Australian Ore +tile.ore_weidanium.name=Weidite +tile.ore_reiium.name=Reiite +tile.ore_unobtainium.name=Brightblende Ore +tile.ore_daffergon.name=Dellite +tile.ore_verticium.name=Dollar Green Mineral + +tile.reinforced_brick.name=Reinforced Stone +tile.reinforced_glass.name=Reinforced Glass +tile.reinforced_sand.name=Reinforced Sandstone +tile.reinforced_light.name=Reinforced Glowstone +tile.reinforced_lamp_off.name=Reinforced Lamp +tile.reinforced_lamp_on.name=Reinforced Lamp + +tile.brick_concrete.name=Concrete Bricks +tile.brick_obsidian.name=Obsidian Bricks +tile.brick_light.name=Light Bricks + +tile.cmb_brick.name=CMB Steel Tile +tile.cmb_brick_reinforced.name=Reinforced CMB Bricks + +tile.gravel_obsidian.name=Crushed Obsidian + +tile.seal_frame.name=Silo Hatch Frame +tile.seal_controller.name=Silo Hatch Opener +tile.seal_hatch.name=Silo Hatch + +item.nugget_uranium.name=Uranium Nugget +item.nugget_plutonium.name=Plutonium Nugget +item.nugget_neptunium.name=Neptunium Nugget +item.ingot_neptunium.name=Neptunium Ingot +item.nugget_lead.name=Lead Nugget +item.ingot_lead.name=Lead Ingot +tile.block_lead.name=Block of Lead +tile.ore_lead.name=Lead Ore + +item.powder_lead.name=Lead Powder +item.powder_neptunium.name=Neptunium Powder +item.powder_schrabidium.name=Schrabidium Powder +item.powder_iron.name=Iron Powder +item.powder_gold.name=Gold Powder +item.powder_aluminium.name=Aluminium Powder +item.powder_beryllium.name=Beryllium Powder +item.powder_copper.name=Copper Powder +item.powder_titanium.name=Titanium Powder +item.powder_tungsten.name=Tungsten Powder +item.powder_uranium.name=Uranium Powder +item.powder_plutonium.name=Plutonium Powder +item.dust.name=Dust +item.powder_coal.name=Coal Powder +item.powder_lapis.name=Lapis Lazuli Powder +item.powder_emerald.name=Emerald Powder +item.powder_diamond.name=Diamond Powder +item.powder_red_copper.name=Red Copper Powder +item.powder_steel.name=Steel Powder +item.powder_magnetized_tungsten.name=Magnetized Tungsten Powder +item.powder_combine_steel.name=CMB Steel Powder +item.powder_lithium.name=Lithium Powder +item.powder_advanced_alloy.name=Advanced Alloy Powder +item.powder_quartz.name=Quartz Powder +item.powder_power.name=Energy Powder +item.powder_iodine.name=Iodine Powder +item.powder_thorium.name=Thorium Powder +item.powder_neodymium.name=Neodymium Powder +item.powder_astatine.name=Astatine Powder +item.powder_caesium.name=Caesium Powder +item.powder_australium.name=Australium Powder +item.powder_weidanium.name=Weidanium Powder +item.powder_reiium.name=Reiium Powder +item.powder_unobtainium.name=Unobtainium Powder +item.powder_daffergon.name=Daffergon Powder +item.powder_verticium.name=Verticium Powder +item.powder_strontium.name=Strontium Powder +item.powder_cobalt.name=Cobalt Powder +item.powder_bromine.name=Bromine Powder +item.powder_niobium.name=Niobium Powder +item.powder_tennessine.name=Tennessine Powder +item.powder_cerium.name=Cerium Powder + +item.battery_generic.name=Battery +item.battery_advanced.name=Advanced Battery +item.battery_schrabidium.name=Schrabidium Battery +item.battery_creative.name=Infinite Battery + +item.fusion_core.name=Fusion Core +item.energy_core.name=Makeshift Energy Core + +item.plate_iron.name=Iron Plate +item.plate_lead.name=Lead Plate +item.coil_copper.name=Copper Coil +item.coil_copper_torus.name=Ring Coil +item.wire_tungsten.name=Tungsten Wire +item.coil_tungsten.name=Heating Coil +item.tank_steel.name=Steel Tank +item.motor.name=Motor +item.centrifuge_element.name=Centrifuge Element +item.centrifuge_tower.name=Centrifuge Tower +item.reactor_core.name=Breeding Reactor Core +item.pellet_rtg.name=Plutonium 238 Fuel Pellet +item.rtg_unit.name=RTG Unit +item.hazmat_cloth.name=Hazmat Cloth +item.filter_coal.name=Activated Carbon Filter +item.tritium_deuterium_cake.name=Tritium-Deuterium-Cake +item.telepad.name=Telepad +item.entanglement_kit.name=Entaglement Kit +item.toothpicks.name=Toothpicks +item.ducttape.name=Duct Tape + +item.cell_empty.name=Empty Cell +item.cell_uf6.name=Uranium Hexafluorite Cell +item.cell_puf6.name=Plutonium Hexafluorite Cell +item.cell_antimatter.name=Antimatter Cell +item.cell_deuterium.name=Deuterium Cell +item.cell_tritium.name=Tritium Cell +item.cell_sas3.name=Schrabidium Trisulfide Cell +item.cell_anti_schrabidium.name=Antischrabidium Cell +item.singularity.name=Singularity +item.singularity_counter_resonant.name=Contained Counter-Resonant Singularity +item.singularity_super_heated.name=Superheated Resonating Singularity +item.black_hole.name=Miniature Black Hole +item.crystal_xen.name=Artificial Xen Crystal + +item.inf_water.name=Infinite Water Tank +item.inf_deuterium.name=Infinite Deuterium Tank +item.inf_tritium.name=Infinite Tritium Tank +item.inf_coolant.name=Infinite Coolant Tank +item.inf_sulfur.name=Infinite Sulfur Tank +item.inf_diesel.name=Infinite Diesel Tank +item.inf_antimatter.name=Infinite Antimatter Tank +item.inf_antischrabidium.name=Infinite Antischrabidium Tank + +item.oil_canola.name=Raw Canola Oil + +item.canister_empty.name=Empty Canister +item.canister_canola.name=Engine Lubricant +item.canister_fuel.name=Fuel Canister +item.canister_napalm.name=Napalm B +item.canister_NITAN.name=NITAN© 100 Octane Super Fuel + +item.rod_empty.name=Emty Rod +item.rod_uranium.name=Uranium Rod +item.rod_u235.name=U235 Rod +item.rod_u238.name=U238 Rod +item.rod_plutonium.name=Plutonium Rod +item.rod_pu238.name=Pu238 Rod +item.rod_pu239.name=Pu239 Rod +item.rod_pu240.name=Pu240 Rod +item.rod_neptunium.name=Neptunium Rod +item.rod_lead.name=Lead Rod +item.rod_schrabidium.name=Schrabidium Rod +item.rod_astatine.name=Euphemium Rod +item.rod_australium.name=Australium Rod +item.rod_weidanium.name=Weidanium Rod +item.rod_reiium.name=Reiium Rod +item.rod_unobtainium.name=Unobtainium Rod +item.rod_daffergon.name=Daffergon Rod +item.rod_verticium.name=Verticium Rod + +item.rod_dual_empty.name=Emty Dual Rod +item.rod_dual_uranium.name=Uranium Dual Fl Rod +item.rod_dual_u235.name=U235 Dual Rod +item.rod_dual_u238.name=U238 Dual Rod +item.rod_dual_plutonium.name=Plutonium Dual Rod +item.rod_dual_pu238.name=Pu238 Dual Rod +item.rod_dual_pu239.name=Pu239 Dual Rod +item.rod_dual_pu240.name=Pu240 Dual Rod +item.rod_dual_neptunium.name=Neptunium Dual Rod +item.rod_dual_lead.name=Lead Dual Rod +item.rod_dual_schrabidium.name=Schrabidium Dual Rod + +item.rod_quad_empty.name=Emty Quad Rod +item.rod_quad_uranium.name=Uranium Quad Rod +item.rod_quad_u235.name=U235 Quad Rod +item.rod_quad_u238.name=U238 Quad Rod +item.rod_quad_plutonium.name=Plutonium Quad Rod +item.rod_quad_pu238.name=Pu238 Quad Rod +item.rod_quad_pu239.name=Pu239 Quad Rod +item.rod_quad_pu240.name=Pu240 Quad Rod +item.rod_quad_neptunium.name=Neptunium Quad Rod +item.rod_quad_lead.name=Lead Quad Rod +item.rod_quad_schrabidium.name=Schrabidium Quad Rod + +item.rod_uranium_fuel_depleted.name=Depleted Uranium Fuel Rod +item.rod_dual_uranium_fuel_depleted.name=Depleted Uranium Dual Fuel Rod +item.rod_quad_uranium_fuel_depleted.name=Depleted Uranium Quad Fuel Rod +item.rod_plutonium_fuel_depleted.name=Depleted Plutonium Fuel Rod +item.rod_dual_plutonium_fuel_depleted.name=Depleted Plutonium Dual Fuel Rod +item.rod_quad_plutonium_fuel_depleted.name=Depleted Plutonium Quad Fuel Rod +item.rod_mox_fuel_depleted.name=Depleted MOX Fuel Rod +item.rod_dual_mox_fuel_depleted.name=Depleted MOX Dual Fuel Rod +item.rod_quad_mox_fuel_depleted.name=Depleted MOX Quad Fuel Rod +item.rod_schrabidium_fuel_depleted.name=Depleted Schrabidium Fuel Rod +item.rod_dual_schrabidium_fuel_depleted.name=Depleted Schrabidium Dual Fuel Rod +item.rod_quad_schrabidium_fuel_depleted.name=Depleted Schrabidium Quad Fuel Rod + +item.rod_waste.name=Nuclear Waste Rod +item.rod_dual_waste.name=Nuclear Waste Dual Rod +item.rod_quad_waste.name=Nuclear Waste Quad Rod + +item.gun_rpg.name=Rocket Launcher +item.gun_rpg_ammo.name=Rocket + +item.flame_pony.name=Painting of a Cartoon Pony +item.flame_conspiracy.name=Conspiracy Theory +item.flame_politics.name=Political Topic +item.flame_opinion.name=Own Opinion + +item.pellet_cluster.name=Explosive Pellets +item.pellet_buckshot.name=Lead Pellets +item.powder_fire.name=Flame Powder +item.powder_ice.name=Cryo Powder +item.powder_poison.name=Poison Powder +item.pellet_gas.name=Poison Gas Cartridge +item.magnetron.name=Magnetron +item.powder_thermite.name=Thermite + +item.nuke_starter_kit.name=Atomic Science Starter Kit +item.nuke_commercially_kit.name=Atomic Science Kit for Commercial Uses +item.nuke_advanced_kit.name=Atomic Science Advanced Kit +item.gadget_kit.name=The Gadget Kit +item.boy_kit.name=Little Boy Kit +item.man_kit.name=Fat Man Kit +item.mike_kit.name=Ivy Mike Kit +item.tsar_kit.name=Tsar Bomba Kit +item.fleija_kit.name=F.L.E.I.J.A. Kit +item.multi_kit.name=Multi Purpose Bomb Kit +item.grenade_kit.name=Grenade Kit +item.nuke_electric_kit.name=Electronic Engineer's Kit +item.prototype_kit.name=Prototype Kit +item.missile_kit.name=Missile Kit +item.t45_kit.name=T45 Power Armor Kit +item.euphemium_kit.name=Euphemium Kit + +tile.waste_earth.name=Dead Grass +tile.waste_trinitite.name=Trinitite Ore +tile.waste_trinitite_red.name=Red Trinitite Ore +tile.waste_log.name=Charred Log +tile.waste_planks.name=Charred Wooden Planks + +item.trinitite.name=Trinitite +item.nuclear_waste.name=Nuclear Waste +item.scrap.name=Scrap + +item.ingot_uranium_fuel.name=Ingot of Uranium Fuel +item.ingot_plutonium_fuel.name=Ingot of Plutonium Fuel +item.ingot_mox_fuel.name=Ingot of MOX Fuel +item.ingot_schrabidium_fuel.name=Ingot of Schrabidium Fuel + +item.nugget_uranium_fuel.name=Nugget of Uranium Fuel +item.nugget_plutonium_fuel.name=Nugget of Plutonium Fuel +item.nugget_mox_fuel.name=Nugget of MOX Fuel +item.nugget_schrabidium_fuel.name=Nugget of Schrabidium Fuel + +item.grenade_generic.name=Grenade +item.grenade_strong.name=Enhanced Grenade +item.grenade_frag.name=Frag Grenade +item.grenade_fire.name=Flame Frag Grenade +item.grenade_cluster.name=Cluster Bomb +item.grenade_flare.name=Flare Grenade +item.grenade_electric.name=Lightning Bomb +item.grenade_poison.name=Poison Grenade +item.grenade_gas.name=Gas Grenade +item.grenade_pulse.name=Impulse Grenade +item.grenade_plasma.name=Plasma Grenade +item.grenade_tau.name=Tau Grenade +item.grenade_schrabidium.name=Schrabidium Grenade +item.grenade_lemon.name=Combustible Lemon +item.grenade_mk2.name=Mk 2 Grenade "Ambassador Pineapple" +item.grenade_aschrab.name=Tossable Antischrabidium Cell +item.grenade_nuke.name=Mark VI Drill Grenade +item.grenade_nuclear.name=Nuka Grenade +item.grenade_zomg.name=Negative Energy Pair Annihilation Grenade +item.ullapool_caber.name=Ullapool Caber + +item.rod_uranium_fuel.name=Uranium Fuel Rod +item.rod_dual_uranium_fuel.name=Uranium Dual Fuel Rod +item.rod_quad_uranium_fuel.name=Uranium Quad Fuel Rod +item.rod_plutonium_fuel.name=Plutonium Fuel Rod +item.rod_dual_plutonium_fuel.name=Plutonium Dual Fuel Rod +item.rod_quad_plutonium_fuel.name=Plutonium Quad Fuel Rod +item.rod_mox_fuel.name=MOX Fuel Rod +item.rod_dual_mox_fuel.name=MOX Dual Fuel Rod +item.rod_quad_mox_fuel.name=MOX Quad Fuel Rod +item.rod_schrabidium_fuel.name=Schrabidium Fuel Rod +item.rod_dual_schrabidium_fuel.name=Schrabidium Dual Fuel Rod +item.rod_quad_schrabidium_fuel.name=Schrabidium Quad Fuel Rod + +item.rod_water.name=Water Cell +item.rod_dual_water.name=Dual Water Cell +item.rod_quad_water.name=Quad Water Cell + +item.rod_coolant.name=Coolant Cell +item.rod_dual_coolant.name=Dual Coolant Cell +item.rod_quad_coolant.name=Quad Coolant Cell + +item.rod_lithium.name=Lithium Rod +item.rod_dual_lithium.name=Dual Lithium Rod +item.rod_quad_lithium.name=Quad Lithium Rod + +item.rod_tritium.name=Tritium Cell +item.rod_dual_tritium.name=Dual Tritium Cell +item.rod_quad_tritium.name=Quad Tritium Cell + +item.levitation_unit.name=Gravity Manipulator +item.thermo_unit_empty.name=Thermic Distribution Unit +item.thermo_unit_endo.name=Coldness Distribution Unit +item.thermo_unit_exo.name=Heat Distribution Unit + +item.bomb_waffle.name=Waffle of Mass Destruction +item.schnitzel_vegan.name=Vegan Schnitzel +item.apple_schrabidium.name=Schrabidium Apple +item.cotton_candy.name=Radioactive Cotton Candy +item.tem_flakes.name=Tem Flakes +item.glowing_stew.name=Glowing Mushroom Stew +item.lemon.name="Lemon" + +tile.frozen_grass.name=Frozen Grass +tile.frozen_dirt.name=Frozen Dirt +tile.frozen_log.name=Frozen Log +tile.frozen_planks.name=Frozen Planks + +tile.tape_recorder.name=Tape Recorder +tile.steel_poles.name=Steel Pole +tile.pole_top.name=Antenna Top +tile.pole_satellite_receiver.name=Satellite Receiver +tile.steel_wall.name=Steel Wall +tile.steel_corner.name=Steel Wall Corner +tile.steel_roof.name=Flat Steel Roof +tile.steel_beam.name=Steel Beam +tile.steel_scaffold.name=Steel Scaffold + +item.gun_revolver_iron.name=Simple Revolver +item.gun_revolver.name=Enhanced Revolver +item.gun_revolver_gold.name=Golden Revolver +item.gun_revolver_lead.name=Nuka Revolver +item.gun_revolver_schrabidium.name=Schrabidium Revolver +item.gun_revolver_cursed.name=Cursed Revolver +item.gun_revolver_nightmare.name=Nightmare Revolver (Original) +item.gun_revolver_nightmare2.name=Nightmare Revolver (Dark) +item.gun_fatman.name=M42 Nuclear Catapult "Fat Man" +item.gun_mirv.name=M42 Nuclear Catapult "Experimental MIRV" +item.gun_bf.name=M42_2 Nuclear Catapult "Antimatter Launcher" +item.gun_mp40.name=Submachine Gun +item.gun_uboinik.name=Uboinik +item.gun_xvl1456.name=XVL1456 Tau Cannon Prototype +item.gun_osipr.name=Overwatch Standard Issue Pulse Rifle +item.gun_immolator.name=The Immolator +item.gun_cryolator.name=The Cryolator +item.gun_mp.name=Pacifist's Machine Gun +item.gun_zomg.name=Singularity Powered Annihilation Ray "ZOMG Cannon" +item.gun_emp.name=EMP Ray +item.gun_super_shotgun.name=Super Shotgun +item.gun_moist_nugget.name=Moisn-Nagant +item.gun_revolver_inverted.name=Flipped Revolver +item.gun_jack.name=Jackhammer +item.gun_spark.name=Spark Plug +item.gun_hp.name=HPP Lazerjet +item.gun_euthanasia.name=Euthanasia + +item.gun_revolver_iron_ammo.name=Bullet +item.gun_revolver_ammo.name=Lead Bullet +item.gun_revolver_gold_ammo.name=Golden Bullet +item.gun_revolver_lead_ammo.name=Glass Covered Nuclear Bullet +item.gun_revolver_schrabidium_ammo.name=Schrabidium Bullet +item.gun_revolver_cursed_ammo.name=Steel Bullet +item.gun_revolver_nightmare_ammo.name=Nightmare Bullet +item.gun_revolver_nightmare2_ammo.name=Laser Buckshot +item.gun_fatman_ammo.name=Mini Nuke +item.gun_mirv_ammo.name=Eightfold MIRV +item.gun_bf_ammo.name=Mk.V Compact AMAT-Artillery Shell - Type B.F. +item.gun_mp40_ammo.name=Submachine Gun Round +item.gun_uboinik_ammo.name=12x70 Buckshot +item.gun_xvl1456_ammo.name=Depleted Uranium-235 Box +item.gun_osipr_ammo.name=Dark Energy Pulse Plug +item.gun_osipr_ammo2.name=Combine Ball +item.gun_immolator_ammo.name=Immolator Fuel +item.gun_cryolator_ammo.name=Cryo Cell +item.gun_mp_ammo.name=Small Propellantless Machine Gun Round +item.gun_emp_ammo.name=Energy Cell +item.gun_jack_ammo.name=Quadruple Shotgun Shell +item.gun_spark_ammo.name=Electromagnetic Cartridge +item.gun_hp_ammo.name=Ink Cartridge +item.gun_euthanasia_ammo.name=Syringe + +item.clip_revolver_iron.name=Box of Iron Rounds +item.clip_revolver.name=Box of .357 Rounds +item.clip_revolver_gold.name=Small Coffer of Golden Bullets +item.clip_revolver_schrabidium.name=Schrabidium Ammo Container +item.clip_rpg.name=Rocket Container +item.clip_xvl1456.name=Large Isotope Box +item.clip_osipr.name=AR2 Magazine +item.clip_immolator.name=Tank of Immolator Fuel +item.clip_cryolator.name=Tank of Cryolator Fuel +item.clip_revolver_lead.name=Box of Nuclear Bullets +item.clip_revolver_cursed.name=Britannia Military Standard Issue Pisol Magazine +item.clip_fatman.name=Six Pack of Mini Nukes +item.clip_mirv.name=Three-In-One Pack of Mini MIRVs +item.clip_bf.name=BF-Shell Double Pack +item.clip_mp.name=Britannia Military Standard Issue Assult Rifle Magazine +item.clip_mp40.name=9mm SMG Magazine +item.clip_uboinik.name=Box of Buckshot Rounds +item.clip_emp.name=Small Pack of Energy Cells +item.clip_revolver_nightmare.name=Bag of Bullets +item.clip_revolver_nightmare2.name=Belt with Laser Buckshot + +tile.block_schrabidium.name=Block of Schrabidium +item.plate_gold.name=Gold Plate + +item.syringe_empty.name=Empty Syringe +item.syringe_antidote.name=Antidote +item.syringe_poison.name=Poisonous Injection +item.syringe_awesome.name=AWESOME +item.syringe_metal_empty.name=Metal Syringe +item.syringe_metal_stimpak.name=Stimpak +item.syringe_metal_medx.name=Med-X +item.syringe_metal_psycho.name=Psycho + +item.stealth_boy.name=Stealth Device + +entity.hbm.entity_bullet.name=Bullet +entity.hbm.entity_rocket.name=Rocket +entity.hbm.entity_schrabnel.name=Schrabnel +entity.entity_mob_nuclear_creeper.name=Nuclear Creeper +entity.entity_mob_hunter_chopper.name=Hunter Chopper + +item.cap_aluminium.name=Aluminium Cap +item.hull_small_steel.name=Small Steel Shell +item.hull_small_aluminium.name=Small Aluminium Shell +item.hull_big_steel.name=Big Steel Shell +item.hull_big_aluminium.name=Big Aluminium Shell +item.hull_big_titanium.name=Big Titanium Shell +item.fins_flat.name=Flat Steel Casing +item.fins_small_steel.name=Small Steel Grid Fins +item.fins_big_steel.name=Big Steel Grid Fins +item.fins_tri_steel.name=Large Steel Fins +item.fins_quad_titanium.name=Small Titanium Fins +item.sphere_steel.name=Steel Sphere +item.pedestal_steel.name=Steel Pedestal +item.dysfunctional_reactor.name=Dysfunctional Nuclear Reactor + +item.rotor_steel.name=Large Steel Rotor +item.generator_steel.name=Generator Body +item.blade_titanium.name=Titanium Blade +item.turbine_titanium.name=Titanium Steam Turbine +item.generator_front.name=Generator Front + +item.combine_scrap.name=CMB Scrap Metal +item.chopper_head.name=Hunter Chopper Cockpit +item.chopper_gun.name=Emplacement Gun +item.chopper_torso.name=Hunter Chopper Body +item.chopper_tail.name=Hunter Chopper Tail +item.chopper_wing.name=Hunter Chopper Wing +item.chopper_blades.name=Hunter Chopper Rotor Blades + +item.igniter.name=Igniter +item.watch.name=Broken Pocket Watch +item.apple_astatine.name=Euphemium Apple +item.ingot_astatine.name=Euphemium Ingot +item.nugget_astatine.name=Euphemium Nugget +item.rod_quad_astatine.name=Burned Out Quad Schrabidium Fuel Rod + +item.astatine_helmet.name=Euphemium Helemt +item.astatine_plate.name=Euphemium Chestplate +item.astatine_legs.name=Euphemium Leggings +item.astatine_boots.name=Euphemiums Boots + +item.schrabidium_helmet.name=Schrabidium Helmet +item.schrabidium_plate.name=Schrabidium Chestpate +item.schrabidium_legs.name=Schrabidium Leggings +item.schrabidium_boots.name=Schrabidium Boots +item.schrabidium_sword.name=Schrabidium Sword +item.schrabidium_pickaxe.name=Schrabidium Pickaxe +item.schrabidium_axe.name=Schrabidium Axe +item.schrabidium_shovel.name=Schrabidium Shovel +item.schrabidium_hoe.name=Schrabidium Hoe + +item.chainsaw.name=Chainsaw +item.crowbar.name=Mk.V Crate Opening Device "Crowbar" + +item.mask_of_infamy.name=Mask of Infamy + +tile.det_cord.name=Det Cord +tile.red_barrel.name=Explosive Barrel +tile.yellow_barrel.name=Radioactive Barrel + +item.designator.name=Short Range Target Designator +item.missile_generic.name=High Explosive Missile +item.missile_anti_ballistic.name=Anti Ballistic Missile +item.missile_incendiary.name=Incendiary Missile +item.missile_cluster.name=Cluster Missile +item.missile_buster.name=Bunker Buster +item.missile_strong.name=Strong HE Missile +item.missile_incendiary_strong.name=Strong Incendiary Missile +item.missile_cluster_strong.name=Strong Cluster Missile +item.missile_buster_strong.name=Enhanced Bunker Buster +item.missile_burst.name=Spare Missile +item.missile_inferno.name=Inferno Missile G.R.N. Mk.II +item.missile_rain.name=Bomblet Rain +item.missile_drill.name=The Concrete Cracker +item.missile_nuclear.name=Nuclear Missile +item.missile_nuclear_cluster.name=Nuclear MIRV Missile +item.missile_endo.name=Endothermic Missile +item.missile_exo.name=Exothermic Missile + +item.hazmat_helmet.name=Hazmat Helmet +item.hazmat_plate.name=Hazmat Chestplate +item.hazmat_legs.name=Hazmat Leggings +item.hazmat_boots.name=Hazmat Boots +item.hazmat_paa_helmet.name=PaA Battle Hazmat Suit Helmet +item.hazmat_paa_plate.name=PaA Battle Hazmat Suit Chestplate +item.hazmat_paa_legs.name=PaA Battle Hazmat Suit Leggings +item.hazmat_paa_boots.name=PaA Battle Hazmat Suit Boots + +item.paa_plate.name=PaA Chest Protection Plate +item.paa_legs.name=PaA Leg Reinforcements +item.paa_boots.name=PaA "good ol' shoes" + +item.goggles.name=Protection Goggles +item.gas_mask.name=Gas Mask + +item.t45_helmet.name=T45 Power Armor Helmet +item.t45_plate.name=T45 Power Armor Chestplate +item.t45_legs.name=T45 Power Armor Leggings +item.t45_boots.name=T45 Power Armor Boots + +tile.mush.name=Glowing Mushroom +tile.waste_mycelium.name=Glowing Mycelium + +item.warhead_generic_small.name=Small Warhead +item.warhead_generic_medium.name=Medium Warhead +item.warhead_generic_large.name=Large Warhead +item.warhead_incendiary_small.name=Small Incendiary Warhead +item.warhead_incendiary_medium.name=Medium Incendiary Warhead +item.warhead_incendiary_large.name=Large Incendiary Warhead +item.warhead_cluster_small.name=Small Cluster Warhead +item.warhead_cluster_medium.name=Medium Cluster Warhead +item.warhead_cluster_large.name=Large Cluster Warhead +item.warhead_buster_small.name=Small Bunker Buster Warhead +item.warhead_buster_medium.name=Medium Bunker Buster Warhead +item.warhead_buster_large.name=Large Bunker Buster Warhead +item.warhead_nuclear.name=Nuclear Warhead +item.warhead_mirvlet.name=MIRV +item.warhead_mirv.name=Eightfold MIRV Warhead +item.warhead_thermo_endo.name=Endothermic Warhead +item.warhead_thermo_exo.name=Exothermic Warhead +item.fuel_tank_small.name=Small Fuel Tank +item.fuel_tank_medium.name=Medium Fuel Tank +item.fuel_tank_large.name=Large Fuel Tank +item.thruster_small.name=Small Thruster +item.thruster_medium.name=Medium Thruster +item.thruster_large.name=Large Thruster + +item.wand_k.name=Construction Wand +item.wand_s.name=Structure Wand +item.wand_d.name=Debug Wand + +item.screwdriver.name=Screwdriver +item.overfuse.name=Singularity Screwdriver + +item.steel_helmet.name=Steel Helmet +item.steel_plate.name=Steel Chestplate +item.steel_legs.name=Steel Leggings +item.steel_boots.name=Steel Boots +item.titanium_helmet.name=Titanium Helmet +item.titanium_plate.name=Titanium Chestplate +item.titanium_legs.name=Titanium Leggings +item.titanium_boots.name=Titanium Boots +item.alloy_helmet.name=Advanced Alloy Helmet +item.alloy_plate.name=Advanced Alloy Chestplate +item.alloy_legs.name=Advanced Alloy Leggings +item.alloy_boots.name=Advanced Alloy Boots +item.cmb_helmet.name=CMB Steel Helmet +item.cmb_plate.name=CMB Steel Chestplate +item.cmb_legs.name=CMB Steel Leggings +item.cmb_boots.name=CMB Steel Boots + +item.steel_sword.name=Steel Sword +item.steel_pickaxe.name=Steel Pickaxe +item.steel_axe.name=Steel Axe +item.steel_shovel.name=Steel Shovel +item.steel_hoe.name=Steel Hoe +item.titanium_sword.name=Titanium Sword +item.titanium_pickaxe.name=Titanium Pickaxe +item.titanium_axe.name=Titanium Axe +item.titanium_shovel.name=Titanium Shovel +item.titanium_hoe.name=Titanium Hoe +item.alloy_sword.name=Advanced Alloy Sword +item.alloy_pickaxe.name=Advanced Alloy Pickaxe +item.alloy_axe.name=Advanced Alloy Axe +item.alloy_shovel.name=Advanced Alloy Shovel +item.alloy_hoe.name=Advanced Alloy Hoe +item.cmb_sword.name=CMB Steel Sword +item.cmb_pickaxe.name=CMB Steel Pickaxe +item.cmb_axe.name=CMB Steel Axe +item.cmb_shovel.name=CMB Steel Shovel +item.cmb_hoe.name=CMB Steel Hoe + +tile.red_cable.name=Red Copper Cable +tile.block_meteor.name=Meteor Block + +item.cape_radiation.name=Cape (Radiation) +item.cape_gasmask.name=Cape (Gas Mask) +item.cape_schrabidium.name=Cape (Schrabidic) +item.cape_hbm.name=Hbm's Cape +item.cape_dafnik.name=Dafnik's Cape +item.cape_lpkukin.name=LPkukin's Cape +item.cape_vertice.name=Lord Vertice's Cape + +tile.machine_converter_he_rf.name=HE to RF Converter +tile.machine_converter_rf_he.name=RF to HE Converter + +item.schrabidium_hammer.name=Schrabidium Hammer +item.euphemium_stopper.name=Stopper +item.matchstick.name=Matchstick +item.remote.name=Broken Remote + +item.redcoil_capacitor.name=Redcoil Capacitor +item.detonator.name=Detonator +item.crate_caller.name=Supply Drop Requester + +item.ingot_hes.name=Highly Enriched Schrabidium Fuel Ingot +item.ingot_les.name=Low Enriched Schrabidium Fuel Ingot +item.nugget_hes.name=Highly Enriched Schrabidium Fuel Nugget +item.nugget_les.name=Low Enriched Schrabidium Fuel Nugget + +item.pellet_schrabidium.name=Pure Schrabidium Watz Pellet +item.pellet_hes.name=HES Watz Pellet +item.pellet_mes.name=MES Watz Pellet +item.pellet_les.name=LES Watz Pellet +item.pellet_beryllium.name=Beryllium Moderator Pellet +item.pellet_neptunium.name=Neptunium Watz Pellet +item.pellet_lead.name=Lead Reflector Pellet +item.pellet_advanced.name=Advanced Watz Performance Improver + +item.titanium_filter.name=Titanium Filter + +tile.mud_block.name=Poisonous Mud +fluid.mud_fluid=Poisonous Mud +item.bucket_mud.name=Bucket of Poisonous Mud +tile.acid_block.name=Acid +fluid.acid_fluid=Acid +item.bucket_acid.name=Bucket of Acid +tile.toxic_block.name=Stereotypical Green Ooze +fluid.toxic_fluid=Stereotypical Green Ooze +item.bucket_toxic.name=Bucket of Stereotypical Green Ooze +item.tank_waste_0.name=Mud Container +item.tank_waste_1.name=Mud Container +item.tank_waste_2.name=Mud Container +item.tank_waste_3.name=Mud Container +item.tank_waste_4.name=Mud Container +item.tank_waste_5.name=Mud Container +item.tank_waste_6.name=Mud Container +item.tank_waste_7.name=Mud Container +item.tank_waste_8.name=Mud Container + +item.can_empty.name=Empty Can +item.can_smart.name='Smart' Energy Drink +item.can_creature.name='Creature' Energy Drink +item.can_redbomb.name='Red Bomb' Energy Drink +item.can_mrsugar.name='Dr. Sugar' Soft Drink +item.can_overcharge.name=Overcharge Delirium XT +item.bottle_empty.name=Empty Bomb-Shaped Bottle +item.bottle_nuka.name=Bottle of Nuka Cola +item.bottle_cherry.name=Bottle of Nuka Cherry +item.bottle_quantum.name=Bottle of Nuka Cola Quantum +item.bottle2_empty.name=Empty Bottle +item.bottle2_korl.name=Korl +item.bottle2_fritz.name=Fritz Cola +item.bottle2_korl_special.name=The First Korl +item.bottle2_fritz_special.name=The First Fritz Cola +item.chocolate_milk.name=Chocolate Milk + +item.blades_aluminium.name=Aluminium Shredder Blades +item.blades_gold.name=Golden Shredder Blades +item.blades_iron.name=Iron Shredder Blades +item.blades_steel.name=Steel Shredder Blades +item.blades_titanium.name=Titanium Shredder Blades +item.blades_advanced_alloy.name=Advanced Shredder Blades +item.blades_combine_steel.name=CMB Shredder Blades +item.blades_schrabidium.name=Schrabidium Shredder Blades + +item.linker.name=Telelinker + +item.thermo_element.name=Thermoelectric Element +item.limiter.name=Generator Limiter + +item.multitool_dig.name=Power Fist (Digging Claw) +item.multitool_silk.name=Power Fist (Silk Touch Claw) +item.multitool_ext.name=Power Fist (Ore Extracter) +item.multitool_miner.name=Power Fist (Extracting Mining Laser) +item.multitool_hit.name=Power Fist (Fist) +item.multitool_beam.name=Power Fist (Zapper) +item.multitool_sky.name=Power Fist (Crack the Sky) +item.multitool_mega.name=Power Fist (Super Punch) +item.multitool_joule.name=Power Fist (Giga Joule) +item.multitool_decon.name=Power Fist (Decontaminator) + +item.australium_iii.name=Mark III Life Extender +item.australium_iv.name=Mark IV Life Extender +item.australium_v.name=Mark V Life Extender + +item.weapon_saw.name=Doctor Assisted Homicide +item.weapon_bat.name=Richard's Default +item.weapon_bat_nail.name=The Cliché +item.weapon_golf_club.name=Russian Mobster's Club +item.weapon_pipe_rusty.name=The Attitude Adjuster +item.weapon_pipe_lead.name=The Manual Override +item.reer_graar.name=The Reer Graar + +item.letter.name=Express Mail +item.polaroid.name=The Polaroid + +item.crystal_horn.name=Crystal Horn +item.crystal_charred.name=Charred Crystal +item.ingot_lanthanium.name=Semi-Stable Lanthanium Ingot +item.ingot_actinium.name=Semi-Stable Actinium Ingot + +tile.dummy_block.name=Dummy Block +tile.dummy_port.name=Dummy Block (Electricity Port) + +item.chopper.name=Hunter Chopper + +tile.crystal_virus.name=Dark Crystal +tile.crystal_hardened.name=Hardened Dark Crystal + +tile.cheater_virus.name=Gelid Euphemium +tile.cheater_virus_seed.name=Unstable Euphemium Schrabide Block \ No newline at end of file diff --git a/assets/hbm/lang/test.lang b/assets/hbm/lang/test.lang index bc3d5984a..a88fe7af3 100644 --- a/assets/hbm/lang/test.lang +++ b/assets/hbm/lang/test.lang @@ -1,2 +1,2 @@ -[ʃɾɐbidiʊɱ] +[ʃɾɐbidiʊɱ] (I think that's how "Schrabidium" is pronounced) \ No newline at end of file diff --git a/assets/hbm/models/BalefireCrashed.obj b/assets/hbm/models/BalefireCrashed.obj new file mode 100644 index 000000000..36fbe4b0e --- /dev/null +++ b/assets/hbm/models/BalefireCrashed.obj @@ -0,0 +1,960 @@ +# Blender v2.76 (sub 0) OBJ File: 'BaleFireCrashed.blend' +# www.blender.org +o Sphere +v 0.002518 -3.248903 2.055765 +v -0.398402 -2.931915 1.973723 +v -0.592517 -2.498903 1.766917 +v -0.886012 2.697250 -1.260270 +v -0.676950 1.926895 -0.627098 +v 0.082170 -3.153232 2.205975 +v -0.260442 -2.766209 2.233894 +v -0.433214 -2.307561 2.067336 +v -0.535898 2.008001 -0.519458 +v -0.354920 2.062194 -0.470774 +v 0.223221 -3.072126 2.313615 +v -0.016133 -2.625729 2.420332 +v -0.151110 -2.145349 2.282616 +v -0.161567 2.081224 -0.488459 +v 0.014724 2.062194 -0.569820 +v 0.404200 -3.017933 2.362299 +v 0.297331 -2.531864 2.504655 +v 0.210847 -2.036963 2.379984 +v 0.147114 2.008001 -0.702470 +v 0.215449 1.926895 -0.866215 +v 0.597553 -2.998903 2.344614 +v 0.632228 -2.498903 2.474023 +v 0.597553 -1.998903 2.344614 +v 0.209324 1.831224 -1.036127 +v 0.129673 1.735553 -1.186336 +v 0.773844 -3.017933 2.263253 +v 0.937573 -2.531864 2.333102 +v 0.950135 -2.036963 2.181892 +v -0.011379 1.654447 -1.293977 +v -0.192358 1.600254 -1.342660 +v 0.906234 -3.072126 2.130603 +v 1.166879 -2.625729 2.103345 +v 1.214915 -2.145350 1.916591 +v -0.385711 1.581224 -1.324975 +v -0.562002 1.600254 -1.243614 +v 0.502818 -3.364928 1.991061 +v 0.974568 -3.153232 1.966858 +v 1.285238 -2.766209 1.819730 +v 1.351584 -2.307561 1.589101 +v -0.694392 1.654447 -1.110963 +v -0.762726 1.735553 -0.947218 +v -0.756601 1.831224 -0.777308 +v 0.968443 -3.248903 1.796946 +v 1.274630 -2.931916 1.525435 +v 1.339334 -2.498903 1.249279 +v -1.122404 0.773857 -0.504757 +v -0.985735 0.611646 -0.832247 +v 0.888792 -3.344573 1.646737 +v 1.136669 -3.097622 1.265264 +v 1.180032 -2.690245 0.948859 +v -0.720955 0.503259 -1.097548 +v -0.368373 0.465199 -1.260270 +v 0.747740 -3.425679 1.539097 +v 0.892360 -3.238102 1.078826 +v 0.897927 -2.852456 0.733579 +v 0.018332 0.503259 -1.295640 +v 0.380289 0.611645 -1.198273 +v 0.566762 -3.479873 1.490413 +v 0.578896 -3.331967 0.994504 +v 0.535970 -2.960843 0.636212 +v 0.662393 0.773857 -0.982993 +v 0.821696 0.965199 -0.682573 +v 0.373409 -3.498903 1.508098 +v 0.243999 -3.364928 1.025135 +v 0.149265 -2.998903 0.671582 +v 0.833946 1.156540 -0.342751 +v 0.697277 1.318752 -0.015261 +v 0.197118 -3.479872 1.589459 +v -0.061346 -3.331967 1.166056 +v -0.203317 -2.960842 0.834304 +v 0.432497 1.427138 0.250040 +v 0.079915 1.465199 0.412762 +v 0.064728 -3.425679 1.722109 +v -0.290652 -3.238101 1.395814 +v -0.468097 -2.852456 1.099605 +v -0.306791 1.427138 0.448132 +v -0.668748 1.318752 0.350765 +v -0.003607 -3.344573 1.885854 +v -0.409011 -3.097622 1.679429 +v -0.604766 -2.690244 1.427095 +v -0.950852 1.156541 0.135484 +v -1.110155 0.965199 -0.164935 +v -0.806360 2.792921 -1.110060 +v -0.665308 2.874027 -1.002420 +v -0.484330 2.928220 -0.953737 +v -0.290977 2.947250 -0.971422 +v -0.114686 2.928220 -1.052783 +v 0.017704 2.874027 -1.185433 +v 0.086039 2.792921 -1.349178 +v 0.079914 2.697250 -1.519089 +v 0.000262 2.601579 -1.669299 +v -0.140790 2.520473 -1.776940 +v -0.321768 2.466280 -1.825623 +v -0.515121 2.447250 -1.807938 +v -0.691412 2.466280 -1.726577 +v -0.823802 2.520473 -1.593927 +v -0.892136 2.601579 -1.430181 +v -1.463708 1.331224 -1.484414 +v -1.015420 2.331225 0.188618 +v -1.593117 2.197250 -1.967377 +v -1.144830 3.197250 -0.294344 +v 0.468144 1.331224 -2.002052 +v 0.916431 2.331225 -0.329019 +v 0.338734 2.197250 -2.485015 +v 0.787022 3.197250 -0.811982 +v -1.407440 1.377875 -1.467603 +v -0.981567 2.327875 0.121777 +v -1.530379 2.200599 -1.926418 +v -1.104505 3.150599 -0.337037 +v 0.427819 1.377875 -1.959360 +v 0.853692 2.327875 -0.369979 +v 0.304880 2.200599 -2.418174 +v 0.730753 3.150599 -0.828793 +v -0.186876 3.150599 -0.582915 +v -0.063937 2.327875 -0.124101 +v -1.194503 1.852875 -0.672913 +v -1.317442 2.675599 -1.131727 +v -0.612749 2.200599 -2.172296 +v -0.489810 1.377875 -1.713482 +v 0.517817 2.675599 -1.623483 +v 0.640756 1.852875 -1.164669 +vt 0.945208 0.440590 +vt 0.924528 0.440590 +vt 0.924528 0.335937 +vt 0.430111 0.981163 +vt 0.409431 0.981163 +vt 0.401862 0.927509 +vt 0.638208 0.937379 +vt 0.617528 0.937379 +vt 0.617528 0.832726 +vt 0.156902 0.848737 +vt 0.154131 0.902841 +vt 0.118313 0.902841 +vt 0.523297 0.966960 +vt 0.502618 0.966960 +vt 0.495048 0.913306 +vt 0.050900 0.943658 +vt 0.030220 0.943658 +vt 0.030220 0.839005 +vt 0.395502 0.848737 +vt 0.392731 0.902841 +vt 0.356913 0.902840 +vt 0.003180 0.943658 +vt 0.003180 0.839005 +vt 0.023860 0.839005 +vt 0.057260 0.943658 +vt 0.057260 0.839005 +vt 0.077940 0.839005 +vt 0.700321 0.869750 +vt 0.736139 0.869750 +vt 0.738910 0.923854 +vt 0.644568 0.937379 +vt 0.644568 0.832726 +vt 0.665248 0.832726 +vt 0.275869 0.962774 +vt 0.255189 0.962774 +vt 0.247620 0.909120 +vt 0.924528 0.218725 +vt 0.924528 0.114072 +vt 0.945208 0.114072 +vt 0.345011 0.902841 +vt 0.309193 0.902841 +vt 0.306422 0.848737 +vt 0.945208 0.329657 +vt 0.924528 0.329657 +vt 0.924528 0.225004 +vt 0.401862 0.921230 +vt 0.409431 0.867575 +vt 0.430111 0.867575 +vt 0.921792 0.863471 +vt 0.901112 0.863471 +vt 0.901112 0.758818 +vt 0.847384 0.713895 +vt 0.850155 0.659792 +vt 0.885973 0.659792 +vt 0.945208 0.107793 +vt 0.924528 0.107793 +vt 0.924528 0.003140 +vt 0.475577 0.966960 +vt 0.454897 0.966960 +vt 0.447328 0.913306 +vt 0.422542 0.645710 +vt 0.422542 0.750363 +vt 0.401862 0.750363 +vt 0.297291 0.902841 +vt 0.261473 0.902841 +vt 0.258702 0.848737 +vt 0.401862 0.528499 +vt 0.401862 0.423845 +vt 0.422542 0.423845 +vt 0.191511 0.962774 +vt 0.170831 0.962774 +vt 0.163262 0.909120 +vt 0.751611 0.923854 +vt 0.754381 0.869750 +vt 0.790200 0.869750 +vt 0.928152 0.863471 +vt 0.928152 0.758818 +vt 0.948832 0.758818 +vt 0.745270 0.983787 +vt 0.752839 0.930133 +vt 0.773519 0.930133 +vt 0.611168 0.937379 +vt 0.590488 0.937379 +vt 0.590488 0.832726 +vt 0.759872 0.428032 +vt 0.793601 0.450282 +vt 0.778978 0.522861 +vt 0.956401 0.869750 +vt 0.977081 0.869750 +vt 0.984650 0.923405 +vt 0.870448 0.371656 +vt 0.860108 0.488216 +vt 0.839428 0.488216 +vt 0.897875 0.659792 +vt 0.933693 0.659792 +vt 0.936464 0.713895 +vt 0.876808 0.119699 +vt 0.887148 0.003140 +vt 0.907828 0.003140 +vt 0.241260 0.909120 +vt 0.233690 0.962774 +vt 0.213010 0.962774 +vt 0.876808 0.488216 +vt 0.887148 0.371656 +vt 0.907828 0.371656 +vt 0.201851 0.902841 +vt 0.166033 0.902841 +vt 0.163262 0.848737 +vt 0.829088 0.125978 +vt 0.870448 0.125978 +vt 0.860108 0.242538 +vt 0.339547 0.909120 +vt 0.360227 0.909120 +vt 0.367796 0.962774 +vt 0.888744 0.536953 +vt 0.878404 0.653513 +vt 0.857724 0.653513 +vt 0.844261 0.935760 +vt 0.808442 0.935760 +vt 0.805672 0.881657 +vt 0.584128 0.790269 +vt 0.542768 0.790269 +vt 0.553108 0.673709 +vt 0.725799 0.983787 +vt 0.705119 0.983787 +vt 0.697550 0.930133 +vt 0.936464 0.653513 +vt 0.895104 0.653513 +vt 0.905444 0.536953 +vt 0.210982 0.902841 +vt 0.213753 0.848737 +vt 0.249571 0.848737 +vt 0.805672 0.875377 +vt 0.816012 0.758818 +vt 0.836692 0.758818 +vt 0.962761 0.758818 +vt 0.983441 0.758818 +vt 0.991011 0.812472 +vt 0.584128 0.544591 +vt 0.542768 0.544591 +vt 0.553108 0.428032 +vt 0.495048 0.907027 +vt 0.497819 0.852923 +vt 0.533637 0.852923 +vt 0.115542 0.962775 +vt 0.123111 0.909120 +vt 0.143791 0.909120 +vt 0.876808 0.242538 +vt 0.887148 0.125978 +vt 0.907828 0.125978 +vt 0.853392 0.935760 +vt 0.856162 0.881657 +vt 0.891981 0.881657 +vt 0.918168 0.248817 +vt 0.907828 0.365377 +vt 0.887148 0.365377 +vt 0.870448 0.248817 +vt 0.860108 0.365377 +vt 0.839428 0.365377 +vt 0.942472 0.869750 +vt 0.939701 0.923854 +vt 0.903882 0.923854 +vt 0.870448 0.003140 +vt 0.860108 0.119699 +vt 0.839428 0.119699 +vt 0.297368 0.909120 +vt 0.318048 0.909120 +vt 0.325617 0.962774 +vt 0.853392 0.758818 +vt 0.894752 0.758818 +vt 0.884412 0.875377 +vt 0.450098 0.852923 +vt 0.485917 0.852923 +vt 0.488688 0.907027 +vt 0.542768 0.913108 +vt 0.553108 0.796548 +vt 0.573788 0.796548 +vt 0.550337 0.919387 +vt 0.571017 0.919387 +vt 0.578587 0.973041 +vt 0.401862 0.639431 +vt 0.401862 0.534778 +vt 0.422542 0.534778 +vt 0.987705 0.657856 +vt 0.987705 0.712029 +vt 0.967396 0.661704 +vt 0.832712 0.995241 +vt 0.843052 0.942039 +vt 0.853392 0.995241 +vt 0.488688 0.421752 +vt 0.447328 0.421752 +vt 0.447328 0.003140 +vt 0.976140 0.113916 +vt 0.996449 0.063591 +vt 0.996449 0.117764 +vt 0.354142 0.842458 +vt 0.354142 0.423845 +vt 0.395502 0.423845 +vt 0.805672 0.995241 +vt 0.816012 0.942039 +vt 0.826352 0.995241 +vt 0.775008 0.003140 +vt 0.775008 0.421752 +vt 0.733648 0.421752 +vt 0.374156 0.959445 +vt 0.394466 0.909120 +vt 0.394466 0.963292 +vt 0.252342 0.423845 +vt 0.252342 0.842458 +vt 0.210982 0.842458 +vt 0.976140 0.177245 +vt 0.986480 0.124043 +vt 0.996820 0.177245 +vt 0.536408 0.003140 +vt 0.536408 0.421752 +vt 0.495048 0.421752 +vt 0.859752 0.995241 +vt 0.870092 0.942039 +vt 0.880432 0.995241 +vt 0.685928 0.421752 +vt 0.685928 0.003140 +vt 0.727288 0.003140 +vt 0.963854 0.269050 +vt 0.984164 0.218725 +vt 0.984164 0.272898 +vt 0.300062 0.423845 +vt 0.300062 0.842458 +vt 0.258702 0.842458 +vt 0.156902 0.423845 +vt 0.156902 0.842458 +vt 0.115542 0.842458 +vt 0.967396 0.587278 +vt 0.987705 0.536953 +vt 0.987705 0.591126 +vt 0.347782 0.842458 +vt 0.306422 0.842458 +vt 0.306422 0.423845 +vt 0.963854 0.329502 +vt 0.984164 0.279177 +vt 0.984164 0.333349 +vt 0.590488 0.421752 +vt 0.590488 0.003140 +vt 0.631848 0.003140 +vt 0.901112 0.983335 +vt 0.911452 0.930133 +vt 0.921792 0.983335 +vt 0.984164 0.339628 +vt 0.984164 0.393801 +vt 0.963854 0.343476 +vt 0.822728 0.003140 +vt 0.822728 0.421752 +vt 0.781368 0.421752 +vt 0.967396 0.647730 +vt 0.987705 0.597405 +vt 0.987705 0.651577 +vt 0.679568 0.003140 +vt 0.679568 0.421752 +vt 0.638208 0.421752 +vt 0.972248 0.497194 +vt 0.992558 0.446869 +vt 0.992558 0.501041 +vt 0.584128 0.421752 +vt 0.542768 0.421752 +vt 0.542768 0.003140 +vt 0.590488 0.996860 +vt 0.600828 0.943658 +vt 0.611168 0.996860 +vt 0.488688 0.846644 +vt 0.447328 0.846644 +vt 0.447328 0.428031 +vt 0.163262 0.423845 +vt 0.204622 0.423845 +vt 0.204622 0.842458 +vt 0.924528 0.500972 +vt 0.927299 0.446869 +vt 0.963118 0.446869 +vt 0.976140 0.053465 +vt 0.996449 0.003140 +vt 0.996449 0.057312 +vt 0.542768 0.667430 +vt 0.553108 0.550870 +vt 0.573788 0.550870 +vt 0.536408 0.428031 +vt 0.536408 0.846644 +vt 0.495048 0.846644 +vt 0.977081 0.983338 +vt 0.956401 0.983338 +vt 0.948832 0.929684 +vt 0.401862 0.861296 +vt 0.401862 0.756643 +vt 0.422542 0.756643 +vt 0.216244 0.218725 +vt 0.216244 0.417566 +vt 0.115542 0.417566 +vt 0.340266 0.003140 +vt 0.340266 0.201981 +vt 0.440968 0.201981 +vt 0.955110 0.542186 +vt 0.961036 0.536953 +vt 0.961036 0.746259 +vt 0.328606 0.417566 +vt 0.227904 0.417566 +vt 0.227904 0.218725 +vt 0.115542 0.212446 +vt 0.115542 0.003140 +vt 0.221544 0.003140 +vt 0.109182 0.003140 +vt 0.109182 0.212446 +vt 0.003180 0.212446 +vt 0.697550 0.536953 +vt 0.697550 0.641606 +vt 0.786963 0.638990 +vt 0.092593 0.730689 +vt 0.092593 0.830109 +vt 0.003180 0.832726 +vt 0.590488 0.721794 +vt 0.590488 0.826447 +vt 0.679901 0.823830 +vt 0.697550 0.749922 +vt 0.697550 0.650502 +vt 0.786963 0.647885 +vt 0.948750 0.536953 +vt 0.948750 0.746259 +vt 0.942824 0.741027 +vt 0.435668 0.627919 +vt 0.429742 0.633152 +vt 0.429742 0.423845 +vt 0.104879 0.932146 +vt 0.098953 0.937379 +vt 0.098953 0.728073 +vt 0.951568 0.428031 +vt 0.951568 0.218725 +vt 0.957494 0.223958 +vt 0.003180 0.218725 +vt 0.109182 0.218725 +vt 0.109182 0.428031 +vt 0.435668 0.218725 +vt 0.435668 0.417566 +vt 0.334966 0.417566 +vt 0.841024 0.641606 +vt 0.793323 0.638990 +vt 0.793323 0.539569 +vt 0.745251 0.860855 +vt 0.745251 0.761434 +vt 0.697550 0.758818 +vt 0.799312 0.761434 +vt 0.799312 0.860855 +vt 0.751611 0.863471 +vt 0.841024 0.752539 +vt 0.793323 0.749922 +vt 0.793323 0.650502 +vt 0.003180 0.581192 +vt 0.003180 0.721793 +vt 0.103882 0.721793 +vt 0.003180 0.434311 +vt 0.003180 0.574912 +vt 0.103882 0.574912 +vt 0.691190 0.574913 +vt 0.590488 0.574913 +vt 0.590488 0.715514 +vt 0.590488 0.428032 +vt 0.590488 0.568633 +vt 0.691190 0.568633 +vt 0.969780 0.207213 +vt 0.963854 0.212446 +vt 0.963854 0.003140 +vt 0.435668 0.639431 +vt 0.435668 0.848737 +vt 0.429742 0.843504 +vt 0.227904 0.212446 +vt 0.227904 0.003140 +vt 0.333906 0.003140 +vt 0.951568 0.008372 +vt 0.957494 0.003140 +vt 0.957494 0.212446 +vt 0.945208 0.335937 +vt 0.437681 0.927509 +vt 0.638208 0.832726 +vt 0.115542 0.848737 +vt 0.530867 0.913306 +vt 0.050900 0.839005 +vt 0.354142 0.848737 +vt 0.023860 0.943658 +vt 0.077940 0.943658 +vt 0.697550 0.923854 +vt 0.665248 0.937379 +vt 0.283438 0.909120 +vt 0.945208 0.218725 +vt 0.347782 0.848737 +vt 0.945208 0.225004 +vt 0.437681 0.921230 +vt 0.921792 0.758818 +vt 0.888744 0.713895 +vt 0.945208 0.003140 +vt 0.483147 0.913306 +vt 0.401862 0.645710 +vt 0.300062 0.848737 +vt 0.422542 0.528499 +vt 0.199081 0.909120 +vt 0.792971 0.923854 +vt 0.948832 0.863471 +vt 0.781089 0.983787 +vt 0.611168 0.832726 +vt 0.759873 0.530674 +vt 0.739193 0.530674 +vt 0.720087 0.522861 +vt 0.705464 0.508424 +vt 0.697550 0.489561 +vt 0.697550 0.469144 +vt 0.705464 0.450282 +vt 0.720087 0.435845 +vt 0.739193 0.428032 +vt 0.778978 0.435845 +vt 0.801515 0.469144 +vt 0.801515 0.489561 +vt 0.793601 0.508424 +vt 0.948832 0.923405 +vt 0.829088 0.371656 +vt 0.895104 0.713895 +vt 0.918168 0.119699 +vt 0.205441 0.909120 +vt 0.918168 0.488216 +vt 0.204622 0.848737 +vt 0.839428 0.242538 +vt 0.331977 0.962774 +vt 0.847384 0.536953 +vt 0.847032 0.881657 +vt 0.573788 0.673709 +vt 0.733369 0.930133 +vt 0.926124 0.536953 +vt 0.252342 0.902841 +vt 0.847032 0.875377 +vt 0.955192 0.812472 +vt 0.573788 0.428032 +vt 0.536408 0.907027 +vt 0.151361 0.962775 +vt 0.918168 0.242538 +vt 0.894752 0.935760 +vt 0.876808 0.248817 +vt 0.829088 0.248817 +vt 0.901112 0.869750 +vt 0.829088 0.003140 +vt 0.289798 0.962774 +vt 0.863732 0.875377 +vt 0.447328 0.907027 +vt 0.584128 0.913108 +vt 0.542768 0.973041 +vt 0.422542 0.639431 +vt 0.488688 0.003140 +vt 0.395502 0.842458 +vt 0.733648 0.003140 +vt 0.210982 0.423845 +vt 0.495048 0.003140 +vt 0.727288 0.421752 +vt 0.258702 0.423845 +vt 0.115542 0.423845 +vt 0.347782 0.423845 +vt 0.631848 0.421752 +vt 0.781368 0.003140 +vt 0.638208 0.003140 +vt 0.584128 0.003140 +vt 0.488688 0.428031 +vt 0.163262 0.842458 +vt 0.965888 0.500972 +vt 0.584128 0.667430 +vt 0.495048 0.428031 +vt 0.984650 0.929684 +vt 0.422542 0.861296 +vt 0.115542 0.218725 +vt 0.440968 0.003140 +vt 0.955110 0.741027 +vt 0.328606 0.218725 +vt 0.221544 0.212446 +vt 0.003180 0.003140 +vt 0.786963 0.539569 +vt 0.003180 0.728073 +vt 0.679901 0.724410 +vt 0.786963 0.752539 +vt 0.942824 0.542186 +vt 0.435668 0.429078 +vt 0.104879 0.733305 +vt 0.957494 0.422799 +vt 0.003180 0.428031 +vt 0.334966 0.218725 +vt 0.841024 0.536953 +vt 0.697550 0.863471 +vt 0.751611 0.758818 +vt 0.841024 0.647885 +vt 0.103882 0.581192 +vt 0.103882 0.434311 +vt 0.691190 0.715514 +vt 0.691190 0.428032 +vt 0.969780 0.008372 +vt 0.429742 0.644663 +vt 0.333906 0.212446 +vt 0.951568 0.207213 +vn -0.031400 -0.490400 -0.870900 +vn -0.554500 -0.536800 0.635900 +vn 0.927700 0.277800 0.249500 +vn -0.841100 -0.125800 0.526100 +vn -0.393900 -0.408100 0.823600 +vn 0.903600 -0.097500 -0.417000 +vn -0.623400 0.048500 0.780400 +vn -0.350300 0.415700 0.839300 +vn 0.723000 0.415700 0.551700 +vn -0.305900 0.182000 0.934500 +vn 0.991100 0.097500 -0.090700 +vn -0.159500 -0.309600 0.937400 +vn -0.678600 0.277800 0.679900 +vn 0.063300 0.254200 0.965100 +vn 0.408300 0.490400 0.769900 +vn 0.113000 -0.256300 0.960000 +vn 0.031400 0.490400 0.870900 +vn 0.427800 0.254200 0.867400 +vn -0.903600 0.097500 0.417000 +vn 0.382100 -0.256300 0.887900 +vn -0.927700 -0.277800 -0.249500 +vn 0.732200 0.182000 0.656400 +vn -0.723000 -0.415700 -0.551700 +vn 0.606800 -0.309600 0.732100 +vn 0.930100 0.048500 0.364100 +vn -0.991100 -0.097500 0.090600 +vn 0.752900 -0.408100 0.516300 +vn 0.350300 -0.415700 -0.839300 +vn -0.129400 0.866000 -0.483000 +vn 0.798200 -0.536800 0.273500 +vn 0.754400 0.293700 -0.587100 +vn 0.991400 -0.125800 0.035100 +vn -0.423600 -0.059000 -0.903900 +vn 0.735800 -0.676000 0.040400 +vn -0.868300 0.468900 0.161800 +vn 0.906900 -0.314500 -0.280600 +vn 0.592200 0.754600 0.282700 +vn 0.575100 -0.804700 -0.147300 +vn -0.666300 0.630700 0.397800 +vn 0.689200 -0.488800 -0.534900 +vn 0.552300 0.131900 -0.823100 +vn 0.340700 -0.903200 -0.261000 +vn -0.706100 0.008000 -0.708000 +vn 0.371700 -0.622200 -0.689000 +vn -0.371500 0.754600 0.540900 +vn 0.068200 -0.956500 -0.283600 +vn 0.775900 0.630700 0.011400 +vn 0.002500 -0.694400 -0.719600 +vn -0.200900 -0.956500 -0.211500 +vn 0.257500 0.008000 -0.966200 +vn -0.362000 -0.694400 -0.621900 +vn -0.889900 0.131900 -0.436700 +vn -0.028800 0.821600 0.569300 +vn -0.666400 -0.622200 -0.410900 +vn 0.832900 0.468900 -0.294000 +vn -0.425600 -0.903200 -0.055700 +vn -0.085200 -0.059000 -0.994600 +vn -0.864300 -0.488800 -0.118600 +vn -0.946800 0.293700 -0.131300 +vn -0.571700 -0.804700 0.160000 +vn -0.408300 -0.490400 -0.769900 +vn -0.113300 -0.809700 0.575800 +vn -0.054000 -0.762200 0.645100 +vn 0.032500 -0.725800 0.687100 +vn 0.133100 -0.706200 0.695400 +vn 0.991100 0.097500 -0.090600 +vn 0.232400 -0.706200 0.668800 +vn 0.315400 -0.725800 0.611300 +vn 0.369300 -0.762200 0.531700 +vn 0.386000 -0.809700 0.442000 +vn 0.363000 -0.861100 0.356000 +vn 0.303700 -0.908600 0.286700 +vn 0.217100 -0.945000 0.244700 +vn 0.116600 -0.964600 0.236400 +vn 0.017200 -0.964600 0.263000 +vn 0.678600 -0.277800 -0.679900 +vn -0.065700 -0.945000 0.320500 +vn -0.119600 -0.908600 0.400100 +vn -0.925700 -0.314500 0.210400 +vn -0.136400 -0.861100 0.489800 +vn 0.309600 0.821600 0.478700 +vn -0.617000 -0.676000 0.402900 +vn 0.224100 0.500000 0.836500 +vn 0.965900 0.000000 -0.258800 +vn -0.015500 0.998200 -0.057900 +vn 0.524500 -0.353600 -0.774500 +vn 0.841500 0.353600 0.408500 +vn 0.316200 0.774600 -0.547700 +vn -0.216000 0.551000 -0.806100 +vn -0.547700 0.774600 -0.316200 +vn -0.965900 -0.000000 0.258800 +vn -0.524500 0.353600 0.774500 +vn -0.129400 0.866000 -0.482900 +s off +f 30/1/1 34/2/1 94/3/1 +f 1/4/2 6/5/2 7/6/2 +f 19/7/3 20/8/3 89/9/3 +f 3/10/4 2/11/4 7/12/4 +f 6/13/5 11/14/5 12/15/5 +f 24/16/6 25/17/6 91/18/6 +f 8/19/7 7/20/7 12/21/7 +f 10/22/8 85/23/8 84/24/8 +f 19/25/9 88/26/9 87/27/9 +f 12/28/10 17/29/10 18/30/10 +f 24/31/11 90/32/11 89/33/11 +f 11/34/12 16/35/12 17/36/12 +f 9/37/13 84/38/13 83/39/13 +f 17/40/14 22/41/14 23/42/14 +f 14/43/15 15/44/15 87/45/15 +f 17/46/16 16/47/16 21/48/16 +f 10/49/17 14/50/17 86/51/17 +f 23/52/18 22/53/18 27/54/18 +f 42/55/19 5/56/19 83/57/19 +f 21/58/20 26/59/20 27/60/20 +f 41/61/21 97/62/21 96/63/21 +f 27/64/22 32/65/22 33/66/22 +f 40/67/23 96/68/23 95/69/23 +f 26/70/24 31/71/24 32/72/24 +f 33/73/25 32/74/25 38/75/25 +f 42/76/26 4/77/26 97/78/26 +f 32/79/27 31/80/27 37/81/27 +f 29/82/28 30/83/28 93/84/28 +f 91/85/29 93/86/29 97/87/29 +f 37/88/30 43/89/30 44/90/30 +f 61/91/31 25/92/31 24/93/31 +f 38/94/32 44/95/32 45/96/32 +f 51/97/33 35/98/33 34/99/33 +f 44/100/34 43/101/34 48/102/34 +f 81/103/35 5/104/35 42/105/35 +f 44/106/36 49/107/36 50/108/36 +f 71/109/37 67/110/37 19/111/37 +f 48/112/38 53/113/38 54/114/38 +f 77/115/39 9/116/39 5/117/39 +f 49/118/40 54/119/40 55/120/40 +f 61/121/41 57/122/41 29/123/41 +f 53/124/42 58/125/42 59/126/42 +f 51/127/43 47/128/43 40/129/43 +f 55/130/44 54/131/44 59/132/44 +f 76/133/45 10/134/45 9/135/45 +f 58/136/46 63/137/46 64/138/46 +f 67/139/47 66/140/47 20/141/47 +f 60/142/48 59/143/48 64/144/48 +f 64/145/49 63/146/49 68/147/49 +f 56/148/50 30/149/50 29/150/50 +f 65/151/51 64/152/51 69/153/51 +f 46/154/52 41/155/52 40/156/52 +f 72/157/53 14/158/53 10/159/53 +f 70/160/54 69/161/54 74/162/54 +f 62/163/55 24/164/55 20/165/55 +f 68/166/56 73/167/56 74/168/56 +f 56/169/57 52/170/57 34/171/57 +f 74/172/58 79/173/58 80/174/58 +f 82/175/59 42/176/59 41/177/59 +f 73/178/60 78/179/60 79/180/60 +f 35/181/61 95/182/61 94/183/61 +f 1/184/62 36/185/62 6/186/62 +f 6/187/63 36/188/63 11/189/63 +f 3/190/19 8/191/19 81/192/19 +f 11/193/64 36/194/64 16/195/64 +f 50/196/6 61/197/6 62/198/6 +f 16/199/65 36/200/65 21/201/65 +f 45/202/66 62/203/66 66/204/66 +f 21/205/67 36/206/67 26/207/67 +f 28/208/15 71/209/15 72/210/15 +f 26/211/68 36/212/68 31/213/68 +f 23/214/17 72/215/17 76/216/17 +f 31/217/69 36/218/69 37/219/69 +f 65/220/1 52/221/1 56/222/1 +f 37/223/70 36/224/70 43/225/70 +f 13/226/13 77/227/13 81/228/13 +f 60/229/28 56/230/28 57/231/28 +f 43/232/71 36/233/71 48/234/71 +f 13/235/8 18/236/8 76/237/8 +f 48/238/72 36/239/72 53/240/72 +f 39/241/3 66/242/3 67/243/3 +f 53/244/73 36/245/73 58/246/73 +f 58/247/74 36/248/74 63/249/74 +f 80/250/21 46/251/21 47/252/21 +f 63/253/75 36/254/75 68/255/75 +f 55/256/76 57/257/76 61/258/76 +f 68/259/77 36/260/77 73/261/77 +f 65/262/61 70/263/61 51/264/61 +f 73/265/78 36/266/78 78/267/78 +f 28/268/9 33/269/9 67/270/9 +f 70/271/23 75/272/23 47/273/23 +f 80/274/79 79/275/79 2/276/79 +f 78/277/80 36/278/80 1/279/80 +f 71/280/81 15/281/81 14/282/81 +f 3/283/26 82/284/26 46/285/26 +f 78/286/82 1/287/82 2/288/82 +f 29/289/76 92/290/76 91/291/76 +f 112/292/83 108/293/83 106/294/83 +f 107/295/84 106/296/84 108/297/84 +f 107/298/85 99/299/85 103/300/85 +f 111/301/83 113/302/83 109/303/83 +f 103/304/84 102/305/84 104/306/84 +f 99/307/84 98/308/84 100/309/84 +f 19/310/86 88/311/86 113/312/86 +f 109/313/87 107/314/87 9/315/87 +f 96/316/86 40/317/86 106/318/86 +f 110/319/87 112/320/87 92/321/87 +f 100/322/88 101/323/88 109/324/88 +f 109/325/89 101/326/89 105/327/89 +f 113/328/90 105/329/90 104/330/90 +f 103/331/88 102/332/88 110/333/88 +f 103/334/83 105/335/83 101/336/83 +f 111/337/84 110/338/84 112/339/84 +f 24/340/83 121/341/83 120/342/83 +f 117/343/83 116/344/83 42/345/83 +f 118/346/91 119/347/91 34/348/91 +f 86/349/84 114/350/84 115/351/84 +f 117/352/86 114/353/86 115/354/86 +f 120/355/87 114/356/87 115/357/87 +f 118/358/92 119/359/92 121/360/92 +f 118/361/87 117/362/87 116/363/87 +f 112/364/85 104/365/85 100/366/85 +f 102/367/89 98/368/89 106/369/89 +f 104/370/83 100/371/83 98/372/83 +f 106/373/90 98/374/90 99/375/90 +f 93/376/1 30/1/1 94/3/1 +f 2/377/2 1/4/2 7/6/2 +f 88/378/3 19/7/3 89/9/3 +f 8/379/4 3/10/4 7/12/4 +f 7/380/5 6/13/5 12/15/5 +f 90/381/6 24/16/6 91/18/6 +f 13/382/7 8/19/7 12/21/7 +f 9/383/8 10/22/8 84/24/8 +f 15/384/9 19/25/9 87/27/9 +f 13/385/10 12/28/10 18/30/10 +f 20/386/11 24/31/11 89/33/11 +f 12/387/12 11/34/12 17/36/12 +f 5/388/13 9/37/13 83/39/13 +f 18/389/14 17/40/14 23/42/14 +f 86/390/15 14/43/15 87/45/15 +f 22/391/16 17/46/16 21/48/16 +f 85/392/17 10/49/17 86/51/17 +f 28/393/18 23/52/18 27/54/18 +f 4/394/19 42/55/19 83/57/19 +f 22/395/20 21/58/20 27/60/20 +f 40/396/21 41/61/21 96/63/21 +f 28/397/22 27/64/22 33/66/22 +f 35/398/23 40/67/23 95/69/23 +f 27/399/24 26/70/24 32/72/24 +f 39/400/25 33/73/25 38/75/25 +f 41/401/26 42/76/26 97/78/26 +f 38/402/27 32/79/27 37/81/27 +f 92/403/28 29/82/28 93/84/28 +f 97/87/29 4/404/29 83/405/29 +f 83/405/29 84/406/29 97/87/29 +f 85/407/93 86/408/93 87/409/93 +f 87/409/29 88/410/29 89/411/29 +f 89/411/29 90/412/29 91/85/29 +f 91/85/29 92/413/29 93/86/29 +f 93/86/29 94/414/29 95/415/29 +f 95/415/29 96/416/29 97/87/29 +f 97/87/29 84/406/29 85/407/29 +f 85/407/29 87/409/29 97/87/29 +f 89/411/29 91/85/29 97/87/29 +f 93/86/29 95/415/29 97/87/29 +f 97/87/29 87/409/29 89/411/29 +f 38/417/30 37/88/30 44/90/30 +f 62/418/31 61/91/31 24/93/31 +f 39/419/32 38/94/32 45/96/32 +f 52/420/33 51/97/33 34/99/33 +f 49/421/34 44/100/34 48/102/34 +f 82/422/35 81/103/35 42/105/35 +f 45/423/36 44/106/36 50/108/36 +f 15/424/37 71/109/37 19/111/37 +f 49/425/38 48/112/38 54/114/38 +f 81/426/39 77/115/39 5/117/39 +f 50/427/40 49/118/40 55/120/40 +f 25/428/41 61/121/41 29/123/41 +f 54/429/42 53/124/42 59/126/42 +f 35/430/43 51/127/43 40/129/43 +f 60/431/44 55/130/44 59/132/44 +f 77/432/45 76/133/45 9/135/45 +f 59/433/46 58/136/46 64/138/46 +f 19/434/47 67/139/47 20/141/47 +f 65/435/48 60/142/48 64/144/48 +f 69/436/49 64/145/49 68/147/49 +f 57/437/50 56/148/50 29/150/50 +f 70/438/51 65/151/51 69/153/51 +f 47/439/52 46/154/52 40/156/52 +f 76/440/53 72/157/53 10/159/53 +f 75/441/54 70/160/54 74/162/54 +f 66/442/55 62/163/55 20/165/55 +f 69/443/56 68/166/56 74/168/56 +f 30/444/57 56/169/57 34/171/57 +f 75/445/58 74/172/58 80/174/58 +f 46/446/59 82/175/59 41/177/59 +f 74/447/60 73/178/60 79/180/60 +f 34/448/61 35/181/61 94/183/61 +f 82/449/19 3/190/19 81/192/19 +f 45/450/6 50/196/6 62/198/6 +f 39/451/11 45/202/11 66/204/11 +f 23/452/15 28/208/15 72/210/15 +f 18/453/17 23/214/17 76/216/17 +f 60/454/1 65/220/1 56/222/1 +f 8/455/13 13/226/13 81/228/13 +f 55/456/28 60/229/28 57/231/28 +f 77/457/8 13/235/8 76/237/8 +f 33/458/3 39/241/3 67/243/3 +f 75/459/21 80/250/21 47/252/21 +f 50/460/76 55/256/76 61/258/76 +f 52/461/61 65/262/61 51/264/61 +f 71/462/9 28/268/9 67/270/9 +f 51/463/23 70/271/23 47/273/23 +f 3/464/79 80/274/79 2/276/79 +f 72/465/81 71/280/81 14/282/81 +f 80/466/26 3/283/26 46/285/26 +f 79/467/82 78/286/82 2/288/82 +f 25/468/76 29/289/76 91/291/76 +f 110/469/83 112/292/83 106/294/83 +f 109/470/84 107/295/84 108/297/84 +f 111/471/85 107/298/85 103/300/85 +f 107/472/83 111/301/83 109/303/83 +f 105/473/84 103/304/84 104/306/84 +f 101/474/84 99/307/84 100/309/84 +f 111/475/86 19/310/86 113/312/86 +f 84/476/87 109/313/87 9/315/87 +f 108/477/86 96/316/86 106/318/86 +f 29/478/87 110/319/87 92/321/87 +f 108/479/88 100/322/88 109/324/88 +f 113/480/89 109/325/89 105/327/89 +f 112/481/90 113/328/90 104/330/90 +f 111/482/88 103/331/88 110/333/88 +f 99/483/83 103/334/83 101/336/83 +f 113/484/84 111/337/84 112/339/84 +f 90/485/83 24/340/83 120/342/83 +f 4/486/83 117/343/83 42/345/83 +f 94/487/91 118/346/91 34/348/91 +f 14/488/84 86/349/84 115/351/84 +f 116/489/86 117/352/86 115/354/86 +f 121/490/87 120/355/87 115/357/87 +f 120/491/92 118/358/92 121/360/92 +f 119/492/87 118/361/87 116/363/87 +f 108/493/85 112/364/85 100/366/85 +f 110/494/89 102/367/89 106/369/89 +f 102/495/83 104/370/83 98/372/83 +f 107/496/90 106/373/90 99/375/90 diff --git a/assets/hbm/models/BombGeneric.obj b/assets/hbm/models/BombGeneric.obj new file mode 100644 index 000000000..55e066ee6 --- /dev/null +++ b/assets/hbm/models/BombGeneric.obj @@ -0,0 +1,683 @@ +# Blender v2.70 (sub 0) OBJ File: 'BombGeneric.blend' +# www.blender.org +o Cylinder +v 0.176777 0.426777 -0.375000 +v 0.176777 0.426776 0.375000 +v 0.230970 0.345671 -0.375000 +v 0.230970 0.345671 0.375000 +v 0.250000 0.250000 -0.375000 +v 0.250000 0.250000 0.375000 +v 0.230970 0.154329 -0.375000 +v 0.230970 0.154329 0.375000 +v 0.176777 0.073223 -0.375000 +v 0.176776 0.073223 0.375000 +v 0.095671 0.019030 -0.375000 +v 0.095671 0.019030 0.375000 +v 0.000000 0.000000 -0.375000 +v -0.000000 -0.000000 0.375000 +v -0.095671 0.019030 -0.375000 +v -0.095671 0.019030 0.375000 +v -0.176776 0.073224 -0.375000 +v -0.176777 0.073223 0.375000 +v -0.230970 0.154329 -0.375000 +v -0.230970 0.154329 0.375000 +v -0.250000 0.250000 -0.375000 +v -0.250000 0.250000 0.375000 +v -0.230970 0.345671 -0.375000 +v -0.230970 0.345671 0.375000 +v -0.176776 0.426777 -0.375000 +v -0.176777 0.426777 0.375000 +v -0.095670 0.480970 -0.375000 +v -0.095671 0.480970 0.375000 +v 0.000000 0.500000 -0.375000 +v -0.000000 0.500000 0.375000 +v 0.095671 0.480970 -0.375000 +v 0.095671 0.480970 0.375000 +v 0.088388 0.338388 0.525000 +v 0.047835 0.365485 0.525000 +v 0.000000 0.375000 0.525000 +v -0.047835 0.365485 0.525000 +v -0.088388 0.338388 0.525000 +v -0.115485 0.297835 0.525000 +v -0.125000 0.250000 0.525000 +v -0.115485 0.202165 0.525000 +v -0.088388 0.161612 0.525000 +v -0.047836 0.134515 0.525000 +v -0.000000 0.125000 0.525000 +v 0.047835 0.134515 0.525000 +v 0.088388 0.161612 0.525000 +v 0.115485 0.202165 0.525000 +v 0.125000 0.250000 0.525000 +v 0.115485 0.297835 0.525000 +v 0.088388 0.338388 -0.675000 +v 0.047835 0.365485 -0.675000 +v 0.000000 0.375000 -0.675000 +v -0.047835 0.365485 -0.675000 +v -0.088388 0.338388 -0.675000 +v -0.115485 0.297835 -0.675000 +v -0.125000 0.250000 -0.675000 +v -0.115485 0.202165 -0.675000 +v -0.088388 0.161612 -0.675000 +v -0.047836 0.134515 -0.675000 +v -0.000000 0.125000 -0.675000 +v 0.047835 0.134515 -0.675000 +v 0.088388 0.161612 -0.675000 +v 0.115485 0.202165 -0.675000 +v 0.125000 0.250000 -0.675000 +v 0.115485 0.297835 -0.675000 +v 0.088388 0.338388 -0.875000 +v 0.047835 0.365485 -0.875000 +v 0.000000 0.375000 -0.875000 +v -0.047835 0.365485 -0.875000 +v -0.088388 0.338388 -0.875000 +v -0.115485 0.297835 -0.875000 +v -0.125000 0.250000 -0.875000 +v -0.115485 0.202165 -0.875000 +v -0.088388 0.161612 -0.875000 +v -0.047836 0.134515 -0.875000 +v -0.000000 0.125000 -0.875000 +v 0.047835 0.134515 -0.875000 +v 0.088388 0.161612 -0.875000 +v 0.115485 0.202165 -0.875000 +v 0.125000 0.250000 -0.875000 +v 0.115485 0.297835 -0.875000 +v -0.247487 0.497487 -0.674000 +v 0.247487 0.002513 -0.674000 +v -0.247487 0.497487 -0.826000 +v 0.247487 0.002513 -0.826000 +v -0.247487 0.497487 -0.674000 +v 0.247487 0.002513 -0.674000 +v -0.247487 0.497487 -0.826000 +v 0.247487 0.002513 -0.826000 +v 0.247488 0.497487 -0.674000 +v -0.247488 0.002513 -0.674000 +v 0.247488 0.497487 -0.826000 +v -0.247488 0.002513 -0.826000 +v 0.247488 0.497487 -0.674000 +v -0.247488 0.002513 -0.674000 +v 0.247488 0.497487 -0.826000 +v -0.247488 0.002513 -0.826000 +vt 0.488163 0.020352 +vt 0.488163 0.274747 +vt 0.455617 0.274747 +vt 0.528202 0.315450 +vt 0.560748 0.315450 +vt 0.560748 0.569846 +vt 0.745955 0.315450 +vt 0.778501 0.315450 +vt 0.778501 0.569845 +vt 0.179657 0.552886 +vt 0.147111 0.552886 +vt 0.147110 0.298491 +vt 0.252241 0.298491 +vt 0.252241 0.552886 +vt 0.219695 0.552886 +vt 0.560748 0.274747 +vt 0.528202 0.274747 +vt 0.528202 0.020352 +vt 0.705917 0.274747 +vt 0.673370 0.274747 +vt 0.673370 0.020352 +vt 0.070734 0.552886 +vt 0.038188 0.552886 +vt 0.038188 0.298491 +vt 0.600786 0.274747 +vt 0.600786 0.020352 +vt 0.633332 0.020352 +vt 0.383033 0.569846 +vt 0.383033 0.315450 +vt 0.415579 0.315450 +vt 0.488163 0.569846 +vt 0.455617 0.569846 +vt 0.455617 0.315450 +vt 0.383033 0.020352 +vt 0.415579 0.020352 +vt 0.415579 0.274747 +vt 0.324825 0.552886 +vt 0.292279 0.552886 +vt 0.292279 0.298491 +vt 0.705917 0.569845 +vt 0.673370 0.569845 +vt 0.673370 0.315450 +vt 0.745955 0.020352 +vt 0.778501 0.020352 +vt 0.778501 0.274747 +vt 0.633332 0.569845 +vt 0.600786 0.569845 +vt 0.600786 0.315450 +vt 0.107072 0.933803 +vt 0.074526 0.933803 +vt 0.082663 0.868092 +vt 0.179657 0.933803 +vt 0.147110 0.933803 +vt 0.155247 0.868092 +vt 0.252241 0.933803 +vt 0.219695 0.933803 +vt 0.227831 0.868092 +vt 0.203199 0.593589 +vt 0.252241 0.626902 +vt 0.188165 0.599920 +vt 0.633332 0.933305 +vt 0.600786 0.933305 +vt 0.608922 0.867594 +vt 0.778501 0.933305 +vt 0.745955 0.933305 +vt 0.754091 0.867594 +vt 0.851085 0.419215 +vt 0.818539 0.419215 +vt 0.826676 0.353504 +vt 0.633332 0.826890 +vt 0.600786 0.826890 +vt 0.608922 0.761179 +vt 0.415579 0.826890 +vt 0.383033 0.826890 +vt 0.391169 0.761179 +vt 0.745955 0.826890 +vt 0.754091 0.761179 +vt 0.770364 0.761179 +vt 0.455617 0.826891 +vt 0.463754 0.761179 +vt 0.480027 0.761179 +vt 0.818539 0.086063 +vt 0.826676 0.020352 +vt 0.842949 0.020352 +vt 0.528202 0.826890 +vt 0.536338 0.761179 +vt 0.552611 0.761179 +vt 0.383033 0.933305 +vt 0.391169 0.867594 +vt 0.407442 0.867594 +vt 0.528202 0.933305 +vt 0.536338 0.867594 +vt 0.552611 0.867594 +vt 0.455617 0.933305 +vt 0.463754 0.867594 +vt 0.480027 0.867594 +vt 0.891123 0.525629 +vt 0.899260 0.459918 +vt 0.915533 0.459918 +vt 0.107072 0.643445 +vt 0.074304 0.593589 +vt 0.025262 0.626902 +vt 0.963708 0.020352 +vt 0.947435 0.020352 +vt 0.947435 0.088190 +vt 0.891123 0.383289 +vt 0.907397 0.383289 +vt 0.907397 0.315450 +vt 0.907397 0.020352 +vt 0.891124 0.020352 +vt 0.891124 0.088190 +vt 0.907397 0.164820 +vt 0.891123 0.164820 +vt 0.891123 0.232659 +vt 0.834812 0.979648 +vt 0.851085 0.979648 +vt 0.851085 0.911810 +vt 0.963708 0.610549 +vt 0.947435 0.610549 +vt 0.947435 0.678387 +vt 0.963708 0.761179 +vt 0.947435 0.761179 +vt 0.947435 0.829018 +vt 0.292279 0.894850 +vt 0.292279 0.962689 +vt 0.308552 0.962689 +vt 0.907397 0.761179 +vt 0.891124 0.761179 +vt 0.891124 0.829018 +vt 0.963708 0.232659 +vt 0.963708 0.164820 +vt 0.947435 0.164820 +vt 0.979981 0.527757 +vt 0.979981 0.459918 +vt 0.963708 0.459918 +vt 0.907397 0.678387 +vt 0.907397 0.610549 +vt 0.891124 0.610549 +vt 0.963708 0.937560 +vt 0.963708 0.869721 +vt 0.947435 0.869721 +vt 0.891124 0.937560 +vt 0.907397 0.937560 +vt 0.907397 0.869721 +vt 0.963708 0.341201 +vt 0.963708 0.273362 +vt 0.947435 0.273362 +vt 0.705916 0.979648 +vt 0.705917 0.911810 +vt 0.689643 0.911810 +vt 0.292279 0.703516 +vt 0.300416 0.593589 +vt 0.316689 0.593589 +vt 0.292279 0.854147 +vt 0.300416 0.744220 +vt 0.316689 0.744220 +vt 0.528202 0.720476 +vt 0.536338 0.610549 +vt 0.552611 0.610549 +vt 0.600786 0.720476 +vt 0.608923 0.610549 +vt 0.625196 0.610549 +vt 0.673370 0.720476 +vt 0.681507 0.610549 +vt 0.697780 0.610549 +vt 0.074526 0.827389 +vt 0.082663 0.717461 +vt 0.098936 0.717461 +vt 0.383033 0.720476 +vt 0.391169 0.610549 +vt 0.407442 0.610549 +vt 0.818539 0.274747 +vt 0.826676 0.164820 +vt 0.842949 0.164820 +vt 0.826676 0.610549 +vt 0.842949 0.610549 +vt 0.851085 0.720476 +vt 0.826676 0.761179 +vt 0.842949 0.761179 +vt 0.851085 0.871106 +vt 0.681507 0.761179 +vt 0.697780 0.761179 +vt 0.705917 0.871106 +vt 0.842949 0.569845 +vt 0.826676 0.569845 +vt 0.818539 0.459918 +vt 0.227831 0.717461 +vt 0.244104 0.717461 +vt 0.252241 0.827389 +vt 0.155247 0.717461 +vt 0.171520 0.717461 +vt 0.179657 0.827389 +vt 0.463754 0.610549 +vt 0.480027 0.610549 +vt 0.488163 0.720476 +vt 0.754091 0.610549 +vt 0.770364 0.610549 +vt 0.778501 0.720476 +vt 0.110773 0.257787 +vt 0.110773 0.020352 +vt 0.161488 0.020352 +vt 0.070734 0.020352 +vt 0.070734 0.257787 +vt 0.020019 0.257787 +vt 0.252241 0.020352 +vt 0.252241 0.257787 +vt 0.201526 0.257787 +vt 0.342994 0.257787 +vt 0.292279 0.257787 +vt 0.292279 0.020352 +vt 0.455617 0.020352 +vt 0.528202 0.569846 +vt 0.745955 0.569845 +vt 0.179657 0.298491 +vt 0.219695 0.298491 +vt 0.560748 0.020352 +vt 0.705917 0.020352 +vt 0.070734 0.298491 +vt 0.633332 0.274747 +vt 0.415579 0.569846 +vt 0.488163 0.315450 +vt 0.383033 0.274747 +vt 0.324826 0.298491 +vt 0.705917 0.315450 +vt 0.745955 0.274747 +vt 0.633332 0.315450 +vt 0.098936 0.868092 +vt 0.171520 0.868092 +vt 0.244104 0.868092 +vt 0.188165 0.670427 +vt 0.176658 0.658729 +vt 0.203199 0.676758 +vt 0.170431 0.643445 +vt 0.219472 0.676758 +vt 0.176658 0.611618 +vt 0.170431 0.626902 +vt 0.625196 0.867594 +vt 0.219472 0.593589 +vt 0.234507 0.599920 +vt 0.246014 0.611618 +vt 0.252241 0.643445 +vt 0.234507 0.670427 +vt 0.770364 0.867594 +vt 0.246014 0.658729 +vt 0.842949 0.353504 +vt 0.625196 0.761179 +vt 0.407442 0.761179 +vt 0.778501 0.826890 +vt 0.488163 0.826891 +vt 0.851085 0.086063 +vt 0.560748 0.826890 +vt 0.415579 0.933305 +vt 0.560748 0.933305 +vt 0.488163 0.933305 +vt 0.923670 0.525629 +vt 0.031489 0.658729 +vt 0.058031 0.676758 +vt 0.025262 0.643445 +vt 0.042996 0.670427 +vt 0.089338 0.670427 +vt 0.074304 0.676758 +vt 0.100845 0.658729 +vt 0.100845 0.611618 +vt 0.089338 0.599920 +vt 0.107072 0.626902 +vt 0.042996 0.599920 +vt 0.031489 0.611618 +vt 0.058031 0.593589 +vt 0.891123 0.315450 +vt 0.963708 0.088190 +vt 0.907397 0.088190 +vt 0.907397 0.232659 +vt 0.834812 0.911810 +vt 0.963708 0.678387 +vt 0.963708 0.829018 +vt 0.308552 0.894850 +vt 0.907397 0.829018 +vt 0.947435 0.232659 +vt 0.963708 0.527757 +vt 0.891124 0.678387 +vt 0.947435 0.937560 +vt 0.891124 0.869721 +vt 0.947435 0.341201 +vt 0.689643 0.979648 +vt 0.324825 0.703516 +vt 0.324825 0.854147 +vt 0.560748 0.720476 +vt 0.633332 0.720476 +vt 0.705917 0.720476 +vt 0.107072 0.827389 +vt 0.415579 0.720476 +vt 0.851085 0.274747 +vt 0.818539 0.720476 +vt 0.818539 0.871106 +vt 0.673370 0.871106 +vt 0.851085 0.459918 +vt 0.219695 0.827389 +vt 0.147110 0.827389 +vt 0.455617 0.720476 +vt 0.745955 0.720476 +vt 0.161488 0.257787 +vt 0.020019 0.020352 +vt 0.201526 0.020352 +vt 0.342994 0.020352 +vn 0.831470 0.555570 0.000001 +vn 0.980785 0.195090 0.000001 +vn 0.980785 -0.195091 0.000000 +vn 0.831469 -0.555571 0.000000 +vn 0.555570 -0.831470 -0.000000 +vn 0.195090 -0.980785 -0.000000 +vn -0.195091 -0.980785 -0.000001 +vn -0.555571 -0.831469 -0.000001 +vn -0.831469 -0.555570 -0.000001 +vn -0.980785 -0.195091 -0.000001 +vn -0.980785 0.195090 -0.000000 +vn -0.831469 0.555571 -0.000000 +vn -0.555570 0.831470 0.000000 +vn -0.195090 0.980785 0.000000 +vn 0.555571 0.831469 0.000001 +vn 0.195091 0.980785 0.000001 +vn 0.643794 0.430169 0.632838 +vn 0.759407 0.151055 0.632838 +vn 0.759407 -0.151056 0.632838 +vn -0.000001 -0.000000 1.000000 +vn 0.643793 -0.430170 0.632838 +vn 0.430168 -0.643794 0.632838 +vn 0.151055 -0.759406 0.632839 +vn -0.151056 -0.759406 0.632839 +vn -0.430169 -0.643793 0.632839 +vn -0.643794 -0.430168 0.632839 +vn -0.759406 -0.151056 0.632839 +vn -0.759405 0.151055 0.632840 +vn -0.643794 0.430169 0.632838 +vn -0.430170 0.643793 0.632839 +vn -0.151056 0.759407 0.632838 +vn 0.151054 0.759407 0.632838 +vn 0.430170 0.643794 0.632838 +vn 0.000001 0.000000 -1.000000 +vn 0.831469 0.555570 0.000000 +vn 0.980785 0.195090 0.000000 +vn 0.980785 -0.195090 -0.000000 +vn 0.195089 -0.980785 0.000000 +vn -0.195091 -0.980785 -0.000000 +vn -0.555570 -0.831469 0.000000 +vn -0.831470 -0.555570 0.000000 +vn -0.980785 -0.195090 0.000000 +vn -0.980785 0.195091 0.000000 +vn 0.555570 0.831470 0.000000 +vn 0.195091 0.980785 0.000000 +vn 0.769680 0.514283 -0.378292 +vn 0.514283 0.769680 -0.378292 +vn 0.180594 0.907899 -0.378292 +vn -0.180593 0.907899 -0.378292 +vn -0.514283 0.769681 -0.378292 +vn -0.769680 0.514284 -0.378291 +vn -0.907900 0.180593 -0.378291 +vn -0.907900 -0.180592 -0.378291 +vn -0.769681 -0.514283 -0.378291 +vn -0.514286 -0.769680 -0.378291 +vn -0.180593 -0.907900 -0.378291 +vn 0.180593 -0.907900 -0.378291 +vn 0.514284 -0.769680 -0.378292 +vn 0.769680 -0.514284 -0.378292 +vn 0.907900 -0.180592 -0.378292 +vn 0.907899 0.180593 -0.378292 +vn 0.707107 0.707107 0.000000 +vn -0.707107 -0.707107 0.000000 +vn -0.707106 0.707108 0.000000 +vn 0.707106 -0.707108 -0.000000 +vn 0.831470 -0.555570 0.000000 +vn -0.831470 -0.555570 -0.000001 +vn -0.831470 0.555570 -0.000000 +vn -0.195090 0.980785 0.000001 +vn 0.555570 0.831469 0.000001 +vn 0.759406 -0.151056 0.632838 +vn 0.000001 0.000003 1.000000 +vn 0.000000 -0.000001 1.000000 +vn 0.000008 -0.000001 1.000000 +vn 0.643793 -0.430169 0.632838 +vn -0.000002 -0.000003 1.000000 +vn -0.000000 0.000001 1.000000 +vn -0.000003 -0.000001 1.000000 +vn -0.000001 -0.000001 1.000000 +vn 0.430167 -0.643794 0.632839 +vn 0.000004 -0.000001 1.000000 +vn -0.643793 -0.430169 0.632839 +vn -0.759406 -0.151055 0.632839 +vn -0.759406 0.151055 0.632838 +vn -0.430170 0.643794 0.632838 +vn -0.151055 0.759407 0.632838 +vn 0.151056 0.759407 0.632838 +vn 0.430169 0.643794 0.632838 +vn 0.000000 0.000001 -1.000000 +vn 0.000008 0.000002 -1.000000 +vn 0.000000 -0.000001 -1.000000 +vn 0.000000 0.000003 -1.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 0.000002 -1.000000 +vn 0.000000 -0.000002 -1.000000 +vn -0.000001 0.000001 -1.000000 +vn 0.000003 0.000002 -1.000000 +vn 0.831470 0.555570 0.000000 +vn 0.000002 0.000002 -1.000000 +vn -0.831469 0.555570 0.000000 +vn 0.555571 0.831469 0.000000 +vn -0.195091 0.980785 0.000000 +vn 0.514284 0.769680 -0.378293 +vn -0.180592 0.907900 -0.378292 +vn -0.769680 0.514284 -0.378292 +vn -0.769681 -0.514284 -0.378291 +vn -0.514284 -0.769681 -0.378291 +vn -0.180592 -0.907900 -0.378291 +vn 0.180592 -0.907900 -0.378291 +vn 0.514284 -0.769680 -0.378291 +vn 0.769680 -0.514283 -0.378292 +vn 0.907899 -0.180593 -0.378292 +vn 0.707107 0.707106 0.000000 +vn -0.707106 0.707107 0.000000 +vn 0.707106 -0.707107 -0.000000 +s off +f 1/1/1 2/2/1 4/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 9/13/5 10/14/5 12/15/5 +f 12/16/6 14/17/6 13/18/6 +f 14/19/7 16/20/7 15/21/7 +f 16/22/8 18/23/8 17/24/8 +f 17/25/9 18/26/9 20/27/9 +f 19/28/10 20/29/10 22/30/10 +f 22/31/11 24/32/11 23/33/11 +f 24/34/12 26/35/12 25/36/12 +f 26/37/13 28/38/13 27/39/13 +f 28/40/14 30/41/14 29/42/14 +f 32/43/15 2/44/15 1/45/15 +f 30/46/16 32/47/16 31/48/16 +f 4/49/17 2/50/17 33/51/17 +f 6/52/18 4/53/18 48/54/18 +f 8/55/19 6/56/19 47/57/19 +f 41/58/20 45/59/20 40/60/20 +f 10/61/21 8/62/21 46/63/21 +f 12/64/22 10/65/22 45/66/22 +f 14/67/23 12/68/23 44/69/23 +f 16/70/24 14/71/24 43/72/24 +f 18/73/25 16/74/25 42/75/25 +f 18/76/26 41/77/26 40/78/26 +f 20/79/27 40/80/27 39/81/27 +f 22/82/28 39/83/28 38/84/28 +f 24/85/29 38/86/29 37/87/29 +f 26/88/30 37/89/30 36/90/30 +f 28/91/31 36/92/31 35/93/31 +f 30/94/32 35/95/32 34/96/32 +f 32/97/33 34/98/33 33/99/33 +f 75/100/34 71/101/34 67/102/34 +f 80/103/35 65/104/35 49/105/35 +f 79/106/36 80/107/36 64/108/36 +f 78/109/37 79/110/37 63/111/37 +f 77/112/4 78/113/4 62/114/4 +f 76/115/5 77/116/5 61/117/5 +f 75/118/38 76/119/38 60/120/38 +f 74/121/39 75/122/39 59/123/39 +f 57/124/40 73/125/40 74/126/40 +f 72/127/41 73/128/41 57/129/41 +f 55/130/42 71/131/42 72/132/42 +f 54/133/43 70/134/43 71/135/43 +f 53/136/12 69/137/12 70/138/12 +f 52/139/13 68/140/13 69/141/13 +f 65/142/44 66/143/44 50/144/44 +f 50/145/45 66/146/45 67/147/45 +f 51/148/14 67/149/14 68/150/14 +f 3/151/46 64/152/46 49/153/46 +f 1/154/47 49/155/47 50/156/47 +f 31/157/48 50/158/48 51/159/48 +f 29/160/49 51/161/49 52/162/49 +f 27/163/50 52/164/50 53/165/50 +f 25/166/51 53/167/51 54/168/51 +f 23/169/52 54/170/52 55/171/52 +f 21/172/53 55/173/53 56/174/53 +f 56/175/54 57/176/54 17/177/54 +f 57/178/55 58/179/55 15/180/55 +f 58/181/56 59/182/56 13/183/56 +f 59/184/57 60/185/57 11/186/57 +f 60/187/58 61/188/58 9/189/58 +f 61/190/59 62/191/59 7/192/59 +f 62/193/60 63/194/60 5/195/60 +f 63/196/61 64/197/61 3/198/61 +f 81/199/62 82/200/62 84/201/62 +f 87/202/63 88/203/63 86/204/63 +f 91/205/64 92/206/64 90/207/64 +f 94/208/65 96/209/65 95/210/65 +f 3/211/1 1/1/1 4/3/1 +f 3/212/2 4/4/2 5/6/2 +f 5/213/3 6/7/3 7/9/3 +f 7/214/66 8/10/66 9/12/66 +f 11/215/5 9/13/5 12/15/5 +f 11/216/6 12/16/6 13/18/6 +f 13/217/7 14/19/7 15/21/7 +f 15/218/8 16/22/8 17/24/8 +f 19/219/67 17/25/67 20/27/67 +f 21/220/10 19/28/10 22/30/10 +f 21/221/43 22/31/43 23/33/43 +f 23/222/68 24/34/68 25/36/68 +f 25/223/13 26/37/13 27/39/13 +f 27/224/69 28/40/69 29/42/69 +f 31/225/70 32/43/70 1/45/70 +f 29/226/16 30/46/16 31/48/16 +f 48/227/17 4/49/17 33/51/17 +f 47/228/18 6/52/18 48/54/18 +f 46/229/71 8/55/71 47/57/71 +f 35/230/72 36/231/72 34/232/72 +f 37/233/73 33/234/73 36/231/73 +f 39/235/74 40/60/74 38/236/74 +f 45/237/75 10/61/75 46/63/75 +f 41/58/76 42/238/76 43/239/76 +f 45/59/73 41/58/73 44/240/73 +f 41/58/77 43/239/77 44/240/77 +f 33/234/78 46/241/78 48/242/78 +f 36/231/79 33/234/79 34/232/79 +f 45/59/79 33/234/79 37/233/79 +f 44/243/80 12/64/80 45/66/80 +f 46/241/81 47/244/81 48/242/81 +f 40/60/79 37/233/79 38/236/79 +f 45/59/79 37/233/79 40/60/79 +f 33/234/79 45/59/79 46/241/79 +f 43/245/23 14/67/23 44/69/23 +f 42/246/24 16/70/24 43/72/24 +f 41/247/25 18/73/25 42/75/25 +f 20/248/82 18/76/82 40/78/82 +f 22/249/83 20/79/83 39/81/83 +f 24/250/84 22/82/84 38/84/84 +f 26/251/29 24/85/29 37/87/29 +f 28/252/85 26/88/85 36/90/85 +f 30/253/86 28/91/86 35/93/86 +f 32/254/87 30/94/87 34/96/87 +f 2/255/88 32/97/88 33/99/88 +f 65/256/89 79/257/89 66/258/89 +f 65/256/90 80/259/90 79/257/90 +f 77/260/91 75/100/91 78/261/91 +f 77/260/92 76/262/92 75/100/92 +f 73/263/93 72/264/93 74/265/93 +f 71/101/94 75/100/94 72/264/94 +f 69/266/95 68/267/95 70/268/95 +f 71/101/89 70/268/89 67/102/89 +f 70/268/96 68/267/96 67/102/96 +f 63/269/36 79/106/36 64/108/36 +f 72/264/97 75/100/97 74/265/97 +f 75/100/89 79/257/89 78/261/89 +f 67/102/93 79/257/93 75/100/93 +f 64/270/98 80/103/98 49/105/98 +f 79/257/99 67/102/99 66/258/99 +f 62/271/37 78/109/37 63/111/37 +f 61/272/4 77/112/4 62/114/4 +f 60/273/5 76/115/5 61/117/5 +f 59/274/6 75/118/6 60/120/6 +f 58/275/39 74/121/39 59/123/39 +f 58/276/40 57/124/40 74/126/40 +f 56/277/41 72/127/41 57/129/41 +f 56/278/42 55/130/42 72/132/42 +f 55/279/11 54/133/11 71/135/11 +f 54/280/100 53/136/100 70/138/100 +f 53/281/13 52/139/13 69/141/13 +f 49/282/101 65/142/101 50/144/101 +f 51/283/45 50/145/45 67/147/45 +f 52/284/102 51/148/102 68/150/102 +f 1/285/46 3/151/46 49/153/46 +f 31/286/103 1/154/103 50/156/103 +f 29/287/48 31/157/48 51/159/48 +f 27/288/104 29/160/104 52/162/104 +f 25/289/50 27/163/50 53/165/50 +f 23/290/105 25/166/105 54/168/105 +f 21/291/52 23/169/52 55/171/52 +f 19/292/53 21/172/53 56/174/53 +f 19/293/106 56/175/106 17/177/106 +f 17/294/107 57/178/107 15/180/107 +f 15/295/108 58/181/108 13/183/108 +f 13/296/109 59/184/109 11/186/109 +f 11/297/110 60/187/110 9/189/110 +f 9/298/111 61/190/111 7/192/111 +f 7/299/112 62/193/112 5/195/112 +f 5/300/61 63/196/61 3/198/61 +f 83/301/113 81/199/113 84/201/113 +f 85/302/63 87/202/63 86/204/63 +f 89/303/114 91/205/114 90/207/114 +f 93/304/115 94/208/115 95/210/115 diff --git a/assets/hbm/models/BombGenericLarge.obj b/assets/hbm/models/BombGenericLarge.obj new file mode 100644 index 000000000..81d5f5930 --- /dev/null +++ b/assets/hbm/models/BombGenericLarge.obj @@ -0,0 +1,685 @@ +# Blender v2.70 (sub 0) OBJ File: 'BombGenericLarge.blend' +# www.blender.org +o Cylinder +v 0.265165 0.640165 -0.914583 +v 0.265165 0.640165 0.960417 +v 0.346455 0.518507 -0.914583 +v 0.346455 0.518506 0.960417 +v 0.375000 0.375000 -0.914583 +v 0.375000 0.375000 0.960417 +v 0.346455 0.231494 -0.914583 +v 0.346454 0.231493 0.960417 +v 0.265165 0.109835 -0.914583 +v 0.265165 0.109835 0.960417 +v 0.143506 0.028545 -0.914583 +v 0.143506 0.028545 0.960416 +v 0.000000 0.000000 -0.914584 +v -0.000000 -0.000000 0.960416 +v -0.143506 0.028546 -0.914584 +v -0.143507 0.028545 0.960416 +v -0.265165 0.109835 -0.914584 +v -0.265165 0.109835 0.960416 +v -0.346454 0.231494 -0.914584 +v -0.346455 0.231493 0.960416 +v -0.375000 0.375000 -0.914584 +v -0.375000 0.375000 0.960416 +v -0.346454 0.518507 -0.914584 +v -0.346455 0.518506 0.960416 +v -0.265165 0.640165 -0.914583 +v -0.265165 0.640165 0.960417 +v -0.143506 0.721455 -0.914583 +v -0.143506 0.721455 0.960417 +v 0.000001 0.750000 -0.914583 +v -0.000000 0.750000 0.960417 +v 0.143507 0.721455 -0.914583 +v 0.143506 0.721454 0.960417 +v 0.132583 0.507582 1.185417 +v 0.071753 0.548227 1.185417 +v 0.000000 0.562500 1.185417 +v -0.071753 0.548227 1.185417 +v -0.132582 0.507583 1.185417 +v -0.173227 0.446753 1.185417 +v -0.187500 0.375000 1.185417 +v -0.173227 0.303247 1.185417 +v -0.132583 0.242418 1.185417 +v -0.071753 0.201773 1.185417 +v -0.000000 0.187500 1.185417 +v 0.071753 0.201773 1.185417 +v 0.132582 0.242417 1.185417 +v 0.173227 0.303247 1.185417 +v 0.187500 0.375000 1.185417 +v 0.173227 0.446753 1.185417 +v 0.132583 0.507582 -1.364583 +v 0.071753 0.548227 -1.364583 +v 0.000000 0.562500 -1.364583 +v -0.071753 0.548227 -1.364583 +v -0.132582 0.507583 -1.364583 +v -0.173227 0.446753 -1.364583 +v -0.187500 0.375000 -1.364583 +v -0.173227 0.303247 -1.364583 +v -0.132583 0.242417 -1.364583 +v -0.071753 0.201773 -1.364583 +v -0.000000 0.187500 -1.364583 +v 0.071753 0.201773 -1.364583 +v 0.132582 0.242417 -1.364583 +v 0.173227 0.303247 -1.364583 +v 0.187500 0.375000 -1.364583 +v 0.173227 0.446753 -1.364583 +v 0.132583 0.507582 -1.664583 +v 0.071753 0.548227 -1.664583 +v 0.000000 0.562500 -1.664583 +v -0.071753 0.548227 -1.664583 +v -0.132582 0.507583 -1.664583 +v -0.173227 0.446753 -1.664583 +v -0.187500 0.375000 -1.664583 +v -0.173227 0.303247 -1.664583 +v -0.132583 0.242417 -1.664583 +v -0.071753 0.201773 -1.664583 +v -0.000000 0.187500 -1.664583 +v 0.071753 0.201773 -1.664583 +v 0.132582 0.242417 -1.664583 +v 0.173227 0.303247 -1.664583 +v 0.187500 0.375000 -1.664583 +v 0.173227 0.446753 -1.664583 +v -0.371231 0.746231 -1.213083 +v 0.371231 0.003769 -1.213083 +v -0.371231 0.746231 -1.591083 +v 0.371231 0.003769 -1.591083 +v -0.371231 0.746231 -1.213083 +v 0.371231 0.003769 -1.213083 +v -0.371231 0.746231 -1.591083 +v 0.371231 0.003769 -1.591083 +v 0.371232 0.746231 -1.213083 +v -0.371231 0.003769 -1.213083 +v 0.371232 0.746231 -1.591083 +v -0.371231 0.003769 -1.591083 +v 0.371232 0.746231 -1.213083 +v -0.371231 0.003769 -1.213083 +v 0.371232 0.746231 -1.591083 +v -0.371231 0.003769 -1.591083 +vt 0.484392 0.017784 +vt 0.484392 0.388294 +vt 0.455678 0.388294 +vt 0.548430 0.388294 +vt 0.519716 0.388294 +vt 0.519716 0.017784 +vt 0.110414 0.631349 +vt 0.081700 0.631349 +vt 0.081700 0.260839 +vt 0.455678 0.794374 +vt 0.455678 0.423863 +vt 0.484392 0.423863 +vt 0.676506 0.388294 +vt 0.647792 0.388294 +vt 0.647792 0.017784 +vt 0.740544 0.017785 +vt 0.740544 0.388295 +vt 0.711830 0.388295 +vt 0.612468 0.794374 +vt 0.583754 0.794374 +vt 0.583754 0.423864 +vt 0.519716 0.794374 +vt 0.519716 0.423863 +vt 0.548430 0.423863 +vt 0.804581 0.423864 +vt 0.804581 0.794374 +vt 0.775868 0.794374 +vt 0.740544 0.794374 +vt 0.711830 0.794374 +vt 0.711830 0.423864 +vt 0.172632 0.260839 +vt 0.201346 0.260839 +vt 0.201346 0.631349 +vt 0.647792 0.794373 +vt 0.647792 0.423863 +vt 0.676506 0.423863 +vt 0.265384 0.260839 +vt 0.265384 0.631349 +vt 0.236670 0.631349 +vt 0.612468 0.017784 +vt 0.612468 0.388295 +vt 0.583754 0.388295 +vt 0.374888 0.631349 +vt 0.346174 0.631349 +vt 0.346174 0.260839 +vt 0.046376 0.260839 +vt 0.046376 0.631349 +vt 0.017662 0.631349 +vt 0.932657 0.651554 +vt 0.903943 0.651554 +vt 0.911122 0.594132 +vt 0.932657 0.481286 +vt 0.903943 0.481286 +vt 0.911122 0.423864 +vt 0.932657 0.388295 +vt 0.903943 0.388295 +vt 0.911122 0.330872 +vt 0.305356 0.682673 +vt 0.244167 0.723842 +vt 0.254319 0.672450 +vt 0.932657 0.744546 +vt 0.903943 0.744546 +vt 0.911122 0.687123 +vt 0.484392 0.887365 +vt 0.455678 0.887365 +vt 0.462856 0.829943 +vt 0.676506 0.887365 +vt 0.647792 0.887365 +vt 0.654970 0.829942 +vt 0.548430 0.887365 +vt 0.519716 0.887365 +vt 0.526894 0.829942 +vt 0.201346 0.855971 +vt 0.172632 0.855971 +vt 0.179811 0.798548 +vt 0.711830 0.887365 +vt 0.719008 0.829943 +vt 0.733365 0.829943 +vt 0.775868 0.887365 +vt 0.783046 0.829942 +vt 0.797403 0.829942 +vt 0.839905 0.876176 +vt 0.847084 0.818753 +vt 0.861441 0.818753 +vt 0.583754 0.887365 +vt 0.590933 0.829943 +vt 0.605290 0.829943 +vt 0.903943 0.206837 +vt 0.911122 0.149415 +vt 0.925479 0.149415 +vt 0.903943 0.113846 +vt 0.911122 0.056423 +vt 0.925479 0.056423 +vt 0.903943 0.876176 +vt 0.911122 0.818753 +vt 0.925479 0.818753 +vt 0.172632 0.948962 +vt 0.179811 0.891540 +vt 0.194168 0.891540 +vt 0.346174 0.696029 +vt 0.412857 0.682673 +vt 0.346174 0.710485 +vt 0.982338 0.242406 +vt 0.982338 0.301688 +vt 0.967981 0.301688 +vt 0.662149 0.922934 +vt 0.676506 0.922934 +vt 0.676506 0.982215 +vt 0.953624 0.911745 +vt 0.967981 0.911745 +vt 0.967981 0.971026 +vt 0.534073 0.922934 +vt 0.534073 0.982215 +vt 0.519716 0.982215 +vt 0.740544 0.982216 +vt 0.726187 0.982216 +vt 0.726187 0.922934 +vt 0.903943 0.911745 +vt 0.918300 0.911745 +vt 0.918300 0.971026 +vt 0.790224 0.982215 +vt 0.775868 0.982215 +vt 0.775868 0.922934 +vt 0.246812 0.966077 +vt 0.246812 0.906795 +vt 0.261169 0.906795 +vt 0.346174 0.906795 +vt 0.360531 0.906795 +vt 0.360531 0.966077 +vt 0.967981 0.653414 +vt 0.967981 0.594132 +vt 0.982338 0.594132 +vt 0.612468 0.922934 +vt 0.612468 0.982216 +vt 0.598111 0.982216 +vt 0.967981 0.206837 +vt 0.967981 0.147555 +vt 0.982338 0.147555 +vt 0.470035 0.922934 +vt 0.484392 0.922934 +vt 0.484392 0.982216 +vt 0.403994 0.966077 +vt 0.403994 0.906795 +vt 0.418351 0.906795 +vt 0.296493 0.966077 +vt 0.296493 0.906795 +vt 0.310850 0.906795 +vt 0.854262 0.971026 +vt 0.854262 0.911745 +vt 0.868619 0.911745 +vt 0.172632 0.762979 +vt 0.179811 0.666918 +vt 0.194168 0.666918 +vt 0.396816 0.775165 +vt 0.411173 0.775165 +vt 0.418351 0.871226 +vt 0.282136 0.871226 +vt 0.289315 0.775165 +vt 0.303672 0.775165 +vt 0.839905 0.388295 +vt 0.847084 0.292233 +vt 0.861441 0.292233 +vt 0.017662 0.762979 +vt 0.024841 0.666918 +vt 0.039198 0.666918 +vt 0.839905 0.113846 +vt 0.847084 0.017785 +vt 0.861441 0.017785 +vt 0.775868 0.388295 +vt 0.783046 0.292234 +vt 0.797403 0.292234 +vt 0.839905 0.651554 +vt 0.847084 0.555493 +vt 0.861441 0.555493 +vt 0.847084 0.687123 +vt 0.861441 0.687123 +vt 0.868619 0.783184 +vt 0.024840 0.798548 +vt 0.039197 0.798548 +vt 0.046376 0.894609 +vt 0.103235 0.894609 +vt 0.088878 0.894609 +vt 0.081700 0.798548 +vt 0.861441 0.245476 +vt 0.847084 0.245476 +vt 0.839905 0.149415 +vt 0.847084 0.423864 +vt 0.861441 0.423864 +vt 0.868619 0.519925 +vt 0.783046 0.149415 +vt 0.797403 0.149415 +vt 0.804581 0.245476 +vt 0.783046 0.017785 +vt 0.797403 0.017784 +vt 0.804581 0.113846 +vt 0.088878 0.666918 +vt 0.103235 0.666918 +vt 0.110414 0.762979 +vt 0.201346 0.225270 +vt 0.127166 0.225270 +vt 0.127166 0.017785 +vt 0.420354 0.017784 +vt 0.420354 0.225270 +vt 0.346174 0.225270 +vt 0.236670 0.225270 +vt 0.236670 0.017784 +vt 0.310850 0.017784 +vt 0.091842 0.017785 +vt 0.091842 0.225270 +vt 0.017662 0.225270 +vt 0.455678 0.017784 +vt 0.548430 0.017784 +vt 0.110414 0.260839 +vt 0.484392 0.794374 +vt 0.676506 0.017785 +vt 0.711830 0.017784 +vt 0.612468 0.423864 +vt 0.548430 0.794374 +vt 0.775868 0.423864 +vt 0.740544 0.423864 +vt 0.172632 0.631349 +vt 0.676506 0.794373 +vt 0.236670 0.260839 +vt 0.583754 0.017784 +vt 0.374888 0.260839 +vt 0.017662 0.260839 +vt 0.925479 0.594132 +vt 0.925479 0.423864 +vt 0.925479 0.330872 +vt 0.254319 0.734064 +vt 0.267583 0.739596 +vt 0.925479 0.687123 +vt 0.244167 0.682673 +vt 0.238673 0.696029 +vt 0.281940 0.739596 +vt 0.477213 0.829943 +vt 0.310850 0.696029 +vt 0.310850 0.710485 +vt 0.305356 0.723842 +vt 0.295204 0.734064 +vt 0.281940 0.666918 +vt 0.295204 0.672450 +vt 0.238673 0.710485 +vt 0.267583 0.666918 +vt 0.669327 0.829942 +vt 0.541251 0.829942 +vt 0.194168 0.798548 +vt 0.740544 0.887365 +vt 0.804581 0.887365 +vt 0.868619 0.876176 +vt 0.612468 0.887365 +vt 0.932657 0.206837 +vt 0.932657 0.113846 +vt 0.932657 0.876176 +vt 0.201346 0.948962 +vt 0.361820 0.734064 +vt 0.402705 0.734064 +vt 0.389441 0.739596 +vt 0.375084 0.666918 +vt 0.402705 0.672450 +vt 0.418351 0.696029 +vt 0.418351 0.710485 +vt 0.412857 0.723842 +vt 0.375084 0.739596 +vt 0.967981 0.242406 +vt 0.351668 0.682673 +vt 0.361820 0.672450 +vt 0.662149 0.982215 +vt 0.351668 0.723842 +vt 0.389441 0.666918 +vt 0.953624 0.971026 +vt 0.519716 0.922934 +vt 0.740544 0.922934 +vt 0.903943 0.971026 +vt 0.790224 0.922934 +vt 0.261169 0.966077 +vt 0.346174 0.966077 +vt 0.982338 0.653414 +vt 0.598111 0.922934 +vt 0.982338 0.206837 +vt 0.470035 0.982216 +vt 0.418351 0.966077 +vt 0.310850 0.966077 +vt 0.868619 0.971026 +vt 0.201346 0.762979 +vt 0.389638 0.871226 +vt 0.310850 0.871226 +vt 0.868619 0.388295 +vt 0.046376 0.762979 +vt 0.868619 0.113846 +vt 0.804582 0.388295 +vt 0.868619 0.651554 +vt 0.839905 0.783184 +vt 0.017662 0.894609 +vt 0.110414 0.798548 +vt 0.868619 0.149415 +vt 0.839905 0.519925 +vt 0.775868 0.245476 +vt 0.775868 0.113846 +vt 0.081700 0.762979 +vt 0.201346 0.017784 +vt 0.346174 0.017784 +vt 0.310850 0.225270 +vt 0.017662 0.017784 +vn 0.831470 0.555569 0.000001 +vn 0.980785 0.195090 0.000000 +vn 0.980785 -0.195091 0.000000 +vn 0.831470 -0.555570 0.000000 +vn 0.555570 -0.831470 -0.000000 +vn 0.195090 -0.980785 -0.000000 +vn -0.195091 -0.980785 -0.000000 +vn -0.555571 -0.831469 -0.000001 +vn -0.831470 -0.555570 -0.000001 +vn -0.980785 -0.195090 -0.000000 +vn -0.980785 0.195090 -0.000000 +vn -0.831469 0.555571 -0.000000 +vn -0.555570 0.831470 0.000000 +vn -0.195090 0.980785 0.000000 +vn 0.555571 0.831469 0.000000 +vn 0.195091 0.980785 0.000000 +vn 0.643794 0.430169 0.632838 +vn 0.759407 0.151055 0.632837 +vn 0.759406 -0.151056 0.632838 +vn 0.000001 -0.000001 1.000000 +vn 0.643793 -0.430170 0.632838 +vn 0.430169 -0.643794 0.632838 +vn 0.151054 -0.759406 0.632839 +vn -0.151055 -0.759406 0.632839 +vn -0.430170 -0.643793 0.632839 +vn -0.643793 -0.430168 0.632839 +vn -0.759406 -0.151056 0.632838 +vn -0.759407 0.151054 0.632838 +vn -0.643794 0.430170 0.632838 +vn -0.430168 0.643795 0.632838 +vn -0.151056 0.759406 0.632839 +vn 0.151056 0.759407 0.632838 +vn 0.430169 0.643794 0.632838 +vn 0.000000 -0.000000 -1.000000 +vn 0.831470 0.555570 0.000000 +vn 0.980785 0.195091 0.000000 +vn 0.980785 -0.195090 -0.000000 +vn 0.831469 -0.555570 0.000000 +vn -0.555571 -0.831469 0.000000 +vn -0.831470 -0.555569 0.000000 +vn -0.980785 0.195091 0.000000 +vn -0.831470 0.555570 0.000000 +vn 0.555570 0.831470 0.000000 +vn 0.769680 0.514283 -0.378292 +vn 0.514284 0.769680 -0.378292 +vn 0.180592 0.907899 -0.378293 +vn -0.180593 0.907899 -0.378292 +vn -0.514282 0.769681 -0.378292 +vn -0.769680 0.514284 -0.378291 +vn -0.907900 0.180593 -0.378291 +vn -0.907900 -0.180592 -0.378291 +vn -0.769681 -0.514284 -0.378290 +vn -0.514284 -0.769680 -0.378291 +vn -0.180593 -0.907900 -0.378291 +vn 0.180592 -0.907900 -0.378291 +vn 0.514284 -0.769680 -0.378292 +vn 0.769680 -0.514284 -0.378292 +vn 0.907899 -0.180592 -0.378292 +vn 0.907899 0.180593 -0.378292 +vn 0.707107 0.707107 0.000000 +vn -0.707107 -0.707107 0.000000 +vn -0.707106 0.707108 0.000000 +vn 0.707106 -0.707108 0.000000 +vn 0.831470 0.555570 0.000001 +vn -0.980785 -0.195091 -0.000000 +vn 0.643794 0.430170 0.632837 +vn 0.759407 -0.151056 0.632837 +vn 0.000000 0.000000 1.000000 +vn 0.643794 -0.430169 0.632838 +vn 0.000000 -0.000002 1.000000 +vn -0.000001 -0.000001 1.000000 +vn 0.430168 -0.643794 0.632839 +vn -0.000004 -0.000001 1.000000 +vn 0.000007 -0.000002 1.000000 +vn 0.000002 0.000004 1.000000 +vn 0.000005 -0.000002 1.000000 +vn 0.000000 0.000003 1.000000 +vn 0.000000 -0.000001 1.000000 +vn -0.000002 -0.000001 1.000000 +vn -0.000003 -0.000001 1.000000 +vn 0.151054 -0.759406 0.632838 +vn -0.151056 -0.759405 0.632839 +vn -0.430169 -0.643793 0.632839 +vn -0.643793 -0.430169 0.632839 +vn -0.759406 -0.151055 0.632839 +vn -0.759406 0.151055 0.632838 +vn -0.643794 0.430168 0.632838 +vn -0.430170 0.643793 0.632839 +vn -0.151055 0.759407 0.632838 +vn 0.430170 0.643794 0.632838 +vn 0.000003 0.000004 -1.000000 +vn 0.000005 0.000003 -1.000000 +vn -0.000007 0.000002 -1.000000 +vn -0.000004 0.000000 -1.000000 +vn 0.000000 0.000001 -1.000000 +vn -0.000002 0.000000 -1.000000 +vn 0.000001 -0.000001 -1.000000 +vn 0.000000 0.000002 -1.000000 +vn 0.000002 -0.000001 -1.000000 +vn 0.000007 0.000005 -1.000000 +vn 0.000001 0.000002 -1.000000 +vn -0.555570 -0.831470 0.000000 +vn -0.831470 -0.555570 0.000000 +vn -0.195091 0.980785 0.000000 +vn 0.514284 0.769679 -0.378292 +vn 0.180593 0.907899 -0.378292 +vn -0.180592 0.907900 -0.378292 +vn -0.514284 0.769680 -0.378291 +vn -0.769680 0.514285 -0.378291 +vn -0.907900 -0.180593 -0.378291 +vn -0.769680 -0.514284 -0.378291 +vn -0.514284 -0.769681 -0.378291 +vn 0.180593 -0.907900 -0.378291 +vn 0.514284 -0.769680 -0.378291 +vn 0.907899 -0.180593 -0.378292 +vn 0.907899 0.180592 -0.378292 +vn -0.707106 0.707107 0.000000 +s off +f 1/1/1 2/2/1 4/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 7/10/4 8/11/4 10/12/4 +f 10/13/5 12/14/5 11/15/5 +f 11/16/6 12/17/6 14/18/6 +f 14/19/7 16/20/7 15/21/7 +f 15/22/8 16/23/8 18/24/8 +f 17/25/9 18/26/9 20/27/9 +f 20/28/10 22/29/10 21/30/10 +f 22/31/11 24/32/11 23/33/11 +f 23/34/12 24/35/12 26/36/12 +f 25/37/13 26/38/13 28/39/13 +f 27/40/14 28/41/14 30/42/14 +f 32/43/15 2/44/15 1/45/15 +f 29/46/16 30/47/16 32/48/16 +f 4/49/17 2/50/17 33/51/17 +f 6/52/18 4/53/18 48/54/18 +f 8/55/19 6/56/19 47/57/19 +f 44/58/20 36/59/20 40/60/20 +f 10/61/21 8/62/21 46/63/21 +f 12/64/22 10/65/22 45/66/22 +f 14/67/23 12/68/23 44/69/23 +f 16/70/24 14/71/24 43/72/24 +f 18/73/25 16/74/25 42/75/25 +f 18/76/26 41/77/26 40/78/26 +f 20/79/27 40/80/27 39/81/27 +f 22/82/28 39/83/28 38/84/28 +f 24/85/29 38/86/29 37/87/29 +f 26/88/30 37/89/30 36/90/30 +f 28/91/31 36/92/31 35/93/31 +f 30/94/32 35/95/32 34/96/32 +f 32/97/33 34/98/33 33/99/33 +f 69/100/34 79/101/34 70/102/34 +f 64/103/35 80/104/35 65/105/35 +f 79/106/36 80/107/36 64/108/36 +f 78/109/37 79/110/37 63/111/37 +f 61/112/38 77/113/38 78/114/38 +f 76/115/5 77/116/5 61/117/5 +f 75/118/6 76/119/6 60/120/6 +f 74/121/7 75/122/7 59/123/7 +f 57/124/39 73/125/39 74/126/39 +f 72/127/40 73/128/40 57/129/40 +f 55/130/10 71/131/10 72/132/10 +f 54/133/41 70/134/41 71/135/41 +f 53/136/42 69/137/42 70/138/42 +f 68/139/13 69/140/13 53/141/13 +f 49/142/43 65/143/43 66/144/43 +f 50/145/16 66/146/16 67/147/16 +f 51/148/14 67/149/14 68/150/14 +f 3/151/44 64/152/44 49/153/44 +f 49/154/45 50/155/45 31/156/45 +f 31/157/46 50/158/46 51/159/46 +f 29/160/47 51/161/47 52/162/47 +f 27/163/48 52/164/48 53/165/48 +f 25/166/49 53/167/49 54/168/49 +f 23/169/50 54/170/50 55/171/50 +f 21/172/51 55/173/51 56/174/51 +f 56/175/52 57/176/52 17/177/52 +f 57/178/53 58/179/53 15/180/53 +f 58/181/54 59/182/54 13/183/54 +f 59/184/55 60/185/55 11/186/55 +f 60/187/56 61/188/56 9/189/56 +f 61/190/57 62/191/57 7/192/57 +f 62/193/58 63/194/58 5/195/58 +f 63/196/59 64/197/59 3/198/59 +f 82/199/60 84/200/60 83/201/60 +f 87/202/61 88/203/61 86/204/61 +f 91/205/62 92/206/62 90/207/62 +f 93/208/63 94/209/63 96/210/63 +f 3/211/64 1/1/64 4/3/64 +f 3/212/2 4/4/2 5/6/2 +f 5/213/3 6/7/3 7/9/3 +f 9/214/4 7/10/4 10/12/4 +f 9/215/5 10/13/5 11/15/5 +f 13/216/6 11/16/6 14/18/6 +f 13/217/7 14/19/7 15/21/7 +f 17/218/8 15/22/8 18/24/8 +f 19/219/9 17/25/9 20/27/9 +f 19/220/65 20/28/65 21/30/65 +f 21/221/41 22/31/41 23/33/41 +f 25/222/12 23/34/12 26/36/12 +f 27/223/13 25/37/13 28/39/13 +f 29/224/14 27/40/14 30/42/14 +f 31/225/15 32/43/15 1/45/15 +f 31/226/16 29/46/16 32/48/16 +f 48/227/66 4/49/66 33/51/66 +f 47/228/18 6/52/18 48/54/18 +f 46/229/67 8/55/67 47/57/67 +f 35/230/68 36/59/68 34/231/68 +f 45/232/69 10/61/69 46/63/69 +f 39/233/70 40/60/70 38/234/70 +f 44/58/71 33/235/71 36/59/71 +f 44/236/72 12/64/72 45/66/72 +f 45/237/73 33/235/73 44/58/73 +f 45/237/74 46/238/74 47/239/74 +f 47/239/70 48/240/70 33/235/70 +f 42/241/75 43/242/75 44/58/75 +f 40/60/76 37/243/76 38/234/76 +f 36/59/77 33/235/77 34/231/77 +f 45/237/78 47/239/78 33/235/78 +f 40/60/79 42/241/79 44/58/79 +f 40/60/68 41/244/68 42/241/68 +f 36/59/80 37/243/80 40/60/80 +f 43/245/81 14/67/81 44/69/81 +f 42/246/82 16/70/82 43/72/82 +f 41/247/83 18/73/83 42/75/83 +f 20/248/84 18/76/84 40/78/84 +f 22/249/85 20/79/85 39/81/85 +f 24/250/86 22/82/86 38/84/86 +f 26/251/87 24/85/87 37/87/87 +f 28/252/88 26/88/88 36/90/88 +f 30/253/89 28/91/89 35/93/89 +f 32/254/32 30/94/32 34/96/32 +f 2/255/90 32/97/90 33/99/90 +f 72/256/91 75/257/91 74/258/91 +f 79/101/92 66/259/92 80/260/92 +f 79/101/93 78/261/93 77/262/93 +f 77/262/94 76/263/94 75/257/94 +f 73/264/34 72/256/34 74/258/34 +f 72/256/95 79/101/95 77/262/95 +f 49/265/35 64/103/35 65/105/35 +f 69/100/96 68/266/96 67/267/96 +f 63/268/2 79/106/2 64/108/2 +f 75/257/97 72/256/97 77/262/97 +f 72/256/98 71/269/98 70/102/98 +f 79/101/99 67/267/99 66/259/99 +f 66/259/100 65/270/100 80/260/100 +f 70/102/101 79/101/101 72/256/101 +f 69/100/34 67/267/34 79/101/34 +f 62/271/3 78/109/3 63/111/3 +f 62/272/38 61/112/38 78/114/38 +f 60/273/5 76/115/5 61/117/5 +f 59/274/6 75/118/6 60/120/6 +f 58/275/7 74/121/7 59/123/7 +f 58/276/102 57/124/102 74/126/102 +f 56/277/103 72/127/103 57/129/103 +f 56/278/10 55/130/10 72/132/10 +f 55/279/11 54/133/11 71/135/11 +f 54/280/12 53/136/12 70/138/12 +f 52/281/13 68/139/13 53/141/13 +f 50/282/15 49/142/15 66/144/15 +f 51/283/16 50/145/16 67/147/16 +f 52/284/104 51/148/104 68/150/104 +f 1/285/44 3/151/44 49/153/44 +f 1/286/105 49/154/105 31/156/105 +f 29/287/106 31/157/106 51/159/106 +f 27/288/107 29/160/107 52/162/107 +f 25/289/108 27/163/108 53/165/108 +f 23/290/109 25/166/109 54/168/109 +f 21/291/50 23/169/50 55/171/50 +f 19/292/110 21/172/110 56/174/110 +f 19/293/111 56/175/111 17/177/111 +f 17/294/112 57/178/112 15/180/112 +f 15/295/54 58/181/54 13/183/54 +f 13/296/113 59/184/113 11/186/113 +f 11/297/114 60/187/114 9/189/114 +f 9/298/57 61/190/57 7/192/57 +f 7/299/115 62/193/115 5/195/115 +f 5/300/116 63/196/116 3/198/116 +f 81/301/60 82/199/60 83/201/60 +f 85/302/61 87/202/61 86/204/61 +f 89/303/117 91/205/117 90/207/117 +f 95/304/63 93/208/63 96/210/63 diff --git a/assets/hbm/models/FatMan.obj b/assets/hbm/models/FatMan.obj new file mode 100644 index 000000000..744d78dd1 --- /dev/null +++ b/assets/hbm/models/FatMan.obj @@ -0,0 +1,1118 @@ +# Blender v2.70 (sub 0) OBJ File: 'FatMan.blend' +# www.blender.org +o Cube.002_Cube.004 +v 1.700000 1.100000 0.350000 +v 1.700000 0.400000 0.350000 +v 1.700000 1.100000 -0.350000 +v 1.700000 0.400000 -0.350000 +v 1.300000 1.050000 0.000000 +v 1.700000 1.050000 0.000001 +v 1.300000 0.992705 -0.176335 +v 1.700000 0.992705 -0.176335 +v 1.300000 0.842705 -0.285317 +v 1.700000 0.842705 -0.285317 +v 1.300000 0.657295 -0.285317 +v 1.700000 0.657295 -0.285317 +v 1.300000 0.507295 -0.176336 +v 1.700000 0.507295 -0.176336 +v 1.300000 0.450000 -0.000000 +v 1.700000 0.450000 0.000000 +v 1.300000 0.507295 0.176335 +v 1.700000 0.507295 0.176336 +v 1.300000 0.657295 0.285317 +v 1.700000 0.657295 0.285317 +v 1.300000 0.842705 0.285317 +v 1.700000 0.842705 0.285317 +v 1.300000 0.992705 0.176336 +v 1.700000 0.992705 0.176336 +v 1.300000 0.100000 0.650000 +v 1.300000 0.100000 -0.650000 +v 1.900000 0.100000 -0.650000 +v 1.900000 0.100000 0.650000 +v 1.300000 1.400000 0.650000 +v 1.300000 1.400000 -0.650000 +v 1.900000 1.400000 -0.650000 +v 1.900000 1.400000 0.650000 +v 1.300000 0.000000 0.750000 +v 1.900000 0.000000 0.750000 +v 1.300000 1.500000 0.750000 +v 1.900000 1.500000 0.750000 +v 1.300000 0.000000 -0.750000 +v 1.900000 0.000000 -0.750000 +v 1.300000 1.500000 -0.750000 +v 1.900000 1.500000 -0.750000 +v 0.447220 1.292705 0.394294 +v 0.447220 0.542709 0.637987 +v 0.447215 0.079180 -0.000000 +v 0.447220 0.542709 -0.637987 +v 0.447220 1.292705 -0.394294 +v -0.447220 0.957291 0.637987 +v -0.447220 0.207295 0.394294 +v -0.447220 0.207295 -0.394294 +v -0.447220 0.957291 -0.637987 +v -0.447215 1.420820 -0.000000 +v -1.000000 0.750001 -0.000000 +v 0.525738 0.947151 0.606759 +v 0.525736 1.387985 -0.000000 +v 0.525736 0.233858 0.374998 +v 0.525736 0.233858 -0.374998 +v 0.525738 0.947151 -0.606759 +v 0.000000 1.463293 0.231759 +v 0.000000 1.463293 -0.231760 +v -0.000000 0.750000 0.750000 +v 0.000000 1.190839 0.606762 +v -0.000000 0.036707 0.231759 +v -0.000000 0.309161 0.606762 +v -0.000000 0.309161 -0.606763 +v -0.000000 0.036707 -0.231760 +v 0.000000 1.190839 -0.606763 +v -0.000000 0.750000 -0.750000 +v -0.525736 1.266142 0.374998 +v -0.525738 0.552849 0.606759 +v -0.525736 0.112014 -0.000000 +v -0.525738 0.552849 -0.606759 +v -0.525736 1.266142 -0.374998 +v -0.850654 0.871842 0.374996 +v -0.850652 1.144298 -0.000000 +v -0.850654 0.431009 0.231758 +v -0.850654 0.431009 -0.231759 +v -0.850654 0.871842 -0.374997 +v 1.300000 0.750000 0.650000 +v 1.900000 0.750000 0.650000 +v 1.900000 0.750000 -0.650000 +v 1.300000 0.750000 -0.650000 +v 1.300000 0.100000 -0.000000 +v 1.900000 0.100000 -0.000000 +v 1.300000 1.400000 -0.000000 +v 1.900000 1.400000 -0.000000 +v 0.900000 0.750000 -0.150000 +v 1.700000 0.750000 -0.150000 +v 0.899999 0.643934 -0.106066 +v 1.700000 0.643934 -0.106066 +v 0.899999 0.600000 0.000000 +v 1.700000 0.600000 0.000000 +v 0.899999 0.643934 0.106066 +v 1.700000 0.643934 0.106066 +v 0.900000 0.750000 0.150000 +v 1.700000 0.750000 0.150000 +v 0.900000 0.856066 0.106066 +v 1.700000 0.856066 0.106066 +v 0.900000 0.900000 0.000000 +v 1.700000 0.900000 0.000000 +v 0.900000 0.856066 -0.106066 +v 1.700000 0.856066 -0.106066 +v 1.700000 1.100000 0.350000 +v 1.700000 0.400000 0.350000 +v 1.700000 1.100000 -0.350000 +v 1.700000 0.400000 -0.350000 +v 1.300000 0.100000 0.650000 +v 1.300000 0.100000 -0.650000 +v 1.300000 1.400000 0.650000 +v 1.300000 1.400000 -0.650000 +v 1.300000 0.750000 0.650000 +v 1.300000 0.750000 -0.650000 +v 1.300000 0.100000 -0.000000 +v 1.300000 1.400000 -0.000000 +v 1.300000 0.100000 0.650000 +v 1.300000 0.100000 -0.650000 +v 1.900000 0.100000 -0.650000 +v 1.900000 0.100000 0.650000 +v 1.300000 1.400000 0.650000 +v 1.300000 1.400000 -0.650000 +v 1.900000 1.400000 -0.650000 +v 1.900000 1.400000 0.650000 +v 1.300000 0.750000 0.650000 +v 1.900000 0.750000 0.650000 +v 1.900000 0.750000 -0.650000 +v 1.300000 0.750000 -0.650000 +v 1.300000 0.100000 -0.000000 +v 1.900000 0.100000 -0.000000 +v 1.300000 1.400000 -0.000000 +v 1.900000 1.400000 -0.000000 +v 0.900000 0.750000 -0.150000 +v 1.700000 0.750000 -0.150000 +v 0.899999 0.643934 -0.106066 +v 1.700000 0.643934 -0.106066 +v 0.899999 0.600000 0.000000 +v 1.700000 0.600000 0.000000 +v 0.899999 0.643934 0.106066 +v 1.700000 0.643934 0.106066 +v 0.900000 0.750000 0.150000 +v 1.700000 0.750000 0.150000 +v 0.900000 0.856066 0.106066 +v 1.700000 0.856066 0.106066 +v 0.900000 0.900000 0.000000 +v 1.700000 0.900000 0.000000 +v 0.900000 0.856066 -0.106066 +v 1.700000 0.856066 -0.106066 +v -0.850000 1.000000 -0.250000 +v -0.850000 1.000000 -0.350000 +v -0.550000 1.000000 -0.350000 +v -0.550000 1.000000 -0.250000 +v -0.850000 1.100000 -0.250000 +v -0.850000 1.100000 -0.350000 +v -0.550000 1.100000 -0.350000 +v -0.550000 1.100000 -0.250000 +v -0.850000 1.000000 0.350000 +v -0.850000 1.000000 0.250000 +v -0.550000 1.000000 0.250000 +v -0.550000 1.000000 0.350000 +v -0.850000 1.100000 0.350000 +v -0.850000 1.100000 0.250000 +v -0.550000 1.100000 0.250000 +v -0.550000 1.100000 0.350000 +v -0.850000 0.400000 -0.250000 +v -0.850000 0.400000 -0.350000 +v -0.550000 0.400000 -0.350000 +v -0.550000 0.400000 -0.250000 +v -0.850000 0.500000 -0.250000 +v -0.850000 0.500000 -0.350000 +v -0.550000 0.500000 -0.350000 +v -0.550000 0.500000 -0.250000 +v -0.850000 0.400000 0.350000 +v -0.850000 0.400000 0.250000 +v -0.550000 0.400000 0.250000 +v -0.550000 0.400000 0.350000 +v -0.850000 0.500000 0.350000 +v -0.850000 0.500000 0.250000 +v -0.550000 0.500000 0.250000 +v -0.550000 0.500000 0.350000 +vt 0.928410 0.959808 +vt 0.928410 0.882755 +vt 0.957443 0.882755 +vt 0.912710 0.451164 +vt 0.941743 0.451164 +vt 0.941743 0.498974 +vt 0.734506 0.014971 +vt 0.739889 0.014971 +vt 0.739889 0.044095 +vt 0.946969 0.498974 +vt 0.946969 0.451164 +vt 0.976001 0.451164 +vt 0.391369 0.961560 +vt 0.391369 0.884507 +vt 0.420401 0.884507 +vt 0.758120 0.874370 +vt 0.787152 0.874370 +vt 0.787152 0.951422 +vt 0.592696 0.933176 +vt 0.621729 0.933176 +vt 0.621729 0.980986 +vt 0.734506 0.450692 +vt 0.739889 0.450692 +vt 0.739889 0.479816 +vt 0.907822 0.150034 +vt 0.911148 0.073054 +vt 0.916529 0.025550 +vt 0.519474 0.894529 +vt 0.519474 0.971582 +vt 0.490442 0.971582 +vt 0.010350 0.983877 +vt 0.010350 0.936067 +vt 0.039383 0.936067 +vt 0.197711 0.002621 +vt 0.241260 0.002621 +vt 0.241260 0.286581 +vt 0.279432 0.947830 +vt 0.260560 0.947830 +vt 0.260560 0.904144 +vt 0.687230 0.938385 +vt 0.668359 0.938385 +vt 0.668359 0.894699 +vt 0.290034 0.570541 +vt 0.246486 0.570541 +vt 0.246486 0.286581 +vt 0.046162 0.657913 +vt 0.043258 0.614227 +vt 0.043258 0.330267 +vt 0.429111 0.879265 +vt 0.410240 0.879265 +vt 0.420401 0.745009 +vt 0.864854 0.280139 +vt 0.883725 0.280139 +vt 0.873564 0.414394 +vt 0.366334 0.570541 +vt 0.366334 0.286581 +vt 0.396644 0.439483 +vt 0.151840 0.046307 +vt 0.151840 0.330267 +vt 0.148937 0.002621 +vt 0.005516 0.330267 +vt 0.005516 0.614227 +vt 0.002613 0.657913 +vt 0.853890 0.072403 +vt 0.853890 0.244772 +vt 0.818890 0.142360 +vt 0.986585 0.611692 +vt 0.997387 0.596196 +vt 0.997387 0.669777 +vt 0.663133 0.725441 +vt 0.663133 0.889424 +vt 0.626954 0.825418 +vt 0.133766 0.832415 +vt 0.133766 0.947798 +vt 0.100162 0.844914 +vt 0.752894 0.942655 +vt 0.716124 0.856699 +vt 0.752894 0.844245 +vt 0.668359 0.796603 +vt 0.700854 0.725441 +vt 0.700854 0.889457 +vt 0.864854 0.468786 +vt 0.897548 0.419637 +vt 0.897548 0.483515 +vt 0.801567 0.598655 +vt 0.834050 0.497408 +vt 0.834050 0.699902 +vt 0.662300 0.953754 +vt 0.626954 0.947801 +vt 0.662300 0.894666 +vt 0.437427 0.818295 +vt 0.469923 0.725441 +vt 0.469923 0.889457 +vt 0.963960 0.669777 +vt 0.938460 0.557265 +vt 0.963960 0.551165 +vt 0.917584 0.796386 +vt 0.938109 0.705144 +vt 0.938109 0.870704 +vt 0.912359 0.705144 +vt 0.912359 0.877513 +vt 0.884375 0.776971 +vt 0.150627 0.951027 +vt 0.138992 0.936149 +vt 0.150627 0.832415 +vt 0.859116 0.236250 +vt 0.865799 0.072403 +vt 0.889478 0.236250 +vt 0.813664 0.042279 +vt 0.813664 0.244772 +vt 0.781181 0.143525 +vt 0.819402 0.452508 +vt 0.781181 0.351261 +vt 0.819402 0.250015 +vt 0.752894 0.666634 +vt 0.752894 0.839003 +vt 0.717894 0.769046 +vt 0.254919 0.953691 +vt 0.219573 0.900557 +vt 0.254919 0.894604 +vt 0.886706 0.882755 +vt 0.923184 0.946591 +vt 0.884375 0.946591 +vt 0.840252 0.874370 +vt 0.840252 0.967906 +vt 0.801567 0.877471 +vt 0.558526 0.725441 +vt 0.558526 0.889457 +vt 0.526030 0.796603 +vt 0.138416 0.827172 +vt 0.100162 0.764392 +vt 0.138416 0.663156 +vt 0.090287 0.832414 +vt 0.090287 0.947798 +vt 0.056682 0.935298 +vt 0.596247 0.725441 +vt 0.596247 0.889457 +vt 0.563752 0.818295 +vt 0.192485 0.827172 +vt 0.154231 0.725935 +vt 0.192485 0.663156 +vt 0.794298 0.705144 +vt 0.794298 0.869128 +vt 0.758120 0.769150 +vt 0.354865 0.894604 +vt 0.354865 0.958482 +vt 0.322170 0.909333 +vt 0.901708 0.067161 +vt 0.862899 0.067161 +vt 0.899377 0.003325 +vt 0.991291 0.869364 +vt 0.980488 0.853869 +vt 0.991291 0.795784 +vt 0.158881 0.935298 +vt 0.192485 0.832415 +vt 0.192485 0.947798 +vt 0.094936 0.663156 +vt 0.094936 0.827172 +vt 0.056682 0.764392 +vt 0.842971 0.805122 +vt 0.879150 0.705144 +vt 0.879149 0.869128 +vt 0.039383 0.930825 +vt 0.002613 0.918371 +vt 0.039383 0.832415 +vt 0.845480 0.928589 +vt 0.879149 0.874370 +vt 0.879149 0.947950 +vt 0.991291 0.778724 +vt 0.980488 0.720639 +vt 0.991291 0.705144 +vt 0.839275 0.599820 +vt 0.874275 0.497408 +vt 0.874275 0.669777 +vt 0.796341 0.497408 +vt 0.796341 0.699902 +vt 0.758120 0.598655 +vt 0.824628 0.350096 +vt 0.859628 0.280139 +vt 0.859628 0.452508 +vt 0.316945 0.894604 +vt 0.316945 0.968184 +vt 0.306142 0.952689 +vt 0.857673 0.003282 +vt 0.857673 0.067161 +vt 0.818890 0.065736 +vt 0.967233 0.176487 +vt 0.967233 0.274897 +vt 0.930463 0.188940 +vt 0.801567 0.769150 +vt 0.837745 0.705144 +vt 0.837745 0.869128 +vt 0.040867 0.663156 +vt 0.040867 0.827172 +vt 0.002613 0.725936 +vt 0.264698 0.796018 +vt 0.298303 0.783518 +vt 0.298303 0.898902 +vt 0.214348 0.919326 +vt 0.198612 0.756074 +vt 0.214348 0.755106 +vt 0.934030 0.444153 +vt 0.907822 0.443598 +vt 0.934030 0.280139 +vt 0.514121 0.725441 +vt 0.520804 0.889287 +vt 0.490442 0.889287 +vt 0.969186 0.568257 +vt 0.981359 0.505557 +vt 0.981359 0.669777 +vt 0.974767 0.280139 +vt 0.974767 0.445700 +vt 0.960238 0.342333 +vt 0.963089 0.889484 +vt 0.974724 0.874606 +vt 0.974724 0.993219 +vt 0.621729 0.725441 +vt 0.621729 0.927933 +vt 0.607471 0.826687 +vt 0.290034 0.778276 +vt 0.264698 0.677030 +vt 0.290034 0.575783 +vt 0.907485 0.497408 +vt 0.907485 0.669777 +vt 0.879501 0.597950 +vt 0.975263 0.869364 +vt 0.963089 0.806664 +vt 0.975263 0.705144 +vt 0.943334 0.808511 +vt 0.957864 0.705144 +vt 0.957864 0.870704 +vt 0.933234 0.669777 +vt 0.912710 0.578534 +vt 0.933234 0.504216 +vt 0.955012 0.280139 +vt 0.955012 0.444153 +vt 0.939256 0.280695 +vt 0.386143 0.745009 +vt 0.386143 0.910569 +vt 0.360179 0.906942 +vt 0.930463 0.138062 +vt 0.955962 0.025550 +vt 0.955962 0.144162 +vt 0.257316 0.749864 +vt 0.197711 0.652792 +vt 0.200294 0.575783 +vt 0.297843 0.749864 +vt 0.295260 0.672855 +vt 0.354865 0.575783 +vt 0.775955 0.294100 +vt 0.775955 0.445450 +vt 0.734506 0.361663 +vt 0.986056 0.279448 +vt 0.991438 0.279557 +vt 0.991438 0.445700 +vt 0.710783 0.212826 +vt 0.690137 0.111117 +vt 0.729281 0.002621 +vt 0.369049 0.655249 +vt 0.366334 0.578245 +vt 0.429111 0.575783 +vt 0.692832 0.581926 +vt 0.752894 0.497408 +vt 0.752894 0.661392 +vt 0.710783 0.250015 +vt 0.729281 0.294076 +vt 0.729281 0.460219 +vt 0.978522 0.171244 +vt 0.972459 0.020017 +vt 0.983904 0.004993 +vt 0.775955 0.200687 +vt 0.757514 0.244772 +vt 0.734506 0.133124 +vt 0.148937 0.657913 +vt 0.151840 0.614227 +vt 0.170711 0.614227 +vt 0.706101 0.938385 +vt 0.687230 0.894699 +vt 0.005516 0.046307 +vt 0.002613 0.002621 +vt 0.024387 0.046307 +vt 0.469923 0.894699 +vt 0.469923 0.938386 +vt 0.426374 0.938385 +vt 0.298303 0.947830 +vt 0.279432 0.904144 +vt 0.024387 0.614227 +vt 0.170711 0.046307 +vt 0.526030 0.938385 +vt 0.526030 0.894699 +vt 0.569579 0.894699 +vt 0.197711 0.286581 +vt 0.241260 0.570541 +vt 0.143711 0.002621 +vt 0.143711 0.657913 +vt 0.100162 0.657913 +vt 0.290034 0.286581 +vt 0.246486 0.002621 +vt 0.094936 0.002621 +vt 0.094936 0.657913 +vt 0.051388 0.657913 +vt 0.192485 0.657913 +vt 0.189582 0.614227 +vt 0.189582 0.330267 +vt 0.558546 0.244772 +vt 0.515079 0.242106 +vt 0.500589 0.002621 +vt 0.558526 0.497408 +vt 0.558526 0.716324 +vt 0.500589 0.720198 +vt 0.495364 0.002621 +vt 0.495364 0.241217 +vt 0.437407 0.244772 +vt 0.972459 0.176487 +vt 0.986975 0.191049 +vt 0.986975 0.249297 +vt 0.495364 0.250015 +vt 0.495364 0.488611 +vt 0.437407 0.492166 +vt 0.684911 0.002621 +vt 0.684911 0.241217 +vt 0.626954 0.244772 +vt 0.214348 0.924569 +vt 0.214348 0.968255 +vt 0.199831 0.997379 +vt 0.621728 0.497408 +vt 0.621729 0.716324 +vt 0.563792 0.720198 +vt 0.361108 0.002621 +vt 0.361108 0.286581 +vt 0.330797 0.133680 +vt 0.238445 0.755106 +vt 0.257316 0.755106 +vt 0.248606 0.889361 +vt 0.335994 0.755106 +vt 0.354865 0.755106 +vt 0.346155 0.889361 +vt 0.432181 0.286581 +vt 0.432181 0.570541 +vt 0.401870 0.439483 +vt 0.325571 0.286581 +vt 0.325571 0.570541 +vt 0.295260 0.439483 +vt 0.500589 0.492166 +vt 0.515079 0.252681 +vt 0.558546 0.250015 +vt 0.684891 0.720198 +vt 0.641438 0.717292 +vt 0.626954 0.497408 +vt 0.684911 0.492166 +vt 0.641444 0.489499 +vt 0.626954 0.250015 +vt 0.979949 0.947417 +vt 0.979949 0.903731 +vt 0.994466 0.874606 +vt 0.621729 0.244772 +vt 0.578261 0.242106 +vt 0.563772 0.002621 +vt 0.621729 0.492166 +vt 0.578261 0.489499 +vt 0.563772 0.250015 +vt 0.386143 0.988621 +vt 0.371627 0.959497 +vt 0.371627 0.915811 +vt 0.495364 0.720198 +vt 0.451911 0.717292 +vt 0.437427 0.497408 +vt 0.711891 0.759249 +vt 0.708988 0.759249 +vt 0.708988 0.715563 +vt 0.690137 0.222929 +vt 0.693040 0.222929 +vt 0.693040 0.244772 +vt 0.149006 0.755770 +vt 0.146102 0.755770 +vt 0.146102 0.712084 +vt 0.698266 0.470323 +vt 0.701169 0.470323 +vt 0.701169 0.492166 +vt 0.453374 0.943628 +vt 0.475148 0.943628 +vt 0.475148 0.987314 +vt 0.737898 0.991584 +vt 0.716124 0.991584 +vt 0.716124 0.947898 +vt 0.048996 0.755770 +vt 0.046093 0.755770 +vt 0.046093 0.712084 +vt 0.717427 0.244772 +vt 0.714524 0.244772 +vt 0.714524 0.222929 +vt 0.149006 0.706842 +vt 0.146102 0.706842 +vt 0.146102 0.663156 +vt 0.709298 0.492166 +vt 0.706395 0.492166 +vt 0.706395 0.470323 +vt 0.711891 0.710320 +vt 0.690117 0.710320 +vt 0.690117 0.666634 +vt 0.547805 0.987314 +vt 0.526030 0.987314 +vt 0.526030 0.943628 +vt 0.149006 0.804699 +vt 0.146102 0.804699 +vt 0.146102 0.761013 +vt 0.714524 0.470323 +vt 0.717427 0.470323 +vt 0.717427 0.492166 +vt 0.485216 0.769127 +vt 0.482313 0.769127 +vt 0.482313 0.725441 +vt 0.690137 0.470323 +vt 0.693040 0.470323 +vt 0.693040 0.492166 +vt 0.553030 0.943628 +vt 0.574805 0.943628 +vt 0.574805 0.987314 +vt 0.906150 0.995519 +vt 0.884375 0.995519 +vt 0.884375 0.951833 +vt 0.311897 0.798792 +vt 0.308993 0.798792 +vt 0.308993 0.755106 +vt 0.701169 0.244772 +vt 0.698266 0.244772 +vt 0.698266 0.222929 +vt 0.048996 0.706842 +vt 0.046093 0.706842 +vt 0.046093 0.663156 +vt 0.709298 0.244772 +vt 0.706395 0.244772 +vt 0.706395 0.222929 +vt 0.706101 0.987314 +vt 0.684327 0.987314 +vt 0.684327 0.943628 +vt 0.448148 0.987314 +vt 0.426374 0.987314 +vt 0.426374 0.943628 +vt 0.957443 0.959808 +vt 0.912710 0.498974 +vt 0.734506 0.044095 +vt 0.976001 0.498974 +vt 0.420401 0.961560 +vt 0.758120 0.951422 +vt 0.592696 0.980985 +vt 0.734506 0.479816 +vt 0.925237 0.150413 +vt 0.916529 0.274897 +vt 0.925237 0.073360 +vt 0.921911 0.227393 +vt 0.907822 0.227087 +vt 0.911148 0.274780 +vt 0.039383 0.983877 +vt 0.921911 0.025667 +vt 0.490442 0.894530 +vt 0.046162 0.002621 +vt 0.391369 0.879265 +vt 0.400079 0.745009 +vt 0.902596 0.280139 +vt 0.893886 0.414394 +vt 0.043258 0.046307 +vt 0.366334 0.002621 +vt 0.396644 0.133680 +vt 0.354865 0.748152 +vt 0.257316 0.577495 +vt 0.757514 0.250015 +vt 0.979993 0.430676 +vt 0.729281 0.168764 +vt 0.429111 0.739767 +vt 0.690117 0.658930 +vt 0.690137 0.351723 +vt 0.983904 0.171136 +vt 0.775955 0.049337 +vt 0.706101 0.894699 +vt 0.426374 0.894699 +vt 0.298303 0.904144 +vt 0.569579 0.938385 +vt 0.189582 0.046307 +vt 0.192485 0.002621 +vt 0.197711 0.570541 +vt 0.100162 0.002621 +vt 0.290034 0.002621 +vt 0.051388 0.002621 +vt 0.558546 0.006176 +vt 0.515073 0.500314 +vt 0.451896 0.005287 +vt 0.972459 0.220173 +vt 0.451896 0.252681 +vt 0.641444 0.005287 +vt 0.199831 0.939131 +vt 0.578276 0.500314 +vt 0.361108 0.570541 +vt 0.330797 0.439483 +vt 0.228283 0.889361 +vt 0.219573 0.755106 +vt 0.325832 0.889361 +vt 0.317123 0.755106 +vt 0.401870 0.133680 +vt 0.432181 0.002621 +vt 0.295260 0.133680 +vt 0.325571 0.002621 +vt 0.558546 0.488611 +vt 0.684891 0.501283 +vt 0.684911 0.253570 +vt 0.994466 0.932855 +vt 0.621729 0.006176 +vt 0.621729 0.253570 +vt 0.386143 0.930373 +vt 0.495364 0.501283 +vt 0.711891 0.715563 +vt 0.690137 0.244772 +vt 0.149006 0.712084 +vt 0.698266 0.492166 +vt 0.453374 0.987314 +vt 0.737898 0.947898 +vt 0.048996 0.712084 +vt 0.717427 0.222929 +vt 0.149006 0.663156 +vt 0.709298 0.470323 +vt 0.711891 0.666634 +vt 0.547805 0.943628 +vt 0.149006 0.761013 +vt 0.714524 0.492166 +vt 0.485216 0.725441 +vt 0.690137 0.492166 +vt 0.553030 0.987314 +vt 0.906150 0.951833 +vt 0.311897 0.755106 +vt 0.701169 0.222929 +vt 0.048996 0.663156 +vt 0.709298 0.222929 +vt 0.706101 0.943628 +vt 0.448148 0.943628 +vn 0.000000 0.951057 -0.309016 +vn 0.000001 0.587786 -0.809016 +vn 0.000001 0.000000 -1.000000 +vn 0.000001 -0.587784 -0.809018 +vn 0.000000 -0.951056 -0.309017 +vn -0.000000 -0.951057 0.309017 +vn -0.000001 -0.587786 0.809016 +vn -0.000001 -0.000000 1.000000 +vn 1.000000 0.000003 0.000001 +vn -0.000000 0.951056 0.309018 +vn -0.000001 0.587784 0.809017 +vn 0.000000 1.000000 0.000000 +vn 0.000000 0.000000 1.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 -1.000000 0.000000 +vn 1.000000 0.000000 0.000000 +vn -0.600000 0.000000 -0.800000 +vn -0.600000 0.000000 0.800000 +vn -0.600000 -0.800000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.253926 0.927404 0.274670 +vn 0.253927 0.025359 0.966891 +vn 0.253925 -0.911734 0.322899 +vn 0.253928 -0.588834 -0.767330 +vn 0.253928 0.547816 -0.797131 +vn 0.094548 0.805394 0.585150 +vn 0.094549 -0.307633 0.946796 +vn 0.094547 -0.995520 0.000000 +vn 0.094548 -0.307633 -0.946796 +vn 0.094548 0.805394 -0.585150 +vn -0.551946 0.454822 0.698923 +vn -0.551947 -0.524170 0.648537 +vn -0.551947 -0.778775 -0.298100 +vn -0.551946 0.042853 -0.832778 +vn -0.551943 0.805265 -0.216582 +vn -0.094547 0.995520 0.000000 +vn 0.141795 0.989896 0.000000 +vn 0.253926 0.927404 -0.274670 +vn -0.094548 0.307633 0.946796 +vn 0.141794 0.305895 0.941447 +vn 0.253928 0.547816 0.797131 +vn -0.094548 -0.805394 0.585150 +vn 0.141792 -0.800845 0.581845 +vn 0.253928 -0.588834 0.767330 +vn -0.094548 -0.805394 -0.585150 +vn 0.141792 -0.800845 -0.581845 +vn 0.253925 -0.911734 -0.322899 +vn -0.094548 0.307633 -0.946796 +vn 0.141794 0.305895 -0.941447 +vn 0.253927 0.025360 -0.966891 +vn -0.253927 0.588834 0.767330 +vn -0.141792 0.800845 0.581844 +vn -0.253925 0.911734 0.322899 +vn -0.253928 -0.547817 0.797131 +vn -0.141794 -0.305895 0.941447 +vn -0.253927 -0.025359 0.966891 +vn -0.253926 -0.927404 -0.274670 +vn -0.141795 -0.989896 0.000000 +vn -0.253926 -0.927404 0.274670 +vn -0.253927 -0.025360 -0.966891 +vn -0.141794 -0.305895 -0.941447 +vn -0.253928 -0.547816 -0.797131 +vn -0.253925 0.911734 -0.322899 +vn -0.141792 0.800845 -0.581844 +vn -0.253928 0.588834 -0.767330 +vn -0.905655 0.343036 0.249228 +vn -0.700573 0.577298 0.419433 +vn -0.551943 0.805265 0.216582 +vn -0.905657 -0.131029 0.403259 +vn -0.700574 -0.220512 0.678654 +vn -0.551946 0.042853 0.832778 +vn -0.905657 -0.424010 0.000000 +vn -0.700572 -0.713582 0.000000 +vn -0.551947 -0.778775 0.298100 +vn -0.905657 -0.131029 -0.403259 +vn -0.700574 -0.220512 -0.678654 +vn -0.551947 -0.524170 -0.648537 +vn -0.905655 0.343036 -0.249228 +vn -0.700573 0.577298 -0.419433 +vn -0.551946 0.454822 -0.698923 +vn 0.382163 0.878866 0.285561 +vn 0.382162 0.878868 -0.285559 +vn 0.383076 0.545417 -0.745502 +vn 0.382162 0.000000 -0.924095 +vn 0.383076 -0.540474 -0.749093 +vn 0.382161 -0.878867 -0.285561 +vn 0.383077 -0.879445 0.282538 +vn 0.382161 -0.543170 0.747609 +vn 0.383076 -0.003047 0.923712 +vn 0.382160 0.543169 0.747610 +vn 0.000000 0.707107 0.707107 +vn -0.000001 -1.000000 -0.000001 +vn -0.000001 -0.707107 0.707106 +vn 0.000001 0.707107 0.707106 +vn 0.000001 0.707106 -0.707107 +vn 0.000001 1.000000 -0.000001 +vn -0.600000 0.800000 0.000000 +vn 0.600000 0.000000 0.800000 +vn 0.600000 0.000000 -0.800000 +vn 0.600000 0.800000 0.000000 +vn 0.600000 -0.800000 0.000000 +vn 0.000000 -0.707107 -0.707107 +vn 0.000000 1.000000 -0.000001 +vn 0.000000 0.707107 -0.707107 +vn 0.000000 -0.707107 0.707107 +vn 0.000000 -1.000000 -0.000001 +vn 0.000000 0.951057 -0.309017 +vn 0.000001 0.587786 -0.809017 +vn 0.000001 0.000001 -1.000000 +vn 0.000001 -0.587785 -0.809017 +vn 0.000000 -0.951056 -0.309018 +vn -0.000001 -0.587786 0.809017 +vn -0.000001 -0.000001 1.000000 +vn 1.000000 0.000000 0.000001 +vn 1.000000 -0.000001 0.000001 +vn 1.000000 -0.000002 0.000001 +vn 1.000000 0.000001 0.000001 +vn 1.000000 0.000002 0.000000 +vn -0.600000 -0.000001 -0.800000 +vn -1.000000 -0.000001 0.000000 +vn -0.600000 -0.000001 0.800000 +vn 0.383076 0.877559 -0.288344 +vn 1.000000 -0.000002 0.000000 +vn -1.000000 0.000002 0.000000 +vn 0.383076 0.877559 0.288344 +vn 0.382161 0.543171 -0.747609 +vn 0.383076 -0.003047 -0.923712 +vn 0.382161 -0.543169 -0.747610 +vn 0.383077 -0.879445 -0.282538 +vn 0.382161 -0.878867 0.285561 +vn 0.383076 -0.540474 0.749093 +vn 0.382163 -0.000001 0.924095 +vn 0.383077 0.545417 0.745501 +vn 0.000001 0.707107 0.707107 +vn 0.000000 -1.000000 0.000001 +vn 0.000000 1.000000 0.000001 +vn 0.600000 0.000001 0.800000 +vn 0.600000 0.000001 -0.800000 +vn -0.000001 -0.707107 -0.707107 +vn 0.000001 1.000000 0.000001 +vn 0.000001 0.707107 -0.707106 +vn -0.000001 -0.707107 -0.707106 +vn -0.000001 -0.707106 0.707107 +vn -0.000001 -1.000000 0.000001 +s off +f 6/1/1 8/2/1 7/3/1 +f 7/4/2 8/5/2 10/6/2 +f 10/7/3 12/8/3 11/9/3 +f 12/10/4 14/11/4 13/12/4 +f 14/13/5 16/14/5 15/15/5 +f 15/16/6 16/17/6 18/18/6 +f 17/19/7 18/20/7 20/21/7 +f 20/22/8 22/23/8 21/24/8 +f 16/25/9 14/26/9 12/27/9 +f 24/28/10 6/29/10 5/30/10 +f 22/31/11 24/32/11 23/33/11 +f 27/34/12 26/35/12 81/36/12 +f 79/37/13 31/38/13 30/39/13 +f 77/40/14 29/41/14 32/42/14 +f 30/43/15 31/44/15 84/45/15 +f 36/46/16 32/47/16 84/48/16 +f 25/49/17 77/50/17 2/51/17 +f 30/52/18 80/53/18 3/54/18 +f 29/55/19 83/56/19 1/57/19 +f 25/58/20 81/59/20 33/60/20 +f 82/61/16 28/62/16 34/63/16 +f 41/64/21 53/65/21 57/66/21 +f 42/67/22 52/68/22 59/69/22 +f 43/70/23 54/71/23 61/72/23 +f 44/73/24 55/74/24 63/75/24 +f 45/76/25 56/77/25 65/78/25 +f 41/79/26 57/80/26 60/81/26 +f 42/82/27 59/83/27 62/84/27 +f 43/85/28 61/86/28 64/87/28 +f 44/88/29 63/89/29 66/90/29 +f 45/91/30 65/92/30 58/93/30 +f 46/94/31 67/95/31 72/96/31 +f 47/97/32 68/98/32 74/99/32 +f 48/100/33 69/101/33 75/102/33 +f 49/103/34 70/104/34 76/105/34 +f 50/106/35 71/107/35 73/108/35 +f 57/109/36 58/110/36 50/111/36 +f 57/112/37 53/113/37 58/114/37 +f 53/115/38 45/116/38 58/117/38 +f 59/118/39 60/119/39 46/120/39 +f 59/121/40 52/122/40 60/123/40 +f 52/124/41 41/125/41 60/126/41 +f 61/127/42 62/128/42 47/129/42 +f 61/130/43 54/131/43 62/132/43 +f 54/133/44 42/134/44 62/135/44 +f 63/136/45 64/137/45 48/138/45 +f 63/139/46 55/140/46 64/141/46 +f 55/142/47 43/143/47 64/144/47 +f 65/145/48 66/146/48 49/147/48 +f 65/148/49 56/149/49 66/150/49 +f 56/151/50 44/152/50 66/153/50 +f 60/154/51 67/155/51 46/156/51 +f 60/157/52 57/158/52 67/159/52 +f 57/160/53 50/161/53 67/162/53 +f 62/163/54 68/164/54 47/165/54 +f 62/166/55 59/167/55 68/168/55 +f 59/169/56 46/170/56 68/171/56 +f 64/172/57 69/173/57 48/174/57 +f 64/175/58 61/176/58 69/177/58 +f 61/178/59 47/179/59 69/180/59 +f 66/181/60 70/182/60 49/183/60 +f 66/184/61 63/185/61 70/186/61 +f 63/187/62 48/188/62 70/189/62 +f 58/190/63 71/191/63 50/192/63 +f 58/193/64 65/194/64 71/195/64 +f 65/196/65 49/197/65 71/198/65 +f 72/199/66 73/200/66 51/201/66 +f 72/202/67 67/203/67 73/204/67 +f 67/205/68 50/206/68 73/207/68 +f 74/208/69 72/209/69 51/210/69 +f 74/211/70 68/212/70 72/213/70 +f 68/214/71 46/215/71 72/216/71 +f 75/217/72 74/218/72 51/219/72 +f 75/220/73 69/221/73 74/222/73 +f 69/223/74 47/224/74 74/225/74 +f 76/226/75 75/227/75 51/228/75 +f 76/229/76 70/230/76 75/231/76 +f 70/232/77 48/233/77 75/234/77 +f 73/235/78 76/236/78 51/237/78 +f 73/238/79 71/239/79 76/240/79 +f 71/241/80 49/242/80 76/243/80 +f 41/244/81 23/245/81 5/246/81 +f 5/247/82 7/248/82 45/249/82 +f 9/250/83 56/251/83 45/252/83 +f 9/253/84 11/254/84 44/255/84 +f 13/256/85 55/257/85 44/258/85 +f 13/259/86 15/260/86 43/261/86 +f 17/262/87 54/263/87 43/264/87 +f 17/265/88 19/266/88 42/267/88 +f 21/268/89 52/269/89 42/270/89 +f 21/271/90 23/272/90 41/273/90 +f 37/274/20 26/275/20 80/276/20 +f 25/277/14 77/40/14 78/278/14 +f 27/279/16 38/280/16 79/281/16 +f 40/282/14 38/283/14 37/284/14 +f 27/285/13 79/37/13 80/286/13 +f 78/287/16 32/47/16 36/46/16 +f 25/58/20 33/60/20 77/288/20 +f 35/289/13 33/290/13 34/291/13 +f 82/292/12 81/36/12 25/293/12 +f 33/294/15 37/295/15 38/296/15 +f 83/297/15 84/45/15 32/298/15 +f 39/299/12 35/300/12 36/301/12 +f 39/302/20 30/303/20 83/304/20 +f 31/305/91 30/306/91 99/307/91 +f 79/308/92 86/309/92 85/310/92 +f 27/311/93 88/312/93 87/313/93 +f 82/314/13 90/315/13 89/316/13 +f 28/317/94 92/318/94 91/319/94 +f 32/320/95 96/321/95 95/322/95 +f 84/323/13 83/324/13 97/325/13 +f 78/326/96 94/327/96 93/328/96 +f 26/329/97 81/330/97 4/331/97 +f 109/332/98 105/333/98 102/334/98 +f 110/335/99 108/336/99 103/337/99 +f 112/338/100 107/339/100 101/340/100 +f 111/341/101 106/342/101 104/343/101 +f 143/344/102 118/345/102 119/346/102 +f 123/347/103 124/348/103 129/349/103 +f 115/350/104 114/351/104 131/352/104 +f 126/353/14 125/354/14 133/355/14 +f 116/356/102 113/357/102 135/358/102 +f 120/359/105 117/360/105 139/361/105 +f 141/362/14 127/363/14 128/364/14 +f 122/365/106 121/366/106 137/367/106 +f 150/368/20 146/369/20 145/370/20 +f 151/371/14 147/372/14 146/373/14 +f 152/374/16 148/375/16 147/376/16 +f 149/377/13 145/378/13 148/379/13 +f 146/380/15 147/381/15 148/382/15 +f 151/383/12 150/384/12 149/385/12 +f 158/386/20 154/387/20 153/388/20 +f 159/389/14 155/390/14 154/391/14 +f 160/392/16 156/393/16 155/394/16 +f 157/395/13 153/396/13 156/397/13 +f 154/398/15 155/399/15 156/400/15 +f 159/401/12 158/402/12 157/403/12 +f 166/404/20 162/405/20 161/406/20 +f 167/407/14 163/408/14 162/409/14 +f 168/410/16 164/411/16 163/412/16 +f 165/413/13 161/414/13 164/415/13 +f 162/416/15 163/417/15 164/418/15 +f 167/419/12 166/420/12 165/421/12 +f 174/422/20 170/423/20 169/424/20 +f 175/425/14 171/426/14 170/427/14 +f 176/428/16 172/429/16 171/430/16 +f 173/431/13 169/432/13 172/433/13 +f 170/434/15 171/435/15 172/436/15 +f 175/437/12 174/438/12 173/439/12 +f 5/440/107 6/1/107 7/3/107 +f 9/441/108 7/4/108 10/6/108 +f 9/442/109 10/7/109 11/9/109 +f 11/443/110 12/10/110 13/12/110 +f 13/444/111 14/13/111 15/15/111 +f 17/445/6 15/16/6 18/18/6 +f 19/446/112 17/19/112 20/21/112 +f 19/447/113 20/22/113 21/24/113 +f 6/448/114 22/449/114 8/450/114 +f 6/448/115 24/451/115 22/449/115 +f 18/452/114 12/27/114 20/453/114 +f 21/454/11 22/31/11 23/33/11 +f 10/455/114 8/450/114 12/27/114 +f 8/450/114 22/449/114 12/27/114 +f 23/456/10 24/28/10 5/30/10 +f 16/25/116 12/27/116 18/452/116 +f 12/27/117 22/449/117 20/453/117 +f 82/292/12 27/34/12 81/36/12 +f 80/286/13 79/37/13 30/39/13 +f 78/278/14 77/40/14 32/42/14 +f 83/297/15 30/43/15 84/45/15 +f 36/46/118 84/48/118 40/457/118 +f 77/50/17 29/458/17 1/459/17 +f 80/53/18 26/460/18 4/461/18 +f 84/48/16 31/462/16 40/457/16 +f 83/56/19 30/463/19 3/464/19 +f 77/50/119 1/459/119 2/51/119 +f 81/59/120 26/275/120 37/274/120 +f 80/53/121 4/461/121 3/54/121 +f 53/465/122 5/247/122 45/249/122 +f 83/56/19 3/464/19 1/57/19 +f 38/280/123 82/61/123 34/63/123 +f 81/59/124 37/274/124 33/60/124 +f 53/466/125 41/244/125 5/246/125 +f 38/280/16 27/279/16 82/61/16 +f 7/467/126 9/250/126 45/252/126 +f 56/468/127 9/253/127 44/255/127 +f 11/469/128 13/256/128 44/258/128 +f 55/470/129 13/259/129 43/261/129 +f 15/471/130 17/262/130 43/264/130 +f 54/472/131 17/265/131 42/267/131 +f 19/473/132 21/268/132 42/270/132 +f 52/474/133 21/271/133 41/273/133 +f 37/274/20 80/276/20 39/302/20 +f 28/475/14 25/277/14 78/278/14 +f 31/462/16 79/281/16 40/457/16 +f 80/276/20 30/303/20 39/302/20 +f 39/476/14 40/282/14 37/284/14 +f 79/281/16 38/280/16 40/457/16 +f 26/477/13 27/285/13 80/286/13 +f 36/478/13 35/289/13 34/291/13 +f 34/63/16 78/287/16 36/46/16 +f 29/479/20 77/288/20 35/480/20 +f 34/63/16 28/62/16 78/287/16 +f 77/288/20 33/60/20 35/480/20 +f 28/481/12 82/292/12 25/293/12 +f 34/482/15 33/294/15 38/296/15 +f 29/483/15 83/297/15 32/298/15 +f 40/484/12 39/299/12 36/301/12 +f 39/302/120 83/304/120 35/480/120 +f 100/485/134 31/305/134 99/307/134 +f 80/486/135 79/308/135 85/310/135 +f 83/304/120 29/479/120 35/480/120 +f 26/487/105 27/311/105 87/313/105 +f 81/488/13 82/314/13 89/316/13 +f 25/489/91 28/317/91 91/319/91 +f 29/490/104 32/320/104 95/322/104 +f 98/491/13 84/323/13 97/325/13 +f 77/492/136 78/326/136 93/328/136 +f 81/330/97 25/493/97 2/494/97 +f 101/495/98 107/496/98 109/332/98 +f 104/497/99 106/498/99 110/335/99 +f 81/330/97 2/494/97 4/331/97 +f 109/332/137 102/334/137 101/495/137 +f 103/499/100 108/500/100 112/338/100 +f 110/335/138 103/337/138 104/497/138 +f 102/501/101 105/502/101 111/341/101 +f 112/338/100 101/340/100 103/499/100 +f 144/503/139 143/344/139 119/346/139 +f 111/341/101 104/343/101 102/501/101 +f 130/504/140 123/347/140 129/349/140 +f 132/505/141 115/350/141 131/352/141 +f 134/506/14 126/353/14 133/355/14 +f 136/507/142 116/356/142 135/358/142 +f 140/508/143 120/359/143 139/361/143 +f 142/509/14 141/362/14 128/364/14 +f 138/510/144 122/365/144 137/367/144 +f 149/511/20 150/368/20 145/370/20 +f 150/512/14 151/371/14 146/373/14 +f 151/513/16 152/374/16 147/376/16 +f 152/514/13 149/377/13 148/379/13 +f 145/515/15 146/380/15 148/382/15 +f 152/516/12 151/383/12 149/385/12 +f 157/517/20 158/386/20 153/388/20 +f 158/518/14 159/389/14 154/391/14 +f 159/519/16 160/392/16 155/394/16 +f 160/520/13 157/395/13 156/397/13 +f 153/521/15 154/398/15 156/400/15 +f 160/522/12 159/401/12 157/403/12 +f 165/523/20 166/404/20 161/406/20 +f 166/524/14 167/407/14 162/409/14 +f 167/525/16 168/410/16 163/412/16 +f 168/526/13 165/413/13 164/415/13 +f 161/527/15 162/416/15 164/418/15 +f 168/528/12 167/419/12 165/421/12 +f 173/529/20 174/422/20 169/424/20 +f 174/530/14 175/425/14 170/427/14 +f 175/531/16 176/428/16 171/430/16 +f 176/532/13 173/431/13 172/433/13 +f 169/533/15 170/434/15 172/436/15 +f 176/534/12 175/437/12 173/439/12 diff --git a/assets/hbm/models/Fleija.obj b/assets/hbm/models/Fleija.obj new file mode 100644 index 000000000..e4c147978 --- /dev/null +++ b/assets/hbm/models/Fleija.obj @@ -0,0 +1,2219 @@ +# Blender v2.70 (sub 0) OBJ File: 'FREIJA.blend' +# www.blender.org +o Cylinder +v 0.000000 0.650000 -0.500000 +v 0.000000 0.650000 0.500000 +v 0.095671 0.630970 -0.500000 +v 0.095671 0.630969 0.500000 +v 0.176777 0.576777 -0.500000 +v 0.176777 0.576776 0.500000 +v 0.230970 0.495671 -0.500000 +v 0.230970 0.495670 0.500000 +v 0.250000 0.400000 -0.500000 +v 0.250000 0.400000 0.500000 +v 0.230970 0.304330 -0.500000 +v 0.230970 0.304329 0.500000 +v 0.176777 0.223224 -0.500000 +v 0.176777 0.223223 0.500000 +v 0.095671 0.169031 -0.500000 +v 0.095671 0.169030 0.500000 +v 0.000000 0.150000 -0.500000 +v 0.000000 0.150000 0.500000 +v -0.095671 0.169031 -0.500000 +v -0.095671 0.169030 0.500000 +v -0.176777 0.223224 -0.500000 +v -0.176777 0.223223 0.500000 +v -0.230970 0.304330 -0.500000 +v -0.230970 0.304329 0.500000 +v -0.250000 0.400000 -0.500000 +v -0.250000 0.400000 0.500000 +v -0.230970 0.495671 -0.500000 +v -0.230970 0.495670 0.500000 +v -0.176777 0.576777 -0.500000 +v -0.176777 0.576776 0.500000 +v -0.095671 0.630970 -0.500000 +v -0.095671 0.630970 0.500000 +v -0.000000 0.500000 0.750000 +v -0.038268 0.492388 0.750000 +v -0.070711 0.470711 0.750000 +v -0.092388 0.438268 0.750000 +v -0.100000 0.400000 0.750000 +v -0.092388 0.361732 0.750000 +v -0.070711 0.329289 0.750000 +v -0.038268 0.307612 0.750000 +v -0.000000 0.300000 0.750000 +v 0.038268 0.307612 0.750000 +v 0.070711 0.329289 0.750000 +v 0.092388 0.361732 0.750000 +v 0.100000 0.400000 0.750000 +v 0.092388 0.438268 0.750000 +v 0.070711 0.470711 0.750000 +v 0.038268 0.492388 0.750000 +v -0.000000 0.525000 0.750000 +v -0.047835 0.515485 0.750000 +v -0.088388 0.488388 0.750000 +v -0.115485 0.447835 0.750000 +v -0.125000 0.400000 0.750000 +v -0.115485 0.352165 0.750000 +v -0.088388 0.311612 0.750000 +v -0.047835 0.284515 0.750000 +v -0.000000 0.275000 0.750000 +v 0.047835 0.284515 0.750000 +v 0.088388 0.311612 0.750000 +v 0.115485 0.352165 0.750000 +v 0.125000 0.400000 0.750000 +v 0.115485 0.447835 0.750000 +v 0.088388 0.488388 0.750000 +v 0.047835 0.515485 0.750000 +v -0.000000 0.525000 1.000000 +v -0.047835 0.515485 1.000000 +v -0.088388 0.488388 1.000000 +v -0.115485 0.447835 1.000000 +v -0.125000 0.400000 1.000000 +v -0.115485 0.352165 1.000000 +v -0.088388 0.311612 1.000000 +v -0.047835 0.284515 1.000000 +v -0.000000 0.275000 1.000000 +v 0.047835 0.284515 1.000000 +v 0.088388 0.311612 1.000000 +v 0.115485 0.352165 1.000000 +v 0.125000 0.400000 1.000000 +v 0.115485 0.447835 1.000000 +v 0.088388 0.488388 1.000000 +v 0.047835 0.515485 1.000000 +v 0.000000 0.450000 1.100000 +v -0.019134 0.446194 1.100000 +v -0.035355 0.435355 1.100000 +v -0.046194 0.419134 1.100000 +v -0.050000 0.400000 1.100000 +v -0.046194 0.380866 1.100000 +v -0.035355 0.364645 1.100000 +v -0.019134 0.353806 1.100000 +v -0.000000 0.350000 1.100000 +v 0.019134 0.353806 1.100000 +v 0.035355 0.364645 1.100000 +v 0.046194 0.380866 1.100000 +v 0.050000 0.400000 1.100000 +v 0.046194 0.419134 1.100000 +v 0.035355 0.435355 1.100000 +v 0.019134 0.446194 1.100000 +v 0.000000 0.500000 -0.750000 +v -0.038268 0.492388 -0.750000 +v -0.070711 0.470711 -0.750000 +v -0.092388 0.438268 -0.750000 +v -0.100000 0.400000 -0.750000 +v -0.092388 0.361732 -0.750000 +v -0.070711 0.329289 -0.750000 +v -0.038268 0.307612 -0.750000 +v -0.000000 0.300000 -0.750000 +v 0.038268 0.307612 -0.750000 +v 0.070711 0.329289 -0.750000 +v 0.092388 0.361732 -0.750000 +v 0.100000 0.400000 -0.750000 +v 0.092388 0.438268 -0.750000 +v 0.070711 0.470711 -0.750000 +v 0.038268 0.492388 -0.750000 +v 0.000000 0.525000 -0.750000 +v -0.047835 0.515485 -0.750000 +v -0.088388 0.488388 -0.750000 +v -0.115485 0.447835 -0.750000 +v -0.125000 0.400000 -0.750000 +v -0.115485 0.352165 -0.750000 +v -0.088388 0.311612 -0.750000 +v -0.047835 0.284515 -0.750000 +v -0.000000 0.275000 -0.750000 +v 0.047835 0.284515 -0.750000 +v 0.088388 0.311612 -0.750000 +v 0.115485 0.352165 -0.750000 +v 0.125000 0.400000 -0.750000 +v 0.115485 0.447835 -0.750000 +v 0.088388 0.488388 -0.750000 +v 0.047835 0.515485 -0.750000 +v 0.000000 0.525000 -1.000000 +v -0.047835 0.515485 -1.000000 +v -0.088388 0.488388 -1.000000 +v -0.115485 0.447835 -1.000000 +v -0.125000 0.400000 -1.000000 +v -0.115485 0.352165 -1.000000 +v -0.088388 0.311612 -1.000000 +v -0.047835 0.284515 -1.000000 +v -0.000000 0.275000 -1.000000 +v 0.047835 0.284515 -1.000000 +v 0.088388 0.311612 -1.000000 +v 0.115485 0.352165 -1.000000 +v 0.125000 0.400000 -1.000000 +v 0.115485 0.447835 -1.000000 +v 0.088388 0.488388 -1.000000 +v 0.047835 0.515485 -1.000000 +v 0.000000 0.450000 -1.100000 +v -0.019134 0.446194 -1.100000 +v -0.035355 0.435355 -1.100000 +v -0.046194 0.419134 -1.100000 +v -0.050000 0.400000 -1.100000 +v -0.046194 0.380866 -1.100000 +v -0.035355 0.364645 -1.100000 +v -0.019134 0.353806 -1.100000 +v -0.000000 0.350000 -1.100000 +v 0.019134 0.353806 -1.100000 +v 0.035355 0.364645 -1.100000 +v 0.046194 0.380866 -1.100000 +v 0.050000 0.400000 -1.100000 +v 0.046194 0.419134 -1.100000 +v 0.035355 0.435355 -1.100000 +v 0.019134 0.446194 -1.100000 +v 0.000000 0.650000 0.450000 +v -0.095671 0.630970 0.450000 +v -0.176777 0.576777 0.450000 +v -0.230970 0.495671 0.450000 +v -0.250000 0.400000 0.450000 +v -0.230970 0.304329 0.450000 +v -0.176777 0.223223 0.450000 +v -0.095671 0.169030 0.450000 +v -0.000000 0.150000 0.450000 +v 0.095671 0.169030 0.450000 +v 0.176777 0.223223 0.450000 +v 0.230970 0.304329 0.450000 +v 0.250000 0.400000 0.450000 +v 0.230970 0.495671 0.450000 +v 0.176777 0.576777 0.450000 +v 0.095671 0.630970 0.450000 +v 0.000000 0.650000 0.400000 +v -0.095671 0.630970 0.400000 +v -0.176777 0.576777 0.400000 +v -0.230970 0.495671 0.400000 +v -0.250000 0.400000 0.400000 +v -0.230970 0.304329 0.400000 +v -0.176777 0.223223 0.400000 +v -0.095671 0.169030 0.400000 +v -0.000000 0.150000 0.400000 +v 0.095671 0.169030 0.400000 +v 0.176777 0.223223 0.400000 +v 0.230970 0.304329 0.400000 +v 0.250000 0.400000 0.400000 +v 0.230970 0.495671 0.400000 +v 0.176777 0.576777 0.400000 +v 0.095671 0.630970 0.400000 +v 0.000000 0.650000 -0.400000 +v -0.095671 0.630970 -0.400000 +v -0.176777 0.576777 -0.400000 +v -0.230970 0.495671 -0.400000 +v -0.250000 0.400000 -0.400000 +v -0.230970 0.304329 -0.400000 +v -0.176777 0.223223 -0.400000 +v -0.095671 0.169030 -0.400000 +v -0.000000 0.150000 -0.400000 +v 0.095671 0.169030 -0.400000 +v 0.176777 0.223223 -0.400000 +v 0.230970 0.304329 -0.400000 +v 0.250000 0.400000 -0.400000 +v 0.230970 0.495671 -0.400000 +v 0.176777 0.576777 -0.400000 +v 0.095671 0.630970 -0.400000 +v 0.000000 0.650000 -0.450000 +v -0.095671 0.630970 -0.450000 +v -0.176777 0.576777 -0.450000 +v -0.230970 0.495671 -0.450000 +v -0.250000 0.400000 -0.450000 +v -0.230970 0.304329 -0.450000 +v -0.176777 0.223223 -0.450000 +v -0.095671 0.169030 -0.450000 +v -0.000000 0.150000 -0.450000 +v 0.095671 0.169030 -0.450000 +v 0.176777 0.223223 -0.450000 +v 0.230970 0.304329 -0.450000 +v 0.250000 0.400000 -0.450000 +v 0.230970 0.495671 -0.450000 +v 0.176777 0.576777 -0.450000 +v 0.095671 0.630970 -0.450000 +v 0.000000 0.670000 -0.450000 +v -0.103325 0.649447 -0.450000 +v -0.190919 0.590919 -0.450000 +v -0.249447 0.503325 -0.450000 +v -0.270000 0.400000 -0.450000 +v -0.249447 0.296675 -0.450000 +v -0.190919 0.209081 -0.450000 +v -0.103325 0.150553 -0.450000 +v -0.000000 0.130000 -0.450000 +v 0.103324 0.150552 -0.450000 +v 0.190919 0.209081 -0.450000 +v 0.249447 0.296675 -0.450000 +v 0.270000 0.400000 -0.450000 +v 0.249447 0.503325 -0.450000 +v 0.190919 0.590919 -0.450000 +v 0.103324 0.649448 -0.450000 +v 0.000000 0.670000 -0.400000 +v -0.103325 0.649448 -0.400000 +v -0.190919 0.590919 -0.400000 +v -0.249447 0.503325 -0.400000 +v -0.270000 0.400000 -0.400000 +v -0.249447 0.296675 -0.400000 +v -0.190919 0.209081 -0.400000 +v -0.103325 0.150553 -0.400000 +v -0.000000 0.130000 -0.400000 +v 0.103324 0.150552 -0.400000 +v 0.190919 0.209081 -0.400000 +v 0.249447 0.296675 -0.400000 +v 0.270000 0.400000 -0.400000 +v 0.249447 0.503325 -0.400000 +v 0.190919 0.590919 -0.400000 +v 0.103324 0.649448 -0.400000 +v 0.000000 0.670000 0.400000 +v -0.103325 0.649447 0.400000 +v -0.190919 0.590919 0.400000 +v -0.249447 0.503325 0.400000 +v -0.270000 0.400000 0.400000 +v -0.249447 0.296675 0.400000 +v -0.190919 0.209081 0.400000 +v -0.103325 0.150553 0.400000 +v -0.000000 0.130000 0.400000 +v 0.103324 0.150552 0.400000 +v 0.190919 0.209081 0.400000 +v 0.249447 0.296675 0.400000 +v 0.270000 0.400000 0.400000 +v 0.249447 0.503325 0.400000 +v 0.190919 0.590919 0.400000 +v 0.103324 0.649448 0.400000 +v 0.000000 0.670000 0.450000 +v -0.103325 0.649447 0.450000 +v -0.190919 0.590919 0.450000 +v -0.249447 0.503325 0.450000 +v -0.270000 0.400000 0.450000 +v -0.249447 0.296675 0.450000 +v -0.190919 0.209081 0.450000 +v -0.103325 0.150553 0.450000 +v -0.000000 0.130000 0.450000 +v 0.103324 0.150552 0.450000 +v 0.190919 0.209081 0.450000 +v 0.249447 0.296675 0.450000 +v 0.270000 0.400000 0.450000 +v 0.249447 0.503325 0.450000 +v 0.190919 0.590919 0.450000 +v 0.103324 0.649448 0.450000 +v -0.350000 0.400000 -0.650000 +v 0.350000 0.400000 -0.650000 +v -0.350000 0.400000 -0.850000 +v 0.350000 0.400000 -0.850000 +v -0.350000 0.400000 -0.650000 +v 0.350000 0.400000 -0.650000 +v -0.350000 0.400000 -0.850000 +v 0.350000 0.400000 -0.850000 +v 0.000000 0.750000 -0.650000 +v -0.000000 0.050000 -0.650000 +v 0.000000 0.750000 -0.850000 +v -0.000000 0.050000 -0.850000 +v 0.000000 0.750000 -0.650000 +v -0.000000 0.050000 -0.650000 +v 0.000000 0.750000 -0.850000 +v -0.000000 0.050000 -0.850000 +v 0.200000 0.000000 0.450000 +v 0.300000 0.000000 0.450000 +v 0.200000 0.000000 0.400000 +v 0.300000 0.000000 0.400000 +v -0.300000 0.000000 0.450000 +v -0.200000 0.000000 0.450000 +v -0.300000 0.000000 0.400000 +v -0.200000 0.000000 0.400000 +v 0.200000 0.000000 -0.400000 +v 0.300000 0.000000 -0.400000 +v 0.200000 0.000000 -0.450000 +v 0.300000 0.000000 -0.450000 +v -0.300000 0.000000 -0.400000 +v -0.200000 0.000000 -0.400000 +v -0.300000 0.000000 -0.450000 +v -0.200000 0.000000 -0.450000 +vt 0.647809 0.164461 +vt 0.654941 0.163023 +vt 0.654941 0.177401 +vt 0.617100 0.816590 +vt 0.588729 0.816590 +vt 0.597240 0.731079 +vt 0.800386 0.459872 +vt 0.772015 0.459872 +vt 0.780527 0.374361 +vt 0.800386 0.563071 +vt 0.772015 0.563071 +vt 0.780526 0.477560 +vt 0.066895 0.793172 +vt 0.038524 0.793172 +vt 0.047035 0.707661 +vt 0.320210 0.790389 +vt 0.291839 0.790389 +vt 0.300350 0.704878 +vt 0.228567 0.790389 +vt 0.200196 0.790389 +vt 0.208707 0.704878 +vt 0.754565 0.459872 +vt 0.726194 0.459872 +vt 0.734705 0.374361 +vt 0.754565 0.563071 +vt 0.726194 0.563071 +vt 0.734705 0.477560 +vt 0.680372 0.309552 +vt 0.688884 0.224040 +vt 0.700232 0.224040 +vt 0.345845 0.790389 +vt 0.354356 0.704878 +vt 0.365705 0.704878 +vt 0.718213 0.197554 +vt 0.726724 0.112042 +vt 0.738073 0.112042 +vt 0.718213 0.094355 +vt 0.726724 0.008844 +vt 0.738073 0.008844 +vt 0.726194 0.356674 +vt 0.734705 0.271162 +vt 0.746054 0.271162 +vt 0.772015 0.666270 +vt 0.780527 0.580758 +vt 0.791875 0.580758 +vt 0.764035 0.094355 +vt 0.772546 0.008844 +vt 0.783894 0.008844 +vt 0.809856 0.197554 +vt 0.818367 0.112042 +vt 0.829716 0.112042 +vt 0.647809 0.175963 +vt 0.649512 0.190684 +vt 0.643466 0.186590 +vt 0.639482 0.200851 +vt 0.624957 0.199125 +vt 0.635442 0.194723 +vt 0.626376 0.206353 +vt 0.612191 0.206353 +vt 0.613609 0.199125 +vt 0.599085 0.200851 +vt 0.595100 0.186590 +vt 0.603125 0.194723 +vt 0.590757 0.175963 +vt 0.589054 0.190684 +vt 0.583626 0.177401 +vt 0.583626 0.163023 +vt 0.590757 0.164461 +vt 0.589054 0.149740 +vt 0.595100 0.153835 +vt 0.599085 0.139574 +vt 0.613609 0.141300 +vt 0.603125 0.145701 +vt 0.624957 0.141300 +vt 0.612191 0.134072 +vt 0.626376 0.134072 +vt 0.639482 0.139574 +vt 0.635442 0.145701 +vt 0.649512 0.149740 +vt 0.643466 0.153835 +vt 0.887314 0.008844 +vt 0.887314 0.082541 +vt 0.873129 0.082541 +vt 0.342579 0.808077 +vt 0.342579 0.881774 +vt 0.328394 0.881774 +vt 0.864016 0.760861 +vt 0.849830 0.760861 +vt 0.849830 0.687163 +vt 0.817837 0.282976 +vt 0.832022 0.282976 +vt 0.832022 0.356674 +vt 0.809856 0.008844 +vt 0.824042 0.008844 +vt 0.824042 0.082541 +vt 0.374216 0.808077 +vt 0.374216 0.881774 +vt 0.360030 0.881774 +vt 0.863659 0.459872 +vt 0.849473 0.459872 +vt 0.849473 0.386175 +vt 0.168560 0.810859 +vt 0.168560 0.884557 +vt 0.154374 0.884557 +vt 0.449836 0.878496 +vt 0.435651 0.878496 +vt 0.435651 0.804798 +vt 0.136924 0.810859 +vt 0.136924 0.884557 +vt 0.122738 0.884557 +vt 0.513108 0.804798 +vt 0.513108 0.878496 +vt 0.498923 0.878496 +vt 0.740379 0.787156 +vt 0.740379 0.860853 +vt 0.726194 0.860853 +vt 0.832022 0.793568 +vt 0.832022 0.867266 +vt 0.817837 0.867266 +vt 0.849473 0.282976 +vt 0.863659 0.282976 +vt 0.863659 0.356673 +vt 0.855678 0.008844 +vt 0.855678 0.082541 +vt 0.841493 0.082541 +vt 0.200196 0.808077 +vt 0.214381 0.808077 +vt 0.214381 0.881774 +vt 0.728365 0.247207 +vt 0.726194 0.241894 +vt 0.737620 0.224562 +vt 0.291839 0.936057 +vt 0.296095 0.899462 +vt 0.301769 0.899462 +vt 0.052710 0.902244 +vt 0.066895 0.902244 +vt 0.062639 0.938840 +vt 0.912746 0.867266 +vt 0.917001 0.830670 +vt 0.922675 0.830670 +vt 0.912746 0.921548 +vt 0.917001 0.884953 +vt 0.922675 0.884953 +vt 0.912746 0.812983 +vt 0.917001 0.776387 +vt 0.922675 0.776387 +vt 0.200196 0.936057 +vt 0.204452 0.899462 +vt 0.210126 0.899462 +vt 0.342579 0.936057 +vt 0.328394 0.936057 +vt 0.332650 0.899462 +vt 0.881466 0.632374 +vt 0.885722 0.595778 +vt 0.891396 0.595778 +vt 0.260203 0.936057 +vt 0.264459 0.899462 +vt 0.270133 0.899462 +vt 0.418200 0.932779 +vt 0.404014 0.932779 +vt 0.408270 0.896183 +vt 0.726194 0.915136 +vt 0.730449 0.878541 +vt 0.736124 0.878541 +vt 0.863659 0.921548 +vt 0.849473 0.921548 +vt 0.853729 0.884953 +vt 0.881110 0.459872 +vt 0.885365 0.423277 +vt 0.891039 0.423277 +vt 0.832333 0.253475 +vt 0.818147 0.253475 +vt 0.822403 0.216879 +vt 0.498923 0.896183 +vt 0.513109 0.896183 +vt 0.508853 0.932779 +vt 0.817837 0.884953 +vt 0.832022 0.884953 +vt 0.827767 0.921548 +vt 0.754565 0.580758 +vt 0.746053 0.666270 +vt 0.734705 0.666270 +vt 0.246018 0.790389 +vt 0.254529 0.704878 +vt 0.265877 0.704878 +vt 0.680903 0.120842 +vt 0.692251 0.120842 +vt 0.700762 0.206353 +vt 0.680903 0.008844 +vt 0.692251 0.008844 +vt 0.700762 0.094355 +vt 0.688883 0.374361 +vt 0.700232 0.374361 +vt 0.708743 0.459872 +vt 0.734705 0.683957 +vt 0.746053 0.683957 +vt 0.754565 0.769468 +vt 0.162885 0.707661 +vt 0.174234 0.707661 +vt 0.182745 0.793172 +vt 0.551418 0.731079 +vt 0.562767 0.731079 +vt 0.571278 0.816590 +vt 0.654410 0.816590 +vt 0.643062 0.816590 +vt 0.634551 0.731079 +vt 0.688883 0.731079 +vt 0.700232 0.731079 +vt 0.708743 0.816590 +vt 0.780527 0.271162 +vt 0.791875 0.271162 +vt 0.800386 0.356674 +vt 0.800386 0.683957 +vt 0.791875 0.769468 +vt 0.780526 0.769468 +vt 0.764035 0.197554 +vt 0.772546 0.112042 +vt 0.783894 0.112042 +vt 0.084346 0.793172 +vt 0.092857 0.707661 +vt 0.104205 0.707661 +vt 0.421465 0.787111 +vt 0.429977 0.701600 +vt 0.441325 0.701600 +vt 0.495658 0.701600 +vt 0.487146 0.787111 +vt 0.475798 0.787111 +vt 0.613609 0.016072 +vt 0.612191 0.008844 +vt 0.626376 0.008844 +vt 0.624957 0.016072 +vt 0.639482 0.014346 +vt 0.635442 0.020474 +vt 0.649512 0.024512 +vt 0.654941 0.037796 +vt 0.647809 0.039233 +vt 0.654941 0.052173 +vt 0.647809 0.050735 +vt 0.649512 0.065456 +vt 0.643466 0.061362 +vt 0.639482 0.075623 +vt 0.626376 0.081125 +vt 0.624957 0.073897 +vt 0.612191 0.081125 +vt 0.599085 0.075623 +vt 0.603125 0.069495 +vt 0.589054 0.065456 +vt 0.595100 0.061362 +vt 0.583626 0.052173 +vt 0.590757 0.050735 +vt 0.583626 0.037796 +vt 0.590757 0.039233 +vt 0.589054 0.024512 +vt 0.595100 0.028607 +vt 0.599085 0.014346 +vt 0.881109 0.477560 +vt 0.895295 0.477560 +vt 0.895295 0.551257 +vt 0.817837 0.386175 +vt 0.832022 0.386175 +vt 0.832022 0.459872 +vt 0.274388 0.881774 +vt 0.260203 0.881774 +vt 0.260203 0.808077 +vt 0.849473 0.477560 +vt 0.863659 0.477560 +vt 0.863659 0.551257 +vt 0.021073 0.810859 +vt 0.035259 0.810859 +vt 0.035259 0.884557 +vt 0.418200 0.804798 +vt 0.418200 0.878496 +vt 0.404014 0.878496 +vt 0.849473 0.793568 +vt 0.863659 0.793568 +vt 0.863659 0.867266 +vt 0.481472 0.804798 +vt 0.481472 0.878496 +vt 0.467287 0.878496 +vt 0.772015 0.787156 +vt 0.786201 0.787156 +vt 0.786201 0.860853 +vt 0.098531 0.810859 +vt 0.098531 0.884557 +vt 0.084346 0.884557 +vt 0.869863 0.197554 +vt 0.855678 0.197554 +vt 0.855678 0.123856 +vt 0.864016 0.595778 +vt 0.864016 0.669476 +vt 0.849830 0.669476 +vt 0.817837 0.477560 +vt 0.832022 0.477560 +vt 0.832022 0.551257 +vt 0.291839 0.881774 +vt 0.291839 0.808077 +vt 0.306025 0.808077 +vt 0.052710 0.810859 +vt 0.066895 0.810859 +vt 0.066895 0.884557 +vt 0.881109 0.867266 +vt 0.881109 0.793568 +vt 0.895295 0.793568 +vt 0.863969 0.216879 +vt 0.859713 0.253475 +vt 0.854039 0.253475 +vt 0.360030 0.936057 +vt 0.364286 0.899462 +vt 0.369960 0.899462 +vt 0.887314 0.197554 +vt 0.891570 0.160958 +vt 0.897244 0.160958 +vt 0.895652 0.687163 +vt 0.891396 0.723759 +vt 0.885722 0.723759 +vt 0.904765 0.045439 +vt 0.909021 0.008844 +vt 0.914695 0.008844 +vt 0.885365 0.884953 +vt 0.891039 0.884953 +vt 0.895295 0.921548 +vt 0.471543 0.896183 +vt 0.477217 0.896183 +vt 0.481472 0.932779 +vt 0.776271 0.878540 +vt 0.781945 0.878540 +vt 0.786201 0.915136 +vt 0.439906 0.896183 +vt 0.445580 0.896183 +vt 0.449836 0.932779 +vt 0.031003 0.938840 +vt 0.025329 0.938840 +vt 0.021073 0.902244 +vt 0.094276 0.938840 +vt 0.088601 0.938840 +vt 0.084346 0.902244 +vt 0.164304 0.938840 +vt 0.158630 0.938840 +vt 0.154374 0.902244 +vt 0.885675 0.216879 +vt 0.891349 0.216879 +vt 0.895605 0.253475 +vt 0.885365 0.320078 +vt 0.891039 0.320078 +vt 0.895295 0.356674 +vt 0.891570 0.106675 +vt 0.897244 0.106675 +vt 0.901499 0.143271 +vt 0.122738 0.938840 +vt 0.126994 0.902244 +vt 0.132668 0.902244 +vt 0.778354 0.251274 +vt 0.774342 0.230830 +vt 0.778354 0.226763 +vt 0.959638 0.626834 +vt 0.945096 0.626834 +vt 0.945096 0.598079 +vt 0.467287 0.448081 +vt 0.495658 0.448081 +vt 0.495658 0.683912 +vt 0.557450 0.991156 +vt 0.542907 0.991156 +vt 0.542907 0.962401 +vt 0.602557 0.962401 +vt 0.617100 0.962401 +vt 0.617100 0.991156 +vt 0.991275 0.504738 +vt 0.976732 0.504738 +vt 0.976732 0.475983 +vt 0.990917 0.884953 +vt 0.990917 0.913708 +vt 0.976375 0.913708 +vt 0.214381 0.953744 +vt 0.214381 0.982500 +vt 0.199839 0.982500 +vt 0.959638 0.692703 +vt 0.959638 0.721458 +vt 0.945096 0.721458 +vt 0.694915 0.327918 +vt 0.694915 0.356673 +vt 0.680372 0.356674 +vt 0.965486 0.166498 +vt 0.965486 0.195253 +vt 0.950943 0.195253 +vt 0.328037 0.982500 +vt 0.328037 0.953744 +vt 0.342579 0.953744 +vt 0.634551 0.991156 +vt 0.634551 0.962401 +vt 0.649093 0.962401 +vt 0.991275 0.458295 +vt 0.976732 0.458295 +vt 0.976732 0.429540 +vt 0.968394 0.016684 +vt 0.982937 0.016684 +vt 0.982937 0.045439 +vt 0.950943 0.112215 +vt 0.965486 0.112215 +vt 0.965486 0.140970 +vt 0.950943 0.063472 +vt 0.965486 0.063472 +vt 0.965486 0.092227 +vt 0.959638 0.673277 +vt 0.945096 0.673277 +vt 0.945096 0.644522 +vt 0.259846 0.953744 +vt 0.274388 0.953745 +vt 0.274388 0.982500 +vt 0.053217 0.027881 +vt 0.079895 0.012607 +vt 0.081713 0.018208 +vt 0.542907 0.224040 +vt 0.571278 0.224040 +vt 0.571278 0.459872 +vt 0.680372 0.713391 +vt 0.680372 0.477560 +vt 0.708743 0.477560 +vt 0.588729 0.713391 +vt 0.588729 0.477560 +vt 0.617100 0.477560 +vt 0.154374 0.454142 +vt 0.182745 0.454142 +vt 0.182745 0.689973 +vt 0.345845 0.687191 +vt 0.345845 0.451359 +vt 0.374216 0.451359 +vt 0.418200 0.979221 +vt 0.403657 0.979221 +vt 0.403657 0.950466 +vt 0.990917 0.810682 +vt 0.976375 0.810682 +vt 0.976375 0.781927 +vt 0.990917 0.838510 +vt 0.990917 0.867266 +vt 0.976375 0.867266 +vt 0.090745 0.985282 +vt 0.090745 0.956527 +vt 0.105287 0.956527 +vt 0.052710 0.985282 +vt 0.052710 0.956527 +vt 0.067252 0.956527 +vt 0.291839 0.982500 +vt 0.291839 0.953744 +vt 0.306382 0.953744 +vt 0.498923 0.979221 +vt 0.498923 0.950466 +vt 0.513466 0.950466 +vt 0.945096 0.302391 +vt 0.945096 0.273635 +vt 0.959638 0.273635 +vt 0.154017 0.985282 +vt 0.154017 0.956527 +vt 0.168560 0.956527 +vt 0.708743 0.962401 +vt 0.708743 0.991156 +vt 0.694201 0.991156 +vt 0.959638 0.405589 +vt 0.945096 0.405589 +vt 0.945096 0.376834 +vt 0.450193 0.979222 +vt 0.435651 0.979221 +vt 0.435651 0.950466 +vt 0.374573 0.982500 +vt 0.360030 0.982500 +vt 0.360030 0.953744 +vt 0.035259 0.985282 +vt 0.020716 0.985282 +vt 0.020716 0.956527 +vt 0.976732 0.967991 +vt 0.976732 0.939236 +vt 0.991274 0.939236 +vt 0.449836 0.683912 +vt 0.421465 0.683912 +vt 0.421465 0.448081 +vt 0.274388 0.687191 +vt 0.246018 0.687191 +vt 0.246018 0.451359 +vt 0.588729 0.459872 +vt 0.588729 0.224040 +vt 0.617100 0.224040 +vt 0.571278 0.713391 +vt 0.542907 0.713391 +vt 0.542907 0.477560 +vt 0.038524 0.689973 +vt 0.038524 0.454142 +vt 0.066895 0.454142 +vt 0.634551 0.713391 +vt 0.634551 0.477560 +vt 0.662921 0.477560 +vt 0.112717 0.689973 +vt 0.084346 0.689973 +vt 0.084346 0.454142 +vt 0.200196 0.451359 +vt 0.228567 0.451359 +vt 0.228567 0.687191 +vt 0.328394 0.451359 +vt 0.328394 0.687191 +vt 0.300023 0.687191 +vt 0.634551 0.459872 +vt 0.634551 0.224040 +vt 0.662921 0.224040 +vt 0.110309 0.008844 +vt 0.109874 0.014723 +vt 0.139830 0.017163 +vt 0.137208 0.022426 +vt 0.163962 0.036300 +vt 0.159553 0.040145 +vt 0.179032 0.063340 +vt 0.173506 0.065182 +vt 0.182745 0.094167 +vt 0.176944 0.093726 +vt 0.174537 0.124087 +vt 0.155656 0.148547 +vt 0.151862 0.144077 +vt 0.128978 0.163821 +vt 0.127160 0.158220 +vt 0.098563 0.167584 +vt 0.098998 0.161705 +vt 0.069043 0.159265 +vt 0.071664 0.154002 +vt 0.044911 0.140128 +vt 0.049320 0.136283 +vt 0.029841 0.113088 +vt 0.035366 0.111246 +vt 0.039529 0.054998 +vt 0.034336 0.052341 +vt 0.031928 0.082702 +vt 0.026127 0.082261 +vt 0.918950 0.112215 +vt 0.933493 0.112215 +vt 0.933493 0.143271 +vt 0.771658 0.932823 +vt 0.786201 0.932823 +vt 0.786201 0.963879 +vt 0.913103 0.271335 +vt 0.927645 0.271335 +vt 0.927645 0.302391 +vt 0.411744 0.060234 +vt 0.406370 0.057978 +vt 0.423393 0.032156 +vt 0.406209 0.088437 +vt 0.400392 0.088437 +vt 0.411744 0.116640 +vt 0.406370 0.118896 +vt 0.944382 0.836210 +vt 0.958924 0.836210 +vt 0.958924 0.867266 +vt 0.557450 0.944714 +vt 0.542907 0.944714 +vt 0.542907 0.913658 +vt 0.959281 0.939236 +vt 0.959281 0.970291 +vt 0.944739 0.970291 +vt 0.927288 0.520201 +vt 0.927288 0.551257 +vt 0.912746 0.551257 +vt 0.895295 0.939236 +vt 0.895295 0.970291 +vt 0.880752 0.970291 +vt 0.881110 0.405589 +vt 0.881110 0.374533 +vt 0.895652 0.374533 +vt 0.918950 0.197554 +vt 0.918950 0.166498 +vt 0.933493 0.166498 +vt 0.817837 0.687163 +vt 0.832379 0.687163 +vt 0.832379 0.775881 +vt 0.913103 0.723759 +vt 0.913103 0.692703 +vt 0.927645 0.692703 +vt 0.740736 0.932823 +vt 0.740736 0.963879 +vt 0.726194 0.963879 +vt 0.944382 0.884953 +vt 0.958924 0.884953 +vt 0.958924 0.916009 +vt 0.918950 0.063472 +vt 0.933493 0.063472 +vt 0.933493 0.094528 +vt 0.602557 0.834277 +vt 0.617100 0.834277 +vt 0.617100 0.895970 +vt 0.427506 0.140549 +vt 0.423393 0.144718 +vt 0.451095 0.156525 +vt 0.448869 0.161972 +vt 0.478921 0.162134 +vt 0.478921 0.168030 +vt 0.506746 0.156524 +vt 0.508972 0.161972 +vt 0.530336 0.140549 +vt 0.534449 0.144718 +vt 0.546098 0.116640 +vt 0.551472 0.118896 +vt 0.551633 0.088437 +vt 0.557450 0.088437 +vt 0.546098 0.060234 +vt 0.551472 0.057978 +vt 0.530336 0.036325 +vt 0.534449 0.032156 +vt 0.506746 0.020349 +vt 0.508972 0.014902 +vt 0.478921 0.014739 +vt 0.478921 0.008844 +vt 0.451095 0.020349 +vt 0.448869 0.014902 +vt 0.427506 0.036325 +vt 0.273183 0.239465 +vt 0.248481 0.253608 +vt 0.244687 0.249139 +vt 0.927645 0.626834 +vt 0.913103 0.626834 +vt 0.913103 0.595778 +vt 0.331300 0.017163 +vt 0.355433 0.036300 +vt 0.351023 0.040145 +vt 0.230999 0.276256 +vt 0.225806 0.273598 +vt 0.223399 0.303960 +vt 0.217598 0.303519 +vt 0.927598 0.247935 +vt 0.913056 0.247935 +vt 0.913056 0.216879 +vt 0.708743 0.944714 +vt 0.694201 0.944714 +vt 0.694201 0.913658 +vt 0.226837 0.332503 +vt 0.221311 0.334346 +vt 0.912746 0.428816 +vt 0.927288 0.428816 +vt 0.927288 0.459872 +vt 0.182745 0.212414 +vt 0.153742 0.210209 +vt 0.240790 0.357540 +vt 0.236381 0.361386 +vt 0.263135 0.375259 +vt 0.260513 0.380522 +vt 0.936401 0.014383 +vt 0.950944 0.014383 +vt 0.950944 0.045439 +vt 0.944382 0.781927 +vt 0.958924 0.781927 +vt 0.958924 0.812983 +vt 0.912746 0.970291 +vt 0.912746 0.939236 +vt 0.927288 0.939236 +vt 0.634551 0.944713 +vt 0.634551 0.913658 +vt 0.649093 0.913658 +vt 0.602557 0.944713 +vt 0.602557 0.913658 +vt 0.617100 0.913658 +vt 0.881110 0.302391 +vt 0.881110 0.271335 +vt 0.895652 0.271335 +vt 0.913103 0.405589 +vt 0.913103 0.374533 +vt 0.927645 0.374533 +vt 0.927288 0.356674 +vt 0.912746 0.356674 +vt 0.912746 0.325618 +vt 0.959281 0.551257 +vt 0.944739 0.551257 +vt 0.944739 0.520201 +vt 0.817480 0.939236 +vt 0.832022 0.939236 +vt 0.832022 0.970292 +vt 0.301345 0.235981 +vt 0.271365 0.233865 +vt 0.328679 0.243684 +vt 0.301780 0.230101 +vt 0.351023 0.261403 +vt 0.331300 0.238421 +vt 0.355433 0.257558 +vt 0.370502 0.284598 +vt 0.364977 0.286440 +vt 0.374216 0.315424 +vt 0.368415 0.314983 +vt 0.366007 0.345345 +vt 0.360815 0.342688 +vt 0.347127 0.369804 +vt 0.343333 0.365335 +vt 0.320448 0.385078 +vt 0.318630 0.379478 +vt 0.290034 0.388842 +vt 0.290469 0.382963 +vt 0.370502 0.063340 +vt 0.364977 0.065182 +vt 0.374216 0.094167 +vt 0.368415 0.093726 +vt 0.366007 0.124087 +vt 0.347127 0.148547 +vt 0.343333 0.144078 +vt 0.320448 0.163821 +vt 0.318630 0.158220 +vt 0.290034 0.167584 +vt 0.290469 0.161705 +vt 0.260513 0.159265 +vt 0.263135 0.154002 +vt 0.236381 0.140128 +vt 0.240790 0.136283 +vt 0.221311 0.113088 +vt 0.226837 0.111246 +vt 0.217598 0.082261 +vt 0.223399 0.082702 +vt 0.225806 0.052341 +vt 0.230999 0.054998 +vt 0.244687 0.027881 +vt 0.248481 0.032351 +vt 0.271365 0.012607 +vt 0.301780 0.008844 +vt 0.301345 0.014723 +vt 0.124576 0.230101 +vt 0.182745 0.230101 +vt 0.182745 0.436454 +vt 0.449836 0.224040 +vt 0.449836 0.430393 +vt 0.391667 0.430393 +vt 0.066895 0.436454 +vt 0.008725 0.436454 +vt 0.008725 0.230101 +vt 0.467287 0.224040 +vt 0.525456 0.224040 +vt 0.525456 0.430393 +vt 0.927645 0.644522 +vt 0.927645 0.674001 +vt 0.913103 0.674001 +vt 0.945049 0.246358 +vt 0.945049 0.216879 +vt 0.959592 0.216879 +vt 0.944739 0.356674 +vt 0.944739 0.327195 +vt 0.959281 0.327195 +vt 0.959281 0.428816 +vt 0.959281 0.458295 +vt 0.944739 0.458295 +vt 0.420751 0.206353 +vt 0.557450 0.834277 +vt 0.557450 0.895970 +vt 0.542907 0.895970 +vt 0.374216 0.212414 +vt 0.345212 0.210209 +vt 0.084346 0.425224 +vt 0.084346 0.336506 +vt 0.098888 0.336506 +vt 0.229199 0.422648 +vt 0.634551 0.895970 +vt 0.634551 0.834277 +vt 0.649093 0.834277 +vt 0.374216 0.433671 +vt 0.345212 0.431467 +vt 0.229199 0.201390 +vt 0.832379 0.669476 +vt 0.817837 0.669476 +vt 0.817837 0.580758 +vt 0.708743 0.834277 +vt 0.708743 0.895970 +vt 0.694201 0.895970 +vt 0.566175 0.206353 +vt 0.537090 0.206353 +vt 0.084346 0.318819 +vt 0.084346 0.230101 +vt 0.098888 0.230101 +vt 0.037729 0.201390 +vt 0.608589 0.731079 +vt 0.791875 0.374361 +vt 0.791875 0.477560 +vt 0.058384 0.707661 +vt 0.311699 0.704878 +vt 0.220055 0.704878 +vt 0.746053 0.374361 +vt 0.746053 0.477560 +vt 0.708743 0.309552 +vt 0.374216 0.790389 +vt 0.746584 0.197554 +vt 0.746584 0.094355 +vt 0.754565 0.356674 +vt 0.800386 0.666270 +vt 0.792405 0.094355 +vt 0.838227 0.197554 +vt 0.873129 0.008844 +vt 0.328394 0.808077 +vt 0.864016 0.687163 +vt 0.817837 0.356673 +vt 0.809856 0.082541 +vt 0.360030 0.808077 +vt 0.863659 0.386175 +vt 0.154374 0.810859 +vt 0.449836 0.804798 +vt 0.122738 0.810859 +vt 0.498923 0.804798 +vt 0.726194 0.787156 +vt 0.817837 0.793568 +vt 0.849473 0.356674 +vt 0.841493 0.008844 +vt 0.200196 0.881774 +vt 0.743294 0.224562 +vt 0.748536 0.226763 +vt 0.754720 0.236143 +vt 0.754720 0.241894 +vt 0.752548 0.230830 +vt 0.752548 0.247207 +vt 0.748536 0.251274 +vt 0.743294 0.253475 +vt 0.732377 0.251274 +vt 0.737620 0.253475 +vt 0.728365 0.230830 +vt 0.726194 0.236143 +vt 0.732377 0.226763 +vt 0.306025 0.936057 +vt 0.056965 0.938840 +vt 0.926931 0.867266 +vt 0.926931 0.921548 +vt 0.926931 0.812983 +vt 0.214381 0.936057 +vt 0.338324 0.899462 +vt 0.895652 0.632374 +vt 0.274388 0.936057 +vt 0.413944 0.896183 +vt 0.740379 0.915136 +vt 0.859403 0.884953 +vt 0.895295 0.459872 +vt 0.828077 0.216879 +vt 0.503179 0.932779 +vt 0.822092 0.921548 +vt 0.726194 0.580758 +vt 0.274388 0.790389 +vt 0.672391 0.206353 +vt 0.672391 0.094355 +vt 0.680372 0.459872 +vt 0.726194 0.769468 +vt 0.154374 0.793172 +vt 0.542907 0.816590 +vt 0.662921 0.731079 +vt 0.680372 0.816590 +vt 0.772016 0.356674 +vt 0.772015 0.683957 +vt 0.792405 0.197554 +vt 0.112717 0.793172 +vt 0.449836 0.787111 +vt 0.467287 0.701600 +vt 0.643466 0.028607 +vt 0.635442 0.069495 +vt 0.613609 0.073897 +vt 0.603125 0.020473 +vt 0.881109 0.551257 +vt 0.817837 0.459872 +vt 0.274388 0.808077 +vt 0.849473 0.551257 +vt 0.021073 0.884557 +vt 0.404014 0.804798 +vt 0.849473 0.867266 +vt 0.467287 0.804798 +vt 0.772015 0.860853 +vt 0.084346 0.810859 +vt 0.869863 0.123856 +vt 0.849830 0.595778 +vt 0.817837 0.551257 +vt 0.306025 0.881774 +vt 0.052710 0.884557 +vt 0.895295 0.867266 +vt 0.849783 0.216879 +vt 0.374216 0.936057 +vt 0.901499 0.197554 +vt 0.881466 0.687163 +vt 0.918950 0.045439 +vt 0.881109 0.921548 +vt 0.467287 0.932779 +vt 0.772015 0.915136 +vt 0.435651 0.932779 +vt 0.035259 0.902244 +vt 0.098531 0.902244 +vt 0.168560 0.902244 +vt 0.881420 0.253475 +vt 0.881110 0.356674 +vt 0.887314 0.143271 +vt 0.136924 0.938840 +vt 0.789271 0.253475 +vt 0.783596 0.253475 +vt 0.774342 0.247207 +vt 0.772171 0.241894 +vt 0.772171 0.236143 +vt 0.783596 0.224562 +vt 0.800696 0.236143 +vt 0.794513 0.226763 +vt 0.789271 0.224562 +vt 0.798525 0.230830 +vt 0.798525 0.247207 +vt 0.794513 0.251274 +vt 0.800696 0.241894 +vt 0.959638 0.598079 +vt 0.467287 0.683912 +vt 0.557450 0.962401 +vt 0.602557 0.991156 +vt 0.991275 0.475983 +vt 0.976375 0.884953 +vt 0.199839 0.953745 +vt 0.945096 0.692703 +vt 0.680372 0.327918 +vt 0.950943 0.166498 +vt 0.342579 0.982500 +vt 0.649093 0.991156 +vt 0.991275 0.429540 +vt 0.968394 0.045439 +vt 0.950943 0.140970 +vt 0.950943 0.092227 +vt 0.959638 0.644522 +vt 0.259846 0.982500 +vt 0.057011 0.032351 +vt 0.542907 0.459872 +vt 0.708743 0.713391 +vt 0.617100 0.713391 +vt 0.154374 0.689973 +vt 0.374216 0.687191 +vt 0.418200 0.950466 +vt 0.990917 0.781927 +vt 0.976375 0.838510 +vt 0.105287 0.985282 +vt 0.067252 0.985282 +vt 0.306382 0.982500 +vt 0.513466 0.979221 +vt 0.959638 0.302391 +vt 0.168560 0.985282 +vt 0.694201 0.962401 +vt 0.959638 0.376834 +vt 0.450193 0.950466 +vt 0.374573 0.953745 +vt 0.035259 0.956527 +vt 0.991274 0.967991 +vt 0.449836 0.448081 +vt 0.274388 0.451359 +vt 0.617100 0.459872 +vt 0.571278 0.477560 +vt 0.066895 0.689973 +vt 0.662921 0.713391 +vt 0.112717 0.454142 +vt 0.200196 0.687191 +vt 0.300023 0.451359 +vt 0.662921 0.459872 +vt 0.169344 0.121430 +vt 0.918950 0.143271 +vt 0.771658 0.963879 +vt 0.913103 0.302391 +vt 0.944382 0.867266 +vt 0.557450 0.913658 +vt 0.944739 0.939236 +vt 0.912746 0.520201 +vt 0.880752 0.939236 +vt 0.895652 0.405589 +vt 0.933493 0.197554 +vt 0.817837 0.775881 +vt 0.927645 0.723759 +vt 0.726194 0.932823 +vt 0.944382 0.916009 +vt 0.918950 0.094528 +vt 0.602557 0.895970 +vt 0.927645 0.595778 +vt 0.328679 0.022426 +vt 0.927598 0.216879 +vt 0.708743 0.913658 +vt 0.912746 0.459872 +vt 0.936401 0.045439 +vt 0.944382 0.812983 +vt 0.927288 0.970291 +vt 0.649093 0.944713 +vt 0.617100 0.944713 +vt 0.895652 0.302391 +vt 0.927645 0.405589 +vt 0.927288 0.325618 +vt 0.959281 0.520201 +vt 0.817480 0.970292 +vt 0.360815 0.121430 +vt 0.273183 0.018208 +vt 0.124576 0.436454 +vt 0.391667 0.224040 +vt 0.066895 0.230101 +vt 0.467287 0.430393 +vt 0.913103 0.644522 +vt 0.959592 0.246358 +vt 0.959281 0.356674 +vt 0.944739 0.428816 +vt 0.391667 0.206353 +vt 0.542907 0.834277 +vt 0.098888 0.425224 +vt 0.200196 0.420443 +vt 0.649093 0.895970 +vt 0.200196 0.199185 +vt 0.832379 0.580758 +vt 0.694201 0.834277 +vt 0.098888 0.318819 +vt 0.008725 0.199185 +vn 0.000000 0.000002 -1.000000 +vn 0.168138 0.845286 0.507170 +vn 0.478816 0.716599 0.507170 +vn 0.716599 0.478815 0.507171 +vn 0.845286 0.168137 0.507170 +vn 0.845285 -0.168138 0.507171 +vn 0.716598 -0.478816 0.507171 +vn 0.478815 -0.716598 0.507172 +vn 0.168138 -0.845285 0.507172 +vn -0.168138 -0.845285 0.507172 +vn -0.478815 -0.716598 0.507172 +vn -0.716597 -0.478816 0.507172 +vn -0.845285 -0.168138 0.507171 +vn -0.845286 0.168137 0.507171 +vn -0.716598 0.478816 0.507171 +vn -0.478816 0.716599 0.507170 +vn -0.168138 0.845285 0.507171 +vn 0.000003 0.000000 -1.000000 +vn -0.000003 0.000001 -1.000000 +vn 0.000004 0.000002 -1.000000 +vn -0.000002 0.000000 -1.000000 +vn 0.000003 0.000002 -1.000000 +vn 0.000004 0.000000 -1.000000 +vn 0.000002 0.000003 -1.000000 +vn 0.000000 -0.000001 -1.000000 +vn 0.000000 0.000001 -1.000000 +vn 0.000000 -0.000002 -1.000000 +vn 0.000000 -0.000000 -1.000000 +vn 0.195090 0.980785 0.000000 +vn -0.195090 0.980785 0.000000 +vn 0.555570 0.831470 0.000000 +vn 0.831469 0.555571 0.000000 +vn 0.980785 0.195090 0.000000 +vn 0.980785 -0.195090 0.000000 +vn 0.831470 -0.555570 0.000000 +vn 0.555570 -0.831470 0.000000 +vn 0.195090 -0.980785 0.000000 +vn -0.195091 -0.980785 0.000000 +vn -0.555570 0.831469 0.000000 +vn -0.831470 0.555570 0.000000 +vn -0.980785 0.195090 0.000000 +vn -0.980785 -0.195090 0.000000 +vn -0.831470 -0.555570 0.000000 +vn -0.555570 -0.831470 0.000000 +vn 0.000000 0.000000 1.000000 +vn 0.669780 0.447532 0.592545 +vn 0.447531 0.669780 0.592546 +vn 0.157155 0.790059 0.592545 +vn -0.157155 0.790059 0.592545 +vn -0.447531 0.669780 0.592546 +vn -0.669781 0.447533 0.592543 +vn -0.790059 0.157152 0.592545 +vn -0.790060 -0.157152 0.592545 +vn -0.669779 -0.447533 0.592545 +vn -0.447533 -0.669780 0.592545 +vn -0.157151 -0.790059 0.592545 +vn 0.157151 -0.790059 0.592545 +vn 0.447531 -0.669781 0.592545 +vn 0.669780 -0.447533 0.592545 +vn 0.790059 -0.157152 0.592545 +vn 0.790060 0.157153 0.592545 +vn -0.478815 0.716598 -0.507172 +vn -0.168137 0.845285 -0.507172 +vn 0.168136 0.845285 -0.507172 +vn 0.478814 0.716598 -0.507172 +vn 0.716598 0.478816 -0.507172 +vn 0.845285 0.168138 -0.507171 +vn 0.845285 -0.168138 -0.507171 +vn 0.716599 -0.478814 -0.507172 +vn 0.478816 -0.716599 -0.507170 +vn 0.168138 -0.845286 -0.507170 +vn -0.168137 -0.845286 -0.507170 +vn -0.478816 -0.716599 -0.507170 +vn -0.716599 -0.478815 -0.507171 +vn -0.845285 -0.168138 -0.507171 +vn -0.845285 0.168139 -0.507171 +vn -0.716598 0.478815 -0.507172 +vn -0.000002 0.000000 1.000000 +vn 0.000003 0.000000 1.000000 +vn 0.000003 -0.000002 1.000000 +vn 0.000000 -0.000001 1.000000 +vn 0.000002 -0.000001 1.000000 +vn -0.000003 -0.000002 1.000000 +vn 0.000001 -0.000001 1.000000 +vn 0.000003 -0.000001 1.000000 +vn 0.555569 0.831470 0.000000 +vn 0.831470 0.555570 0.000000 +vn 0.980785 0.195091 0.000000 +vn -0.555570 0.831470 0.000000 +vn -0.555570 -0.831469 0.000000 +vn 0.831469 -0.555571 0.000000 +vn -0.195090 -0.980785 0.000000 +vn 0.447532 0.669782 -0.592544 +vn 0.157155 0.790060 -0.592544 +vn -0.157155 0.790060 -0.592544 +vn -0.447531 0.669781 -0.592544 +vn -0.669780 0.447534 -0.592544 +vn -0.790061 0.157152 -0.592543 +vn -0.790059 -0.157153 -0.592545 +vn -0.669779 -0.447534 -0.592545 +vn -0.447529 -0.669781 -0.592546 +vn -0.157154 -0.790059 -0.592545 +vn 0.157160 -0.790058 -0.592545 +vn 0.447532 -0.669781 -0.592545 +vn 0.669780 0.447533 -0.592544 +vn 0.790059 0.157152 -0.592545 +vn 0.790060 -0.157152 -0.592544 +vn 0.669780 -0.447533 -0.592545 +vn 0.831470 0.555570 0.000005 +vn 0.831469 0.555570 0.000000 +vn 0.831469 0.555572 0.000005 +vn 0.555569 0.831470 0.000009 +vn 0.195091 0.980785 0.000009 +vn -0.195090 0.980785 0.000009 +vn -0.555570 0.831470 0.000011 +vn -0.831470 0.555570 0.000005 +vn -0.980785 0.195091 0.000002 +vn -0.980785 -0.195090 -0.000001 +vn -0.831470 -0.555569 -0.000005 +vn -0.555569 -0.831470 -0.000007 +vn -0.195091 -0.980785 -0.000009 +vn 0.195090 -0.980785 -0.000009 +vn 0.980785 0.195090 0.000002 +vn 0.980785 -0.195091 -0.000001 +vn 0.831469 -0.555572 -0.000005 +vn 0.555570 -0.831470 -0.000008 +vn -0.000002 -0.000004 1.000000 +vn 0.555571 0.831469 0.000008 +vn 0.195089 0.980786 0.000011 +vn -0.195090 0.980785 0.000008 +vn -0.555570 0.831470 0.000008 +vn -0.831470 0.555570 0.000002 +vn -0.980785 -0.195090 -0.000002 +vn -0.831470 -0.555570 -0.000005 +vn -0.555571 -0.831469 -0.000008 +vn -0.195090 -0.980785 -0.000008 +vn 0.980785 0.195091 0.000001 +vn 0.980785 -0.195090 -0.000002 +vn 0.831470 -0.555570 -0.000005 +vn 0.555571 -0.831469 -0.000008 +vn -0.831469 -0.555570 0.000000 +vn 0.000000 -0.000003 1.000000 +vn 0.000000 -0.000004 1.000000 +vn 0.000002 -0.000004 1.000000 +vn 0.000000 -0.000002 1.000000 +vn 0.000004 -0.000001 1.000000 +vn 0.000003 0.000001 1.000000 +vn 0.000002 0.000001 1.000000 +vn 0.000000 0.000001 1.000000 +vn -0.000001 0.000001 1.000000 +vn -0.000004 0.000002 1.000000 +vn -0.000004 -0.000002 1.000000 +vn -0.000004 -0.000001 1.000000 +vn -0.831469 0.555571 0.000000 +vn -0.000004 0.000001 -1.000000 +vn -0.195091 0.980785 0.000000 +vn -0.985791 0.167976 0.000000 +vn 0.999058 -0.043393 0.000000 +vn 0.000004 0.000001 -1.000000 +vn 0.000000 0.000003 -1.000000 +vn -0.000001 0.000001 -1.000000 +vn -0.000001 0.000000 -1.000000 +vn -0.555570 0.831470 -0.000001 +vn 0.000001 -0.000002 1.000000 +vn 0.000001 0.000001 -1.000000 +vn -0.000002 0.000001 -1.000000 +vn 0.000001 0.000002 -1.000000 +vn 0.000002 0.000001 -1.000000 +vn 0.000002 0.000000 -1.000000 +vn 0.000001 0.000001 1.000000 +vn -0.000002 -0.000002 1.000000 +vn -0.000001 -0.000001 1.000000 +vn 0.000000 1.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn 1.000000 -0.000001 0.000000 +vn -1.000000 0.000001 -0.000000 +vn -0.000003 -0.000000 -1.000000 +vn -0.999058 -0.043393 -0.000000 +vn -0.000003 0.000000 1.000000 +vn 0.985791 0.167976 0.000000 +vn 0.478815 0.716599 0.507171 +vn 0.716598 0.478816 0.507171 +vn 0.845285 -0.168138 0.507172 +vn 0.716597 -0.478816 0.507172 +vn 0.478816 -0.716598 0.507172 +vn -0.168137 -0.845285 0.507172 +vn -0.716598 -0.478816 0.507172 +vn -0.845285 0.168137 0.507171 +vn -0.716598 0.478816 0.507170 +vn -0.478816 0.716598 0.507170 +vn -0.168137 0.845286 0.507170 +vn -0.000002 0.000002 -1.000000 +vn 0.000001 0.000000 -1.000000 +vn 0.000006 0.000002 -1.000000 +vn -0.000006 -0.000001 -1.000000 +vn 0.000013 0.000000 1.000000 +vn -0.000006 0.000000 1.000000 +vn 0.000002 0.000000 1.000000 +vn -0.000013 0.000000 1.000000 +vn 0.669780 0.447531 0.592545 +vn 0.000010 0.000000 1.000000 +vn -0.000001 0.000000 1.000000 +vn 0.447534 0.669780 0.592543 +vn 0.157152 0.790059 0.592545 +vn -0.157152 0.790059 0.592546 +vn -0.447532 0.669780 0.592545 +vn -0.669780 0.447531 0.592546 +vn -0.790060 0.157152 0.592544 +vn -0.669780 -0.447533 0.592545 +vn -0.447534 -0.669780 0.592544 +vn -0.157154 -0.790059 0.592545 +vn 0.157154 -0.790059 0.592545 +vn 0.447534 -0.669780 0.592544 +vn 0.669782 -0.447531 0.592544 +vn 0.790059 -0.157153 0.592546 +vn 0.790059 0.157152 0.592545 +vn 0.168138 0.845285 -0.507172 +vn 0.478816 0.716598 -0.507172 +vn 0.716598 0.478816 -0.507171 +vn 0.716599 -0.478816 -0.507170 +vn 0.168137 -0.845286 -0.507170 +vn -0.168138 -0.845286 -0.507170 +vn -0.478815 -0.716599 -0.507170 +vn -0.716599 -0.478816 -0.507170 +vn -0.845285 -0.168137 -0.507171 +vn -0.845285 0.168138 -0.507171 +vn -0.716598 0.478816 -0.507172 +vn 0.000001 -0.000003 1.000000 +vn -0.000008 -0.000001 1.000000 +vn 0.195089 0.980785 0.000000 +vn 0.447532 0.669781 -0.592545 +vn 0.157152 0.790060 -0.592544 +vn -0.157151 0.790060 -0.592544 +vn -0.447532 0.669780 -0.592545 +vn -0.669781 0.447533 -0.592544 +vn -0.790059 0.157153 -0.592545 +vn -0.790060 -0.157152 -0.592545 +vn -0.669782 -0.447531 -0.592544 +vn -0.447533 -0.669780 -0.592545 +vn 0.157152 -0.790059 -0.592545 +vn 0.447531 -0.669780 -0.592546 +vn 0.669781 0.447533 -0.592543 +vn 0.790059 0.157154 -0.592544 +vn 0.790059 -0.157153 -0.592545 +vn 0.669782 -0.447531 -0.592544 +vn 0.000006 0.000000 -1.000000 +vn -0.000013 0.000000 -1.000000 +vn 0.000010 0.000000 -1.000000 +vn -0.000009 0.000000 -1.000000 +vn 0.831469 0.555570 0.000005 +vn 0.831470 0.555569 0.000004 +vn 0.555571 0.831469 0.000006 +vn 0.195090 0.980785 0.000011 +vn -0.195091 0.980785 0.000009 +vn -0.555570 0.831470 0.000006 +vn -0.831469 0.555571 0.000005 +vn -0.980785 0.195090 0.000002 +vn -0.980785 -0.195091 -0.000002 +vn -0.831469 -0.555570 -0.000004 +vn -0.555570 -0.831470 -0.000007 +vn 0.195091 -0.980785 -0.000008 +vn 0.980785 0.195091 0.000002 +vn 0.980785 -0.195090 -0.000001 +vn 0.831471 -0.555569 -0.000004 +vn -0.000002 -0.000003 1.000000 +vn 0.555570 0.831470 0.000009 +vn -0.555571 0.831469 0.000008 +vn -0.831469 0.555571 0.000006 +vn -0.831469 -0.555571 -0.000005 +vn -0.195090 -0.980785 -0.000009 +vn 0.980785 0.195090 0.000001 +vn 0.980785 -0.195091 -0.000002 +vn 0.831469 -0.555571 -0.000005 +vn 0.555570 -0.831470 -0.000006 +vn 0.000000 -0.000005 1.000000 +vn 0.000002 -0.000003 1.000000 +vn 0.000004 -0.000003 1.000000 +vn 0.000004 -0.000000 1.000000 +vn 0.000002 0.000002 1.000000 +vn -0.000008 0.000001 1.000000 +vn -0.000004 -0.000000 1.000000 +vn -0.831470 0.555569 0.000000 +vn 0.195089 -0.980785 0.000000 +vn -0.000004 -0.000000 -1.000000 +vn 0.000002 0.000002 -1.000000 +vn -0.555571 0.831469 0.000000 +vn 0.000005 0.000000 1.000000 +vn 0.831469 0.555572 0.000000 +vn 0.000001 -0.000000 1.000000 +vn -0.000001 -0.000003 1.000000 +vn -0.985791 0.167975 0.000000 +s off +f 37/1/1 53/2/1 52/3/1 +f 4/4/2 2/5/2 33/6/2 +f 6/7/3 4/8/3 48/9/3 +f 8/10/4 6/11/4 47/12/4 +f 10/13/5 8/14/5 46/15/5 +f 12/16/6 10/17/6 45/18/6 +f 14/19/7 12/20/7 44/21/7 +f 16/22/8 14/23/8 43/24/8 +f 18/25/9 16/26/9 42/27/9 +f 18/28/10 41/29/10 40/30/10 +f 20/31/11 40/32/11 39/33/11 +f 22/34/12 39/35/12 38/36/12 +f 24/37/13 38/38/13 37/39/13 +f 26/40/14 37/41/14 36/42/14 +f 28/43/15 36/44/15 35/45/15 +f 30/46/16 35/47/16 34/48/16 +f 32/49/17 34/50/17 33/51/17 +f 36/52/18 52/3/18 51/53/18 +f 35/54/19 51/53/19 50/55/19 +f 33/56/20 34/57/20 50/55/20 +f 33/56/21 49/58/21 64/59/21 +f 48/60/22 64/59/22 63/61/22 +f 46/62/23 47/63/23 63/61/23 +f 45/64/24 46/62/24 62/65/24 +f 45/64/25 61/66/25 60/67/25 +f 44/68/26 60/67/26 59/69/26 +f 43/70/25 59/69/25 58/71/25 +f 41/72/27 42/73/27 58/71/27 +f 40/74/1 41/72/1 57/75/1 +f 40/74/27 56/76/27 55/77/27 +f 39/78/1 55/77/1 54/79/1 +f 37/1/28 38/80/28 54/79/28 +f 49/81/29 65/82/29 80/83/29 +f 50/84/30 66/85/30 65/86/30 +f 63/87/31 64/88/31 80/89/31 +f 62/90/32 63/91/32 79/92/32 +f 61/93/33 62/94/33 78/95/33 +f 61/96/34 77/97/34 76/98/34 +f 59/99/35 60/100/35 76/101/35 +f 59/102/36 75/103/36 74/104/36 +f 57/105/37 58/106/37 74/107/37 +f 57/108/38 73/109/38 72/110/38 +f 51/111/39 67/112/39 66/113/39 +f 52/114/40 68/115/40 67/116/40 +f 53/117/41 69/118/41 68/119/41 +f 53/120/42 54/121/42 70/122/42 +f 55/123/43 71/124/43 70/125/43 +f 55/126/44 56/127/44 72/128/44 +f 92/129/45 93/130/45 81/131/45 +f 79/132/46 95/133/46 94/134/46 +f 79/135/47 80/136/47 96/137/47 +f 65/138/48 81/139/48 96/140/48 +f 66/141/49 82/142/49 81/143/49 +f 67/144/50 83/145/50 82/146/50 +f 68/147/51 84/148/51 83/149/51 +f 68/150/52 69/151/52 85/152/52 +f 70/153/53 86/154/53 85/155/53 +f 71/156/54 87/157/54 86/158/54 +f 71/159/55 72/160/55 88/161/55 +f 73/162/56 89/163/56 88/164/56 +f 73/165/57 74/166/57 90/167/57 +f 75/168/58 91/169/58 90/170/58 +f 75/171/59 76/172/59 92/173/59 +f 76/174/60 77/175/60 93/176/60 +f 77/177/61 78/178/61 94/179/61 +f 31/180/62 98/181/62 99/182/62 +f 1/183/63 97/184/63 98/185/63 +f 112/186/64 97/187/64 1/188/64 +f 111/189/65 112/190/65 3/191/65 +f 110/192/66 111/193/66 5/194/66 +f 109/195/67 110/196/67 7/197/67 +f 108/198/68 109/199/68 9/200/68 +f 107/201/69 108/202/69 11/203/69 +f 106/204/70 107/205/70 13/206/70 +f 105/207/71 106/208/71 15/209/71 +f 104/210/72 105/211/72 17/212/72 +f 21/213/73 103/214/73 104/215/73 +f 23/216/74 102/217/74 103/218/74 +f 25/219/75 101/220/75 102/221/75 +f 27/222/76 100/223/76 101/224/76 +f 29/225/77 99/226/77 100/227/77 +f 97/228/78 113/229/78 114/230/78 +f 98/231/79 114/230/79 115/232/79 +f 99/233/80 115/232/80 116/234/80 +f 116/234/81 117/235/81 101/236/81 +f 117/235/45 118/237/45 102/238/45 +f 118/237/82 119/239/82 103/240/82 +f 103/240/79 119/239/79 120/241/79 +f 120/241/80 121/242/80 105/243/80 +f 105/243/83 121/242/83 122/244/83 +f 122/244/78 123/245/78 107/246/78 +f 123/245/81 124/247/81 108/248/81 +f 124/247/45 125/249/45 109/250/45 +f 125/249/84 126/251/84 110/252/84 +f 110/252/85 126/251/85 127/253/85 +f 111/254/83 127/253/83 128/255/83 +f 128/255/45 113/229/45 97/228/45 +f 144/256/29 129/257/29 113/258/29 +f 143/259/86 144/260/86 128/261/86 +f 142/262/87 143/263/87 127/264/87 +f 141/265/88 142/266/88 126/267/88 +f 129/268/30 130/269/30 114/270/30 +f 114/271/89 130/272/89 131/273/89 +f 131/274/40 132/275/40 116/276/40 +f 116/277/41 132/278/41 133/279/41 +f 133/280/42 134/281/42 118/282/42 +f 118/283/43 134/284/43 135/285/43 +f 135/286/90 136/287/90 120/288/90 +f 124/289/34 140/290/34 141/291/34 +f 139/292/91 140/293/91 124/294/91 +f 122/295/36 138/296/36 139/297/36 +f 137/298/37 138/299/37 122/300/37 +f 120/301/92 136/302/92 137/303/92 +f 143/304/93 159/305/93 160/306/93 +f 144/307/94 160/308/94 145/309/94 +f 129/310/95 145/311/95 146/312/95 +f 130/313/96 146/314/96 147/315/96 +f 131/316/97 147/317/97 148/318/97 +f 148/319/98 149/320/98 133/321/98 +f 149/322/99 150/323/99 134/324/99 +f 150/325/100 151/326/100 135/327/100 +f 151/328/101 152/329/101 136/330/101 +f 152/331/102 153/332/102 137/333/102 +f 153/334/103 154/335/103 138/336/103 +f 154/337/104 155/338/104 139/339/104 +f 158/340/105 159/341/105 143/342/105 +f 157/343/106 158/344/106 142/345/106 +f 156/346/107 157/347/107 141/348/107 +f 139/349/108 155/350/108 156/351/108 +f 145/352/28 157/353/28 156/354/28 +f 8/355/109 174/356/109 175/357/109 +f 206/358/110 207/359/110 191/360/110 +f 5/361/111 223/362/111 222/363/111 +f 3/364/112 224/365/112 223/366/112 +f 1/367/113 209/368/113 224/369/113 +f 1/370/114 31/371/114 210/372/114 +f 31/373/115 29/374/115 211/375/115 +f 29/376/116 27/377/116 212/378/116 +f 27/379/117 25/380/117 213/381/117 +f 25/382/118 23/383/118 214/384/118 +f 23/385/119 21/386/119 215/387/119 +f 21/388/120 19/389/120 216/390/120 +f 17/391/121 217/392/121 216/393/121 +f 15/394/122 218/395/122 217/396/122 +f 7/397/123 222/398/123 221/399/123 +f 9/400/124 221/401/124 220/402/124 +f 11/403/125 220/404/125 219/405/125 +f 13/406/126 219/407/126 218/408/126 +f 287/409/127 288/410/127 176/411/127 +f 207/412/31 208/413/31 192/414/31 +f 192/415/29 208/416/29 193/417/29 +f 177/418/30 193/419/30 194/420/30 +f 194/421/89 195/422/89 179/423/89 +f 179/424/40 195/425/40 196/426/40 +f 6/427/128 175/428/128 176/429/128 +f 4/430/129 176/431/129 161/432/129 +f 161/433/130 162/434/130 32/435/130 +f 162/436/131 163/437/131 30/438/131 +f 163/439/132 164/440/132 28/441/132 +f 164/442/117 165/443/117 26/444/117 +f 165/445/133 166/446/133 24/447/133 +f 166/448/134 167/449/134 22/450/134 +f 167/451/135 168/452/135 20/453/135 +f 168/454/136 169/455/136 18/456/136 +f 10/457/137 173/458/137 174/459/137 +f 12/460/138 172/461/138 173/462/138 +f 14/463/139 171/464/139 172/465/139 +f 16/466/140 170/467/140 171/468/140 +f 169/469/122 170/470/122 16/471/122 +f 205/472/88 206/473/88 190/474/88 +f 204/475/34 205/476/34 189/477/34 +f 187/478/91 203/479/91 204/480/91 +f 202/481/36 203/482/36 187/483/36 +f 185/484/37 201/485/37 202/486/37 +f 184/487/92 200/488/92 201/489/92 +f 199/490/90 200/491/90 184/492/90 +f 198/493/141 199/494/141 183/495/141 +f 181/496/42 197/497/42 198/498/42 +f 180/499/41 196/500/41 197/501/41 +f 288/410/142 273/502/142 161/503/142 +f 273/502/143 274/504/143 162/505/143 +f 162/505/144 274/504/144 275/506/144 +f 163/507/145 275/506/145 276/508/145 +f 164/509/146 276/508/146 277/510/146 +f 165/511/45 277/510/45 278/512/45 +f 278/512/147 279/513/147 167/514/147 +f 279/513/148 280/515/148 168/516/148 +f 280/515/149 281/517/149 169/518/149 +f 281/517/150 282/519/150 170/520/150 +f 282/519/151 283/521/151 171/522/151 +f 283/521/45 284/523/45 172/524/45 +f 174/525/152 286/526/152 287/409/152 +f 173/527/153 285/528/153 286/526/153 +f 284/523/45 285/528/45 173/527/45 +f 260/529/154 276/530/154 275/531/154 +f 261/532/41 277/533/41 276/534/41 +f 262/535/42 278/536/42 277/537/42 +f 180/538/1 260/539/1 259/540/1 +f 180/538/155 181/541/155 261/542/155 +f 181/541/26 182/543/26 262/544/26 +f 259/545/89 275/546/89 274/547/89 +f 258/548/156 274/549/156 273/550/156 +f 272/551/29 257/552/29 273/553/29 +f 271/554/31 272/555/31 288/556/31 +f 270/557/87 271/558/87 287/559/87 +f 269/560/33 270/561/33 286/562/33 +f 268/563/34 269/564/34 285/565/34 +f 278/566/157 262/567/157 311/568/157 +f 266/569/36 267/570/36 283/571/36 +f 265/572/37 266/573/37 282/574/37 +f 265/575/92 281/576/92 280/577/92 +f 264/578/44 280/579/44 279/580/44 +f 263/581/158 279/582/158 310/583/158 +f 183/584/28 263/585/28 262/544/28 +f 184/586/21 264/587/21 263/585/21 +f 185/588/28 265/589/28 264/587/28 +f 186/590/28 266/591/28 265/589/28 +f 187/592/25 267/593/25 266/591/25 +f 188/594/159 268/595/159 267/593/159 +f 189/596/26 269/597/26 268/595/26 +f 190/598/159 270/599/159 269/597/159 +f 191/600/155 271/601/155 270/599/155 +f 191/600/160 192/602/160 272/603/160 +f 177/604/26 257/605/26 272/603/26 +f 177/604/160 178/606/160 258/607/160 +f 178/606/161 179/608/161 259/540/161 +f 210/609/162 211/610/162 227/611/162 +f 227/612/163 243/613/163 242/614/163 +f 242/615/164 243/616/164 195/617/164 +f 211/610/165 212/618/165 228/619/165 +f 212/618/26 213/620/26 229/621/26 +f 228/622/154 244/623/154 243/624/154 +f 229/625/41 245/626/41 244/627/41 +f 214/628/159 230/629/159 229/621/159 +f 230/630/42 246/631/42 245/632/42 +f 278/512/45 309/633/45 310/634/45 +f 215/635/28 231/636/28 230/629/28 +f 216/637/166 232/638/166 231/636/166 +f 232/639/44 248/640/44 247/641/44 +f 233/642/92 249/643/92 248/644/92 +f 233/645/37 234/646/37 250/647/37 +f 234/648/36 235/649/36 251/650/36 +f 236/651/34 237/652/34 253/653/34 +f 237/654/88 238/655/88 254/656/88 +f 238/657/87 239/658/87 255/659/87 +f 240/660/31 256/661/31 255/662/31 +f 225/663/29 241/664/29 256/665/29 +f 226/666/30 242/667/30 241/668/30 +f 209/669/167 210/609/167 226/670/167 +f 224/671/162 209/669/162 225/672/162 +f 223/673/168 224/671/168 240/674/168 +f 223/673/26 239/675/26 238/676/26 +f 222/677/26 238/676/26 237/678/26 +f 221/679/26 237/678/26 236/680/26 +f 220/681/159 236/680/159 235/682/159 +f 219/683/169 235/682/169 234/684/169 +f 218/685/167 234/684/167 233/686/167 +f 217/687/26 233/686/26 232/638/26 +f 243/616/164 244/688/164 196/689/164 +f 196/689/146 244/688/146 245/690/146 +f 197/691/81 245/690/81 246/692/81 +f 246/692/79 247/693/79 199/694/79 +f 247/693/45 248/695/45 200/696/45 +f 248/695/45 249/697/45 201/698/45 +f 249/697/45 250/699/45 202/700/45 +f 250/699/170 251/701/170 203/702/170 +f 251/701/81 252/703/81 204/704/81 +f 252/703/81 253/705/81 205/706/81 +f 205/706/153 253/705/153 254/707/153 +f 206/708/145 254/707/145 255/709/145 +f 207/710/171 255/709/171 256/711/171 +f 256/711/81 241/712/81 193/713/81 +f 193/713/172 241/712/172 242/615/172 +f 290/714/173 292/715/173 291/716/173 +f 295/717/174 296/718/174 294/719/174 +f 298/720/175 300/721/175 299/722/175 +f 301/723/176 303/724/176 304/725/176 +f 307/726/174 308/727/174 306/728/174 +f 311/729/174 312/730/174 310/731/174 +f 315/732/174 316/733/174 314/734/174 +f 319/735/174 320/736/174 318/737/174 +f 262/544/177 263/585/177 312/738/177 +f 247/739/158 318/740/158 320/741/158 +f 246/692/45 317/742/45 318/743/45 +f 230/744/157 319/745/157 317/746/157 +f 230/629/21 231/636/21 320/747/21 +f 235/748/178 315/749/178 313/750/178 +f 236/680/28 316/751/28 315/752/28 +f 252/703/179 251/701/179 313/753/179 +f 236/754/180 252/755/180 314/756/180 +f 267/757/178 307/758/178 305/759/178 +f 268/595/28 308/760/28 307/761/28 +f 284/762/180 306/763/180 308/764/180 +f 284/523/179 283/521/179 305/765/179 +f 36/52/160 37/1/160 52/3/160 +f 48/766/2 4/4/2 33/6/2 +f 47/767/181 6/7/181 48/9/181 +f 46/768/182 8/10/182 47/12/182 +f 45/769/5 10/13/5 46/15/5 +f 44/770/183 12/16/183 45/18/183 +f 43/771/184 14/19/184 44/21/184 +f 42/772/185 16/22/185 43/24/185 +f 41/773/9 18/25/9 42/27/9 +f 20/774/186 18/28/186 40/30/186 +f 22/775/11 20/31/11 39/33/11 +f 24/776/187 22/34/187 38/36/187 +f 26/777/13 24/37/13 37/39/13 +f 28/778/188 26/40/188 36/42/188 +f 30/779/189 28/43/189 35/45/189 +f 32/780/190 30/46/190 34/48/190 +f 2/781/191 32/49/191 33/51/191 +f 35/54/28 36/52/28 51/53/28 +f 34/57/1 35/54/1 50/55/1 +f 49/58/169 33/56/169 50/55/169 +f 48/60/192 33/56/192 64/59/192 +f 47/63/193 48/60/193 63/61/193 +f 62/65/28 46/62/28 63/61/28 +f 61/66/1 45/64/1 62/65/1 +f 44/68/28 45/64/28 60/67/28 +f 43/70/26 44/68/26 59/69/26 +f 42/73/27 43/70/27 58/71/27 +f 57/75/194 41/72/194 58/71/194 +f 56/76/195 40/74/195 57/75/195 +f 39/78/162 40/74/162 55/77/162 +f 38/80/28 39/78/28 54/79/28 +f 53/2/25 37/1/25 54/79/25 +f 64/782/29 49/81/29 80/83/29 +f 49/783/30 50/84/30 65/86/30 +f 79/784/31 63/87/31 80/89/31 +f 78/785/32 62/90/32 79/92/32 +f 77/786/33 61/93/33 78/95/33 +f 60/787/34 61/96/34 76/98/34 +f 75/788/35 59/99/35 76/101/35 +f 58/789/36 59/102/36 74/104/36 +f 73/790/37 57/105/37 74/107/37 +f 56/791/38 57/108/38 72/110/38 +f 50/792/39 51/111/39 66/113/39 +f 51/793/40 52/114/40 67/116/40 +f 52/794/41 53/117/41 68/119/41 +f 69/795/42 53/120/42 70/122/42 +f 54/796/43 55/123/43 70/125/43 +f 71/797/44 55/126/44 72/128/44 +f 81/131/196 82/798/196 83/799/196 +f 85/800/45 86/801/45 84/802/45 +f 81/131/179 84/802/179 87/803/179 +f 87/803/197 88/804/197 89/805/197 +f 91/806/45 92/129/45 90/807/45 +f 92/129/198 81/131/198 87/803/198 +f 95/808/45 81/131/45 94/809/45 +f 95/808/199 96/810/199 81/131/199 +f 78/811/200 79/132/200 94/134/200 +f 81/131/201 93/130/201 94/809/201 +f 92/129/202 87/803/202 90/807/202 +f 95/812/203 79/135/203 96/137/203 +f 84/802/45 86/801/45 87/803/45 +f 87/803/198 89/805/198 90/807/198 +f 81/131/45 83/799/45 84/802/45 +f 80/813/204 65/138/204 96/140/204 +f 65/814/205 66/141/205 81/143/205 +f 66/815/206 67/144/206 82/146/206 +f 67/816/207 68/147/207 83/149/207 +f 84/817/208 68/150/208 85/152/208 +f 69/818/53 70/153/53 85/155/53 +f 70/819/209 71/156/209 86/158/209 +f 87/820/210 71/159/210 88/161/210 +f 72/821/211 73/162/211 88/164/211 +f 89/822/212 73/165/212 90/167/212 +f 74/823/213 75/168/213 90/170/213 +f 91/824/214 75/171/214 92/173/214 +f 92/825/215 76/174/215 93/176/215 +f 93/826/216 77/177/216 94/179/216 +f 29/827/62 31/180/62 99/182/62 +f 31/828/63 1/183/63 98/185/63 +f 3/829/217 112/186/217 1/188/217 +f 5/830/218 111/189/218 3/191/218 +f 7/831/219 110/192/219 5/194/219 +f 9/832/67 109/195/67 7/197/67 +f 11/833/68 108/198/68 9/200/68 +f 13/834/220 107/201/220 11/203/220 +f 15/835/70 106/204/70 13/206/70 +f 17/836/221 105/207/221 15/209/221 +f 19/837/222 104/210/222 17/212/222 +f 19/838/223 21/213/223 104/215/223 +f 21/839/224 23/216/224 103/218/224 +f 23/840/225 25/219/225 102/221/225 +f 25/841/226 27/222/226 101/224/226 +f 27/842/227 29/225/227 100/227/227 +f 98/231/78 97/228/78 114/230/78 +f 99/233/228 98/231/228 115/232/228 +f 100/843/45 99/233/45 116/234/45 +f 100/843/81 116/234/81 101/236/81 +f 101/236/45 117/235/45 102/238/45 +f 102/238/81 118/237/81 103/240/81 +f 104/844/45 103/240/45 120/241/45 +f 104/844/78 120/241/78 105/243/78 +f 106/845/198 105/243/198 122/244/198 +f 106/845/45 122/244/45 107/246/45 +f 107/246/81 123/245/81 108/248/81 +f 108/248/45 124/247/45 109/250/45 +f 109/250/145 125/249/145 110/252/145 +f 111/254/229 110/252/229 127/253/229 +f 112/846/81 111/254/81 128/255/81 +f 112/846/198 128/255/198 97/228/198 +f 128/847/230 144/256/230 113/258/230 +f 127/848/31 143/259/31 128/261/31 +f 126/849/87 142/262/87 127/264/87 +f 125/850/33 141/265/33 126/267/33 +f 113/851/30 129/268/30 114/270/30 +f 115/852/89 114/271/89 131/273/89 +f 115/853/40 131/274/40 116/276/40 +f 117/854/41 116/277/41 133/279/41 +f 117/855/42 133/280/42 118/282/42 +f 119/856/43 118/283/43 135/285/43 +f 119/857/90 135/286/90 120/288/90 +f 125/858/34 124/289/34 141/291/34 +f 123/859/35 139/292/35 124/294/35 +f 123/860/36 122/295/36 139/297/36 +f 121/861/37 137/298/37 122/300/37 +f 121/862/92 120/301/92 137/303/92 +f 144/863/231 143/304/231 160/306/231 +f 129/864/232 144/307/232 145/309/232 +f 130/865/233 129/310/233 146/312/233 +f 131/866/234 130/313/234 147/315/234 +f 132/867/235 131/316/235 148/318/235 +f 132/868/236 148/319/236 133/321/236 +f 133/869/237 149/322/237 134/324/237 +f 134/870/238 150/325/238 135/327/238 +f 135/871/239 151/328/239 136/330/239 +f 136/872/102 152/331/102 137/333/102 +f 137/873/240 153/334/240 138/336/240 +f 138/874/241 154/337/241 139/339/241 +f 142/875/242 158/340/242 143/342/242 +f 141/876/243 157/343/243 142/345/243 +f 140/877/244 156/346/244 141/348/244 +f 140/878/245 139/349/245 156/351/245 +f 147/879/246 146/880/246 145/352/246 +f 145/352/247 160/881/247 159/882/247 +f 157/353/248 145/352/248 158/883/248 +f 155/884/28 151/885/28 156/354/28 +f 153/886/23 151/885/23 154/887/23 +f 153/886/247 152/888/247 151/885/247 +f 149/889/28 148/890/28 150/891/28 +f 147/879/28 145/352/28 148/890/28 +f 148/890/249 151/885/249 150/891/249 +f 151/885/28 155/884/28 154/887/28 +f 148/890/28 145/352/28 151/885/28 +f 6/892/250 8/355/250 175/357/250 +f 151/885/28 145/352/28 156/354/28 +f 145/352/28 159/882/28 158/883/28 +f 190/893/110 206/358/110 191/360/110 +f 7/894/251 5/361/251 222/363/251 +f 5/895/252 3/364/252 223/366/252 +f 3/896/253 1/367/253 224/369/253 +f 209/897/254 1/370/254 210/372/254 +f 210/898/255 31/373/255 211/375/255 +f 211/899/256 29/376/256 212/378/256 +f 212/900/257 27/379/257 213/381/257 +f 213/901/258 25/382/258 214/384/258 +f 214/902/259 23/385/259 215/387/259 +f 215/903/260 21/388/260 216/390/260 +f 19/904/136 17/391/136 216/393/136 +f 17/905/261 15/394/261 217/396/261 +f 9/906/262 7/397/262 221/399/262 +f 11/907/263 9/400/263 220/402/263 +f 13/908/264 11/403/264 219/405/264 +f 15/909/126 13/406/126 218/408/126 +f 175/910/265 287/409/265 176/411/265 +f 191/911/31 207/412/31 192/414/31 +f 177/912/29 192/415/29 193/417/29 +f 178/913/30 177/418/30 194/420/30 +f 178/914/89 194/421/89 179/423/89 +f 180/915/40 179/424/40 196/426/40 +f 4/916/266 6/427/266 176/429/266 +f 2/917/113 4/430/113 161/432/113 +f 2/918/130 161/433/130 32/435/130 +f 32/919/267 162/436/267 30/438/267 +f 30/920/268 163/439/268 28/441/268 +f 28/921/257 164/442/257 26/444/257 +f 26/922/258 165/445/258 24/447/258 +f 24/923/269 166/448/269 22/450/269 +f 22/924/260 167/451/260 20/453/260 +f 20/925/270 168/454/270 18/456/270 +f 8/926/271 10/457/271 174/459/271 +f 10/927/272 12/460/272 173/462/272 +f 12/928/273 14/463/273 172/465/273 +f 14/929/274 16/466/274 171/468/274 +f 18/930/122 169/469/122 16/471/122 +f 189/931/33 205/472/33 190/474/33 +f 188/932/34 204/475/34 189/477/34 +f 188/933/35 187/478/35 204/480/35 +f 186/934/36 202/481/36 187/483/36 +f 186/935/37 185/484/37 202/486/37 +f 185/936/92 184/487/92 201/489/92 +f 183/937/44 199/490/44 184/492/44 +f 182/938/43 198/493/43 183/495/43 +f 182/939/42 181/496/42 198/498/42 +f 181/940/41 180/499/41 197/501/41 +f 176/411/275 288/410/275 161/503/275 +f 161/503/142 273/502/142 162/505/142 +f 163/507/276 162/505/276 275/506/276 +f 164/509/277 163/507/277 276/508/277 +f 165/511/145 164/509/145 277/510/145 +f 166/941/278 165/511/278 278/512/278 +f 166/941/278 278/512/278 167/514/278 +f 167/514/279 279/513/279 168/516/279 +f 168/516/149 280/515/149 169/518/149 +f 169/518/149 281/517/149 170/520/149 +f 170/520/149 282/519/149 171/522/149 +f 171/522/280 283/521/280 172/524/280 +f 175/910/152 174/525/152 287/409/152 +f 174/525/81 173/527/81 286/526/81 +f 172/524/281 284/523/281 173/527/281 +f 259/942/282 260/529/282 275/531/282 +f 260/943/41 261/532/41 276/534/41 +f 261/944/42 262/535/42 277/537/42 +f 179/608/1 180/538/1 259/540/1 +f 260/539/155 180/538/155 261/542/155 +f 261/542/26 181/541/26 262/544/26 +f 258/945/89 259/545/89 274/547/89 +f 257/946/156 258/548/156 273/550/156 +f 288/947/29 272/551/29 273/553/29 +f 287/948/31 271/554/31 288/556/31 +f 286/949/32 270/557/32 287/559/32 +f 285/950/33 269/560/33 286/562/33 +f 284/951/34 268/563/34 285/565/34 +f 309/952/157 278/566/157 311/568/157 +f 282/953/36 266/569/36 283/571/36 +f 281/954/283 265/572/283 282/574/283 +f 264/955/92 265/575/92 280/577/92 +f 263/956/90 264/578/90 279/580/90 +f 312/957/158 263/581/158 310/583/158 +f 182/543/166 183/584/166 262/544/166 +f 183/584/25 184/586/25 263/585/25 +f 184/586/28 185/588/28 264/587/28 +f 185/588/28 186/590/28 265/589/28 +f 186/590/28 187/592/28 266/591/28 +f 187/592/284 188/594/284 267/593/284 +f 188/594/26 189/596/26 268/595/26 +f 189/596/26 190/598/26 269/597/26 +f 190/598/285 191/600/285 270/599/285 +f 271/601/1 191/600/1 272/603/1 +f 192/602/160 177/604/160 272/603/160 +f 257/605/26 177/604/26 258/607/26 +f 258/607/160 178/606/160 259/540/160 +f 226/670/26 210/609/26 227/611/26 +f 226/958/286 227/612/286 242/614/286 +f 194/959/142 242/615/142 195/617/142 +f 227/611/159 211/610/159 228/619/159 +f 228/619/26 212/618/26 229/621/26 +f 227/960/282 228/622/282 243/624/282 +f 228/961/41 229/625/41 244/627/41 +f 213/620/26 214/628/26 229/621/26 +f 229/962/42 230/630/42 245/632/42 +f 279/513/287 278/512/287 310/634/287 +f 214/628/1 215/635/1 230/629/1 +f 215/635/28 216/637/28 231/636/28 +f 231/963/90 232/639/90 247/641/90 +f 232/964/92 233/642/92 248/644/92 +f 249/965/283 233/645/283 250/647/283 +f 250/966/36 234/648/36 251/650/36 +f 252/967/34 236/651/34 253/653/34 +f 253/968/33 237/654/33 254/656/33 +f 254/969/288 238/657/288 255/659/288 +f 239/970/31 240/660/31 255/662/31 +f 240/971/29 225/663/29 256/665/29 +f 225/972/156 226/666/156 241/668/156 +f 225/672/162 209/669/162 226/670/162 +f 240/674/26 224/671/26 225/672/26 +f 239/675/28 223/673/28 240/674/28 +f 222/677/26 223/673/26 238/676/26 +f 221/679/26 222/677/26 237/678/26 +f 220/681/155 221/679/155 236/680/155 +f 219/683/26 220/681/26 235/682/26 +f 218/685/26 219/683/26 234/684/26 +f 217/687/166 218/685/166 233/686/166 +f 216/637/1 217/687/1 232/638/1 +f 195/617/145 243/616/145 196/689/145 +f 197/691/146 196/689/146 245/690/146 +f 198/973/81 197/691/81 246/692/81 +f 198/973/81 246/692/81 199/694/81 +f 199/694/148 247/693/148 200/696/148 +f 200/696/289 248/695/289 201/698/289 +f 201/698/289 249/697/289 202/700/289 +f 202/700/78 250/699/78 203/702/78 +f 203/702/45 251/701/45 204/704/45 +f 204/704/81 252/703/81 205/706/81 +f 206/708/153 205/706/153 254/707/153 +f 207/710/145 206/708/145 255/709/145 +f 208/974/142 207/710/142 256/711/142 +f 208/974/290 256/711/290 193/713/290 +f 194/959/228 193/713/228 242/615/228 +f 289/975/173 290/714/173 291/716/173 +f 293/976/174 295/717/174 294/719/174 +f 297/977/175 298/720/175 299/722/175 +f 302/978/176 301/723/176 304/725/176 +f 305/979/174 307/726/174 306/728/174 +f 309/980/174 311/729/174 310/731/174 +f 313/981/174 315/732/174 314/734/174 +f 317/982/174 319/735/174 318/737/174 +f 311/983/28 262/544/28 312/738/28 +f 231/984/158 247/739/158 320/741/158 +f 247/693/79 246/692/79 318/743/79 +f 246/985/291 230/744/291 317/746/291 +f 319/986/28 230/629/28 320/747/28 +f 251/987/178 235/748/178 313/750/178 +f 235/682/169 236/680/169 315/752/169 +f 314/988/45 252/703/45 313/753/45 +f 316/989/180 236/754/180 314/756/180 +f 283/990/178 267/757/178 305/759/178 +f 267/593/18 268/595/18 307/761/18 +f 268/991/180 284/762/180 308/764/180 +f 306/992/45 284/523/45 305/765/45 diff --git a/assets/hbm/models/IvyMike.obj b/assets/hbm/models/IvyMike.obj new file mode 100644 index 000000000..072791ffd --- /dev/null +++ b/assets/hbm/models/IvyMike.obj @@ -0,0 +1,699 @@ +# Blender v2.70 (sub 0) OBJ File: 'IvyMike.blend' +# www.blender.org +o Circle +v 0.000000 0.000000 -0.900000 +v -0.344415 0.000000 -0.831492 +v -0.636396 0.000000 -0.636396 +v -0.831492 0.000000 -0.344415 +v -0.900000 0.000000 0.000000 +v -0.831492 0.000000 0.344415 +v -0.636396 0.000000 0.636396 +v -0.344415 0.000000 0.831492 +v -0.000000 0.000000 0.900000 +v 0.344415 0.000000 0.831492 +v 0.636396 0.000000 0.636396 +v 0.831492 0.000000 0.344415 +v 0.900000 0.000000 -0.000000 +v 0.831491 0.000000 -0.344415 +v 0.636396 0.000000 -0.636396 +v 0.344415 0.000000 -0.831492 +v 0.000000 0.200000 -1.000000 +v 0.000000 5.200000 -1.000000 +v 0.382683 0.200000 -0.923880 +v 0.382683 5.200000 -0.923880 +v 0.707107 0.200000 -0.707107 +v 0.707107 5.200000 -0.707107 +v 0.923880 0.200000 -0.382683 +v 0.923880 5.200000 -0.382683 +v 1.000000 0.200000 0.000000 +v 1.000000 5.200000 0.000000 +v 0.923880 0.200000 0.382684 +v 0.923880 5.200000 0.382684 +v 0.707107 0.200000 0.707107 +v 0.707107 5.200000 0.707107 +v 0.382683 0.200000 0.923880 +v 0.382683 5.200000 0.923880 +v 0.000000 0.200000 1.000000 +v 0.000000 5.200000 1.000000 +v -0.382683 0.200000 0.923880 +v -0.382683 5.200000 0.923880 +v -0.707107 0.200000 0.707107 +v -0.707107 5.200000 0.707107 +v -0.923880 0.200000 0.382684 +v -0.923880 5.200000 0.382684 +v -1.000000 0.200000 -0.000000 +v -1.000000 5.200000 -0.000000 +v -0.923879 0.200000 -0.382684 +v -0.923879 5.200000 -0.382684 +v -0.707107 0.200000 -0.707107 +v -0.707107 5.200000 -0.707107 +v -0.382683 0.200000 -0.923880 +v -0.382683 5.200000 -0.923880 +v 0.000000 5.800000 -0.900000 +v -0.344415 5.800000 -0.831492 +v -0.636396 5.800000 -0.636396 +v -0.831492 5.800000 -0.344415 +v -0.900000 5.800000 0.000000 +v -0.831492 5.800000 0.344415 +v -0.636396 5.800000 0.636396 +v -0.344415 5.800000 0.831492 +v -0.000000 5.800000 0.900000 +v 0.344415 5.800000 0.831492 +v 0.636396 5.800000 0.636396 +v 0.831492 5.800000 0.344415 +v 0.900000 5.800000 -0.000000 +v 0.831491 5.800000 -0.344415 +v 0.636396 5.800000 -0.636396 +v 0.344415 5.800000 -0.831492 +v 0.000000 5.800000 -1.000000 +v -0.382683 5.800000 -0.923880 +v -0.707107 5.800000 -0.707107 +v -0.923880 5.800000 -0.382683 +v -1.000000 5.800000 0.000000 +v -0.923880 5.800000 0.382684 +v -0.707107 5.800000 0.707107 +v -0.382683 5.800000 0.923880 +v -0.000000 5.800000 1.000000 +v 0.382683 5.800000 0.923880 +v 0.707107 5.800000 0.707107 +v 0.923880 5.800000 0.382684 +v 1.000000 5.800000 -0.000000 +v 0.923879 5.800000 -0.382684 +v 0.707107 5.800000 -0.707107 +v 0.382683 5.800000 -0.923880 +v 0.600000 1.900000 1.100000 +v 0.600000 1.900000 0.500000 +v -0.600000 1.900000 0.500000 +v -0.600000 1.900000 1.100000 +v 0.600000 1.100000 1.100000 +v 0.600000 1.100000 0.500000 +v -0.600000 1.100000 0.500000 +v -0.600000 1.100000 1.100000 +v 0.000000 6.000000 0.000000 +vt 0.780720 0.606160 +vt 0.733985 0.606160 +vt 0.733985 0.003615 +vt 0.238546 0.849777 +vt 0.191811 0.849777 +vt 0.191811 0.247232 +vt 0.834642 0.606160 +vt 0.787907 0.606160 +vt 0.787907 0.003615 +vt 0.403268 0.826138 +vt 0.356533 0.826138 +vt 0.356533 0.223594 +vt 0.565033 0.606160 +vt 0.518298 0.606160 +vt 0.518298 0.003615 +vt 0.726798 0.606160 +vt 0.680063 0.606160 +vt 0.680063 0.003615 +vt 0.841828 0.003615 +vt 0.888563 0.003615 +vt 0.888563 0.606159 +vt 0.184624 0.849777 +vt 0.137889 0.849777 +vt 0.137889 0.247232 +vt 0.050328 0.849777 +vt 0.003593 0.849777 +vt 0.003593 0.247232 +vt 0.299654 0.223594 +vt 0.346389 0.223594 +vt 0.346389 0.826138 +vt 0.245733 0.223594 +vt 0.292468 0.223594 +vt 0.292468 0.826138 +vt 0.618955 0.606160 +vt 0.572220 0.606160 +vt 0.572220 0.003615 +vt 0.410455 0.223594 +vt 0.457190 0.223594 +vt 0.457190 0.826138 +vt 0.511112 0.606160 +vt 0.464377 0.606160 +vt 0.464377 0.003615 +vt 0.003593 0.930272 +vt 0.005930 0.857007 +vt 0.047992 0.857007 +vt 0.104250 0.849777 +vt 0.057515 0.849777 +vt 0.057515 0.247232 +vt 0.672877 0.606160 +vt 0.626142 0.606160 +vt 0.626142 0.003615 +vt 0.261829 0.049733 +vt 0.291571 0.019810 +vt 0.441094 0.049733 +vt 0.941179 0.738555 +vt 0.941179 0.696237 +vt 0.967860 0.693886 +vt 0.043701 0.939854 +vt 0.070382 0.937503 +vt 0.070382 0.984523 +vt 0.976353 0.348096 +vt 0.949672 0.350447 +vt 0.949672 0.303427 +vt 0.003593 0.939854 +vt 0.030274 0.937503 +vt 0.030274 0.984523 +vt 0.150757 0.982172 +vt 0.124076 0.984523 +vt 0.124076 0.937503 +vt 0.976353 0.267600 +vt 0.949672 0.269951 +vt 0.949672 0.222931 +vt 0.538352 0.951715 +vt 0.565033 0.949364 +vt 0.565033 0.996385 +vt 0.827395 0.897708 +vt 0.854076 0.895357 +vt 0.854076 0.942378 +vt 0.191811 0.939854 +vt 0.218492 0.937503 +vt 0.218492 0.984523 +vt 0.572220 0.871220 +vt 0.598901 0.868869 +vt 0.598901 0.915889 +vt 0.572220 0.925471 +vt 0.598901 0.923120 +vt 0.598901 0.970140 +vt 0.949672 0.530203 +vt 0.949672 0.487885 +vt 0.976353 0.485534 +vt 0.184624 0.939854 +vt 0.184624 0.982172 +vt 0.157943 0.984523 +vt 0.976353 0.561490 +vt 0.976353 0.603808 +vt 0.949672 0.606159 +vt 0.104250 0.939854 +vt 0.104250 0.982172 +vt 0.077569 0.984523 +vt 0.801017 0.951715 +vt 0.801017 0.994034 +vt 0.774336 0.996385 +vt 0.949672 0.204736 +vt 0.952008 0.131472 +vt 0.994070 0.131472 +vt 0.675229 0.966353 +vt 0.677566 0.893088 +vt 0.719627 0.893088 +vt 0.621307 0.966353 +vt 0.623644 0.893088 +vt 0.665706 0.893088 +vt 0.949672 0.124241 +vt 0.952008 0.050976 +vt 0.994070 0.050976 +vt 0.915184 0.966353 +vt 0.917521 0.893088 +vt 0.959582 0.893088 +vt 0.238546 0.930272 +vt 0.191811 0.930272 +vt 0.194148 0.857007 +vt 0.987914 0.686655 +vt 0.941179 0.686655 +vt 0.943516 0.613390 +vt 0.057515 0.930272 +vt 0.059852 0.857007 +vt 0.101913 0.857007 +vt 0.996407 0.430942 +vt 0.949672 0.430942 +vt 0.952008 0.357677 +vt 0.464377 0.946907 +vt 0.466713 0.873642 +vt 0.508775 0.873642 +vt 0.565033 0.942134 +vt 0.518298 0.942134 +vt 0.520635 0.868869 +vt 0.942485 0.350447 +vt 0.895750 0.350447 +vt 0.898087 0.277182 +vt 0.907998 0.966353 +vt 0.861263 0.966353 +vt 0.863599 0.893088 +vt 0.137889 0.930272 +vt 0.140226 0.857007 +vt 0.182288 0.857007 +vt 0.801017 0.942134 +vt 0.754282 0.942134 +vt 0.756619 0.868869 +vt 0.031437 0.182065 +vt 0.021478 0.188760 +vt 0.003593 0.145319 +vt 0.015341 0.142968 +vt 0.003593 0.098298 +vt 0.031437 0.061553 +vt 0.015341 0.100649 +vt 0.021478 0.054857 +vt 0.054525 0.021609 +vt 0.061179 0.031629 +vt 0.097702 0.003615 +vt 0.100039 0.015435 +vt 0.144437 0.003615 +vt 0.142100 0.015435 +vt 0.187615 0.021609 +vt 0.180960 0.031629 +vt 0.220661 0.054857 +vt 0.210702 0.061553 +vt 0.238546 0.098299 +vt 0.226798 0.100650 +vt 0.238546 0.145319 +vt 0.210702 0.182065 +vt 0.226798 0.142968 +vt 0.220661 0.188760 +vt 0.187615 0.222008 +vt 0.180960 0.211988 +vt 0.144437 0.240002 +vt 0.061179 0.211988 +vt 0.054525 0.222008 +vt 0.100039 0.228183 +vt 0.097702 0.240002 +vt 0.142100 0.228183 +vt 0.801017 0.613390 +vt 0.801017 0.758001 +vt 0.729151 0.758001 +vt 0.942485 0.124241 +vt 0.895750 0.124241 +vt 0.919118 0.003615 +vt 0.942485 0.478303 +vt 0.895750 0.478303 +vt 0.919118 0.357677 +vt 0.942485 0.252097 +vt 0.895750 0.252097 +vt 0.919118 0.131472 +vt 0.457190 0.953994 +vt 0.410455 0.953994 +vt 0.433822 0.833369 +vt 0.854076 0.888127 +vt 0.808204 0.879132 +vt 0.854076 0.765231 +vt 0.346389 0.953994 +vt 0.299654 0.953994 +vt 0.323022 0.833369 +vt 0.465240 0.752511 +vt 0.511112 0.743516 +vt 0.511112 0.866411 +vt 0.907998 0.885857 +vt 0.861263 0.885857 +vt 0.884630 0.765231 +vt 0.292468 0.953994 +vt 0.245733 0.953994 +vt 0.269100 0.833369 +vt 0.808204 0.758001 +vt 0.808204 0.613390 +vt 0.880071 0.613390 +vt 0.518298 0.613390 +vt 0.614121 0.613390 +vt 0.614121 0.758001 +vt 0.729151 0.861638 +vt 0.729151 0.765231 +vt 0.801017 0.765231 +vt 0.626142 0.613390 +vt 0.721964 0.613390 +vt 0.721964 0.758001 +vt 0.518298 0.861638 +vt 0.518298 0.765231 +vt 0.590165 0.765231 +vt 0.942485 0.606159 +vt 0.895750 0.606159 +vt 0.919118 0.485534 +vt 0.668042 0.885857 +vt 0.621307 0.885857 +vt 0.644675 0.765231 +vt 0.721964 0.885857 +vt 0.675229 0.885857 +vt 0.698596 0.765231 +vt 0.933992 0.734016 +vt 0.887257 0.734016 +vt 0.910625 0.613390 +vt 0.511112 0.613390 +vt 0.511112 0.736286 +vt 0.465240 0.622385 +vt 0.403268 0.953994 +vt 0.356533 0.953994 +vt 0.379901 0.833369 +vt 0.961919 0.885857 +vt 0.915184 0.885857 +vt 0.938552 0.765231 +vt 0.780720 0.003615 +vt 0.238546 0.247232 +vt 0.834642 0.003615 +vt 0.403268 0.223594 +vt 0.565033 0.003615 +vt 0.726798 0.003615 +vt 0.841828 0.606159 +vt 0.184624 0.247232 +vt 0.050328 0.247232 +vt 0.299654 0.826138 +vt 0.245733 0.826138 +vt 0.618955 0.003615 +vt 0.410455 0.826138 +vt 0.511112 0.003615 +vt 0.050328 0.930272 +vt 0.104250 0.247232 +vt 0.672877 0.003615 +vt 0.411352 0.200169 +vt 0.372492 0.216363 +vt 0.330431 0.216363 +vt 0.291571 0.200169 +vt 0.261829 0.170245 +vt 0.245733 0.131148 +vt 0.245733 0.088830 +vt 0.043701 0.982172 +vt 0.330431 0.003615 +vt 0.372492 0.003615 +vt 0.411352 0.019810 +vt 0.457190 0.088830 +vt 0.457190 0.131148 +vt 0.441094 0.170245 +vt 0.967860 0.740906 +vt 0.976353 0.305778 +vt 0.003593 0.982172 +vt 0.150757 0.939854 +vt 0.976353 0.225282 +vt 0.538352 0.994034 +vt 0.827395 0.940026 +vt 0.191811 0.982172 +vt 0.572220 0.913538 +vt 0.572220 0.967789 +vt 0.976353 0.532554 +vt 0.157943 0.937503 +vt 0.949672 0.559139 +vt 0.077569 0.937503 +vt 0.774336 0.949365 +vt 0.996407 0.204736 +vt 0.721964 0.966353 +vt 0.668042 0.966353 +vt 0.996407 0.124241 +vt 0.961919 0.966353 +vt 0.236209 0.857007 +vt 0.985577 0.613390 +vt 0.104250 0.930272 +vt 0.994070 0.357677 +vt 0.511112 0.946907 +vt 0.562697 0.868869 +vt 0.940148 0.277182 +vt 0.905661 0.893088 +vt 0.184624 0.930272 +vt 0.798681 0.868869 +vt 0.729151 0.613390 +vt 0.880071 0.758001 +vt 0.518298 0.758001 +vt 0.801017 0.861638 +vt 0.626142 0.758001 +vt 0.590165 0.861638 +vn 0.195090 0.000000 -0.980785 +vn 0.555570 0.000000 -0.831470 +vn 0.831470 0.000000 -0.555570 +vn 0.980785 0.000000 -0.195090 +vn 0.980785 0.000000 0.195090 +vn 0.831470 0.000000 0.555570 +vn 0.555570 0.000000 0.831469 +vn 0.195091 0.000000 0.980785 +vn -0.195090 0.000000 0.980785 +vn -0.555570 0.000000 0.831470 +vn -0.831469 0.000000 0.555570 +vn -0.980785 0.000000 0.195090 +vn -0.980785 0.000000 -0.195090 +vn -0.831470 0.000000 -0.555570 +vn -0.192535 0.161323 0.967939 +vn -0.195090 0.000000 -0.980785 +vn -0.555570 0.000000 -0.831470 +vn 0.000000 -1.000000 0.000000 +vn 0.746536 -0.440299 0.498819 +vn 0.880599 -0.440300 0.175162 +vn 0.880599 -0.440300 -0.175162 +vn 0.746536 -0.440299 -0.498819 +vn 0.498819 -0.440300 -0.746536 +vn 0.175162 -0.440299 -0.880599 +vn -0.175162 -0.440300 -0.880599 +vn -0.498819 -0.440300 -0.746536 +vn -0.746535 -0.440300 -0.498819 +vn -0.880599 -0.440300 -0.175162 +vn -0.880599 -0.440300 0.175162 +vn -0.746536 -0.440299 0.498820 +vn -0.498820 -0.440299 0.746536 +vn -0.175162 -0.440299 0.880599 +vn 0.175162 -0.440299 0.880599 +vn 0.498819 -0.440299 0.746536 +vn 0.192535 0.161323 0.967939 +vn 0.548294 0.161323 0.820579 +vn 0.820579 0.161323 0.548293 +vn 0.967939 0.161323 0.192535 +vn 0.967939 0.161323 -0.192535 +vn 0.820579 0.161323 -0.548294 +vn 0.548293 0.161323 -0.820579 +vn 0.192535 0.161323 -0.967939 +vn -0.192534 0.161323 -0.967939 +vn -0.548293 0.161323 -0.820579 +vn -0.820578 0.161323 -0.548294 +vn -0.967939 0.161323 -0.192535 +vn -0.967939 0.161323 0.192535 +vn -0.820579 0.161323 0.548293 +vn -0.548292 0.161323 0.820579 +vn -0.000005 -1.000000 0.000000 +vn -0.000004 -1.000000 0.000000 +vn -0.000003 -1.000000 -0.000005 +vn -0.000001 -1.000000 -0.000012 +vn 0.000001 -1.000000 0.000000 +vn 0.000003 -1.000000 0.000006 +vn 0.000004 -1.000000 0.000000 +vn 0.000005 -1.000000 0.000000 +vn 0.000003 -1.000000 0.000012 +vn 0.000001 -1.000000 -0.000012 +vn -0.000001 -1.000000 0.000000 +vn -0.000003 -1.000000 0.000006 +vn 0.000000 1.000000 0.000000 +vn 0.038980 0.979835 0.195968 +vn -0.038980 0.979836 0.195966 +vn -0.111006 0.979836 0.166132 +vn -0.166133 0.979835 0.111008 +vn -0.195967 0.979835 0.038981 +vn -0.195967 0.979835 -0.038981 +vn -0.166133 0.979835 -0.111008 +vn -0.111006 0.979836 -0.166132 +vn -0.038980 0.979836 -0.195967 +vn 0.000000 0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn -1.000000 0.000000 0.000000 +vn 0.195967 0.979835 0.038981 +vn 0.166133 0.979835 0.111007 +vn 0.195967 0.979835 -0.038981 +vn 0.166133 0.979836 -0.111005 +vn 0.111006 0.979836 -0.166132 +vn 0.111006 0.979836 0.166132 +vn 0.038980 0.979835 -0.195967 +vn 0.195091 0.000000 -0.980785 +vn 0.555570 0.000000 -0.831469 +vn 0.555570 0.000000 0.831470 +vn 0.195090 0.000000 0.980785 +vn -0.831470 0.000000 0.555570 +vn -0.831469 0.000000 -0.555571 +vn -0.192534 0.161323 0.967939 +vn 0.880599 -0.440299 0.175162 +vn 0.880599 -0.440299 -0.175162 +vn 0.746536 -0.440299 -0.498820 +vn 0.498819 -0.440299 -0.746536 +vn -0.175162 -0.440299 -0.880599 +vn -0.498820 -0.440299 -0.746536 +vn -0.746536 -0.440299 -0.498820 +vn -0.880599 -0.440299 -0.175162 +vn -0.880599 -0.440299 0.175162 +vn -0.746536 -0.440300 0.498819 +vn -0.498819 -0.440300 0.746536 +vn -0.175162 -0.440300 0.880599 +vn 0.175162 -0.440300 0.880599 +vn 0.498819 -0.440300 0.746536 +vn 0.192534 0.161323 0.967939 +vn 0.548293 0.161323 0.820579 +vn 0.820578 0.161323 0.548294 +vn 0.967939 0.161324 0.192535 +vn 0.820579 0.161323 -0.548293 +vn 0.192534 0.161323 -0.967939 +vn -0.192535 0.161323 -0.967939 +vn -0.820579 0.161323 -0.548293 +vn -0.820578 0.161323 0.548294 +vn -0.548294 0.161324 0.820578 +vn -0.000005 -1.000000 -0.000003 +vn -0.000003 -1.000000 0.000000 +vn -0.000001 -1.000000 -0.000007 +vn 0.000001 -1.000000 -0.000014 +vn 0.000003 -1.000000 -0.000014 +vn 0.000004 -1.000000 -0.000007 +vn 0.000005 -1.000000 0.000003 +vn 0.000004 -1.000000 0.000007 +vn 0.000003 -1.000000 0.000000 +vn 0.000001 -1.000000 0.000007 +vn -0.000001 -1.000000 0.000014 +s off +f 18/1/1 20/2/1 19/3/1 +f 20/4/2 22/5/2 21/6/2 +f 22/7/3 24/8/3 23/9/3 +f 24/10/4 26/11/4 25/12/4 +f 26/13/5 28/14/5 27/15/5 +f 28/16/6 30/17/6 29/18/6 +f 30/19/7 32/20/7 31/21/7 +f 32/22/8 34/23/8 33/24/8 +f 34/25/9 36/26/9 35/27/9 +f 36/28/10 38/29/10 37/30/10 +f 38/31/11 40/32/11 39/33/11 +f 40/34/12 42/35/12 41/36/12 +f 42/37/13 44/38/13 43/39/13 +f 44/40/14 46/41/14 45/42/14 +f 34/43/15 57/44/15 56/45/15 +f 48/46/16 18/47/16 17/48/16 +f 46/49/17 48/50/17 47/51/17 +f 12/52/18 11/53/18 7/54/18 +f 11/55/19 12/56/19 27/57/19 +f 13/58/20 25/59/20 27/60/20 +f 14/61/21 23/62/21 25/63/21 +f 15/64/22 21/65/22 23/66/22 +f 16/67/23 19/68/23 21/69/23 +f 1/70/24 17/71/24 19/72/24 +f 2/73/25 47/74/25 17/75/25 +f 3/76/26 45/77/26 47/78/26 +f 4/79/27 43/80/27 45/81/27 +f 5/82/28 41/83/28 43/84/28 +f 6/85/29 39/86/29 41/87/29 +f 6/88/30 7/89/30 37/90/30 +f 7/91/31 8/92/31 35/93/31 +f 8/94/32 9/95/32 33/96/32 +f 9/97/33 10/98/33 31/99/33 +f 10/100/34 11/101/34 29/102/34 +f 32/103/35 58/104/35 57/105/35 +f 30/106/36 59/107/36 58/108/36 +f 28/109/37 60/110/37 59/111/37 +f 26/112/38 61/113/38 60/114/38 +f 24/115/39 62/116/39 61/117/39 +f 24/118/40 22/119/40 63/120/40 +f 22/121/41 20/122/41 64/123/41 +f 18/124/42 49/125/42 64/126/42 +f 18/127/43 48/128/43 50/129/43 +f 46/130/44 51/131/44 50/132/44 +f 46/133/45 44/134/45 52/135/45 +f 44/136/46 42/137/46 53/138/46 +f 42/139/47 40/140/47 54/141/47 +f 38/142/48 55/143/48 54/144/48 +f 38/145/49 36/146/49 56/147/49 +f 53/148/50 69/149/50 68/150/50 +f 52/151/51 68/150/51 67/152/51 +f 50/153/52 51/154/52 67/152/52 +f 50/153/53 66/155/53 65/156/53 +f 49/157/54 65/156/54 80/158/54 +f 64/159/55 80/158/55 79/160/55 +f 63/161/56 79/160/56 78/162/56 +f 62/163/57 78/162/57 77/164/57 +f 61/165/57 77/164/57 76/166/57 +f 60/167/56 76/166/56 75/168/56 +f 58/169/58 59/170/58 75/168/58 +f 58/169/59 74/171/59 73/172/59 +f 57/173/60 73/172/60 72/174/60 +f 54/175/50 70/176/50 69/149/50 +f 55/177/51 71/178/51 70/176/51 +f 56/179/61 72/174/61 71/178/61 +f 82/180/62 83/181/62 84/182/62 +f 73/183/63 74/184/63 89/185/63 +f 72/186/64 73/187/64 89/188/64 +f 71/189/65 72/190/65 89/191/65 +f 70/192/66 71/193/66 89/194/66 +f 69/195/67 70/196/67 89/197/67 +f 68/198/68 69/199/68 89/200/68 +f 67/201/69 68/202/69 89/203/69 +f 66/204/70 67/205/70 89/206/70 +f 65/207/71 66/208/71 89/209/71 +f 87/210/18 86/211/18 85/212/18 +f 84/213/72 88/214/72 85/215/72 +f 81/216/73 85/217/73 86/218/73 +f 82/219/74 86/220/74 87/221/74 +f 83/222/75 87/223/75 88/224/75 +f 76/225/76 77/226/76 89/227/76 +f 75/228/77 76/229/77 89/230/77 +f 77/231/78 78/232/78 89/233/78 +f 78/234/79 79/235/79 89/236/79 +f 80/237/80 89/238/80 79/239/80 +f 74/240/81 75/241/81 89/242/81 +f 80/243/82 65/244/82 89/245/82 +f 17/246/83 18/1/83 19/3/83 +f 19/247/84 20/4/84 21/6/84 +f 21/248/3 22/7/3 23/9/3 +f 23/249/4 24/10/4 25/12/4 +f 25/250/5 26/13/5 27/15/5 +f 27/251/6 28/16/6 29/18/6 +f 29/252/85 30/19/85 31/21/85 +f 31/253/86 32/22/86 33/24/86 +f 33/254/9 34/25/9 35/27/9 +f 35/255/10 36/28/10 37/30/10 +f 37/256/87 38/31/87 39/33/87 +f 39/257/12 40/34/12 41/36/12 +f 41/258/13 42/37/13 43/39/13 +f 43/259/88 44/40/88 45/42/88 +f 36/260/89 34/43/89 56/45/89 +f 47/261/16 48/46/16 17/48/16 +f 45/262/17 46/49/17 47/51/17 +f 3/263/18 2/264/18 1/265/18 +f 1/265/18 16/266/18 15/267/18 +f 15/267/18 14/268/18 13/269/18 +f 12/270/90 13/58/90 27/60/90 +f 11/53/18 10/271/18 9/272/18 +f 9/272/18 8/273/18 7/54/18 +f 7/54/18 6/274/18 5/275/18 +f 5/275/18 4/276/18 3/263/18 +f 3/263/18 1/265/18 15/267/18 +f 29/277/19 11/55/19 27/57/19 +f 11/53/18 9/272/18 7/54/18 +f 7/54/18 5/275/18 3/263/18 +f 3/263/18 13/269/18 12/52/18 +f 3/263/18 12/52/18 7/54/18 +f 3/263/18 15/267/18 13/269/18 +f 13/278/91 14/61/91 25/63/91 +f 14/279/92 15/64/92 23/66/92 +f 15/280/93 16/67/93 21/69/93 +f 16/281/24 1/70/24 19/72/24 +f 1/282/94 2/73/94 17/75/94 +f 2/283/95 3/76/95 47/78/95 +f 3/284/96 4/79/96 45/81/96 +f 4/285/97 5/82/97 43/84/97 +f 5/286/98 6/85/98 41/87/98 +f 39/287/99 6/88/99 37/90/99 +f 37/288/100 7/91/100 35/93/100 +f 35/289/101 8/94/101 33/96/101 +f 33/290/102 9/97/102 31/99/102 +f 31/291/103 10/100/103 29/102/103 +f 34/292/104 32/103/104 57/105/104 +f 32/293/105 30/106/105 58/108/105 +f 30/294/106 28/109/106 59/111/106 +f 28/295/107 26/112/107 60/114/107 +f 26/296/39 24/115/39 61/117/39 +f 62/297/108 24/118/108 63/120/108 +f 63/298/41 22/121/41 64/123/41 +f 20/299/109 18/124/109 64/126/109 +f 49/300/110 18/127/110 50/129/110 +f 48/301/44 46/130/44 50/132/44 +f 51/302/111 46/133/111 52/135/111 +f 52/303/46 44/136/46 53/138/46 +f 53/304/47 42/139/47 54/141/47 +f 40/305/112 38/142/112 54/144/112 +f 55/306/113 38/145/113 56/147/113 +f 52/151/114 53/148/114 68/150/114 +f 51/154/51 52/151/51 67/152/51 +f 66/155/115 50/153/115 67/152/115 +f 49/157/116 50/153/116 65/156/116 +f 64/159/117 49/157/117 80/158/117 +f 63/161/118 64/159/118 79/160/118 +f 62/163/119 63/161/119 78/162/119 +f 61/165/57 62/163/57 77/164/57 +f 60/167/120 61/165/120 76/166/120 +f 59/170/121 60/167/121 75/168/121 +f 74/171/122 58/169/122 75/168/122 +f 57/173/123 58/169/123 73/172/123 +f 56/179/124 57/173/124 72/174/124 +f 53/148/50 54/175/50 69/149/50 +f 54/175/51 55/177/51 70/176/51 +f 55/177/115 56/179/115 71/178/115 +f 81/307/62 82/180/62 84/182/62 +f 88/308/18 87/210/18 85/212/18 +f 81/309/72 84/213/72 85/215/72 +f 82/310/73 81/216/73 86/218/73 +f 83/311/74 82/219/74 87/221/74 +f 84/312/75 83/222/75 88/224/75 diff --git a/assets/hbm/models/LaunchPad.obj b/assets/hbm/models/LaunchPad.obj new file mode 100644 index 000000000..563732b10 --- /dev/null +++ b/assets/hbm/models/LaunchPad.obj @@ -0,0 +1,177 @@ +# Blender v2.70 (sub 0) OBJ File: 'LaunchPad.blend' +# www.blender.org +o Cylinder +v 0.000000 0.000000 -1.000000 +v 0.000000 0.250000 -1.000000 +v 0.707107 0.000000 -0.707107 +v 0.707107 0.250000 -0.707107 +v 1.000000 0.000000 0.000000 +v 1.000000 0.250000 0.000000 +v 0.707107 0.000000 0.707107 +v 0.707107 0.250000 0.707107 +v -0.000000 0.000000 1.000000 +v -0.000000 0.250000 1.000000 +v -0.707107 0.000000 0.707107 +v -0.707107 0.250000 0.707107 +v -1.000000 0.000000 -0.000000 +v -1.000000 0.250000 -0.000000 +v -0.707107 0.000000 -0.707107 +v -0.707107 0.250000 -0.707107 +v 0.000000 0.500000 -0.750000 +v 0.530330 0.500000 -0.530330 +v 0.750000 0.500000 0.000000 +v 0.530330 0.500000 0.530330 +v -0.000000 0.500000 0.750000 +v -0.530330 0.500000 0.530330 +v -0.750000 0.500000 -0.000000 +v -0.530330 0.500000 -0.530330 +vt 0.202877 0.776488 +vt 0.202877 0.991569 +vt 0.128330 0.991569 +vt 0.983572 0.646674 +vt 0.983572 0.861756 +vt 0.909025 0.861756 +vt 0.816586 0.629813 +vt 0.816586 0.414732 +vt 0.891133 0.414732 +vt 0.008946 0.991569 +vt 0.008946 0.776488 +vt 0.083493 0.776488 +vt 0.816586 0.861756 +vt 0.816586 0.646674 +vt 0.891133 0.646674 +vt 0.339051 0.991569 +vt 0.339051 0.776488 +vt 0.413598 0.776488 +vt 0.559927 0.759627 +vt 0.458434 0.732741 +vt 0.458434 0.571430 +vt 0.909025 0.629813 +vt 0.909025 0.414732 +vt 0.983572 0.414732 +vt 0.532982 0.776488 +vt 0.532982 0.991569 +vt 0.458434 0.991569 +vt 0.008946 0.375598 +vt 0.559927 0.160516 +vt 0.170324 0.527684 +vt 0.577818 0.283806 +vt 0.577818 0.122495 +vt 0.698852 0.008431 +vt 0.697202 0.646674 +vt 0.798695 0.673560 +vt 0.798695 0.834871 +vt 0.577818 0.646675 +vt 0.679311 0.673560 +vt 0.679311 0.834871 +vt 0.697202 0.414732 +vt 0.798695 0.441617 +vt 0.798695 0.602928 +vt 0.128330 0.544545 +vt 0.229822 0.571430 +vt 0.229822 0.732741 +vt 0.008946 0.544545 +vt 0.110438 0.571430 +vt 0.110438 0.732741 +vt 0.577818 0.414732 +vt 0.679311 0.441617 +vt 0.679311 0.602928 +vt 0.440543 0.759627 +vt 0.339051 0.732741 +vt 0.339051 0.571430 +vt 0.128330 0.776488 +vt 0.909025 0.646674 +vt 0.891133 0.629813 +vt 0.083493 0.991569 +vt 0.891133 0.861756 +vt 0.413598 0.991569 +vt 0.559927 0.544545 +vt 0.983572 0.629813 +vt 0.458434 0.776488 +vt 0.008946 0.160516 +vt 0.170324 0.008431 +vt 0.398548 0.008431 +vt 0.559927 0.375598 +vt 0.398548 0.527684 +vt 0.870020 0.008431 +vt 0.991054 0.122495 +vt 0.870020 0.397870 +vt 0.991054 0.283806 +vt 0.698852 0.397871 +vt 0.697202 0.861756 +vt 0.577818 0.861756 +vt 0.697202 0.629813 +vt 0.128330 0.759627 +vt 0.008946 0.759627 +vt 0.577818 0.629813 +vt 0.440543 0.544545 +vn 0.382684 0.000000 -0.923880 +vn 0.923880 0.000000 -0.382683 +vn 0.923880 0.000000 0.382683 +vn 0.382683 0.000000 0.923880 +vn -0.382684 0.000000 0.923880 +vn -0.923880 0.000000 0.382683 +vn -0.281085 0.678598 -0.678598 +vn -0.382684 0.000000 -0.923879 +vn -0.923880 0.000000 -0.382683 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 1.000000 0.000000 +vn -0.678598 0.678598 -0.281085 +vn -0.678599 0.678598 0.281085 +vn -0.281085 0.678598 0.678598 +vn 0.281085 0.678598 0.678598 +vn 0.678599 0.678598 0.281085 +vn 0.678598 0.678599 -0.281085 +vn 0.281085 0.678598 -0.678598 +vn 0.382683 0.000000 -0.923880 +vn 0.382684 0.000000 0.923880 +vn -0.382684 0.000000 0.923879 +vn -0.382683 0.000000 -0.923880 +vn -0.678598 0.678598 0.281085 +vn 0.678598 0.678598 0.281085 +vn 0.678598 0.678598 -0.281085 +s off +f 2/1/1 4/2/1 3/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 10/13/5 12/14/5 11/15/5 +f 12/16/6 14/17/6 13/18/6 +f 16/19/7 24/20/7 17/21/7 +f 16/22/8 2/23/8 1/24/8 +f 14/25/9 16/26/9 15/27/9 +f 15/28/10 7/29/10 13/30/10 +f 21/31/11 20/32/11 19/33/11 +f 14/34/12 23/35/12 24/36/12 +f 12/37/13 22/38/13 23/39/13 +f 10/40/14 21/41/14 22/42/14 +f 8/43/15 20/44/15 21/45/15 +f 6/46/16 19/47/16 20/48/16 +f 4/49/17 18/50/17 19/51/17 +f 2/52/18 17/53/18 18/54/18 +f 1/55/19 2/1/19 3/3/19 +f 3/56/2 4/4/2 5/6/2 +f 5/57/3 6/7/3 7/9/3 +f 7/58/20 8/10/20 9/12/20 +f 9/59/21 10/13/21 11/15/21 +f 11/60/6 12/16/6 13/18/6 +f 2/61/7 16/19/7 17/21/7 +f 15/62/22 16/22/22 1/24/22 +f 13/63/9 14/25/9 15/27/9 +f 15/28/10 1/64/10 3/65/10 +f 3/65/10 5/66/10 7/29/10 +f 7/29/10 9/67/10 11/68/10 +f 19/33/11 18/69/11 17/70/11 +f 15/28/10 3/65/10 7/29/10 +f 23/71/11 19/33/11 24/72/11 +f 7/29/10 11/68/10 13/30/10 +f 21/31/11 19/33/11 22/73/11 +f 16/74/12 14/34/12 24/36/12 +f 19/33/11 23/71/11 22/73/11 +f 14/75/23 12/37/23 23/39/23 +f 19/33/11 17/70/11 24/72/11 +f 12/76/14 10/40/14 22/42/14 +f 10/77/15 8/43/15 21/45/15 +f 8/78/24 6/46/24 20/48/24 +f 6/79/25 4/49/25 19/51/25 +f 4/80/18 2/52/18 18/54/18 diff --git a/assets/hbm/models/LilBoy1.obj b/assets/hbm/models/LilBoy1.obj new file mode 100644 index 000000000..0090b74c6 --- /dev/null +++ b/assets/hbm/models/LilBoy1.obj @@ -0,0 +1,1419 @@ +# Blender v2.70 (sub 0) OBJ File: 'LilBoy1.blend' +# www.blender.org +o Cylinder_Cylinder.002 +v 1.061563 0.002500 0.108750 +v 1.061563 0.002500 -0.108750 +v 2.638438 0.002500 -0.108750 +v 2.638438 0.002500 0.108750 +v 1.061563 0.147500 0.108750 +v 1.061563 0.147500 -0.108750 +v 2.638438 0.147500 -0.108750 +v 2.638438 0.147500 0.108750 +v 1.050000 0.424999 -0.350000 +v 1.050000 0.291060 -0.323358 +v 1.050000 0.177512 -0.247487 +v 1.050000 0.101642 -0.133939 +v 1.050000 0.074999 0.000000 +v 1.050000 0.101642 0.133939 +v 1.050000 0.177512 0.247487 +v 1.050000 0.291060 0.323358 +v 1.050000 0.424999 0.350000 +v 1.050000 0.558939 0.323358 +v 1.050000 0.672487 0.247487 +v 1.050000 0.748357 0.133939 +v 1.050000 0.774999 -0.000000 +v 1.050000 0.748357 -0.133939 +v 1.050000 0.672487 -0.247487 +v 1.050000 0.558938 -0.323358 +v -0.350000 0.424999 -0.150000 +v 1.050000 0.425001 -0.150000 +v -0.350000 0.367597 -0.138582 +v 1.050000 0.367598 -0.138582 +v -0.350000 0.318933 -0.106066 +v 1.050000 0.318935 -0.106066 +v -0.350000 0.286417 -0.057403 +v 1.050000 0.286419 -0.057403 +v -0.350000 0.274999 0.000000 +v 1.050000 0.275001 0.000000 +v -0.350000 0.286417 0.057403 +v 1.050000 0.286419 0.057403 +v -0.350000 0.318933 0.106066 +v 1.050000 0.318935 0.106066 +v -0.350000 0.367597 0.138582 +v 1.050000 0.367598 0.138582 +v -0.350000 0.424999 0.150000 +v 1.050000 0.425001 0.150000 +v -0.350000 0.482402 0.138582 +v 1.050000 0.482403 0.138582 +v -0.350000 0.531065 0.106066 +v 1.050000 0.531067 0.106066 +v -0.350000 0.563581 0.057403 +v 1.050000 0.563583 0.057403 +v -0.350000 0.574999 -0.000000 +v 1.050000 0.575001 -0.000000 +v -0.350000 0.563581 -0.057403 +v 1.050000 0.563583 -0.057403 +v -0.350000 0.531065 -0.106066 +v 1.050000 0.531067 -0.106066 +v -0.350000 0.482402 -0.138582 +v 1.050000 0.482403 -0.138582 +v -0.350000 0.000000 0.325000 +v -0.350000 0.000000 -0.325000 +v 0.350000 0.000000 -0.325000 +v 0.350000 0.000000 0.325000 +v -0.350000 0.100000 0.325000 +v -0.350000 0.100000 -0.325000 +v 0.350000 0.100000 -0.325000 +v 0.350000 0.100000 0.325000 +v -0.350000 0.750000 0.325000 +v -0.350000 0.750000 -0.325000 +v 0.350000 0.750000 -0.325000 +v 0.350000 0.750000 0.325000 +v -0.350000 0.850000 0.325000 +v -0.350000 0.850000 -0.325000 +v 0.350000 0.850000 -0.325000 +v 0.350000 0.850000 0.325000 +v -0.350000 0.000000 0.425000 +v -0.350000 0.000000 0.325000 +v 0.350000 0.000000 0.325000 +v 0.350000 0.000000 0.425000 +v -0.350000 0.850000 0.425000 +v -0.350000 0.850000 0.325000 +v 0.350000 0.850000 0.325000 +v 0.350000 0.850000 0.425000 +v -0.350000 0.000000 -0.325000 +v -0.350000 0.000000 -0.425000 +v 0.350000 0.000000 -0.425000 +v 0.350000 0.000000 -0.325000 +v -0.350000 0.850000 -0.325000 +v -0.350000 0.850000 -0.425000 +v 0.350000 0.850000 -0.425000 +v 0.350000 0.850000 -0.325000 +v -0.350000 0.750000 0.000000 +v 0.350000 0.750000 0.000000 +v -0.350000 0.100000 0.000000 +v 0.350000 0.100000 0.000000 +v 0.350000 0.425000 0.325000 +v -0.350000 0.425000 0.325000 +v 0.350000 0.425000 -0.325000 +v -0.350000 0.425000 -0.325000 +v 0.350000 0.425000 -0.150000 +v 0.350000 0.367598 -0.138582 +v 0.350000 0.318934 -0.106066 +v 0.350000 0.286418 -0.057403 +v 0.350000 0.275000 0.000000 +v 0.350000 0.286418 0.057403 +v 0.350000 0.318934 0.106066 +v 0.350000 0.367598 0.138582 +v 0.350000 0.425000 0.150000 +v 0.350000 0.482403 0.138582 +v 0.350000 0.531066 0.106066 +v 0.350000 0.563582 0.057403 +v 0.350000 0.575000 -0.000000 +v 0.350000 0.563582 -0.057403 +v 0.350000 0.531066 -0.106066 +v 0.350000 0.482403 -0.138582 +v 2.850000 0.425000 -0.175000 +v 2.850000 0.491970 -0.161679 +v 2.850000 0.548744 -0.123744 +v 2.850000 0.586679 -0.066970 +v 2.850000 0.600000 0.000000 +v 2.850000 0.586679 0.066970 +v 2.850000 0.548744 0.123744 +v 2.850000 0.491970 0.161679 +v 2.850000 0.425000 0.175000 +v 2.850000 0.358031 0.161679 +v 2.850000 0.301256 0.123744 +v 2.850000 0.263321 0.066970 +v 2.850000 0.250000 -0.000000 +v 2.850000 0.263321 -0.066970 +v 2.850000 0.301256 -0.123744 +v 2.850000 0.358031 -0.161679 +v 2.675000 0.425001 -0.350000 +v 2.675000 0.291062 -0.323358 +v 2.675000 0.177513 -0.247487 +v 2.675000 0.101643 -0.133939 +v 2.675000 0.075001 0.000000 +v 2.675000 0.101643 0.133939 +v 2.675000 0.177513 0.247487 +v 2.675000 0.291062 0.323358 +v 2.675000 0.425001 0.350000 +v 2.675000 0.558940 0.323358 +v 2.675000 0.672488 0.247487 +v 2.675000 0.748359 0.133939 +v 2.675000 0.775001 -0.000000 +v 2.675000 0.748359 -0.133939 +v 2.675000 0.672488 -0.247487 +v 2.675000 0.558940 -0.323358 +v -0.350000 0.531065 -0.106066 +v -0.350000 0.750000 -0.325000 +v 0.350000 0.750000 -0.325000 +v 0.350000 0.531066 -0.106066 +v -0.350000 0.100000 0.000000 +v 0.350000 0.100000 0.000000 +v 0.350000 0.425000 -0.325000 +v -0.350000 0.425000 -0.325000 +v -0.350000 0.750000 0.000000 +v 0.350000 0.750000 0.000000 +v 0.350000 0.425000 -0.325000 +v -0.350000 0.425000 -0.325000 +v -0.350000 0.318933 -0.106066 +v -0.350000 0.100000 -0.325000 +v 0.350000 0.100000 -0.325000 +v 0.350000 0.318934 -0.106066 +v -0.350000 0.100000 0.000000 +v 0.350000 0.100000 0.000000 +v 0.350000 0.425000 0.325000 +v -0.350000 0.425000 0.325000 +v -0.350000 0.318933 0.106066 +v -0.350000 0.100000 0.325000 +v 0.350000 0.100000 0.325000 +v 0.350000 0.318934 0.106066 +v -0.350000 0.750000 0.000000 +v 0.350000 0.750000 0.000000 +v 0.350000 0.425000 0.325000 +v -0.350000 0.425000 0.325000 +v -0.350000 0.531065 0.106066 +v -0.350000 0.750000 0.325000 +v 0.350000 0.750000 0.325000 +v 0.350000 0.531066 0.106066 +v 0.350000 0.100000 -0.000000 +v -0.350000 0.100000 -0.000000 +v -0.350000 0.425000 -0.325000 +v 0.350000 0.425000 -0.325000 +v 0.350000 0.100000 -0.000000 +v -0.350000 0.100000 -0.000000 +v 0.350000 0.425000 0.325000 +v -0.350000 0.425000 0.325000 +v -0.350000 0.425000 0.325000 +v 0.350000 0.425000 0.325000 +v 0.350000 0.750000 0.000000 +v -0.350000 0.750000 0.000000 +v -0.350000 0.750001 -0.325000 +v -0.350000 0.531066 -0.106066 +v 0.350000 0.531066 -0.106066 +v 0.350000 0.750000 -0.325000 +v -0.350000 0.425001 -0.325000 +v 0.350000 0.425000 -0.325000 +v -0.350000 0.750000 0.000000 +v 0.350000 0.750000 0.000000 +v -0.350000 0.750000 0.325000 +v -0.350000 0.531066 0.106066 +v 0.350000 0.531066 0.106066 +v 0.350000 0.750000 0.325000 +v -0.350000 0.100001 -0.325000 +v -0.350000 0.318934 -0.106066 +v 0.350000 0.318934 -0.106066 +v 0.350000 0.100000 -0.325000 +v -0.350000 0.100000 0.325000 +v -0.350000 0.318934 0.106066 +v 0.350000 0.318934 0.106066 +v 0.350000 0.100000 0.325000 +v 1.862500 0.748358 0.133939 +v 1.862500 0.672487 0.247487 +v 2.268750 0.748358 0.133939 +v 2.268750 0.672488 0.247487 +v 1.862500 0.769145 0.147829 +v 1.862500 0.693274 0.261377 +v 2.268750 0.769145 0.147829 +v 2.268750 0.693274 0.261377 +v 1.964062 0.748358 0.133939 +v 1.964062 0.672487 0.247487 +v 1.964062 0.769145 0.147829 +v 1.964062 0.693274 0.261377 +v 2.116406 0.748358 0.133939 +v 2.116406 0.672488 0.247487 +v 2.116406 0.769145 0.147829 +v 2.116406 0.693274 0.261377 +v 1.964062 0.731210 0.204603 +v 2.116406 0.731210 0.204603 +v 2.040234 0.731210 0.204603 +v 1.964062 0.750177 0.176216 +v 2.002148 0.693274 0.261377 +v 2.116406 0.750177 0.176216 +v 1.964062 0.712242 0.232990 +v 2.116406 0.712242 0.232990 +v 2.040234 0.750177 0.176216 +v 2.002148 0.731210 0.204603 +v 2.078320 0.731210 0.204603 +v 2.078320 0.750177 0.176216 +v 2.002148 0.750177 0.176216 +v 2.002148 0.712242 0.232990 +v 1.964062 0.835143 0.274049 +v 2.116406 0.835143 0.274049 +v 2.116406 0.854111 0.245662 +v 1.964062 0.816176 0.302436 +v 2.002148 0.835143 0.274049 +v 2.078320 0.835143 0.274049 +v 2.078320 0.854111 0.245662 +v 2.002148 0.816176 0.302436 +v 2.040234 0.939077 0.343495 +v 2.040234 0.958045 0.315108 +v 2.002148 0.939077 0.343495 +v 2.002148 0.958045 0.315108 +vt 0.808263 0.860574 +vt 0.836439 0.860574 +vt 0.836439 0.903144 +vt 0.057882 0.918312 +vt 0.029706 0.918312 +vt 0.029706 0.609680 +vt 0.616892 0.812744 +vt 0.645067 0.812744 +vt 0.645067 0.855314 +vt 0.884230 0.183981 +vt 0.912405 0.183981 +vt 0.912405 0.492613 +vt 0.872571 0.183981 +vt 0.872571 0.492613 +vt 0.830308 0.492613 +vt 0.808263 0.848830 +vt 0.808263 0.540198 +vt 0.850526 0.540198 +vt 0.286701 0.279885 +vt 0.275547 0.279885 +vt 0.275547 0.142879 +vt 0.043010 0.142879 +vt 0.043010 0.279885 +vt 0.031856 0.279885 +vt 0.020702 0.279885 +vt 0.020702 0.142879 +vt 0.361566 0.142879 +vt 0.361566 0.279885 +vt 0.350412 0.279885 +vt 0.350412 0.142879 +vt 0.339258 0.279885 +vt 0.466681 0.323923 +vt 0.477835 0.323923 +vt 0.477835 0.460930 +vt 0.488989 0.323923 +vt 0.488989 0.460930 +vt 0.425277 0.142879 +vt 0.425277 0.279885 +vt 0.414123 0.279885 +vt 0.402969 0.279885 +vt 0.402969 0.142879 +vt 0.170432 0.279885 +vt 0.159278 0.279885 +vt 0.159278 0.142879 +vt 0.148124 0.279885 +vt 0.148124 0.142879 +vt 0.106721 0.142879 +vt 0.106721 0.279885 +vt 0.095567 0.279885 +vt 0.095567 0.142879 +vt 0.084413 0.279885 +vt 0.211835 0.323923 +vt 0.222989 0.323923 +vt 0.222989 0.460930 +vt 0.218295 0.971061 +vt 0.218295 0.959606 +vt 0.222647 0.949023 +vt 0.297855 0.279885 +vt 0.286701 0.142879 +vt 0.234143 0.323923 +vt 0.234143 0.460930 +vt 0.339950 0.981645 +vt 0.331908 0.989745 +vt 0.287128 0.971061 +vt 0.692345 0.172237 +vt 0.692345 0.035230 +vt 0.755497 0.035230 +vt 0.818649 0.183981 +vt 0.818649 0.320987 +vt 0.755497 0.320987 +vt 0.680686 0.172237 +vt 0.661255 0.152665 +vt 0.661255 0.089054 +vt 0.661255 0.183981 +vt 0.661255 0.330774 +vt 0.789502 0.686316 +vt 0.789502 0.823323 +vt 0.726350 0.823323 +vt 0.515520 0.540198 +vt 0.651539 0.540198 +vt 0.651539 0.706564 +vt 0.534951 0.203553 +vt 0.534951 0.267163 +vt 0.515520 0.350346 +vt 0.651539 0.362089 +vt 0.651539 0.528455 +vt 0.515520 0.528455 +vt 0.789502 0.362089 +vt 0.789502 0.499096 +vt 0.726350 0.499096 +vt 0.515520 0.172237 +vt 0.515520 0.005872 +vt 0.534951 0.005872 +vt 0.755497 0.183981 +vt 0.692345 0.320987 +vt 0.069541 0.629253 +vt 0.069541 0.609680 +vt 0.205560 0.609680 +vt 0.534951 0.183981 +vt 0.598103 0.203553 +vt 0.534951 0.025444 +vt 0.598103 0.025444 +vt 0.755497 0.172237 +vt 0.818649 0.035230 +vt 0.726350 0.686316 +vt 0.663198 0.823323 +vt 0.726350 0.362089 +vt 0.663198 0.499096 +vt 0.275547 0.005872 +vt 0.031856 0.142879 +vt 0.031856 0.005872 +vt 0.350412 0.005872 +vt 0.339258 0.142879 +vt 0.339258 0.005872 +vt 0.466681 0.460930 +vt 0.477835 0.597937 +vt 0.488989 0.597937 +vt 0.414123 0.142879 +vt 0.414123 0.005872 +vt 0.402969 0.005872 +vt 0.170432 0.142879 +vt 0.159278 0.005872 +vt 0.148124 0.005872 +vt 0.095567 0.005872 +vt 0.084413 0.142879 +vt 0.084413 0.005872 +vt 0.211835 0.597937 +vt 0.211835 0.460930 +vt 0.297855 0.142879 +vt 0.286701 0.005872 +vt 0.222989 0.597937 +vt 0.121593 0.279885 +vt 0.133252 0.279885 +vt 0.185305 0.279885 +vt 0.388097 0.279885 +vt 0.440150 0.279885 +vt 0.503861 0.323923 +vt 0.324386 0.279885 +vt 0.005829 0.279885 +vt 0.260675 0.279885 +vt 0.249016 0.323923 +vt 0.196963 0.323923 +vt 0.222990 0.323923 +vt 0.069541 0.279885 +vt 0.376438 0.756473 +vt 0.240419 0.629253 +vt 0.376438 0.629253 +vt 0.534951 0.350346 +vt 0.534951 0.330774 +vt 0.534951 0.172237 +vt 0.534951 0.152665 +vt 0.515520 0.907333 +vt 0.542237 0.867057 +vt 0.555505 0.934244 +vt 0.786449 0.569327 +vt 0.716633 0.674572 +vt 0.692117 0.550427 +vt 0.641512 0.898434 +vt 0.593882 0.891751 +vt 0.600992 0.867057 +vt 0.641512 0.911798 +vt 0.593882 0.918480 +vt 0.645068 0.924145 +vt 0.600992 0.943174 +vt 0.435728 0.938557 +vt 0.388097 0.931875 +vt 0.395208 0.907181 +vt 0.435728 0.951922 +vt 0.388097 0.958604 +vt 0.439283 0.964269 +vt 0.395208 0.983298 +vt 0.450942 0.964268 +vt 0.454497 0.951921 +vt 0.502128 0.958604 +vt 0.454497 0.938557 +vt 0.502128 0.931875 +vt 0.450942 0.926210 +vt 0.495017 0.907181 +vt 0.934007 0.746036 +vt 0.937563 0.733689 +vt 0.985193 0.740371 +vt 0.937563 0.720325 +vt 0.985193 0.713643 +vt 0.934007 0.707978 +vt 0.978082 0.688948 +vt 0.158851 0.949262 +vt 0.157021 0.961985 +vt 0.108931 0.961985 +vt 0.158851 0.975222 +vt 0.112591 0.988459 +vt 0.057882 0.942779 +vt 0.056052 0.955502 +vt 0.007961 0.955502 +vt 0.057882 0.968738 +vt 0.011622 0.981975 +vt 0.000000 0.000000 +vt 0.830308 0.035230 +vt 0.919618 0.035230 +vt 0.919618 0.172237 +vt 0.376438 0.924796 +vt 0.287128 0.924796 +vt 0.287128 0.787789 +vt 0.388097 0.609680 +vt 0.477408 0.609680 +vt 0.477408 0.746687 +vt 0.515520 0.855314 +vt 0.515520 0.718307 +vt 0.604830 0.718307 +vt 0.158851 0.924796 +vt 0.069541 0.924796 +vt 0.069541 0.787789 +vt 0.477408 0.895437 +vt 0.388097 0.895437 +vt 0.388097 0.758430 +vt 0.922348 0.825955 +vt 0.862185 0.825955 +vt 0.862185 0.688948 +vt 0.922348 0.837699 +vt 0.922348 0.974706 +vt 0.862185 0.974706 +vt 0.186159 0.924796 +vt 0.186159 0.787789 +vt 0.275469 0.787789 +vt 0.862185 0.677205 +vt 0.862185 0.540198 +vt 0.951495 0.540198 +vt 0.789502 0.835066 +vt 0.789502 0.972073 +vt 0.729339 0.972073 +vt 0.657517 0.972073 +vt 0.657517 0.835066 +vt 0.717680 0.835066 +vt 0.984228 0.492613 +vt 0.924064 0.492613 +vt 0.924064 0.355606 +vt 0.991440 0.172237 +vt 0.931277 0.172237 +vt 0.931277 0.035230 +vt 0.934007 0.837699 +vt 0.994171 0.837699 +vt 0.994171 0.974705 +vt 0.924064 0.183981 +vt 0.984228 0.183981 +vt 0.984228 0.320987 +vt 0.159278 0.438911 +vt 0.159278 0.597937 +vt 0.133252 0.597937 +vt 0.133252 0.518424 +vt 0.133252 0.438911 +vt 0.414123 0.597937 +vt 0.388097 0.597937 +vt 0.440150 0.597937 +vt 0.477835 0.005872 +vt 0.503861 0.005872 +vt 0.451809 0.005872 +vt 0.350412 0.597937 +vt 0.324386 0.597937 +vt 0.376438 0.279885 +vt 0.376438 0.597937 +vt 0.018048 0.824079 +vt 0.013190 0.824079 +vt 0.013190 0.797350 +vt 0.095567 0.597937 +vt 0.121593 0.488607 +vt 0.121593 0.518424 +vt 0.069541 0.597937 +vt 0.196963 0.005872 +vt 0.222990 0.005872 +vt 0.249016 0.005872 +vt 0.312727 0.597937 +vt 0.286701 0.597937 +vt 0.260675 0.597937 +vt 0.031856 0.597937 +vt 0.005829 0.597937 +vt 0.057882 0.597937 +vt 0.625513 0.797820 +vt 0.625513 0.768003 +vt 0.632020 0.768003 +vt 0.018048 0.689193 +vt 0.013283 0.689193 +vt 0.013283 0.659376 +vt 0.491609 0.833559 +vt 0.496467 0.833559 +vt 0.496467 0.860287 +vt 0.625513 0.718307 +vt 0.638526 0.738185 +vt 0.632020 0.738185 +vt 0.651539 0.768003 +vt 0.638526 0.753094 +vt 0.651539 0.745640 +vt 0.493831 0.659376 +vt 0.489067 0.637013 +vt 0.493831 0.629558 +vt 0.632020 0.760548 +vt 0.638526 0.760548 +vt 0.638526 0.745640 +vt 0.632020 0.745640 +vt 0.801161 0.499096 +vt 0.801161 0.474631 +vt 0.807795 0.474631 +vt 0.018048 0.761611 +vt 0.018048 0.785606 +vt 0.010647 0.785606 +vt 0.645033 0.745640 +vt 0.645033 0.738185 +vt 0.663198 0.528455 +vt 0.663198 0.521001 +vt 0.669705 0.521001 +vt 0.698852 0.350346 +vt 0.692345 0.350346 +vt 0.692345 0.342892 +vt 0.801161 0.362089 +vt 0.808562 0.362089 +vt 0.808562 0.386085 +vt 0.801161 0.462887 +vt 0.801161 0.438422 +vt 0.807795 0.438422 +vt 0.217219 0.753144 +vt 0.217219 0.729149 +vt 0.224620 0.729149 +vt 0.801161 0.397828 +vt 0.807795 0.397828 +vt 0.807795 0.422294 +vt 0.489833 0.821815 +vt 0.489833 0.797350 +vt 0.496467 0.797350 +vt 0.489067 0.761611 +vt 0.496467 0.761611 +vt 0.496467 0.785606 +vt 0.687870 0.521001 +vt 0.687870 0.528455 +vt 0.681364 0.528455 +vt 0.224620 0.717405 +vt 0.217219 0.717405 +vt 0.217219 0.669414 +vt 0.489067 0.749867 +vt 0.489067 0.700936 +vt 0.495701 0.700936 +vt 0.224620 0.657671 +vt 0.217219 0.657671 +vt 0.217219 0.609680 +vt 0.018048 0.749867 +vt 0.011414 0.749867 +vt 0.011414 0.700936 +vt 0.808263 0.903144 +vt 0.057882 0.609680 +vt 0.616892 0.855314 +vt 0.884230 0.492613 +vt 0.830308 0.183981 +vt 0.850526 0.848830 +vt 0.275469 0.971061 +vt 0.263075 0.989745 +vt 0.275469 0.959606 +vt 0.271117 0.981645 +vt 0.241196 0.936539 +vt 0.252569 0.994128 +vt 0.222647 0.981645 +vt 0.230689 0.989745 +vt 0.230689 0.940923 +vt 0.271117 0.949023 +vt 0.263075 0.940923 +vt 0.252569 0.936539 +vt 0.241196 0.994128 +vt 0.321401 0.936539 +vt 0.287128 0.959606 +vt 0.310029 0.936539 +vt 0.339950 0.949023 +vt 0.344302 0.959606 +vt 0.344302 0.971061 +vt 0.331908 0.940923 +vt 0.321401 0.994128 +vt 0.310029 0.994128 +vt 0.299522 0.989745 +vt 0.291480 0.981645 +vt 0.291480 0.949023 +vt 0.299522 0.940923 +vt 0.680686 0.005872 +vt 0.661255 0.172237 +vt 0.661255 0.025444 +vt 0.661255 0.005872 +vt 0.680686 0.183981 +vt 0.680686 0.350346 +vt 0.661255 0.350346 +vt 0.661255 0.267163 +vt 0.661255 0.203553 +vt 0.515520 0.706564 +vt 0.515520 0.183981 +vt 0.515520 0.362089 +vt 0.534951 0.089054 +vt 0.692345 0.183981 +vt 0.205560 0.629253 +vt 0.205560 0.756473 +vt 0.069541 0.776046 +vt 0.069541 0.756473 +vt 0.205560 0.776046 +vt 0.818649 0.172237 +vt 0.663198 0.686316 +vt 0.663198 0.362089 +vt 0.043010 0.005872 +vt 0.020702 0.005872 +vt 0.361566 0.005872 +vt 0.466681 0.597937 +vt 0.425277 0.005872 +vt 0.170432 0.005872 +vt 0.106721 0.005872 +vt 0.297855 0.005872 +vt 0.234143 0.597937 +vt 0.451809 0.323923 +vt 0.057882 0.279885 +vt 0.312727 0.279885 +vt 0.376438 0.776046 +vt 0.240419 0.776046 +vt 0.240419 0.756473 +vt 0.240419 0.609680 +vt 0.376438 0.609680 +vt 0.598103 0.330774 +vt 0.598103 0.152665 +vt 0.582223 0.893969 +vt 0.582223 0.907333 +vt 0.577145 0.919680 +vt 0.567763 0.929130 +vt 0.542237 0.934244 +vt 0.529979 0.929130 +vt 0.520597 0.919680 +vt 0.520597 0.881622 +vt 0.515520 0.893969 +vt 0.529979 0.872172 +vt 0.555505 0.867057 +vt 0.567763 0.872172 +vt 0.577145 0.881622 +vt 0.796604 0.620750 +vt 0.786449 0.645444 +vt 0.767685 0.664344 +vt 0.796604 0.594021 +vt 0.743169 0.674572 +vt 0.692117 0.664344 +vt 0.673353 0.645444 +vt 0.663198 0.594021 +vt 0.663198 0.620750 +vt 0.673353 0.569327 +vt 0.716633 0.540198 +vt 0.767685 0.550427 +vt 0.743169 0.540198 +vt 0.645068 0.886087 +vt 0.439283 0.926210 +vt 0.495017 0.983298 +vt 0.978082 0.765065 +vt 0.112591 0.936539 +vt 0.011622 0.930056 +vt 0.830308 0.172237 +vt 0.376438 0.787789 +vt 0.388097 0.746687 +vt 0.604830 0.855314 +vt 0.158851 0.787789 +vt 0.477408 0.758430 +vt 0.922348 0.688948 +vt 0.862185 0.837699 +vt 0.275469 0.924796 +vt 0.951495 0.677205 +vt 0.729339 0.835066 +vt 0.717680 0.972073 +vt 0.984228 0.355606 +vt 0.991440 0.035230 +vt 0.934007 0.974705 +vt 0.924064 0.320987 +vt 0.159278 0.488607 +vt 0.159278 0.458789 +vt 0.185305 0.597937 +vt 0.159278 0.518424 +vt 0.018048 0.797350 +vt 0.121593 0.438911 +vt 0.121593 0.458789 +vt 0.121593 0.597937 +vt 0.645033 0.768003 +vt 0.651539 0.797820 +vt 0.013283 0.609680 +vt 0.018048 0.609680 +vt 0.018048 0.629558 +vt 0.638526 0.768003 +vt 0.013283 0.629558 +vt 0.018048 0.659376 +vt 0.491609 0.860287 +vt 0.651539 0.718307 +vt 0.625513 0.738185 +vt 0.651539 0.738185 +vt 0.489067 0.609680 +vt 0.493831 0.609680 +vt 0.493831 0.689193 +vt 0.489067 0.689193 +vt 0.489067 0.659376 +vt 0.489067 0.629558 +vt 0.632020 0.753094 +vt 0.807795 0.499096 +vt 0.010647 0.761611 +vt 0.669705 0.528455 +vt 0.698852 0.342892 +vt 0.801161 0.386085 +vt 0.807795 0.462887 +vt 0.224620 0.753144 +vt 0.801161 0.422294 +vt 0.496467 0.821815 +vt 0.489067 0.785606 +vt 0.681364 0.521001 +vt 0.224620 0.669414 +vt 0.495701 0.749867 +vt 0.224620 0.609680 +vt 0.018048 0.700936 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.000000 1.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 1.000000 0.000000 +vn 0.000000 -0.195091 -0.980785 +vn 0.000001 -0.555570 -0.831470 +vn 0.000001 -0.831470 -0.555570 +vn 0.000001 -0.980785 -0.195090 +vn 0.000001 -0.980785 0.195090 +vn 0.000001 -0.831470 0.555570 +vn 0.000001 -0.555570 0.831470 +vn 0.000000 -0.195091 0.980785 +vn -0.000000 0.195090 0.980785 +vn -0.000001 0.555569 0.831470 +vn -0.000001 0.831470 0.555570 +vn -0.000001 0.980785 0.195091 +vn -0.000001 0.980785 -0.195090 +vn -0.000001 0.831470 -0.555570 +vn -0.000000 0.195090 -0.980785 +vn -0.000000 0.555571 -0.831469 +vn -1.000000 -0.000001 0.000001 +vn 1.000000 -0.000001 0.000000 +vn 0.000000 -0.195090 -0.980785 +vn 0.000001 -0.555571 -0.831469 +vn 0.000001 -0.831469 -0.555571 +vn 0.000001 -0.831469 0.555571 +vn 0.000000 -0.555570 0.831469 +vn -0.000000 0.555570 0.831470 +vn -0.000001 0.831469 0.555571 +vn -0.000001 0.980786 0.195088 +vn -0.000001 0.980785 -0.195091 +vn -0.000001 0.831469 -0.555571 +vn -0.000000 0.555570 -0.831470 +vn -0.269829 0.944406 0.187855 +vn -0.269830 0.800629 0.534963 +vn -0.269830 0.534963 0.800629 +vn -0.269830 0.187854 0.944406 +vn -0.269831 -0.187855 0.944406 +vn -0.269831 -0.534963 0.800628 +vn -0.269831 -0.800628 0.534963 +vn -0.269831 -0.944406 0.187854 +vn -0.269831 -0.944406 -0.187854 +vn -0.269831 -0.800628 -0.534963 +vn -0.269831 -0.534964 -0.800628 +vn -0.269831 -0.187854 -0.944406 +vn -0.269830 0.187854 -0.944406 +vn -0.269830 0.534962 -0.800629 +vn -0.269830 0.800629 -0.534963 +vn -0.269829 0.944406 -0.187855 +vn 1.000000 -0.000002 0.000000 +vn 1.000000 0.000001 0.000000 +vn 0.700215 0.700214 0.139282 +vn 0.700215 0.700214 -0.139281 +vn 0.700216 0.593610 -0.396642 +vn 0.700215 0.396640 -0.593612 +vn 0.700215 0.139280 -0.700215 +vn 0.700215 -0.139278 -0.700215 +vn 0.700215 -0.396639 -0.593613 +vn 0.700214 -0.593613 -0.396640 +vn 0.700212 -0.700217 -0.139281 +vn 0.700213 -0.700216 0.139281 +vn 0.700214 -0.593613 0.396640 +vn 0.700213 -0.396641 0.593613 +vn 0.700214 -0.139278 0.700215 +vn 0.700215 0.139285 0.700213 +vn 0.700213 0.396640 0.593615 +vn 0.700214 0.593612 0.396642 +vn -0.000000 -0.707107 -0.707107 +vn 0.000000 0.707106 0.707108 +vn 0.000000 -0.707107 0.707107 +vn 0.000000 0.707108 -0.707106 +vn 0.000000 -0.707106 -0.707108 +vn 0.000000 -0.707106 0.707108 +vn 0.000000 0.707107 -0.707107 +vn 0.000000 -0.707108 0.707106 +vn -0.000000 0.555569 0.831470 +vn 1.000000 -0.000017 0.000000 +vn -0.000001 0.980785 0.195092 +vn -0.000001 0.831469 -0.555570 +vn -0.000001 0.831471 0.555569 +vn -0.000000 0.555572 -0.831469 +vn -1.000000 0.000000 0.000001 +vn -0.000001 0.831469 0.555572 +vn 0.000000 -0.555569 0.831470 +vn -0.000001 0.831470 0.555569 +vn 0.000000 0.831469 0.555571 +vn 1.000000 0.000005 -0.000005 +vn -0.000001 0.555571 -0.831469 +vn -1.000000 -0.000007 -0.000001 +vn -1.000000 0.000000 -0.000001 +vn 1.000000 0.000003 0.000001 +vn -0.000001 0.831472 0.555567 +vn -0.000001 0.555570 -0.831470 +vn 1.000000 0.000006 0.000001 +vn 0.000000 -0.555570 0.831470 +vn 0.000000 -0.555571 -0.831469 +vn 0.000000 -0.555571 0.831469 +vn 0.000000 -0.195090 0.980785 +vn -0.000001 0.555570 0.831470 +vn -0.000001 0.831469 -0.555572 +vn -0.000001 0.555569 -0.831470 +vn 1.000000 0.000000 -0.000006 +vn 1.000000 0.000011 0.000006 +vn 1.000000 -0.000006 0.000000 +vn 1.000000 0.000000 -0.000002 +vn 1.000000 0.000002 0.000000 +vn 1.000000 0.000002 0.000001 +vn 1.000000 0.000000 0.000003 +vn -1.000000 0.000000 -0.000002 +vn -1.000000 -0.000004 -0.000001 +vn -1.000000 -0.000011 0.000002 +vn -1.000000 -0.000001 0.000000 +vn -1.000000 0.000009 0.000009 +vn -1.000000 0.000006 -0.000009 +vn -1.000000 -0.000001 -0.000001 +vn -1.000000 -0.000006 -0.000001 +vn -1.000000 0.000000 0.000002 +vn -1.000000 -0.000009 0.000000 +vn -1.000000 0.000001 -0.000004 +vn 1.000000 -0.000000 -0.000001 +vn -0.358979 0.000000 -0.933346 +vn 0.999315 0.037012 0.000000 +vn 1.000000 -0.000001 0.000009 +vn -0.894427 -0.447213 0.000000 +vn -0.999829 0.018515 0.000000 +vn 0.680451 0.732794 0.000000 +vn 0.000000 -1.000000 -0.000001 +vn 0.970142 -0.242536 0.000000 +vn -0.880471 0.474100 0.000000 +vn 0.000000 -0.555570 -0.831470 +vn 0.000001 -0.555571 0.831469 +vn -0.000001 0.980786 -0.195088 +vn -0.269829 0.944406 0.187854 +vn -0.269830 0.800628 0.534963 +vn -0.269830 0.534962 0.800629 +vn -0.269830 0.187853 0.944406 +vn -0.269831 -0.187854 0.944406 +vn -0.269831 -0.534964 0.800628 +vn -0.269831 -0.800629 -0.534963 +vn -0.269831 -0.534963 -0.800628 +vn -0.269830 -0.187854 -0.944406 +vn -0.269830 0.800628 -0.534963 +vn -0.269829 0.944406 -0.187853 +vn 1.000000 0.000017 -0.000017 +vn 1.000000 0.000000 0.000002 +vn 1.000000 0.000017 0.000017 +vn 1.000000 0.000005 -0.000002 +vn 1.000000 -0.000002 0.000002 +vn 1.000000 -0.000003 0.000000 +vn 1.000000 -0.000004 0.000004 +vn 1.000000 0.000003 -0.000001 +vn 1.000000 0.000003 -0.000002 +vn 1.000000 -0.000001 -0.000002 +vn 1.000000 -0.000008 0.000000 +vn 1.000000 -0.000004 -0.000004 +vn 1.000000 0.000001 0.000001 +vn 1.000000 0.000006 0.000000 +vn 0.700215 0.700215 -0.139281 +vn 1.000000 0.000000 0.000001 +vn 0.700215 0.700214 0.139280 +vn 0.700214 0.593614 -0.396640 +vn 0.700214 0.396639 -0.593614 +vn 0.700215 0.139285 -0.700213 +vn 0.700214 -0.139285 -0.700215 +vn 0.700213 -0.396641 -0.593613 +vn 0.700213 -0.593616 -0.396639 +vn 0.700214 -0.700215 -0.139281 +vn 0.700214 -0.700215 0.139282 +vn 0.700214 -0.593614 0.396640 +vn 0.700214 -0.396642 0.593612 +vn 0.700215 -0.139278 0.700215 +vn 0.700214 0.139282 0.700215 +vn 0.700216 0.396639 0.593612 +vn 0.700216 0.593611 0.396640 +vn 0.000001 -0.707107 -0.707107 +vn 0.000001 0.707104 0.707109 +vn 0.000001 -0.707107 0.707107 +vn 0.000001 0.707108 -0.707106 +vn -0.000001 0.707108 -0.707106 +vn -0.000001 -0.707109 0.707105 +vn 0.000001 -0.707108 -0.707106 +vn 0.000001 0.707107 0.707107 +vn -0.000000 0.555572 0.831469 +vn -0.000001 0.831469 0.555570 +vn -0.000001 0.555569 0.831471 +vn 1.000000 0.000017 0.000000 +vn -0.000001 0.980785 0.195090 +vn -0.000001 0.980785 0.195089 +vn -0.000000 0.555569 -0.831470 +vn -1.000000 0.000000 -0.000003 +vn -0.000001 0.831468 0.555572 +vn 0.000001 -0.555567 0.831472 +vn 0.000000 -0.555572 0.831469 +vn 0.000000 0.831470 0.555569 +vn -0.000001 0.831468 0.555573 +vn 1.000000 -0.000007 0.000000 +vn -0.000002 0.831472 0.555567 +vn 0.000000 0.831471 0.555569 +vn -1.000000 0.000007 -0.000001 +vn 1.000000 -0.000007 0.000001 +s off +f 6/1/1 2/2/1 1/3/1 +f 7/4/2 3/5/2 2/6/2 +f 8/7/3 4/8/3 3/9/3 +f 5/10/4 1/11/4 4/12/4 +f 2/13/5 3/14/5 4/15/5 +f 7/16/6 6/17/6 5/18/6 +f 26/19/7 28/20/7 98/21/7 +f 98/22/8 28/23/8 30/24/8 +f 30/24/9 32/25/9 100/26/9 +f 100/27/10 32/28/10 34/29/10 +f 101/30/11 34/29/11 36/31/11 +f 36/32/12 38/33/12 103/34/12 +f 38/33/13 40/35/13 104/36/13 +f 104/37/14 40/38/14 42/39/14 +f 42/39/15 44/40/15 106/41/15 +f 44/42/16 46/43/16 107/44/16 +f 46/43/17 48/45/17 108/46/17 +f 108/47/18 48/48/18 50/49/18 +f 109/50/19 50/49/19 52/51/19 +f 52/52/20 54/53/20 111/54/20 +f 44/55/3 42/56/3 40/57/3 +f 56/58/21 26/19/21 97/59/21 +f 54/53/22 56/60/22 112/61/22 +f 37/62/23 39/63/23 49/64/23 +f 63/65/6 62/66/6 91/67/6 +f 66/68/5 67/69/5 90/70/5 +f 87/71/3 67/72/3 95/73/3 +f 57/74/1 74/74/1 65/75/1 +f 64/76/2 61/77/2 94/78/2 +f 80/79/4 77/80/4 73/81/4 +f 62/82/1 96/83/1 86/84/1 +f 87/85/2 83/86/2 82/87/2 +f 67/88/4 66/89/4 96/90/4 +f 80/91/3 76/92/3 75/93/3 +f 89/94/5 90/70/5 68/95/5 +f 75/96/5 76/97/5 73/98/5 +f 62/82/1 58/99/1 91/100/1 +f 64/101/24 60/93/24 92/102/24 +f 92/103/6 91/67/6 61/104/6 +f 93/105/2 94/78/2 65/106/2 +f 95/107/4 96/90/4 62/108/4 +f 97/59/25 98/21/25 27/109/25 +f 98/22/26 99/110/26 29/111/26 +f 29/111/27 99/110/27 100/26/27 +f 100/27/10 101/30/10 33/112/10 +f 101/30/11 102/113/11 35/114/11 +f 102/115/28 103/34/28 37/116/28 +f 103/34/29 104/36/29 39/117/29 +f 104/37/14 105/118/14 41/119/14 +f 105/118/15 106/41/15 43/120/15 +f 106/121/30 107/44/30 45/122/30 +f 107/44/31 108/46/31 47/123/31 +f 108/47/32 109/50/32 49/124/32 +f 109/50/33 110/125/33 51/126/33 +f 51/127/34 110/128/34 111/54/34 +f 112/129/21 97/59/21 25/130/21 +f 53/131/35 111/54/35 112/61/35 +f 109/50/36 108/47/36 20/132/36 +f 19/43/37 20/133/37 108/46/37 +f 18/134/38 19/43/38 107/44/38 +f 17/39/39 18/135/39 106/41/39 +f 16/136/40 17/39/40 105/118/40 +f 15/33/41 16/137/41 104/36/41 +f 15/33/42 103/34/42 102/115/42 +f 13/29/43 14/138/43 102/113/43 +f 13/29/44 101/30/44 100/27/44 +f 12/139/45 100/26/45 99/110/45 +f 11/24/46 99/110/46 98/22/46 +f 10/140/47 98/21/47 97/59/47 +f 9/19/48 97/59/48 112/129/48 +f 24/141/49 112/61/49 111/54/49 +f 22/142/50 23/143/50 111/54/50 +f 22/144/51 110/125/51 109/50/51 +f 78/145/6 88/146/6 85/147/6 +f 85/148/4 70/148/4 66/149/4 +f 79/150/4 72/150/4 68/151/4 +f 121/152/52 125/153/52 117/154/52 +f 131/155/53 141/156/53 135/157/53 +f 117/158/54 141/159/54 140/160/54 +f 116/161/55 142/162/55 141/159/55 +f 116/161/56 115/163/56 143/164/56 +f 114/165/57 144/166/57 143/167/57 +f 113/168/58 129/169/58 144/166/58 +f 128/170/59 130/171/59 129/169/59 +f 128/172/60 127/173/60 131/174/60 +f 126/175/61 132/176/61 131/174/61 +f 125/177/62 133/178/62 132/176/62 +f 125/179/63 124/180/63 134/181/63 +f 124/180/64 123/182/64 135/183/64 +f 122/184/65 136/185/65 135/183/65 +f 122/186/66 121/187/66 137/188/66 +f 121/187/67 120/189/67 138/190/67 +f 120/191/68 119/192/68 139/193/68 +f 119/192/69 118/194/69 140/195/69 +f 67/196/4 147/196/4 146/196/4 +f 53/196/4 145/196/4 148/196/4 +f 96/196/4 152/196/4 151/196/4 +f 92/196/4 150/196/4 149/196/4 +f 95/196/4 155/196/4 156/196/4 +f 89/196/4 153/196/4 154/196/4 +f 62/196/4 158/196/4 159/196/4 +f 99/196/4 160/196/4 157/196/4 +f 93/196/4 163/196/4 164/196/4 +f 91/196/4 161/196/4 162/196/4 +f 61/196/4 166/196/4 167/196/4 +f 103/196/4 168/196/4 165/196/4 +f 94/196/4 172/196/4 171/196/4 +f 90/196/4 170/196/4 169/196/4 +f 65/196/4 174/196/4 175/196/4 +f 107/196/4 176/196/4 173/196/4 +f 155/197/70 162/198/70 161/199/70 +f 177/200/71 180/201/71 179/202/71 +f 172/203/72 178/204/72 177/205/72 +f 184/206/73 183/207/73 181/208/73 +f 170/209/70 171/210/70 172/211/70 +f 186/212/71 187/213/71 188/214/71 +f 145/215/74 146/216/74 147/217/74 +f 190/218/71 191/219/71 192/220/71 +f 170/221/72 169/222/72 179/223/72 +f 194/224/73 193/225/73 195/226/73 +f 175/227/75 174/228/75 173/229/75 +f 199/230/76 198/231/76 197/232/76 +f 160/233/76 159/234/76 158/235/76 +f 204/236/77 203/237/77 202/238/77 +f 168/239/70 167/240/70 166/241/70 +f 208/242/71 207/243/71 206/244/71 +f 19/43/78 18/134/78 210/245/78 +f 139/246/17 140/247/17 211/248/17 +f 19/43/17 210/245/17 209/249/17 +f 137/250/15 138/251/15 18/135/15 +f 136/252/14 137/250/14 17/39/14 +f 135/253/13 136/254/13 16/137/13 +f 134/255/12 135/253/12 15/33/12 +f 133/256/11 134/257/11 14/138/11 +f 13/29/10 12/258/10 132/259/10 +f 211/260/79 215/261/79 216/262/79 +f 141/263/80 221/264/80 211/265/80 +f 141/263/19 142/266/19 22/144/19 +f 22/142/81 142/267/81 143/268/81 +f 143/268/35 144/269/35 24/141/35 +f 144/270/21 129/271/21 9/19/21 +f 129/271/7 130/272/7 10/140/7 +f 131/273/9 132/274/9 12/139/9 +f 130/275/8 131/273/8 11/24/8 +f 215/276/82 223/277/82 230/278/82 +f 215/279/83 211/280/83 221/281/83 +f 210/282/84 214/283/84 213/284/84 +f 213/285/85 225/286/85 228/287/85 +f 224/288/82 227/289/82 229/290/82 +f 222/291/86 229/292/86 218/293/86 +f 236/294/87 230/278/87 223/277/87 +f 227/289/87 235/295/87 236/294/87 +f 234/296/88 237/297/88 228/287/88 +f 234/298/89 243/299/89 246/300/89 +f 238/301/86 246/302/86 242/303/86 +f 229/290/88 238/304/88 231/305/88 +f 244/306/31 240/307/31 241/308/31 +f 246/309/88 243/310/88 239/311/88 +f 230/312/90 236/313/90 245/314/90 +f 235/315/91 244/316/91 245/317/91 +f 226/318/13 240/319/13 244/320/13 +f 225/321/92 231/322/92 242/323/92 +f 230/324/93 241/325/93 240/326/93 +f 234/327/35 225/328/35 239/329/35 +f 249/330/94 247/331/94 248/332/94 +f 250/333/95 248/334/95 233/335/95 +f 233/336/96 248/337/96 247/338/96 +f 247/339/97 249/340/97 234/341/97 +f 249/342/91 250/343/91 237/344/91 +f 5/345/1 6/1/1 1/3/1 +f 6/346/2 7/4/2 2/6/2 +f 7/347/3 8/7/3 3/9/3 +f 8/348/4 5/10/4 4/12/4 +f 1/349/5 2/13/5 4/15/5 +f 8/350/6 7/16/6 5/18/6 +f 97/59/25 26/19/25 98/21/25 +f 99/110/98 98/22/98 30/24/98 +f 99/110/27 30/24/27 100/26/27 +f 101/30/10 100/27/10 34/29/10 +f 102/113/11 101/30/11 36/31/11 +f 102/115/12 36/32/12 103/34/12 +f 103/34/99 38/33/99 104/36/99 +f 105/118/100 104/37/100 42/39/100 +f 105/118/15 42/39/15 106/41/15 +f 106/121/101 44/42/101 107/44/101 +f 107/44/85 46/43/85 108/46/85 +f 109/50/32 108/47/32 50/49/32 +f 110/125/19 109/50/19 52/51/19 +f 110/128/102 52/52/102 111/54/102 +f 26/351/3 54/352/3 28/353/3 +f 26/351/3 56/354/3 54/352/3 +f 36/355/3 54/352/3 52/356/3 +f 46/357/3 52/356/3 48/358/3 +f 111/54/103 54/53/103 112/61/103 +f 38/359/104 36/355/104 40/57/104 +f 112/129/21 56/58/21 97/59/21 +f 30/360/105 28/353/105 32/361/105 +f 36/355/106 34/362/106 32/361/106 +f 52/356/3 50/363/3 48/358/3 +f 32/361/107 28/353/107 54/352/107 +f 54/352/108 36/355/108 32/361/108 +f 36/355/109 46/357/109 44/55/109 +f 36/355/110 44/55/110 40/57/110 +f 46/357/53 36/355/53 52/356/53 +f 27/364/111 51/365/111 25/366/111 +f 37/62/112 31/367/112 33/368/112 +f 35/369/113 37/62/113 33/368/113 +f 37/62/114 49/64/114 29/370/114 +f 39/63/1 41/371/1 43/372/1 +f 43/372/115 45/373/115 47/374/115 +f 89/94/5 66/68/5 90/70/5 +f 51/365/116 53/375/116 55/376/116 +f 27/364/117 29/370/117 49/64/117 +f 92/103/6 63/65/6 91/67/6 +f 47/374/118 49/64/118 43/372/118 +f 49/64/119 39/63/119 43/372/119 +f 31/367/120 37/62/120 29/370/120 +f 51/365/121 55/376/121 25/366/121 +f 51/365/114 27/364/114 49/64/114 +f 87/71/122 95/73/122 83/377/122 +f 87/71/5 88/378/5 71/378/5 +f 95/73/123 63/379/123 59/380/123 +f 87/71/3 71/378/3 67/72/3 +f 95/73/122 59/380/122 84/380/122 +f 74/74/1 73/381/1 77/382/1 +f 77/382/5 78/383/5 69/383/5 +f 95/73/3 84/380/3 83/377/3 +f 94/384/3 61/385/3 57/74/3 +f 74/74/1 77/382/1 69/383/1 +f 74/74/1 69/383/1 65/75/1 +f 65/75/4 94/384/4 57/74/4 +f 93/105/2 64/76/2 94/78/2 +f 76/386/4 80/79/4 73/81/4 +f 70/148/4 85/148/4 86/84/4 +f 86/84/1 82/387/1 81/99/1 +f 66/149/1 70/148/1 86/84/1 +f 86/84/124 81/99/124 58/99/124 +f 96/83/1 66/149/1 86/84/1 +f 86/84/1 58/99/1 62/82/1 +f 86/388/2 87/85/2 82/87/2 +f 95/107/4 67/88/4 96/90/4 +f 93/389/3 80/91/3 64/101/3 +f 72/150/3 80/91/3 68/151/3 +f 72/150/4 79/150/4 80/91/4 +f 65/390/5 89/94/5 68/95/5 +f 80/91/125 60/93/125 64/101/125 +f 73/98/126 74/391/126 57/391/126 +f 80/91/127 75/93/127 60/93/127 +f 80/91/3 93/389/3 68/151/3 +f 57/391/128 58/392/128 81/392/128 +f 83/393/129 59/394/129 82/395/129 +f 83/393/130 84/394/130 59/394/130 +f 59/394/131 60/96/131 75/96/131 +f 61/385/1 91/100/1 57/74/1 +f 81/392/5 59/394/5 57/391/5 +f 63/379/24 92/102/24 59/380/24 +f 73/98/5 57/391/5 75/96/5 +f 57/391/5 59/394/5 75/96/5 +f 59/394/5 81/392/5 82/395/5 +f 91/100/1 58/99/1 57/74/1 +f 64/396/6 92/103/6 61/104/6 +f 92/102/24 60/93/24 59/380/24 +f 68/397/2 93/105/2 65/106/2 +f 63/398/4 95/107/4 62/108/4 +f 25/130/25 97/59/25 27/109/25 +f 27/399/132 98/22/132 29/111/132 +f 31/400/27 29/111/27 100/26/27 +f 31/401/10 100/27/10 33/112/10 +f 33/112/11 101/30/11 35/114/11 +f 35/402/28 102/115/28 37/116/28 +f 37/116/133 103/34/133 39/117/133 +f 39/403/100 104/37/100 41/119/100 +f 41/119/15 105/118/15 43/120/15 +f 43/404/101 106/121/101 45/122/101 +f 45/122/17 107/44/17 47/123/17 +f 47/405/18 108/47/18 49/124/18 +f 49/124/134 109/50/134 51/126/134 +f 53/131/20 51/127/20 111/54/20 +f 55/406/21 112/129/21 25/130/21 +f 55/407/95 53/131/95 112/61/95 +f 21/49/135 109/50/135 20/132/135 +f 107/44/136 19/43/136 108/46/136 +f 106/121/137 18/134/137 107/44/137 +f 105/118/138 17/39/138 106/41/138 +f 104/37/139 16/136/139 105/118/139 +f 103/34/140 15/33/140 104/36/140 +f 14/408/42 15/33/42 102/115/42 +f 101/30/43 13/29/43 102/113/43 +f 12/258/44 13/29/44 100/27/44 +f 11/24/141 12/139/141 99/110/141 +f 10/409/142 11/24/142 98/22/142 +f 9/19/143 10/140/143 97/59/143 +f 24/410/48 9/19/48 112/129/48 +f 23/143/49 24/141/49 111/54/49 +f 110/128/144 22/142/144 111/54/144 +f 21/49/145 22/144/145 109/50/145 +f 78/145/6 77/411/6 80/412/6 +f 88/146/6 78/145/6 79/413/6 +f 88/146/6 87/414/6 86/415/6 +f 69/383/4 78/383/4 65/75/4 +f 85/148/1 89/416/1 78/383/1 +f 78/145/6 80/412/6 79/413/6 +f 88/146/6 86/415/6 85/147/6 +f 71/378/4 88/378/4 67/72/4 +f 78/383/1 89/416/1 65/75/1 +f 79/150/3 90/417/3 88/378/3 +f 85/148/1 66/149/1 89/416/1 +f 113/418/146 114/419/146 115/420/146 +f 88/378/3 90/417/3 67/72/3 +f 115/420/147 116/421/147 117/154/147 +f 79/150/3 68/151/3 90/417/3 +f 117/154/107 118/422/107 119/423/107 +f 119/423/148 120/424/148 121/152/148 +f 123/425/147 125/153/147 122/426/147 +f 123/425/3 124/427/3 125/153/3 +f 125/153/79 126/428/79 127/429/79 +f 113/418/147 125/153/147 128/430/147 +f 113/418/149 115/420/149 117/154/149 +f 117/154/150 119/423/150 121/152/150 +f 125/153/151 113/418/151 117/154/151 +f 129/431/152 144/432/152 143/433/152 +f 129/431/153 143/433/153 130/434/153 +f 125/153/154 127/429/154 128/430/154 +f 125/153/155 121/152/155 122/426/155 +f 143/433/156 142/435/156 141/156/156 +f 141/156/156 140/436/156 139/437/156 +f 137/438/153 141/156/153 138/439/153 +f 137/438/157 136/440/157 135/157/157 +f 143/433/158 131/155/158 130/434/158 +f 131/155/159 134/441/159 132/442/159 +f 117/158/160 116/161/160 141/159/160 +f 131/155/52 135/157/52 134/441/52 +f 135/157/53 141/156/53 137/438/53 +f 134/441/3 133/443/3 132/442/3 +f 141/156/161 139/437/161 138/439/161 +f 118/444/162 117/158/162 140/160/162 +f 131/155/53 143/433/53 141/156/53 +f 142/162/163 116/161/163 143/164/163 +f 115/445/164 114/165/164 143/167/164 +f 114/165/165 113/168/165 144/166/165 +f 113/168/166 128/170/166 129/169/166 +f 130/446/167 128/172/167 131/174/167 +f 127/173/168 126/175/168 131/174/168 +f 126/175/169 125/177/169 132/176/169 +f 133/447/170 125/179/170 134/181/170 +f 134/181/171 124/180/171 135/183/171 +f 123/182/172 122/184/172 135/183/172 +f 136/448/173 122/186/173 137/188/173 +f 137/188/174 121/187/174 138/190/174 +f 138/449/175 120/191/175 139/193/175 +f 139/193/176 119/192/176 140/195/176 +f 66/196/4 67/196/4 146/196/4 +f 111/196/4 53/196/4 148/196/4 +f 95/196/4 96/196/4 151/196/4 +f 91/196/4 92/196/4 149/196/4 +f 96/196/4 95/196/4 156/196/4 +f 90/196/4 89/196/4 154/196/4 +f 63/196/4 62/196/4 159/196/4 +f 29/196/4 99/196/4 157/196/4 +f 94/196/4 93/196/4 164/196/4 +f 92/196/4 91/196/4 162/196/4 +f 64/196/4 61/196/4 167/196/4 +f 37/196/4 103/196/4 165/196/4 +f 93/196/4 94/196/4 171/196/4 +f 89/196/4 90/196/4 169/196/4 +f 68/196/4 65/196/4 175/196/4 +f 45/196/4 107/196/4 173/196/4 +f 156/450/70 155/197/70 161/199/70 +f 178/451/71 177/200/71 179/202/71 +f 171/452/72 172/203/72 177/205/72 +f 182/453/73 184/206/73 181/208/73 +f 169/454/70 170/209/70 172/211/70 +f 185/455/71 186/212/71 188/214/71 +f 148/456/177 145/215/177 147/217/177 +f 189/457/178 190/218/178 192/220/178 +f 180/458/72 170/221/72 179/223/72 +f 196/459/73 194/224/73 195/226/73 +f 176/460/179 175/227/179 173/229/179 +f 200/461/180 199/230/180 197/232/180 +f 157/462/181 160/233/181 158/235/181 +f 201/463/182 204/236/182 202/238/182 +f 165/464/183 168/239/183 166/241/183 +f 205/465/184 208/242/184 206/244/184 +f 222/466/185 218/467/185 138/468/185 +f 138/468/78 139/246/78 212/469/78 +f 212/469/31 139/246/31 211/248/31 +f 138/468/16 212/469/16 222/466/16 +f 20/133/186 19/43/186 209/249/186 +f 138/468/187 218/467/187 210/245/187 +f 18/134/30 138/468/30 210/245/30 +f 17/39/15 137/250/15 18/135/15 +f 16/136/14 136/252/14 17/39/14 +f 15/33/13 135/253/13 16/137/13 +f 14/408/12 134/255/12 15/33/12 +f 13/29/11 133/256/11 14/138/11 +f 133/256/10 13/29/10 132/259/10 +f 212/470/188 211/260/188 216/262/188 +f 21/49/189 20/132/189 209/471/189 +f 209/471/4 217/472/4 221/264/4 +f 140/473/190 141/263/190 211/265/190 +f 23/143/20 22/142/20 143/268/20 +f 221/264/32 141/263/32 209/471/32 +f 21/49/19 141/263/19 22/144/19 +f 141/263/189 21/49/189 209/471/189 +f 23/143/95 143/268/95 24/141/95 +f 24/410/21 144/270/21 9/19/21 +f 9/19/25 129/271/25 10/140/25 +f 11/24/9 131/273/9 12/139/9 +f 10/409/8 130/275/8 11/24/8 +f 232/474/31 224/288/31 216/475/31 +f 209/476/95 213/477/95 219/478/95 +f 226/479/85 215/276/85 230/278/85 +f 226/479/31 232/474/31 216/475/31 +f 221/281/2 217/480/2 209/476/2 +f 226/479/87 216/475/87 215/276/87 +f 215/279/191 221/281/191 223/481/191 +f 209/482/192 210/282/192 213/284/192 +f 221/281/95 209/476/95 219/478/95 +f 226/479/31 235/295/31 232/474/31 +f 221/281/35 219/478/35 223/481/35 +f 225/286/85 214/483/85 231/305/85 +f 219/484/82 213/285/82 228/287/82 +f 214/483/82 220/485/82 231/305/82 +f 225/286/17 213/285/17 214/483/17 +f 227/289/193 224/288/193 235/295/193 +f 227/289/88 234/296/88 238/304/88 +f 214/486/194 210/487/194 218/293/194 +f 235/295/87 224/288/87 232/474/87 +f 222/291/195 212/488/195 216/489/195 +f 227/289/88 238/304/88 229/290/88 +f 216/489/4 224/490/4 229/292/4 +f 214/486/13 218/293/13 220/491/13 +f 219/484/196 228/287/196 237/297/196 +f 222/291/133 216/489/133 229/292/133 +f 218/293/99 229/292/99 220/491/99 +f 237/297/4 233/492/4 236/294/4 +f 233/492/31 227/289/31 236/294/31 +f 237/297/31 236/294/31 219/484/31 +f 225/286/196 234/296/196 228/287/196 +f 236/294/197 223/277/197 219/484/197 +f 238/493/198 234/298/198 246/300/198 +f 231/494/97 238/301/97 242/303/97 +f 220/485/196 229/290/196 231/305/196 +f 245/495/199 244/306/199 241/308/199 +f 242/496/200 246/309/200 239/311/200 +f 241/497/95 230/312/95 245/314/95 +f 236/498/201 235/315/201 245/317/201 +f 235/499/99 226/318/99 244/320/99 +f 239/500/91 225/321/91 242/323/91 +f 226/501/161 230/324/161 240/326/161 +f 243/502/22 234/327/22 239/329/22 +f 250/503/31 249/330/31 248/332/31 +f 237/504/35 250/333/35 233/335/35 +f 227/505/202 233/336/202 247/338/202 +f 227/506/97 247/339/97 234/341/97 +f 234/507/201 249/342/201 237/344/201 diff --git a/assets/hbm/models/Mirv.obj b/assets/hbm/models/Mirv.obj new file mode 100644 index 000000000..9d4cf4736 --- /dev/null +++ b/assets/hbm/models/Mirv.obj @@ -0,0 +1,132 @@ +# Blender v2.76 (sub 0) OBJ File: '' +# www.blender.org +o Cone +v 0.000000 0.000000 -0.250000 +v 0.095671 0.000000 -0.230970 +v 0.176777 0.000000 -0.176777 +v 0.230970 0.000000 -0.095671 +v 0.250000 0.000000 0.000000 +v 0.000000 1.000000 0.000000 +v 0.230970 0.000000 0.095671 +v 0.176777 0.000000 0.176777 +v 0.095671 0.000000 0.230970 +v 0.000000 0.000000 0.250000 +v -0.095671 0.000000 0.230970 +v -0.176777 0.000000 0.176777 +v -0.230970 0.000000 0.095671 +v -0.250000 0.000000 -0.000000 +v -0.230970 0.000000 -0.095671 +v -0.176777 0.000000 -0.176777 +v -0.095671 0.000000 -0.230970 +vt 0.604260 0.026082 +vt 0.604260 0.474169 +vt 0.562802 0.028089 +vt 0.377812 0.973917 +vt 0.398565 0.526333 +vt 0.419317 0.973918 +vt 0.419224 0.026082 +vt 0.419224 0.474169 +vt 0.377766 0.028089 +vt 0.025530 0.739009 +vt 0.046282 0.291425 +vt 0.067035 0.739009 +vt 0.470284 0.472162 +vt 0.511742 0.026082 +vt 0.511742 0.474169 +vt 0.118094 0.739009 +vt 0.138846 0.291425 +vt 0.159599 0.739009 +vt 0.840401 0.973416 +vt 0.861154 0.525831 +vt 0.881906 0.973416 +vt 0.747837 0.973416 +vt 0.768589 0.525831 +vt 0.789342 0.973416 +vt 0.285248 0.472162 +vt 0.326707 0.026082 +vt 0.326707 0.474169 +vt 0.747837 0.473667 +vt 0.768589 0.026082 +vt 0.789342 0.473667 +vt 0.655319 0.472162 +vt 0.696778 0.026082 +vt 0.696778 0.474169 +vt 0.285248 0.973918 +vt 0.306001 0.526333 +vt 0.326753 0.973918 +vt 0.562941 0.973918 +vt 0.583693 0.526333 +vt 0.604446 0.973918 +vt 0.840401 0.473667 +vt 0.861154 0.026082 +vt 0.881906 0.473667 +vt 0.932966 0.473667 +vt 0.953718 0.026082 +vt 0.974470 0.473667 +vt 0.470377 0.973918 +vt 0.491129 0.526333 +vt 0.511882 0.973918 +vt 0.218306 0.072293 +vt 0.188957 0.223033 +vt 0.070761 0.042310 +vt 0.041413 0.193049 +vt 0.025530 0.153873 +vt 0.025530 0.111469 +vt 0.041413 0.072293 +vt 0.109107 0.026082 +vt 0.150612 0.026082 +vt 0.188957 0.042310 +vt 0.234189 0.111469 +vt 0.234189 0.153873 +vt 0.218306 0.193049 +vt 0.150612 0.239260 +vt 0.109107 0.239260 +vt 0.070761 0.223032 +vn -0.539600 0.238100 -0.807500 +vn 0.189500 0.238100 -0.952600 +vn -0.807500 0.238100 -0.539600 +vn -0.952600 0.238100 -0.189500 +vn -0.952600 0.238100 0.189500 +vn -0.807500 0.238100 0.539600 +vn -0.539600 0.238100 0.807500 +vn -0.189500 0.238100 0.952600 +vn 0.189500 0.238100 0.952600 +vn 0.539600 0.238100 0.807500 +vn 0.807500 0.238100 0.539600 +vn 0.952600 0.238100 0.189500 +vn 0.952600 0.238100 -0.189500 +vn 0.807500 0.238100 -0.539600 +vn -0.189500 0.238100 -0.952600 +vn 0.539600 0.238100 -0.807500 +vn 0.000000 -1.000000 0.000000 +s off +f 16/1/1 6/2/1 17/3/1 +f 1/4/2 6/5/2 2/6/2 +f 15/7/3 6/8/3 16/9/3 +f 14/10/4 6/11/4 15/12/4 +f 13/13/5 6/14/5 14/15/5 +f 12/16/6 6/17/6 13/18/6 +f 11/19/7 6/20/7 12/21/7 +f 10/22/8 6/23/8 11/24/8 +f 9/25/9 6/26/9 10/27/9 +f 8/28/10 6/29/10 9/30/10 +f 7/31/11 6/32/11 8/33/11 +f 5/34/12 6/35/12 7/36/12 +f 4/37/13 6/38/13 5/39/13 +f 3/40/14 6/41/14 4/42/14 +f 17/43/15 6/44/15 1/45/15 +f 2/46/16 6/47/16 3/48/16 +f 9/49/17 13/50/17 4/51/17 +f 17/52/17 1/53/17 2/54/17 +f 2/54/17 3/55/17 17/52/17 +f 4/51/17 5/56/17 7/57/17 +f 7/57/17 8/58/17 4/51/17 +f 9/49/17 10/59/17 13/50/17 +f 11/60/17 12/61/17 13/50/17 +f 13/50/17 14/62/17 15/63/17 +f 15/63/17 16/64/17 17/52/17 +f 17/52/17 3/55/17 4/51/17 +f 4/51/17 8/58/17 9/49/17 +f 10/59/17 11/60/17 13/50/17 +f 13/50/17 15/63/17 17/52/17 +f 17/52/17 4/51/17 13/50/17 diff --git a/assets/hbm/models/Missile.obj b/assets/hbm/models/Missile.obj new file mode 100644 index 000000000..34659fbf8 --- /dev/null +++ b/assets/hbm/models/Missile.obj @@ -0,0 +1,704 @@ +# Blender v2.70 (sub 0) OBJ File: 'Missile.blend' +# www.blender.org +o Cylinder +v -0.109738 3.500000 -0.551692 +v -0.109738 3.750000 -0.551692 +v 0.109738 3.500000 -0.551692 +v 0.109738 3.750000 -0.551692 +v 0.312508 3.500000 -0.467702 +v 0.312508 3.750000 -0.467702 +v 0.467702 3.500000 -0.312508 +v 0.467702 3.750000 -0.312508 +v 0.551692 3.500000 -0.109738 +v 0.551692 3.750000 -0.109738 +v 0.551692 3.500000 0.109738 +v 0.551692 3.750000 0.109738 +v 0.467702 3.500000 0.312508 +v 0.467702 3.750000 0.312508 +v 0.312508 3.500000 0.467702 +v 0.312508 3.750000 0.467702 +v 0.109738 3.500000 0.551692 +v 0.109738 3.750000 0.551692 +v -0.109738 3.500000 0.551692 +v -0.109738 3.750000 0.551692 +v -0.312508 3.500000 0.467702 +v -0.312508 3.750000 0.467702 +v -0.467702 3.500000 0.312508 +v -0.467702 3.750000 0.312508 +v -0.551692 3.500000 0.109738 +v -0.551692 3.750000 0.109738 +v -0.551692 3.500000 -0.109738 +v -0.551692 3.750000 -0.109738 +v -0.467702 3.500000 -0.312508 +v -0.467702 3.750000 -0.312508 +v -0.312508 3.500000 -0.467702 +v -0.312508 3.750000 -0.467702 +v -0.097545 1.000000 -0.490393 +v -0.097545 3.500000 -0.490393 +v 0.097545 1.000000 -0.490393 +v 0.097545 3.500000 -0.490393 +v 0.277785 1.000000 -0.415735 +v 0.277785 3.500000 -0.415735 +v 0.415735 1.000000 -0.277785 +v 0.415735 3.500000 -0.277785 +v 0.490393 1.000000 -0.097545 +v 0.490393 3.500000 -0.097545 +v 0.490393 1.000000 0.097545 +v 0.490393 3.500000 0.097545 +v 0.415735 1.000000 0.277785 +v 0.415735 3.500000 0.277785 +v 0.277785 1.000000 0.415735 +v 0.277785 3.500000 0.415735 +v 0.097545 1.000000 0.490393 +v 0.097545 3.500000 0.490393 +v -0.097545 1.000000 0.490393 +v -0.097545 3.500000 0.490393 +v -0.277785 1.000000 0.415735 +v -0.277785 3.500000 0.415735 +v -0.415735 1.000000 0.277785 +v -0.415735 3.500000 0.277785 +v -0.490393 1.000000 0.097545 +v -0.490393 3.500000 0.097545 +v -0.490393 1.000000 -0.097545 +v -0.490393 3.500000 -0.097545 +v -0.415735 1.000000 -0.277785 +v -0.415735 3.500000 -0.277785 +v -0.277785 1.000000 -0.415735 +v -0.277785 3.500000 -0.415735 +v -0.036579 4.750000 -0.183897 +v 0.036580 4.750000 -0.183897 +v 0.104169 4.750000 -0.155901 +v 0.155901 4.750000 -0.104169 +v 0.183897 4.750000 -0.036579 +v 0.183897 4.750000 0.036579 +v 0.155901 4.750000 0.104169 +v 0.104170 4.750000 0.155901 +v 0.036580 4.750000 0.183897 +v -0.036579 4.750000 0.183897 +v -0.104169 4.750000 0.155901 +v -0.155901 4.750000 0.104169 +v -0.183897 4.750000 0.036579 +v -0.183897 4.750000 -0.036579 +v -0.155900 4.750000 -0.104169 +v -0.104169 4.750000 -0.155901 +v -0.146318 0.000000 -0.735589 +v 0.146318 0.000000 -0.735589 +v 0.416678 0.000000 -0.623602 +v 0.623602 0.000000 -0.416678 +v 0.735589 0.000000 -0.146318 +v 0.735589 0.000000 0.146318 +v 0.623602 0.000000 0.416678 +v 0.416678 0.000000 0.623602 +v 0.146318 0.000000 0.735589 +v -0.146318 0.000000 0.735589 +v -0.416678 0.000000 0.623602 +v -0.623602 0.000000 0.416678 +v -0.735589 0.000000 0.146318 +v -0.735589 0.000000 -0.146318 +v -0.623602 0.000000 -0.416678 +v -0.416678 0.000000 -0.623602 +vt 0.406722 0.903820 +vt 0.371027 0.903820 +vt 0.371027 0.863107 +vt 0.351511 0.964074 +vt 0.315817 0.964074 +vt 0.315817 0.923362 +vt 0.935031 0.050484 +vt 0.899337 0.050484 +vt 0.899337 0.009771 +vt 0.045453 0.943524 +vt 0.009758 0.943524 +vt 0.009758 0.902811 +vt 0.249022 0.929334 +vt 0.213328 0.929334 +vt 0.213328 0.888621 +vt 0.406722 0.964074 +vt 0.371027 0.964074 +vt 0.371027 0.923362 +vt 0.505245 0.903820 +vt 0.469551 0.903820 +vt 0.469551 0.863107 +vt 0.191893 0.955207 +vt 0.156199 0.955207 +vt 0.156199 0.914494 +vt 0.136683 0.974389 +vt 0.100988 0.974389 +vt 0.100988 0.933677 +vt 0.351511 0.903820 +vt 0.315817 0.903820 +vt 0.315817 0.863107 +vt 0.505245 0.964074 +vt 0.469551 0.964074 +vt 0.469551 0.923362 +vt 0.009758 0.842556 +vt 0.045453 0.842556 +vt 0.045453 0.883269 +vt 0.935031 0.110738 +vt 0.899337 0.110738 +vt 0.899337 0.070026 +vt 0.899337 0.136733 +vt 0.935031 0.136733 +vt 0.935031 0.177445 +vt 0.954548 0.563561 +vt 0.966446 0.390045 +vt 0.978344 0.390045 +vt 0.213328 0.948876 +vt 0.249022 0.948876 +vt 0.249022 0.989588 +vt 0.191893 0.894952 +vt 0.156199 0.894952 +vt 0.156199 0.854239 +vt 0.023418 0.307846 +vt 0.031869 0.313501 +vt 0.019727 0.342853 +vt 0.556490 0.416897 +vt 0.524761 0.416897 +vt 0.524761 0.009771 +vt 0.627250 0.009771 +vt 0.658979 0.009771 +vt 0.658979 0.416897 +vt 0.780984 0.009771 +vt 0.812712 0.009771 +vt 0.812712 0.416897 +vt 0.710223 0.416897 +vt 0.678495 0.416897 +vt 0.678495 0.009771 +vt 0.761468 0.416897 +vt 0.729739 0.416897 +vt 0.729739 0.009771 +vt 0.454001 0.416897 +vt 0.422272 0.416897 +vt 0.422272 0.009771 +vt 0.473517 0.436439 +vt 0.505245 0.436439 +vt 0.505245 0.843565 +vt 0.351511 0.843565 +vt 0.319783 0.843565 +vt 0.319783 0.436439 +vt 0.300267 0.843565 +vt 0.268538 0.843565 +vt 0.268538 0.436439 +vt 0.217294 0.268895 +vt 0.249022 0.268895 +vt 0.249022 0.676021 +vt 0.300267 0.416897 +vt 0.268538 0.416897 +vt 0.268538 0.009771 +vt 0.402756 0.416897 +vt 0.371028 0.416897 +vt 0.371027 0.009771 +vt 0.505245 0.416897 +vt 0.473517 0.416897 +vt 0.473517 0.009771 +vt 0.351511 0.416897 +vt 0.319783 0.416897 +vt 0.319783 0.009771 +vt 0.454000 0.436439 +vt 0.454000 0.843565 +vt 0.422272 0.843565 +vt 0.576006 0.009771 +vt 0.607734 0.009771 +vt 0.607734 0.416897 +vt 0.840160 0.009771 +vt 0.871889 0.009771 +vt 0.879821 0.177445 +vt 0.136683 0.878230 +vt 0.136683 0.890144 +vt 0.089833 0.858799 +vt 0.603768 0.984388 +vt 0.615666 0.810872 +vt 0.627564 0.810872 +vt 0.658979 0.984388 +vt 0.670877 0.810872 +vt 0.682775 0.810872 +vt 0.773680 0.984388 +vt 0.737986 0.984388 +vt 0.749884 0.810872 +vt 0.112561 0.834697 +vt 0.076867 0.834697 +vt 0.088765 0.661181 +vt 0.895999 0.990229 +vt 0.860305 0.990229 +vt 0.872203 0.816713 +vt 0.951210 0.990229 +vt 0.915515 0.990229 +vt 0.927413 0.816713 +vt 0.935031 0.563561 +vt 0.899337 0.563561 +vt 0.911235 0.390045 +vt 0.915515 0.797171 +vt 0.927414 0.623655 +vt 0.939312 0.623655 +vt 0.112561 0.641639 +vt 0.076867 0.641639 +vt 0.088765 0.468123 +vt 0.213328 0.869079 +vt 0.225226 0.695563 +vt 0.237124 0.695563 +vt 0.860305 0.797171 +vt 0.872203 0.623655 +vt 0.884101 0.623655 +vt 0.954548 0.370503 +vt 0.966446 0.196987 +vt 0.978344 0.196987 +vt 0.899337 0.370503 +vt 0.911235 0.196987 +vt 0.923133 0.196987 +vt 0.524761 0.984388 +vt 0.536659 0.810872 +vt 0.548557 0.810872 +vt 0.805094 0.984387 +vt 0.816992 0.810872 +vt 0.828891 0.810872 +vt 0.061624 0.028008 +vt 0.105594 0.009771 +vt 0.027971 0.197418 +vt 0.181274 0.468123 +vt 0.189206 0.635798 +vt 0.141614 0.635798 +vt 0.049419 0.655340 +vt 0.057351 0.823014 +vt 0.009758 0.823014 +vt 0.871889 0.249223 +vt 0.879821 0.416897 +vt 0.832228 0.416897 +vt 0.765748 0.436439 +vt 0.773680 0.604113 +vt 0.726087 0.604113 +vt 0.532693 0.791330 +vt 0.524761 0.623655 +vt 0.572354 0.623655 +vt 0.698639 0.436439 +vt 0.706571 0.604113 +vt 0.658979 0.604113 +vt 0.181274 0.655340 +vt 0.189206 0.823014 +vt 0.141614 0.823014 +vt 0.631531 0.604113 +vt 0.599802 0.604113 +vt 0.591870 0.436439 +vt 0.599802 0.791330 +vt 0.591870 0.623655 +vt 0.639463 0.623655 +vt 0.698639 0.623655 +vt 0.706571 0.791330 +vt 0.658979 0.791330 +vt 0.049419 0.468123 +vt 0.057351 0.635798 +vt 0.009758 0.635798 +vt 0.801128 0.436439 +vt 0.832857 0.436439 +vt 0.840789 0.604113 +vt 0.564422 0.436439 +vt 0.572354 0.604113 +vt 0.524761 0.604113 +vt 0.801128 0.623655 +vt 0.832857 0.623655 +vt 0.840789 0.791330 +vt 0.765748 0.791330 +vt 0.734019 0.791330 +vt 0.726087 0.623655 +vt 0.009758 0.376609 +vt 0.009758 0.340867 +vt 0.031869 0.403976 +vt 0.023418 0.409630 +vt 0.054305 0.426441 +vt 0.048657 0.434904 +vt 0.081635 0.448581 +vt 0.117329 0.448581 +vt 0.083618 0.438599 +vt 0.150307 0.434904 +vt 0.115346 0.438599 +vt 0.175547 0.409630 +vt 0.144660 0.426441 +vt 0.179237 0.374624 +vt 0.189206 0.376609 +vt 0.189206 0.340867 +vt 0.167095 0.313501 +vt 0.175547 0.307846 +vt 0.144660 0.291036 +vt 0.150307 0.282573 +vt 0.115346 0.278878 +vt 0.117329 0.268895 +vt 0.081635 0.268895 +vt 0.054305 0.291036 +vt 0.048658 0.282573 +vt 0.406722 0.863107 +vt 0.351511 0.923362 +vt 0.935031 0.009771 +vt 0.045453 0.902811 +vt 0.249022 0.888621 +vt 0.406722 0.923362 +vt 0.505245 0.863107 +vt 0.191893 0.914494 +vt 0.136683 0.933677 +vt 0.351511 0.863107 +vt 0.505245 0.923362 +vt 0.009758 0.883269 +vt 0.935031 0.070026 +vt 0.899337 0.177445 +vt 0.990242 0.563561 +vt 0.213328 0.989588 +vt 0.191893 0.854239 +vt 0.556490 0.009771 +vt 0.627250 0.416897 +vt 0.780984 0.416897 +vt 0.710223 0.009771 +vt 0.761468 0.009771 +vt 0.454000 0.009771 +vt 0.473517 0.843565 +vt 0.351511 0.436439 +vt 0.300267 0.436439 +vt 0.217294 0.676021 +vt 0.300267 0.009771 +vt 0.402756 0.009771 +vt 0.505245 0.009771 +vt 0.351511 0.009771 +vt 0.422272 0.436439 +vt 0.576006 0.416897 +vt 0.832228 0.177445 +vt 0.132130 0.901151 +vt 0.123716 0.909575 +vt 0.112724 0.914135 +vt 0.100826 0.914135 +vt 0.081420 0.901151 +vt 0.076867 0.890144 +vt 0.089833 0.909575 +vt 0.076867 0.878230 +vt 0.081420 0.867223 +vt 0.100826 0.854239 +vt 0.112724 0.854239 +vt 0.123716 0.858799 +vt 0.132130 0.867223 +vt 0.639463 0.984388 +vt 0.694673 0.984388 +vt 0.761782 0.810872 +vt 0.100663 0.661181 +vt 0.884101 0.816713 +vt 0.939312 0.816713 +vt 0.923133 0.390045 +vt 0.951210 0.797171 +vt 0.100663 0.468123 +vt 0.249022 0.869079 +vt 0.895999 0.797171 +vt 0.990242 0.370503 +vt 0.935031 0.370503 +vt 0.560456 0.984388 +vt 0.840789 0.984388 +vt 0.197156 0.028008 +vt 0.230809 0.061706 +vt 0.249022 0.105734 +vt 0.249022 0.153390 +vt 0.230809 0.197418 +vt 0.197156 0.231116 +vt 0.153186 0.249353 +vt 0.153186 0.009771 +vt 0.061624 0.231116 +vt 0.009758 0.153390 +vt 0.009758 0.105734 +vt 0.027971 0.061706 +vt 0.105594 0.249353 +vt 0.149546 0.468123 +vt 0.017690 0.655340 +vt 0.840160 0.249223 +vt 0.734020 0.436439 +vt 0.564422 0.791330 +vt 0.666911 0.436439 +vt 0.149545 0.655340 +vt 0.639463 0.436439 +vt 0.631530 0.791330 +vt 0.666911 0.623655 +vt 0.017690 0.468123 +vt 0.793196 0.604113 +vt 0.532693 0.436439 +vt 0.793196 0.791330 +vt 0.773680 0.623655 +vt 0.019727 0.374623 +vt 0.167095 0.403976 +vt 0.179237 0.342853 +vt 0.083618 0.278878 +vn 0.000000 0.000000 -1.000000 +vn 0.382684 0.000000 -0.923879 +vn 0.707107 0.000000 -0.707107 +vn 0.923879 0.000000 -0.382684 +vn 1.000000 0.000000 0.000000 +vn 0.923880 0.000000 0.382684 +vn 0.707107 0.000000 0.707107 +vn 0.382684 0.000000 0.923879 +vn 0.000000 0.000000 1.000000 +vn -0.382683 0.000000 0.923880 +vn -0.707107 0.000000 0.707107 +vn -0.923880 0.000000 0.382683 +vn -1.000000 0.000000 -0.000000 +vn -0.923880 0.000000 -0.382683 +vn 0.663644 0.345188 -0.663643 +vn -0.382683 0.000000 -0.923880 +vn -0.707106 0.000000 -0.707107 +vn 0.000000 -1.000000 0.000000 +vn 0.382683 0.000000 -0.923880 +vn 0.923880 0.000000 -0.382683 +vn 0.923880 0.000000 0.382683 +vn -0.923879 0.000000 0.382683 +vn -0.923879 0.000000 -0.382684 +vn -0.707107 0.000000 -0.707107 +vn 0.371674 0.238142 -0.897300 +vn 0.000000 1.000000 0.000006 +vn -0.867092 0.345187 -0.359162 +vn 0.867092 0.345188 0.359161 +vn 0.000000 0.345187 0.938534 +vn -0.867092 0.345188 0.359162 +vn 0.867092 0.345188 -0.359161 +vn -0.663643 0.345188 -0.663644 +vn 0.663644 0.345188 0.663643 +vn -0.359162 0.345188 0.867092 +vn 0.359162 0.345188 -0.867092 +vn -0.938534 0.345188 0.000001 +vn 0.938534 0.345188 0.000001 +vn -0.359160 0.345187 -0.867093 +vn 0.000000 0.345188 -0.938534 +vn 0.359162 0.345188 0.867092 +vn -0.663643 0.345188 0.663644 +vn -0.971230 0.238142 0.000000 +vn 0.971230 0.238142 -0.000000 +vn -0.371673 0.238142 -0.897300 +vn 0.000000 0.238142 -0.971230 +vn 0.371674 0.238142 0.897300 +vn -0.686763 0.238142 0.686764 +vn 0.686763 0.238142 -0.686764 +vn -0.897300 0.238142 -0.371674 +vn 0.897300 0.238142 0.371674 +vn 0.000000 0.238142 0.971230 +vn -0.897300 0.238142 0.371674 +vn 0.897300 0.238142 -0.371674 +vn -0.686763 0.238142 -0.686764 +vn 0.686763 0.238142 0.686763 +vn -0.371674 0.238142 0.897300 +vn 0.000000 -1.000000 0.000003 +vn 0.000000 -1.000000 -0.000002 +vn 0.000000 -1.000000 0.000009 +vn 0.000000 -1.000000 0.000002 +vn 0.923879 0.000000 0.382684 +vn 0.707107 0.000000 0.707106 +vn 0.000001 0.000000 1.000000 +vn -0.382684 0.000000 0.923879 +vn -0.923879 0.000000 0.382684 +vn -0.707107 0.000000 -0.707106 +vn 0.000000 -1.000000 -0.000009 +vn 0.382683 0.000000 0.923880 +vn 0.000000 1.000000 0.000058 +vn 0.000000 1.000000 -0.000015 +vn 0.000000 1.000000 0.000000 +vn 0.000000 1.000000 -0.000001 +vn 0.000000 1.000000 -0.000029 +vn 0.000000 1.000000 -0.000004 +vn 0.000000 1.000000 -0.000016 +vn -0.867092 0.345188 -0.359161 +vn 0.000000 1.000000 0.000002 +vn 0.867092 0.345187 0.359162 +vn 0.000001 0.345187 0.938534 +vn -0.867093 0.345188 0.359159 +vn 0.867091 0.345187 -0.359165 +vn -0.663643 0.345187 -0.663644 +vn 0.663643 0.345187 0.663644 +vn -0.359161 0.345188 0.867092 +vn 0.359162 0.345187 -0.867092 +vn -0.938534 0.345188 0.000000 +vn 0.938534 0.345188 0.000000 +vn -0.359162 0.345188 -0.867092 +vn 0.359161 0.345188 0.867092 +vn -0.663644 0.345188 0.663644 +vn -0.371674 0.238142 -0.897300 +vn 0.686764 0.238142 -0.686764 +vn 0.686764 0.238142 0.686763 +vn -0.371673 0.238142 0.897300 +vn 0.000000 -1.000000 0.000005 +vn 0.000000 -1.000000 -0.000010 +s off +f 2/1/1 4/2/1 3/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 10/13/5 12/14/5 11/15/5 +f 12/16/6 14/17/6 13/18/6 +f 14/19/7 16/20/7 15/21/7 +f 16/22/8 18/23/8 17/24/8 +f 18/25/9 20/26/9 19/27/9 +f 20/28/10 22/29/10 21/30/10 +f 22/31/11 24/32/11 23/33/11 +f 24/34/12 26/35/12 25/36/12 +f 26/37/13 28/38/13 27/39/13 +f 28/40/14 30/41/14 29/42/14 +f 6/43/15 67/44/15 68/45/15 +f 32/46/16 2/47/16 1/48/16 +f 30/49/17 32/50/17 31/51/17 +f 5/52/18 38/53/18 36/54/18 +f 34/55/1 36/56/1 35/57/1 +f 36/58/19 38/59/19 37/60/19 +f 38/61/3 40/62/3 39/63/3 +f 40/64/20 42/65/20 41/66/20 +f 42/67/5 44/68/5 43/69/5 +f 44/70/21 46/71/21 45/72/21 +f 46/73/7 48/74/7 47/75/7 +f 48/76/8 50/77/8 49/78/8 +f 50/79/9 52/80/9 51/81/9 +f 52/82/10 54/83/10 53/84/10 +f 54/85/11 56/86/11 55/87/11 +f 56/88/22 58/89/22 57/90/22 +f 58/91/13 60/92/13 59/93/13 +f 60/94/23 62/95/23 61/96/23 +f 63/97/16 64/98/16 34/99/16 +f 62/100/24 64/101/24 63/102/24 +f 35/103/25 37/104/25 83/105/25 +f 68/106/26 67/107/26 73/108/26 +f 28/109/27 78/110/27 79/111/27 +f 12/112/28 70/113/28 71/114/28 +f 20/115/29 18/116/29 73/117/29 +f 26/118/30 24/119/30 76/120/30 +f 10/121/31 8/122/31 68/123/31 +f 32/124/32 30/125/32 79/126/32 +f 16/127/33 14/128/33 71/129/33 +f 20/130/34 74/131/34 75/132/34 +f 6/133/35 4/134/35 66/135/35 +f 26/136/36 77/137/36 78/138/36 +f 10/139/37 69/140/37 70/141/37 +f 32/142/38 80/143/38 65/144/38 +f 2/145/39 65/146/39 66/147/39 +f 16/148/40 72/149/40 73/150/40 +f 22/151/41 75/152/41 76/153/41 +f 96/154/18 81/155/18 92/156/18 +f 59/157/42 94/158/42 93/159/42 +f 43/160/43 86/161/43 85/162/43 +f 33/163/44 81/164/44 96/165/44 +f 35/166/45 82/167/45 81/168/45 +f 49/169/46 89/170/46 88/171/46 +f 55/172/47 92/173/47 91/174/47 +f 39/175/48 84/176/48 83/177/48 +f 59/178/49 61/179/49 95/180/49 +f 45/181/50 87/182/50 86/183/50 +f 51/184/51 90/185/51 89/186/51 +f 57/187/52 93/188/52 92/189/52 +f 39/190/53 41/191/53 85/192/53 +f 63/193/54 96/194/54 95/195/54 +f 45/196/55 47/197/55 88/198/55 +f 51/199/56 53/200/56 91/201/56 +f 1/202/57 3/203/57 36/54/57 +f 64/204/18 31/205/18 1/202/18 +f 62/206/18 29/207/18 31/205/18 +f 27/208/18 29/207/18 62/206/18 +f 25/209/18 27/208/18 60/210/18 +f 23/211/58 25/209/58 58/212/58 +f 21/213/18 23/211/18 56/214/18 +f 52/215/59 19/216/59 21/213/59 +f 17/217/60 19/216/60 52/215/60 +f 48/218/18 15/219/18 17/217/18 +f 46/220/18 13/221/18 15/219/18 +f 44/222/18 11/223/18 13/221/18 +f 9/224/18 11/223/18 44/222/18 +f 40/225/18 7/226/18 9/224/18 +f 38/53/18 5/52/18 7/226/18 +f 1/227/1 2/1/1 3/3/1 +f 3/228/19 4/4/19 5/6/19 +f 5/229/3 6/7/3 7/9/3 +f 7/230/4 8/10/4 9/12/4 +f 9/231/5 10/13/5 11/15/5 +f 11/232/61 12/16/61 13/18/61 +f 13/233/62 14/19/62 15/21/62 +f 15/234/8 16/22/8 17/24/8 +f 17/235/63 18/25/63 19/27/63 +f 19/236/64 20/28/64 21/30/64 +f 21/237/11 22/31/11 23/33/11 +f 23/238/65 24/34/65 25/36/65 +f 25/239/13 26/37/13 27/39/13 +f 27/240/14 28/40/14 29/42/14 +f 8/241/15 6/43/15 68/45/15 +f 31/242/16 32/46/16 1/48/16 +f 29/243/66 30/49/66 31/51/66 +f 3/203/67 5/52/67 36/54/67 +f 33/244/1 34/55/1 35/57/1 +f 35/245/19 36/58/19 37/60/19 +f 37/246/3 38/61/3 39/63/3 +f 39/247/20 40/64/20 41/66/20 +f 41/248/5 42/67/5 43/69/5 +f 43/249/21 44/70/21 45/72/21 +f 45/250/7 46/73/7 47/75/7 +f 47/251/68 48/76/68 49/78/68 +f 49/252/9 50/79/9 51/81/9 +f 51/253/10 52/82/10 53/84/10 +f 53/254/11 54/85/11 55/87/11 +f 55/255/65 56/88/65 57/90/65 +f 57/256/13 58/91/13 59/93/13 +f 59/257/23 60/94/23 61/96/23 +f 33/258/16 63/97/16 34/99/16 +f 61/259/24 62/100/24 63/102/24 +f 82/260/25 35/103/25 83/105/25 +f 67/107/69 66/261/69 65/262/69 +f 65/262/70 80/263/70 79/264/70 +f 77/265/71 76/266/71 78/267/71 +f 75/268/72 79/264/72 76/266/72 +f 75/268/73 74/269/73 73/108/73 +f 73/108/71 72/270/71 71/271/71 +f 71/271/74 70/272/74 69/273/74 +f 76/266/71 79/264/71 78/267/71 +f 67/107/75 65/262/75 79/264/75 +f 71/271/71 69/273/71 68/106/71 +f 71/271/71 68/106/71 73/108/71 +f 30/274/76 28/109/76 79/111/76 +f 67/107/77 79/264/77 75/268/77 +f 14/275/78 12/112/78 71/114/78 +f 67/107/71 75/268/71 73/108/71 +f 74/276/79 20/115/79 73/117/79 +f 77/277/80 26/118/80 76/120/80 +f 69/278/81 10/121/81 68/123/81 +f 80/279/82 32/124/82 79/126/82 +f 72/280/83 16/127/83 71/129/83 +f 22/281/84 20/130/84 75/132/84 +f 67/282/85 6/133/85 66/135/85 +f 28/283/86 26/136/86 78/138/86 +f 12/284/87 10/139/87 70/141/87 +f 2/285/88 32/142/88 65/144/88 +f 4/286/39 2/145/39 66/147/39 +f 18/287/89 16/148/89 73/150/89 +f 24/288/90 22/151/90 76/153/90 +f 92/156/18 81/155/18 83/289/18 +f 83/289/18 84/290/18 85/291/18 +f 86/292/18 87/293/18 85/291/18 +f 88/294/18 89/295/18 87/293/18 +f 81/155/18 82/296/18 83/289/18 +f 92/156/18 89/295/18 91/297/18 +f 92/156/18 93/298/18 94/299/18 +f 94/299/18 95/300/18 96/154/18 +f 85/291/18 89/295/18 92/156/18 +f 87/293/18 89/295/18 85/291/18 +f 85/291/18 92/156/18 83/289/18 +f 92/156/18 94/299/18 96/154/18 +f 89/295/18 90/301/18 91/297/18 +f 57/302/42 59/157/42 93/159/42 +f 41/303/43 43/160/43 85/162/43 +f 63/304/91 33/163/91 96/165/91 +f 33/305/45 35/166/45 81/168/45 +f 47/306/46 49/169/46 88/171/46 +f 53/307/47 55/172/47 91/174/47 +f 37/308/92 39/175/92 83/177/92 +f 94/309/49 59/178/49 95/180/49 +f 43/310/50 45/181/50 86/183/50 +f 49/311/51 51/184/51 89/186/51 +f 55/312/52 57/187/52 92/189/52 +f 84/313/53 39/190/53 85/192/53 +f 61/314/54 63/193/54 95/195/54 +f 87/315/93 45/196/93 88/198/93 +f 90/316/94 51/199/94 91/201/94 +f 34/317/18 1/202/18 36/54/18 +f 34/317/18 64/204/18 1/202/18 +f 64/204/18 62/206/18 31/205/18 +f 60/210/18 27/208/18 62/206/18 +f 58/212/18 25/209/18 60/210/18 +f 56/214/60 23/211/60 58/212/60 +f 54/318/95 21/213/95 56/214/95 +f 54/318/18 52/215/18 21/213/18 +f 50/319/18 17/217/18 52/215/18 +f 50/319/96 48/218/96 17/217/96 +f 48/218/18 46/220/18 15/219/18 +f 46/220/18 44/222/18 13/221/18 +f 42/320/18 9/224/18 44/222/18 +f 42/320/18 40/225/18 9/224/18 +f 40/225/18 38/53/18 7/226/18 diff --git a/assets/hbm/models/MissileGeneric.obj b/assets/hbm/models/MissileGeneric.obj new file mode 100644 index 000000000..6cc5266c8 --- /dev/null +++ b/assets/hbm/models/MissileGeneric.obj @@ -0,0 +1,944 @@ +# Blender v2.70 (sub 0) OBJ File: 'MissileGeneric.blend' +# www.blender.org +o Cylinder +v -0.097545 0.500000 -0.490393 +v -0.097545 2.500000 -0.490393 +v 0.097545 0.500000 -0.490393 +v 0.097545 2.500000 -0.490393 +v 0.277785 0.500000 -0.415735 +v 0.277785 2.500000 -0.415735 +v 0.415735 0.500000 -0.277785 +v 0.415735 2.500000 -0.277785 +v 0.490393 0.500000 -0.097545 +v 0.490393 2.500000 -0.097545 +v 0.490393 0.500000 0.097545 +v 0.490393 2.500000 0.097545 +v 0.415735 0.500000 0.277785 +v 0.415735 2.500000 0.277785 +v 0.277785 0.500000 0.415735 +v 0.277785 2.500000 0.415735 +v 0.097545 0.500000 0.490393 +v 0.097545 2.500000 0.490393 +v -0.097545 0.500000 0.490393 +v -0.097545 2.500000 0.490393 +v -0.277785 0.500000 0.415735 +v -0.277785 2.500000 0.415735 +v -0.415735 0.500000 0.277785 +v -0.415735 2.500000 0.277785 +v -0.490393 0.500000 0.097545 +v -0.490393 2.500000 0.097545 +v -0.490393 0.500000 -0.097545 +v -0.490393 2.500000 -0.097545 +v -0.415735 0.500000 -0.277785 +v -0.415735 2.500000 -0.277785 +v -0.277785 0.500000 -0.415735 +v -0.277785 2.500000 -0.415735 +v -0.082913 0.000000 -0.416834 +v 0.082913 0.000000 -0.416834 +v 0.236117 0.000000 -0.353375 +v 0.353375 0.000000 -0.236117 +v 0.416834 0.000000 -0.082913 +v 0.416834 0.000000 0.082913 +v 0.353375 0.000000 0.236117 +v 0.236117 0.000000 0.353375 +v 0.082913 0.000000 0.416834 +v -0.082913 0.000000 0.416834 +v -0.236117 0.000000 0.353375 +v -0.353375 0.000000 0.236117 +v -0.416834 0.000000 0.082913 +v -0.416834 0.000000 -0.082913 +v -0.353375 0.000000 -0.236117 +v -0.236117 0.000000 -0.353375 +v -0.073159 3.500000 -0.367794 +v 0.073159 3.500000 -0.367794 +v 0.208339 3.500000 -0.311801 +v 0.311801 3.500000 -0.208339 +v 0.367794 3.500000 -0.073159 +v 0.367794 3.500000 0.073159 +v 0.311801 3.500000 0.208339 +v 0.208339 3.500000 0.311801 +v 0.073159 3.500000 0.367794 +v -0.073159 3.500000 0.367795 +v -0.208339 3.500000 0.311801 +v -0.311801 3.500000 0.208339 +v -0.367795 3.500000 0.073159 +v -0.367795 3.500000 -0.073159 +v -0.311801 3.500000 -0.208339 +v -0.208339 3.500000 -0.311801 +v -0.073159 4.500000 -0.367794 +v 0.073159 4.500000 -0.367794 +v 0.208338 4.500000 -0.311801 +v 0.311801 4.500000 -0.208339 +v 0.367794 4.500000 -0.073159 +v 0.367794 4.500000 0.073159 +v 0.311801 4.500000 0.208339 +v 0.208339 4.500000 0.311801 +v 0.073159 4.500000 0.367794 +v -0.073159 4.500000 0.367795 +v -0.208339 4.500000 0.311801 +v -0.311801 4.500000 0.208339 +v -0.367795 4.500000 0.073159 +v -0.367795 4.500000 -0.073159 +v -0.311801 4.500000 -0.208339 +v -0.208339 4.500000 -0.311801 +v -0.000000 5.500000 -0.000000 +v -0.097545 0.500000 -0.990393 +v 0.097545 0.500000 -0.990393 +v 0.990393 0.500000 -0.097545 +v 0.990393 0.500000 0.097545 +v 0.097545 0.500000 0.990393 +v -0.097545 0.500000 0.990393 +v -0.990393 0.500000 0.097545 +v -0.990393 0.500000 -0.097545 +v -0.073159 4.250000 -0.367794 +v -0.073159 4.250000 0.367795 +v 0.367794 4.250000 0.073159 +v 0.073159 4.250000 -0.367794 +v -0.367795 4.250000 0.073159 +v 0.073159 4.250000 0.367794 +v 0.367794 4.250000 -0.073159 +v -0.367795 4.250000 -0.073159 +v 0.073159 3.750000 -0.367794 +v -0.367795 3.750000 0.073159 +v 0.073159 3.750000 0.367794 +v 0.367794 3.750000 -0.073159 +v -0.367795 3.750000 -0.073159 +v -0.073159 3.750000 -0.367794 +v -0.073159 3.750000 0.367795 +v 0.367794 3.750000 0.073159 +v 0.073159 3.750000 -0.717794 +v -0.073159 3.750000 -0.717794 +v -0.073159 4.000000 -0.717794 +v 0.073158 4.000000 -0.717794 +v -0.717795 3.750000 -0.073159 +v -0.717795 3.750000 0.073159 +v -0.717795 4.000000 0.073159 +v -0.717795 4.000000 -0.073159 +v -0.073159 3.750000 0.717795 +v 0.073159 3.750000 0.717794 +v 0.073159 4.000000 0.717794 +v -0.073159 4.000000 0.717795 +v 0.717794 3.750000 0.073159 +v 0.717794 3.750000 -0.073159 +v 0.717794 4.000000 -0.073159 +v 0.717794 4.000000 0.073159 +vt 0.737483 0.600726 +vt 0.709845 0.600726 +vt 0.709845 0.317468 +vt 0.049582 0.317468 +vt 0.077221 0.317468 +vt 0.077221 0.600726 +vt 0.665206 0.008498 +vt 0.692844 0.008498 +vt 0.692844 0.291755 +vt 0.212328 0.735793 +vt 0.184690 0.735793 +vt 0.184690 0.452535 +vt 0.094222 0.452535 +vt 0.121860 0.452535 +vt 0.121860 0.735793 +vt 0.737484 0.291755 +vt 0.709845 0.291755 +vt 0.709845 0.008498 +vt 0.166499 0.735793 +vt 0.138861 0.735793 +vt 0.138861 0.452535 +vt 0.620566 0.008498 +vt 0.648205 0.008498 +vt 0.648205 0.291755 +vt 0.665205 0.317468 +vt 0.692844 0.317468 +vt 0.692844 0.600726 +vt 0.620566 0.317468 +vt 0.648205 0.317468 +vt 0.648205 0.600726 +vt 0.355615 0.760411 +vt 0.359070 0.617721 +vt 0.379799 0.617721 +vt 0.782123 0.317468 +vt 0.782123 0.600726 +vt 0.754484 0.600726 +vt 0.558926 0.600726 +vt 0.531288 0.600726 +vt 0.531288 0.317468 +vt 0.959933 0.477153 +vt 0.957860 0.548730 +vt 0.934367 0.548730 +vt 0.103212 0.343063 +vt 0.119824 0.326456 +vt 0.094222 0.364761 +vt 0.910348 0.945770 +vt 0.912421 0.874193 +vt 0.935914 0.874193 +vt 0.954987 0.123856 +vt 0.957060 0.052279 +vt 0.980553 0.052279 +vt 0.937987 0.123856 +vt 0.910348 0.123856 +vt 0.912421 0.052279 +vt 0.963861 0.680053 +vt 0.965934 0.608477 +vt 0.989427 0.608477 +vt 0.982626 0.874193 +vt 0.980553 0.945770 +vt 0.957060 0.945770 +vt 0.946860 0.140851 +vt 0.944788 0.212428 +vt 0.921295 0.212428 +vt 0.910348 0.857198 +vt 0.912421 0.785621 +vt 0.935914 0.785621 +vt 0.919222 0.680053 +vt 0.921295 0.608477 +vt 0.944787 0.608477 +vt 0.991500 0.697049 +vt 0.989427 0.768626 +vt 0.965934 0.768626 +vt 0.946860 0.309253 +vt 0.944788 0.380830 +vt 0.921295 0.380830 +vt 0.982626 0.785621 +vt 0.980553 0.857198 +vt 0.957060 0.857198 +vt 0.400255 0.884382 +vt 0.402327 0.812805 +vt 0.425820 0.812805 +vt 0.222419 0.982989 +vt 0.224492 0.911412 +vt 0.247985 0.911412 +vt 0.946860 0.768626 +vt 0.919222 0.768626 +vt 0.921295 0.697049 +vt 0.400255 0.972954 +vt 0.402328 0.901378 +vt 0.425820 0.901378 +vt 0.819852 0.564963 +vt 0.819852 0.600370 +vt 0.799123 0.600370 +vt 0.799123 0.291755 +vt 0.802578 0.149066 +vt 0.823307 0.149066 +vt 0.665205 0.760410 +vt 0.668660 0.617721 +vt 0.689389 0.617721 +vt 0.077221 0.760411 +vt 0.049582 0.760411 +vt 0.053037 0.617721 +vt 0.531288 0.760411 +vt 0.534742 0.617721 +vt 0.555471 0.617721 +vt 0.442009 0.751693 +vt 0.445464 0.609004 +vt 0.466193 0.609004 +vt 0.266337 0.751693 +vt 0.269792 0.609004 +vt 0.290521 0.609004 +vt 0.782123 0.760410 +vt 0.754484 0.760410 +vt 0.757939 0.617721 +vt 0.754484 0.291755 +vt 0.757939 0.149066 +vt 0.778668 0.149066 +vt 0.514287 0.751693 +vt 0.486648 0.751693 +vt 0.490103 0.609004 +vt 0.737483 0.760410 +vt 0.709845 0.760410 +vt 0.713300 0.617721 +vt 0.620566 0.760410 +vt 0.624021 0.617721 +vt 0.644750 0.617721 +vt 0.799123 0.460157 +vt 0.802578 0.317468 +vt 0.823307 0.317468 +vt 0.799123 0.760410 +vt 0.802578 0.617721 +vt 0.823307 0.617721 +vt 0.603566 0.769128 +vt 0.575927 0.769128 +vt 0.579382 0.626439 +vt 0.338615 0.751693 +vt 0.310976 0.751693 +vt 0.314431 0.609004 +vt 0.400255 0.310170 +vt 0.420935 0.308751 +vt 0.420935 0.460010 +vt 0.812943 0.008498 +vt 0.812943 0.043905 +vt 0.792214 0.043905 +vt 0.874582 0.600370 +vt 0.874582 0.564963 +vt 0.895311 0.564963 +vt 0.331705 0.927313 +vt 0.331705 0.962720 +vt 0.310976 0.962720 +vt 0.008500 0.804528 +vt 0.018865 0.653623 +vt 0.029229 0.804528 +vt 0.400255 0.627910 +vt 0.410619 0.477006 +vt 0.420984 0.627910 +vt 0.400255 0.795810 +vt 0.410619 0.644906 +vt 0.420984 0.795810 +vt 0.881492 0.460158 +vt 0.891857 0.309253 +vt 0.902221 0.460157 +vt 0.008500 0.636628 +vt 0.018865 0.485723 +vt 0.029229 0.636628 +vt 0.184690 0.903692 +vt 0.195054 0.752788 +vt 0.205419 0.903692 +vt 0.094222 0.903692 +vt 0.104586 0.752788 +vt 0.114951 0.903692 +vt 0.881492 0.291755 +vt 0.891857 0.140851 +vt 0.902221 0.291755 +vt 0.008500 0.467308 +vt 0.029181 0.317468 +vt 0.029181 0.468728 +vt 0.843762 0.768626 +vt 0.854127 0.617721 +vt 0.864491 0.768626 +vt 0.843763 0.291755 +vt 0.854127 0.140851 +vt 0.864492 0.291755 +vt 0.881492 0.768626 +vt 0.891857 0.617721 +vt 0.902221 0.768626 +vt 0.145770 0.903692 +vt 0.156135 0.752788 +vt 0.166499 0.903692 +vt 0.843762 0.460158 +vt 0.854127 0.309253 +vt 0.864492 0.460158 +vt 0.250778 0.308751 +vt 0.250778 0.460010 +vt 0.230098 0.310170 +vt 0.991500 0.380068 +vt 0.963861 0.380068 +vt 0.963861 0.309253 +vt 0.128770 0.991502 +vt 0.101131 0.991502 +vt 0.101131 0.920688 +vt 0.177780 0.920688 +vt 0.205419 0.920688 +vt 0.205419 0.991502 +vt 0.426451 0.291755 +vt 0.355615 0.291755 +vt 0.426451 0.008498 +vt 0.267779 0.291755 +vt 0.267779 0.008498 +vt 0.338615 0.291755 +vt 0.338615 0.308751 +vt 0.338615 0.592008 +vt 0.267779 0.308751 +vt 0.963861 0.140851 +vt 0.991500 0.140851 +vt 0.991500 0.211665 +vt 0.514287 0.008498 +vt 0.514287 0.291755 +vt 0.443452 0.008498 +vt 0.514287 0.592008 +vt 0.443452 0.592008 +vt 0.514287 0.308751 +vt 0.179943 0.291755 +vt 0.179943 0.008498 +vt 0.250778 0.291755 +vt 0.094222 0.025673 +vt 0.162942 0.008498 +vt 0.162942 0.300473 +vt 0.355615 0.308751 +vt 0.383254 0.308751 +vt 0.383254 0.600726 +vt 0.008500 0.025673 +vt 0.077221 0.008498 +vt 0.077221 0.300473 +vt 0.575927 0.317468 +vt 0.603566 0.317468 +vt 0.603566 0.609443 +vt 0.575927 0.008498 +vt 0.603566 0.008498 +vt 0.603566 0.300473 +vt 0.531288 0.300473 +vt 0.531288 0.008498 +vt 0.558926 0.008498 +vt 0.070311 0.777406 +vt 0.070311 0.919035 +vt 0.049582 0.919035 +vt 0.648205 0.883628 +vt 0.648205 0.919035 +vt 0.627476 0.919035 +vt 0.448919 0.768688 +vt 0.469648 0.768688 +vt 0.448919 0.804096 +vt 0.486648 0.768688 +vt 0.507378 0.768688 +vt 0.507377 0.910317 +vt 0.782123 0.883628 +vt 0.782123 0.919035 +vt 0.761394 0.919035 +vt 0.222419 0.752788 +vt 0.243148 0.752788 +vt 0.243148 0.788195 +vt 0.857582 0.564963 +vt 0.857582 0.600370 +vt 0.836853 0.600370 +vt 0.672115 0.777406 +vt 0.692844 0.777406 +vt 0.672115 0.812813 +vt 0.737483 0.777406 +vt 0.737483 0.919035 +vt 0.716754 0.919035 +vt 0.775213 0.008498 +vt 0.775213 0.043905 +vt 0.754484 0.043905 +vt 0.230049 0.590325 +vt 0.230049 0.554918 +vt 0.250778 0.554918 +vt 0.655115 0.936030 +vt 0.655115 0.971437 +vt 0.634386 0.971437 +vt 0.362525 0.883628 +vt 0.362525 0.812813 +vt 0.362525 0.777406 +vt 0.806033 0.777406 +vt 0.826762 0.777406 +vt 0.806033 0.812813 +vt 0.273246 0.768688 +vt 0.293975 0.768688 +vt 0.273246 0.804095 +vt 0.310976 0.910317 +vt 0.310976 0.768688 +vt 0.331705 0.768688 +vt 0.782123 0.936030 +vt 0.782123 0.971437 +vt 0.761394 0.971437 +vt 0.273246 0.927312 +vt 0.293975 0.927312 +vt 0.293975 0.976883 +vt 0.553981 0.944748 +vt 0.553981 0.873933 +vt 0.603566 0.873933 +vt 0.919222 0.458742 +vt 0.919222 0.397825 +vt 0.939951 0.397825 +vt 0.603566 0.856938 +vt 0.553981 0.821531 +vt 0.553981 0.786124 +vt 0.737483 0.936030 +vt 0.737483 0.971437 +vt 0.716754 0.971437 +vt 0.008500 0.899435 +vt 0.029229 0.899435 +vt 0.029229 0.949005 +vt 0.915294 0.477153 +vt 0.915294 0.547967 +vt 0.865709 0.547967 +vt 0.008500 0.882440 +vt 0.008500 0.821523 +vt 0.029229 0.821523 +vt 0.843762 0.785621 +vt 0.893347 0.821028 +vt 0.893347 0.856435 +vt 0.049582 0.971437 +vt 0.049582 0.936030 +vt 0.070311 0.936030 +vt 0.486648 0.976883 +vt 0.486648 0.927313 +vt 0.507378 0.927313 +vt 0.893348 0.053041 +vt 0.893348 0.123856 +vt 0.843763 0.123856 +vt 0.250778 0.537923 +vt 0.230049 0.537923 +vt 0.230049 0.477006 +vt 0.843762 0.873431 +vt 0.893347 0.873431 +vt 0.893347 0.944245 +vt 0.672115 0.971437 +vt 0.672115 0.936030 +vt 0.692844 0.936030 +vt 0.448919 0.927312 +vt 0.469648 0.927312 +vt 0.469648 0.976883 +vt 0.804069 0.061256 +vt 0.804069 0.132071 +vt 0.754484 0.132071 +vt 0.919222 0.230838 +vt 0.939951 0.230838 +vt 0.939951 0.291755 +vt 0.848708 0.547967 +vt 0.799123 0.547967 +vt 0.799123 0.477153 +vt 0.737483 0.317468 +vt 0.049582 0.600726 +vt 0.665206 0.291755 +vt 0.212328 0.452535 +vt 0.094222 0.735793 +vt 0.737484 0.008498 +vt 0.166499 0.452535 +vt 0.620566 0.291755 +vt 0.665205 0.600726 +vt 0.620566 0.600726 +vt 0.383254 0.760411 +vt 0.754484 0.317468 +vt 0.558926 0.317468 +vt 0.932294 0.477153 +vt 0.982626 0.123856 +vt 0.186726 0.326456 +vt 0.203338 0.343063 +vt 0.165021 0.317468 +vt 0.141528 0.317468 +vt 0.203338 0.409945 +vt 0.212328 0.388247 +vt 0.186726 0.426552 +vt 0.165021 0.435540 +vt 0.141529 0.435540 +vt 0.119824 0.426552 +vt 0.103212 0.409945 +vt 0.094222 0.388247 +vt 0.937987 0.945770 +vt 0.212328 0.364761 +vt 0.935914 0.052279 +vt 0.991500 0.680053 +vt 0.954987 0.874193 +vt 0.919222 0.140851 +vt 0.937987 0.857198 +vt 0.946860 0.680053 +vt 0.963861 0.697049 +vt 0.919222 0.309253 +vt 0.954987 0.785621 +vt 0.427893 0.884382 +vt 0.250058 0.982989 +vt 0.944787 0.697049 +vt 0.427893 0.972954 +vt 0.799123 0.564963 +vt 0.826762 0.291755 +vt 0.692844 0.760410 +vt 0.073766 0.617721 +vt 0.558926 0.760411 +vt 0.469648 0.751693 +vt 0.293975 0.751693 +vt 0.778668 0.617721 +vt 0.782123 0.291755 +vt 0.510832 0.609004 +vt 0.734029 0.617721 +vt 0.648205 0.760410 +vt 0.826762 0.460157 +vt 0.826762 0.760411 +vt 0.600111 0.626439 +vt 0.335160 0.609004 +vt 0.792214 0.008498 +vt 0.895311 0.600370 +vt 0.310976 0.927313 +vt 0.991500 0.309253 +vt 0.128770 0.920688 +vt 0.177780 0.991502 +vt 0.963861 0.211665 +vt 0.355615 0.600726 +vt 0.575927 0.609443 +vt 0.575927 0.300473 +vt 0.558926 0.300473 +vt 0.049582 0.777406 +vt 0.648205 0.777406 +vt 0.627476 0.777406 +vt 0.648205 0.812813 +vt 0.469648 0.910317 +vt 0.448919 0.874910 +vt 0.448919 0.910317 +vt 0.486648 0.910317 +vt 0.836853 0.564963 +vt 0.761394 0.777406 +vt 0.782123 0.812813 +vt 0.243148 0.859010 +vt 0.222419 0.894417 +vt 0.782123 0.777406 +vt 0.672115 0.919035 +vt 0.672115 0.883627 +vt 0.692844 0.919035 +vt 0.243148 0.894417 +vt 0.716754 0.777406 +vt 0.754484 0.008498 +vt 0.250778 0.590325 +vt 0.634386 0.936030 +vt 0.383254 0.919035 +vt 0.383254 0.777406 +vt 0.362525 0.919035 +vt 0.806033 0.919035 +vt 0.806033 0.883627 +vt 0.826762 0.919035 +vt 0.293975 0.910317 +vt 0.273246 0.874910 +vt 0.273246 0.910317 +vt 0.331705 0.910317 +vt 0.761394 0.936030 +vt 0.273246 0.976883 +vt 0.603566 0.909341 +vt 0.939951 0.458742 +vt 0.603566 0.786124 +vt 0.716754 0.936030 +vt 0.008500 0.949005 +vt 0.865709 0.512560 +vt 0.029229 0.882440 +vt 0.843762 0.856435 +vt 0.070311 0.971437 +vt 0.507378 0.976883 +vt 0.843763 0.088448 +vt 0.250778 0.477006 +vt 0.843762 0.908838 +vt 0.692844 0.971437 +vt 0.448919 0.976883 +vt 0.754484 0.096664 +vt 0.919222 0.291755 +vt 0.848708 0.512560 +vn 0.382683 0.000000 -0.923880 +vn 0.707107 0.000000 -0.707107 +vn 0.923880 0.000000 -0.382684 +vn 0.923880 0.000000 0.382683 +vn 0.707107 0.000000 0.707107 +vn 0.382684 0.000000 0.923879 +vn -0.382683 0.000000 0.923880 +vn -0.707106 0.000000 0.707107 +vn -0.923879 0.000000 0.382684 +vn -0.923879 0.000000 -0.382684 +vn 0.992568 0.121687 0.000000 +vn -0.382683 0.000000 -0.923880 +vn -0.707107 0.000000 -0.707107 +vn 0.000001 -0.145551 0.989351 +vn 0.000000 -1.000000 0.000000 +vn -0.914041 -0.145551 0.378608 +vn 0.914041 -0.145551 -0.378608 +vn -0.699576 -0.145551 -0.699577 +vn 0.699577 -0.145551 0.699576 +vn -0.378607 -0.145551 0.914041 +vn 0.378608 -0.145551 -0.914041 +vn -0.989351 -0.145551 0.000000 +vn 0.989351 -0.145551 -0.000000 +vn -0.378608 -0.145551 -0.914041 +vn -0.000000 -0.145551 -0.989351 +vn 0.378608 -0.145551 0.914041 +vn -0.699576 -0.145551 0.699577 +vn 0.699576 -0.145551 -0.699577 +vn -0.914041 -0.145551 -0.378608 +vn 0.914041 -0.145551 0.378608 +vn 0.000000 -0.000000 -1.000000 +vn -0.379839 0.121687 -0.917014 +vn 0.000000 0.121687 -0.992568 +vn 0.379839 0.121687 0.917014 +vn -0.701852 0.121687 0.701852 +vn 0.701852 0.121687 -0.701852 +vn -0.917014 0.121687 -0.379839 +vn 0.917014 0.121687 0.379839 +vn 0.000000 0.121687 0.992568 +vn -0.917014 0.121687 0.379840 +vn 0.917014 0.121687 -0.379840 +vn -0.701852 0.121687 -0.701852 +vn 0.701852 0.121687 0.701852 +vn -0.379839 0.121687 0.917014 +vn 0.379839 0.121687 -0.917014 +vn -0.992569 0.121687 0.000000 +vn -0.359161 0.345188 0.867092 +vn -1.000000 0.000000 0.000000 +vn 0.000001 -0.000000 1.000000 +vn 1.000000 -0.000000 -0.000000 +vn -0.663643 0.345188 0.663644 +vn -0.867093 0.345188 0.359159 +vn -0.938534 0.345188 0.000000 +vn -0.867093 0.345188 -0.359160 +vn -0.663642 0.345187 -0.663645 +vn -0.359161 0.345188 -0.867092 +vn 0.000001 0.345187 0.938534 +vn -0.000000 0.345187 -0.938534 +vn 0.359162 0.345188 -0.867092 +vn 0.663644 0.345187 -0.663644 +vn 0.867092 0.345187 -0.359162 +vn 0.938534 0.345187 0.000000 +vn 0.867092 0.345187 0.359162 +vn 0.663644 0.345187 0.663643 +vn 0.359162 0.345188 0.867092 +vn 0.000000 0.000000 1.000000 +vn 0.000001 0.242536 0.970143 +vn 0.970143 0.242536 0.000000 +vn -0.000001 0.242536 -0.970143 +vn -0.970142 0.242536 0.000000 +vn 0.923879 0.000000 0.382684 +vn 0.382685 0.000000 0.923879 +vn -0.000001 0.000000 -1.000000 +vn 0.000000 0.000001 -1.000000 +vn 0.382684 0.000000 -0.923879 +vn 0.923880 0.000000 -0.382683 +vn 0.000000 -1.000000 -0.000002 +vn -0.581238 0.813733 0.000000 +vn -1.000000 -0.000001 0.000000 +vn 0.000000 0.813733 -0.581239 +vn -1.000000 -0.000000 0.000001 +vn 0.581238 0.813734 0.000000 +vn 1.000000 0.000000 -0.000001 +vn 0.000000 0.813733 0.581238 +vn 0.923879 0.000000 -0.382684 +vn 0.000000 -0.145551 0.989351 +vn -0.699577 -0.145551 -0.699577 +vn 0.699577 -0.145551 0.699577 +vn -0.378608 -0.145551 0.914041 +vn 0.378609 -0.145551 0.914041 +vn 0.379840 0.121687 0.917014 +vn -0.917014 0.121687 -0.379840 +vn 0.917014 0.121687 0.379840 +vn 0.000000 0.121687 0.992569 +vn 0.917014 0.121687 -0.379839 +vn 0.379840 0.121687 -0.917014 +vn -0.992568 0.121687 0.000000 +vn 0.000001 0.242536 0.970142 +vn 0.000000 0.242536 -0.970142 +vn 0.382683 -0.000000 0.923880 +vn -0.923880 -0.000000 0.382683 +vn -0.382684 -0.000000 0.923879 +vn -0.382684 -0.000000 -0.923879 +vn -0.382682 -0.000000 -0.923880 +vn 0.000000 -1.000000 0.000002 +vn -0.000000 0.813735 -0.581236 +vn 0.581238 0.813733 0.000000 +vn 1.000000 0.000001 0.000000 +vn 0.000001 0.813734 0.581238 +s off +f 4/1/1 6/2/1 5/3/1 +f 6/4/2 8/5/2 7/6/2 +f 8/7/3 10/8/3 9/9/3 +f 12/10/4 14/11/4 13/12/4 +f 14/13/5 16/14/5 15/15/5 +f 16/16/6 18/17/6 17/18/6 +f 20/19/7 22/20/7 21/21/7 +f 22/22/8 24/23/8 23/24/8 +f 24/25/9 26/26/9 25/27/9 +f 28/28/10 30/29/10 29/30/10 +f 10/31/11 53/32/11 54/33/11 +f 31/34/12 32/35/12 2/36/12 +f 30/37/13 32/38/13 31/39/13 +f 19/40/14 42/41/14 41/42/14 +f 48/43/15 33/44/15 47/45/15 +f 25/46/16 45/47/16 44/48/16 +f 9/49/17 37/50/17 36/51/17 +f 29/52/18 31/53/18 48/54/18 +f 15/55/19 40/56/19 39/57/19 +f 21/58/20 43/59/20 42/60/20 +f 5/61/21 35/62/21 34/63/21 +f 27/64/22 46/65/22 45/66/22 +f 11/67/23 38/68/23 37/69/23 +f 1/70/24 33/71/24 48/72/24 +f 3/73/25 34/74/25 33/75/25 +f 17/76/26 41/77/26 40/78/26 +f 23/79/27 44/80/27 43/81/27 +f 7/82/28 36/83/28 35/84/28 +f 27/85/29 29/86/29 47/87/29 +f 13/88/30 39/89/30 38/90/30 +f 90/91/31 65/92/31 66/93/31 +f 32/94/32 64/95/32 49/96/32 +f 2/97/33 49/98/33 50/99/33 +f 18/100/34 16/101/34 56/102/34 +f 22/103/35 59/104/35 60/105/35 +f 6/106/36 51/107/36 52/108/36 +f 28/109/37 62/110/37 63/111/37 +f 14/112/38 12/113/38 54/114/38 +f 18/115/39 57/116/39 58/117/39 +f 26/118/40 24/119/40 60/120/40 +f 10/121/41 8/122/41 52/123/41 +f 30/124/42 63/125/42 64/126/42 +f 14/127/43 55/128/43 56/129/43 +f 20/130/44 58/131/44 59/132/44 +f 6/133/45 4/134/45 50/135/45 +f 28/136/46 26/137/46 61/138/46 +f 75/139/47 74/140/47 81/141/47 +f 94/142/48 77/143/48 78/144/48 +f 95/145/49 73/146/49 74/147/49 +f 96/148/50 69/149/50 70/150/50 +f 75/151/51 81/152/51 76/153/51 +f 76/154/52 81/155/52 77/156/52 +f 77/157/53 81/158/53 78/159/53 +f 78/160/54 81/161/54 79/162/54 +f 79/163/55 81/164/55 80/165/55 +f 80/166/56 81/167/56 65/168/56 +f 73/169/57 81/170/57 74/171/57 +f 65/172/58 81/173/58 66/174/58 +f 66/175/59 81/176/59 67/177/59 +f 67/178/60 81/179/60 68/180/60 +f 68/181/61 81/182/61 69/183/61 +f 69/184/62 81/185/62 70/186/62 +f 70/187/63 81/188/63 71/189/63 +f 71/190/64 81/191/64 72/192/64 +f 72/193/65 81/194/65 73/195/65 +f 82/196/15 83/197/15 3/198/15 +f 84/199/15 85/200/15 11/201/15 +f 86/202/15 87/203/15 19/204/15 +f 3/205/50 83/206/50 4/207/50 +f 9/208/31 10/209/31 84/210/31 +f 17/211/50 18/212/50 86/213/50 +f 88/214/15 89/215/15 27/216/15 +f 1/217/48 2/218/48 82/219/48 +f 27/220/31 89/221/31 28/222/31 +f 25/223/66 26/224/66 88/225/66 +f 19/226/48 87/227/48 20/228/48 +f 87/229/67 86/230/67 18/231/67 +f 11/232/66 85/233/66 12/234/66 +f 85/235/68 84/236/68 10/237/68 +f 83/238/69 82/239/69 2/240/69 +f 28/241/70 89/242/70 88/243/70 +f 59/244/8 75/245/8 76/246/8 +f 92/247/71 70/248/71 71/249/71 +f 57/250/72 56/251/72 100/252/72 +f 79/253/13 80/254/13 64/255/13 +f 91/256/7 74/257/7 75/258/7 +f 76/259/9 77/260/9 94/261/9 +f 49/262/73 103/263/73 98/264/73 +f 78/265/10 79/266/10 97/267/10 +f 51/268/2 67/269/2 68/270/2 +f 61/271/48 99/272/48 102/273/48 +f 57/274/49 100/275/49 104/276/49 +f 53/277/50 101/278/50 105/279/50 +f 90/280/74 103/281/74 49/282/74 +f 66/283/75 67/284/75 93/285/75 +f 53/286/76 52/287/76 101/288/76 +f 55/289/5 71/290/5 72/291/5 +f 107/292/31 108/293/31 109/294/31 +f 107/295/77 106/296/77 98/297/77 +f 93/298/50 98/299/50 106/300/50 +f 97/301/78 113/302/78 112/303/78 +f 90/304/48 108/305/48 107/306/48 +f 111/307/79 112/308/79 113/309/79 +f 111/310/15 110/311/15 102/312/15 +f 97/313/31 102/314/31 110/315/31 +f 93/316/80 109/317/80 108/318/80 +f 94/319/66 112/320/66 111/321/66 +f 115/322/49 116/323/49 117/324/49 +f 100/325/15 115/326/15 114/327/15 +f 91/328/81 104/329/81 114/330/81 +f 121/331/82 120/332/82 96/333/82 +f 115/334/83 100/335/83 95/336/83 +f 119/337/50 120/338/50 121/339/50 +f 119/340/15 118/341/15 105/342/15 +f 92/343/66 105/344/66 118/345/66 +f 117/346/84 116/347/84 95/348/84 +f 119/349/31 101/350/31 96/351/31 +f 3/352/75 4/1/75 5/3/75 +f 5/353/2 6/4/2 7/6/2 +f 7/354/85 8/7/85 9/9/85 +f 11/355/4 12/10/4 13/12/4 +f 13/356/5 14/13/5 15/15/5 +f 15/357/6 16/16/6 17/18/6 +f 19/358/7 20/19/7 21/21/7 +f 21/359/8 22/22/8 23/24/8 +f 23/360/9 24/25/9 25/27/9 +f 27/361/10 28/28/10 29/30/10 +f 12/362/11 10/31/11 54/33/11 +f 1/363/12 31/34/12 2/36/12 +f 29/364/13 30/37/13 31/39/13 +f 17/365/86 19/40/86 41/42/86 +f 7/366/17 9/49/17 36/51/17 +f 36/367/15 37/368/15 35/369/15 +f 37/368/15 47/45/15 34/370/15 +f 40/371/15 37/368/15 39/372/15 +f 40/371/15 41/373/15 42/374/15 +f 42/374/15 43/375/15 44/376/15 +f 44/376/15 45/377/15 46/378/15 +f 23/379/16 25/46/16 44/48/16 +f 37/368/15 34/370/15 35/369/15 +f 37/368/15 44/376/15 46/378/15 +f 40/371/15 42/374/15 44/376/15 +f 37/368/15 40/371/15 44/376/15 +f 47/45/15 33/44/15 34/370/15 +f 37/368/15 38/380/15 39/372/15 +f 47/45/15 37/368/15 46/378/15 +f 47/381/87 29/52/87 48/54/87 +f 13/382/88 15/55/88 39/57/88 +f 19/383/89 21/58/89 42/60/89 +f 3/384/21 5/61/21 34/63/21 +f 25/385/22 27/64/22 45/66/22 +f 9/386/23 11/67/23 37/69/23 +f 31/387/24 1/70/24 48/72/24 +f 1/388/25 3/73/25 33/75/25 +f 15/389/90 17/76/90 40/78/90 +f 21/390/27 23/79/27 43/81/27 +f 5/391/28 7/82/28 35/84/28 +f 46/392/29 27/85/29 47/87/29 +f 11/393/30 13/88/30 38/90/30 +f 93/394/73 90/91/73 66/93/73 +f 2/395/32 32/94/32 49/96/32 +f 4/396/33 2/97/33 50/99/33 +f 57/397/91 18/100/91 56/102/91 +f 24/398/35 22/103/35 60/105/35 +f 8/399/36 6/106/36 52/108/36 +f 30/400/92 28/109/92 63/111/92 +f 55/401/93 14/112/93 54/114/93 +f 20/402/94 18/115/94 58/117/94 +f 61/403/40 26/118/40 60/120/40 +f 53/404/95 10/121/95 52/123/95 +f 32/405/42 30/124/42 64/126/42 +f 16/406/43 14/127/43 56/129/43 +f 22/407/44 20/130/44 59/132/44 +f 51/408/96 6/133/96 50/135/96 +f 62/409/97 28/136/97 61/138/97 +f 97/410/48 94/142/48 78/144/48 +f 91/411/49 95/145/49 74/147/49 +f 92/412/50 96/148/50 70/150/50 +f 1/413/15 82/196/15 3/198/15 +f 9/414/15 84/199/15 11/201/15 +f 17/415/15 86/202/15 19/204/15 +f 25/416/15 88/214/15 27/216/15 +f 20/417/98 87/229/98 18/231/98 +f 12/418/68 85/235/68 10/237/68 +f 4/419/99 83/238/99 2/240/99 +f 26/420/70 28/241/70 88/243/70 +f 60/421/8 59/244/8 76/246/8 +f 54/422/4 92/247/4 55/423/4 +f 54/422/50 105/424/50 92/247/50 +f 72/425/6 95/426/6 56/251/6 +f 72/425/100 73/427/100 95/426/100 +f 92/247/71 71/249/71 55/423/71 +f 63/428/13 79/253/13 64/255/13 +f 56/251/100 95/426/100 100/252/100 +f 50/429/31 49/262/31 98/264/31 +f 91/256/7 59/430/7 104/431/7 +f 76/259/101 99/432/101 60/433/101 +f 59/430/102 58/434/102 104/431/102 +f 91/256/102 75/258/102 59/430/102 +f 62/435/10 102/436/10 63/437/10 +f 76/259/9 94/261/9 99/432/9 +f 99/432/9 61/438/9 60/433/9 +f 52/439/2 51/268/2 68/270/2 +f 62/440/48 61/271/48 102/273/48 +f 97/267/10 79/266/10 63/437/10 +f 102/436/10 97/267/10 63/437/10 +f 58/441/49 57/274/49 104/276/49 +f 54/442/50 53/277/50 105/279/50 +f 80/443/12 90/280/12 64/444/12 +f 80/443/103 65/445/103 90/280/103 +f 50/446/1 98/447/1 51/448/1 +f 68/449/76 96/450/76 52/287/76 +f 90/280/104 49/282/104 64/444/104 +f 68/449/3 69/451/3 96/450/3 +f 93/285/1 67/284/1 51/448/1 +f 98/447/1 93/285/1 51/448/1 +f 56/452/5 55/289/5 72/291/5 +f 52/287/76 96/450/76 101/288/76 +f 106/453/31 107/292/31 109/294/31 +f 103/454/105 107/295/105 98/297/105 +f 109/455/50 93/298/50 106/300/50 +f 94/456/78 97/301/78 112/303/78 +f 103/457/48 90/304/48 107/306/48 +f 110/458/48 111/307/48 113/309/48 +f 99/459/15 111/310/15 102/312/15 +f 113/460/31 97/313/31 110/315/31 +f 90/461/106 93/316/106 108/318/106 +f 99/462/66 94/319/66 111/321/66 +f 114/463/49 115/322/49 117/324/49 +f 104/464/15 100/325/15 114/327/15 +f 117/465/81 91/328/81 114/330/81 +f 92/466/107 121/331/107 96/333/107 +f 116/467/83 115/334/83 95/336/83 +f 118/468/108 119/337/108 121/339/108 +f 101/469/15 119/340/15 105/342/15 +f 121/470/66 92/343/66 118/345/66 +f 91/471/109 117/346/109 95/348/109 +f 120/472/31 119/349/31 96/351/31 diff --git a/assets/hbm/models/MissileHuge.obj b/assets/hbm/models/MissileHuge.obj new file mode 100644 index 000000000..996b0bbda --- /dev/null +++ b/assets/hbm/models/MissileHuge.obj @@ -0,0 +1,820 @@ +# Blender v2.76 (sub 0) OBJ File: 'MissileHuge.blend' +# www.blender.org +o Cylinder +v 0.081094 0.000000 -0.417192 +v -0.237657 0.500000 -0.352341 +v 0.234573 0.000000 -0.354401 +v -0.354401 0.500000 -0.234573 +v 0.352341 0.000000 -0.237657 +v -0.417192 0.500000 -0.081094 +v 0.416468 0.000000 -0.084731 +v -0.416468 0.500000 0.084731 +v 0.417192 0.000000 0.081094 +v -0.352341 0.500000 0.237657 +v 0.354401 0.000000 0.234573 +v -0.234573 0.500000 0.354402 +v 0.237657 0.000000 0.352341 +v -0.081094 0.500000 0.417192 +v 0.084731 0.000000 0.416468 +v 0.084731 0.500000 0.416468 +v -0.081094 0.000000 0.417192 +v 0.237657 0.500000 0.352341 +v -0.234573 0.000000 0.354402 +v 0.354401 0.500000 0.234573 +v -0.352341 0.000000 0.237657 +v 0.417192 0.500000 0.081094 +v -0.416468 0.000000 0.084731 +v 0.416468 0.500000 -0.084731 +v -0.417192 0.000000 -0.081094 +v 0.352341 0.500000 -0.237657 +v -0.354401 0.000000 -0.234573 +v 0.234573 0.500000 -0.354401 +v -0.237657 0.000000 -0.352341 +v -0.084731 0.500000 -0.416468 +v -0.084731 0.000000 -0.416468 +v 0.081094 0.500000 -0.417192 +v 0.095404 0.500000 -0.490814 +v -0.099684 0.500000 -0.489962 +v 0.275968 0.500000 -0.416943 +v 0.414519 0.500000 -0.279596 +v 0.489962 0.500000 -0.099684 +v 0.490814 0.500000 0.095405 +v 0.416943 0.500000 0.275968 +v 0.279597 0.500000 0.414519 +v 0.099684 0.500000 0.489962 +v -0.095404 0.500000 0.490814 +v -0.275968 0.500000 0.416943 +v -0.414519 0.500000 0.279597 +v -0.489962 0.500000 0.099684 +v -0.490814 0.500000 -0.095405 +v -0.416943 0.500000 -0.275969 +v -0.279596 0.500000 -0.414519 +v 0.095404 2.500000 -0.490814 +v -0.099684 2.500000 -0.489962 +v 0.275968 2.500000 -0.416943 +v 0.414519 2.500000 -0.279596 +v 0.489962 2.500000 -0.099684 +v 0.490814 2.500000 0.095405 +v 0.416943 2.500000 0.275968 +v 0.279596 2.500000 0.414519 +v 0.099684 2.500000 0.489962 +v -0.095404 2.500000 0.490814 +v -0.275968 2.500000 0.416943 +v -0.414519 2.500000 0.279597 +v -0.489962 2.500000 0.099684 +v -0.490814 2.500000 -0.095405 +v -0.416943 2.500000 -0.275969 +v -0.279596 2.500000 -0.414519 +v 0.071553 4.000000 -0.368110 +v -0.074763 4.000000 -0.367472 +v 0.206976 4.000000 -0.312707 +v 0.310889 4.000000 -0.209697 +v 0.367472 4.000000 -0.074763 +v 0.368110 4.000000 0.071553 +v 0.312707 4.000000 0.206976 +v 0.209697 4.000000 0.310889 +v 0.074763 4.000000 0.367472 +v -0.071553 4.000000 0.368110 +v -0.206976 4.000000 0.312707 +v -0.310889 4.000000 0.209697 +v -0.367472 4.000000 0.074763 +v -0.368110 4.000000 -0.071553 +v -0.312707 4.000000 -0.206976 +v -0.209697 4.000000 -0.310889 +v 0.053665 6.000000 -0.276083 +v -0.056073 6.000000 -0.275604 +v 0.155232 6.000000 -0.234530 +v 0.233166 6.000000 -0.157273 +v 0.275603 6.000000 -0.056072 +v 0.276082 6.000000 0.053665 +v 0.234530 6.000000 0.155232 +v 0.157273 6.000000 0.233167 +v 0.056072 6.000000 0.275604 +v -0.053665 6.000000 0.276083 +v -0.155233 6.000000 0.234530 +v -0.233167 6.000000 0.157273 +v -0.275604 6.000000 0.056072 +v -0.276083 6.000000 -0.053665 +v -0.234531 6.000000 -0.155232 +v -0.157273 6.000000 -0.233167 +v 0.000000 6.500000 0.000000 +v 0.074763 5.500000 0.367472 +v -0.071554 5.500000 0.368110 +v 0.071553 5.500000 -0.368110 +v 0.206976 5.500000 -0.312707 +v -0.206977 5.500000 0.312707 +v 0.310889 5.500000 -0.209697 +v -0.310889 5.500000 0.209697 +v 0.367471 5.500000 -0.074763 +v -0.367472 5.500000 0.074763 +v 0.368110 5.500000 0.071553 +v -0.368110 5.500000 -0.071553 +v 0.312707 5.500000 0.206976 +v -0.312707 5.500000 -0.206976 +v 0.209697 5.500000 0.310889 +v -0.209697 5.500000 -0.310889 +v -0.074763 5.500000 -0.367472 +vt 0.719995 0.878111 +vt 0.719995 0.797328 +vt 0.745800 0.797328 +vt 0.229668 0.775515 +vt 0.229668 0.694733 +vt 0.255473 0.694733 +vt 0.670962 0.878110 +vt 0.670962 0.797328 +vt 0.696768 0.797328 +vt 0.206440 0.694732 +vt 0.206440 0.775515 +vt 0.180635 0.775515 +vt 0.893357 0.615566 +vt 0.893357 0.534783 +vt 0.919162 0.534783 +vt 0.327733 0.775515 +vt 0.327733 0.694732 +vt 0.353538 0.694732 +vt 0.813507 0.877302 +vt 0.813507 0.796520 +vt 0.839312 0.796520 +vt 0.180635 0.875686 +vt 0.180635 0.794903 +vt 0.206440 0.794903 +vt 0.344431 0.794903 +vt 0.344431 0.875686 +vt 0.318626 0.875686 +vt 0.229668 0.875686 +vt 0.229668 0.794903 +vt 0.255473 0.794903 +vt 0.794833 0.796520 +vt 0.794833 0.877302 +vt 0.769028 0.877302 +vt 0.278701 0.775515 +vt 0.278701 0.694733 +vt 0.304506 0.694733 +vt 0.893357 0.715737 +vt 0.893357 0.634954 +vt 0.919162 0.634954 +vt 0.883790 0.796520 +vt 0.883790 0.877302 +vt 0.857985 0.877302 +vt 0.070470 0.009694 +vt 0.100829 0.009694 +vt 0.098552 0.021579 +vt 0.009337 0.241493 +vt 0.087105 0.187543 +vt 0.139068 0.268285 +vt 0.042422 0.156093 +vt 0.048906 0.146018 +vt 0.072747 0.156271 +vt 0.621930 0.878111 +vt 0.621930 0.797328 +vt 0.647735 0.797328 +vt 0.260027 0.009694 +vt 0.260027 0.332825 +vt 0.229668 0.332825 +vt 0.100829 0.168155 +vt 0.098552 0.156271 +vt 0.122392 0.146018 +vt 0.072747 0.021579 +vt 0.048906 0.031831 +vt 0.128877 0.156093 +vt 0.140639 0.127073 +vt 0.042422 0.021756 +vt 0.030659 0.050776 +vt 0.161961 0.104685 +vt 0.150344 0.133805 +vt 0.020955 0.044044 +vt 0.020784 0.075529 +vt 0.150515 0.102321 +vt 0.150515 0.075529 +vt 0.009337 0.104685 +vt 0.009337 0.073165 +vt 0.161961 0.073165 +vt 0.140639 0.050776 +vt 0.020955 0.133805 +vt 0.020784 0.102321 +vt 0.128877 0.021756 +vt 0.150344 0.044044 +vt 0.030659 0.127073 +vt 0.122392 0.031831 +vt 0.299952 0.794903 +vt 0.299952 0.875686 +vt 0.274147 0.875686 +vt 0.070470 0.168155 +vt 0.719995 0.252851 +vt 0.723790 0.009694 +vt 0.746559 0.009694 +vt 0.137761 0.341623 +vt 0.137761 0.664754 +vt 0.107402 0.664754 +vt 0.088729 0.341623 +vt 0.088729 0.664754 +vt 0.058370 0.664754 +vt 0.180635 0.332825 +vt 0.180635 0.009694 +vt 0.210994 0.009694 +vt 0.376766 0.332825 +vt 0.376766 0.009694 +vt 0.407125 0.009694 +vt 0.327733 0.352213 +vt 0.358092 0.352213 +vt 0.358092 0.675345 +vt 0.309060 0.352213 +vt 0.309060 0.675345 +vt 0.278701 0.675345 +vt 0.603256 0.009694 +vt 0.603256 0.332825 +vt 0.572897 0.332825 +vt 0.309060 0.009694 +vt 0.309060 0.332825 +vt 0.278701 0.332825 +vt 0.260027 0.352213 +vt 0.260027 0.675345 +vt 0.229668 0.675345 +vt 0.554223 0.009694 +vt 0.554223 0.332825 +vt 0.523864 0.332825 +vt 0.210994 0.352213 +vt 0.210994 0.675345 +vt 0.180635 0.675345 +vt 0.505191 0.009694 +vt 0.505191 0.332825 +vt 0.474832 0.332825 +vt 0.456158 0.009694 +vt 0.456158 0.332825 +vt 0.425799 0.332825 +vt 0.358092 0.009694 +vt 0.358092 0.332825 +vt 0.327734 0.332825 +vt 0.039696 0.341623 +vt 0.039696 0.664754 +vt 0.009337 0.664754 +vt 0.229668 0.977211 +vt 0.232514 0.895074 +vt 0.249591 0.895074 +vt 0.603256 0.595370 +vt 0.572897 0.595370 +vt 0.576692 0.352213 +vt 0.621930 0.777940 +vt 0.625725 0.534783 +vt 0.648494 0.534783 +vt 0.670962 0.777940 +vt 0.674757 0.534783 +vt 0.697526 0.534783 +vt 0.799387 0.252851 +vt 0.769028 0.252851 +vt 0.772822 0.009694 +vt 0.554223 0.595370 +vt 0.523864 0.595370 +vt 0.527659 0.352213 +vt 0.670962 0.515395 +vt 0.674757 0.272239 +vt 0.697527 0.272239 +vt 0.376766 0.595370 +vt 0.380561 0.352213 +vt 0.403330 0.352213 +vt 0.750354 0.534783 +vt 0.746559 0.777940 +vt 0.723790 0.777940 +vt 0.701321 0.252851 +vt 0.670962 0.252851 +vt 0.674757 0.009694 +vt 0.799387 0.515395 +vt 0.769028 0.515395 +vt 0.772823 0.272239 +vt 0.425799 0.595370 +vt 0.429594 0.352213 +vt 0.452363 0.352213 +vt 0.621930 0.272239 +vt 0.652289 0.272239 +vt 0.648494 0.515395 +vt 0.719995 0.515395 +vt 0.723790 0.272239 +vt 0.746559 0.272239 +vt 0.621930 0.252851 +vt 0.625725 0.009694 +vt 0.648494 0.009694 +vt 0.505191 0.595370 +vt 0.474832 0.595370 +vt 0.478626 0.352213 +vt 0.849179 0.898386 +vt 0.866178 0.896690 +vt 0.866178 0.989376 +vt 0.925233 0.878657 +vt 0.902464 0.878657 +vt 0.905310 0.796520 +vt 0.923716 0.193357 +vt 0.900946 0.193357 +vt 0.903793 0.111219 +vt 0.900946 0.497933 +vt 0.903792 0.415796 +vt 0.920869 0.415796 +vt 0.516275 0.958632 +vt 0.519121 0.876494 +vt 0.536198 0.876494 +vt 0.900946 0.091831 +vt 0.903793 0.009694 +vt 0.920869 0.009694 +vt 0.557718 0.876494 +vt 0.580487 0.876494 +vt 0.577641 0.958632 +vt 0.497601 0.876494 +vt 0.494755 0.958632 +vt 0.477678 0.958632 +vt 0.335323 0.977211 +vt 0.312554 0.977211 +vt 0.315400 0.895074 +vt 0.769028 0.978828 +vt 0.771874 0.896690 +vt 0.788951 0.896690 +vt 0.180635 0.977211 +vt 0.183481 0.895074 +vt 0.200558 0.895074 +vt 0.271111 0.977211 +vt 0.273957 0.895074 +vt 0.291034 0.895074 +vt 0.433389 0.958632 +vt 0.436235 0.876494 +vt 0.453312 0.876494 +vt 0.376766 0.958632 +vt 0.379613 0.876494 +vt 0.396690 0.876494 +vt 0.900946 0.294882 +vt 0.903793 0.212745 +vt 0.920869 0.212745 +vt 0.923716 0.396408 +vt 0.900946 0.396408 +vt 0.903793 0.314270 +vt 0.942389 0.213604 +vt 0.950927 0.121343 +vt 0.959466 0.213604 +vt 0.943907 0.878657 +vt 0.952446 0.786396 +vt 0.960984 0.878657 +vt 0.813507 0.987681 +vt 0.830505 0.896690 +vt 0.830505 0.989376 +vt 0.973586 0.627044 +vt 0.982125 0.534783 +vt 0.990663 0.627044 +vt 0.959466 0.325253 +vt 0.942389 0.325253 +vt 0.950928 0.232992 +vt 0.973586 0.738693 +vt 0.982124 0.646432 +vt 0.990663 0.738693 +vt 0.938215 0.990306 +vt 0.946753 0.898045 +vt 0.955292 0.990306 +vt 0.621930 0.988489 +vt 0.638928 0.897498 +vt 0.638928 0.990184 +vt 0.902464 0.990306 +vt 0.911002 0.898045 +vt 0.919541 0.990306 +vt 0.937836 0.627044 +vt 0.946374 0.534783 +vt 0.954912 0.627044 +vt 0.670962 0.989759 +vt 0.679501 0.897498 +vt 0.688039 0.989760 +vt 0.719995 0.989760 +vt 0.728534 0.897498 +vt 0.737072 0.989760 +vt 0.937836 0.738693 +vt 0.946374 0.646432 +vt 0.954912 0.738693 +vt 0.942389 0.436902 +vt 0.950929 0.344641 +vt 0.959466 0.436902 +vt 0.942389 0.101955 +vt 0.950928 0.009694 +vt 0.959466 0.101955 +vt 0.133666 0.926491 +vt 0.133666 0.684142 +vt 0.156435 0.684142 +vt 0.859503 0.252043 +vt 0.859503 0.009694 +vt 0.882273 0.009694 +vt 0.769028 0.777132 +vt 0.769028 0.534783 +vt 0.791797 0.534783 +vt 0.833240 0.534783 +vt 0.833240 0.777132 +vt 0.810471 0.777132 +vt 0.032106 0.684142 +vt 0.032106 0.926491 +vt 0.009337 0.926491 +vt 0.399535 0.614758 +vt 0.399535 0.857106 +vt 0.376766 0.857106 +vt 0.874683 0.534783 +vt 0.874683 0.777132 +vt 0.851914 0.777132 +vt 0.456158 0.614758 +vt 0.456158 0.857106 +vt 0.433389 0.857106 +vt 0.539044 0.614758 +vt 0.539044 0.857106 +vt 0.516275 0.857106 +vt 0.818060 0.252043 +vt 0.818060 0.009694 +vt 0.840830 0.009694 +vt 0.114992 0.684142 +vt 0.114992 0.926491 +vt 0.092223 0.926491 +vt 0.882273 0.271430 +vt 0.882273 0.513779 +vt 0.859503 0.513779 +vt 0.595666 0.614758 +vt 0.595666 0.857107 +vt 0.572897 0.857106 +vt 0.497601 0.614758 +vt 0.497601 0.857107 +vt 0.474832 0.857107 +vt 0.073549 0.684142 +vt 0.073549 0.926491 +vt 0.050780 0.926491 +vt 0.840830 0.513779 +vt 0.818060 0.513779 +vt 0.818060 0.271430 +vt 0.745800 0.878111 +vt 0.255473 0.775515 +vt 0.696768 0.878110 +vt 0.180635 0.694733 +vt 0.919162 0.615566 +vt 0.353538 0.775515 +vt 0.839312 0.877302 +vt 0.206440 0.875686 +vt 0.318626 0.794903 +vt 0.255473 0.875686 +vt 0.769028 0.796520 +vt 0.304506 0.775515 +vt 0.919162 0.715737 +vt 0.857985 0.796520 +vt 0.129193 0.293038 +vt 0.110946 0.311982 +vt 0.087105 0.322235 +vt 0.061300 0.322235 +vt 0.037459 0.311982 +vt 0.019212 0.293038 +vt 0.009337 0.268285 +vt 0.019212 0.216741 +vt 0.037459 0.197796 +vt 0.061300 0.187543 +vt 0.110946 0.197796 +vt 0.129193 0.216741 +vt 0.139068 0.241493 +vt 0.647735 0.878111 +vt 0.229668 0.009694 +vt 0.274147 0.794903 +vt 0.750354 0.252851 +vt 0.107402 0.341623 +vt 0.058370 0.341623 +vt 0.210994 0.332825 +vt 0.407125 0.332825 +vt 0.327733 0.675345 +vt 0.278701 0.352213 +vt 0.572897 0.009694 +vt 0.278701 0.009694 +vt 0.229668 0.352213 +vt 0.523864 0.009694 +vt 0.180635 0.352213 +vt 0.474832 0.009694 +vt 0.425799 0.009694 +vt 0.327733 0.009694 +vt 0.009337 0.341623 +vt 0.252437 0.977211 +vt 0.599461 0.352213 +vt 0.652289 0.777940 +vt 0.701321 0.777940 +vt 0.795592 0.009694 +vt 0.550428 0.352213 +vt 0.701321 0.515395 +vt 0.407125 0.595370 +vt 0.719995 0.534783 +vt 0.697526 0.009694 +vt 0.795592 0.272239 +vt 0.456158 0.595370 +vt 0.625725 0.515395 +vt 0.750354 0.515395 +vt 0.652289 0.252851 +vt 0.501396 0.352213 +vt 0.922387 0.796520 +vt 0.920869 0.111219 +vt 0.923716 0.497933 +vt 0.539044 0.958632 +vt 0.923716 0.091831 +vt 0.560564 0.958632 +vt 0.474832 0.876494 +vt 0.332477 0.895074 +vt 0.791797 0.978828 +vt 0.203404 0.977211 +vt 0.293880 0.977211 +vt 0.456158 0.958632 +vt 0.399535 0.958632 +vt 0.923716 0.294882 +vt 0.920869 0.314270 +vt 0.156435 0.926491 +vt 0.882273 0.252043 +vt 0.791797 0.777132 +vt 0.810471 0.534783 +vt 0.009337 0.684142 +vt 0.376766 0.614758 +vt 0.851914 0.534783 +vt 0.433389 0.614758 +vt 0.516275 0.614758 +vt 0.840830 0.252042 +vt 0.092223 0.684142 +vt 0.859503 0.271430 +vt 0.572897 0.614758 +vt 0.474832 0.614758 +vt 0.050780 0.684142 +vt 0.840830 0.271430 +vn 0.704000 0.000000 -0.710200 +vn -0.704000 0.000000 0.710200 +vn 0.922200 0.000000 -0.386700 +vn -0.922200 0.000000 0.386700 +vn 1.000000 0.000000 -0.004400 +vn -1.000000 0.000000 0.004400 +vn 0.925500 0.000000 0.378600 +vn -0.925500 0.000000 -0.378600 +vn 0.710200 0.000000 0.704000 +vn -0.710200 0.000000 -0.704000 +vn 0.386700 0.000000 0.922200 +vn -0.004400 0.000000 -1.000000 +vn -0.386700 0.000000 -0.922200 +vn 0.004400 0.000000 1.000000 +vn 0.000000 -1.000000 0.000000 +vn -0.378600 0.000000 0.925500 +vn 0.378600 0.000000 -0.925500 +vn 0.919100 0.081500 -0.385400 +vn 0.004300 0.180900 0.983500 +vn -0.919100 0.081500 0.385400 +vn 0.996700 0.081500 -0.004300 +vn -0.996700 0.081500 0.004300 +vn 0.922500 0.081500 0.377400 +vn -0.922500 0.081500 -0.377400 +vn 0.707800 0.081500 0.701700 +vn -0.707800 0.081500 -0.701700 +vn 0.385400 0.081500 0.919100 +vn -0.004300 0.081500 -0.996700 +vn -0.385400 0.081500 -0.919100 +vn 0.004300 0.081500 0.996700 +vn 0.377400 0.081500 -0.922500 +vn -0.377400 0.081500 0.922500 +vn 0.701700 0.081500 -0.707800 +vn -0.701700 0.081500 0.707800 +vn 0.616400 0.483100 -0.621800 +vn 0.372400 0.180900 -0.910300 +vn -0.372400 0.180900 0.910300 +vn 0.692400 0.180900 -0.698500 +vn -0.692400 0.180900 0.698500 +vn 0.907000 0.180900 -0.380300 +vn -0.907000 0.180900 0.380300 +vn 0.983500 0.180900 -0.004300 +vn -0.983500 0.180900 0.004300 +vn 0.910300 0.180900 0.372400 +vn -0.910300 0.180900 -0.372400 +vn 0.698500 0.180900 0.692400 +vn -0.698500 0.180900 -0.692400 +vn 0.380300 0.180900 0.907000 +vn -0.004300 0.180900 -0.983500 +vn -0.380300 0.180900 -0.907000 +vn 0.807500 0.483100 -0.338600 +vn 0.875600 0.483100 -0.003800 +vn 0.810400 0.483100 0.331500 +vn 0.621800 0.483100 0.616400 +vn 0.331500 0.483100 -0.810400 +vn 0.338600 0.483100 0.807500 +vn 0.003800 0.483100 0.875600 +vn -0.331500 0.483100 0.810400 +vn -0.616400 0.483100 0.621800 +vn -0.807500 0.483100 0.338600 +vn -0.875600 0.483100 0.003800 +vn -0.810400 0.483100 -0.331500 +vn -0.621800 0.483100 -0.616400 +vn -0.338600 0.483100 -0.807500 +vn -0.003800 0.483100 -0.875600 +s off +f 26/1/1 5/2/1 3/3/1 +f 10/4/2 21/5/2 19/6/2 +f 24/7/3 7/8/3 5/9/3 +f 8/10/4 23/11/4 21/12/4 +f 22/13/5 9/14/5 7/15/5 +f 6/16/6 25/17/6 23/18/6 +f 20/19/7 11/20/7 9/21/7 +f 4/22/8 27/23/8 25/24/8 +f 18/25/9 13/26/9 11/27/9 +f 2/28/10 29/29/10 27/30/10 +f 16/31/11 15/32/11 13/33/11 +f 32/34/12 1/35/12 31/36/12 +f 30/37/13 31/38/13 29/39/13 +f 14/40/14 17/41/14 15/42/14 +f 40/43/15 41/44/15 16/45/15 +f 15/46/15 23/47/15 31/48/15 +f 33/49/15 32/50/15 30/51/15 +f 12/52/16 19/53/16 17/54/16 +f 46/55/8 62/56/8 63/57/8 +f 48/58/15 2/59/15 4/60/15 +f 40/43/15 18/61/15 20/62/15 +f 47/63/15 4/60/15 6/64/15 +f 39/65/15 20/62/15 22/66/15 +f 45/67/15 46/68/15 6/64/15 +f 38/69/15 22/66/15 24/70/15 +f 45/67/15 8/71/15 10/72/15 +f 36/73/15 37/74/15 24/70/15 +f 44/75/15 10/72/15 12/76/15 +f 35/77/15 36/73/15 26/78/15 +f 42/79/15 43/80/15 12/76/15 +f 35/77/15 28/81/15 32/50/15 +f 42/79/15 14/82/15 16/45/15 +f 28/83/17 3/84/17 1/85/17 +f 34/86/15 30/51/15 2/59/15 +f 52/87/18 68/88/18 69/89/18 +f 39/90/9 55/91/9 56/92/9 +f 47/93/10 63/94/10 64/95/10 +f 40/96/11 56/97/11 57/98/11 +f 34/99/12 50/100/12 49/101/12 +f 34/102/13 48/103/13 64/104/13 +f 41/105/14 57/106/14 58/107/14 +f 33/108/17 49/109/17 51/110/17 +f 42/111/16 58/112/16 59/113/16 +f 35/114/1 51/115/1 52/116/1 +f 43/117/2 59/118/2 60/119/2 +f 36/120/3 52/121/3 53/122/3 +f 44/123/4 60/124/4 61/125/4 +f 37/126/5 53/127/5 54/128/5 +f 45/129/6 61/130/6 62/131/6 +f 38/132/7 54/133/7 55/134/7 +f 98/135/19 89/136/19 90/137/19 +f 61/138/20 60/139/20 76/140/20 +f 53/141/21 69/142/21 70/143/21 +f 61/144/22 77/145/22 78/146/22 +f 55/147/23 54/148/23 70/149/23 +f 63/150/24 62/151/24 78/152/24 +f 55/153/25 71/154/25 72/155/25 +f 63/156/26 79/157/26 80/158/26 +f 56/159/27 72/160/27 73/161/27 +f 49/162/28 50/163/28 66/164/28 +f 50/165/29 64/166/29 80/167/29 +f 57/168/30 73/169/30 74/170/30 +f 51/171/31 49/172/31 65/173/31 +f 58/174/32 74/175/32 75/176/32 +f 51/177/33 67/178/33 68/179/33 +f 60/180/34 59/181/34 75/182/34 +f 84/183/35 83/184/35 97/185/35 +f 101/186/36 100/187/36 81/188/36 +f 102/189/37 99/190/37 90/191/37 +f 101/192/38 83/193/38 84/194/38 +f 102/195/39 91/196/39 92/197/39 +f 103/198/40 84/199/40 85/200/40 +f 106/201/41 104/202/41 92/203/41 +f 105/204/42 85/205/42 86/206/42 +f 108/207/43 106/208/43 93/209/43 +f 107/210/44 86/211/44 87/212/44 +f 108/213/45 94/214/45 95/215/45 +f 109/216/46 87/217/46 88/218/46 +f 110/219/47 95/220/47 96/221/47 +f 111/222/48 88/223/48 89/224/48 +f 113/225/49 82/226/49 81/227/49 +f 113/228/50 112/229/50 96/230/50 +f 84/231/51 97/232/51 85/233/51 +f 85/234/52 97/235/52 86/236/52 +f 86/237/53 97/238/53 87/239/53 +f 87/240/54 97/241/54 88/242/54 +f 83/243/55 81/244/55 97/245/55 +f 88/246/56 97/247/56 89/248/56 +f 89/249/57 97/250/57 90/251/57 +f 90/252/58 97/253/58 91/254/58 +f 91/255/59 97/256/59 92/257/59 +f 92/258/60 97/259/60 93/260/60 +f 93/261/61 97/262/61 94/263/61 +f 94/264/62 97/265/62 95/266/62 +f 95/267/63 97/268/63 96/269/63 +f 96/270/64 97/271/64 82/272/64 +f 82/273/65 97/274/65 81/275/65 +f 80/276/13 112/277/13 113/278/13 +f 66/279/12 113/280/12 100/281/12 +f 72/282/11 111/283/11 98/284/11 +f 79/285/10 110/286/10 112/287/10 +f 71/288/9 109/289/9 111/290/9 +f 78/291/8 108/292/8 110/293/8 +f 70/294/7 107/295/7 109/296/7 +f 77/297/6 106/298/6 108/299/6 +f 69/300/5 105/301/5 107/302/5 +f 76/303/4 104/304/4 106/305/4 +f 68/306/3 103/307/3 105/308/3 +f 75/309/2 102/310/2 104/311/2 +f 67/312/1 101/313/1 103/314/1 +f 74/315/16 99/316/16 102/317/16 +f 65/318/17 100/319/17 101/320/17 +f 74/321/14 73/322/14 98/323/14 +f 28/324/1 26/1/1 3/3/1 +f 12/325/2 10/4/2 19/6/2 +f 26/326/3 24/7/3 5/9/3 +f 10/327/4 8/10/4 21/12/4 +f 24/328/5 22/13/5 7/15/5 +f 8/329/6 6/16/6 23/18/6 +f 22/330/7 20/19/7 9/21/7 +f 6/331/8 4/22/8 25/24/8 +f 20/332/9 18/25/9 11/27/9 +f 4/333/10 2/28/10 27/30/10 +f 18/334/11 16/31/11 13/33/11 +f 30/335/12 32/34/12 31/36/12 +f 2/336/13 30/37/13 29/39/13 +f 16/337/14 14/40/14 15/42/14 +f 18/61/15 40/43/15 16/45/15 +f 31/48/15 1/338/15 3/339/15 +f 3/339/15 5/340/15 7/341/15 +f 7/341/15 9/342/15 11/343/15 +f 11/343/15 13/344/15 15/46/15 +f 15/46/15 17/345/15 23/47/15 +f 19/346/15 21/347/15 23/47/15 +f 23/47/15 25/348/15 27/349/15 +f 27/349/15 29/350/15 23/47/15 +f 31/48/15 3/339/15 7/341/15 +f 7/341/15 11/343/15 15/46/15 +f 17/345/15 19/346/15 23/47/15 +f 23/47/15 29/350/15 31/48/15 +f 31/48/15 7/341/15 15/46/15 +f 34/86/15 33/49/15 30/51/15 +f 14/351/16 12/52/16 17/54/16 +f 47/352/8 46/55/8 63/57/8 +f 47/63/15 48/58/15 4/60/15 +f 39/65/15 40/43/15 20/62/15 +f 46/68/15 47/63/15 6/64/15 +f 38/69/15 39/65/15 22/66/15 +f 8/71/15 45/67/15 6/64/15 +f 37/74/15 38/69/15 24/70/15 +f 44/75/15 45/67/15 10/72/15 +f 26/78/15 36/73/15 24/70/15 +f 43/80/15 44/75/15 12/76/15 +f 28/81/15 35/77/15 26/78/15 +f 14/82/15 42/79/15 12/76/15 +f 33/49/15 35/77/15 32/50/15 +f 41/44/15 42/79/15 16/45/15 +f 32/353/17 28/83/17 1/85/17 +f 48/58/15 34/86/15 2/59/15 +f 53/354/18 52/87/18 69/89/18 +f 40/355/9 39/90/9 56/92/9 +f 48/356/10 47/93/10 64/95/10 +f 41/357/11 40/96/11 57/98/11 +f 33/358/12 34/99/12 49/101/12 +f 50/359/13 34/102/13 64/104/13 +f 42/360/14 41/105/14 58/107/14 +f 35/361/17 33/108/17 51/110/17 +f 43/362/16 42/111/16 59/113/16 +f 36/363/1 35/114/1 52/116/1 +f 44/364/2 43/117/2 60/119/2 +f 37/365/3 36/120/3 53/122/3 +f 45/366/4 44/123/4 61/125/4 +f 38/367/5 37/126/5 54/128/5 +f 46/368/6 45/129/6 62/131/6 +f 39/369/7 38/132/7 55/134/7 +f 99/370/19 98/135/19 90/137/19 +f 77/371/20 61/138/20 76/140/20 +f 54/372/21 53/141/21 70/143/21 +f 62/373/22 61/144/22 78/146/22 +f 71/374/23 55/147/23 70/149/23 +f 79/375/24 63/150/24 78/152/24 +f 56/376/25 55/153/25 72/155/25 +f 64/377/26 63/156/26 80/158/26 +f 57/378/27 56/159/27 73/161/27 +f 65/379/28 49/162/28 66/164/28 +f 66/380/29 50/165/29 80/167/29 +f 58/381/30 57/168/30 74/170/30 +f 67/382/31 51/171/31 65/173/31 +f 59/383/32 58/174/32 75/176/32 +f 52/384/33 51/177/33 68/179/33 +f 76/385/34 60/180/34 75/182/34 +f 83/386/36 101/186/36 81/188/36 +f 91/387/37 102/189/37 90/191/37 +f 103/388/38 101/192/38 84/194/38 +f 104/389/39 102/195/39 92/197/39 +f 105/390/40 103/198/40 85/200/40 +f 93/391/41 106/201/41 92/203/41 +f 107/392/42 105/204/42 86/206/42 +f 94/393/43 108/207/43 93/209/43 +f 109/394/44 107/210/44 87/212/44 +f 110/395/45 108/213/45 95/215/45 +f 111/396/46 109/216/46 88/218/46 +f 112/397/47 110/219/47 96/221/47 +f 98/398/48 111/222/48 89/224/48 +f 100/399/49 113/225/49 81/227/49 +f 82/400/50 113/228/50 96/230/50 +f 66/401/13 80/276/13 113/278/13 +f 65/402/12 66/279/12 100/281/12 +f 73/403/11 72/282/11 98/284/11 +f 80/404/10 79/285/10 112/287/10 +f 72/405/9 71/288/9 111/290/9 +f 79/406/8 78/291/8 110/293/8 +f 71/407/7 70/294/7 109/296/7 +f 78/408/6 77/297/6 108/299/6 +f 70/409/5 69/300/5 107/302/5 +f 77/410/4 76/303/4 106/305/4 +f 69/411/3 68/306/3 105/308/3 +f 76/412/2 75/309/2 104/311/2 +f 68/413/1 67/312/1 103/314/1 +f 75/414/16 74/315/16 102/317/16 +f 67/415/17 65/318/17 101/320/17 +f 99/416/14 74/321/14 98/323/14 diff --git a/assets/hbm/models/MissileMirv.obj b/assets/hbm/models/MissileMirv.obj new file mode 100644 index 000000000..697c66b3e --- /dev/null +++ b/assets/hbm/models/MissileMirv.obj @@ -0,0 +1,628 @@ +# Blender v2.76 (sub 0) OBJ File: 'MissileMirv.blend' +# www.blender.org +o Cylinder +v -0.097545 0.000000 -0.490393 +v -0.097545 2.000000 -0.490393 +v 0.097545 0.000000 -0.490393 +v 0.097545 2.000000 -0.490393 +v 0.277785 0.000000 -0.415735 +v 0.277785 2.000000 -0.415735 +v 0.415735 0.000000 -0.277785 +v 0.415735 2.000000 -0.277785 +v 0.490393 0.000000 -0.097545 +v 0.490393 2.000000 -0.097545 +v 0.490393 0.000000 0.097545 +v 0.490393 2.000000 0.097545 +v 0.415735 0.000000 0.277785 +v 0.415735 2.000000 0.277785 +v 0.277785 0.000000 0.415735 +v 0.277785 2.000000 0.415735 +v 0.097545 0.000000 0.490393 +v 0.097545 2.000000 0.490393 +v -0.097545 0.000000 0.490393 +v -0.097545 2.000000 0.490393 +v -0.277785 0.000000 0.415735 +v -0.277785 2.000000 0.415735 +v -0.415735 0.000000 0.277785 +v -0.415735 2.000000 0.277785 +v -0.490393 0.000000 0.097545 +v -0.490393 2.000000 0.097545 +v -0.490393 0.000000 -0.097545 +v -0.490393 2.000000 -0.097545 +v -0.415735 0.000000 -0.277785 +v -0.415735 2.000000 -0.277785 +v -0.277785 0.000000 -0.415735 +v -0.277785 2.000000 -0.415735 +v 0.073159 3.500000 -0.367794 +v -0.073159 3.500000 -0.367794 +v 0.208339 3.500000 -0.311801 +v 0.311801 3.500000 -0.208339 +v 0.367795 3.500000 -0.073159 +v 0.367795 3.500000 0.073159 +v 0.311801 3.500000 0.208339 +v 0.208339 3.500000 0.311801 +v 0.073159 3.500000 0.367794 +v -0.073159 3.500000 0.367795 +v -0.208339 3.500000 0.311801 +v -0.311801 3.500000 0.208339 +v -0.367794 3.500000 0.073159 +v -0.367794 3.500000 -0.073159 +v -0.311801 3.500000 -0.208339 +v -0.208339 3.500000 -0.311801 +v 0.073159 5.000000 -0.367794 +v -0.073159 5.000000 -0.367794 +v 0.208339 5.000000 -0.311801 +v 0.311801 5.000000 -0.208339 +v 0.367794 5.000000 -0.073159 +v 0.367794 5.000000 0.073159 +v 0.311801 5.000000 0.208339 +v 0.208339 5.000000 0.311801 +v 0.073159 5.000000 0.367794 +v -0.073159 5.000000 0.367795 +v -0.208339 5.000000 0.311801 +v -0.311801 5.000000 0.208339 +v -0.367795 5.000000 0.073159 +v -0.367795 5.000000 -0.073159 +v -0.311801 5.000000 -0.208339 +v -0.208339 5.000000 -0.311801 +v 0.053650 6.000000 -0.269716 +v -0.053650 6.000000 -0.269716 +v 0.152782 6.000000 -0.228654 +v 0.228654 6.000000 -0.152782 +v 0.269716 6.000000 -0.053650 +v 0.269716 6.000000 0.053650 +v 0.228654 6.000000 0.152782 +v 0.152782 6.000000 0.228654 +v 0.053650 6.000000 0.269716 +v -0.053650 6.000000 0.269716 +v -0.152782 6.000000 0.228654 +v -0.228654 6.000000 0.152782 +v -0.269716 6.000000 0.053650 +v -0.269716 6.000000 -0.053650 +v -0.228654 6.000000 -0.152782 +v -0.152782 6.000000 -0.228654 +v 0.000000 7.000000 0.000000 +vt 0.378201 0.009202 +vt 0.408676 0.009202 +vt 0.408676 0.315925 +vt 0.138286 0.484743 +vt 0.107811 0.484743 +vt 0.107811 0.178020 +vt 0.310237 0.641051 +vt 0.279762 0.641051 +vt 0.279762 0.334328 +vt 0.039847 0.484743 +vt 0.009372 0.484743 +vt 0.009372 0.178020 +vt 0.211798 0.641051 +vt 0.181323 0.641051 +vt 0.181323 0.334328 +vt 0.359457 0.315925 +vt 0.328982 0.315925 +vt 0.328982 0.009202 +vt 0.605554 0.315925 +vt 0.575079 0.315925 +vt 0.575079 0.009202 +vt 0.359456 0.641051 +vt 0.328982 0.641051 +vt 0.328982 0.334328 +vt 0.427421 0.009202 +vt 0.457895 0.009202 +vt 0.457895 0.315925 +vt 0.525860 0.009202 +vt 0.556334 0.009202 +vt 0.556334 0.315925 +vt 0.310237 0.315925 +vt 0.279762 0.315925 +vt 0.279762 0.009202 +vt 0.507115 0.315925 +vt 0.476640 0.315925 +vt 0.476640 0.009202 +vt 0.181323 0.009202 +vt 0.211798 0.009202 +vt 0.211798 0.315925 +vt 0.089067 0.484743 +vt 0.058592 0.484743 +vt 0.058592 0.178020 +vt 0.673518 0.738346 +vt 0.677328 0.507567 +vt 0.700184 0.507567 +vt 0.230543 0.334328 +vt 0.261017 0.334328 +vt 0.261017 0.641051 +vt 0.261018 0.315925 +vt 0.230543 0.315925 +vt 0.230543 0.009202 +vt 0.042583 0.020651 +vt 0.150916 0.041807 +vt 0.129368 0.148167 +vt 0.457895 0.583511 +vt 0.457895 0.813553 +vt 0.435039 0.813553 +vt 0.427421 0.565107 +vt 0.431230 0.334328 +vt 0.454086 0.334328 +vt 0.722738 0.489163 +vt 0.726547 0.258384 +vt 0.749403 0.258384 +vt 0.605554 0.565107 +vt 0.575079 0.565107 +vt 0.578888 0.334328 +vt 0.654773 0.738346 +vt 0.624299 0.738346 +vt 0.628108 0.507567 +vt 0.378201 0.565107 +vt 0.382011 0.334328 +vt 0.404866 0.334328 +vt 0.107811 0.733925 +vt 0.111621 0.503146 +vt 0.134477 0.503146 +vt 0.673518 0.489163 +vt 0.677328 0.258384 +vt 0.700184 0.258384 +vt 0.624299 0.489163 +vt 0.628108 0.258384 +vt 0.650964 0.258384 +vt 0.009372 0.733925 +vt 0.013182 0.503146 +vt 0.036038 0.503146 +vt 0.722738 0.239981 +vt 0.726547 0.009202 +vt 0.749403 0.009202 +vt 0.476640 0.565107 +vt 0.480450 0.334328 +vt 0.503305 0.334328 +vt 0.654773 0.239981 +vt 0.624299 0.239981 +vt 0.628108 0.009202 +vt 0.058592 0.733925 +vt 0.062401 0.503146 +vt 0.085257 0.503146 +vt 0.673518 0.239981 +vt 0.677328 0.009202 +vt 0.700184 0.009202 +vt 0.525860 0.565107 +vt 0.529669 0.334328 +vt 0.552525 0.334328 +vt 0.896760 0.163299 +vt 0.899807 0.009202 +vt 0.916568 0.009202 +vt 0.870396 0.507567 +vt 0.870396 0.737609 +vt 0.847540 0.737609 +vt 0.787195 0.507567 +vt 0.787195 0.737609 +vt 0.764339 0.737609 +vt 0.181323 0.889497 +vt 0.181323 0.659455 +vt 0.204179 0.659455 +vt 0.813558 0.487690 +vt 0.813558 0.257647 +vt 0.836414 0.257647 +vt 0.855159 0.487690 +vt 0.855159 0.257647 +vt 0.878015 0.257647 +vt 0.771957 0.239244 +vt 0.771957 0.009202 +vt 0.794813 0.009202 +vt 0.525860 0.813553 +vt 0.525860 0.583511 +vt 0.548716 0.583511 +vt 0.722738 0.737609 +vt 0.722738 0.507567 +vt 0.745594 0.507567 +vt 0.582698 0.813553 +vt 0.582698 0.583511 +vt 0.605554 0.583511 +vt 0.794813 0.258384 +vt 0.794813 0.488426 +vt 0.771957 0.488426 +vt 0.499496 0.583511 +vt 0.499496 0.813553 +vt 0.476640 0.813553 +vt 0.836414 0.009202 +vt 0.836414 0.239244 +vt 0.813558 0.239244 +vt 0.878015 0.009202 +vt 0.878015 0.239244 +vt 0.855159 0.239244 +vt 0.378201 0.813553 +vt 0.378201 0.583511 +vt 0.401057 0.583511 +vt 0.805940 0.737609 +vt 0.805940 0.507567 +vt 0.828795 0.507567 +vt 0.346203 0.990797 +vt 0.329442 0.990797 +vt 0.337822 0.831955 +vt 0.870396 0.910110 +vt 0.847540 0.910110 +vt 0.850588 0.756012 +vt 0.722738 0.910110 +vt 0.725785 0.756012 +vt 0.742546 0.756012 +vt 0.911997 0.507567 +vt 0.908951 0.661664 +vt 0.892189 0.661664 +vt 0.264525 0.813552 +vt 0.267572 0.659455 +vt 0.284333 0.659455 +vt 0.081448 0.906426 +vt 0.058592 0.906426 +vt 0.061639 0.752329 +vt 0.032228 0.906426 +vt 0.009372 0.906426 +vt 0.012420 0.752329 +vt 0.896760 0.181702 +vt 0.919616 0.181702 +vt 0.916568 0.335800 +vt 0.828795 0.756012 +vt 0.825748 0.910110 +vt 0.808987 0.910110 +vt 0.696374 0.910846 +vt 0.673518 0.910846 +vt 0.676566 0.756749 +vt 0.624299 0.910846 +vt 0.627346 0.756749 +vt 0.644107 0.756749 +vt 0.107811 0.906426 +vt 0.110859 0.752329 +vt 0.127620 0.752329 +vt 0.764339 0.910110 +vt 0.767386 0.756012 +vt 0.784147 0.756012 +vt 0.222924 0.813552 +vt 0.225972 0.659455 +vt 0.242733 0.659455 +vt 0.889141 0.834165 +vt 0.892188 0.680067 +vt 0.908949 0.680067 +vt 0.351838 0.659455 +vt 0.348790 0.813552 +vt 0.332029 0.813552 +vt 0.938361 0.345502 +vt 0.946741 0.186660 +vt 0.955122 0.345502 +vt 0.973844 0.168044 +vt 0.982225 0.009202 +vt 0.990605 0.168044 +vt 0.966226 0.666409 +vt 0.974606 0.507567 +vt 0.982987 0.666409 +vt 0.930742 0.665770 +vt 0.947481 0.507567 +vt 0.947481 0.666621 +vt 0.525860 0.990798 +vt 0.534240 0.831956 +vt 0.542621 0.990798 +vt 0.378201 0.990798 +vt 0.386582 0.831956 +vt 0.394962 0.990798 +vt 0.470545 0.990798 +vt 0.478926 0.831956 +vt 0.487306 0.990798 +vt 0.973867 0.345502 +vt 0.982247 0.186660 +vt 0.990628 0.345502 +vt 0.222924 0.990797 +vt 0.231305 0.831955 +vt 0.239685 0.990797 +vt 0.938361 0.167405 +vt 0.955099 0.009202 +vt 0.955099 0.168256 +vt 0.258430 0.990797 +vt 0.266811 0.831955 +vt 0.275191 0.990797 +vt 0.966226 0.843654 +vt 0.974606 0.684812 +vt 0.982987 0.843654 +vt 0.293936 0.990797 +vt 0.302317 0.831955 +vt 0.310697 0.990797 +vt 0.435039 0.990798 +vt 0.443420 0.831956 +vt 0.451800 0.990798 +vt 0.930742 0.843228 +vt 0.947481 0.685025 +vt 0.947481 0.844080 +vt 0.378201 0.315925 +vt 0.138286 0.178020 +vt 0.310237 0.334328 +vt 0.039847 0.178020 +vt 0.211798 0.334328 +vt 0.359456 0.009202 +vt 0.605554 0.009202 +vt 0.359456 0.334328 +vt 0.427421 0.315925 +vt 0.525860 0.315925 +vt 0.310237 0.009202 +vt 0.507115 0.009202 +vt 0.181323 0.315925 +vt 0.089067 0.178020 +vt 0.703993 0.738346 +vt 0.230543 0.641051 +vt 0.261017 0.009202 +vt 0.101213 0.159616 +vt 0.070738 0.159616 +vt 0.042583 0.148167 +vt 0.021035 0.127011 +vt 0.009372 0.099369 +vt 0.009372 0.069449 +vt 0.021035 0.041808 +vt 0.070738 0.009202 +vt 0.101213 0.009202 +vt 0.129368 0.020651 +vt 0.162578 0.069449 +vt 0.162578 0.099369 +vt 0.150916 0.127011 +vt 0.435039 0.583511 +vt 0.457895 0.565107 +vt 0.753212 0.489163 +vt 0.601744 0.334328 +vt 0.650964 0.507567 +vt 0.408676 0.565107 +vt 0.138286 0.733925 +vt 0.703993 0.489163 +vt 0.654773 0.489163 +vt 0.039847 0.733925 +vt 0.753212 0.239981 +vt 0.507115 0.565107 +vt 0.650964 0.009202 +vt 0.089067 0.733925 +vt 0.703993 0.239981 +vt 0.556334 0.565107 +vt 0.919616 0.163299 +vt 0.847540 0.507567 +vt 0.764339 0.507567 +vt 0.204179 0.889497 +vt 0.836414 0.487690 +vt 0.878015 0.487690 +vt 0.794813 0.239244 +vt 0.548716 0.813553 +vt 0.745594 0.737609 +vt 0.605554 0.813553 +vt 0.771957 0.258384 +vt 0.476640 0.583511 +vt 0.813558 0.009202 +vt 0.855159 0.009202 +vt 0.401057 0.813553 +vt 0.828795 0.737609 +vt 0.867349 0.756012 +vt 0.745594 0.910110 +vt 0.889141 0.507567 +vt 0.287381 0.813552 +vt 0.078400 0.752329 +vt 0.029181 0.752329 +vt 0.899807 0.335800 +vt 0.805939 0.756012 +vt 0.693327 0.756749 +vt 0.647155 0.910846 +vt 0.130667 0.906426 +vt 0.787195 0.910110 +vt 0.245780 0.813552 +vt 0.911997 0.834165 +vt 0.328982 0.659455 +vn 0.000000 0.000000 -1.000000 +vn 0.382700 0.000000 -0.923900 +vn 0.707100 0.000000 -0.707100 +vn 0.923900 0.000000 -0.382700 +vn 1.000000 0.000000 0.000000 +vn 0.923900 0.000000 0.382700 +vn 0.707100 0.000000 0.707100 +vn 0.382700 0.000000 0.923900 +vn 0.000000 0.000000 1.000000 +vn -0.382700 0.000000 0.923900 +vn -0.707100 0.000000 0.707100 +vn -0.923900 0.000000 0.382700 +vn -1.000000 0.000000 0.000000 +vn -0.923900 0.000000 -0.382700 +vn 0.920800 0.081500 0.381400 +vn -0.382700 0.000000 -0.923900 +vn -0.707100 0.000000 -0.707100 +vn 0.000000 -1.000000 0.000000 +vn -0.704800 0.081500 0.704800 +vn -0.381400 0.081500 -0.920800 +vn 0.920800 0.081500 -0.381400 +vn 0.000000 0.081500 0.996700 +vn -0.920800 0.081500 -0.381400 +vn 0.381400 0.081500 -0.920800 +vn 0.704800 0.081500 0.704800 +vn -0.920800 0.081500 0.381400 +vn 0.996700 0.081500 0.000000 +vn -0.381400 0.081500 0.920800 +vn -0.704800 0.081500 -0.704800 +vn 0.704800 0.081500 -0.704800 +vn 0.381400 0.081500 0.920800 +vn 0.000000 0.081500 -0.996700 +vn -0.996700 0.081500 0.000000 +vn -0.919500 0.097600 0.380900 +vn 0.682700 0.260400 -0.682700 +vn 0.995200 0.097600 0.000000 +vn -0.995200 0.097600 0.000000 +vn 0.919500 0.097600 0.380900 +vn -0.919500 0.097600 -0.380900 +vn 0.703700 0.097600 0.703700 +vn -0.703700 0.097600 -0.703700 +vn 0.380900 0.097600 0.919500 +vn 0.000000 0.097600 -0.995200 +vn -0.380900 0.097600 -0.919500 +vn 0.000000 0.097600 0.995200 +vn 0.380900 0.097600 -0.919500 +vn -0.380900 0.097600 0.919500 +vn 0.703700 0.097600 -0.703700 +vn -0.703700 0.097600 0.703700 +vn 0.919500 0.097600 -0.380900 +vn -0.369500 0.260400 0.892000 +vn 0.000000 0.260400 0.965500 +vn 0.369500 0.260400 0.892000 +vn 0.682700 0.260400 0.682700 +vn 0.892000 0.260400 0.369500 +vn 0.369500 0.260400 -0.892000 +vn 0.965500 0.260400 0.000000 +vn 0.892000 0.260400 -0.369500 +vn -0.682700 0.260400 0.682700 +vn -0.892000 0.260400 0.369500 +vn -0.965500 0.260400 0.000000 +vn -0.892000 0.260400 -0.369500 +vn -0.682700 0.260400 -0.682700 +vn -0.369500 0.260400 -0.892000 +vn 0.000000 0.260400 -0.965500 +s off +f 2/1/1 4/2/1 3/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 10/13/5 12/14/5 11/15/5 +f 12/16/6 14/17/6 13/18/6 +f 14/19/7 16/20/7 15/21/7 +f 16/22/8 18/23/8 17/24/8 +f 18/25/9 20/26/9 19/27/9 +f 20/28/10 22/29/10 21/30/10 +f 22/31/11 24/32/11 23/33/11 +f 24/34/12 26/35/12 25/36/12 +f 26/37/13 28/38/13 27/39/13 +f 28/40/14 30/41/14 29/42/14 +f 12/43/15 38/44/15 39/45/15 +f 32/46/16 2/47/16 1/48/16 +f 30/49/17 32/50/17 31/51/17 +f 15/52/18 23/53/18 31/54/18 +f 46/55/14 62/56/14 63/57/14 +f 22/58/19 43/59/19 44/60/19 +f 32/61/20 48/62/20 34/63/20 +f 10/64/21 8/65/21 36/66/21 +f 20/67/22 18/68/22 41/69/22 +f 28/70/23 46/71/23 47/72/23 +f 4/73/24 33/74/24 35/75/24 +f 14/76/25 39/77/25 40/78/25 +f 24/79/26 44/80/26 45/81/26 +f 10/82/27 37/83/27 38/84/27 +f 20/85/28 42/86/28 43/87/28 +f 30/88/29 47/89/29 48/90/29 +f 8/91/30 6/92/30 35/93/30 +f 16/94/31 40/95/31 41/96/31 +f 2/97/32 34/98/32 33/99/32 +f 26/100/33 45/101/33 46/102/33 +f 60/103/34 76/104/34 77/105/34 +f 39/106/7 55/107/7 56/108/7 +f 47/109/17 63/110/17 64/111/17 +f 40/112/8 56/113/8 57/114/8 +f 34/115/1 50/116/1 49/117/1 +f 48/118/16 64/119/16 50/120/16 +f 41/121/9 57/122/9 58/123/9 +f 33/124/2 49/125/2 51/126/2 +f 42/127/10 58/128/10 59/129/10 +f 35/130/3 51/131/3 52/132/3 +f 43/133/11 59/134/11 60/135/11 +f 36/136/4 52/137/4 53/138/4 +f 44/139/12 60/140/12 61/141/12 +f 37/142/5 53/143/5 54/144/5 +f 45/145/13 61/146/13 62/147/13 +f 38/148/6 54/149/6 55/150/6 +f 68/151/35 67/152/35 81/153/35 +f 54/154/36 53/155/36 69/156/36 +f 61/157/37 77/158/37 78/159/37 +f 54/160/38 70/161/38 71/162/38 +f 62/163/39 78/164/39 79/165/39 +f 56/166/40 55/167/40 71/168/40 +f 64/169/41 63/170/41 79/171/41 +f 57/172/42 56/173/42 72/174/42 +f 50/175/43 66/176/43 65/177/43 +f 50/178/44 64/179/44 80/180/44 +f 57/181/45 73/182/45 74/183/45 +f 49/184/46 65/185/46 67/186/46 +f 58/187/47 74/188/47 75/189/47 +f 51/190/48 67/191/48 68/192/48 +f 59/193/49 75/194/49 76/195/49 +f 52/196/50 68/197/50 69/198/50 +f 74/199/51 81/200/51 75/201/51 +f 73/202/52 81/203/52 74/204/52 +f 72/205/53 81/206/53 73/207/53 +f 71/208/54 81/209/54 72/210/54 +f 70/211/55 81/212/55 71/213/55 +f 65/214/56 81/215/56 67/216/56 +f 69/217/57 81/218/57 70/219/57 +f 68/220/58 81/221/58 69/222/58 +f 75/223/59 81/224/59 76/225/59 +f 76/226/60 81/227/60 77/228/60 +f 77/229/61 81/230/61 78/231/61 +f 78/232/62 81/233/62 79/234/62 +f 79/235/63 81/236/63 80/237/63 +f 80/238/64 81/239/64 66/240/64 +f 66/241/65 81/242/65 65/243/65 +f 1/244/1 2/1/1 3/3/1 +f 3/245/2 4/4/2 5/6/2 +f 5/246/3 6/7/3 7/9/3 +f 7/247/4 8/10/4 9/12/4 +f 9/248/5 10/13/5 11/15/5 +f 11/249/6 12/16/6 13/18/6 +f 13/250/7 14/19/7 15/21/7 +f 15/251/8 16/22/8 17/24/8 +f 17/252/9 18/25/9 19/27/9 +f 19/253/10 20/28/10 21/30/10 +f 21/254/11 22/31/11 23/33/11 +f 23/255/12 24/34/12 25/36/12 +f 25/256/13 26/37/13 27/39/13 +f 27/257/14 28/40/14 29/42/14 +f 14/258/15 12/43/15 39/45/15 +f 31/259/16 32/46/16 1/48/16 +f 29/260/17 30/49/17 31/51/17 +f 31/54/18 1/261/18 3/262/18 +f 3/262/18 5/263/18 31/54/18 +f 7/264/18 9/265/18 15/52/18 +f 11/266/18 13/267/18 15/52/18 +f 15/52/18 17/268/18 23/53/18 +f 19/269/18 21/270/18 23/53/18 +f 23/53/18 25/271/18 27/272/18 +f 27/272/18 29/273/18 23/53/18 +f 31/54/18 5/263/18 7/264/18 +f 9/265/18 11/266/18 15/52/18 +f 17/268/18 19/269/18 23/53/18 +f 23/53/18 29/273/18 31/54/18 +f 31/54/18 7/264/18 15/52/18 +f 47/274/14 46/55/14 63/57/14 +f 24/275/19 22/58/19 44/60/19 +f 2/276/20 32/61/20 34/63/20 +f 37/277/21 10/64/21 36/66/21 +f 42/278/22 20/67/22 41/69/22 +f 30/279/23 28/70/23 47/72/23 +f 6/280/24 4/73/24 35/75/24 +f 16/281/25 14/76/25 40/78/25 +f 26/282/26 24/79/26 45/81/26 +f 12/283/27 10/82/27 38/84/27 +f 22/284/28 20/85/28 43/87/28 +f 32/285/29 30/88/29 48/90/29 +f 36/286/30 8/91/30 35/93/30 +f 18/287/31 16/94/31 41/96/31 +f 4/288/32 2/97/32 33/99/32 +f 28/289/33 26/100/33 46/102/33 +f 61/290/34 60/103/34 77/105/34 +f 40/291/7 39/106/7 56/108/7 +f 48/292/17 47/109/17 64/111/17 +f 41/293/8 40/112/8 57/114/8 +f 33/294/1 34/115/1 49/117/1 +f 34/295/16 48/118/16 50/120/16 +f 42/296/9 41/121/9 58/123/9 +f 35/297/2 33/124/2 51/126/2 +f 43/298/10 42/127/10 59/129/10 +f 36/299/3 35/130/3 52/132/3 +f 44/300/11 43/133/11 60/135/11 +f 37/301/4 36/136/4 53/138/4 +f 45/302/12 44/139/12 61/141/12 +f 38/303/5 37/142/5 54/144/5 +f 46/304/13 45/145/13 62/147/13 +f 39/305/6 38/148/6 55/150/6 +f 70/306/36 54/154/36 69/156/36 +f 62/307/37 61/157/37 78/159/37 +f 55/308/38 54/160/38 71/162/38 +f 63/309/39 62/163/39 79/165/39 +f 72/310/40 56/166/40 71/168/40 +f 80/311/41 64/169/41 79/171/41 +f 73/312/42 57/172/42 72/174/42 +f 49/313/43 50/175/43 65/177/43 +f 66/314/44 50/178/44 80/180/44 +f 58/315/45 57/181/45 74/183/45 +f 51/316/46 49/184/46 67/186/46 +f 59/317/47 58/187/47 75/189/47 +f 52/318/48 51/190/48 68/192/48 +f 60/319/49 59/193/49 76/195/49 +f 53/320/50 52/196/50 69/198/50 diff --git a/assets/hbm/models/MissileNuke.obj b/assets/hbm/models/MissileNuke.obj new file mode 100644 index 000000000..352b0d899 --- /dev/null +++ b/assets/hbm/models/MissileNuke.obj @@ -0,0 +1,919 @@ +# Blender v2.70 (sub 0) OBJ File: 'MissileNuke.blend' +# www.blender.org +o Cylinder +v -0.097545 -0.000000 -0.490393 +v -0.073159 0.500000 -0.367794 +v 0.097545 -0.000000 -0.490393 +v 0.073159 0.500000 -0.367794 +v 0.277785 -0.000000 -0.415735 +v 0.208339 0.500000 -0.311801 +v 0.415735 -0.000000 -0.277785 +v 0.311801 0.500000 -0.208339 +v 0.490393 -0.000000 -0.097545 +v 0.367794 0.500000 -0.073159 +v 0.490393 -0.000000 0.097545 +v 0.367794 0.500000 0.073159 +v 0.415735 -0.000000 0.277785 +v 0.311801 0.500000 0.208339 +v 0.277785 -0.000000 0.415735 +v 0.208339 0.500000 0.311801 +v 0.097545 -0.000000 0.490393 +v 0.073159 0.500000 0.367794 +v -0.097545 -0.000000 0.490393 +v -0.073159 0.500000 0.367794 +v -0.277785 -0.000000 0.415735 +v -0.208339 0.500000 0.311801 +v -0.415735 -0.000000 0.277785 +v -0.311801 0.500000 0.208339 +v -0.490393 -0.000000 0.097545 +v -0.367794 0.500000 0.073159 +v -0.490393 -0.000000 -0.097545 +v -0.367794 0.500000 -0.073159 +v -0.415735 -0.000000 -0.277785 +v -0.311801 0.500000 -0.208339 +v -0.277785 -0.000000 -0.415735 +v -0.208339 0.500000 -0.311801 +v -0.097545 0.500000 -0.490393 +v 0.097545 0.500000 -0.490393 +v 0.277785 0.500000 -0.415735 +v 0.415735 0.500000 -0.277785 +v 0.490393 0.500000 -0.097545 +v 0.490393 0.500000 0.097545 +v 0.415735 0.500000 0.277785 +v 0.277785 0.500000 0.415735 +v 0.097545 0.500000 0.490393 +v -0.097545 0.500000 0.490393 +v -0.277785 0.500000 0.415735 +v -0.415735 0.500000 0.277785 +v -0.490393 0.500000 0.097545 +v -0.490393 0.500000 -0.097545 +v -0.415735 0.500000 -0.277785 +v -0.277785 0.500000 -0.415735 +v -0.097545 3.500000 -0.490393 +v 0.097545 3.500000 -0.490393 +v 0.277785 3.500000 -0.415735 +v 0.415735 3.500000 -0.277785 +v 0.490393 3.500000 -0.097545 +v 0.490393 3.500000 0.097545 +v 0.415735 3.500000 0.277785 +v 0.277785 3.500000 0.415735 +v 0.097545 3.500000 0.490393 +v -0.097545 3.500000 0.490393 +v -0.277785 3.500000 0.415735 +v -0.415735 3.500000 0.277785 +v -0.490393 3.500000 0.097545 +v -0.490393 3.500000 -0.097545 +v -0.415735 3.500000 -0.277785 +v -0.277785 3.500000 -0.415735 +v -0.073159 4.000000 -0.367794 +v 0.073159 4.000000 -0.367794 +v 0.208339 4.000000 -0.311801 +v 0.311801 4.000000 -0.208339 +v 0.367794 4.000000 -0.073159 +v 0.367794 4.000000 0.073159 +v 0.311801 4.000000 0.208339 +v 0.208339 4.000000 0.311801 +v 0.073159 4.000000 0.367794 +v -0.073159 4.000000 0.367795 +v -0.208339 4.000000 0.311801 +v -0.311801 4.000000 0.208339 +v -0.367795 4.000000 0.073159 +v -0.367795 4.000000 -0.073159 +v -0.311801 4.000000 -0.208339 +v -0.208339 4.000000 -0.311801 +v -0.097546 4.000000 -0.490393 +v 0.097545 4.000000 -0.490393 +v 0.277785 4.000000 -0.415735 +v 0.415734 4.000000 -0.277785 +v 0.490392 4.000000 -0.097545 +v 0.490392 4.000000 0.097545 +v 0.415734 4.000000 0.277785 +v 0.277785 4.000000 0.415735 +v 0.097545 4.000000 0.490393 +v -0.097545 4.000000 0.490393 +v -0.277785 4.000000 0.415735 +v -0.415735 4.000000 0.277785 +v -0.490393 4.000000 0.097545 +v -0.490393 4.000000 -0.097545 +v -0.415735 4.000000 -0.277785 +v -0.277785 4.000000 -0.415735 +v -0.097545 5.500000 -0.490393 +v 0.097545 5.500000 -0.490393 +v 0.277785 5.500000 -0.415735 +v 0.415735 5.500000 -0.277785 +v 0.490392 5.500000 -0.097545 +v 0.490392 5.500000 0.097545 +v 0.415735 5.500000 0.277785 +v 0.277785 5.500000 0.415735 +v 0.097545 5.500000 0.490393 +v -0.097545 5.500000 0.490393 +v -0.277785 5.500000 0.415735 +v -0.415735 5.500000 0.277785 +v -0.490393 5.500000 0.097545 +v -0.490393 5.500000 -0.097545 +v -0.415735 5.500000 -0.277785 +v -0.277785 5.500000 -0.415735 +v -0.000000 6.000000 -0.000000 +v -1.240393 0.500000 -0.097545 +v -1.240393 0.500000 0.097545 +v -0.097545 0.500000 1.240393 +v 0.097546 0.500000 1.240393 +v 1.240393 0.500000 0.097545 +v 1.240393 0.500000 -0.097545 +v 0.097545 0.500000 -1.240393 +v -0.097545 0.500000 -1.240393 +v -1.240393 1.500000 0.097545 +v -1.240393 1.500000 -0.097545 +v 0.097545 1.500000 1.240393 +v -0.097545 1.500000 1.240393 +v 1.240393 1.500000 -0.097545 +v 1.240393 1.500000 0.097545 +v -0.097545 1.500000 -1.240393 +v 0.097545 1.500000 -1.240393 +vt 0.394048 0.931004 +vt 0.411617 0.931004 +vt 0.414545 0.991521 +vt 0.972298 0.680055 +vt 0.989867 0.680055 +vt 0.992795 0.740572 +vt 0.858792 0.931004 +vt 0.876361 0.931004 +vt 0.879289 0.991521 +vt 0.896627 0.886335 +vt 0.914196 0.886335 +vt 0.917125 0.946852 +vt 0.989867 0.912422 +vt 0.972298 0.912422 +vt 0.969369 0.851905 +vt 0.972074 0.197626 +vt 0.989643 0.197626 +vt 0.992571 0.258142 +vt 0.584045 0.920269 +vt 0.601615 0.920269 +vt 0.604543 0.980786 +vt 0.989643 0.160915 +vt 0.972074 0.160915 +vt 0.969145 0.100398 +vt 0.527312 0.931004 +vt 0.544882 0.931004 +vt 0.547810 0.991521 +vt 0.972074 0.025776 +vt 0.989643 0.025776 +vt 0.992571 0.086292 +vt 0.076765 0.875536 +vt 0.094335 0.875536 +vt 0.097263 0.936052 +vt 0.196572 0.898000 +vt 0.193644 0.958517 +vt 0.176074 0.958517 +vt 0.742358 0.991521 +vt 0.745286 0.931004 +vt 0.762855 0.931004 +vt 0.010133 0.875536 +vt 0.027702 0.875536 +vt 0.030631 0.936052 +vt 0.076642 0.126864 +vt 0.083366 0.142754 +vt 0.070885 0.150918 +vt 0.231479 0.992947 +vt 0.213909 0.992947 +vt 0.210981 0.932430 +vt 0.934462 0.680055 +vt 0.952032 0.680055 +vt 0.954960 0.740572 +vt 0.609391 0.503211 +vt 0.679990 0.549390 +vt 0.562219 0.572324 +vt 0.158246 0.142754 +vt 0.170726 0.150918 +vt 0.154162 0.167134 +vt 0.083366 0.093774 +vt 0.070885 0.085610 +vt 0.087450 0.069394 +vt 0.112021 0.161499 +vt 0.109093 0.175910 +vt 0.087450 0.167134 +vt 0.095789 0.154917 +vt 0.129591 0.075029 +vt 0.132519 0.060618 +vt 0.154162 0.069394 +vt 0.164970 0.126864 +vt 0.164970 0.109664 +vt 0.179691 0.106797 +vt 0.076642 0.109664 +vt 0.061921 0.129731 +vt 0.145823 0.154917 +vt 0.132519 0.175910 +vt 0.095789 0.081611 +vt 0.109093 0.060618 +vt 0.145823 0.081611 +vt 0.170726 0.085610 +vt 0.179691 0.129731 +vt 0.061921 0.106797 +vt 0.129591 0.161499 +vt 0.112021 0.075029 +vt 0.158246 0.093774 +vt 0.893699 0.067570 +vt 0.896627 0.007053 +vt 0.914197 0.007053 +vt 0.658545 0.455949 +vt 0.665268 0.440058 +vt 0.679990 0.442925 +vt 0.969145 0.550139 +vt 0.972074 0.489622 +vt 0.989643 0.489622 +vt 0.780193 0.991521 +vt 0.783121 0.931004 +vt 0.800691 0.931004 +vt 0.992571 0.647366 +vt 0.969145 0.647366 +vt 0.972074 0.586850 +vt 0.969145 0.815194 +vt 0.972074 0.754678 +vt 0.989643 0.754678 +vt 0.968697 0.355369 +vt 0.971626 0.294853 +vt 0.989195 0.294853 +vt 0.992571 0.369791 +vt 0.989643 0.430307 +vt 0.972073 0.430307 +vt 0.135098 0.936052 +vt 0.111672 0.936052 +vt 0.114600 0.875536 +vt 0.272242 0.932745 +vt 0.248816 0.932745 +vt 0.251745 0.872229 +vt 0.642378 0.980786 +vt 0.618952 0.980786 +vt 0.621881 0.920269 +vt 0.353284 0.991521 +vt 0.356212 0.931004 +vt 0.373782 0.931004 +vt 0.338875 0.932746 +vt 0.315449 0.932746 +vt 0.318377 0.872229 +vt 0.457752 0.991521 +vt 0.460680 0.931004 +vt 0.478249 0.931004 +vt 0.680214 0.980786 +vt 0.656788 0.980786 +vt 0.659716 0.920269 +vt 0.969369 0.987044 +vt 0.972298 0.926528 +vt 0.989867 0.926528 +vt 0.704522 0.991521 +vt 0.707451 0.931004 +vt 0.725020 0.931004 +vt 0.855863 0.916898 +vt 0.855863 0.740572 +vt 0.879289 0.740572 +vt 0.629889 0.388224 +vt 0.612320 0.388224 +vt 0.609391 0.373812 +vt 0.665268 0.422859 +vt 0.658545 0.406968 +vt 0.671025 0.398805 +vt 0.596088 0.394806 +vt 0.583664 0.406968 +vt 0.571184 0.398805 +vt 0.576941 0.440058 +vt 0.562219 0.442925 +vt 0.562219 0.419992 +vt 0.596088 0.468111 +vt 0.587749 0.480329 +vt 0.571184 0.464112 +vt 0.629889 0.474693 +vt 0.632817 0.489105 +vt 0.609391 0.489105 +vt 0.671025 0.464112 +vt 0.654460 0.480329 +vt 0.646121 0.394806 +vt 0.632817 0.373812 +vt 0.679990 0.419992 +vt 0.587749 0.382588 +vt 0.654460 0.382589 +vt 0.576941 0.422859 +vt 0.583664 0.455949 +vt 0.612320 0.474693 +vt 0.646121 0.468111 +vt 0.547810 0.740572 +vt 0.547810 0.916898 +vt 0.524384 0.916898 +vt 0.585645 0.632609 +vt 0.585645 0.808936 +vt 0.562219 0.808936 +vt 0.727948 0.740572 +vt 0.727948 0.916898 +vt 0.704522 0.916898 +vt 0.765784 0.740572 +vt 0.765784 0.916898 +vt 0.742358 0.916898 +vt 0.149508 0.786667 +vt 0.149508 0.610340 +vt 0.172934 0.610340 +vt 0.917125 0.081816 +vt 0.917125 0.258142 +vt 0.893699 0.258142 +vt 0.376710 0.740572 +vt 0.376710 0.916898 +vt 0.353284 0.916898 +vt 0.803619 0.740572 +vt 0.803619 0.916898 +vt 0.780193 0.916898 +vt 0.917125 0.740572 +vt 0.893699 0.740572 +vt 0.893699 0.564245 +vt 0.457752 0.916898 +vt 0.457752 0.740572 +vt 0.481178 0.740572 +vt 0.656564 0.808936 +vt 0.656564 0.632609 +vt 0.679990 0.632609 +vt 0.623481 0.632609 +vt 0.623481 0.808936 +vt 0.600055 0.808936 +vt 0.419916 0.916898 +vt 0.419916 0.740572 +vt 0.443342 0.740572 +vt 0.917125 0.373812 +vt 0.917125 0.550139 +vt 0.893699 0.550139 +vt 0.234407 0.610340 +vt 0.234407 0.786667 +vt 0.210981 0.786667 +vt 0.879066 0.272248 +vt 0.879066 0.355370 +vt 0.855864 0.275412 +vt 0.196572 0.800773 +vt 0.196572 0.883894 +vt 0.173370 0.803937 +vt 0.954736 0.077794 +vt 0.954736 0.160915 +vt 0.931534 0.080957 +vt 0.618952 0.903000 +vt 0.642154 0.823042 +vt 0.642154 0.906163 +vt 0.931086 0.352206 +vt 0.954288 0.272248 +vt 0.954288 0.355370 +vt 0.954736 0.564245 +vt 0.954736 0.647366 +vt 0.931534 0.567409 +vt 0.562219 0.903000 +vt 0.585421 0.823042 +vt 0.585421 0.906163 +vt 0.954736 0.369791 +vt 0.954736 0.452912 +vt 0.931534 0.372954 +vt 0.916677 0.272248 +vt 0.916677 0.355369 +vt 0.893475 0.275412 +vt 0.931534 0.254979 +vt 0.954736 0.175021 +vt 0.954736 0.258142 +vt 0.954736 0.467018 +vt 0.954736 0.550139 +vt 0.931534 0.470181 +vt 0.931534 0.834635 +vt 0.954736 0.754678 +vt 0.954736 0.837799 +vt 0.931534 0.934231 +vt 0.943247 0.851905 +vt 0.954960 0.934231 +vt 0.818028 0.917756 +vt 0.841230 0.837799 +vt 0.841230 0.920920 +vt 0.818028 0.820529 +vt 0.841230 0.740572 +vt 0.841230 0.823693 +vt 0.679990 0.906163 +vt 0.656788 0.903000 +vt 0.679990 0.823042 +vt 0.234407 0.213259 +vt 0.217842 0.229475 +vt 0.457752 0.007053 +vt 0.547810 0.007053 +vt 0.547810 0.359706 +vt 0.217842 0.007053 +vt 0.234407 0.023269 +vt 0.248816 0.359706 +vt 0.248816 0.242155 +vt 0.338875 0.007053 +vt 0.007205 0.023269 +vt 0.023769 0.007053 +vt 0.547810 0.726466 +vt 0.457752 0.726466 +vt 0.457752 0.373812 +vt 0.023769 0.229475 +vt 0.007205 0.213259 +vt 0.007205 0.596234 +vt 0.007205 0.478683 +vt 0.097263 0.243581 +vt 0.007205 0.861429 +vt 0.007205 0.610340 +vt 0.030631 0.610340 +vt 0.272242 0.740572 +vt 0.272242 0.858123 +vt 0.248816 0.858123 +vt 0.353284 0.373812 +vt 0.443342 0.373812 +vt 0.443342 0.726466 +vt 0.234407 0.800773 +vt 0.234407 0.918324 +vt 0.210981 0.918324 +vt 0.073837 0.610340 +vt 0.097263 0.610340 +vt 0.097263 0.861429 +vt 0.917125 0.754678 +vt 0.917125 0.872229 +vt 0.893699 0.872229 +vt 0.855864 0.258142 +vt 0.855864 0.007053 +vt 0.879290 0.007053 +vt 0.338875 0.740572 +vt 0.338875 0.858123 +vt 0.315449 0.858123 +vt 0.111672 0.610340 +vt 0.135098 0.610340 +vt 0.135098 0.861429 +vt 0.562219 0.359706 +vt 0.562219 0.242155 +vt 0.652277 0.007053 +vt 0.144349 0.596234 +vt 0.144349 0.478683 +vt 0.234407 0.243581 +vt 0.353284 0.007053 +vt 0.443342 0.007053 +vt 0.443342 0.359706 +vt 0.315449 0.373812 +vt 0.338875 0.373812 +vt 0.338875 0.726466 +vt 0.272242 0.726466 +vt 0.248816 0.726466 +vt 0.248817 0.373812 +vt 0.803619 0.726466 +vt 0.780193 0.726466 +vt 0.780193 0.373812 +vt 0.704522 0.373812 +vt 0.727948 0.373812 +vt 0.727948 0.726465 +vt 0.780193 0.007053 +vt 0.803619 0.007053 +vt 0.803619 0.359706 +vt 0.818028 0.373812 +vt 0.841454 0.373812 +vt 0.841454 0.726465 +vt 0.690113 0.359706 +vt 0.666687 0.359706 +vt 0.666687 0.007053 +vt 0.765783 0.359706 +vt 0.742358 0.359706 +vt 0.742358 0.007053 +vt 0.727948 0.359706 +vt 0.704522 0.359706 +vt 0.704522 0.007053 +vt 0.879289 0.726465 +vt 0.855863 0.726465 +vt 0.855863 0.373812 +vt 0.841454 0.359706 +vt 0.818028 0.359706 +vt 0.818028 0.007053 +vt 0.765784 0.726465 +vt 0.742358 0.726465 +vt 0.742358 0.373812 +vt 0.391119 0.991521 +vt 0.969369 0.740572 +vt 0.855863 0.991521 +vt 0.893699 0.946852 +vt 0.992795 0.851905 +vt 0.969145 0.258142 +vt 0.581117 0.980786 +vt 0.992571 0.100398 +vt 0.524384 0.991521 +vt 0.969145 0.086292 +vt 0.073837 0.936052 +vt 0.173146 0.898000 +vt 0.765784 0.991521 +vt 0.007205 0.936052 +vt 0.234407 0.932430 +vt 0.931534 0.740572 +vt 0.632817 0.618503 +vt 0.609391 0.618503 +vt 0.587749 0.609727 +vt 0.571184 0.593511 +vt 0.571184 0.528203 +vt 0.562219 0.549390 +vt 0.587749 0.511987 +vt 0.632817 0.503211 +vt 0.671025 0.528203 +vt 0.679990 0.572324 +vt 0.671025 0.593511 +vt 0.654460 0.609727 +vt 0.654460 0.511987 +vt 0.917125 0.067570 +vt 0.992571 0.550139 +vt 0.803619 0.991521 +vt 0.989643 0.586850 +vt 0.992571 0.815194 +vt 0.992123 0.355369 +vt 0.969145 0.369791 +vt 0.132170 0.875536 +vt 0.269314 0.872229 +vt 0.639450 0.920269 +vt 0.376710 0.991521 +vt 0.335947 0.872229 +vt 0.481178 0.991521 +vt 0.677285 0.920269 +vt 0.992795 0.987044 +vt 0.727948 0.991521 +vt 0.879289 0.916898 +vt 0.524384 0.740572 +vt 0.562219 0.632609 +vt 0.704522 0.740572 +vt 0.742358 0.740572 +vt 0.172934 0.786667 +vt 0.893699 0.081816 +vt 0.353284 0.740572 +vt 0.780193 0.740572 +vt 0.917125 0.564245 +vt 0.481178 0.916898 +vt 0.679990 0.808936 +vt 0.600055 0.632609 +vt 0.443342 0.916898 +vt 0.893699 0.373812 +vt 0.210981 0.610340 +vt 0.457752 0.124604 +vt 0.338875 0.359706 +vt 0.547810 0.608914 +vt 0.097263 0.596234 +vt 0.030631 0.861429 +vt 0.248816 0.740572 +vt 0.353284 0.491363 +vt 0.210981 0.800773 +vt 0.073837 0.861429 +vt 0.893699 0.754678 +vt 0.879290 0.258142 +vt 0.315449 0.740572 +vt 0.111672 0.861429 +vt 0.652278 0.359706 +vt 0.234407 0.596234 +vt 0.353284 0.124604 +vt 0.315449 0.726466 +vt 0.272242 0.373812 +vt 0.803619 0.373812 +vt 0.704522 0.726465 +vt 0.780193 0.359706 +vt 0.818028 0.726466 +vt 0.690113 0.007053 +vt 0.765784 0.007053 +vt 0.727948 0.007053 +vt 0.879289 0.373812 +vt 0.841454 0.007053 +vt 0.765783 0.373812 +vn 0.000000 0.238142 -0.971230 +vn 0.371673 0.238142 -0.897300 +vn 0.686763 0.238142 -0.686764 +vn 0.897300 0.238142 -0.371674 +vn 0.971230 0.238142 -0.000000 +vn 0.897300 0.238142 0.371674 +vn 0.686764 0.238142 0.686763 +vn 0.371674 0.238142 0.897300 +vn 0.000000 0.238142 0.971230 +vn -0.371674 0.238142 0.897300 +vn -0.686763 0.238142 0.686764 +vn -0.897300 0.238142 0.371674 +vn -0.971230 0.238142 0.000000 +vn -0.897300 0.238142 -0.371674 +vn 0.000000 -1.000000 -0.000000 +vn -0.371673 0.238142 -0.897300 +vn -0.686764 0.238142 -0.686763 +vn 0.000000 -1.000000 0.000001 +vn 0.686764 0.238143 -0.686764 +vn -0.897299 0.238142 -0.371675 +vn -0.371673 0.238142 0.897300 +vn 0.897300 0.238143 0.371674 +vn -0.686763 0.238142 -0.686764 +vn 0.371674 0.238142 -0.897300 +vn 0.686764 0.238142 0.686764 +vn -0.371674 0.238142 -0.897300 +vn 1.000000 -0.000000 0.000000 +vn 0.000000 -1.000000 -0.000003 +vn 0.000000 -1.000000 -0.000007 +vn -0.382683 0.000000 -0.923880 +vn 0.707107 -0.000000 -0.707107 +vn -0.923880 0.000000 -0.382684 +vn 0.000000 -0.000000 -1.000000 +vn -0.923879 0.000000 0.382684 +vn -0.382683 0.000000 0.923880 +vn 0.382683 -0.000000 0.923880 +vn 0.923879 -0.000000 0.382684 +vn 0.923880 -0.000000 -0.382683 +vn -0.707107 0.000000 -0.707107 +vn 0.382683 -0.000000 -0.923880 +vn -1.000000 0.000000 -0.000000 +vn -0.707106 0.000000 0.707107 +vn 0.000001 0.000000 1.000000 +vn 0.707107 -0.000000 0.707107 +vn -0.659588 0.700215 -0.273209 +vn -0.504826 0.700214 -0.504828 +vn -0.273210 0.700215 -0.659588 +vn -0.659588 0.700215 0.273209 +vn 0.000000 0.700214 -0.713933 +vn 0.273210 0.700215 -0.659587 +vn 0.504826 0.700214 -0.504827 +vn 0.659588 0.700215 -0.273209 +vn 0.713933 0.700214 0.000000 +vn 0.659587 0.700214 0.273212 +vn 0.504827 0.700215 0.504825 +vn 0.273210 0.700214 0.659588 +vn 0.000000 0.700215 0.713932 +vn -0.273210 0.700214 0.659588 +vn -0.504826 0.700214 0.504827 +vn -0.713932 0.700215 0.000000 +vn 0.000000 0.000000 1.000000 +vn -0.936329 0.351123 -0.000000 +vn -1.000000 -0.000000 -0.000001 +vn 0.000001 0.351123 0.936329 +vn 1.000000 0.000000 -0.000001 +vn 0.936329 0.351124 -0.000000 +vn 0.000000 0.351123 -0.936329 +vn 0.923879 0.000000 -0.382684 +vn -0.923879 0.000000 -0.382684 +vn -0.707106 0.000000 -0.707107 +vn -0.382683 -0.000000 0.923879 +vn -0.707107 0.000000 0.707107 +vn 0.382684 0.000000 0.923879 +vn 0.923880 0.000000 0.382683 +vn 0.686764 0.238142 -0.686763 +vn 0.000000 -1.000000 -0.000001 +vn -0.897300 0.238142 -0.371673 +vn -0.897299 0.238142 0.371675 +vn 0.897300 0.238142 -0.371673 +vn -0.686764 0.238142 -0.686764 +vn 0.371674 0.238143 -0.897300 +vn -0.686764 0.238142 0.686764 +vn 0.971230 0.238143 0.000000 +vn 0.000000 -1.000000 -0.000002 +vn 0.707107 -0.000000 0.707106 +vn -0.936329 0.351123 -0.000001 +vn 0.000001 0.351124 0.936329 +vn 0.936329 0.351123 0.000000 +vn 0.923879 0.000000 -0.382683 +vn -0.923880 -0.000000 0.382683 +vn 0.382684 0.000000 0.923880 +vn 0.923879 0.000000 0.382683 +s off +f 2/1/1 4/2/1 3/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 10/13/5 12/14/5 11/15/5 +f 12/16/6 14/17/6 13/18/6 +f 14/19/7 16/20/7 15/21/7 +f 16/22/8 18/23/8 17/24/8 +f 18/25/9 20/26/9 19/27/9 +f 20/28/10 22/29/10 21/30/10 +f 22/31/11 24/32/11 23/33/11 +f 23/34/12 24/35/12 26/36/12 +f 25/37/13 26/38/13 28/39/13 +f 28/40/14 30/41/14 29/42/14 +f 6/43/15 4/44/15 34/45/15 +f 32/46/16 2/47/16 1/48/16 +f 30/49/17 32/50/17 31/51/17 +f 15/52/15 23/53/15 7/54/15 +f 26/55/15 45/56/15 46/57/15 +f 10/58/15 37/59/15 38/60/15 +f 32/61/15 48/62/15 33/63/15 +f 4/44/18 2/64/18 33/63/18 +f 16/65/15 40/66/15 41/67/15 +f 24/68/15 22/69/15 43/70/15 +f 8/71/15 6/43/15 35/72/15 +f 28/73/15 46/57/15 47/74/15 +f 12/75/15 38/60/15 39/76/15 +f 18/77/15 41/67/15 42/78/15 +f 24/68/15 44/79/15 45/56/15 +f 10/58/15 8/71/15 36/80/15 +f 30/81/15 47/74/15 48/62/15 +f 14/82/15 39/76/15 40/66/15 +f 22/69/15 20/83/15 42/78/15 +f 51/84/19 67/85/19 68/86/19 +f 69/87/15 68/88/15 84/89/15 +f 62/90/20 78/91/20 79/92/20 +f 49/93/1 65/94/1 66/95/1 +f 61/96/12 60/97/12 76/98/12 +f 58/99/21 74/100/21 75/101/21 +f 56/102/8 72/103/8 73/104/8 +f 54/105/22 70/106/22 71/107/22 +f 53/108/4 52/109/4 68/110/4 +f 64/111/23 63/112/23 79/113/23 +f 51/114/24 50/115/24 66/116/24 +f 61/117/13 77/118/13 78/119/13 +f 60/120/11 59/121/11 75/122/11 +f 57/123/9 73/124/9 74/125/9 +f 56/126/25 55/127/25 71/128/25 +f 53/129/5 69/130/5 70/131/5 +f 64/132/26 80/133/26 65/134/26 +f 85/135/27 101/136/27 102/137/27 +f 80/138/15 79/139/15 95/140/15 +f 67/141/28 66/142/28 82/143/28 +f 78/144/15 77/145/15 93/146/15 +f 75/147/15 91/148/15 92/149/15 +f 73/150/15 89/151/15 90/152/15 +f 71/153/15 87/154/15 88/155/15 +f 69/87/15 85/156/15 86/157/15 +f 65/158/29 80/138/29 96/159/29 +f 68/88/15 67/141/15 83/160/15 +f 79/139/15 78/144/15 94/161/15 +f 66/142/15 65/158/15 81/162/15 +f 76/163/15 92/149/15 93/146/15 +f 74/164/15 90/152/15 91/148/15 +f 72/165/15 88/155/15 89/151/15 +f 70/166/15 86/157/15 87/154/15 +f 96/167/30 112/168/30 97/169/30 +f 83/170/31 99/171/31 100/172/31 +f 94/173/32 110/174/32 111/175/32 +f 81/176/33 97/177/33 98/178/33 +f 92/179/34 108/180/34 109/181/34 +f 90/182/35 106/183/35 107/184/35 +f 88/185/36 104/186/36 105/187/36 +f 86/188/37 102/189/37 103/190/37 +f 85/191/38 84/192/38 100/193/38 +f 95/194/39 111/195/39 112/196/39 +f 82/197/40 98/198/40 99/199/40 +f 93/200/41 109/201/41 110/202/41 +f 91/203/42 107/204/42 108/205/42 +f 89/206/43 105/207/43 106/208/43 +f 87/209/44 103/210/44 104/211/44 +f 110/212/45 113/213/45 111/214/45 +f 111/215/46 113/216/46 112/217/46 +f 112/218/47 113/219/47 97/220/47 +f 108/221/48 113/222/48 109/223/48 +f 97/224/49 113/225/49 98/226/49 +f 98/227/50 113/228/50 99/229/50 +f 99/230/51 113/231/51 100/232/51 +f 100/233/52 113/234/52 101/235/52 +f 101/236/53 113/237/53 102/238/53 +f 102/239/54 113/240/54 103/241/54 +f 103/242/55 113/243/55 104/244/55 +f 104/245/56 113/246/56 105/247/56 +f 105/248/57 113/249/57 106/250/57 +f 106/251/58 113/252/58 107/253/58 +f 107/254/59 113/255/59 108/256/59 +f 110/257/60 109/258/60 113/259/60 +f 115/260/15 114/261/15 46/57/15 +f 121/262/41 33/263/41 49/264/41 +f 41/67/15 117/265/15 116/266/15 +f 120/267/27 129/268/27 50/269/27 +f 37/59/15 119/270/15 118/271/15 +f 119/272/33 37/273/33 53/274/33 +f 121/275/15 120/276/15 34/45/15 +f 118/277/61 127/278/61 54/279/61 +f 62/280/62 123/281/62 122/282/62 +f 115/283/63 122/284/63 123/285/63 +f 117/286/27 41/287/27 57/288/27 +f 117/289/43 124/290/43 125/291/43 +f 125/292/64 124/293/64 57/294/64 +f 119/295/65 126/296/65 127/297/65 +f 54/298/66 127/299/66 126/300/66 +f 121/301/33 128/302/33 129/303/33 +f 129/304/67 128/305/67 49/306/67 +f 114/307/33 123/308/33 62/309/33 +f 116/310/41 125/311/41 58/312/41 +f 115/313/61 45/314/61 61/315/61 +f 52/316/68 53/317/68 37/318/68 +f 50/319/40 51/320/40 35/321/40 +f 51/322/31 52/323/31 36/324/31 +f 64/325/30 49/326/30 33/327/30 +f 62/328/69 63/329/69 47/330/69 +f 63/331/70 64/332/70 48/333/70 +f 60/334/34 61/335/34 45/336/34 +f 58/337/71 59/338/71 43/339/71 +f 59/340/72 60/341/72 44/342/72 +f 56/343/73 57/344/73 41/345/73 +f 54/346/74 55/347/74 39/348/74 +f 55/349/44 56/350/44 40/351/44 +f 1/352/1 2/1/1 3/3/1 +f 3/353/24 4/4/24 5/6/24 +f 5/354/75 6/7/75 7/9/75 +f 7/355/4 8/10/4 9/12/4 +f 9/356/5 10/13/5 11/15/5 +f 11/357/6 12/16/6 13/18/6 +f 13/358/25 14/19/25 15/21/25 +f 15/359/8 16/22/8 17/24/8 +f 17/360/9 18/25/9 19/27/9 +f 19/361/21 20/28/21 21/30/21 +f 21/362/11 22/31/11 23/33/11 +f 25/363/12 23/34/12 26/36/12 +f 27/364/13 25/37/13 28/39/13 +f 27/365/14 28/40/14 29/42/14 +f 35/72/15 6/43/15 34/45/15 +f 31/366/16 32/46/16 1/48/16 +f 29/367/23 30/49/23 31/51/23 +f 31/368/15 1/369/15 3/370/15 +f 3/370/15 5/371/15 7/54/15 +f 11/372/15 15/52/15 9/373/15 +f 11/372/15 13/374/15 15/52/15 +f 12/75/15 10/58/15 38/60/15 +f 23/53/15 17/375/15 21/376/15 +f 23/53/15 25/377/15 27/378/15 +f 27/378/15 29/379/15 31/368/15 +f 23/53/15 27/378/15 7/54/15 +f 23/53/15 15/52/15 17/375/15 +f 17/375/15 19/380/15 21/376/15 +f 31/368/15 3/370/15 27/378/15 +f 28/73/15 26/55/15 46/57/15 +f 27/378/15 3/370/15 7/54/15 +f 15/52/15 7/54/15 9/373/15 +f 2/64/15 32/61/15 33/63/15 +f 34/45/76 4/44/76 33/63/76 +f 18/77/15 16/65/15 41/67/15 +f 44/79/15 24/68/15 43/70/15 +f 36/80/15 8/71/15 35/72/15 +f 30/81/15 28/73/15 47/74/15 +f 14/82/15 12/75/15 39/76/15 +f 20/83/15 18/77/15 42/78/15 +f 26/55/15 24/68/15 45/56/15 +f 37/59/15 10/58/15 36/80/15 +f 32/61/15 30/81/15 48/62/15 +f 16/65/15 14/82/15 40/66/15 +f 43/70/15 22/69/15 42/78/15 +f 52/381/3 51/84/3 68/86/3 +f 85/156/15 69/87/15 84/89/15 +f 63/382/77 62/90/77 79/92/77 +f 50/383/1 49/93/1 66/95/1 +f 77/384/78 61/96/78 76/98/78 +f 59/385/10 58/99/10 75/101/10 +f 57/386/8 56/102/8 73/104/8 +f 55/387/6 54/105/6 71/107/6 +f 69/388/79 53/108/79 68/110/79 +f 80/389/80 64/111/80 79/113/80 +f 67/390/81 51/114/81 66/116/81 +f 62/391/13 61/117/13 78/119/13 +f 76/392/82 60/120/82 75/122/82 +f 58/393/9 57/123/9 74/125/9 +f 72/394/7 56/126/7 71/128/7 +f 54/395/83 53/129/83 70/131/83 +f 49/396/16 64/132/16 65/134/16 +f 86/397/27 85/135/27 102/137/27 +f 96/159/15 80/138/15 95/140/15 +f 83/160/84 67/141/84 82/143/84 +f 94/161/15 78/144/15 93/146/15 +f 76/163/15 75/147/15 92/149/15 +f 74/164/15 73/150/15 90/152/15 +f 72/165/15 71/153/15 88/155/15 +f 70/166/15 69/87/15 86/157/15 +f 81/162/15 65/158/15 96/159/15 +f 84/89/15 68/88/15 83/160/15 +f 95/140/15 79/139/15 94/161/15 +f 82/143/15 66/142/15 81/162/15 +f 77/145/15 76/163/15 93/146/15 +f 75/147/15 74/164/15 91/148/15 +f 73/150/15 72/165/15 89/151/15 +f 71/153/15 70/166/15 87/154/15 +f 81/398/30 96/167/30 97/169/30 +f 84/399/31 83/170/31 100/172/31 +f 95/400/69 94/173/69 111/175/69 +f 82/401/33 81/176/33 98/178/33 +f 93/402/34 92/179/34 109/181/34 +f 91/403/35 90/182/35 107/184/35 +f 89/404/36 88/185/36 105/187/36 +f 87/405/74 86/188/74 103/190/74 +f 101/406/38 85/191/38 100/193/38 +f 96/407/39 95/194/39 112/196/39 +f 83/408/40 82/197/40 99/199/40 +f 94/409/41 93/200/41 110/202/41 +f 92/410/72 91/203/72 108/205/72 +f 90/411/61 89/206/61 106/208/61 +f 88/412/85 87/209/85 104/211/85 +f 45/56/15 115/260/15 46/57/15 +f 128/413/41 121/262/41 49/264/41 +f 42/78/15 41/67/15 116/266/15 +f 34/414/27 120/267/27 50/269/27 +f 38/60/15 37/59/15 118/271/15 +f 126/415/33 119/272/33 53/274/33 +f 33/63/15 121/275/15 34/45/15 +f 38/416/61 118/277/61 54/279/61 +f 61/417/86 62/280/86 122/282/86 +f 114/418/41 115/283/41 123/285/41 +f 124/419/27 117/286/27 57/288/27 +f 116/420/61 117/289/61 125/291/61 +f 58/421/87 125/292/87 57/294/87 +f 118/422/65 119/295/65 127/297/65 +f 53/423/88 54/298/88 126/300/88 +f 120/424/33 121/301/33 129/303/33 +f 50/425/67 129/304/67 49/306/67 +f 46/426/33 114/307/33 62/309/33 +f 42/427/41 116/310/41 58/312/41 +f 122/428/61 115/313/61 61/315/61 +f 36/429/89 52/316/89 37/318/89 +f 34/430/40 50/319/40 35/321/40 +f 35/431/31 51/322/31 36/324/31 +f 48/432/30 64/325/30 33/327/30 +f 46/433/32 62/328/32 47/330/32 +f 47/434/39 63/331/39 48/333/39 +f 44/435/90 60/334/90 45/336/90 +f 42/436/35 58/337/35 43/339/35 +f 43/437/42 59/340/42 44/342/42 +f 40/438/91 56/343/91 41/345/91 +f 38/439/92 54/346/92 39/348/92 +f 39/440/44 55/349/44 40/351/44 diff --git a/assets/hbm/models/MissileThermal.obj b/assets/hbm/models/MissileThermal.obj new file mode 100644 index 000000000..e5d69eaf2 --- /dev/null +++ b/assets/hbm/models/MissileThermal.obj @@ -0,0 +1,1080 @@ +# Blender v2.76 (sub 0) OBJ File: '' +# www.blender.org +o Cylinder +v -0.073159 0.000000 -0.367794 +v -0.097545 0.500000 -0.490393 +v 0.073159 0.000000 -0.367794 +v 0.097545 0.500000 -0.490393 +v 0.208339 0.000000 -0.311801 +v 0.277785 0.500000 -0.415735 +v 0.311801 0.000000 -0.208339 +v 0.415735 0.500000 -0.277785 +v 0.367794 0.000000 -0.073159 +v 0.490393 0.500000 -0.097545 +v 0.367794 0.000000 0.073159 +v 0.490393 0.500000 0.097545 +v 0.311801 0.000000 0.208339 +v 0.415735 0.500000 0.277785 +v 0.208339 0.000000 0.311801 +v 0.277785 0.500000 0.415735 +v 0.073159 0.000000 0.367794 +v 0.097545 0.500000 0.490393 +v -0.073159 0.000000 0.367794 +v -0.097545 0.500000 0.490393 +v -0.208339 0.000000 0.311801 +v -0.277785 0.500000 0.415735 +v -0.311801 0.000000 0.208339 +v -0.415735 0.500000 0.277785 +v -0.367794 0.000000 0.073159 +v -0.490393 0.500000 0.097545 +v -0.367794 0.000000 -0.073159 +v -0.490393 0.500000 -0.097545 +v -0.311801 0.000000 -0.208339 +v -0.415735 0.500000 -0.277785 +v -0.208339 0.000000 -0.311801 +v -0.277785 0.500000 -0.415735 +v 0.097545 3.000000 -0.490393 +v -0.097545 3.000000 -0.490393 +v 0.277785 3.000000 -0.415735 +v 0.415735 3.000000 -0.277785 +v 0.490393 3.000000 -0.097545 +v 0.490393 3.000000 0.097545 +v 0.415735 3.000000 0.277785 +v 0.277785 3.000000 0.415735 +v 0.097545 3.000000 0.490393 +v -0.097545 3.000000 0.490393 +v -0.277785 3.000000 0.415735 +v -0.415735 3.000000 0.277785 +v -0.490393 3.000000 0.097545 +v -0.490393 3.000000 -0.097545 +v -0.415735 3.000000 -0.277785 +v -0.277785 3.000000 -0.415735 +v 0.078036 4.500000 -0.392314 +v -0.078036 4.500000 -0.392314 +v 0.222228 4.500000 -0.332588 +v 0.332588 4.500000 -0.222228 +v 0.392314 4.500000 -0.078036 +v 0.392314 4.500000 0.078036 +v 0.332588 4.500000 0.222228 +v 0.222228 4.500000 0.332588 +v 0.078036 4.500000 0.392314 +v -0.078036 4.500000 0.392314 +v -0.222228 4.500000 0.332588 +v -0.332588 4.500000 0.222228 +v -0.392314 4.500000 0.078036 +v -0.392314 4.500000 -0.078036 +v -0.332588 4.500000 -0.222228 +v -0.222228 4.500000 -0.332588 +v 0.063404 4.750000 -0.318755 +v -0.063405 4.750000 -0.318755 +v 0.180560 4.750000 -0.270228 +v 0.270227 4.750000 -0.180560 +v 0.318755 4.750000 -0.063404 +v 0.318755 4.750000 0.063404 +v 0.270227 4.750000 0.180560 +v 0.180560 4.750000 0.270228 +v 0.063404 4.750000 0.318755 +v -0.063404 4.750000 0.318755 +v -0.180560 4.750000 0.270228 +v -0.270228 4.750000 0.180560 +v -0.318755 4.750000 0.063404 +v -0.318755 4.750000 -0.063404 +v -0.270228 4.750000 -0.180560 +v -0.180560 4.750000 -0.270228 +v 0.073158 5.000000 -0.367794 +v -0.073159 5.000000 -0.367794 +v 0.208338 5.000000 -0.311801 +v 0.311801 5.000000 -0.208339 +v 0.367794 5.000000 -0.073159 +v 0.367794 5.000000 0.073159 +v 0.311801 5.000000 0.208339 +v 0.208339 5.000000 0.311801 +v 0.073159 5.000000 0.367794 +v -0.073159 5.000000 0.367795 +v -0.208339 5.000000 0.311801 +v -0.311801 5.000000 0.208339 +v -0.367795 5.000000 0.073159 +v -0.367795 5.000000 -0.073159 +v -0.311801 5.000000 -0.208339 +v -0.208339 5.000000 -0.311801 +v 0.073159 6.500000 -0.367794 +v -0.073159 6.500000 -0.367794 +v 0.208339 6.500000 -0.311801 +v 0.311801 6.500000 -0.208339 +v 0.367794 6.500000 -0.073159 +v 0.367794 6.500000 0.073159 +v 0.311801 6.500000 0.208339 +v 0.208339 6.500000 0.311801 +v 0.073159 6.500000 0.367794 +v -0.073159 6.500000 0.367795 +v -0.208339 6.500000 0.311801 +v -0.311801 6.500000 0.208339 +v -0.367795 6.500000 0.073159 +v -0.367795 6.500000 -0.073159 +v -0.311801 6.500000 -0.208339 +v -0.208339 6.500000 -0.311801 +v 0.043895 6.750000 -0.220677 +v -0.043896 6.750000 -0.220677 +v 0.125003 6.750000 -0.187081 +v 0.187080 6.750000 -0.125003 +v 0.220676 6.750000 -0.043895 +v 0.220676 6.750000 0.043895 +v 0.187080 6.750000 0.125003 +v 0.125003 6.750000 0.187081 +v 0.043895 6.750000 0.220677 +v -0.043896 6.750000 0.220677 +v -0.125004 6.750000 0.187081 +v -0.187081 6.750000 0.125003 +v -0.220677 6.750000 0.043895 +v -0.220677 6.750000 -0.043895 +v -0.187081 6.750000 -0.125003 +v -0.125004 6.750000 -0.187081 +v -0.000000 6.900000 -0.000000 +v -0.097545 0.500000 0.990393 +v 0.097545 0.500000 0.990393 +v 0.990393 0.500000 0.097545 +v 0.990393 0.500000 -0.097545 +v 0.097545 0.500000 -0.990393 +v -0.097545 0.500000 -0.990393 +v -0.990393 0.500000 -0.097545 +v -0.990393 0.500000 0.097545 +vt 0.849311 0.872028 +vt 0.875734 0.872028 +vt 0.872432 0.940537 +vt 0.044197 0.794404 +vt 0.070621 0.794404 +vt 0.067318 0.862913 +vt 0.790381 0.940537 +vt 0.763958 0.940537 +vt 0.767261 0.872028 +vt 0.705028 0.864884 +vt 0.678605 0.864884 +vt 0.681908 0.796375 +vt 0.833058 0.940537 +vt 0.806634 0.940537 +vt 0.809937 0.872028 +vt 0.453106 0.887676 +vt 0.426682 0.887676 +vt 0.429985 0.819167 +vt 0.387309 0.887676 +vt 0.384006 0.819167 +vt 0.410429 0.819167 +vt 0.262037 0.864884 +vt 0.258734 0.796375 +vt 0.285158 0.796375 +vt 0.242481 0.864884 +vt 0.216058 0.864884 +vt 0.219360 0.796375 +vt 0.367753 0.887676 +vt 0.341329 0.887676 +vt 0.344632 0.819167 +vt 0.656580 0.787815 +vt 0.659883 0.856325 +vt 0.633459 0.856325 +vt 0.239178 0.711896 +vt 0.242481 0.780406 +vt 0.216058 0.780406 +vt 0.705028 0.780406 +vt 0.678605 0.780406 +vt 0.681908 0.711896 +vt 0.153280 0.856325 +vt 0.126856 0.856325 +vt 0.130159 0.787815 +vt 0.747705 0.007985 +vt 0.747705 0.340677 +vt 0.721281 0.340677 +vt 0.915108 0.872028 +vt 0.918411 0.940537 +vt 0.891988 0.940537 +vt 0.285158 0.780406 +vt 0.258734 0.780406 +vt 0.262037 0.711896 +vt 0.341329 0.763988 +vt 0.348913 0.726528 +vt 0.419362 0.712759 +vt 0.849311 0.856059 +vt 0.851953 0.656017 +vt 0.873092 0.656017 +vt 0.453106 0.356646 +vt 0.453106 0.689338 +vt 0.426682 0.689338 +vt 0.721281 0.689338 +vt 0.721281 0.356646 +vt 0.747705 0.356646 +vt 0.581135 0.356646 +vt 0.581136 0.689338 +vt 0.554712 0.689338 +vt 0.623812 0.356646 +vt 0.623812 0.689338 +vt 0.597389 0.689338 +vt 0.008127 0.695927 +vt 0.008127 0.363235 +vt 0.034550 0.363235 +vt 0.538459 0.356646 +vt 0.538459 0.689338 +vt 0.512036 0.689339 +vt 0.410429 0.356646 +vt 0.410429 0.689338 +vt 0.384006 0.689338 +vt 0.705028 0.363235 +vt 0.705028 0.695927 +vt 0.678605 0.695927 +vt 0.199804 0.356646 +vt 0.199804 0.689338 +vt 0.173381 0.689338 +vt 0.367753 0.356646 +vt 0.367753 0.689339 +vt 0.341329 0.689338 +vt 0.469359 0.689338 +vt 0.469359 0.356646 +vt 0.495782 0.356646 +vt 0.934664 0.698823 +vt 0.936646 0.664144 +vt 0.953821 0.664144 +vt 0.763958 0.856059 +vt 0.766600 0.656017 +vt 0.787739 0.656017 +vt 0.875734 0.640048 +vt 0.849311 0.640048 +vt 0.851953 0.440006 +vt 0.891988 0.640048 +vt 0.894630 0.440006 +vt 0.915769 0.440006 +vt 0.891988 0.856059 +vt 0.894630 0.656017 +vt 0.915769 0.656017 +vt 0.849311 0.424037 +vt 0.851953 0.223995 +vt 0.873092 0.223995 +vt 0.918411 0.208026 +vt 0.891988 0.208026 +vt 0.894630 0.007985 +vt 0.891988 0.424037 +vt 0.894630 0.223995 +vt 0.915769 0.223995 +vt 0.790381 0.208026 +vt 0.763958 0.208026 +vt 0.766600 0.007985 +vt 0.833058 0.640048 +vt 0.806634 0.640048 +vt 0.809277 0.440006 +vt 0.875734 0.007985 +vt 0.873093 0.208026 +vt 0.851954 0.208026 +vt 0.763958 0.640048 +vt 0.766600 0.440006 +vt 0.787739 0.440006 +vt 0.806634 0.424037 +vt 0.809277 0.223995 +vt 0.830416 0.223995 +vt 0.806634 0.208026 +vt 0.809277 0.007985 +vt 0.830416 0.007985 +vt 0.833058 0.856059 +vt 0.806634 0.856059 +vt 0.809277 0.656017 +vt 0.790381 0.424037 +vt 0.763958 0.424037 +vt 0.766600 0.223995 +vt 0.989231 0.605883 +vt 0.972056 0.605883 +vt 0.970735 0.571980 +vt 0.955803 0.800121 +vt 0.934664 0.800121 +vt 0.936646 0.765441 +vt 0.469359 0.955572 +vt 0.471341 0.920892 +vt 0.488516 0.920892 +vt 0.934664 0.957356 +vt 0.936646 0.922677 +vt 0.953821 0.922677 +vt 0.556033 0.955572 +vt 0.558015 0.920892 +vt 0.575190 0.920892 +vt 0.341329 0.903646 +vt 0.362468 0.903646 +vt 0.360486 0.938325 +vt 0.539780 0.955572 +vt 0.518641 0.955572 +vt 0.520623 0.920892 +vt 0.614564 0.955572 +vt 0.593425 0.955572 +vt 0.595407 0.920892 +vt 0.721281 0.955571 +vt 0.723263 0.920892 +vt 0.740438 0.920892 +vt 0.934664 0.906707 +vt 0.936646 0.872028 +vt 0.953821 0.872028 +vt 0.194520 0.955572 +vt 0.173381 0.955572 +vt 0.175363 0.920892 +vt 0.089464 0.962160 +vt 0.091446 0.927481 +vt 0.108621 0.927481 +vt 0.955803 0.749472 +vt 0.934664 0.749472 +vt 0.936646 0.714792 +vt 0.934664 0.850769 +vt 0.936646 0.816090 +vt 0.953821 0.816090 +vt 0.384006 0.903646 +vt 0.405145 0.903646 +vt 0.403163 0.938325 +vt 0.442536 0.938325 +vt 0.421398 0.938325 +vt 0.423379 0.903646 +vt 0.193199 0.705308 +vt 0.193199 0.904923 +vt 0.173381 0.904923 +vt 0.697101 0.935425 +vt 0.698422 0.969328 +vt 0.678605 0.969328 +vt 0.989231 0.472235 +vt 0.990552 0.506138 +vt 0.970735 0.506138 +vt 0.270624 0.935425 +vt 0.271946 0.969328 +vt 0.252128 0.969328 +vt 0.062694 0.933454 +vt 0.064015 0.967357 +vt 0.044197 0.967357 +vt 0.972056 0.173000 +vt 0.989231 0.173000 +vt 0.990552 0.206903 +vt 0.234554 0.935425 +vt 0.235875 0.969328 +vt 0.216058 0.969328 +vt 0.989231 0.272745 +vt 0.990552 0.306648 +vt 0.970735 0.306648 +vt 0.989231 0.522107 +vt 0.990552 0.556011 +vt 0.970735 0.556011 +vt 0.972056 0.372490 +vt 0.989231 0.372490 +vt 0.990552 0.406393 +vt 0.990552 0.664144 +vt 0.991873 0.698047 +vt 0.972056 0.698047 +vt 0.009448 0.961384 +vt 0.008127 0.927481 +vt 0.027944 0.927481 +vt 0.973377 0.748696 +vt 0.972056 0.714792 +vt 0.991873 0.714792 +vt 0.972056 0.456266 +vt 0.970735 0.422362 +vt 0.990552 0.422362 +vt 0.972056 0.356521 +vt 0.970735 0.322617 +vt 0.990552 0.322617 +vt 0.972056 0.256776 +vt 0.970735 0.222872 +vt 0.990552 0.222872 +vt 0.954482 0.539032 +vt 0.934664 0.539032 +vt 0.938628 0.500429 +vt 0.554712 0.904923 +vt 0.554712 0.705308 +vt 0.574530 0.705308 +vt 0.050803 0.562850 +vt 0.050803 0.363235 +vt 0.070621 0.363235 +vt 0.110603 0.711896 +vt 0.110603 0.911511 +vt 0.090786 0.911511 +vt 0.518641 0.904923 +vt 0.518641 0.705308 +vt 0.538459 0.705308 +vt 0.659883 0.356646 +vt 0.659883 0.556262 +vt 0.640065 0.556262 +vt 0.597389 0.904923 +vt 0.597389 0.705308 +vt 0.617206 0.705308 +vt 0.153280 0.356646 +vt 0.153280 0.556261 +vt 0.133462 0.556262 +vt 0.321228 0.356646 +vt 0.321228 0.556262 +vt 0.301411 0.556261 +vt 0.027944 0.711896 +vt 0.027944 0.911511 +vt 0.008127 0.911511 +vt 0.133462 0.771846 +vt 0.133462 0.572231 +vt 0.153280 0.572231 +vt 0.070621 0.578819 +vt 0.070621 0.778435 +vt 0.050803 0.778435 +vt 0.659883 0.572231 +vt 0.659883 0.771846 +vt 0.640065 0.771846 +vt 0.741099 0.705308 +vt 0.741099 0.904923 +vt 0.721281 0.904923 +vt 0.489177 0.904923 +vt 0.469359 0.904923 +vt 0.469359 0.705308 +vt 0.321228 0.572231 +vt 0.321228 0.771846 +vt 0.301411 0.771846 +vt 0.977341 0.009881 +vt 0.989073 0.007985 +vt 0.989073 0.043971 +vt 0.954482 0.609572 +vt 0.950518 0.648175 +vt 0.938628 0.648175 +vt 0.954482 0.320745 +vt 0.934664 0.320745 +vt 0.938628 0.282143 +vt 0.301411 0.826418 +vt 0.305374 0.787815 +vt 0.317265 0.787815 +vt 0.934664 0.484460 +vt 0.938627 0.445858 +vt 0.950518 0.445858 +vt 0.678605 0.880853 +vt 0.698422 0.880853 +vt 0.694459 0.919456 +vt 0.258734 0.919456 +vt 0.262698 0.880854 +vt 0.274588 0.880853 +vt 0.954482 0.375317 +vt 0.934664 0.375317 +vt 0.938627 0.336715 +vt 0.301411 0.880989 +vt 0.305374 0.842387 +vt 0.317265 0.842387 +vt 0.954482 0.266174 +vt 0.934664 0.266174 +vt 0.938628 0.227572 +vt 0.954482 0.211602 +vt 0.934664 0.211602 +vt 0.938627 0.173000 +vt 0.321228 0.935561 +vt 0.301411 0.935561 +vt 0.305374 0.896959 +vt 0.934664 0.593603 +vt 0.938628 0.555001 +vt 0.950518 0.555001 +vt 0.934664 0.429888 +vt 0.938628 0.391286 +vt 0.950518 0.391286 +vt 0.064015 0.878883 +vt 0.060051 0.917485 +vt 0.048161 0.917485 +vt 0.216058 0.880854 +vt 0.235875 0.880853 +vt 0.231912 0.919456 +vt 0.972056 0.906118 +vt 0.983789 0.872028 +vt 0.983789 0.908014 +vt 0.989073 0.059940 +vt 0.989073 0.095926 +vt 0.977341 0.061836 +vt 0.763958 0.992015 +vt 0.769903 0.956506 +vt 0.775848 0.992015 +vt 0.806634 0.992015 +vt 0.812580 0.956507 +vt 0.818525 0.992015 +vt 0.633459 0.990311 +vt 0.639405 0.954802 +vt 0.645350 0.990311 +vt 0.989073 0.111895 +vt 0.989073 0.147881 +vt 0.977341 0.113792 +vt 0.397459 0.989803 +vt 0.403404 0.954294 +vt 0.409349 0.989803 +vt 0.972056 0.850710 +vt 0.983789 0.816620 +vt 0.983789 0.852607 +vt 0.972056 0.798755 +vt 0.983789 0.764665 +vt 0.983789 0.800651 +vt 0.425602 0.989803 +vt 0.431548 0.954294 +vt 0.437493 0.989803 +vt 0.369315 0.989803 +vt 0.375261 0.954294 +vt 0.381206 0.989803 +vt 0.126856 0.990311 +vt 0.132802 0.954802 +vt 0.138747 0.990311 +vt 0.972056 0.958073 +vt 0.983789 0.923983 +vt 0.983789 0.959969 +vt 0.341329 0.988384 +vt 0.353062 0.954294 +vt 0.353062 0.990280 +vt 0.313143 0.951530 +vt 0.313143 0.987516 +vt 0.301411 0.953427 +vt 0.934664 0.090492 +vt 0.961087 0.090492 +vt 0.961087 0.157031 +vt 0.633459 0.872294 +vt 0.659883 0.872294 +vt 0.659883 0.938832 +vt 0.934664 0.007985 +vt 0.961087 0.007985 +vt 0.961087 0.074523 +vt 0.410429 0.340677 +vt 0.342708 0.340677 +vt 0.410429 0.007985 +vt 0.153280 0.938832 +vt 0.126856 0.938832 +vt 0.126856 0.872294 +vt 0.090786 0.340677 +vt 0.090786 0.007985 +vt 0.158507 0.340677 +vt 0.578378 0.340677 +vt 0.510657 0.340677 +vt 0.578378 0.007985 +vt 0.174760 0.340677 +vt 0.174760 0.007985 +vt 0.242481 0.340677 +vt 0.662352 0.340677 +vt 0.594631 0.340677 +vt 0.662352 0.007985 +vt 0.326455 0.340677 +vt 0.258734 0.007985 +vt 0.326455 0.007985 +vt 0.426682 0.007985 +vt 0.494404 0.007985 +vt 0.426682 0.340677 +vt 0.008127 0.334216 +vt 0.074533 0.007985 +vt 0.074533 0.347266 +vt 0.090786 0.356646 +vt 0.117209 0.356646 +vt 0.117209 0.695927 +vt 0.242481 0.695927 +vt 0.216058 0.695927 +vt 0.216058 0.356646 +vt 0.705028 0.347265 +vt 0.678605 0.347265 +vt 0.678605 0.007985 +vt 0.285158 0.356646 +vt 0.285158 0.695927 +vt 0.258734 0.695927 +vt 0.852614 0.940537 +vt 0.047500 0.862913 +vt 0.787078 0.872028 +vt 0.701725 0.796375 +vt 0.829755 0.872028 +vt 0.449803 0.819167 +vt 0.407126 0.887676 +vt 0.281855 0.864884 +vt 0.239178 0.796375 +vt 0.364450 0.819167 +vt 0.636762 0.787815 +vt 0.219360 0.711896 +vt 0.701725 0.711896 +vt 0.149977 0.787815 +vt 0.721281 0.007985 +vt 0.895290 0.872028 +vt 0.281855 0.711896 +vt 0.433375 0.726528 +vt 0.440959 0.744517 +vt 0.440959 0.763988 +vt 0.433375 0.781978 +vt 0.419362 0.795746 +vt 0.362926 0.795746 +vt 0.401053 0.803198 +vt 0.381235 0.803198 +vt 0.348913 0.781978 +vt 0.341329 0.744517 +vt 0.362926 0.712759 +vt 0.381235 0.705308 +vt 0.401053 0.705308 +vt 0.875734 0.856059 +vt 0.426682 0.356646 +vt 0.747705 0.689338 +vt 0.554712 0.356646 +vt 0.597389 0.356646 +vt 0.034550 0.695927 +vt 0.512035 0.356646 +vt 0.384006 0.356646 +vt 0.678605 0.363235 +vt 0.173381 0.356646 +vt 0.341329 0.356646 +vt 0.495782 0.689338 +vt 0.955803 0.698823 +vt 0.790381 0.856059 +vt 0.873092 0.440006 +vt 0.918411 0.640048 +vt 0.918411 0.856059 +vt 0.875734 0.424037 +vt 0.915769 0.007985 +vt 0.918411 0.424037 +vt 0.787739 0.007985 +vt 0.830416 0.440006 +vt 0.849311 0.007985 +vt 0.790381 0.640048 +vt 0.833058 0.424037 +vt 0.833058 0.208026 +vt 0.830416 0.656017 +vt 0.787739 0.223995 +vt 0.990552 0.571980 +vt 0.953821 0.765441 +vt 0.490498 0.955572 +vt 0.955803 0.957356 +vt 0.577172 0.955572 +vt 0.343311 0.938325 +vt 0.537798 0.920892 +vt 0.612582 0.920892 +vt 0.742420 0.955571 +vt 0.955803 0.906707 +vt 0.192538 0.920892 +vt 0.110603 0.962160 +vt 0.953821 0.714793 +vt 0.955803 0.850769 +vt 0.385988 0.938325 +vt 0.440555 0.903646 +vt 0.173381 0.705308 +vt 0.679926 0.935425 +vt 0.972056 0.472235 +vt 0.253449 0.935425 +vt 0.045518 0.933454 +vt 0.970735 0.206903 +vt 0.217379 0.935425 +vt 0.972056 0.272745 +vt 0.972056 0.522107 +vt 0.970735 0.406393 +vt 0.973377 0.664144 +vt 0.026623 0.961384 +vt 0.990552 0.748696 +vt 0.989231 0.456266 +vt 0.989231 0.356521 +vt 0.989231 0.256776 +vt 0.950518 0.500429 +vt 0.574530 0.904923 +vt 0.070621 0.562850 +vt 0.090786 0.711896 +vt 0.538459 0.904923 +vt 0.640065 0.356646 +vt 0.617206 0.904923 +vt 0.133462 0.356646 +vt 0.301411 0.356646 +vt 0.008127 0.711896 +vt 0.153280 0.771846 +vt 0.050803 0.578819 +vt 0.640065 0.572231 +vt 0.721281 0.705307 +vt 0.489177 0.705308 +vt 0.301411 0.572231 +vt 0.934664 0.609572 +vt 0.950518 0.282143 +vt 0.321228 0.826418 +vt 0.954482 0.484460 +vt 0.682568 0.919456 +vt 0.278552 0.919456 +vt 0.950518 0.336715 +vt 0.321228 0.880989 +vt 0.950518 0.227572 +vt 0.950518 0.173000 +vt 0.317265 0.896959 +vt 0.954482 0.593603 +vt 0.954482 0.429888 +vt 0.044197 0.878883 +vt 0.220021 0.919456 +vt 0.934664 0.157031 +vt 0.633459 0.938832 +vt 0.934664 0.074523 +vt 0.153280 0.872294 +vt 0.090786 0.695927 +vt 0.242481 0.356646 +vt 0.705028 0.007985 +vt 0.258734 0.356646 +vn 0.000000 -0.238100 -0.971200 +vn 0.371700 -0.238100 -0.897300 +vn 0.686800 -0.238100 -0.686800 +vn 0.897300 -0.238100 -0.371700 +vn 0.971200 -0.238100 0.000000 +vn 0.897300 -0.238100 0.371700 +vn 0.686800 -0.238100 0.686800 +vn 0.371700 -0.238100 0.897300 +vn 0.000000 -0.238100 0.971200 +vn -0.371700 -0.238100 0.897300 +vn -0.686800 -0.238100 0.686800 +vn -0.897300 -0.238100 0.371700 +vn -0.971200 -0.238100 0.000000 +vn -0.897300 -0.238100 -0.371700 +vn 0.923900 0.000000 0.382700 +vn -0.371700 -0.238100 -0.897300 +vn -0.686800 -0.238100 -0.686800 +vn 0.000000 -1.000000 0.000000 +vn 0.705600 0.065200 0.705600 +vn -0.707100 0.000000 0.707100 +vn -0.382700 0.000000 -0.923900 +vn 0.923900 0.000000 -0.382700 +vn -0.923900 0.000000 -0.382700 +vn 0.382700 -0.000000 -0.923900 +vn 0.707100 0.000000 0.707100 +vn -0.923900 0.000000 0.382700 +vn -0.382700 0.000000 0.923900 +vn -0.707100 0.000000 -0.707100 +vn 0.707100 0.000000 -0.707100 +vn 0.382700 0.000000 0.923900 +vn -0.886300 0.282300 0.367100 +vn -0.705600 0.065200 -0.705600 +vn 0.381900 0.065200 0.921900 +vn 0.000000 0.065200 -0.997900 +vn -0.381900 0.065200 -0.921900 +vn 0.000000 0.065200 0.997900 +vn 0.381900 0.065200 -0.921900 +vn -0.381900 0.065200 0.921900 +vn 0.705600 0.065200 -0.705600 +vn -0.705600 0.065200 0.705600 +vn 0.921900 0.065200 -0.381900 +vn -0.921900 0.065200 0.381900 +vn 0.997900 0.065200 0.000000 +vn -0.997900 0.065200 -0.000000 +vn 0.921900 0.065200 0.381900 +vn -0.921900 0.065200 -0.381900 +vn -0.375500 -0.192500 0.906600 +vn 0.959300 0.282300 0.000000 +vn -0.959300 0.282300 0.000000 +vn 0.886300 0.282300 0.367100 +vn -0.886300 0.282300 -0.367100 +vn 0.678400 0.282300 0.678400 +vn -0.678400 0.282300 -0.678400 +vn 0.367100 0.282300 0.886300 +vn -0.000000 0.282300 -0.959300 +vn -0.367100 0.282300 -0.886300 +vn 0.000000 0.282300 0.959300 +vn 0.367100 0.282300 -0.886300 +vn -0.367100 0.282300 0.886300 +vn 0.678400 0.282300 -0.678400 +vn -0.678400 0.282300 0.678400 +vn 0.886300 0.282300 -0.367100 +vn 0.693900 -0.192500 -0.693900 +vn -0.693900 -0.192500 0.693900 +vn 0.906600 -0.192500 -0.375500 +vn -0.906600 -0.192500 0.375500 +vn 0.981300 -0.192500 0.000000 +vn -0.981300 -0.192500 0.000000 +vn 0.906600 -0.192500 0.375500 +vn -0.906600 -0.192500 -0.375500 +vn 0.693900 -0.192500 0.693900 +vn -0.693900 -0.192500 -0.693900 +vn 0.375500 -0.192500 0.906600 +vn -0.000000 -0.192500 -0.981300 +vn -0.375500 -0.192500 -0.906600 +vn 0.000000 -0.192500 0.981300 +vn 0.375500 -0.192500 -0.906600 +vn 0.861800 0.507200 0.000000 +vn -0.000000 -0.000000 -1.000000 +vn 0.000000 0.000000 1.000000 +vn 1.000000 -0.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.519400 0.827000 -0.215100 +vn -0.861800 0.507200 -0.000000 +vn 0.796200 0.507200 0.329800 +vn -0.796200 0.507200 -0.329800 +vn 0.609400 0.507200 0.609400 +vn -0.609400 0.507200 -0.609400 +vn 0.329800 0.507200 0.796200 +vn 0.000000 0.507200 -0.861800 +vn -0.329800 0.507200 -0.796200 +vn 0.000000 0.507200 0.861800 +vn 0.329800 0.507200 -0.796200 +vn -0.329800 0.507200 0.796200 +vn 0.609400 0.507200 -0.609400 +vn -0.609400 0.507200 0.609400 +vn 0.796200 0.507200 -0.329800 +vn -0.796200 0.507200 0.329800 +vn 0.397500 0.827000 -0.397500 +vn 0.397500 0.827000 0.397500 +vn 0.519400 0.827000 0.215100 +vn 0.562200 0.827000 0.000000 +vn 0.215100 0.827000 0.519400 +vn 0.000000 0.827000 0.562200 +vn -0.215100 0.827000 0.519400 +vn -0.397500 0.827000 0.397500 +vn -0.519400 0.827000 0.215100 +vn -0.562200 0.827000 0.000000 +vn -0.519400 0.827000 -0.215100 +vn -0.397500 0.827000 -0.397500 +vn -0.215100 0.827000 -0.519400 +vn 0.000000 0.827000 -0.562200 +vn 0.215100 0.827000 -0.519400 +vn 0.980600 0.196100 0.000000 +vn 0.000000 0.196100 -0.980600 +vn -0.980600 0.196100 0.000000 +vn 0.000000 0.196100 0.980600 +s off +f 2/1/1 4/2/1 3/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 10/13/5 12/14/5 11/15/5 +f 12/16/6 14/17/6 13/18/6 +f 13/19/7 14/20/7 16/21/7 +f 15/22/8 16/23/8 18/24/8 +f 18/25/9 20/26/9 19/27/9 +f 20/28/10 22/29/10 21/30/10 +f 21/31/11 22/32/11 24/33/11 +f 23/34/12 24/35/12 26/36/12 +f 26/37/13 28/38/13 27/39/13 +f 28/40/14 30/41/14 29/42/14 +f 12/43/15 38/44/15 39/45/15 +f 31/46/16 32/47/16 2/48/16 +f 30/49/17 32/50/17 31/51/17 +f 19/52/18 23/53/18 31/54/18 +f 39/55/19 55/56/19 56/57/19 +f 22/58/20 43/59/20 44/60/20 +f 32/61/21 48/62/21 34/63/21 +f 8/64/22 36/65/22 37/66/22 +f 28/67/23 46/68/23 47/69/23 +f 4/70/24 33/71/24 35/72/24 +f 14/73/25 39/74/25 40/75/25 +f 24/76/26 44/77/26 45/78/26 +f 20/79/27 42/80/27 43/81/27 +f 30/82/28 47/83/28 48/84/28 +f 6/85/29 35/86/29 36/87/29 +f 16/88/30 40/89/30 41/90/30 +f 60/91/31 76/92/31 77/93/31 +f 47/94/32 63/95/32 64/96/32 +f 41/97/33 40/98/33 56/99/33 +f 34/100/34 50/101/34 49/102/34 +f 48/103/35 64/104/35 50/105/35 +f 41/106/36 57/107/36 58/108/36 +f 35/109/37 33/110/37 49/111/37 +f 42/112/38 58/113/38 59/114/38 +f 36/115/39 35/116/39 51/117/39 +f 44/118/40 43/119/40 59/120/40 +f 36/121/41 52/122/41 53/123/41 +f 44/124/42 60/125/42 61/126/42 +f 37/127/43 53/128/43 54/129/43 +f 45/130/44 61/131/44 62/132/44 +f 39/133/45 38/134/45 54/135/45 +f 47/136/46 46/137/46 62/138/46 +f 75/139/47 74/140/47 90/141/47 +f 54/142/48 53/143/48 69/144/48 +f 61/145/49 77/146/49 78/147/49 +f 54/148/50 70/149/50 71/150/50 +f 62/151/51 78/152/51 79/153/51 +f 56/154/52 55/155/52 71/156/52 +f 64/157/53 63/158/53 79/159/53 +f 57/160/54 56/161/54 72/162/54 +f 50/163/55 66/164/55 65/165/55 +f 64/166/56 80/167/56 66/168/56 +f 58/169/57 57/170/57 73/171/57 +f 49/172/58 65/173/58 67/174/58 +f 59/175/59 58/176/59 74/177/59 +f 51/178/60 67/179/60 68/180/60 +f 60/181/61 59/182/61 75/183/61 +f 53/184/62 52/185/62 68/186/62 +f 95/187/28 111/188/28 112/189/28 +f 67/190/63 83/191/63 84/192/63 +f 75/193/64 91/194/64 92/195/64 +f 68/196/65 84/197/65 85/198/65 +f 76/199/66 92/200/66 93/201/66 +f 70/202/67 69/203/67 85/204/67 +f 77/205/68 93/206/68 94/207/68 +f 70/208/69 86/209/69 87/210/69 +f 78/211/70 94/212/70 95/213/70 +f 72/214/71 71/215/71 87/216/71 +f 79/217/72 95/218/72 96/219/72 +f 72/220/73 88/221/73 89/222/73 +f 66/223/74 82/224/74 81/225/74 +f 80/226/75 96/227/75 82/228/75 +f 73/229/76 89/230/76 90/231/76 +f 65/232/77 81/233/77 83/234/77 +f 102/235/78 101/236/78 117/237/78 +f 88/238/30 104/239/30 105/240/30 +f 82/241/79 98/242/79 97/243/79 +f 96/244/21 112/245/21 98/246/21 +f 89/247/80 105/248/80 106/249/80 +f 81/250/24 97/251/24 99/252/24 +f 90/253/27 106/254/27 107/255/27 +f 83/256/29 99/257/29 100/258/29 +f 91/259/20 107/260/20 108/261/20 +f 84/262/22 100/263/22 101/264/22 +f 92/265/26 108/266/26 109/267/26 +f 85/268/81 101/269/81 102/270/81 +f 93/271/82 109/272/82 110/273/82 +f 86/274/15 102/275/15 103/276/15 +f 95/277/23 94/278/23 110/279/23 +f 87/280/25 103/281/25 104/282/25 +f 117/283/83 116/284/83 129/285/83 +f 109/286/84 125/287/84 126/288/84 +f 103/289/85 102/290/85 118/291/85 +f 110/292/86 126/293/86 127/294/86 +f 103/295/87 119/296/87 120/297/87 +f 112/298/88 111/299/88 127/300/88 +f 104/301/89 120/302/89 121/303/89 +f 97/304/90 98/305/90 114/306/90 +f 112/307/91 128/308/91 114/309/91 +f 106/310/92 105/311/92 121/312/92 +f 99/313/93 97/314/93 113/315/93 +f 107/316/94 106/317/94 122/318/94 +f 99/319/95 115/320/95 116/321/95 +f 107/322/96 123/323/96 124/324/96 +f 100/325/97 116/326/97 117/327/97 +f 109/328/98 108/329/98 124/330/98 +f 115/331/99 129/332/99 116/333/99 +f 119/334/100 129/335/100 120/336/100 +f 118/337/101 129/338/101 119/339/101 +f 117/340/102 129/341/102 118/342/102 +f 120/343/103 129/344/103 121/345/103 +f 121/346/104 129/347/104 122/348/104 +f 122/349/105 129/350/105 123/351/105 +f 123/352/106 129/353/106 124/354/106 +f 124/355/107 129/356/107 125/357/107 +f 125/358/108 129/359/108 126/360/108 +f 126/361/109 129/362/109 127/363/109 +f 127/364/110 129/365/110 128/366/110 +f 128/367/111 129/368/111 114/369/111 +f 114/370/112 129/371/112 113/372/112 +f 113/373/113 129/374/113 115/375/113 +f 131/376/18 130/377/18 20/378/18 +f 133/379/18 132/380/18 12/381/18 +f 135/382/18 134/383/18 4/384/18 +f 4/385/81 134/386/81 33/387/81 +f 137/388/18 136/389/18 28/390/18 +f 2/391/82 34/392/82 135/393/82 +f 28/394/79 136/395/79 46/396/79 +f 26/397/80 45/398/80 137/399/80 +f 20/400/82 130/401/82 42/402/82 +f 41/403/81 131/404/81 18/405/81 +f 12/406/80 132/407/80 38/408/80 +f 10/409/79 37/410/79 133/411/79 +f 132/412/114 133/413/114 37/414/114 +f 134/415/115 135/416/115 34/417/115 +f 136/418/116 137/419/116 45/420/116 +f 42/421/117 130/422/117 131/423/117 +f 1/424/1 2/1/1 3/3/1 +f 3/425/2 4/4/2 5/6/2 +f 5/426/3 6/7/3 7/9/3 +f 7/427/4 8/10/4 9/12/4 +f 9/428/5 10/13/5 11/15/5 +f 11/429/6 12/16/6 13/18/6 +f 15/430/7 13/19/7 16/21/7 +f 17/431/8 15/22/8 18/24/8 +f 17/432/9 18/25/9 19/27/9 +f 19/433/10 20/28/10 21/30/10 +f 23/434/11 21/31/11 24/33/11 +f 25/435/12 23/34/12 26/36/12 +f 25/436/13 26/37/13 27/39/13 +f 27/437/14 28/40/14 29/42/14 +f 14/438/15 12/43/15 39/45/15 +f 1/439/16 31/46/16 2/48/16 +f 29/440/17 30/49/17 31/51/17 +f 31/54/18 1/441/18 3/442/18 +f 3/442/18 5/443/18 7/444/18 +f 7/444/18 9/445/18 15/446/18 +f 11/447/18 13/448/18 15/446/18 +f 15/446/18 17/449/18 19/52/18 +f 19/52/18 21/450/18 23/53/18 +f 23/53/18 25/451/18 31/54/18 +f 27/452/18 29/453/18 31/54/18 +f 31/54/18 3/442/18 15/446/18 +f 9/445/18 11/447/18 15/446/18 +f 15/446/18 19/52/18 31/54/18 +f 25/451/18 27/452/18 31/54/18 +f 3/442/18 7/444/18 15/446/18 +f 40/454/19 39/55/19 56/57/19 +f 24/455/20 22/58/20 44/60/20 +f 2/456/21 32/61/21 34/63/21 +f 10/457/22 8/64/22 37/66/22 +f 30/458/23 28/67/23 47/69/23 +f 6/459/24 4/70/24 35/72/24 +f 16/460/25 14/73/25 40/75/25 +f 26/461/26 24/76/26 45/78/26 +f 22/462/27 20/79/27 43/81/27 +f 32/463/28 30/82/28 48/84/28 +f 8/464/29 6/85/29 36/87/29 +f 18/465/30 16/88/30 41/90/30 +f 61/466/31 60/91/31 77/93/31 +f 48/467/32 47/94/32 64/96/32 +f 57/468/33 41/97/33 56/99/33 +f 33/469/34 34/100/34 49/102/34 +f 34/470/35 48/103/35 50/105/35 +f 42/471/36 41/106/36 58/108/36 +f 51/472/37 35/109/37 49/111/37 +f 43/473/38 42/112/38 59/114/38 +f 52/474/39 36/115/39 51/117/39 +f 60/475/40 44/118/40 59/120/40 +f 37/476/41 36/121/41 53/123/41 +f 45/477/42 44/124/42 61/126/42 +f 38/478/43 37/127/43 54/129/43 +f 46/479/44 45/130/44 62/132/44 +f 55/480/45 39/133/45 54/135/45 +f 63/481/46 47/136/46 62/138/46 +f 91/482/47 75/139/47 90/141/47 +f 70/483/48 54/142/48 69/144/48 +f 62/484/49 61/145/49 78/147/49 +f 55/485/50 54/148/50 71/150/50 +f 63/486/51 62/151/51 79/153/51 +f 72/487/52 56/154/52 71/156/52 +f 80/488/53 64/157/53 79/159/53 +f 73/489/54 57/160/54 72/162/54 +f 49/490/55 50/163/55 65/165/55 +f 50/491/56 64/166/56 66/168/56 +f 74/492/57 58/169/57 73/171/57 +f 51/493/58 49/172/58 67/174/58 +f 75/494/59 59/175/59 74/177/59 +f 52/495/60 51/178/60 68/180/60 +f 76/496/61 60/181/61 75/183/61 +f 69/497/62 53/184/62 68/186/62 +f 96/498/28 95/187/28 112/189/28 +f 68/499/63 67/190/63 84/192/63 +f 76/500/64 75/193/64 92/195/64 +f 69/501/65 68/196/65 85/198/65 +f 77/502/66 76/199/66 93/201/66 +f 86/503/67 70/202/67 85/204/67 +f 78/504/68 77/205/68 94/207/68 +f 71/505/69 70/208/69 87/210/69 +f 79/506/70 78/211/70 95/213/70 +f 88/507/71 72/214/71 87/216/71 +f 80/508/72 79/217/72 96/219/72 +f 73/509/73 72/220/73 89/222/73 +f 65/510/74 66/223/74 81/225/74 +f 66/511/75 80/226/75 82/228/75 +f 74/512/76 73/229/76 90/231/76 +f 67/513/77 65/232/77 83/234/77 +f 118/514/78 102/235/78 117/237/78 +f 89/515/30 88/238/30 105/240/30 +f 81/516/79 82/241/79 97/243/79 +f 82/517/21 96/244/21 98/246/21 +f 90/518/80 89/247/80 106/249/80 +f 83/519/24 81/250/24 99/252/24 +f 91/520/27 90/253/27 107/255/27 +f 84/521/29 83/256/29 100/258/29 +f 92/522/20 91/259/20 108/261/20 +f 85/523/22 84/262/22 101/264/22 +f 93/524/26 92/265/26 109/267/26 +f 86/525/81 85/268/81 102/270/81 +f 94/526/82 93/271/82 110/273/82 +f 87/527/15 86/274/15 103/276/15 +f 111/528/23 95/277/23 110/279/23 +f 88/529/25 87/280/25 104/282/25 +f 110/530/84 109/286/84 126/288/84 +f 119/531/85 103/289/85 118/291/85 +f 111/532/86 110/292/86 127/294/86 +f 104/533/87 103/295/87 120/297/87 +f 128/534/88 112/298/88 127/300/88 +f 105/535/89 104/301/89 121/303/89 +f 113/536/90 97/304/90 114/306/90 +f 98/537/91 112/307/91 114/309/91 +f 122/538/92 106/310/92 121/312/92 +f 115/539/93 99/313/93 113/315/93 +f 123/540/94 107/316/94 122/318/94 +f 100/541/95 99/319/95 116/321/95 +f 108/542/96 107/322/96 124/324/96 +f 101/543/97 100/325/97 117/327/97 +f 125/544/98 109/328/98 124/330/98 +f 18/545/18 131/376/18 20/378/18 +f 10/546/18 133/379/18 12/381/18 +f 2/547/18 135/382/18 4/384/18 +f 26/548/18 137/388/18 28/390/18 +f 38/549/114 132/412/114 37/414/114 +f 33/550/115 134/415/115 34/417/115 +f 46/551/116 136/418/116 45/420/116 +f 41/552/117 42/421/117 131/423/117 diff --git a/assets/hbm/models/MissileV2.obj b/assets/hbm/models/MissileV2.obj new file mode 100644 index 000000000..7c4066a01 --- /dev/null +++ b/assets/hbm/models/MissileV2.obj @@ -0,0 +1,749 @@ +# Blender v2.70 (sub 0) OBJ File: 'MissileV2.blend' +# www.blender.org +o Cylinder +v -0.209697 0.250000 -0.310889 +v -0.099684 1.750000 -0.489962 +v -0.312707 0.250000 -0.206976 +v 0.095404 1.750000 -0.490814 +v -0.368110 0.250000 -0.071553 +v 0.275968 1.750000 -0.416943 +v -0.367472 0.250000 0.074763 +v 0.414519 1.750000 -0.279596 +v -0.310889 0.250000 0.209697 +v 0.489962 1.750000 -0.099684 +v -0.206976 0.250000 0.312707 +v 0.490814 1.750000 0.095405 +v -0.071553 0.250000 0.368110 +v 0.416943 1.750000 0.275968 +v 0.074763 0.250000 0.367472 +v 0.279597 1.750000 0.414519 +v 0.209697 0.250000 0.310889 +v 0.099684 1.750000 0.489962 +v 0.312707 0.250000 0.206976 +v -0.095404 1.750000 0.490814 +v 0.368110 0.250000 0.071553 +v -0.275968 1.750000 0.416943 +v 0.367472 0.250000 -0.074763 +v -0.414519 1.750000 0.279597 +v 0.310889 0.250000 -0.209697 +v -0.489962 1.750000 0.099684 +v 0.206976 0.250000 -0.312707 +v -0.490814 1.750000 -0.095405 +v 0.071553 0.250000 -0.368110 +v -0.416943 1.750000 -0.275969 +v -0.074763 0.250000 -0.367472 +v -0.279596 1.750000 -0.414519 +v -0.099684 3.250000 -0.489962 +v 0.095405 3.250000 -0.490814 +v 0.275968 3.250000 -0.416943 +v 0.414519 3.250000 -0.279596 +v 0.489962 3.250000 -0.099684 +v 0.490814 3.250000 0.095405 +v 0.416943 3.250000 0.275968 +v 0.279597 3.250000 0.414519 +v 0.099684 3.250000 0.489962 +v -0.095404 3.250000 0.490814 +v -0.275968 3.250000 0.416943 +v -0.414519 3.250000 0.279597 +v -0.489962 3.250000 0.099684 +v -0.490814 3.250000 -0.095405 +v -0.416943 3.250000 -0.275969 +v -0.279596 3.250000 -0.414519 +v -0.074763 4.250000 -0.367472 +v 0.071553 4.250000 -0.368110 +v 0.206976 4.250000 -0.312707 +v 0.310889 4.250000 -0.209697 +v 0.367472 4.250000 -0.074763 +v 0.368110 4.250000 0.071553 +v 0.312707 4.250000 0.206976 +v 0.209697 4.250000 0.310889 +v 0.074763 4.250000 0.367472 +v -0.071553 4.250000 0.368110 +v -0.206976 4.250000 0.312707 +v -0.310889 4.250000 0.209697 +v -0.367472 4.250000 0.074763 +v -0.368110 4.250000 -0.071553 +v -0.312707 4.250000 -0.206976 +v -0.209697 4.250000 -0.310889 +v 0.000000 5.250000 0.000000 +v 0.068837 0.000000 -0.990702 +v -0.077480 0.000000 -0.990064 +v 0.990702 0.000000 0.068837 +v 0.990064 0.000000 -0.077480 +v -0.990702 0.000000 -0.068837 +v -0.990064 0.000000 0.077480 +v -0.068837 0.000000 0.990703 +v 0.077480 0.000000 0.990064 +v -0.157273 0.000000 -0.233167 +v -0.234530 0.000000 -0.155232 +v -0.276083 0.000000 -0.053665 +v -0.275604 0.000000 0.056072 +v -0.233167 0.000000 0.157273 +v -0.155232 0.000000 0.234530 +v -0.053665 0.000000 0.276083 +v 0.056072 0.000000 0.275604 +v 0.157273 0.000000 0.233167 +v 0.234530 0.000000 0.155232 +v 0.276083 0.000000 0.053665 +v 0.275604 0.000000 -0.056072 +v 0.233167 0.000000 -0.157273 +v 0.155232 0.000000 -0.234530 +v 0.053665 0.000000 -0.276083 +v -0.056072 0.000000 -0.275604 +vt 0.009010 0.524111 +vt 0.012672 0.299077 +vt 0.034645 0.299077 +vt 0.686308 0.476982 +vt 0.689969 0.251948 +vt 0.711942 0.251948 +vt 0.620970 0.524086 +vt 0.591673 0.524086 +vt 0.595335 0.299052 +vt 0.668287 0.251948 +vt 0.664625 0.476982 +vt 0.642652 0.476982 +vt 0.638990 0.494925 +vt 0.668287 0.494925 +vt 0.664625 0.719959 +vt 0.638990 0.008971 +vt 0.668287 0.008971 +vt 0.664625 0.234005 +vt 0.106620 0.299075 +vt 0.135916 0.299075 +vt 0.132254 0.524109 +vt 0.686308 0.719959 +vt 0.689970 0.494925 +vt 0.711942 0.494925 +vt 0.591673 0.008971 +vt 0.620970 0.008971 +vt 0.617308 0.234005 +vt 0.686308 0.008971 +vt 0.715604 0.008971 +vt 0.711942 0.234005 +vt 0.186203 0.524109 +vt 0.156906 0.524109 +vt 0.160568 0.299075 +vt 0.780942 0.719211 +vt 0.780942 0.494925 +vt 0.810239 0.494925 +vt 0.930218 0.048801 +vt 0.908245 0.048801 +vt 0.910992 0.008971 +vt 0.088599 0.524111 +vt 0.059302 0.524111 +vt 0.062965 0.299077 +vt 0.301828 0.739776 +vt 0.305490 0.589133 +vt 0.327463 0.589133 +vt 0.573653 0.589133 +vt 0.573653 0.813419 +vt 0.544356 0.813419 +vt 0.762922 0.008971 +vt 0.762922 0.233258 +vt 0.733625 0.233258 +vt 0.620970 0.542029 +vt 0.620970 0.766315 +vt 0.591673 0.766315 +vt 0.233520 0.589133 +vt 0.233520 0.813419 +vt 0.204223 0.813419 +vt 0.088599 0.542053 +vt 0.088599 0.766340 +vt 0.059302 0.766340 +vt 0.762922 0.494925 +vt 0.762922 0.719211 +vt 0.733625 0.719211 +vt 0.106620 0.766338 +vt 0.106620 0.542052 +vt 0.135916 0.542052 +vt 0.254511 0.589133 +vt 0.283808 0.589133 +vt 0.283808 0.813419 +vt 0.762922 0.252696 +vt 0.762922 0.476982 +vt 0.733625 0.476982 +vt 0.041282 0.542053 +vt 0.041282 0.766339 +vt 0.011985 0.766339 +vt 0.186203 0.542052 +vt 0.186203 0.766338 +vt 0.156906 0.766338 +vt 0.497039 0.589133 +vt 0.526335 0.589133 +vt 0.526335 0.813419 +vt 0.810239 0.008971 +vt 0.810239 0.233258 +vt 0.780942 0.233258 +vt 0.810239 0.251200 +vt 0.810239 0.475487 +vt 0.780942 0.475487 +vt 0.428730 0.589133 +vt 0.428730 0.813391 +vt 0.399434 0.813394 +vt 0.875576 0.233258 +vt 0.879238 0.082614 +vt 0.901211 0.082614 +vt 0.904873 0.494925 +vt 0.901212 0.645569 +vt 0.879239 0.645569 +vt 0.304799 0.908363 +vt 0.308461 0.757719 +vt 0.330434 0.757719 +vt 0.446750 0.908363 +vt 0.450412 0.757719 +vt 0.472385 0.757719 +vt 0.638990 0.888546 +vt 0.642652 0.737902 +vt 0.664625 0.737902 +vt 0.881810 0.887798 +vt 0.885472 0.737154 +vt 0.907445 0.737154 +vt 0.686308 0.888545 +vt 0.689970 0.737902 +vt 0.711942 0.737902 +vt 0.857556 0.645569 +vt 0.828259 0.645569 +vt 0.831921 0.494925 +vt 0.875576 0.476982 +vt 0.879239 0.326339 +vt 0.901211 0.326339 +vt 0.834493 0.887798 +vt 0.838155 0.737154 +vt 0.860128 0.737154 +vt 0.857556 0.233258 +vt 0.828259 0.233258 +vt 0.831921 0.082614 +vt 0.857556 0.401844 +vt 0.828259 0.401844 +vt 0.831921 0.251200 +vt 0.476047 0.739776 +vt 0.446750 0.739776 +vt 0.450412 0.589133 +vt 0.352116 0.757719 +vt 0.381413 0.757719 +vt 0.377751 0.908363 +vt 0.352116 0.739776 +vt 0.355779 0.589133 +vt 0.377751 0.589133 +vt 0.599049 0.942451 +vt 0.620970 0.784258 +vt 0.620970 0.943950 +vt 0.984756 0.317291 +vt 0.984756 0.476982 +vt 0.962835 0.318789 +vt 0.984756 0.494925 +vt 0.984756 0.654617 +vt 0.962835 0.496424 +vt 0.526335 0.990678 +vt 0.504363 0.990678 +vt 0.515349 0.831362 +vt 0.951048 0.737154 +vt 0.951048 0.896846 +vt 0.929127 0.738653 +vt 0.399434 0.989530 +vt 0.421355 0.831337 +vt 0.421355 0.991029 +vt 0.128541 0.784281 +vt 0.128541 0.943973 +vt 0.106620 0.785780 +vt 0.990990 0.737154 +vt 0.990990 0.896846 +vt 0.969069 0.738653 +vt 0.984756 0.139656 +vt 0.984756 0.299348 +vt 0.962835 0.141155 +vt 0.033906 0.784282 +vt 0.033906 0.943974 +vt 0.011985 0.785781 +vt 0.156906 0.942474 +vt 0.178827 0.784281 +vt 0.178827 0.943973 +vt 0.922894 0.231759 +vt 0.944815 0.073566 +vt 0.944815 0.233258 +vt 0.944815 0.494925 +vt 0.944815 0.654617 +vt 0.922894 0.496424 +vt 0.204223 0.990678 +vt 0.215210 0.831362 +vt 0.226196 0.990678 +vt 0.944815 0.317290 +vt 0.944815 0.476982 +vt 0.922894 0.318789 +vt 0.066678 0.942475 +vt 0.088599 0.784282 +vt 0.088599 0.943974 +vt 0.261835 0.831362 +vt 0.283808 0.831362 +vt 0.283808 0.931680 +vt 0.573653 0.008971 +vt 0.569991 0.281109 +vt 0.548018 0.281109 +vt 0.500701 0.008971 +vt 0.522674 0.008971 +vt 0.526335 0.281109 +vt 0.500701 0.299052 +vt 0.522673 0.299052 +vt 0.526335 0.571190 +vt 0.733625 0.837588 +vt 0.755597 0.837588 +vt 0.755597 0.937906 +vt 0.548018 0.299052 +vt 0.569991 0.299052 +vt 0.573653 0.571190 +vt 0.399434 0.509673 +vt 0.479018 0.299052 +vt 0.479018 0.571190 +vt 0.381413 0.571190 +vt 0.301828 0.360570 +vt 0.381413 0.299052 +vt 0.106620 0.219624 +vt 0.186203 0.008971 +vt 0.186203 0.281132 +vt 0.573653 0.931680 +vt 0.551680 0.931680 +vt 0.551680 0.831362 +vt 0.301828 0.070489 +vt 0.381413 0.008971 +vt 0.381413 0.281109 +vt 0.204223 0.219592 +vt 0.283808 0.008971 +vt 0.283808 0.281109 +vt 0.009010 0.070483 +vt 0.088599 0.008971 +vt 0.088599 0.281134 +vt 0.204223 0.360570 +vt 0.283808 0.299052 +vt 0.283808 0.571190 +vt 0.794500 0.937906 +vt 0.794500 0.837588 +vt 0.816473 0.837588 +vt 0.479018 0.008971 +vt 0.479018 0.281109 +vt 0.399434 0.219592 +vt 0.766809 0.819645 +vt 0.751584 0.813366 +vt 0.739931 0.755036 +vt 0.374089 0.926306 +vt 0.371342 0.966135 +vt 0.354863 0.966135 +vt 0.903783 0.905740 +vt 0.901036 0.945570 +vt 0.884557 0.945570 +vt 0.686308 0.906488 +vt 0.708280 0.906488 +vt 0.705534 0.946317 +vt 0.915569 0.291030 +vt 0.918316 0.251200 +vt 0.934795 0.251200 +vt 0.841817 0.945570 +vt 0.844564 0.905740 +vt 0.861043 0.905740 +vt 0.868252 0.048801 +vt 0.870999 0.008971 +vt 0.887478 0.008971 +vt 0.828259 0.459616 +vt 0.831006 0.419787 +vt 0.847485 0.419787 +vt 0.828259 0.048801 +vt 0.831006 0.008971 +vt 0.847485 0.008971 +vt 0.922894 0.712389 +vt 0.925640 0.672560 +vt 0.942120 0.672560 +vt 0.970211 0.008971 +vt 0.967464 0.048801 +vt 0.950985 0.048801 +vt 0.897549 0.251200 +vt 0.894802 0.291030 +vt 0.878323 0.291030 +vt 0.929127 0.954618 +vt 0.931874 0.914789 +vt 0.948353 0.914789 +vt 0.875576 0.703341 +vt 0.878323 0.663512 +vt 0.894802 0.663512 +vt 0.828259 0.703341 +vt 0.831006 0.663512 +vt 0.847485 0.663512 +vt 0.638990 0.946318 +vt 0.641737 0.906488 +vt 0.658216 0.906488 +vt 0.038307 0.524111 +vt 0.715604 0.476982 +vt 0.617308 0.299052 +vt 0.638990 0.251948 +vt 0.642652 0.719959 +vt 0.642652 0.234005 +vt 0.110282 0.524109 +vt 0.715604 0.719959 +vt 0.595335 0.234005 +vt 0.689970 0.234005 +vt 0.182541 0.299075 +vt 0.810239 0.719211 +vt 0.927471 0.008971 +vt 0.084937 0.299077 +vt 0.331125 0.739776 +vt 0.544356 0.589133 +vt 0.733625 0.008971 +vt 0.591673 0.542029 +vt 0.204223 0.589133 +vt 0.059302 0.542053 +vt 0.733625 0.494925 +vt 0.135916 0.766338 +vt 0.254511 0.813419 +vt 0.733625 0.252696 +vt 0.011985 0.542053 +vt 0.156906 0.542052 +vt 0.497039 0.813419 +vt 0.780942 0.008971 +vt 0.780942 0.251200 +vt 0.399434 0.589136 +vt 0.904873 0.233258 +vt 0.875576 0.494925 +vt 0.334096 0.908363 +vt 0.476047 0.908363 +vt 0.668287 0.888545 +vt 0.911107 0.887798 +vt 0.715604 0.888545 +vt 0.853894 0.494925 +vt 0.904873 0.476982 +vt 0.863790 0.887798 +vt 0.853894 0.082614 +vt 0.853894 0.251200 +vt 0.472385 0.589133 +vt 0.355779 0.908363 +vt 0.381413 0.739776 +vt 0.261835 0.931680 +vt 0.544356 0.008971 +vt 0.497039 0.281109 +vt 0.497039 0.571190 +vt 0.733625 0.937906 +vt 0.544356 0.571190 +vt 0.573653 0.831362 +vt 0.816472 0.937906 +vt 0.810166 0.755036 +vt 0.816472 0.770195 +vt 0.798513 0.743433 +vt 0.783288 0.819645 +vt 0.816472 0.786604 +vt 0.810166 0.801763 +vt 0.798513 0.813366 +vt 0.739931 0.801763 +vt 0.733625 0.770195 +vt 0.733625 0.786604 +vt 0.881810 0.905741 +vt 0.783288 0.737154 +vt 0.766809 0.737154 +vt 0.352116 0.926306 +vt 0.751584 0.743433 +vt 0.689054 0.946317 +vt 0.937542 0.291030 +vt 0.863790 0.945570 +vt 0.890225 0.048801 +vt 0.850232 0.459616 +vt 0.850232 0.048801 +vt 0.944866 0.712389 +vt 0.948238 0.008971 +vt 0.875576 0.251200 +vt 0.951100 0.954618 +vt 0.897549 0.703341 +vt 0.850232 0.703341 +vt 0.660963 0.946318 +vn -0.922464 -0.081460 -0.377390 +vn 0.701675 -0.081460 -0.707825 +vn -0.701675 -0.081460 0.707825 +vn 0.385426 -0.081460 0.919136 +vn -0.385426 -0.081460 -0.919136 +vn 0.377390 -0.081460 -0.922465 +vn -0.377390 -0.081460 0.922465 +vn 0.707825 -0.081460 0.701675 +vn -0.707825 -0.081460 -0.701675 +vn 0.919136 -0.081460 -0.385426 +vn -0.919136 -0.081460 0.385426 +vn 0.999990 0.000000 -0.004363 +vn 0.666533 -0.345187 0.660742 +vn 0.922465 -0.081460 0.377390 +vn -0.698783 0.121687 0.704907 +vn -0.386711 -0.000000 -0.922201 +vn -0.004364 0.000000 -0.999990 +vn 0.386711 -0.000000 0.922201 +vn -0.704014 0.000000 0.710186 +vn 0.704015 0.000000 -0.710185 +vn -0.925540 0.000000 -0.378649 +vn 0.925541 0.000000 0.378649 +vn 0.004364 -0.000000 0.999990 +vn -0.922201 0.000000 0.386711 +vn 0.922201 0.000000 -0.386711 +vn -0.710185 0.000000 -0.704015 +vn 0.710185 -0.000000 0.704015 +vn -0.378648 0.000000 0.925541 +vn 0.378649 -0.000000 -0.925540 +vn -0.999991 0.000000 0.004363 +vn 0.004331 0.121687 0.992559 +vn 0.704908 0.121687 0.698783 +vn 0.992559 0.121687 -0.004331 +vn -0.383837 0.121687 -0.915348 +vn 0.698783 0.121687 -0.704907 +vn -0.918662 0.121687 -0.375835 +vn -0.004331 0.121687 -0.992559 +vn -0.915348 0.121687 0.383837 +vn -0.375834 0.121687 0.918663 +vn 0.383837 0.121687 0.915348 +vn 0.918662 0.121687 0.375835 +vn 0.915348 0.121687 -0.383837 +vn -0.704907 0.121687 -0.698783 +vn 0.375835 0.121687 -0.918662 +vn -0.992559 0.121687 0.004330 +vn 0.868650 0.345187 0.355376 +vn 0.865517 0.345187 -0.362941 +vn 0.938525 0.345187 -0.004095 +vn 0.666533 0.345188 0.660741 +vn 0.660741 0.345187 -0.666533 +vn 0.355375 0.345188 -0.868651 +vn -0.004095 0.345188 -0.938525 +vn -0.362941 0.345188 -0.865517 +vn 0.362942 0.345188 0.865516 +vn 0.004095 0.345188 0.938525 +vn -0.355374 0.345188 0.868651 +vn -0.660741 0.345187 0.666533 +vn -0.865517 0.345188 0.362941 +vn -0.666532 0.345187 -0.660742 +vn -0.868652 0.345188 -0.355373 +vn -0.938525 0.345188 0.004094 +vn 0.001626 -0.927982 0.372621 +vn 0.004196 0.274721 0.961515 +vn -0.961515 0.274721 0.004195 +vn -0.004195 0.274721 -0.961515 +vn -0.372621 -0.927982 0.001626 +vn 0.961515 0.274721 -0.004195 +vn -0.010682 -0.015739 -0.999819 +vn 0.999874 -0.015739 0.001957 +vn -0.999819 -0.015739 0.010682 +vn 0.372621 -0.927982 -0.001626 +vn 0.001957 -0.015739 -0.999874 +vn 0.010682 -0.015739 0.999819 +vn -0.999874 -0.015739 -0.001957 +vn -0.001957 -0.015739 0.999874 +vn -0.001626 -0.927982 -0.372621 +vn 0.999819 -0.015739 -0.010683 +vn 0.000000 -1.000000 0.000000 +vn -0.362941 -0.345187 -0.865517 +vn -0.004095 -0.345188 -0.938525 +vn -0.355374 -0.345188 0.868651 +vn -0.660741 -0.345188 0.666533 +vn 0.865517 -0.345187 -0.362941 +vn 0.938525 -0.345188 -0.004095 +vn -0.868651 -0.345187 -0.355375 +vn -0.666532 -0.345188 -0.660742 +vn 0.362941 -0.345187 0.865517 +vn 0.004095 -0.345187 0.938525 +vn 0.355374 -0.345188 -0.868651 +vn 0.660742 -0.345187 -0.666533 +vn -0.865517 -0.345187 0.362941 +vn -0.938525 -0.345188 0.004095 +vn 0.868651 -0.345188 0.355375 +vn -0.922465 -0.081460 -0.377390 +vn -0.377389 -0.081460 0.922465 +vn -0.919136 -0.081461 0.385426 +vn 0.666533 -0.345188 0.660741 +vn 0.922464 -0.081460 0.377390 +vn -0.698783 0.121687 0.704908 +vn -0.004363 -0.000000 -0.999991 +vn -0.925541 0.000000 -0.378649 +vn 0.925541 -0.000000 0.378648 +vn 0.004363 -0.000000 0.999990 +vn 0.710186 -0.000000 0.704015 +vn -0.378649 0.000000 0.925540 +vn 0.378648 -0.000000 -0.925541 +vn 0.698783 0.121687 -0.704908 +vn -0.915347 0.121687 0.383838 +vn -0.992559 0.121687 0.004331 +vn 0.004195 0.274721 0.961515 +vn -0.004095 -0.345187 -0.938525 +vn -0.362941 -0.345188 -0.865517 +vn -0.355374 -0.345187 0.868651 +vn -0.660742 -0.345188 0.666533 +vn 0.865517 -0.345188 -0.362941 +vn -0.868651 -0.345188 -0.355374 +vn -0.666533 -0.345188 -0.660742 +vn 0.362941 -0.345188 0.865517 +vn 0.355374 -0.345187 -0.868651 +vn -0.865517 -0.345188 0.362941 +vn -0.938525 -0.345187 0.004095 +vn 0.868651 -0.345188 0.355374 +s off +f 30/1/1 3/2/1 5/3/1 +f 8/4/2 25/5/2 27/6/2 +f 22/7/3 24/8/3 9/9/3 +f 18/10/4 15/11/4 17/12/4 +f 32/13/5 2/14/5 31/15/5 +f 4/16/6 6/17/6 27/18/6 +f 20/19/7 22/20/7 11/21/7 +f 16/22/8 17/23/8 19/24/8 +f 30/25/9 32/26/9 1/27/9 +f 8/28/10 10/29/10 23/30/10 +f 24/31/11 26/32/11 7/33/11 +f 10/34/12 37/35/12 38/36/12 +f 19/37/13 17/38/13 82/39/13 +f 12/40/14 14/41/14 19/42/14 +f 43/43/15 59/44/15 60/45/15 +f 32/46/16 48/47/16 33/48/16 +f 2/49/17 33/50/17 34/51/17 +f 16/52/18 40/53/18 41/54/18 +f 22/55/19 43/56/19 44/57/19 +f 6/58/20 35/59/20 36/60/20 +f 28/61/21 46/62/21 47/63/21 +f 12/64/22 38/65/22 39/66/22 +f 20/67/23 18/68/23 41/69/23 +f 24/70/24 44/71/24 45/72/24 +f 8/73/25 36/74/25 37/75/25 +f 30/76/26 47/77/26 48/78/26 +f 16/79/27 14/80/27 39/81/27 +f 20/82/28 42/83/28 43/84/28 +f 4/85/29 34/86/29 35/87/29 +f 26/88/30 45/89/30 46/90/30 +f 41/91/31 57/92/31 58/93/31 +f 39/94/32 55/95/32 56/96/32 +f 37/97/33 53/98/33 54/99/33 +f 48/100/34 64/101/34 49/102/34 +f 35/103/35 51/104/35 52/105/35 +f 46/106/36 62/107/36 63/108/36 +f 33/109/37 49/110/37 50/111/37 +f 45/112/38 44/113/38 60/114/38 +f 42/115/39 58/116/39 59/117/39 +f 40/118/40 56/119/40 57/120/40 +f 39/121/41 38/122/41 54/123/41 +f 37/124/42 36/125/42 52/126/42 +f 48/127/43 47/128/43 63/129/43 +f 35/130/44 34/131/44 50/132/44 +f 45/133/45 61/134/45 62/135/45 +f 54/136/46 65/137/46 55/138/46 +f 52/139/47 65/140/47 53/141/47 +f 53/142/48 65/143/48 54/144/48 +f 56/145/49 55/146/49 65/147/49 +f 51/148/50 65/149/50 52/150/50 +f 50/151/51 65/152/51 51/153/51 +f 49/154/52 65/155/52 50/156/52 +f 64/157/53 65/158/53 49/159/53 +f 56/160/54 65/161/54 57/162/54 +f 57/163/55 65/164/55 58/165/55 +f 58/166/56 65/167/56 59/168/56 +f 59/169/57 65/170/57 60/171/57 +f 60/172/58 65/173/58 61/174/58 +f 63/175/59 65/176/59 64/177/59 +f 62/178/60 65/179/60 63/180/60 +f 61/181/61 65/182/61 62/183/61 +f 67/184/62 66/185/62 29/186/62 +f 20/187/63 72/188/63 73/189/63 +f 70/190/64 71/191/64 26/192/64 +f 66/193/65 67/194/65 2/195/65 +f 69/196/66 68/197/66 21/198/66 +f 68/199/67 69/200/67 10/201/67 +f 23/202/68 10/203/68 69/204/68 +f 4/205/69 29/206/69 66/207/69 +f 31/208/70 2/209/70 67/210/70 +f 71/211/71 70/212/71 5/213/71 +f 5/214/72 70/215/72 28/216/72 +f 7/217/73 26/218/73 71/219/73 +f 13/220/74 72/221/74 20/222/74 +f 21/223/75 68/224/75 12/225/75 +f 15/226/76 73/227/76 72/228/76 +f 18/229/77 73/230/77 15/231/77 +f 81/232/78 80/233/78 76/234/78 +f 31/235/79 89/236/79 74/237/79 +f 29/238/80 88/239/80 89/240/80 +f 13/241/81 11/242/81 79/243/81 +f 9/244/82 78/245/82 79/246/82 +f 23/247/83 85/248/83 86/249/83 +f 21/250/84 84/251/84 85/252/84 +f 3/253/85 75/254/85 76/255/85 +f 1/256/86 74/257/86 75/258/86 +f 15/259/87 81/260/87 82/261/87 +f 13/262/88 80/263/88 81/264/88 +f 27/265/89 87/266/89 88/267/89 +f 25/268/90 86/269/90 87/270/90 +f 7/271/91 77/272/91 78/273/91 +f 5/274/92 76/275/92 77/276/92 +f 19/277/93 83/278/93 84/279/93 +f 28/280/94 30/1/94 5/3/94 +f 6/281/2 8/4/2 27/6/2 +f 11/282/3 22/7/3 9/9/3 +f 16/283/4 18/10/4 17/12/4 +f 1/284/5 32/13/5 31/15/5 +f 29/285/6 4/16/6 27/18/6 +f 13/286/95 20/19/95 11/21/95 +f 14/287/8 16/22/8 19/24/8 +f 3/288/9 30/25/9 1/27/9 +f 25/289/10 8/28/10 23/30/10 +f 9/290/96 24/31/96 7/33/96 +f 12/291/12 10/34/12 38/36/12 +f 83/292/97 19/37/97 82/39/97 +f 21/293/98 12/40/98 19/42/98 +f 44/294/99 43/43/99 60/45/99 +f 2/295/16 32/46/16 33/48/16 +f 4/296/100 2/49/100 34/51/100 +f 18/297/18 16/52/18 41/54/18 +f 24/298/19 22/55/19 44/57/19 +f 8/299/20 6/58/20 36/60/20 +f 30/300/101 28/61/101 47/63/101 +f 14/301/102 12/64/102 39/66/102 +f 42/302/103 20/67/103 41/69/103 +f 26/303/24 24/70/24 45/72/24 +f 10/304/25 8/73/25 37/75/25 +f 32/305/26 30/76/26 48/78/26 +f 40/306/104 16/79/104 39/81/104 +f 22/307/105 20/82/105 43/84/105 +f 6/308/106 4/85/106 35/87/106 +f 28/309/30 26/88/30 46/90/30 +f 42/310/31 41/91/31 58/93/31 +f 40/311/32 39/94/32 56/96/32 +f 38/312/33 37/97/33 54/99/33 +f 33/313/34 48/100/34 49/102/34 +f 36/314/107 35/103/107 52/105/107 +f 47/315/36 46/106/36 63/108/36 +f 34/316/37 33/109/37 50/111/37 +f 61/317/108 45/112/108 60/114/108 +f 43/318/39 42/115/39 59/117/39 +f 41/319/40 40/118/40 57/120/40 +f 55/320/41 39/121/41 54/123/41 +f 53/321/42 37/124/42 52/126/42 +f 64/322/43 48/127/43 63/129/43 +f 51/323/44 35/130/44 50/132/44 +f 46/324/109 45/133/109 62/135/109 +f 31/325/62 67/184/62 29/186/62 +f 18/326/110 20/187/110 73/189/110 +f 28/327/64 70/190/64 26/192/64 +f 4/328/65 66/193/65 2/195/65 +f 23/329/66 69/196/66 21/198/66 +f 12/330/67 68/199/67 10/201/67 +f 7/331/71 71/211/71 5/213/71 +f 13/332/76 15/226/76 72/228/76 +f 87/333/78 86/334/78 88/335/78 +f 82/336/78 85/337/78 84/338/78 +f 83/339/78 82/336/78 84/338/78 +f 81/232/78 85/337/78 82/336/78 +f 79/340/78 77/341/78 80/233/78 +f 79/340/78 78/342/78 77/341/78 +f 31/343/111 29/238/111 89/240/111 +f 89/344/78 76/234/78 74/345/78 +f 88/335/78 85/337/78 81/232/78 +f 88/335/78 86/334/78 85/337/78 +f 80/233/78 77/341/78 76/234/78 +f 76/234/78 89/344/78 81/232/78 +f 89/344/78 88/335/78 81/232/78 +f 1/346/112 31/235/112 74/237/112 +f 76/234/78 75/347/78 74/345/78 +f 80/348/113 13/241/113 79/243/113 +f 11/349/114 9/244/114 79/246/114 +f 25/350/115 23/247/115 86/249/115 +f 23/351/84 21/250/84 85/252/84 +f 5/352/116 3/253/116 76/255/116 +f 3/353/117 1/256/117 75/258/117 +f 17/354/118 15/259/118 82/261/118 +f 15/355/88 13/262/88 81/264/88 +f 29/356/119 27/265/119 88/267/119 +f 27/357/90 25/268/90 87/270/90 +f 9/358/120 7/271/120 78/273/120 +f 7/359/121 5/274/121 77/276/121 +f 21/360/122 19/277/122 84/279/122 diff --git a/assets/hbm/models/NukeCloudHuge.obj b/assets/hbm/models/NukeCloudHuge.obj new file mode 100644 index 000000000..b4528b6f0 --- /dev/null +++ b/assets/hbm/models/NukeCloudHuge.obj @@ -0,0 +1,945 @@ +# Blender v2.76 (sub 0) OBJ File: 'NukeCloudHuge.blend' +# www.blender.org +o Cylinder +v -0.000000 0.000000 -6.000000 +v -0.000000 1.000000 -3.125000 +v 2.296101 0.000000 -5.543277 +v 1.195886 1.000000 -2.887124 +v 4.242640 0.000000 -4.242640 +v 2.209708 1.000000 -2.209709 +v 5.543277 0.000000 -2.296101 +v 2.887123 1.000000 -1.195886 +v 6.000000 0.000000 0.000000 +v 3.125000 1.000000 0.000000 +v 5.543277 0.000000 2.296101 +v 2.887123 1.000000 1.195886 +v 4.242640 0.000000 4.242640 +v 2.209708 1.000000 2.209709 +v 2.296101 0.000000 5.543277 +v 1.195886 1.000000 2.887124 +v 0.000001 0.000000 6.000000 +v 0.000000 1.000000 3.125000 +v -2.296099 0.000000 5.543278 +v -1.195885 1.000000 2.887124 +v -4.242640 0.000000 4.242642 +v -2.209708 1.000000 2.209710 +v -5.543277 0.000000 2.296102 +v -2.887124 1.000000 1.195886 +v -6.000000 0.000000 -0.000000 +v -3.125000 1.000000 -0.000000 +v -5.543277 0.000000 -2.296102 +v -2.887124 1.000000 -1.195886 +v -4.242640 0.000000 -4.242642 +v -2.209708 1.000000 -2.209710 +v -2.296098 0.000000 -5.543279 +v -1.195884 1.000000 -2.887124 +v -0.000000 2.000000 -1.500000 +v 0.574025 2.000000 -1.385819 +v 1.060660 2.000000 -1.060660 +v 1.385819 2.000000 -0.574025 +v 1.500000 2.000000 0.000000 +v 1.385819 2.000000 0.574025 +v 1.060660 2.000000 1.060660 +v 0.574025 2.000000 1.385819 +v 0.000000 2.000000 1.500000 +v -0.574025 2.000000 1.385819 +v -1.060660 2.000000 1.060660 +v -1.385819 2.000000 0.574025 +v -1.500000 2.000000 -0.000000 +v -1.385819 2.000000 -0.574025 +v -1.060660 2.000000 -1.060660 +v -0.574024 2.000000 -1.385820 +v -0.000000 8.000000 -0.750000 +v 0.287013 8.000000 -0.692910 +v 0.530330 8.000000 -0.530330 +v 0.692910 8.000000 -0.287013 +v 0.750000 8.000000 0.000000 +v 0.692910 8.000000 0.287013 +v 0.530330 8.000000 0.530330 +v 0.287013 8.000000 0.692910 +v 0.000000 8.000000 0.750000 +v -0.287012 8.000000 0.692910 +v -0.530330 8.000000 0.530330 +v -0.692910 8.000000 0.287013 +v -0.750000 8.000000 -0.000000 +v -0.692910 8.000000 -0.287013 +v -0.530330 8.000000 -0.530330 +v -0.287012 8.000000 -0.692910 +v -0.000000 6.000000 -3.000000 +v 1.148050 6.000000 -2.771638 +v 2.121320 6.000000 -2.121320 +v 2.771638 6.000000 -1.148050 +v 3.000000 6.000000 0.000000 +v 2.771638 6.000000 1.148051 +v 2.121320 6.000000 2.121320 +v 1.148050 6.000000 2.771638 +v 0.000000 6.000000 3.000000 +v -1.148050 6.000000 2.771639 +v -2.121320 6.000000 2.121321 +v -2.771639 6.000000 1.148051 +v -3.000000 6.000000 -0.000000 +v -2.771639 6.000000 -1.148051 +v -2.121320 6.000000 -2.121321 +v -1.148049 6.000000 -2.771639 +v -0.000001 6.000000 -5.000000 +v 1.913417 6.000000 -4.619398 +v 3.535533 6.000000 -3.535534 +v 4.619397 6.000000 -1.913417 +v 5.000000 6.000000 0.000000 +v 4.619397 6.000000 1.913418 +v 3.535533 6.000000 3.535534 +v 1.913417 6.000000 4.619398 +v 0.000000 6.000000 5.000000 +v -1.913417 6.000000 4.619398 +v -3.535533 6.000000 3.535535 +v -4.619398 6.000000 1.913418 +v -5.000000 6.000000 -0.000000 +v -4.619398 6.000000 -1.913418 +v -3.535533 6.000000 -3.535535 +v -1.913416 6.000000 -4.619399 +v -0.000001 7.000000 -6.500000 +v 2.487442 7.000000 -6.005217 +v 4.596193 7.000000 -4.596194 +v 6.005217 7.000000 -2.487442 +v 6.499999 7.000000 0.000000 +v 6.005217 7.000000 2.487443 +v 4.596193 7.000000 4.596194 +v 2.487442 7.000000 6.005217 +v 0.000000 7.000000 6.500000 +v -2.487442 7.000000 6.005218 +v -4.596194 7.000000 4.596196 +v -6.005218 7.000000 2.487443 +v -6.500001 7.000000 -0.000000 +v -6.005217 7.000000 -2.487443 +v -4.596193 7.000000 -4.596196 +v -2.487440 7.000000 -6.005219 +v -0.000001 8.000000 -7.150000 +v 2.736187 8.000000 -6.605739 +v 5.055813 8.000000 -5.055813 +v 6.605738 8.000000 -2.736187 +v 7.149999 8.000000 0.000000 +v 6.605738 8.000000 2.736187 +v 5.055813 8.000000 5.055813 +v 2.736187 8.000000 6.605739 +v 0.000001 8.000000 7.150000 +v -2.736186 8.000000 6.605740 +v -5.055813 8.000000 5.055815 +v -6.605740 8.000000 2.736188 +v -7.150000 8.000000 -0.000000 +v -6.605739 8.000000 -2.736188 +v -5.055813 8.000000 -5.055815 +v -2.736184 8.000000 -6.605741 +v -0.000001 9.500000 -6.250000 +v 2.391771 9.500000 -5.774247 +v 4.419416 9.500000 -4.419417 +v 5.774246 9.500000 -2.391771 +v 6.250000 9.500000 0.000000 +v 5.774246 9.500000 2.391772 +v 4.419416 9.500000 4.419417 +v 2.391771 9.500000 5.774247 +v 0.000000 9.500000 6.250000 +v -2.391771 9.500000 5.774248 +v -4.419417 9.500000 4.419419 +v -5.774248 9.500000 2.391772 +v -6.250000 9.500000 -0.000000 +v -5.774247 9.500000 -2.391773 +v -4.419416 9.500000 -4.419419 +v -2.391769 9.500000 -5.774248 +v -0.000000 10.500000 -3.500000 +v 1.339392 10.500000 -3.233578 +v 2.474873 10.500000 -2.474874 +v 3.233578 10.500000 -1.339392 +v 3.500000 10.500000 0.000000 +v 3.233578 10.500000 1.339392 +v 2.474873 10.500000 2.474874 +v 1.339392 10.500000 3.233578 +v 0.000000 10.500000 3.500000 +v -1.339391 10.500000 3.233579 +v -2.474874 10.500000 2.474874 +v -3.233579 10.500000 1.339393 +v -3.500000 10.500000 -0.000000 +v -3.233578 10.500000 -1.339393 +v -2.474873 10.500000 -2.474874 +v -1.339391 10.500000 -3.233579 +v -0.000000 11.000000 -1.000000 +v 0.382683 11.000000 -0.923880 +v 0.707106 11.000000 -0.707107 +v 0.923879 11.000000 -0.382683 +v 1.000000 11.000000 0.000000 +v 0.923879 11.000000 0.382684 +v 0.707106 11.000000 0.707107 +v 0.382683 11.000000 0.923880 +v -0.000000 11.000000 1.000000 +v -0.382684 11.000000 0.923880 +v -0.707107 11.000000 0.707107 +v -0.923880 11.000000 0.382684 +v -1.000000 11.000000 -0.000000 +v -0.923880 11.000000 -0.382684 +v -0.707107 11.000000 -0.707107 +v -0.382683 11.000000 -0.923880 +v 0.000000 11.250500 0.000000 +vt 0.749890 0.583032 +vt 0.708368 0.565532 +vt 0.733595 0.459782 +vt 0.663424 0.565532 +vt 0.647304 0.459782 +vt 0.621902 0.583032 +vt 0.567581 0.493381 +vt 0.590122 0.615366 +vt 0.572923 0.657614 +vt 0.473541 0.636579 +vt 0.572923 0.703342 +vt 0.473541 0.724377 +vt 0.590122 0.745589 +vt 0.506564 0.805492 +vt 0.621902 0.777924 +vt 0.567581 0.867574 +vt 0.663424 0.795423 +vt 0.647304 0.901173 +vt 0.708368 0.795423 +vt 0.749890 0.777924 +vt 0.813318 0.867575 +vt 0.781670 0.745589 +vt 0.874336 0.805492 +vt 0.798869 0.703342 +vt 0.907358 0.724377 +vt 0.798869 0.657614 +vt 0.907358 0.636579 +vt 0.650625 0.633704 +vt 0.635370 0.649224 +vt 0.781670 0.615366 +vt 0.813318 0.493381 +vt 0.922728 0.518034 +vt 0.938204 0.737805 +vt 0.930519 0.740416 +vt 0.735569 0.669503 +vt 0.627115 0.691453 +vt 0.635370 0.711731 +vt 0.670556 0.735652 +vt 0.692128 0.735652 +vt 0.692128 0.625304 +vt 0.670556 0.625304 +vt 0.727314 0.711731 +vt 0.735569 0.691453 +vt 0.627115 0.669503 +vt 0.727314 0.649224 +vt 0.712059 0.633704 +vt 0.712059 0.727252 +vt 0.976322 0.459782 +vt 0.964547 0.515208 +vt 0.942811 0.515208 +vt 0.650625 0.727252 +vt 0.242205 0.266674 +vt 0.252246 0.262474 +vt 0.298672 0.332635 +vt 0.959113 0.736392 +vt 0.948245 0.736392 +vt 1.000000 0.523255 +vt 0.976840 0.740416 +vt 0.969154 0.737805 +vt 0.927209 0.741881 +vt 0.947256 0.962205 +vt 0.937330 0.964292 +vt 0.392623 0.776124 +vt 0.401827 0.997180 +vt 0.390982 0.997913 +vt 0.948897 0.740416 +vt 0.969121 0.741881 +vt 0.968212 0.962205 +vt 0.945516 0.000000 +vt 0.950950 0.221184 +vt 0.940909 0.222597 +vt 0.967253 0.000000 +vt 0.987335 0.002826 +vt 0.971860 0.222597 +vt 0.984630 0.518034 +vt 0.428529 0.781763 +vt 0.419779 1.000000 +vt 0.411939 0.997913 +vt 0.370935 0.777589 +vt 0.381057 1.000000 +vt 0.958100 0.961473 +vt 0.412848 0.777589 +vt 0.984803 0.746055 +vt 0.976053 0.964292 +vt 0.961819 0.221184 +vt 0.258508 0.349435 +vt 0.272999 0.423000 +vt 0.200543 0.423000 +vt 0.264090 0.244574 +vt 0.346049 0.261036 +vt 0.329413 0.301594 +vt 0.264090 0.233599 +vt 0.259931 0.223460 +vt 0.329413 0.176580 +vt 0.213610 0.223460 +vt 0.144129 0.176580 +vt 0.174869 0.145538 +vt 0.242205 0.211500 +vt 0.258508 0.128739 +vt 0.298672 0.145538 +vt 0.209451 0.244574 +vt 0.127492 0.261036 +vt 0.127492 0.217137 +vt 0.221295 0.215700 +vt 0.215034 0.128739 +vt 0.221295 0.262474 +vt 0.174869 0.332635 +vt 0.144129 0.301594 +vt 0.215034 0.349435 +vt 0.259931 0.254714 +vt 0.346049 0.217137 +vt 0.252246 0.215700 +vt 0.209451 0.233599 +vt 0.231336 0.211500 +vt 0.213610 0.254714 +vt 0.231336 0.266674 +vt 0.133602 0.395001 +vt 0.189674 0.478174 +vt 0.391174 0.343265 +vt 0.418902 0.202504 +vt 0.339940 0.083173 +vt 0.391174 0.134908 +vt 0.054639 0.202504 +vt 0.200542 0.055174 +vt 0.272999 0.055174 +vt 0.082367 0.343265 +vt 0.054639 0.275669 +vt 0.339940 0.395001 +vt 0.418902 0.275669 +vt 0.082367 0.134908 +vt 0.133602 0.083173 +vt 0.012127 0.565699 +vt 0.040349 0.552155 +vt 0.027010 0.648817 +vt 0.370890 0.441775 +vt 0.283867 0.478174 +vt 0.473541 0.286644 +vt 0.437495 0.103655 +vt 0.473541 0.191529 +vt 0.036046 0.103655 +vt 0.102651 0.036399 +vt 0.283867 0.000000 +vt 0.370890 0.036399 +vt 0.000000 0.286644 +vt 0.000000 0.191529 +vt 0.189674 0.000000 +vt 0.102651 0.441775 +vt 0.036046 0.374519 +vt 0.437495 0.374519 +vt 0.090501 0.655402 +vt 0.090501 0.746859 +vt 0.089239 0.462044 +vt 0.015974 0.388062 +vt 0.237396 0.657564 +vt 0.264031 0.650998 +vt 0.270949 0.755390 +vt 0.457568 0.388062 +vt 0.384302 0.462044 +vt 0.351085 0.674706 +vt 0.351085 0.579591 +vt 0.378094 0.574836 +vt 0.384302 0.016130 +vt 0.457567 0.090112 +vt 0.129996 0.752467 +vt 0.157260 0.755391 +vt 0.176961 0.850938 +vt 0.000000 0.748688 +vt 0.000000 0.653573 +vt 0.123707 0.657564 +vt 0.129996 0.569068 +vt 0.157260 0.553652 +vt 0.243685 0.752466 +vt 0.290650 0.850937 +vt 0.243685 0.569068 +vt 0.270949 0.553652 +vt 0.363211 0.762580 +vt 0.378094 0.679462 +vt 0.363211 0.491717 +vt 0.391433 0.478174 +vt 0.015974 0.090112 +vt 0.089239 0.016130 +vt 0.027010 0.753444 +vt 0.040349 0.850105 +vt 0.150342 0.650998 +vt 0.571499 0.034999 +vt 0.654544 0.000000 +vt 0.669765 0.101152 +vt 0.220175 0.568195 +vt 0.214127 0.653287 +vt 0.333863 0.744540 +vt 0.351085 0.828060 +vt 0.333863 0.568195 +vt 0.327816 0.653287 +vt 0.391433 0.776124 +vt 0.441586 0.672877 +vt 0.453246 0.496926 +vt 0.441586 0.581420 +vt 0.064997 0.478174 +vt 0.123707 0.506238 +vt 0.102162 0.570908 +vt 0.102162 0.831353 +vt 0.220174 0.744540 +vt 0.176961 0.478174 +vt 0.237396 0.502217 +vt 0.290650 0.478174 +vt 0.351084 0.502217 +vt 0.123707 0.896023 +vt 0.925434 0.275619 +vt 0.821464 0.255499 +vt 0.821464 0.204283 +vt 0.827476 0.034999 +vt 0.766607 0.120751 +vt 0.720102 0.101152 +vt 0.827476 0.424784 +vt 0.766607 0.339031 +vt 0.802200 0.302816 +vt 0.654544 0.459782 +vt 0.669765 0.358630 +vt 0.720102 0.358630 +vt 0.507939 0.360114 +vt 0.587667 0.302816 +vt 0.623260 0.339031 +vt 0.473541 0.184163 +vt 0.568404 0.204283 +vt 0.568404 0.255499 +vt 0.623260 0.120751 +vt 0.587667 0.156966 +vt 0.891035 0.099668 +vt 0.925434 0.184163 +vt 0.744431 0.000000 +vt 0.891035 0.360114 +vt 0.744431 0.459782 +vt 0.571499 0.424783 +vt 0.473541 0.275619 +vt 0.507939 0.099668 +vt 0.802200 0.156966 +vt 0.685466 0.266674 +vt 0.699848 0.266674 +vt 0.713135 0.261074 +vt 0.656505 0.237208 +vt 0.691516 0.229891 +vt 0.662009 0.250727 +vt 0.672179 0.261074 +vt 0.723304 0.250727 +vt 0.728808 0.237208 +vt 0.728808 0.222575 +vt 0.723304 0.209055 +vt 0.662009 0.209055 +vt 0.656505 0.222575 +vt 0.713135 0.198708 +vt 0.699848 0.193109 +vt 0.685466 0.193109 +vt 0.672179 0.198708 +vt 0.506564 0.555464 +vt 0.733595 0.901173 +vt 0.874336 0.555464 +vt 0.907358 0.523255 +vt 0.931036 0.459782 +vt 0.907358 0.746055 +vt 0.925434 0.002826 +vt 0.351085 0.781763 +vt 0.147906 0.839327 +vt 0.261595 0.839327 +vt 0.012127 0.836562 +vt 0.453246 0.757371 +vt 0.064997 0.924087 +vt 0.237396 0.828060 +vn 0.065200 0.942500 -0.327800 +vn 0.185700 0.942500 -0.277900 +vn 0.277900 0.942500 -0.185700 +vn 0.327800 0.942500 -0.065200 +vn 0.327800 0.942500 0.065200 +vn 0.277900 0.942500 0.185700 +vn 0.185700 0.942500 0.277900 +vn 0.065200 0.942500 0.327800 +vn -0.065200 0.942500 0.327800 +vn -0.185700 0.942500 0.277900 +vn -0.277900 0.942500 0.185700 +vn -0.327800 0.942500 0.065200 +vn -0.327800 0.942500 -0.065200 +vn -0.277900 0.942500 -0.185700 +vn 0.521300 0.847100 -0.103700 +vn -0.065200 0.942500 -0.327800 +vn -0.185700 0.942500 -0.277900 +vn 0.193600 0.121700 0.973500 +vn -0.295300 0.847100 -0.441900 +vn 0.295300 0.847100 0.441900 +vn -0.295300 0.847100 0.441900 +vn 0.295300 0.847100 -0.441900 +vn -0.521300 0.847100 -0.103700 +vn 0.521300 0.847100 0.103700 +vn -0.103700 0.847100 -0.521300 +vn 0.103700 0.847100 -0.521300 +vn 0.103700 0.847100 0.521300 +vn -0.441900 0.847100 0.295300 +vn 0.441900 0.847100 -0.295300 +vn -0.441900 0.847100 -0.295300 +vn 0.441900 0.847100 0.295300 +vn -0.103700 0.847100 0.521300 +vn -0.521300 0.847100 0.103700 +vn 0.131000 -0.741000 -0.658600 +vn 0.825300 0.121700 0.551400 +vn 0.973500 0.121700 -0.193600 +vn -0.551400 0.121700 -0.825300 +vn 0.551400 0.121700 -0.825300 +vn -0.973500 0.121700 -0.193600 +vn -0.825300 0.121700 0.551400 +vn -0.193600 0.121700 0.973500 +vn 0.551400 0.121700 0.825300 +vn 0.973500 0.121700 0.193600 +vn -0.193600 0.121700 -0.973500 +vn 0.825300 0.121700 -0.551400 +vn -0.825300 0.121700 -0.551400 +vn 0.193600 0.121700 -0.973500 +vn -0.973500 0.121700 0.193600 +vn -0.551400 0.121700 0.825300 +vn 0.000000 -1.000000 0.000000 +vn -0.373100 -0.741000 -0.558400 +vn -0.658600 -0.741000 -0.131000 +vn 0.131000 -0.741000 0.658600 +vn -0.558400 -0.741000 0.373100 +vn 0.558400 -0.741000 0.373100 +vn -0.131000 -0.741000 0.658600 +vn 0.658600 -0.741000 -0.131000 +vn 0.373100 -0.741000 -0.558400 +vn -0.131000 -0.741000 -0.658600 +vn -0.558400 -0.741000 -0.373100 +vn -0.658600 -0.741000 0.131000 +vn 0.373100 -0.741000 0.558400 +vn -0.373100 -0.741000 0.558400 +vn 0.658600 -0.741000 0.131000 +vn 0.558400 -0.741000 -0.373100 +vn -0.467400 -0.827000 0.312300 +vn 0.164500 -0.537600 -0.827000 +vn -0.109700 -0.827000 0.551400 +vn 0.312300 -0.827000 0.467400 +vn 0.551400 -0.827000 0.109700 +vn -0.109700 -0.827000 -0.551400 +vn 0.467400 -0.827000 -0.312300 +vn -0.467400 -0.827000 -0.312300 +vn 0.109700 -0.827000 -0.551400 +vn -0.551400 -0.827000 0.109700 +vn -0.312300 -0.827000 0.467400 +vn 0.109700 -0.827000 0.551400 +vn 0.467400 -0.827000 0.312300 +vn 0.551400 -0.827000 -0.109700 +vn -0.312300 -0.827000 -0.467400 +vn 0.312300 -0.827000 -0.467400 +vn -0.551400 -0.827000 -0.109700 +vn 0.478800 0.507200 -0.716600 +vn -0.827000 -0.537600 0.164500 +vn -0.468500 -0.537600 0.701100 +vn 0.164500 -0.537600 0.827000 +vn 0.701100 -0.537600 0.468500 +vn 0.827000 -0.537600 -0.164500 +vn -0.468500 -0.537600 -0.701100 +vn 0.468500 -0.537600 -0.701100 +vn -0.827000 -0.537600 -0.164500 +vn -0.701100 -0.537600 0.468500 +vn -0.164500 -0.537600 0.827000 +vn 0.468500 -0.537600 0.701100 +vn 0.827000 -0.537600 0.164500 +vn -0.164500 -0.537600 -0.827000 +vn 0.701100 -0.537600 -0.468500 +vn -0.701100 -0.537600 -0.468500 +vn 0.289000 0.937600 -0.193100 +vn -0.845300 0.507200 -0.168100 +vn -0.716600 0.507200 0.478800 +vn -0.168100 0.507200 0.845300 +vn 0.478800 0.507200 0.716600 +vn 0.845300 0.507200 0.168100 +vn -0.168100 0.507200 -0.845300 +vn 0.716600 0.507200 -0.478800 +vn -0.716600 0.507200 -0.478800 +vn 0.168100 0.507200 -0.845300 +vn -0.845300 0.507200 0.168100 +vn -0.478800 0.507200 0.716600 +vn 0.168100 0.507200 0.845300 +vn 0.716600 0.507200 0.478800 +vn 0.845300 0.507200 -0.168100 +vn -0.478800 0.507200 -0.716600 +vn -0.289000 0.937600 -0.193100 +vn 0.067800 0.937600 -0.341000 +vn -0.341000 0.937600 0.067800 +vn -0.193100 0.937600 0.289000 +vn 0.067800 0.937600 0.341000 +vn 0.289000 0.937600 0.193100 +vn 0.341000 0.937600 -0.067800 +vn -0.193100 0.937600 -0.289000 +vn 0.193100 0.937600 -0.289000 +vn -0.341000 0.937600 -0.067800 +vn -0.289000 0.937600 0.193100 +vn -0.067800 0.937600 0.341000 +vn 0.193100 0.937600 0.289000 +vn 0.341000 0.937600 0.067800 +vn -0.067800 0.937600 -0.341000 +vn -0.111000 0.979800 0.166100 +vn -0.166100 0.979800 0.111000 +vn 0.137500 0.968900 0.205800 +vn 0.048300 0.968900 0.242700 +vn -0.048300 0.968900 0.242700 +vn -0.137500 0.968900 0.205800 +vn -0.205800 0.968900 0.137500 +vn -0.242700 0.968900 0.048300 +vn -0.242700 0.968900 -0.048300 +vn -0.205800 0.968900 -0.137500 +vn -0.137500 0.968900 -0.205800 +vn 0.242700 0.968900 0.048300 +vn -0.048300 0.968900 -0.242700 +vn 0.048300 0.968900 -0.242700 +vn 0.137500 0.968900 -0.205800 +vn 0.205800 0.968900 -0.137500 +vn 0.242700 0.968900 -0.048300 +vn 0.205800 0.968900 0.137500 +vn -0.039000 0.979800 0.196000 +vn 0.039000 0.979800 0.196000 +vn 0.111000 0.979800 0.166100 +vn 0.166100 0.979800 0.111000 +vn 0.196000 0.979800 0.039000 +vn 0.196000 0.979800 -0.039000 +vn 0.166100 0.979800 -0.111000 +vn 0.111000 0.979800 -0.166100 +vn 0.039000 0.979800 -0.196000 +vn -0.039000 0.979800 -0.196000 +vn -0.111000 0.979800 -0.166100 +vn -0.166100 0.979800 -0.111000 +vn -0.196000 0.979800 -0.039000 +vn -0.196000 0.979800 0.039000 +s off +f 2/1/1 4/2/1 3/3/1 +f 4/2/2 6/4/2 5/5/2 +f 6/4/3 8/6/3 7/7/3 +f 7/7/4 8/6/4 10/8/4 +f 10/8/5 12/9/5 11/10/5 +f 12/9/6 14/11/6 13/12/6 +f 14/11/7 16/13/7 15/14/7 +f 15/14/8 16/13/8 18/15/8 +f 17/16/9 18/15/9 20/17/9 +f 19/18/10 20/17/10 22/19/10 +f 22/19/11 24/20/11 23/21/11 +f 24/20/12 26/22/12 25/23/12 +f 26/22/13 28/24/13 27/25/13 +f 28/24/14 30/26/14 29/27/14 +f 8/6/15 36/28/15 37/29/15 +f 32/30/16 2/1/16 1/31/16 +f 29/27/17 30/26/17 32/30/17 +f 40/32/18 56/33/18 57/34/18 +f 32/30/19 30/26/19 47/35/19 +f 14/11/20 39/36/20 40/37/20 +f 20/17/21 42/38/21 43/39/21 +f 4/2/22 34/40/22 35/41/22 +f 26/22/23 45/42/23 46/43/23 +f 10/8/24 37/29/24 38/44/24 +f 2/1/25 32/30/25 48/45/25 +f 4/2/26 2/1/26 33/46/26 +f 18/15/27 16/13/27 40/37/27 +f 22/19/28 43/39/28 44/47/28 +f 6/4/29 35/41/29 36/28/29 +f 28/24/30 46/43/30 47/35/30 +f 12/48/31 38/49/31 39/50/31 +f 18/15/32 41/51/32 42/38/32 +f 24/20/33 44/47/33 45/42/33 +f 58/52/34 57/53/34 73/54/34 +f 38/49/35 54/55/35 55/56/35 +f 36/57/36 52/58/36 53/59/36 +f 47/60/37 63/61/37 64/62/37 +f 34/63/38 50/64/38 51/65/38 +f 46/66/39 45/67/39 61/68/39 +f 43/69/40 59/70/40 60/71/40 +f 42/72/41 41/73/41 57/74/41 +f 39/50/42 55/56/42 56/33/42 +f 38/49/43 37/75/43 53/59/43 +f 48/76/44 64/77/44 49/78/44 +f 35/79/45 51/65/45 52/80/45 +f 46/66/46 62/81/46 63/61/46 +f 33/82/47 49/78/47 50/64/47 +f 44/83/48 60/84/48 61/68/48 +f 42/72/49 58/85/49 59/70/49 +f 74/86/50 90/87/50 91/88/50 +f 55/89/51 71/90/51 72/91/51 +f 54/92/52 53/93/52 69/94/52 +f 64/95/53 80/96/53 65/97/53 +f 51/98/54 67/99/54 68/100/54 +f 62/101/55 78/102/55 79/103/55 +f 49/104/56 65/97/56 66/105/56 +f 60/106/57 76/107/57 77/108/57 +f 58/52/58 74/86/58 75/109/58 +f 56/110/59 72/91/59 73/54/59 +f 54/92/60 70/111/60 71/90/60 +f 52/112/61 68/100/61 69/94/61 +f 63/113/62 79/103/62 80/96/62 +f 51/98/63 50/114/63 66/105/63 +f 61/115/64 77/108/64 78/102/64 +f 60/106/65 59/116/65 75/109/65 +f 92/117/66 91/88/66 107/118/66 +f 73/54/50 72/91/50 88/119/50 +f 71/90/50 70/111/50 86/120/50 +f 68/100/50 84/121/50 85/122/50 +f 80/96/50 79/103/50 95/123/50 +f 66/105/50 82/124/50 83/125/50 +f 77/108/50 93/126/50 94/127/50 +f 75/109/50 91/88/50 92/117/50 +f 73/54/50 89/128/50 90/87/50 +f 71/90/50 87/129/50 88/119/50 +f 70/111/50 69/94/50 85/122/50 +f 80/96/50 96/130/50 81/131/50 +f 67/99/50 83/125/50 84/121/50 +f 79/103/50 78/102/50 94/127/50 +f 65/97/50 81/131/50 82/124/50 +f 76/107/50 92/117/50 93/126/50 +f 97/132/67 113/133/67 114/134/67 +f 89/128/68 105/135/68 106/136/68 +f 88/119/69 87/129/69 103/137/69 +f 85/122/70 101/138/70 102/139/70 +f 96/130/71 112/140/71 97/141/71 +f 83/125/72 99/142/72 100/143/72 +f 94/127/73 110/144/73 111/145/73 +f 81/131/74 97/141/74 98/146/74 +f 92/117/75 108/147/75 109/148/75 +f 90/87/76 106/136/76 107/118/76 +f 89/128/77 88/119/77 104/149/77 +f 86/120/78 102/139/78 103/137/78 +f 84/121/79 100/143/79 101/138/79 +f 96/130/80 95/123/80 111/145/80 +f 82/124/81 98/146/81 99/142/81 +f 94/127/82 93/126/82 109/148/82 +f 114/134/83 130/150/83 131/151/83 +f 108/147/84 124/152/84 125/153/84 +f 106/154/85 122/155/85 123/156/85 +f 104/149/86 120/157/86 121/158/86 +f 103/159/87 102/160/87 118/161/87 +f 100/143/88 116/162/88 117/163/88 +f 111/164/89 127/165/89 128/166/89 +f 99/167/90 98/168/90 114/134/90 +f 110/169/91 109/170/91 125/171/91 +f 107/172/92 123/156/92 124/173/92 +f 106/154/93 105/174/93 121/175/93 +f 104/176/94 103/159/94 119/177/94 +f 102/160/95 101/178/95 117/179/95 +f 112/140/96 128/180/96 113/181/96 +f 99/167/97 115/182/97 116/183/97 +f 110/169/98 126/184/98 127/165/98 +f 132/185/99 131/186/99 147/187/99 +f 125/171/100 141/188/100 142/189/100 +f 123/156/101 139/190/101 140/191/101 +f 121/175/102 137/192/102 138/193/102 +f 120/194/103 119/177/103 135/195/103 +f 117/179/104 133/196/104 134/197/104 +f 128/198/105 144/199/105 129/200/105 +f 115/182/106 131/151/106 132/201/106 +f 126/184/107 142/189/107 143/202/107 +f 113/133/108 129/200/108 130/150/108 +f 124/203/109 140/204/109 141/188/109 +f 122/155/110 138/193/110 139/190/110 +f 120/205/111 136/206/111 137/192/111 +f 119/177/112 118/161/112 134/197/112 +f 116/183/113 132/201/113 133/207/113 +f 128/166/114 127/165/114 143/202/114 +f 142/208/115 158/209/115 159/210/115 +f 129/211/116 145/212/116 146/213/116 +f 140/214/117 156/215/117 157/216/117 +f 138/217/118 154/218/118 155/219/118 +f 136/220/119 152/221/119 153/222/119 +f 134/223/120 150/224/120 151/225/120 +f 132/185/121 148/226/121 149/227/121 +f 144/228/122 143/229/122 159/210/122 +f 131/186/123 130/230/123 146/213/123 +f 142/208/124 141/231/124 157/216/124 +f 139/232/125 155/219/125 156/215/125 +f 137/233/126 153/222/126 154/218/126 +f 135/234/127 151/225/127 152/221/127 +f 133/235/128 149/227/128 150/224/128 +f 144/228/129 160/236/129 145/212/129 +f 170/237/130 171/238/130 155/219/130 +f 171/238/131 172/239/131 156/215/131 +f 167/240/132 177/241/132 168/242/132 +f 168/242/133 177/241/133 169/243/133 +f 169/243/134 177/241/134 170/237/134 +f 170/237/135 177/241/135 171/238/135 +f 171/238/136 177/241/136 172/239/136 +f 172/239/137 177/241/137 173/244/137 +f 173/244/138 177/241/138 174/245/138 +f 174/245/139 177/241/139 175/246/139 +f 175/246/140 177/241/140 176/247/140 +f 165/248/141 177/241/141 166/249/141 +f 176/247/142 177/241/142 161/250/142 +f 161/250/143 177/241/143 162/251/143 +f 162/251/144 177/241/144 163/252/144 +f 163/252/145 177/241/145 164/253/145 +f 164/253/146 177/241/146 165/248/146 +f 167/240/147 166/249/147 177/241/147 +f 169/243/148 170/237/148 154/218/148 +f 168/242/149 169/243/149 153/222/149 +f 151/225/150 167/240/150 168/242/150 +f 166/249/151 167/240/151 151/225/151 +f 165/248/152 166/249/152 150/224/152 +f 148/226/153 164/253/153 165/248/153 +f 147/187/154 163/252/154 164/253/154 +f 162/251/155 163/252/155 147/187/155 +f 161/250/156 162/251/156 146/213/156 +f 176/247/157 161/250/157 145/212/157 +f 175/246/158 176/247/158 160/236/158 +f 158/209/159 174/245/159 175/246/159 +f 157/216/160 173/244/160 174/245/160 +f 172/239/161 173/244/161 157/216/161 +f 1/31/1 2/1/1 3/3/1 +f 3/3/2 4/2/2 5/5/2 +f 5/5/3 6/4/3 7/7/3 +f 9/254/4 7/7/4 10/8/4 +f 9/254/5 10/8/5 11/10/5 +f 11/10/6 12/9/6 13/12/6 +f 13/12/7 14/11/7 15/14/7 +f 17/16/8 15/14/8 18/15/8 +f 19/18/9 17/16/9 20/17/9 +f 21/255/10 19/18/10 22/19/10 +f 21/255/11 22/19/11 23/21/11 +f 23/21/12 24/20/12 25/23/12 +f 25/23/13 26/22/13 27/25/13 +f 27/25/14 28/24/14 29/27/14 +f 10/8/15 8/6/15 37/29/15 +f 31/256/16 32/30/16 1/31/16 +f 31/256/17 29/27/17 32/30/17 +f 41/257/18 40/32/18 57/34/18 +f 48/45/19 32/30/19 47/35/19 +f 16/13/20 14/11/20 40/37/20 +f 22/19/21 20/17/21 43/39/21 +f 6/4/22 4/2/22 35/41/22 +f 28/24/23 26/22/23 46/43/23 +f 12/9/24 10/8/24 38/44/24 +f 33/46/25 2/1/25 48/45/25 +f 34/40/26 4/2/26 33/46/26 +f 41/51/27 18/15/27 40/37/27 +f 24/20/28 22/19/28 44/47/28 +f 8/6/29 6/4/29 36/28/29 +f 30/26/30 28/24/30 47/35/30 +f 14/258/31 12/48/31 39/50/31 +f 20/17/32 18/15/32 42/38/32 +f 26/22/33 24/20/33 45/42/33 +f 74/86/34 58/52/34 73/54/34 +f 39/50/35 38/49/35 55/56/35 +f 37/75/36 36/57/36 53/59/36 +f 48/259/37 47/60/37 64/62/37 +f 35/79/38 34/63/38 51/65/38 +f 62/81/39 46/66/39 61/68/39 +f 44/260/40 43/69/40 60/71/40 +f 58/85/41 42/72/41 57/74/41 +f 40/32/42 39/50/42 56/33/42 +f 54/55/43 38/49/43 53/59/43 +f 33/82/44 48/76/44 49/78/44 +f 36/261/45 35/79/45 52/80/45 +f 47/60/46 46/66/46 63/61/46 +f 34/63/47 33/82/47 50/64/47 +f 45/67/48 44/83/48 61/68/48 +f 43/69/49 42/72/49 59/70/49 +f 75/109/50 74/86/50 91/88/50 +f 56/110/51 55/89/51 72/91/51 +f 70/111/52 54/92/52 69/94/52 +f 49/104/53 64/95/53 65/97/53 +f 52/112/54 51/98/54 68/100/54 +f 63/113/55 62/101/55 79/103/55 +f 50/114/56 49/104/56 66/105/56 +f 61/115/57 60/106/57 77/108/57 +f 59/116/58 58/52/58 75/109/58 +f 57/53/59 56/110/59 73/54/59 +f 55/89/60 54/92/60 71/90/60 +f 53/93/61 52/112/61 69/94/61 +f 64/95/62 63/113/62 80/96/62 +f 67/99/63 51/98/63 66/105/63 +f 62/101/64 61/115/64 78/102/64 +f 76/107/65 60/106/65 75/109/65 +f 108/147/66 92/117/66 107/118/66 +f 89/128/50 73/54/50 88/119/50 +f 87/129/50 71/90/50 86/120/50 +f 69/94/50 68/100/50 85/122/50 +f 96/130/50 80/96/50 95/123/50 +f 67/99/50 66/105/50 83/125/50 +f 78/102/50 77/108/50 94/127/50 +f 76/107/50 75/109/50 92/117/50 +f 74/86/50 73/54/50 90/87/50 +f 72/91/50 71/90/50 88/119/50 +f 86/120/50 70/111/50 85/122/50 +f 65/97/50 80/96/50 81/131/50 +f 68/100/50 67/99/50 84/121/50 +f 95/123/50 79/103/50 94/127/50 +f 66/105/50 65/97/50 82/124/50 +f 77/108/50 76/107/50 93/126/50 +f 98/168/67 97/132/67 114/134/67 +f 90/87/68 89/128/68 106/136/68 +f 104/149/69 88/119/69 103/137/69 +f 86/120/70 85/122/70 102/139/70 +f 81/131/71 96/130/71 97/141/71 +f 84/121/72 83/125/72 100/143/72 +f 95/123/73 94/127/73 111/145/73 +f 82/124/74 81/131/74 98/146/74 +f 93/126/75 92/117/75 109/148/75 +f 91/88/76 90/87/76 107/118/76 +f 105/135/77 89/128/77 104/149/77 +f 87/129/78 86/120/78 103/137/78 +f 85/122/79 84/121/79 101/138/79 +f 112/140/80 96/130/80 111/145/80 +f 83/125/81 82/124/81 99/142/81 +f 110/144/82 94/127/82 109/148/82 +f 115/182/83 114/134/83 131/151/83 +f 109/148/84 108/147/84 125/153/84 +f 107/172/85 106/154/85 123/156/85 +f 105/135/86 104/149/86 121/158/86 +f 119/177/87 103/159/87 118/161/87 +f 101/138/88 100/143/88 117/163/88 +f 112/262/89 111/164/89 128/166/89 +f 115/182/90 99/167/90 114/134/90 +f 126/184/91 110/169/91 125/171/91 +f 108/263/92 107/172/92 124/173/92 +f 122/155/93 106/154/93 121/175/93 +f 120/194/94 104/176/94 119/177/94 +f 118/161/95 102/160/95 117/179/95 +f 97/141/96 112/140/96 113/181/96 +f 100/264/97 99/167/97 116/183/97 +f 111/164/98 110/169/98 127/165/98 +f 148/226/99 132/185/99 147/187/99 +f 126/184/100 125/171/100 142/189/100 +f 124/173/101 123/156/101 140/191/101 +f 122/155/102 121/175/102 138/193/102 +f 136/265/103 120/194/103 135/195/103 +f 118/161/104 117/179/104 134/197/104 +f 113/133/105 128/198/105 129/200/105 +f 116/183/106 115/182/106 132/201/106 +f 127/165/107 126/184/107 143/202/107 +f 114/134/108 113/133/108 130/150/108 +f 125/171/109 124/203/109 141/188/109 +f 123/156/110 122/155/110 139/190/110 +f 121/175/111 120/205/111 137/192/111 +f 135/195/112 119/177/112 134/197/112 +f 117/266/113 116/183/113 133/207/113 +f 144/267/114 128/166/114 143/202/114 +f 143/229/115 142/208/115 159/210/115 +f 130/230/116 129/211/116 146/213/116 +f 141/231/117 140/214/117 157/216/117 +f 139/232/118 138/217/118 155/219/118 +f 137/233/119 136/220/119 153/222/119 +f 135/234/120 134/223/120 151/225/120 +f 133/235/121 132/185/121 149/227/121 +f 160/236/122 144/228/122 159/210/122 +f 147/187/123 131/186/123 146/213/123 +f 158/209/124 142/208/124 157/216/124 +f 140/214/125 139/232/125 156/215/125 +f 138/217/126 137/233/126 154/218/126 +f 136/220/127 135/234/127 152/221/127 +f 134/223/128 133/235/128 150/224/128 +f 129/211/129 144/228/129 145/212/129 +f 154/218/130 170/237/130 155/219/130 +f 155/219/131 171/238/131 156/215/131 +f 153/222/148 169/243/148 154/218/148 +f 152/221/149 168/242/149 153/222/149 +f 152/221/150 151/225/150 168/242/150 +f 150/224/151 166/249/151 151/225/151 +f 149/227/152 165/248/152 150/224/152 +f 149/227/153 148/226/153 165/248/153 +f 148/226/154 147/187/154 164/253/154 +f 146/213/155 162/251/155 147/187/155 +f 145/212/156 161/250/156 146/213/156 +f 160/236/157 176/247/157 145/212/157 +f 159/210/158 175/246/158 160/236/158 +f 159/210/159 158/209/159 175/246/159 +f 158/209/160 157/216/160 174/245/160 +f 156/215/161 172/239/161 157/216/161 diff --git a/assets/hbm/models/NukeCloudSmall.obj b/assets/hbm/models/NukeCloudSmall.obj new file mode 100644 index 000000000..97cb29e17 --- /dev/null +++ b/assets/hbm/models/NukeCloudSmall.obj @@ -0,0 +1,1465 @@ +# Blender v2.70 (sub 0) OBJ File: 'NukeCloudSmall.blend' +# www.blender.org +o Cylinder +v -0.000000 0.000000 -6.000000 +v -0.000000 1.500000 -3.125000 +v 2.296101 0.000000 -5.543277 +v 1.195886 1.500000 -2.887124 +v 4.242640 0.000000 -4.242640 +v 2.209708 1.500000 -2.209709 +v 5.543277 0.000000 -2.296101 +v 2.887123 1.500000 -1.195886 +v 6.000000 0.000000 0.000000 +v 3.125000 1.500000 0.000000 +v 5.543277 0.000000 2.296101 +v 2.887123 1.500000 1.195886 +v 4.242640 0.000000 4.242640 +v 2.209708 1.500000 2.209709 +v 2.296101 0.000000 5.543277 +v 1.195886 1.500000 2.887124 +v 0.000001 0.000000 6.000000 +v 0.000000 1.500000 3.125000 +v -2.296099 0.000000 5.543278 +v -1.195885 1.500000 2.887124 +v -4.242640 0.000000 4.242642 +v -2.209708 1.500000 2.209710 +v -5.543277 0.000000 2.296102 +v -2.887124 1.500000 1.195886 +v -6.000000 0.000000 -0.000000 +v -3.125000 1.500000 -0.000000 +v -5.543277 0.000000 -2.296102 +v -2.887124 1.500000 -1.195886 +v -4.242640 0.000000 -4.242642 +v -2.209708 1.500000 -2.209710 +v -2.296098 0.000000 -5.543279 +v -1.195884 1.500000 -2.887124 +v -0.000000 3.000000 -1.500000 +v 0.574025 3.000000 -1.385819 +v 1.060660 3.000000 -1.060660 +v 1.385819 3.000000 -0.574025 +v 1.500000 3.000000 0.000000 +v 1.385819 3.000000 0.574025 +v 1.060660 3.000000 1.060660 +v 0.574025 3.000000 1.385819 +v 0.000000 3.000000 1.500000 +v -0.574025 3.000000 1.385819 +v -1.060660 3.000000 1.060660 +v -1.385819 3.000000 0.574025 +v -1.500000 3.000000 -0.000000 +v -1.385819 3.000000 -0.574025 +v -1.060660 3.000000 -1.060660 +v -0.574024 3.000000 -1.385820 +v -0.000000 11.000000 -0.750000 +v 0.287013 11.000000 -0.692910 +v 0.530330 11.000000 -0.530330 +v 0.692910 11.000000 -0.287013 +v 0.750000 11.000000 0.000000 +v 0.692910 11.000000 0.287013 +v 0.530330 11.000000 0.530330 +v 0.287013 11.000000 0.692910 +v 0.000000 11.000000 0.750000 +v -0.287012 11.000000 0.692910 +v -0.530330 11.000000 0.530330 +v -0.692910 11.000000 0.287013 +v -0.750000 11.000000 -0.000000 +v -0.692910 11.000000 -0.287013 +v -0.530330 11.000000 -0.530330 +v -0.287012 11.000000 -0.692910 +v -0.000000 13.000000 -1.575000 +v 0.602726 13.000000 -1.455110 +v 1.113693 13.000000 -1.113693 +v 1.455110 13.000000 -0.602726 +v 1.575000 13.000000 0.000000 +v 1.455110 13.000000 0.602727 +v 1.113693 13.000000 1.113693 +v 0.602726 13.000000 1.455110 +v 0.000000 13.000000 1.575000 +v -0.602726 13.000000 1.455111 +v -1.113693 13.000000 1.113693 +v -1.455110 13.000000 0.602727 +v -1.575000 13.000000 -0.000000 +v -1.455110 13.000000 -0.602727 +v -1.113693 13.000000 -1.113694 +v -0.602726 13.000000 -1.455111 +v -0.000000 12.500000 -3.750000 +v 1.435062 12.500000 -3.464548 +v 2.651650 12.500000 -2.651650 +v 3.464548 12.500000 -1.435063 +v 3.750000 12.500000 0.000000 +v 3.464548 12.500000 1.435063 +v 2.651650 12.500000 2.651650 +v 1.435063 12.500000 3.464548 +v 0.000000 12.500000 3.750000 +v -1.435063 12.500000 3.464549 +v -2.651650 12.500000 2.651651 +v -3.464548 12.500000 1.435063 +v -3.750000 12.500000 -0.000000 +v -3.464548 12.500000 -1.435064 +v -2.651650 12.500000 -2.651651 +v -1.435062 12.500000 -3.464549 +v -0.000000 13.500000 -4.875000 +v 1.865581 13.500000 -4.503912 +v 3.447145 13.500000 -3.447145 +v 4.503912 13.500000 -1.865582 +v 4.874999 13.500000 0.000000 +v 4.503912 13.500000 1.865582 +v 3.447145 13.500000 3.447145 +v 1.865582 13.500000 4.503912 +v 0.000000 13.500000 4.875000 +v -1.865581 13.500000 4.503913 +v -3.447145 13.500000 3.447147 +v -4.503913 13.500000 1.865582 +v -4.875001 13.500000 -0.000000 +v -4.503913 13.500000 -1.865583 +v -3.447145 13.500000 -3.447147 +v -1.865580 13.500000 -4.503914 +v -0.000000 14.500000 -3.378375 +v 1.292848 14.500000 -3.121212 +v 2.388872 14.500000 -2.388872 +v 3.121211 14.500000 -1.292848 +v 3.378375 14.500000 0.000000 +v 3.121211 14.500000 1.292848 +v 2.388872 14.500000 2.388872 +v 1.292848 14.500000 3.121212 +v 0.000000 14.500000 3.378375 +v -1.292848 14.500000 3.121212 +v -2.388872 14.500000 2.388872 +v -3.121212 14.500000 1.292849 +v -3.378375 14.500000 -0.000000 +v -3.121212 14.500000 -1.292849 +v -2.388872 14.500000 -2.388872 +v -1.292847 14.500000 -3.121212 +v -0.000000 15.000000 -4.515625 +v 1.728055 15.000000 -4.171894 +v 3.193028 15.000000 -3.193029 +v 4.171893 15.000000 -1.728055 +v 4.515625 15.000000 0.000000 +v 4.171893 15.000000 1.728055 +v 3.193028 15.000000 3.193029 +v 1.728055 15.000000 4.171894 +v 0.000000 15.000000 4.515625 +v -1.728054 15.000000 4.171894 +v -3.193029 15.000000 3.193030 +v -4.171894 15.000000 1.728056 +v -4.515625 15.000000 -0.000000 +v -4.171894 15.000000 -1.728056 +v -3.193029 15.000000 -3.193030 +v -1.728053 15.000000 -4.171895 +v -0.000000 16.750000 -6.562500 +v 2.511360 16.750000 -6.062960 +v 4.640388 16.750000 -4.640388 +v 6.062959 16.750000 -2.511360 +v 6.562500 16.750000 0.000000 +v 6.062959 16.750000 2.511361 +v 4.640388 16.750000 4.640388 +v 2.511360 16.750000 6.062960 +v 0.000001 16.750000 6.562500 +v -2.511359 16.750000 6.062960 +v -4.640388 16.750000 4.640389 +v -6.062960 16.750000 2.511361 +v -6.562500 16.750000 -0.000000 +v -6.062960 16.750000 -2.511361 +v -4.640388 16.750000 -4.640389 +v -2.511358 16.750000 -6.062961 +v -0.000000 18.500000 -3.000000 +v 1.148050 18.500000 -2.771638 +v 2.121320 18.500000 -2.121320 +v 2.771638 18.500000 -1.148050 +v 2.999999 18.500000 0.000000 +v 2.771638 18.500000 1.148051 +v 2.121320 18.500000 2.121320 +v 1.148050 18.500000 2.771638 +v 0.000000 18.500000 3.000000 +v -1.148050 18.500000 2.771639 +v -2.121320 18.500000 2.121321 +v -2.771639 18.500000 1.148051 +v -3.000000 18.500000 -0.000000 +v -2.771639 18.500000 -1.148051 +v -2.121320 18.500000 -2.121321 +v -1.148049 18.500000 -2.771639 +v 0.000000 19.000500 0.000000 +vt 0.943443 0.501001 +vt 0.889890 0.501001 +vt 0.889890 0.610110 +vt 0.665666 0.943443 +vt 0.665666 0.889890 +vt 0.556557 0.889890 +vt 0.943443 0.612112 +vt 0.889890 0.612112 +vt 0.889890 0.721221 +vt 0.776777 0.943443 +vt 0.776777 0.889890 +vt 0.667668 0.889890 +vt 0.943443 0.834334 +vt 0.889890 0.834334 +vt 0.889890 0.943443 +vt 0.165666 0.943443 +vt 0.165666 0.889890 +vt 0.056557 0.889890 +vt 0.943443 0.723223 +vt 0.889890 0.723223 +vt 0.889890 0.832332 +vt 0.776777 0.887888 +vt 0.776777 0.834334 +vt 0.667668 0.834334 +vt 0.887888 0.832332 +vt 0.887888 0.723223 +vt 0.834334 0.723223 +vt 0.665666 0.887888 +vt 0.665666 0.834334 +vt 0.556557 0.834334 +vt 0.887888 0.332332 +vt 0.887888 0.223223 +vt 0.834334 0.223223 +vt 0.334334 0.887888 +vt 0.443443 0.887888 +vt 0.443443 0.834334 +vt 0.887888 0.612112 +vt 0.834334 0.612112 +vt 0.834334 0.721221 +vt 0.445445 0.887888 +vt 0.554555 0.887888 +vt 0.554555 0.834334 +vt 0.834334 0.334334 +vt 0.834334 0.443443 +vt 0.887888 0.443443 +vt 0.221221 0.721221 +vt 0.221221 0.667668 +vt 0.112112 0.667668 +vt 0.498999 0.221221 +vt 0.498999 0.112112 +vt 0.445445 0.112112 +vt 0.110110 0.445445 +vt 0.001001 0.445445 +vt 0.001001 0.498999 +vt 0.445445 0.001001 +vt 0.445445 0.110110 +vt 0.498999 0.110110 +vt 0.443443 0.498999 +vt 0.443443 0.445445 +vt 0.334334 0.445445 +vt 0.498999 0.223223 +vt 0.445445 0.223223 +vt 0.445445 0.332332 +vt 0.332332 0.498999 +vt 0.332332 0.445445 +vt 0.223223 0.445445 +vt 0.445445 0.334334 +vt 0.445445 0.443443 +vt 0.498999 0.443443 +vt 0.221221 0.445445 +vt 0.112112 0.445445 +vt 0.112112 0.498999 +vt 0.445445 0.445445 +vt 0.445445 0.554555 +vt 0.498999 0.554555 +vt 0.443443 0.501001 +vt 0.334334 0.501001 +vt 0.334334 0.554555 +vt 0.501001 0.445445 +vt 0.501001 0.554555 +vt 0.554555 0.554555 +vt 0.332332 0.501001 +vt 0.223223 0.501001 +vt 0.223223 0.554555 +vt 0.501001 0.334334 +vt 0.501001 0.443443 +vt 0.554555 0.443443 +vt 0.221221 0.501001 +vt 0.112112 0.501001 +vt 0.112112 0.554555 +vt 0.554555 0.223223 +vt 0.501001 0.223223 +vt 0.501001 0.332332 +vt 0.110110 0.501001 +vt 0.001001 0.501001 +vt 0.001001 0.554555 +vt 0.554555 0.112112 +vt 0.501001 0.112112 +vt 0.501001 0.221221 +vt 0.610110 0.056557 +vt 0.501001 0.056557 +vt 0.501001 0.110110 +vt 0.556557 0.112112 +vt 0.556557 0.221221 +vt 0.610110 0.221221 +vt 0.610110 0.001001 +vt 0.501001 0.001001 +vt 0.501001 0.054555 +vt 0.556557 0.223223 +vt 0.556557 0.332332 +vt 0.610110 0.332332 +vt 0.221221 0.610110 +vt 0.221221 0.556557 +vt 0.112112 0.556557 +vt 0.556557 0.445445 +vt 0.556557 0.554555 +vt 0.610110 0.554555 +vt 0.332332 0.556557 +vt 0.223223 0.556557 +vt 0.223223 0.610110 +vt 0.556557 0.334334 +vt 0.556557 0.443443 +vt 0.610110 0.443443 +vt 0.443443 0.610110 +vt 0.443443 0.556557 +vt 0.334334 0.556557 +vt 0.445445 0.556557 +vt 0.445445 0.665666 +vt 0.498999 0.665666 +vt 0.110110 0.556557 +vt 0.001001 0.556557 +vt 0.001001 0.610110 +vt 0.554555 0.556557 +vt 0.501001 0.556557 +vt 0.501001 0.665666 +vt 0.665666 0.556557 +vt 0.556557 0.556557 +vt 0.556557 0.610110 +vt 0.612112 0.056557 +vt 0.612112 0.165666 +vt 0.665666 0.165666 +vt 0.665666 0.612112 +vt 0.556557 0.612112 +vt 0.556557 0.665666 +vt 0.612112 0.167668 +vt 0.612112 0.276777 +vt 0.665666 0.276777 +vt 0.332332 0.665666 +vt 0.332332 0.612112 +vt 0.223223 0.612112 +vt 0.665666 0.278779 +vt 0.612112 0.278779 +vt 0.612112 0.387888 +vt 0.443443 0.612112 +vt 0.334334 0.612112 +vt 0.334334 0.665666 +vt 0.665666 0.389890 +vt 0.612112 0.389890 +vt 0.612112 0.498999 +vt 0.221221 0.665666 +vt 0.221221 0.612112 +vt 0.112112 0.612112 +vt 0.110110 0.612112 +vt 0.056557 0.612112 +vt 0.056557 0.721221 +vt 0.721221 0.501001 +vt 0.612112 0.501001 +vt 0.612112 0.554555 +vt 0.054555 0.612112 +vt 0.001001 0.612112 +vt 0.001001 0.721221 +vt 0.721221 0.054555 +vt 0.721221 0.001001 +vt 0.612112 0.001001 +vt 0.667668 0.389890 +vt 0.667668 0.498999 +vt 0.721221 0.498999 +vt 0.887888 0.943443 +vt 0.887888 0.889890 +vt 0.778779 0.889890 +vt 0.721221 0.056557 +vt 0.667668 0.056557 +vt 0.667668 0.165666 +vt 0.332332 0.667668 +vt 0.223223 0.667668 +vt 0.223223 0.721221 +vt 0.721221 0.612112 +vt 0.667668 0.612112 +vt 0.667668 0.721221 +vt 0.443443 0.667668 +vt 0.334334 0.667668 +vt 0.334334 0.721221 +vt 0.667668 0.167668 +vt 0.667668 0.276777 +vt 0.721221 0.276777 +vt 0.332332 0.945445 +vt 0.278779 0.945445 +vt 0.278779 0.998999 +vt 0.554555 0.667668 +vt 0.445445 0.667668 +vt 0.445445 0.721221 +vt 0.612112 0.667668 +vt 0.612112 0.776777 +vt 0.665666 0.776777 +vt 0.776777 0.556557 +vt 0.667668 0.556557 +vt 0.667668 0.610110 +vt 0.556557 0.667668 +vt 0.556557 0.776777 +vt 0.610110 0.776777 +vt 0.554555 0.776777 +vt 0.554555 0.723223 +vt 0.445445 0.723223 +vt 0.723223 0.445445 +vt 0.723223 0.554555 +vt 0.776777 0.554555 +vt 0.443443 0.776777 +vt 0.443443 0.723223 +vt 0.334334 0.723223 +vt 0.723223 0.278779 +vt 0.723223 0.387888 +vt 0.776777 0.387888 +vt 0.332332 0.723223 +vt 0.223223 0.723223 +vt 0.223223 0.776777 +vt 0.723223 0.167668 +vt 0.723223 0.276777 +vt 0.776777 0.276777 +vt 0.221221 0.776777 +vt 0.221221 0.723223 +vt 0.112112 0.723223 +vt 0.723223 0.056557 +vt 0.723223 0.165666 +vt 0.776777 0.165666 +vt 0.110110 0.723223 +vt 0.001001 0.723223 +vt 0.001001 0.776777 +vt 0.723223 0.612112 +vt 0.723223 0.721221 +vt 0.776777 0.721221 +vt 0.776777 0.776777 +vt 0.776777 0.723223 +vt 0.667668 0.723223 +vt 0.498999 0.945445 +vt 0.445445 0.945445 +vt 0.445445 0.998999 +vt 0.612112 0.945445 +vt 0.612112 0.998999 +vt 0.665666 0.998999 +vt 0.667668 0.945445 +vt 0.667668 0.998999 +vt 0.721221 0.998999 +vt 0.223223 0.945445 +vt 0.223223 0.998999 +vt 0.276777 0.998999 +vt 0.112112 0.945445 +vt 0.112112 0.998999 +vt 0.165666 0.998999 +vt 0.167668 0.945445 +vt 0.167668 0.998999 +vt 0.221221 0.998999 +vt 0.998999 0.889890 +vt 0.945445 0.889890 +vt 0.945445 0.943443 +vt 0.945445 0.945445 +vt 0.945445 0.998999 +vt 0.998999 0.998999 +vt 0.834334 0.945445 +vt 0.834334 0.998999 +vt 0.887888 0.998999 +vt 0.889890 0.945445 +vt 0.889890 0.998999 +vt 0.943443 0.998999 +vt 0.945445 0.001001 +vt 0.945445 0.054555 +vt 0.998999 0.054555 +vt 0.998999 0.056557 +vt 0.945445 0.056557 +vt 0.945445 0.110110 +vt 0.723223 0.945445 +vt 0.723223 0.998999 +vt 0.776777 0.998999 +vt 0.778779 0.945445 +vt 0.778779 0.998999 +vt 0.832332 0.998999 +vt 0.501001 0.945445 +vt 0.501001 0.998999 +vt 0.554555 0.998999 +vt 0.610110 0.945445 +vt 0.556557 0.945445 +vt 0.556557 0.998999 +vt 0.998999 0.445445 +vt 0.945445 0.445445 +vt 0.945445 0.498999 +vt 0.945445 0.501001 +vt 0.945445 0.554555 +vt 0.998999 0.554555 +vt 0.945445 0.778779 +vt 0.945445 0.832332 +vt 0.998999 0.832332 +vt 0.945445 0.834334 +vt 0.945445 0.887888 +vt 0.998999 0.887888 +vt 0.945445 0.334334 +vt 0.945445 0.387888 +vt 0.998999 0.387888 +vt 0.945445 0.389890 +vt 0.945445 0.443443 +vt 0.998999 0.443443 +vt 0.945445 0.112112 +vt 0.945445 0.165666 +vt 0.998999 0.165666 +vt 0.945445 0.556557 +vt 0.945445 0.610110 +vt 0.998999 0.610110 +vt 0.945445 0.612112 +vt 0.945445 0.665666 +vt 0.998999 0.665666 +vt 0.945445 0.167668 +vt 0.945445 0.221221 +vt 0.998999 0.221221 +vt 0.945445 0.667668 +vt 0.945445 0.721221 +vt 0.998999 0.721221 +vt 0.998999 0.723223 +vt 0.945445 0.723223 +vt 0.945445 0.776777 +vt 0.945445 0.223223 +vt 0.945445 0.276777 +vt 0.998999 0.276777 +vt 0.945445 0.278779 +vt 0.945445 0.332332 +vt 0.998999 0.332332 +vt 0.443443 0.889890 +vt 0.389890 0.889890 +vt 0.389890 0.943443 +vt 0.445445 0.889890 +vt 0.445445 0.943443 +vt 0.498999 0.943443 +vt 0.332332 0.001001 +vt 0.223223 0.001001 +vt 0.223223 0.110110 +vt 0.278779 0.889890 +vt 0.278779 0.943443 +vt 0.332332 0.943443 +vt 0.334334 0.889890 +vt 0.334334 0.943443 +vt 0.387888 0.943443 +vt 0.001001 0.889890 +vt 0.001001 0.943443 +vt 0.054555 0.943443 +vt 0.167668 0.889890 +vt 0.167668 0.943443 +vt 0.221221 0.943443 +vt 0.223223 0.889890 +vt 0.223223 0.943443 +vt 0.276777 0.943443 +vt 0.554555 0.889890 +vt 0.501001 0.889890 +vt 0.501001 0.943443 +vt 0.889890 0.223223 +vt 0.889890 0.276777 +vt 0.943443 0.276777 +vt 0.943443 0.167668 +vt 0.889890 0.167668 +vt 0.889890 0.221221 +vt 0.943443 0.334334 +vt 0.889890 0.334334 +vt 0.889890 0.387888 +vt 0.943443 0.278779 +vt 0.889890 0.278779 +vt 0.889890 0.332332 +vt 0.889890 0.445445 +vt 0.889890 0.498999 +vt 0.943443 0.498999 +vt 0.889890 0.389890 +vt 0.889890 0.443443 +vt 0.943443 0.443443 +vt 0.889890 0.001001 +vt 0.889890 0.054555 +vt 0.943443 0.054555 +vt 0.943443 0.112112 +vt 0.889890 0.112112 +vt 0.889890 0.165666 +vt 0.889890 0.056557 +vt 0.889890 0.110110 +vt 0.943443 0.110110 +vt 0.001001 0.001001 +vt 0.001001 0.110110 +vt 0.110110 0.110110 +vt 0.443443 0.334334 +vt 0.334334 0.334334 +vt 0.334334 0.443443 +vt 0.110110 0.112112 +vt 0.001001 0.112112 +vt 0.001001 0.221221 +vt 0.112112 0.001001 +vt 0.112112 0.110110 +vt 0.221221 0.110110 +vt 0.221221 0.112112 +vt 0.112112 0.112112 +vt 0.112112 0.221221 +vt 0.223223 0.112112 +vt 0.223223 0.221221 +vt 0.332332 0.221221 +vt 0.112112 0.223223 +vt 0.112112 0.332332 +vt 0.221221 0.332332 +vt 0.001001 0.223223 +vt 0.001001 0.332332 +vt 0.110110 0.332332 +vt 0.223223 0.223223 +vt 0.223223 0.332332 +vt 0.332332 0.332332 +vt 0.223223 0.334334 +vt 0.223223 0.443443 +vt 0.332332 0.443443 +vt 0.112112 0.334334 +vt 0.112112 0.443443 +vt 0.221221 0.443443 +vt 0.110110 0.334334 +vt 0.001001 0.334334 +vt 0.001001 0.443443 +vt 0.334334 0.112112 +vt 0.334334 0.221221 +vt 0.443443 0.221221 +vt 0.334334 0.001001 +vt 0.334334 0.110110 +vt 0.443443 0.110110 +vt 0.334334 0.223223 +vt 0.334334 0.332332 +vt 0.443443 0.332332 +vt 0.887888 0.112112 +vt 0.834334 0.112112 +vt 0.834334 0.221221 +vt 0.887888 0.887888 +vt 0.887888 0.834334 +vt 0.778779 0.834334 +vt 0.832332 0.721221 +vt 0.832332 0.613113 +vt 0.779780 0.721221 +vt 0.832332 0.443443 +vt 0.724224 0.443443 +vt 0.832332 0.390891 +vt 0.832332 0.832332 +vt 0.832332 0.724224 +vt 0.779780 0.832332 +vt 0.332332 0.832332 +vt 0.224224 0.832332 +vt 0.332332 0.779780 +vt 0.721221 0.387888 +vt 0.721221 0.279780 +vt 0.668669 0.387888 +vt 0.223223 0.831331 +vt 0.331331 0.778779 +vt 0.223223 0.778779 +vt 0.832332 0.054555 +vt 0.724224 0.054555 +vt 0.832332 0.002002 +vt 0.720220 0.278779 +vt 0.667668 0.386887 +vt 0.667668 0.278779 +vt 0.723223 0.001001 +vt 0.831331 0.001001 +vt 0.723223 0.053554 +vt 0.443443 0.832332 +vt 0.335335 0.832332 +vt 0.443443 0.779780 +vt 0.831331 0.723223 +vt 0.778779 0.831331 +vt 0.778779 0.723223 +vt 0.723223 0.442442 +vt 0.831331 0.389890 +vt 0.723223 0.389890 +vt 0.779780 0.387888 +vt 0.832332 0.279780 +vt 0.832332 0.387888 +vt 0.831331 0.278779 +vt 0.778779 0.386887 +vt 0.778779 0.278779 +vt 0.334334 0.831331 +vt 0.442442 0.778779 +vt 0.334334 0.778779 +vt 0.831331 0.612112 +vt 0.778779 0.612112 +vt 0.778779 0.720220 +vt 0.887888 0.001001 +vt 0.834334 0.001001 +vt 0.834334 0.110110 +vt 0.332332 0.887888 +vt 0.332332 0.834334 +vt 0.223223 0.834334 +vt 0.054555 0.778779 +vt 0.001001 0.778779 +vt 0.001001 0.887888 +vt 0.221221 0.887888 +vt 0.221221 0.834334 +vt 0.112112 0.834334 +vt 0.887888 0.501001 +vt 0.834334 0.501001 +vt 0.834334 0.610110 +vt 0.887888 0.498999 +vt 0.887888 0.445445 +vt 0.778779 0.445445 +vt 0.110110 0.778779 +vt 0.056557 0.778779 +vt 0.056557 0.887888 +vt 0.221221 0.832332 +vt 0.221221 0.778779 +vt 0.112112 0.778779 +vt 0.832332 0.165666 +vt 0.832332 0.056557 +vt 0.778779 0.056557 +vt 0.667668 0.832332 +vt 0.776777 0.832332 +vt 0.776777 0.778779 +vt 0.832332 0.167668 +vt 0.778779 0.167668 +vt 0.778779 0.276777 +vt 0.665666 0.832332 +vt 0.665666 0.778779 +vt 0.556557 0.778779 +vt 0.832332 0.501001 +vt 0.778779 0.501001 +vt 0.778779 0.610110 +vt 0.445445 0.832332 +vt 0.554555 0.832332 +vt 0.554555 0.778779 +vt 0.943443 0.610110 +vt 0.556557 0.943443 +vt 0.943443 0.721221 +vt 0.667668 0.943443 +vt 0.943443 0.943443 +vt 0.056557 0.943443 +vt 0.943443 0.832332 +vt 0.667668 0.887888 +vt 0.834334 0.832332 +vt 0.556557 0.887888 +vt 0.834334 0.332332 +vt 0.334334 0.834334 +vt 0.887888 0.721221 +vt 0.445445 0.834334 +vt 0.887888 0.334334 +vt 0.112112 0.721221 +vt 0.445445 0.221221 +vt 0.110110 0.498999 +vt 0.498999 0.001001 +vt 0.334334 0.498999 +vt 0.498999 0.332332 +vt 0.223223 0.498999 +vt 0.498999 0.334334 +vt 0.221221 0.498999 +vt 0.498999 0.445445 +vt 0.443443 0.554555 +vt 0.554555 0.445445 +vt 0.332332 0.554555 +vt 0.554555 0.334334 +vt 0.221221 0.554555 +vt 0.554555 0.332332 +vt 0.110110 0.554555 +vt 0.554555 0.221221 +vt 0.610110 0.110110 +vt 0.610110 0.112112 +vt 0.610110 0.054555 +vt 0.610110 0.223223 +vt 0.112112 0.610110 +vt 0.610110 0.445445 +vt 0.332332 0.610110 +vt 0.610110 0.334334 +vt 0.334334 0.610110 +vt 0.498999 0.556557 +vt 0.110110 0.610110 +vt 0.554555 0.665666 +vt 0.665666 0.610110 +vt 0.665666 0.056557 +vt 0.665666 0.665666 +vt 0.665666 0.167668 +vt 0.223223 0.665666 +vt 0.665666 0.387888 +vt 0.443443 0.665666 +vt 0.665666 0.498999 +vt 0.112112 0.665666 +vt 0.110110 0.721221 +vt 0.721221 0.554555 +vt 0.054555 0.721221 +vt 0.612112 0.054555 +vt 0.721221 0.389890 +vt 0.778779 0.943443 +vt 0.721221 0.165666 +vt 0.332332 0.721221 +vt 0.721221 0.721221 +vt 0.443443 0.721221 +vt 0.721221 0.167668 +vt 0.332332 0.998999 +vt 0.554555 0.721221 +vt 0.665666 0.667668 +vt 0.776777 0.610110 +vt 0.610110 0.667668 +vt 0.445445 0.776777 +vt 0.776777 0.445445 +vt 0.334334 0.776777 +vt 0.776777 0.278779 +vt 0.332332 0.776777 +vt 0.776777 0.167668 +vt 0.112112 0.776777 +vt 0.776777 0.056557 +vt 0.110110 0.776777 +vt 0.776777 0.612112 +vt 0.667668 0.776777 +vt 0.498999 0.998999 +vt 0.665666 0.945445 +vt 0.721221 0.945445 +vt 0.276777 0.945445 +vt 0.165666 0.945445 +vt 0.221221 0.945445 +vt 0.998999 0.943443 +vt 0.998999 0.945445 +vt 0.887888 0.945445 +vt 0.943443 0.945445 +vt 0.998999 0.001001 +vt 0.998999 0.110110 +vt 0.776777 0.945445 +vt 0.832332 0.945445 +vt 0.554555 0.945445 +vt 0.610110 0.998999 +vt 0.998999 0.498999 +vt 0.998999 0.501001 +vt 0.998999 0.778779 +vt 0.998999 0.834334 +vt 0.998999 0.334334 +vt 0.998999 0.389890 +vt 0.998999 0.112112 +vt 0.998999 0.556557 +vt 0.998999 0.612112 +vt 0.998999 0.167668 +vt 0.998999 0.667668 +vt 0.998999 0.776777 +vt 0.998999 0.223223 +vt 0.998999 0.278779 +vt 0.443443 0.943443 +vt 0.498999 0.889890 +vt 0.332332 0.110110 +vt 0.332332 0.889890 +vt 0.387888 0.889890 +vt 0.054555 0.889890 +vt 0.221221 0.889890 +vt 0.276777 0.889890 +vt 0.554555 0.943443 +vt 0.943443 0.223223 +vt 0.943443 0.221221 +vt 0.943443 0.387888 +vt 0.943443 0.332332 +vt 0.943443 0.445445 +vt 0.943443 0.389890 +vt 0.943443 0.001001 +vt 0.943443 0.165666 +vt 0.943443 0.056557 +vt 0.110110 0.001001 +vt 0.443443 0.443443 +vt 0.110110 0.221221 +vt 0.221221 0.001001 +vt 0.221221 0.221221 +vt 0.332332 0.112112 +vt 0.221221 0.223223 +vt 0.110110 0.223223 +vt 0.332332 0.223223 +vt 0.332332 0.334334 +vt 0.221221 0.334334 +vt 0.110110 0.443443 +vt 0.443443 0.112112 +vt 0.443443 0.001001 +vt 0.443443 0.223223 +vt 0.887888 0.221221 +vt 0.778779 0.887888 +vt 0.887888 0.110110 +vt 0.223223 0.887888 +vt 0.054555 0.887888 +vt 0.112112 0.887888 +vt 0.887888 0.610110 +vt 0.778779 0.498999 +vt 0.110110 0.887888 +vt 0.112112 0.832332 +vt 0.778779 0.165666 +vt 0.667668 0.778779 +vt 0.832332 0.276777 +vt 0.556557 0.832332 +vt 0.832332 0.610110 +vt 0.445445 0.778779 +vn 0.091623 0.882856 -0.460620 +vn 0.260920 0.882856 -0.390495 +vn 0.390495 0.882856 -0.260920 +vn 0.460620 0.882856 -0.091623 +vn 0.460620 0.882856 0.091623 +vn 0.390495 0.882856 0.260921 +vn 0.260921 0.882856 0.390495 +vn 0.091623 0.882856 0.460620 +vn -0.091623 0.882856 0.460620 +vn -0.260920 0.882856 0.390495 +vn -0.390495 0.882856 0.260920 +vn -0.460620 0.882856 0.091623 +vn -0.460620 0.882856 -0.091623 +vn -0.390495 0.882856 -0.260920 +vn 0.672190 0.728206 -0.133707 +vn -0.091623 0.882856 -0.460620 +vn -0.260920 0.882856 -0.390495 +vn 0.194271 0.091562 0.976665 +vn -0.380765 0.728206 -0.569855 +vn 0.380765 0.728206 0.569855 +vn -0.380765 0.728206 0.569855 +vn 0.380765 0.728206 -0.569855 +vn -0.672190 0.728206 -0.133707 +vn 0.672190 0.728206 0.133707 +vn -0.133707 0.728206 -0.672190 +vn 0.133707 0.728206 -0.672190 +vn 0.133707 0.728206 0.672190 +vn -0.569855 0.728206 0.380765 +vn 0.569855 0.728206 -0.380765 +vn -0.569855 0.728206 -0.380765 +vn 0.569855 0.728206 0.380765 +vn -0.133707 0.728206 0.672190 +vn -0.672190 0.728206 0.133707 +vn -0.180850 -0.375043 0.909195 +vn 0.827977 0.091562 0.553236 +vn 0.976665 0.091562 -0.194271 +vn -0.553236 0.091562 -0.827977 +vn 0.553236 0.091562 -0.827977 +vn -0.976665 0.091562 -0.194271 +vn -0.827977 0.091562 0.553237 +vn -0.194271 0.091562 0.976665 +vn 0.553236 0.091562 0.827977 +vn 0.976665 0.091562 0.194271 +vn -0.194270 0.091562 -0.976665 +vn 0.827977 0.091562 -0.553236 +vn -0.827977 0.091562 -0.553237 +vn 0.194271 0.091562 -0.976665 +vn -0.976665 0.091562 0.194271 +vn -0.553236 0.091562 0.827977 +vn 0.126783 -0.973614 -0.189743 +vn 0.515018 -0.375043 0.770779 +vn 0.909195 -0.375043 0.180851 +vn -0.180850 -0.375043 -0.909195 +vn 0.770778 -0.375043 -0.515018 +vn -0.770779 -0.375043 -0.515018 +vn 0.180850 -0.375043 -0.909195 +vn -0.909195 -0.375043 0.180851 +vn -0.515018 -0.375043 0.770778 +vn 0.180851 -0.375043 0.909195 +vn 0.770779 -0.375043 0.515018 +vn 0.909195 -0.375043 -0.180848 +vn -0.515017 -0.375043 -0.770779 +vn 0.515017 -0.375043 -0.770779 +vn -0.909195 -0.375043 -0.180849 +vn -0.770778 -0.375043 0.515018 +vn -0.558366 -0.740968 0.373088 +vn -0.044520 -0.973614 -0.223819 +vn -0.189745 -0.973614 -0.126782 +vn -0.223819 -0.973613 0.044522 +vn 0.126783 -0.973613 0.189745 +vn -0.126783 -0.973613 0.189745 +vn 0.223819 -0.973613 0.044520 +vn 0.189745 -0.973613 -0.126783 +vn 0.044520 -0.973613 -0.223819 +vn -0.126783 -0.973613 -0.189745 +vn -0.223819 -0.973613 -0.044521 +vn 0.044520 -0.973613 0.223819 +vn -0.189745 -0.973613 0.126783 +vn 0.189745 -0.973614 0.126783 +vn -0.044520 -0.973613 0.223819 +vn 0.223819 -0.973613 -0.044523 +vn 0.109840 0.826442 -0.552203 +vn -0.131011 -0.740967 0.658638 +vn 0.373088 -0.740968 0.558366 +vn 0.658638 -0.740967 0.131011 +vn -0.131011 -0.740968 -0.658637 +vn 0.558366 -0.740967 -0.373089 +vn -0.558366 -0.740968 -0.373088 +vn 0.131011 -0.740967 -0.658638 +vn -0.658637 -0.740968 0.131011 +vn -0.373088 -0.740968 0.558366 +vn 0.131011 -0.740967 0.658638 +vn 0.558366 -0.740968 0.373088 +vn 0.658637 -0.740967 -0.131011 +vn -0.373088 -0.740967 -0.558366 +vn 0.373088 -0.740968 -0.558366 +vn -0.658637 -0.740967 -0.131012 +vn 0.227257 -0.912511 -0.340114 +vn -0.552204 0.826442 0.109840 +vn -0.312798 0.826441 0.468136 +vn 0.109840 0.826442 0.552203 +vn 0.468136 0.826442 0.312798 +vn 0.552203 0.826442 -0.109841 +vn -0.312798 0.826442 -0.468135 +vn 0.312799 0.826442 -0.468136 +vn -0.552203 0.826442 -0.109841 +vn -0.468135 0.826442 0.312798 +vn -0.109840 0.826441 0.552205 +vn 0.312798 0.826442 0.468136 +vn 0.552204 0.826442 0.109841 +vn -0.109840 0.826442 -0.552204 +vn 0.468136 0.826442 -0.312798 +vn -0.468136 0.826442 -0.312798 +vn 0.546358 -0.753804 -0.365065 +vn -0.401192 -0.912511 -0.079801 +vn -0.340114 -0.912511 0.227258 +vn -0.079802 -0.912511 0.401193 +vn 0.227257 -0.912511 0.340114 +vn 0.401192 -0.912511 0.079801 +vn -0.079802 -0.912511 -0.401192 +vn 0.340114 -0.912511 -0.227257 +vn -0.340114 -0.912511 -0.227258 +vn 0.079802 -0.912510 -0.401194 +vn -0.401192 -0.912511 0.079802 +vn -0.227257 -0.912511 0.340114 +vn 0.079802 -0.912511 0.401193 +vn 0.340114 -0.912511 0.227257 +vn 0.401192 -0.912511 -0.079802 +vn -0.227257 -0.912511 -0.340115 +vn -0.546358 -0.753804 -0.365065 +vn 0.128193 -0.753804 -0.644473 +vn -0.644474 -0.753804 0.128193 +vn -0.365065 -0.753804 0.546358 +vn 0.128194 -0.753804 0.644474 +vn 0.546358 -0.753804 0.365065 +vn 0.644474 -0.753804 -0.128193 +vn -0.365065 -0.753804 -0.546358 +vn 0.365065 -0.753804 -0.546358 +vn -0.644474 -0.753804 -0.128194 +vn -0.546358 -0.753804 0.365065 +vn -0.128193 -0.753804 0.644473 +vn 0.365065 -0.753804 0.546358 +vn 0.644473 -0.753804 0.128194 +vn -0.128194 -0.753804 -0.644474 +vn -0.248797 0.894122 0.372351 +vn -0.372351 0.894122 0.248798 +vn 0.093165 0.985839 0.139432 +vn 0.032715 0.985839 0.164471 +vn -0.032715 0.985839 0.164471 +vn -0.093165 0.985840 0.139429 +vn -0.139432 0.985839 0.093165 +vn -0.164471 0.985839 0.032716 +vn -0.164471 0.985839 -0.032716 +vn -0.139432 0.985839 -0.093165 +vn -0.093165 0.985839 -0.139430 +vn 0.164471 0.985839 0.032716 +vn -0.032715 0.985839 -0.164471 +vn 0.032715 0.985839 -0.164470 +vn 0.093165 0.985839 -0.139432 +vn 0.139432 0.985839 -0.093166 +vn 0.164471 0.985839 -0.032716 +vn 0.139432 0.985839 0.093166 +vn -0.087366 0.894122 0.439218 +vn 0.087366 0.894123 0.439217 +vn 0.248797 0.894122 0.372352 +vn 0.372351 0.894123 0.248796 +vn 0.439218 0.894122 0.087367 +vn 0.439218 0.894122 -0.087366 +vn 0.372351 0.894123 -0.248795 +vn 0.248797 0.894122 -0.372351 +vn 0.087366 0.894122 -0.439218 +vn -0.087366 0.894122 -0.439218 +vn -0.248797 0.894122 -0.372351 +vn -0.372351 0.894122 -0.248798 +vn -0.439218 0.894122 -0.087366 +vn -0.439218 0.894122 0.087366 +vn 0.260921 0.882856 -0.390495 +vn 0.390495 0.882856 0.260920 +vn -0.390495 0.882856 0.260921 +vn -0.390495 0.882856 -0.260921 +vn -0.380764 0.728206 -0.569855 +vn -0.133707 0.728205 -0.672190 +vn -0.180850 -0.375044 0.909195 +vn 0.126783 -0.973613 -0.189744 +vn 0.515018 -0.375043 0.770778 +vn 0.909196 -0.375043 0.180849 +vn -0.770778 -0.375043 -0.515018 +vn 0.180851 -0.375043 -0.909195 +vn -0.909195 -0.375043 0.180849 +vn 0.180850 -0.375043 0.909195 +vn 0.770778 -0.375043 0.515018 +vn 0.909195 -0.375043 -0.180851 +vn -0.515018 -0.375043 -0.770778 +vn 0.515018 -0.375043 -0.770778 +vn -0.909195 -0.375043 -0.180851 +vn -0.770777 -0.375043 0.515020 +vn -0.558366 -0.740967 0.373088 +vn -0.044521 -0.973613 -0.223819 +vn -0.189745 -0.973613 -0.126783 +vn -0.223819 -0.973613 0.044520 +vn 0.126783 -0.973613 0.189746 +vn 0.223819 -0.973613 0.044523 +vn 0.189745 -0.973614 -0.126783 +vn 0.044520 -0.973613 -0.223820 +vn -0.126783 -0.973613 -0.189746 +vn -0.223819 -0.973613 -0.044523 +vn 0.044520 -0.973613 0.223820 +vn -0.189745 -0.973614 0.126780 +vn 0.189745 -0.973613 0.126784 +vn -0.044520 -0.973613 0.223820 +vn 0.223819 -0.973613 -0.044521 +vn -0.131011 -0.740968 0.658637 +vn 0.373088 -0.740967 0.558366 +vn 0.658637 -0.740967 0.131011 +vn -0.131011 -0.740967 -0.658638 +vn 0.558366 -0.740968 -0.373088 +vn 0.131011 -0.740966 -0.658638 +vn -0.658637 -0.740968 0.131012 +vn 0.558366 -0.740967 0.373088 +vn 0.658638 -0.740967 -0.131010 +vn 0.373088 -0.740967 -0.558367 +vn -0.658637 -0.740968 -0.131011 +vn -0.552203 0.826442 0.109840 +vn -0.312798 0.826442 0.468136 +vn 0.552203 0.826442 -0.109840 +vn -0.312798 0.826442 -0.468136 +vn 0.312798 0.826442 -0.468136 +vn -0.552203 0.826442 -0.109840 +vn -0.468136 0.826442 0.312798 +vn -0.109840 0.826442 0.552204 +vn 0.552204 0.826442 0.109840 +vn -0.401192 -0.912511 -0.079802 +vn -0.340114 -0.912511 0.227256 +vn -0.079802 -0.912511 0.401192 +vn 0.401192 -0.912511 0.079803 +vn -0.079802 -0.912511 -0.401191 +vn 0.340114 -0.912511 -0.227256 +vn -0.340114 -0.912512 -0.227256 +vn 0.079802 -0.912512 -0.401191 +vn 0.079802 -0.912511 0.401192 +vn -0.227257 -0.912511 -0.340114 +vn 0.128194 -0.753803 -0.644474 +vn -0.644474 -0.753804 0.128194 +vn 0.128194 -0.753804 0.644473 +vn 0.644473 -0.753804 -0.128194 +vn -0.365065 -0.753804 -0.546359 +vn 0.365065 -0.753803 -0.546359 +vn -0.644474 -0.753804 -0.128193 +vn -0.128194 -0.753804 0.644473 +vn 0.644474 -0.753804 0.128193 +vn -0.128194 -0.753804 -0.644473 +vn -0.372351 0.894122 0.248797 +vn 0.087366 0.894122 0.439218 +vn 0.248797 0.894122 0.372351 +vn 0.372351 0.894122 0.248797 +vn 0.439218 0.894122 0.087365 +vn 0.439218 0.894122 -0.087365 +vn 0.372351 0.894122 -0.248797 +vn 0.087366 0.894123 -0.439218 +vn -0.372351 0.894122 -0.248797 +s off +f 2/1/1 4/2/1 3/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 10/13/5 12/14/5 11/15/5 +f 12/16/6 14/17/6 13/18/6 +f 14/19/7 16/20/7 15/21/7 +f 16/22/8 18/23/8 17/24/8 +f 17/25/9 18/26/9 20/27/9 +f 20/28/10 22/29/10 21/30/10 +f 21/31/11 22/32/11 24/33/11 +f 23/34/12 24/35/12 26/36/12 +f 26/37/13 28/38/13 27/39/13 +f 27/40/14 28/41/14 30/42/14 +f 8/43/15 36/44/15 37/45/15 +f 32/46/16 2/47/16 1/48/16 +f 29/49/17 30/50/17 32/51/17 +f 40/52/18 56/53/18 57/54/18 +f 30/55/19 47/56/19 48/57/19 +f 16/58/20 14/59/20 39/60/20 +f 22/61/21 20/62/21 42/63/21 +f 6/64/22 4/65/22 34/66/22 +f 26/67/23 45/68/23 46/69/23 +f 10/70/24 37/71/24 38/72/24 +f 32/73/25 48/74/25 33/75/25 +f 2/76/26 33/77/26 34/78/26 +f 16/79/27 40/80/27 41/81/27 +f 22/82/28 43/83/28 44/84/28 +f 6/85/29 35/86/29 36/87/29 +f 28/88/30 46/89/30 47/90/30 +f 14/91/31 12/92/31 38/93/31 +f 18/94/32 41/95/32 42/96/32 +f 26/97/33 24/98/33 44/99/33 +f 57/100/34 73/101/34 74/102/34 +f 38/103/35 54/104/35 55/105/35 +f 36/106/36 52/107/36 53/108/36 +f 47/109/37 63/110/37 64/111/37 +f 35/112/38 34/113/38 50/114/38 +f 45/115/39 61/116/39 62/117/39 +f 43/118/40 59/119/40 60/120/40 +f 41/121/41 57/122/41 58/123/41 +f 40/124/42 39/125/42 55/126/42 +f 37/127/43 53/128/43 54/129/43 +f 48/130/44 64/131/44 49/132/44 +f 36/133/45 35/134/45 51/135/45 +f 46/136/46 62/137/46 63/138/46 +f 33/139/47 49/140/47 50/141/47 +f 44/142/48 60/143/48 61/144/48 +f 42/145/49 58/146/49 59/147/49 +f 75/148/50 74/149/50 90/150/50 +f 56/151/51 55/152/51 71/153/51 +f 53/154/52 69/155/52 70/156/52 +f 49/157/53 64/158/53 80/159/53 +f 52/160/54 51/161/54 67/162/54 +f 63/163/55 62/164/55 78/165/55 +f 49/166/56 65/167/56 66/168/56 +f 61/169/57 60/170/57 76/171/57 +f 59/172/58 58/173/58 74/174/58 +f 56/175/59 72/176/59 73/177/59 +f 55/178/60 54/179/60 70/180/60 +f 53/181/61 52/182/61 68/183/61 +f 63/184/62 79/185/62 80/186/62 +f 51/187/63 50/188/63 66/189/63 +f 61/190/64 77/191/64 78/192/64 +f 59/193/65 75/194/65 76/195/65 +f 92/196/66 91/197/66 107/198/66 +f 72/199/67 88/200/67 89/201/67 +f 70/202/68 86/203/68 87/204/68 +f 68/205/69 84/206/69 85/207/69 +f 79/208/70 95/209/70 96/210/70 +f 67/211/71 66/212/71 82/213/71 +f 77/214/72 93/215/72 94/216/72 +f 76/217/73 75/218/73 91/219/73 +f 73/220/74 89/221/74 90/222/74 +f 71/223/75 87/224/75 88/225/75 +f 69/226/76 85/227/76 86/228/76 +f 65/229/77 80/230/77 96/231/77 +f 67/232/78 83/233/78 84/234/78 +f 78/235/79 94/236/79 95/237/79 +f 65/238/80 81/239/80 82/240/80 +f 77/241/81 76/242/81 92/243/81 +f 98/244/82 97/245/82 113/246/82 +f 89/247/83 105/248/83 106/249/83 +f 87/250/84 103/251/84 104/252/84 +f 85/253/85 101/254/85 102/255/85 +f 96/256/86 112/257/86 97/258/86 +f 83/259/87 99/260/87 100/261/87 +f 95/262/88 94/263/88 110/264/88 +f 81/265/89 97/266/89 98/267/89 +f 92/268/90 108/269/90 109/270/90 +f 90/271/91 106/272/91 107/273/91 +f 88/274/92 104/275/92 105/276/92 +f 87/277/93 86/278/93 102/279/93 +f 84/280/94 100/281/94 101/282/94 +f 95/283/95 111/284/95 112/285/95 +f 82/286/96 98/287/96 99/288/96 +f 94/289/97 93/290/97 109/291/97 +f 115/292/98 114/293/98 130/294/98 +f 108/295/99 124/296/99 125/297/99 +f 106/298/100 122/299/100 123/300/100 +f 104/301/101 120/302/101 121/303/101 +f 102/304/102 118/305/102 119/306/102 +f 100/307/103 116/308/103 117/309/103 +f 111/310/104 127/311/104 128/312/104 +f 98/313/105 114/314/105 115/315/105 +f 109/316/106 125/317/106 126/318/106 +f 107/319/107 123/320/107 124/321/107 +f 105/322/108 121/323/108 122/324/108 +f 104/325/109 103/326/109 119/327/109 +f 101/328/110 117/329/110 118/330/110 +f 112/331/111 128/332/111 113/333/111 +f 100/334/112 99/335/112 115/336/112 +f 110/337/113 126/338/113 127/339/113 +f 132/340/114 131/341/114 147/342/114 +f 125/343/115 141/344/115 142/345/115 +f 123/346/116 139/347/116 140/348/116 +f 121/349/117 137/350/117 138/351/117 +f 119/352/118 135/353/118 136/354/118 +f 117/355/119 133/356/119 134/357/119 +f 113/358/120 128/359/120 144/360/120 +f 115/361/121 131/362/121 132/363/121 +f 127/364/122 126/365/122 142/366/122 +f 114/367/123 113/368/123 129/369/123 +f 125/370/124 124/371/124 140/372/124 +f 122/373/125 138/374/125 139/375/125 +f 120/376/126 136/377/126 137/378/126 +f 118/379/127 134/380/127 135/381/127 +f 117/382/128 116/383/128 132/384/128 +f 127/385/129 143/386/129 144/387/129 +f 142/388/130 158/389/130 159/390/130 +f 130/391/131 129/392/131 145/393/131 +f 141/394/132 140/395/132 156/396/132 +f 138/397/133 154/398/133 155/399/133 +f 137/400/134 136/401/134 152/402/134 +f 134/403/135 150/404/135 151/405/135 +f 132/406/136 148/407/136 149/408/136 +f 143/409/137 159/410/137 160/411/137 +f 130/412/138 146/413/138 147/414/138 +f 141/415/139 157/416/139 158/417/139 +f 139/418/140 155/419/140 156/420/140 +f 138/421/141 137/422/141 153/423/141 +f 135/424/142 151/425/142 152/426/142 +f 133/427/143 149/428/143 150/429/143 +f 144/430/144 160/431/144 145/432/144 +f 170/433/145 171/434/145 155/435/145 +f 171/436/146 172/437/146 156/438/146 +f 167/439/147 177/440/147 168/441/147 +f 168/442/148 177/443/148 169/444/148 +f 169/445/149 177/446/149 170/447/149 +f 170/448/150 177/449/150 171/450/150 +f 171/451/151 177/452/151 172/453/151 +f 172/454/152 177/455/152 173/456/152 +f 173/457/153 177/458/153 174/459/153 +f 174/460/154 177/461/154 175/462/154 +f 175/463/155 177/464/155 176/465/155 +f 165/466/156 177/467/156 166/468/156 +f 176/469/157 177/470/157 161/471/157 +f 161/472/158 177/473/158 162/474/158 +f 162/475/159 177/476/159 163/477/159 +f 163/478/160 177/479/160 164/480/160 +f 164/481/161 177/482/161 165/483/161 +f 167/484/162 166/485/162 177/486/162 +f 169/487/163 170/488/163 154/489/163 +f 168/490/164 169/491/164 153/492/164 +f 167/493/165 168/494/165 152/495/165 +f 166/496/166 167/497/166 151/498/166 +f 165/499/167 166/500/167 150/501/167 +f 164/502/168 165/503/168 149/504/168 +f 163/505/169 164/506/169 148/507/169 +f 162/508/170 163/509/170 147/510/170 +f 145/511/171 161/512/171 162/513/171 +f 160/514/172 176/515/172 161/516/172 +f 175/517/173 176/518/173 160/519/173 +f 174/520/174 175/521/174 159/522/174 +f 173/523/175 174/524/175 158/525/175 +f 156/526/176 172/527/176 173/528/176 +f 1/529/1 2/1/1 3/3/1 +f 3/530/177 4/4/177 5/6/177 +f 5/531/3 6/7/3 7/9/3 +f 7/532/4 8/10/4 9/12/4 +f 9/533/5 10/13/5 11/15/5 +f 11/534/178 12/16/178 13/18/178 +f 13/535/7 14/19/7 15/21/7 +f 15/536/8 16/22/8 17/24/8 +f 19/537/9 17/25/9 20/27/9 +f 19/538/10 20/28/10 21/30/10 +f 23/539/179 21/31/179 24/33/179 +f 25/540/12 23/34/12 26/36/12 +f 25/541/13 26/37/13 27/39/13 +f 29/542/180 27/40/180 30/42/180 +f 10/543/15 8/43/15 37/45/15 +f 31/544/16 32/46/16 1/48/16 +f 31/545/17 29/49/17 32/51/17 +f 41/546/18 40/52/18 57/54/18 +f 32/547/181 30/55/181 48/57/181 +f 40/548/20 16/58/20 39/60/20 +f 43/549/21 22/61/21 42/63/21 +f 35/550/22 6/64/22 34/66/22 +f 28/551/23 26/67/23 46/69/23 +f 12/552/24 10/70/24 38/72/24 +f 2/553/182 32/73/182 33/75/182 +f 4/554/26 2/76/26 34/78/26 +f 18/555/27 16/79/27 41/81/27 +f 24/556/28 22/82/28 44/84/28 +f 8/557/29 6/85/29 36/87/29 +f 30/558/30 28/88/30 47/90/30 +f 39/559/31 14/91/31 38/93/31 +f 20/560/32 18/94/32 42/96/32 +f 45/561/33 26/97/33 44/99/33 +f 58/562/183 57/100/183 74/102/183 +f 39/563/35 38/103/35 55/105/35 +f 37/564/36 36/106/36 53/108/36 +f 48/565/37 47/109/37 64/111/37 +f 51/566/38 35/112/38 50/114/38 +f 46/567/39 45/115/39 62/117/39 +f 44/568/40 43/118/40 60/120/40 +f 42/569/41 41/121/41 58/123/41 +f 56/570/42 40/124/42 55/126/42 +f 38/571/43 37/127/43 54/129/43 +f 33/572/44 48/130/44 49/132/44 +f 52/573/45 36/133/45 51/135/45 +f 47/574/46 46/136/46 63/138/46 +f 34/575/47 33/139/47 50/141/47 +f 45/576/48 44/142/48 61/144/48 +f 43/577/49 42/145/49 59/147/49 +f 91/578/184 75/148/184 90/150/184 +f 72/579/185 56/151/185 71/153/185 +f 54/580/186 53/154/186 70/156/186 +f 65/581/53 49/157/53 80/159/53 +f 68/582/54 52/160/54 67/162/54 +f 79/583/187 63/163/187 78/165/187 +f 50/584/188 49/166/188 66/168/188 +f 77/585/189 61/169/189 76/171/189 +f 75/586/58 59/172/58 74/174/58 +f 57/587/190 56/175/190 73/177/190 +f 71/588/191 55/178/191 70/180/191 +f 69/589/192 53/181/192 68/183/192 +f 64/590/193 63/184/193 80/186/193 +f 67/591/194 51/187/194 66/189/194 +f 62/592/195 61/190/195 78/192/195 +f 60/593/196 59/193/196 76/195/196 +f 108/594/197 92/196/197 107/198/197 +f 73/595/198 72/199/198 89/201/198 +f 71/596/199 70/202/199 87/204/199 +f 69/597/200 68/205/200 85/207/200 +f 80/598/201 79/208/201 96/210/201 +f 83/599/71 67/211/71 82/213/71 +f 78/600/202 77/214/202 94/216/202 +f 92/601/203 76/217/203 91/219/203 +f 74/602/204 73/220/204 90/222/204 +f 72/603/205 71/223/205 88/225/205 +f 70/604/206 69/226/206 86/228/206 +f 81/605/207 65/229/207 96/231/207 +f 68/606/208 67/232/208 84/234/208 +f 79/607/209 78/235/209 95/237/209 +f 66/608/210 65/238/210 82/240/210 +f 93/609/211 77/241/211 92/243/211 +f 114/610/82 98/244/82 113/246/82 +f 90/611/212 89/247/212 106/249/212 +f 88/612/213 87/250/213 104/252/213 +f 86/613/214 85/253/214 102/255/214 +f 81/614/215 96/256/215 97/258/215 +f 84/615/216 83/259/216 100/261/216 +f 111/616/88 95/262/88 110/264/88 +f 82/617/217 81/265/217 98/267/217 +f 93/618/218 92/268/218 109/270/218 +f 91/619/91 90/271/91 107/273/91 +f 89/620/92 88/274/92 105/276/92 +f 103/621/219 87/277/219 102/279/219 +f 85/622/220 84/280/220 101/282/220 +f 96/623/95 95/283/95 112/285/95 +f 83/624/221 82/286/221 99/288/221 +f 110/625/222 94/289/222 109/291/222 +f 131/626/98 115/292/98 130/294/98 +f 109/627/223 108/295/223 125/297/223 +f 107/628/224 106/298/224 123/300/224 +f 105/629/101 104/301/101 121/303/101 +f 103/630/102 102/304/102 119/306/102 +f 101/631/225 100/307/225 117/309/225 +f 112/632/226 111/310/226 128/312/226 +f 99/633/227 98/313/227 115/315/227 +f 110/634/228 109/316/228 126/318/228 +f 108/635/229 107/319/229 124/321/229 +f 106/636/230 105/322/230 122/324/230 +f 120/637/109 104/325/109 119/327/109 +f 102/638/231 101/328/231 118/330/231 +f 97/639/111 112/331/111 113/333/111 +f 116/640/112 100/334/112 115/336/112 +f 111/641/113 110/337/113 127/339/113 +f 148/642/114 132/340/114 147/342/114 +f 126/643/232 125/343/232 142/345/232 +f 124/644/233 123/346/233 140/348/233 +f 122/645/234 121/349/234 138/351/234 +f 120/646/118 119/352/118 136/354/118 +f 118/647/235 117/355/235 134/357/235 +f 129/648/236 113/358/236 144/360/236 +f 116/649/237 115/361/237 132/363/237 +f 143/650/238 127/364/238 142/366/238 +f 130/651/239 114/367/239 129/369/239 +f 141/652/124 125/370/124 140/372/124 +f 123/653/125 122/373/125 139/375/125 +f 121/654/240 120/376/240 137/378/240 +f 119/655/127 118/379/127 135/381/127 +f 133/656/128 117/382/128 132/384/128 +f 128/657/241 127/385/241 144/387/241 +f 143/658/130 142/388/130 159/390/130 +f 146/659/242 130/391/242 145/393/242 +f 157/660/243 141/394/243 156/396/243 +f 139/661/133 138/397/133 155/399/133 +f 153/662/244 137/400/244 152/402/244 +f 135/663/135 134/403/135 151/405/135 +f 133/664/245 132/406/245 149/408/245 +f 144/665/246 143/409/246 160/411/246 +f 131/666/247 130/412/247 147/414/247 +f 142/667/248 141/415/248 158/417/248 +f 140/668/140 139/418/140 156/420/140 +f 154/669/249 138/421/249 153/423/249 +f 136/670/142 135/424/142 152/426/142 +f 134/671/250 133/427/250 150/429/250 +f 129/672/251 144/430/251 145/432/251 +f 154/673/145 170/433/145 155/435/145 +f 155/674/252 171/436/252 156/438/252 +f 153/675/163 169/487/163 154/489/163 +f 152/676/253 168/490/253 153/492/253 +f 151/677/254 167/493/254 152/495/254 +f 150/678/255 166/496/255 151/498/255 +f 149/679/256 165/499/256 150/501/256 +f 148/680/257 164/502/257 149/504/257 +f 147/681/258 163/505/258 148/507/258 +f 146/682/170 162/508/170 147/510/170 +f 146/683/259 145/511/259 162/513/259 +f 145/684/172 160/514/172 161/516/172 +f 159/685/173 175/517/173 160/519/173 +f 158/686/260 174/520/260 159/522/260 +f 157/687/175 173/523/175 158/525/175 +f 157/688/176 156/526/176 173/528/176 diff --git a/assets/hbm/models/Prototype.obj b/assets/hbm/models/Prototype.obj new file mode 100644 index 000000000..871f69e2d --- /dev/null +++ b/assets/hbm/models/Prototype.obj @@ -0,0 +1,2674 @@ +# Blender v2.70 (sub 0) OBJ File: 'prototype.blend' +# www.blender.org +o Cylinder +v -0.000000 1.150000 -0.099999 +v -0.000000 1.150000 0.100001 +v 0.229610 1.104328 -0.100000 +v 0.229610 1.104328 0.100000 +v 0.424264 0.974264 -0.100000 +v 0.424264 0.974264 0.100000 +v 0.554328 0.779610 -0.100000 +v 0.554328 0.779610 0.100000 +v 0.600000 0.550000 -0.100000 +v 0.600000 0.550000 0.100000 +v 0.554328 0.320390 -0.100000 +v 0.554328 0.320390 0.100000 +v 0.424264 0.125736 -0.100000 +v 0.424264 0.125736 0.100000 +v 0.229610 -0.004328 -0.100000 +v 0.229610 -0.004328 0.100000 +v 0.000000 -0.050000 -0.100001 +v 0.000000 -0.050000 0.099999 +v -0.229610 -0.004328 -0.100000 +v -0.229610 -0.004328 0.100000 +v -0.424264 0.125736 -0.100000 +v -0.424264 0.125736 0.100000 +v -0.554328 0.320390 -0.100000 +v -0.554328 0.320390 0.100000 +v -0.600000 0.550000 -0.100000 +v -0.600000 0.550000 0.100000 +v -0.554328 0.779610 -0.100000 +v -0.554328 0.779610 0.100000 +v -0.424264 0.974264 -0.100000 +v -0.424264 0.974264 0.100000 +v -0.229610 1.104328 -0.100000 +v -0.229610 1.104328 0.100000 +v 0.191342 1.011940 0.100000 +v 0.000000 1.050000 0.100000 +v -0.191341 1.011940 0.100000 +v -0.353553 0.903553 0.100000 +v -0.461940 0.741342 0.100000 +v -0.500000 0.550000 0.100000 +v -0.461940 0.358658 0.100000 +v -0.353553 0.196446 0.100000 +v -0.191342 0.088060 0.100000 +v 0.000000 0.050000 0.100000 +v 0.191342 0.088060 0.100000 +v 0.353553 0.196447 0.100000 +v 0.461940 0.358658 0.100000 +v 0.500000 0.550000 0.100000 +v 0.461940 0.741342 0.100000 +v 0.353553 0.903553 0.100000 +v 0.000000 1.050000 -0.100000 +v 0.191342 1.011940 -0.100000 +v 0.353553 0.903553 -0.100000 +v 0.461940 0.741342 -0.100000 +v 0.500000 0.550000 -0.100000 +v 0.461940 0.358658 -0.100000 +v 0.353553 0.196447 -0.100000 +v 0.191342 0.088060 -0.100000 +v 0.000000 0.050000 -0.100000 +v -0.191342 0.088060 -0.100000 +v -0.353553 0.196447 -0.100000 +v -0.461940 0.358658 -0.100000 +v -0.500000 0.550000 -0.100000 +v -0.461940 0.741342 -0.100000 +v -0.353553 0.903554 -0.100000 +v -0.191341 1.011940 -0.100000 +v 0.191342 1.011938 2.300000 +v -0.000000 1.049998 2.300000 +v -0.191341 1.011938 2.300000 +v -0.353553 0.903551 2.300000 +v -0.461940 0.741340 2.300000 +v -0.500000 0.549998 2.300000 +v -0.461940 0.358656 2.300000 +v -0.353553 0.196444 2.300000 +v -0.191342 0.088058 2.299999 +v 0.000000 0.049998 2.299999 +v 0.191342 0.088058 2.299999 +v 0.353553 0.196445 2.300000 +v 0.461940 0.358656 2.300000 +v 0.500000 0.549998 2.300000 +v 0.461940 0.741340 2.300000 +v 0.353553 0.903551 2.300000 +v -0.000000 1.050002 -2.300000 +v 0.191342 1.011942 -2.300000 +v 0.353553 0.903555 -2.300000 +v 0.461940 0.741344 -2.300000 +v 0.500000 0.550002 -2.300000 +v 0.461940 0.358660 -2.300000 +v 0.353553 0.196449 -2.300000 +v 0.191342 0.088062 -2.300001 +v 0.000000 0.050002 -2.300001 +v -0.191342 0.088062 -2.300001 +v -0.353553 0.196449 -2.300000 +v -0.461940 0.358660 -2.300000 +v -0.500000 0.550002 -2.300000 +v -0.461940 0.741344 -2.300000 +v -0.353553 0.903556 -2.300000 +v -0.191341 1.011942 -2.300000 +v 0.191342 1.011938 2.500000 +v -0.000000 1.049998 2.500000 +v -0.191342 1.011938 2.500000 +v -0.353553 0.903551 2.500000 +v -0.461940 0.741340 2.500000 +v -0.500000 0.549998 2.500000 +v -0.461940 0.358656 2.500000 +v -0.353553 0.196444 2.500000 +v -0.191342 0.088058 2.500000 +v 0.000000 0.049998 2.500000 +v 0.191342 0.088058 2.500000 +v 0.353553 0.196444 2.500000 +v 0.461940 0.358656 2.500000 +v 0.500000 0.549998 2.500000 +v 0.461940 0.741340 2.500000 +v 0.353553 0.903551 2.500000 +v -0.000000 1.050002 -2.500000 +v 0.191342 1.011942 -2.500000 +v 0.353553 0.903556 -2.500000 +v 0.461940 0.741344 -2.500000 +v 0.500000 0.550002 -2.500000 +v 0.461940 0.358660 -2.500000 +v 0.353553 0.196449 -2.500000 +v 0.191342 0.088062 -2.500001 +v 0.000000 0.050002 -2.500001 +v -0.191342 0.088062 -2.500001 +v -0.353553 0.196449 -2.500000 +v -0.461940 0.358660 -2.500000 +v -0.500000 0.550002 -2.500000 +v -0.461940 0.741344 -2.500000 +v -0.353553 0.903556 -2.500000 +v -0.191341 1.011942 -2.500000 +v 0.095671 0.780967 2.800000 +v -0.000000 0.799998 2.800000 +v -0.095671 0.780967 2.800000 +v -0.176777 0.726774 2.800000 +v -0.230970 0.645668 2.800000 +v -0.250000 0.549998 2.800000 +v -0.230970 0.454327 2.800000 +v -0.176777 0.373221 2.800000 +v -0.095671 0.319028 2.799999 +v -0.000000 0.299998 2.799999 +v 0.095671 0.319028 2.799999 +v 0.176777 0.373221 2.800000 +v 0.230970 0.454327 2.800000 +v 0.250000 0.549998 2.800000 +v 0.230970 0.645668 2.800000 +v 0.176777 0.726774 2.800000 +v -0.000000 0.800002 -2.800000 +v 0.095671 0.780972 -2.800000 +v 0.176777 0.726779 -2.800000 +v 0.230970 0.645673 -2.799999 +v 0.250000 0.550002 -2.800000 +v 0.230970 0.454332 -2.800000 +v 0.176777 0.373226 -2.800000 +v 0.095671 0.319033 -2.800000 +v 0.000000 0.300002 -2.800000 +v -0.095671 0.319033 -2.800000 +v -0.176777 0.373226 -2.800000 +v -0.230970 0.454332 -2.800000 +v -0.250000 0.550002 -2.800000 +v -0.230970 0.645673 -2.799999 +v -0.176777 0.726779 -2.800000 +v -0.095671 0.780972 -2.800000 +v 0.076537 0.734773 3.500000 +v 0.000000 0.749997 3.500000 +v -0.076536 0.734773 3.500000 +v -0.141421 0.691418 3.500000 +v -0.184776 0.626534 3.500000 +v -0.200000 0.549997 3.500000 +v -0.184776 0.473460 3.500000 +v -0.141421 0.408576 3.500000 +v -0.076536 0.365221 3.500000 +v 0.000000 0.349997 3.500000 +v 0.076537 0.365221 3.500000 +v 0.141422 0.408576 3.500000 +v 0.184776 0.473460 3.500000 +v 0.200000 0.549997 3.500000 +v 0.184776 0.626534 3.500000 +v 0.141422 0.691418 3.500000 +v 0.000000 0.750003 -3.500000 +v 0.076537 0.734779 -3.500000 +v 0.141422 0.691424 -3.500000 +v 0.184776 0.626540 -3.500000 +v 0.200000 0.550003 -3.500000 +v 0.184776 0.473466 -3.500000 +v 0.141422 0.408582 -3.500000 +v 0.076537 0.365227 -3.500000 +v 0.000000 0.350003 -3.500000 +v -0.076536 0.365227 -3.500000 +v -0.141421 0.408582 -3.500000 +v -0.184776 0.473466 -3.500000 +v -0.200000 0.550003 -3.500000 +v -0.184776 0.626540 -3.500000 +v -0.141421 0.691425 -3.500000 +v -0.076536 0.734779 -3.500000 +v 0.057403 0.688579 3.600000 +v 0.000000 0.699997 3.600000 +v -0.057402 0.688579 3.600000 +v -0.106066 0.656063 3.600000 +v -0.138582 0.607399 3.599999 +v -0.150000 0.549997 3.599999 +v -0.138582 0.492594 3.599999 +v -0.106066 0.443931 3.599999 +v -0.057402 0.411415 3.599999 +v 0.000000 0.399997 3.599999 +v 0.057403 0.411415 3.599999 +v 0.106066 0.443931 3.599999 +v 0.138582 0.492594 3.599999 +v 0.150000 0.549997 3.599999 +v 0.138582 0.607399 3.599999 +v 0.106066 0.656063 3.600000 +v 0.000000 0.700003 -3.599999 +v 0.057403 0.688585 -3.599999 +v 0.106066 0.656069 -3.599999 +v 0.138582 0.607406 -3.599999 +v 0.150000 0.550003 -3.600000 +v 0.138582 0.492601 -3.600000 +v 0.106066 0.443937 -3.600000 +v 0.057403 0.411421 -3.600000 +v 0.000000 0.400003 -3.600000 +v -0.057402 0.411421 -3.600000 +v -0.106066 0.443937 -3.600000 +v -0.138582 0.492601 -3.600000 +v -0.150000 0.550003 -3.600000 +v -0.138582 0.607406 -3.599999 +v -0.106066 0.656069 -3.599999 +v -0.057402 0.688585 -3.599999 +v 0.023918 0.607739 3.599999 +v 0.000000 0.612497 3.599999 +v -0.023917 0.607739 3.599999 +v -0.044194 0.594191 3.599999 +v -0.057742 0.573915 3.599999 +v -0.062500 0.549997 3.599999 +v -0.057742 0.526079 3.599999 +v -0.044194 0.505803 3.599999 +v -0.023917 0.492254 3.599999 +v 0.000000 0.487497 3.599999 +v 0.023918 0.492254 3.599999 +v 0.044194 0.505803 3.599999 +v 0.057743 0.526079 3.599999 +v 0.062500 0.549997 3.599999 +v 0.057743 0.573915 3.599999 +v 0.044194 0.594191 3.599999 +v 0.000000 0.612503 -3.599999 +v 0.023918 0.607746 -3.599999 +v 0.044195 0.594197 -3.599999 +v 0.057743 0.573921 -3.599999 +v 0.062500 0.550003 -3.599999 +v 0.057743 0.526085 -3.599999 +v 0.044195 0.505809 -3.599999 +v 0.023918 0.492261 -3.599999 +v 0.000000 0.487503 -3.599999 +v -0.023917 0.492261 -3.599999 +v -0.044194 0.505809 -3.599999 +v -0.057742 0.526085 -3.599999 +v -0.062500 0.550003 -3.599999 +v -0.057742 0.573921 -3.599999 +v -0.044194 0.594197 -3.599999 +v -0.023917 0.607746 -3.599999 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.549996 4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.000000 0.550004 -4.200000 +v 0.500000 -0.049998 -2.300001 +v 0.500000 -0.050002 2.299999 +v -0.500000 -0.049998 -2.300001 +v 0.500000 -0.049998 -2.500001 +v -0.500000 -0.050002 2.299999 +v -0.500000 -0.049998 -2.500001 +v -0.500000 -0.050002 2.500000 +v 0.500000 -0.050002 2.500000 +v 0.000000 0.730000 -3.474999 +v 0.000000 0.730000 3.475001 +v 0.068883 0.716299 -3.474999 +v 0.068883 0.716298 3.475001 +v 0.127279 0.677280 -3.474998 +v 0.127279 0.677279 3.475001 +v 0.166298 0.618883 -3.474999 +v 0.166298 0.618883 3.475000 +v 0.180000 0.550000 -3.474999 +v 0.180000 0.550000 3.475000 +v 0.166298 0.481117 -3.475000 +v 0.166298 0.481117 3.474999 +v 0.127279 0.422721 -3.475001 +v 0.127279 0.422720 3.474999 +v 0.068883 0.383702 -3.475001 +v 0.068883 0.383701 3.474999 +v 0.000000 0.370000 -3.475000 +v 0.000000 0.370000 3.474999 +v -0.068883 0.383702 -3.475001 +v -0.068883 0.383701 3.474999 +v -0.127279 0.422721 -3.475001 +v -0.127279 0.422720 3.474999 +v -0.166298 0.481117 -3.475000 +v -0.166298 0.481117 3.474999 +v -0.180000 0.550000 -3.475000 +v -0.180000 0.550000 3.475000 +v -0.166298 0.618883 -3.474999 +v -0.166298 0.618883 3.475000 +v -0.127279 0.677280 -3.474999 +v -0.127279 0.677279 3.475001 +v -0.068883 0.716299 -3.474999 +v -0.068883 0.716298 3.475001 +v 0.078450 0.739398 -3.430000 +v 0.000000 0.755003 -3.430000 +v 0.144957 0.694960 -3.430000 +v 0.189396 0.628453 -3.430000 +v 0.205000 0.550003 -3.430000 +v 0.189396 0.471553 -3.430000 +v 0.144957 0.405046 -3.430000 +v 0.078450 0.360608 -3.430000 +v 0.000000 0.345003 -3.430000 +v -0.078450 0.360608 -3.430000 +v -0.144956 0.405046 -3.430000 +v -0.189395 0.471553 -3.430000 +v -0.205000 0.550003 -3.430000 +v -0.189395 0.628453 -3.430000 +v -0.144956 0.694960 -3.430000 +v -0.078450 0.739398 -3.430000 +v 0.000000 0.793253 -2.894500 +v 0.093088 0.774736 -2.894500 +v 0.172004 0.722006 -2.894500 +v 0.224734 0.643090 -2.894500 +v 0.243250 0.550003 -2.894500 +v 0.224734 0.456915 -2.894500 +v 0.172004 0.377999 -2.894500 +v 0.093088 0.325269 -2.894500 +v 0.000000 0.306753 -2.894500 +v -0.093088 0.325269 -2.894500 +v -0.172004 0.377999 -2.894500 +v -0.224734 0.456915 -2.894500 +v -0.243250 0.550003 -2.894500 +v -0.224734 0.643090 -2.894500 +v -0.172004 0.722006 -2.894500 +v -0.093088 0.774736 -2.894500 +v 0.000000 0.754997 3.430000 +v 0.078450 0.739392 3.430000 +v -0.078450 0.739392 3.430000 +v -0.144957 0.694954 3.430000 +v -0.189395 0.628447 3.430000 +v -0.205000 0.549997 3.430000 +v -0.189395 0.471547 3.430000 +v -0.144957 0.405040 3.430000 +v -0.078450 0.360602 3.430000 +v 0.000000 0.344997 3.430000 +v 0.078450 0.360602 3.430000 +v 0.144957 0.405040 3.430000 +v 0.189396 0.471547 3.430000 +v 0.205000 0.549997 3.430000 +v 0.189396 0.628447 3.430000 +v 0.144957 0.694954 3.430000 +v 0.093088 0.774731 2.894500 +v -0.000000 0.793247 2.894500 +v -0.093088 0.774731 2.894500 +v -0.172004 0.722001 2.894500 +v -0.224734 0.643085 2.894500 +v -0.243250 0.549997 2.894500 +v -0.224734 0.456910 2.894500 +v -0.172004 0.377994 2.894500 +v -0.093088 0.325264 2.894500 +v 0.000000 0.306747 2.894500 +v 0.093088 0.325264 2.894500 +v 0.172004 0.377994 2.894500 +v 0.224734 0.456910 2.894500 +v 0.243250 0.549997 2.894500 +v 0.224734 0.643085 2.894500 +v 0.172004 0.722001 2.894500 +vt 0.040650 0.940976 +vt 0.040650 0.967977 +vt 0.018013 0.967977 +vt 0.264719 0.960924 +vt 0.264719 0.933923 +vt 0.287356 0.933923 +vt 0.952838 0.198196 +vt 0.952838 0.225197 +vt 0.930200 0.225197 +vt 0.952838 0.297564 +vt 0.952838 0.324565 +vt 0.930200 0.324565 +vt 0.455963 0.966394 +vt 0.433325 0.966394 +vt 0.433325 0.939393 +vt 0.930200 0.650670 +vt 0.930200 0.623669 +vt 0.952838 0.623669 +vt 0.952838 0.733350 +vt 0.952838 0.760351 +vt 0.930200 0.760351 +vt 0.930200 0.184356 +vt 0.930200 0.157355 +vt 0.952838 0.157355 +vt 0.952838 0.492774 +vt 0.930200 0.492774 +vt 0.930200 0.465773 +vt 0.952838 0.088514 +vt 0.952838 0.115515 +vt 0.930200 0.115515 +vt 0.845846 0.939022 +vt 0.845846 0.966023 +vt 0.823209 0.966023 +vt 0.106723 0.960924 +vt 0.106723 0.933923 +vt 0.129361 0.933923 +vt 0.153587 0.957108 +vt 0.153587 0.930107 +vt 0.176224 0.930107 +vt 0.329864 0.939393 +vt 0.329864 0.966394 +vt 0.307227 0.966394 +vt 0.221499 0.668590 +vt 0.199417 0.668590 +vt 0.199417 0.414853 +vt 0.930200 0.692509 +vt 0.952838 0.692509 +vt 0.952838 0.719510 +vt 0.093141 0.960924 +vt 0.070504 0.960924 +vt 0.070504 0.933923 +vt 0.221499 0.691657 +vt 0.199417 0.691657 +vt 0.084439 0.018232 +vt 0.062357 0.018232 +vt 0.060149 0.006920 +vt 0.104839 0.026843 +vt 0.086647 0.006920 +vt 0.120453 0.042753 +vt 0.111128 0.017253 +vt 0.128903 0.063541 +vt 0.129864 0.036345 +vt 0.128903 0.086042 +vt 0.140005 0.061291 +vt 0.129864 0.113237 +vt 0.120453 0.106830 +vt 0.104839 0.122740 +vt 0.084439 0.131351 +vt 0.111128 0.132330 +vt 0.062357 0.131351 +vt 0.086647 0.142663 +vt 0.035668 0.132330 +vt 0.041957 0.122740 +vt 0.016931 0.113237 +vt 0.026343 0.106830 +vt 0.006791 0.088292 +vt 0.017892 0.086042 +vt 0.017892 0.063541 +vt 0.026343 0.042753 +vt 0.006791 0.061291 +vt 0.041956 0.026843 +vt 0.016931 0.036345 +vt 0.251635 0.026843 +vt 0.231234 0.018232 +vt 0.233443 0.006920 +vt 0.267249 0.042753 +vt 0.257923 0.017253 +vt 0.286800 0.061291 +vt 0.275699 0.063541 +vt 0.286800 0.088292 +vt 0.275699 0.086042 +vt 0.267249 0.106830 +vt 0.251635 0.122740 +vt 0.276660 0.113237 +vt 0.231234 0.131351 +vt 0.257923 0.132330 +vt 0.206945 0.142663 +vt 0.209153 0.131351 +vt 0.188752 0.122740 +vt 0.163727 0.113237 +vt 0.173138 0.106830 +vt 0.153587 0.088292 +vt 0.164688 0.086042 +vt 0.164688 0.063541 +vt 0.163727 0.036345 +vt 0.173138 0.042753 +vt 0.188752 0.026843 +vt 0.209153 0.018232 +vt 0.182464 0.017253 +vt 0.206945 0.006920 +vt 0.773963 0.260657 +vt 0.751881 0.260657 +vt 0.751881 0.006920 +vt 0.286800 0.156503 +vt 0.286800 0.410240 +vt 0.264719 0.410240 +vt 0.680554 0.320631 +vt 0.702635 0.320631 +vt 0.702635 0.574368 +vt 0.666971 0.260657 +vt 0.644890 0.260657 +vt 0.644890 0.006920 +vt 0.845290 0.029987 +vt 0.845290 0.283724 +vt 0.823209 0.283724 +vt 0.680554 0.588208 +vt 0.702635 0.588208 +vt 0.702635 0.841945 +vt 0.894537 0.818878 +vt 0.894537 0.565141 +vt 0.916618 0.565141 +vt 0.845290 0.551301 +vt 0.823209 0.551301 +vt 0.823209 0.297564 +vt 0.221499 0.959234 +vt 0.199417 0.959234 +vt 0.199417 0.705498 +vt 0.845290 0.565141 +vt 0.845290 0.818878 +vt 0.823209 0.818878 +vt 0.787545 0.551301 +vt 0.787545 0.297564 +vt 0.809627 0.297564 +vt 0.809627 0.565141 +vt 0.809627 0.818878 +vt 0.787545 0.818878 +vt 0.738299 0.551301 +vt 0.716217 0.551301 +vt 0.716217 0.297564 +vt 0.028873 0.414853 +vt 0.028873 0.668590 +vt 0.006791 0.668590 +vt 0.088285 0.723951 +vt 0.088285 0.470214 +vt 0.110367 0.470214 +vt 0.052621 0.437920 +vt 0.074703 0.437920 +vt 0.074703 0.691657 +vt 0.286800 0.447147 +vt 0.286800 0.700884 +vt 0.264719 0.700884 +vt 0.153587 0.691657 +vt 0.153587 0.437920 +vt 0.175668 0.437920 +vt 0.716217 0.029987 +vt 0.738299 0.029987 +vt 0.738299 0.283724 +vt 0.787545 0.283724 +vt 0.787545 0.029987 +vt 0.809627 0.029987 +vt 0.880954 0.551301 +vt 0.858873 0.551301 +vt 0.858873 0.297564 +vt 0.894537 0.297564 +vt 0.916618 0.297564 +vt 0.916618 0.551301 +vt 0.858873 0.029987 +vt 0.880954 0.029987 +vt 0.880954 0.283724 +vt 0.858873 0.565141 +vt 0.880954 0.565141 +vt 0.880954 0.818878 +vt 0.916618 0.283724 +vt 0.894537 0.283724 +vt 0.894537 0.029987 +vt 0.773963 0.841945 +vt 0.751881 0.841945 +vt 0.751881 0.588208 +vt 0.644890 0.588209 +vt 0.666971 0.588209 +vt 0.666971 0.841946 +vt 0.666971 0.297564 +vt 0.666971 0.551301 +vt 0.644890 0.551301 +vt 0.702635 0.260657 +vt 0.680554 0.260657 +vt 0.680554 0.006920 +vt 0.088285 0.433307 +vt 0.088285 0.179570 +vt 0.110367 0.179570 +vt 0.751881 0.320631 +vt 0.773963 0.320631 +vt 0.773963 0.574368 +vt 0.773963 0.283724 +vt 0.751881 0.283724 +vt 0.286800 0.433307 +vt 0.264719 0.433307 +vt 0.680554 0.297564 +vt 0.702635 0.297564 +vt 0.666971 0.283724 +vt 0.644890 0.283724 +vt 0.153587 0.156503 +vt 0.221499 0.156503 +vt 0.175244 0.160893 +vt 0.074703 0.401013 +vt 0.063384 0.343346 +vt 0.074703 0.285678 +vt 0.059076 0.365414 +vt 0.046808 0.384123 +vt 0.028448 0.396623 +vt 0.006791 0.401013 +vt 0.153031 0.705498 +vt 0.175668 0.705498 +vt 0.175668 0.774699 +vt 0.738299 0.574368 +vt 0.716217 0.574368 +vt 0.028873 0.691657 +vt 0.006791 0.691657 +vt 0.088285 0.447147 +vt 0.110367 0.447147 +vt 0.052621 0.414853 +vt 0.074703 0.414853 +vt 0.286800 0.723951 +vt 0.264719 0.723951 +vt 0.153587 0.414853 +vt 0.175668 0.414853 +vt 0.716217 0.006920 +vt 0.738299 0.006920 +vt 0.210180 0.343346 +vt 0.205872 0.321277 +vt 0.221499 0.285678 +vt 0.028448 0.267448 +vt 0.074703 0.271838 +vt 0.006791 0.271838 +vt 0.059076 0.192102 +vt 0.074703 0.156503 +vt 0.063384 0.214170 +vt 0.046808 0.173393 +vt 0.028448 0.160893 +vt 0.006791 0.156503 +vt 0.006791 0.705498 +vt 0.029428 0.705498 +vt 0.029428 0.820832 +vt 0.175668 0.788539 +vt 0.175668 0.857740 +vt 0.153031 0.857740 +vt 0.666971 0.574368 +vt 0.644890 0.574368 +vt 0.702635 0.283724 +vt 0.680554 0.283724 +vt 0.088285 0.156503 +vt 0.110367 0.156503 +vt 0.751881 0.297564 +vt 0.773963 0.297564 +vt 0.365528 0.917111 +vt 0.360007 0.961798 +vt 0.348967 0.961798 +vt 0.935721 0.239037 +vt 0.946761 0.239037 +vt 0.952282 0.283724 +vt 0.644890 0.900473 +vt 0.650410 0.855786 +vt 0.661451 0.855786 +vt 0.757402 0.914313 +vt 0.768442 0.914313 +vt 0.773963 0.959000 +vt 0.787545 0.935933 +vt 0.793065 0.891246 +vt 0.804106 0.891246 +vt 0.023533 0.882449 +vt 0.034574 0.882448 +vt 0.040095 0.927136 +vt 0.076024 0.875395 +vt 0.087065 0.875395 +vt 0.092585 0.920083 +vt 0.501568 0.961798 +vt 0.507088 0.917111 +vt 0.518129 0.917111 +vt 0.828729 0.880494 +vt 0.839770 0.880494 +vt 0.845290 0.925182 +vt 0.433881 0.867026 +vt 0.439402 0.822339 +vt 0.450442 0.822339 +vt 0.875615 0.832719 +vt 0.886656 0.832719 +vt 0.892176 0.877406 +vt 0.680554 0.959000 +vt 0.686074 0.914313 +vt 0.697115 0.914313 +vt 0.324343 0.925553 +vt 0.313303 0.925553 +vt 0.307782 0.880866 +vt 0.911279 0.832719 +vt 0.922320 0.832719 +vt 0.927840 0.877406 +vt 0.870095 0.935933 +vt 0.875615 0.891246 +vt 0.886656 0.891246 +vt 0.930200 0.074674 +vt 0.935721 0.029987 +vt 0.946761 0.029987 +vt 0.439402 0.880866 +vt 0.450442 0.880866 +vt 0.455963 0.925553 +vt 0.911279 0.891246 +vt 0.922320 0.891246 +vt 0.927840 0.935933 +vt 0.644890 0.959000 +vt 0.650410 0.914313 +vt 0.661451 0.914313 +vt 0.588906 0.917111 +vt 0.599947 0.917111 +vt 0.605468 0.961798 +vt 0.553243 0.917111 +vt 0.564283 0.917111 +vt 0.569804 0.961798 +vt 0.153587 0.916267 +vt 0.159107 0.871580 +vt 0.170148 0.871580 +vt 0.111688 0.875395 +vt 0.122729 0.875395 +vt 0.128249 0.920083 +vt 0.383418 0.961798 +vt 0.388939 0.917111 +vt 0.399979 0.917111 +vt 0.952282 0.506614 +vt 0.946762 0.551301 +vt 0.935721 0.551301 +vt 0.952282 0.565141 +vt 0.946761 0.609829 +vt 0.935721 0.609829 +vt 0.793065 0.832719 +vt 0.804106 0.832719 +vt 0.809627 0.877406 +vt 0.686074 0.855786 +vt 0.697115 0.855786 +vt 0.702635 0.900473 +vt 0.751881 0.900473 +vt 0.757402 0.855786 +vt 0.768442 0.855786 +vt 0.313303 0.822339 +vt 0.324343 0.822339 +vt 0.329864 0.867026 +vt 0.264719 0.920083 +vt 0.270239 0.875395 +vt 0.281280 0.875396 +vt 0.946761 0.818878 +vt 0.935721 0.818878 +vt 0.930200 0.774191 +vt 0.717211 0.691074 +vt 0.717322 0.682981 +vt 0.726154 0.682981 +vt 0.344440 0.830432 +vt 0.344550 0.822338 +vt 0.353383 0.822339 +vt 0.602931 0.822338 +vt 0.611763 0.822338 +vt 0.611874 0.830432 +vt 0.384412 0.830432 +vt 0.384522 0.822338 +vt 0.393355 0.822338 +vt 0.852119 0.016033 +vt 0.852119 0.007033 +vt 0.860062 0.006920 +vt 0.830595 0.016033 +vt 0.830595 0.007033 +vt 0.838537 0.006920 +vt 0.125053 0.156503 +vt 0.133885 0.156503 +vt 0.133996 0.164596 +vt 0.559757 0.830432 +vt 0.559867 0.822338 +vt 0.568700 0.822338 +vt 0.726264 0.661048 +vt 0.726154 0.669141 +vt 0.717321 0.669141 +vt 0.717321 0.777754 +vt 0.726154 0.777754 +vt 0.726264 0.785847 +vt 0.125053 0.440821 +vt 0.133886 0.440821 +vt 0.133996 0.448914 +vt 0.236185 0.725138 +vt 0.245018 0.725138 +vt 0.245128 0.733232 +vt 0.873644 0.016033 +vt 0.873644 0.007033 +vt 0.881587 0.006920 +vt 0.924636 0.016145 +vt 0.916694 0.016033 +vt 0.916694 0.007033 +vt 0.470649 0.822339 +vt 0.479482 0.822339 +vt 0.479592 0.830432 +vt 0.125498 0.734153 +vt 0.125609 0.726060 +vt 0.134441 0.726060 +vt 0.245128 0.418887 +vt 0.245017 0.426981 +vt 0.236185 0.426981 +vt 0.124943 0.354141 +vt 0.125053 0.346048 +vt 0.133886 0.346048 +vt 0.236185 0.535593 +vt 0.245018 0.535593 +vt 0.245128 0.543687 +vt 0.895169 0.016033 +vt 0.895169 0.007033 +vt 0.903111 0.006920 +vt 0.795488 0.016145 +vt 0.787545 0.016033 +vt 0.787545 0.007033 +vt 0.125053 0.535593 +vt 0.133885 0.535593 +vt 0.133996 0.543687 +vt 0.124943 0.638459 +vt 0.125053 0.630366 +vt 0.133886 0.630366 +vt 0.513602 0.830432 +vt 0.513712 0.822338 +vt 0.522545 0.822338 +vt 0.245128 0.513660 +vt 0.245018 0.521753 +vt 0.236185 0.521753 +vt 0.125053 0.251276 +vt 0.133886 0.251276 +vt 0.133996 0.259369 +vt 0.236074 0.259369 +vt 0.236185 0.251276 +vt 0.245017 0.251276 +vt 0.938218 0.016033 +vt 0.938218 0.007033 +vt 0.946161 0.006920 +vt 0.817012 0.016145 +vt 0.809070 0.016033 +vt 0.809070 0.007033 +vt 0.236184 0.630366 +vt 0.245017 0.630366 +vt 0.245127 0.638459 +vt 0.236185 0.156503 +vt 0.245017 0.156503 +vt 0.245128 0.164596 +vt 0.409145 0.822338 +vt 0.417978 0.822339 +vt 0.418088 0.830432 +vt 0.944182 0.891246 +vt 0.944182 0.960821 +vt 0.824313 0.979863 +vt 0.830937 0.979863 +vt 0.832042 0.992708 +vt 0.433325 0.993080 +vt 0.434429 0.980234 +vt 0.441054 0.980234 +vt 0.941422 0.877406 +vt 0.942526 0.864560 +vt 0.949151 0.864560 +vt 0.789435 0.987709 +vt 0.790539 0.974864 +vt 0.797163 0.974864 +vt 0.873088 0.974864 +vt 0.879713 0.974864 +vt 0.880817 0.987709 +vt 0.957764 0.987507 +vt 0.958868 0.974662 +vt 0.965493 0.974662 +vt 0.895503 0.974864 +vt 0.902128 0.974864 +vt 0.903232 0.987709 +vt 0.502672 0.975638 +vt 0.509296 0.975638 +vt 0.510400 0.988484 +vt 0.106723 0.987610 +vt 0.107827 0.974764 +vt 0.114452 0.974764 +vt 0.846728 0.979863 +vt 0.853352 0.979863 +vt 0.854456 0.992708 +vt 0.167392 0.983794 +vt 0.168496 0.970948 +vt 0.175120 0.970948 +vt 0.146081 0.970948 +vt 0.152705 0.970948 +vt 0.153809 0.983794 +vt 0.751881 0.985686 +vt 0.752985 0.972840 +vt 0.759610 0.972840 +vt 0.963837 0.877406 +vt 0.964941 0.864560 +vt 0.971566 0.864560 +vt 0.693803 0.985686 +vt 0.694907 0.972840 +vt 0.701531 0.972840 +vt 0.935349 0.987507 +vt 0.936453 0.974662 +vt 0.943078 0.974662 +vt 0.000000 0.000000 +vt 0.584490 0.975638 +vt 0.591115 0.975638 +vt 0.592219 0.988484 +vt 0.975252 0.692509 +vt 0.974148 0.705355 +vt 0.967524 0.705355 +vt 0.278523 0.987610 +vt 0.279628 0.974764 +vt 0.286252 0.974764 +vt 0.366965 0.975638 +vt 0.373590 0.975638 +vt 0.374694 0.988484 +vt 0.658139 0.985686 +vt 0.659243 0.972840 +vt 0.665867 0.972840 +vt 0.190251 0.985920 +vt 0.191355 0.973075 +vt 0.197980 0.973075 +vt 0.221499 0.973075 +vt 0.220394 0.985920 +vt 0.213770 0.985920 +vt 0.533036 0.988484 +vt 0.526411 0.988484 +vt 0.525307 0.975638 +vt 0.071608 0.974764 +vt 0.078232 0.974764 +vt 0.079336 0.987610 +vt 0.975252 0.297564 +vt 0.974148 0.310410 +vt 0.967524 0.310410 +vt 0.606905 0.975638 +vt 0.613530 0.975638 +vt 0.614634 0.988484 +vt 0.942526 0.832719 +vt 0.949151 0.832719 +vt 0.950255 0.845564 +vt 0.560971 0.988484 +vt 0.562075 0.975638 +vt 0.568700 0.975638 +vt 0.343446 0.988484 +vt 0.344550 0.975638 +vt 0.351175 0.975638 +vt 0.405500 0.975638 +vt 0.404396 0.988484 +vt 0.397771 0.988484 +vt 0.314955 0.993080 +vt 0.308331 0.993080 +vt 0.307227 0.980234 +vt 0.022063 0.858710 +vt 0.024823 0.858710 +vt 0.026755 0.868608 +vt 0.014010 0.866025 +vt 0.019513 0.857634 +vt 0.017561 0.855645 +vt 0.016505 0.853047 +vt 0.009326 0.861252 +vt 0.006791 0.848265 +vt 0.016505 0.850234 +vt 0.017561 0.847636 +vt 0.014010 0.837256 +vt 0.019513 0.845647 +vt 0.022063 0.844571 +vt 0.024823 0.844571 +vt 0.020131 0.834673 +vt 0.027373 0.845647 +vt 0.026755 0.834673 +vt 0.029325 0.847636 +vt 0.032875 0.837256 +vt 0.030381 0.850234 +vt 0.037559 0.842029 +vt 0.030381 0.853047 +vt 0.040095 0.848265 +vt 0.029325 0.855645 +vt 0.040095 0.855016 +vt 0.032875 0.866025 +vt 0.027373 0.857634 +vt 0.835930 0.855680 +vt 0.838480 0.856756 +vt 0.836548 0.866654 +vt 0.833979 0.853691 +vt 0.830428 0.864071 +vt 0.823209 0.853062 +vt 0.832922 0.851093 +vt 0.832922 0.848280 +vt 0.825744 0.840075 +vt 0.833979 0.845682 +vt 0.835930 0.843693 +vt 0.836548 0.832719 +vt 0.838480 0.842616 +vt 0.841241 0.842616 +vt 0.843791 0.843693 +vt 0.843173 0.832719 +vt 0.853977 0.840075 +vt 0.845743 0.845682 +vt 0.856512 0.846311 +vt 0.846799 0.848280 +vt 0.846799 0.851093 +vt 0.853977 0.859298 +vt 0.845743 0.853691 +vt 0.843791 0.855680 +vt 0.841241 0.856756 +vt 0.849293 0.864071 +vt 0.984966 0.576176 +vt 0.982206 0.576176 +vt 0.983587 0.506614 +vt 0.962884 0.338462 +vt 0.965644 0.338405 +vt 0.965644 0.407981 +vt 0.946542 0.338462 +vt 0.949302 0.338405 +vt 0.949302 0.407981 +vt 0.585484 0.822395 +vt 0.588244 0.822338 +vt 0.588244 0.891914 +vt 0.976866 0.960807 +vt 0.974106 0.960807 +vt 0.975485 0.891246 +vt 0.969179 0.198931 +vt 0.966420 0.198874 +vt 0.969179 0.129355 +vt 0.631307 0.891914 +vt 0.628548 0.891857 +vt 0.631307 0.822338 +vt 0.966420 0.045997 +vt 0.969180 0.045940 +vt 0.969180 0.115515 +vt 0.248377 0.875452 +vt 0.251137 0.875395 +vt 0.251137 0.944971 +vt 0.985522 0.115515 +vt 0.982762 0.115515 +vt 0.984143 0.045954 +vt 0.494168 0.822395 +vt 0.496928 0.822338 +vt 0.496928 0.891914 +vt 0.631307 0.975330 +vt 0.628548 0.975273 +vt 0.631307 0.905754 +vt 0.982762 0.283724 +vt 0.984142 0.214163 +vt 0.985523 0.283724 +vt 0.993209 0.960807 +vt 0.990449 0.960807 +vt 0.991828 0.891246 +vt 0.969180 0.492774 +vt 0.966420 0.423255 +vt 0.930200 0.338462 +vt 0.932960 0.338405 +vt 0.932960 0.407981 +vt 0.965864 0.506671 +vt 0.968624 0.506614 +vt 0.968624 0.576190 +vt 0.969180 0.678669 +vt 0.966420 0.678612 +vt 0.969180 0.609093 +vt 0.056436 0.904248 +vt 0.053677 0.904191 +vt 0.056436 0.834673 +vt 0.981986 0.407981 +vt 0.979226 0.407981 +vt 0.980606 0.338419 +vt 0.985522 0.492774 +vt 0.982762 0.492774 +vt 0.984142 0.423213 +vt 0.716217 0.872583 +vt 0.718977 0.872526 +vt 0.718977 0.942102 +vt 0.969180 0.283724 +vt 0.966420 0.283724 +vt 0.967800 0.214163 +vt 0.984966 0.843753 +vt 0.982206 0.843753 +vt 0.983586 0.774191 +vt 0.984141 0.609093 +vt 0.985522 0.678655 +vt 0.477826 0.917168 +vt 0.480586 0.917111 +vt 0.480586 0.986687 +vt 0.965864 0.774248 +vt 0.968624 0.774191 +vt 0.968624 0.843767 +vt 0.960524 0.960821 +vt 0.957764 0.960765 +vt 0.960524 0.891246 +vt 0.985522 0.198917 +vt 0.982762 0.198917 +vt 0.984142 0.129355 +vt 0.732559 0.872583 +vt 0.735319 0.872526 +vt 0.735319 0.942102 +vt 0.545181 0.822338 +vt 0.545181 0.891914 +vt 0.193604 0.302569 +vt 0.046808 0.254947 +vt 0.088285 0.806992 +vt 0.088285 0.737791 +vt 0.110922 0.737791 +vt 0.175244 0.290068 +vt 0.059076 0.236239 +vt 0.153587 0.285678 +vt 0.153587 0.401013 +vt 0.175244 0.396623 +vt 0.221499 0.401013 +vt 0.193604 0.384123 +vt 0.205872 0.365414 +vt 0.193604 0.254947 +vt 0.205872 0.236239 +vt 0.221499 0.271838 +vt 0.175244 0.267448 +vt 0.153587 0.271838 +vt 0.286800 0.737791 +vt 0.286800 0.806992 +vt 0.264163 0.806992 +vt 0.205872 0.192102 +vt 0.193604 0.173393 +vt 0.210180 0.214170 +vt 0.052066 0.705497 +vt 0.074703 0.705497 +vt 0.074703 0.820832 +vt 0.006791 0.285678 +vt 0.028448 0.290068 +vt 0.046808 0.302569 +vt 0.059076 0.321277 +vt 0.329864 0.808498 +vt 0.321914 0.808498 +vt 0.321914 0.006920 +vt 0.459054 0.006920 +vt 0.459054 0.808498 +vt 0.451105 0.808498 +vt 0.472636 0.808498 +vt 0.472636 0.006920 +vt 0.480586 0.006920 +vt 0.601826 0.808498 +vt 0.601826 0.006920 +vt 0.609776 0.006920 +vt 0.537231 0.006920 +vt 0.545181 0.006920 +vt 0.545181 0.808498 +vt 0.308332 0.006920 +vt 0.308332 0.808498 +vt 0.300383 0.808498 +vt 0.408041 0.006920 +vt 0.415991 0.006920 +vt 0.415991 0.808498 +vt 0.372927 0.808498 +vt 0.364978 0.808498 +vt 0.364978 0.006920 +vt 0.351395 0.006920 +vt 0.351396 0.808498 +vt 0.343446 0.808498 +vt 0.429573 0.808498 +vt 0.429573 0.006920 +vt 0.437522 0.006920 +vt 0.580295 0.808498 +vt 0.580295 0.006920 +vt 0.588244 0.006920 +vt 0.494168 0.006920 +vt 0.502117 0.006920 +vt 0.502117 0.808498 +vt 0.558763 0.006920 +vt 0.566712 0.006920 +vt 0.566712 0.808498 +vt 0.523649 0.808498 +vt 0.515700 0.808498 +vt 0.515700 0.006920 +vt 0.270793 0.820833 +vt 0.278137 0.823932 +vt 0.270793 0.861555 +vt 0.394459 0.808498 +vt 0.386510 0.808498 +vt 0.386510 0.006920 +vt 0.623358 0.808498 +vt 0.623358 0.006920 +vt 0.631307 0.006920 +vt 0.112242 0.861555 +vt 0.088285 0.845244 +vt 0.104292 0.820833 +vt 0.236074 0.418887 +vt 0.235230 0.356974 +vt 0.133996 0.354141 +vt 0.134841 0.416055 +vt 0.235230 0.605600 +vt 0.236075 0.543687 +vt 0.124098 0.605600 +vt 0.124943 0.543687 +vt 0.133996 0.638459 +vt 0.134841 0.700372 +vt 0.512757 0.892345 +vt 0.522655 0.830432 +vt 0.245973 0.451747 +vt 0.236075 0.513660 +vt 0.124098 0.321282 +vt 0.124943 0.259369 +vt 0.245128 0.259369 +vt 0.245973 0.321282 +vt 0.236074 0.638459 +vt 0.245972 0.700372 +vt 0.236074 0.164596 +vt 0.245973 0.226509 +vt 0.409035 0.830432 +vt 0.418933 0.892345 +vt 0.246122 0.346048 +vt 0.245973 0.356974 +vt 0.123949 0.426981 +vt 0.124098 0.416055 +vt 0.235081 0.616526 +vt 0.245973 0.605600 +vt 0.930200 0.451781 +vt 0.930200 0.440834 +vt 0.940923 0.440683 +vt 0.798267 0.961023 +vt 0.787545 0.960872 +vt 0.787545 0.949925 +vt 0.123949 0.616526 +vt 0.134841 0.605600 +vt 0.124098 0.700372 +vt 0.134990 0.711298 +vt 0.512608 0.903271 +vt 0.523500 0.892345 +vt 0.235230 0.451747 +vt 0.235081 0.440821 +vt 0.123949 0.332208 +vt 0.134841 0.321282 +vt 0.235230 0.321282 +vt 0.246122 0.332208 +vt 0.905758 0.960872 +vt 0.905758 0.949925 +vt 0.916481 0.949773 +vt 0.940923 0.143515 +vt 0.930200 0.143363 +vt 0.930200 0.132416 +vt 0.235230 0.700372 +vt 0.246122 0.711298 +vt 0.235230 0.226509 +vt 0.246122 0.237435 +vt 0.408190 0.892345 +vt 0.419082 0.903271 +vt 0.716367 0.752988 +vt 0.726265 0.691074 +vt 0.343595 0.892345 +vt 0.353493 0.830432 +vt 0.601975 0.892345 +vt 0.602820 0.830432 +vt 0.383567 0.892345 +vt 0.393465 0.830432 +vt 0.124942 0.164596 +vt 0.134841 0.226509 +vt 0.558912 0.892345 +vt 0.568810 0.830432 +vt 0.717211 0.661048 +vt 0.716367 0.599134 +vt 0.717211 0.785847 +vt 0.727109 0.847760 +vt 0.124943 0.448914 +vt 0.134841 0.510827 +vt 0.236075 0.733232 +vt 0.245973 0.795145 +vt 0.470539 0.830432 +vt 0.480437 0.892345 +vt 0.124654 0.796066 +vt 0.134552 0.734153 +vt 0.716217 0.763913 +vt 0.727109 0.752988 +vt 0.354338 0.892345 +vt 0.354487 0.903271 +vt 0.612718 0.892345 +vt 0.612867 0.903271 +vt 0.394310 0.892345 +vt 0.394459 0.903271 +vt 0.940923 0.675760 +vt 0.930200 0.675608 +vt 0.930200 0.664662 +vt 0.870095 0.960872 +vt 0.870095 0.949925 +vt 0.880817 0.949773 +vt 0.124098 0.226510 +vt 0.134990 0.237435 +vt 0.558763 0.903271 +vt 0.569655 0.892345 +vt 0.727109 0.599134 +vt 0.716217 0.588208 +vt 0.716366 0.847760 +vt 0.727258 0.858686 +vt 0.124098 0.510827 +vt 0.134990 0.521753 +vt 0.235230 0.795145 +vt 0.246122 0.806071 +vt 0.240414 0.969910 +vt 0.240414 0.958963 +vt 0.251137 0.958811 +vt 0.716217 0.967040 +vt 0.716217 0.956094 +vt 0.726940 0.955942 +vt 0.469694 0.892345 +vt 0.480586 0.903271 +vt 0.124505 0.806992 +vt 0.135396 0.796066 +vt 0.018013 0.940976 +vt 0.287356 0.960924 +vt 0.930200 0.198196 +vt 0.930200 0.297564 +vt 0.455963 0.939393 +vt 0.952838 0.650670 +vt 0.930200 0.733350 +vt 0.952838 0.184356 +vt 0.952838 0.465773 +vt 0.930200 0.088514 +vt 0.823209 0.939022 +vt 0.129361 0.960924 +vt 0.176224 0.957108 +vt 0.307227 0.939393 +vt 0.221499 0.414853 +vt 0.930200 0.719510 +vt 0.093141 0.933923 +vt 0.140005 0.088292 +vt 0.060149 0.142663 +vt 0.035668 0.017253 +vt 0.276660 0.036345 +vt 0.233443 0.142663 +vt 0.182464 0.132330 +vt 0.153587 0.061291 +vt 0.773963 0.006920 +vt 0.264719 0.156503 +vt 0.680554 0.574368 +vt 0.666971 0.006920 +vt 0.823209 0.029987 +vt 0.680554 0.841945 +vt 0.916618 0.818878 +vt 0.845290 0.297564 +vt 0.221499 0.705498 +vt 0.823209 0.565141 +vt 0.809627 0.551301 +vt 0.787545 0.565141 +vt 0.738299 0.297564 +vt 0.006791 0.414853 +vt 0.110367 0.723951 +vt 0.052621 0.691657 +vt 0.264719 0.447147 +vt 0.175668 0.691657 +vt 0.716217 0.283724 +vt 0.809627 0.283724 +vt 0.880954 0.297564 +vt 0.894537 0.551301 +vt 0.858873 0.283724 +vt 0.858873 0.818878 +vt 0.916618 0.029987 +vt 0.773963 0.588208 +vt 0.644890 0.841946 +vt 0.644890 0.297564 +vt 0.702635 0.006920 +vt 0.110367 0.433307 +vt 0.751881 0.574368 +vt 0.153031 0.774699 +vt 0.006791 0.820832 +vt 0.153031 0.788539 +vt 0.343446 0.917111 +vt 0.930200 0.283724 +vt 0.666971 0.900473 +vt 0.751881 0.959000 +vt 0.809627 0.935933 +vt 0.018013 0.927136 +vt 0.070504 0.920083 +vt 0.523649 0.961798 +vt 0.823209 0.925182 +vt 0.455963 0.867026 +vt 0.870095 0.877406 +vt 0.702635 0.959000 +vt 0.329864 0.880866 +vt 0.905758 0.877406 +vt 0.892176 0.935933 +vt 0.952282 0.074674 +vt 0.433881 0.925553 +vt 0.905758 0.935933 +vt 0.666971 0.959000 +vt 0.583386 0.961798 +vt 0.547722 0.961798 +vt 0.175668 0.916267 +vt 0.106168 0.920083 +vt 0.405500 0.961798 +vt 0.930200 0.506614 +vt 0.930200 0.565141 +vt 0.787545 0.877406 +vt 0.680554 0.900473 +vt 0.773963 0.900473 +vt 0.307782 0.867026 +vt 0.286800 0.920083 +vt 0.952282 0.774191 +vt 0.860062 0.016145 +vt 0.838537 0.016145 +vt 0.881587 0.016145 +vt 0.924636 0.006920 +vt 0.903111 0.016145 +vt 0.795488 0.006920 +vt 0.946161 0.016145 +vt 0.817012 0.006920 +vt 0.941422 0.960765 +vt 0.823209 0.992708 +vt 0.442158 0.993080 +vt 0.950255 0.877406 +vt 0.798267 0.987709 +vt 0.871984 0.987709 +vt 0.966597 0.987507 +vt 0.894399 0.987709 +vt 0.501568 0.988484 +vt 0.115556 0.987610 +vt 0.845624 0.992708 +vt 0.176224 0.983794 +vt 0.144977 0.983794 +vt 0.760714 0.985686 +vt 0.972670 0.877406 +vt 0.702635 0.985686 +vt 0.944182 0.987507 +vt 0.583386 0.988484 +vt 0.966420 0.692509 +vt 0.287356 0.987610 +vt 0.365861 0.988484 +vt 0.666971 0.985686 +vt 0.199084 0.985920 +vt 0.212666 0.973075 +vt 0.534140 0.975638 +vt 0.070504 0.987610 +vt 0.966420 0.297564 +vt 0.605801 0.988484 +vt 0.941422 0.845564 +vt 0.569804 0.988484 +vt 0.352279 0.988484 +vt 0.396667 0.975638 +vt 0.316059 0.980234 +vt 0.020131 0.868608 +vt 0.006791 0.855016 +vt 0.009326 0.842029 +vt 0.037559 0.861252 +vt 0.825744 0.859298 +vt 0.823209 0.846311 +vt 0.830428 0.835302 +vt 0.849293 0.835302 +vt 0.856512 0.853062 +vt 0.843173 0.866654 +vt 0.969180 0.423199 +vt 0.982762 0.678655 +vt 0.542421 0.891857 +vt 0.110922 0.806992 +vt 0.264163 0.737791 +vt 0.052066 0.820832 +vt 0.329864 0.006920 +vt 0.451105 0.006920 +vt 0.480586 0.808498 +vt 0.609776 0.808498 +vt 0.537231 0.808498 +vt 0.300383 0.006920 +vt 0.408041 0.808498 +vt 0.372927 0.006920 +vt 0.343446 0.006920 +vt 0.437522 0.808498 +vt 0.588244 0.808498 +vt 0.494168 0.808498 +vt 0.558763 0.808498 +vt 0.523649 0.006920 +vt 0.283758 0.829660 +vt 0.286800 0.837144 +vt 0.283758 0.852728 +vt 0.286800 0.845244 +vt 0.278137 0.858455 +vt 0.262844 0.861555 +vt 0.255499 0.858455 +vt 0.249878 0.852728 +vt 0.246836 0.845244 +vt 0.246836 0.837144 +vt 0.249878 0.829660 +vt 0.255499 0.823932 +vt 0.262844 0.820833 +vt 0.394459 0.006920 +vt 0.631307 0.808498 +vt 0.119586 0.823932 +vt 0.128249 0.837144 +vt 0.112242 0.820833 +vt 0.125207 0.829660 +vt 0.125207 0.852728 +vt 0.128249 0.845244 +vt 0.119586 0.858455 +vt 0.096948 0.858455 +vt 0.091327 0.852728 +vt 0.104292 0.861555 +vt 0.091327 0.829660 +vt 0.096948 0.823932 +vt 0.088285 0.837144 +vt 0.235081 0.346048 +vt 0.134990 0.426981 +vt 0.246122 0.616526 +vt 0.940923 0.451933 +vt 0.798267 0.949773 +vt 0.134990 0.616526 +vt 0.123949 0.711298 +vt 0.523649 0.903271 +vt 0.246122 0.440821 +vt 0.134990 0.332208 +vt 0.235081 0.332208 +vt 0.916481 0.961024 +vt 0.940923 0.132264 +vt 0.235081 0.711298 +vt 0.235081 0.237435 +vt 0.408041 0.903271 +vt 0.727258 0.763913 +vt 0.343446 0.903271 +vt 0.601826 0.903271 +vt 0.383418 0.903271 +vt 0.940923 0.664510 +vt 0.880817 0.961024 +vt 0.123949 0.237435 +vt 0.569804 0.903271 +vt 0.727258 0.588208 +vt 0.716217 0.858686 +vt 0.123949 0.521753 +vt 0.235081 0.806071 +vt 0.251137 0.970061 +vt 0.726940 0.967192 +vt 0.469545 0.903271 +vt 0.135545 0.806992 +vn 0.195090 0.980785 0.000001 +vn 0.555570 0.831469 0.000000 +vn 0.831469 0.555570 0.000000 +vn 0.980785 0.195090 0.000000 +vn 0.980785 -0.195090 -0.000000 +vn 0.831469 -0.555571 -0.000000 +vn 0.555570 -0.831470 -0.000001 +vn 0.195090 -0.980785 -0.000001 +vn -0.195090 -0.980785 -0.000001 +vn -0.555570 -0.831470 -0.000001 +vn -0.831469 -0.555570 -0.000001 +vn -0.980785 -0.195089 -0.000000 +vn -0.980785 0.195090 0.000000 +vn -0.831469 0.555570 0.000000 +vn -0.195089 0.980786 0.000000 +vn -0.555570 0.831469 0.000001 +vn 0.195090 0.980785 -0.000000 +vn -0.000000 -0.000001 1.000000 +vn -0.000000 0.000001 -1.000000 +vn -0.195090 0.980785 0.000001 +vn -0.555570 0.831470 0.000001 +vn -0.831469 0.555571 0.000000 +vn -0.980785 0.195091 0.000000 +vn -0.980785 -0.195090 -0.000000 +vn -0.831469 -0.555571 -0.000001 +vn 0.831470 -0.555570 -0.000000 +vn 0.831470 0.555570 0.000000 +vn 0.555570 0.831470 0.000001 +vn 0.195091 0.980785 0.000001 +vn 0.980785 0.195091 0.000000 +vn -0.831470 -0.555570 -0.000000 +vn -0.980785 -0.195091 -0.000000 +vn -0.195090 0.980785 0.000000 +vn -0.831470 0.555570 -0.000000 +vn 0.000010 -0.000001 1.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000001 0.000000 -1.000000 +vn -0.000002 0.000001 -1.000000 +vn 0.000002 0.000001 -1.000000 +vn 1.000000 -0.000000 0.000000 +vn 0.831470 0.555570 0.000001 +vn 0.555572 0.831469 0.000000 +vn 0.195091 0.980785 -0.000000 +vn 0.831470 0.555569 0.000000 +vn 0.000000 0.000000 1.000000 +vn 0.000001 0.000001 -1.000000 +vn 0.000000 -1.000000 -0.000001 +vn -1.000000 0.000000 0.000000 +vn -0.831470 0.555570 0.000001 +vn -0.555571 0.831469 0.000002 +vn -0.195090 0.980785 0.000003 +vn 0.151054 0.759405 0.632840 +vn -0.151056 0.759405 0.632840 +vn -0.430168 0.643793 0.632840 +vn -0.643794 0.430169 0.632838 +vn -0.759406 0.151053 0.632839 +vn -0.759405 -0.151055 0.632840 +vn -0.643795 -0.430169 0.632837 +vn -0.430169 -0.643794 0.632838 +vn -0.151053 -0.759407 0.632838 +vn 0.151054 -0.759407 0.632838 +vn 0.430168 -0.643794 0.632839 +vn 0.643794 -0.430169 0.632838 +vn 0.759407 -0.151055 0.632838 +vn 0.759406 0.151054 0.632840 +vn 0.643793 0.430169 0.632839 +vn 0.430167 0.643793 0.632840 +vn 0.151056 0.759406 -0.632838 +vn 0.430168 0.643794 -0.632839 +vn 0.643794 0.430168 -0.632839 +vn 0.759405 0.151058 -0.632839 +vn 0.759406 -0.151055 -0.632839 +vn 0.643794 -0.430168 -0.632839 +vn 0.430172 -0.643791 -0.632839 +vn 0.151057 -0.759405 -0.632839 +vn -0.151055 -0.759405 -0.632840 +vn -0.430171 -0.643792 -0.632839 +vn -0.643792 -0.430169 -0.632840 +vn -0.759406 -0.151055 -0.632838 +vn -0.759405 0.151058 -0.632840 +vn -0.643795 0.430168 -0.632838 +vn -0.430169 0.643794 -0.632839 +vn -0.151056 0.759406 -0.632838 +vn 0.194612 0.978387 0.069888 +vn -0.194611 0.978388 0.069885 +vn -0.554209 0.829439 0.069885 +vn -0.829437 0.554211 0.069886 +vn -0.978387 0.194614 0.069886 +vn -0.978387 -0.194613 0.069885 +vn -0.829438 -0.554211 0.069885 +vn -0.554209 -0.829439 0.069884 +vn -0.194614 -0.978387 0.069885 +vn 0.194614 -0.978387 0.069883 +vn 0.554212 -0.829437 0.069884 +vn 0.829437 -0.554211 0.069884 +vn 0.978387 -0.194614 0.069885 +vn 0.978387 0.194613 0.069885 +vn 0.829438 0.554210 0.069885 +vn 0.554210 0.829438 0.069885 +vn 0.194615 0.978387 -0.069885 +vn 0.554210 0.829438 -0.069885 +vn 0.829437 0.554212 -0.069884 +vn 0.978387 0.194614 -0.069884 +vn 0.978387 -0.194613 -0.069885 +vn 0.829436 -0.554212 -0.069885 +vn 0.554211 -0.829437 -0.069886 +vn 0.194612 -0.978387 -0.069886 +vn -0.194613 -0.978387 -0.069886 +vn -0.554210 -0.829438 -0.069886 +vn -0.829435 -0.554214 -0.069887 +vn -0.978387 -0.194614 -0.069886 +vn -0.978387 0.194613 -0.069886 +vn -0.829438 0.554211 -0.069885 +vn -0.554211 0.829438 -0.069883 +vn -0.194614 0.978387 -0.069885 +vn 0.175164 0.880598 0.440300 +vn -0.175159 0.880598 0.440302 +vn -0.498819 0.746535 0.440301 +vn -0.746535 0.498817 0.440303 +vn -0.880598 0.175163 0.440302 +vn -0.880598 -0.175162 0.440301 +vn -0.746535 -0.498819 0.440301 +vn -0.498816 -0.746537 0.440301 +vn -0.175163 -0.880599 0.440299 +vn 0.175164 -0.880599 0.440300 +vn 0.498818 -0.746536 0.440300 +vn 0.746533 -0.498821 0.440302 +vn 0.880598 -0.175163 0.440301 +vn 0.880597 0.175163 0.440303 +vn 0.746534 0.498820 0.440303 +vn 0.498819 0.746535 0.440301 +vn 0.175164 0.880598 -0.440300 +vn 0.498816 0.746537 -0.440302 +vn 0.746533 0.498821 -0.440302 +vn 0.880599 0.175163 -0.440300 +vn 0.880598 -0.175162 -0.440301 +vn 0.746535 -0.498819 -0.440301 +vn 0.498819 -0.746535 -0.440301 +vn 0.175160 -0.880599 -0.440301 +vn -0.175160 -0.880598 -0.440302 +vn -0.498817 -0.746536 -0.440302 +vn -0.746537 -0.498817 -0.440299 +vn -0.880599 -0.175162 -0.440300 +vn -0.880599 0.175163 -0.440299 +vn -0.746535 0.498819 -0.440300 +vn -0.498819 0.746535 -0.440301 +vn -0.175164 0.880598 -0.440301 +vn 0.000000 -0.000003 1.000000 +vn 0.000014 -0.000003 1.000000 +vn 0.000000 -0.000002 1.000000 +vn -0.000014 -0.000002 1.000000 +vn -0.000007 0.000000 1.000000 +vn 0.000028 0.000000 1.000000 +vn 0.000007 -0.000002 1.000000 +vn 0.000011 -0.000002 1.000000 +vn 0.000028 0.000000 -1.000000 +vn -0.000007 0.000002 -1.000000 +vn 0.000028 0.000003 -1.000000 +vn -0.000028 0.000003 -1.000000 +vn 0.000007 0.000002 -1.000000 +vn 0.000000 0.000002 -1.000000 +vn -0.000014 0.000000 -1.000000 +vn -0.975706 -0.194080 0.101636 +vn -0.827165 -0.552692 0.101635 +vn -0.552694 -0.827164 0.101635 +vn -0.194078 -0.975707 0.101635 +vn -0.827163 0.552694 0.101636 +vn -0.552694 0.827164 0.101637 +vn 0.194079 -0.975707 0.101635 +vn 0.552693 -0.827164 0.101635 +vn 0.827165 -0.552693 0.101635 +vn 0.975706 -0.194080 0.101636 +vn 0.975706 0.194080 0.101636 +vn 0.827164 0.552693 0.101636 +vn 0.552694 0.827163 0.101637 +vn -0.194079 0.975707 0.101637 +vn 0.552691 -0.827165 -0.101637 +vn 0.194080 -0.975706 -0.101637 +vn -0.194080 -0.975706 -0.101637 +vn -0.552691 -0.827165 -0.101637 +vn 0.975706 -0.194080 -0.101636 +vn 0.975707 0.194080 -0.101636 +vn 0.827164 0.552693 -0.101636 +vn 0.552692 0.827165 -0.101635 +vn 0.194080 0.975707 -0.101635 +vn -0.194081 0.975706 -0.101635 +vn -0.552692 0.827165 -0.101635 +vn -0.827164 0.552694 -0.101635 +vn -0.975707 0.194080 -0.101636 +vn -0.975707 -0.194080 -0.101636 +vn 0.000002 -0.000001 1.000000 +vn -0.000001 0.000000 1.000000 +vn 0.000005 -0.000001 1.000000 +vn -0.000010 -0.000001 1.000000 +vn -0.000005 -0.000001 1.000000 +vn -0.000001 0.000000 -1.000000 +vn 0.980785 -0.195089 -0.000000 +vn 0.555570 -0.831470 -0.000000 +vn 0.195090 -0.980785 -0.000000 +vn -0.195090 -0.980785 -0.000000 +vn -0.555570 -0.831469 -0.000000 +vn -0.831469 -0.555571 -0.000000 +vn 0.000000 -0.000008 1.000000 +vn -0.555570 0.831470 0.000000 +vn -0.000002 0.000004 -1.000000 +vn 0.194614 0.978387 -0.069884 +vn 0.554213 0.829436 -0.069884 +vn 0.829437 -0.554211 -0.069885 +vn 0.554212 -0.829437 -0.069885 +vn 0.194614 -0.978387 -0.069886 +vn -0.554212 -0.829437 -0.069886 +vn -0.829436 -0.554212 -0.069886 +vn -0.829437 0.554212 -0.069885 +vn -0.554212 0.829437 -0.069884 +vn -0.194613 0.978387 -0.069884 +vn 0.194613 0.978388 -0.069883 +vn 0.554211 0.829437 -0.069883 +vn 0.829439 0.554209 -0.069883 +vn 0.978387 0.194613 -0.069884 +vn 0.978387 -0.194613 -0.069884 +vn 0.829437 -0.554211 -0.069884 +vn 0.554214 -0.829435 -0.069885 +vn 0.194613 -0.978387 -0.069885 +vn -0.194614 -0.978387 -0.069886 +vn -0.554214 -0.829436 -0.069886 +vn -0.829437 -0.554212 -0.069886 +vn -0.978387 -0.194613 -0.069885 +vn -0.978387 0.194613 -0.069885 +vn -0.829438 0.554210 -0.069884 +vn 0.194614 0.978387 0.069886 +vn -0.194613 0.978387 0.069886 +vn -0.554211 0.829437 0.069886 +vn -0.829437 0.554212 0.069886 +vn -0.829437 -0.554212 0.069885 +vn -0.554212 -0.829437 0.069884 +vn -0.194613 -0.978387 0.069884 +vn 0.194613 -0.978387 0.069884 +vn 0.554213 -0.829436 0.069884 +vn 0.829437 -0.554212 0.069884 +vn 0.829437 0.554212 0.069885 +vn 0.554211 0.829437 0.069885 +vn -0.194612 0.978388 0.069886 +vn -0.554211 0.829437 0.069885 +vn -0.829436 0.554213 0.069885 +vn -0.978387 -0.194614 0.069885 +vn -0.829438 -0.554211 0.069884 +vn -0.554214 -0.829436 0.069884 +vn 0.554215 -0.829435 0.069883 +vn 0.829436 -0.554213 0.069884 +vn 0.978387 -0.194614 0.069884 +vn 0.978387 0.194615 0.069885 +vn 0.829436 0.554212 0.069885 +vn 0.554214 0.829436 0.069885 +vn 0.555571 0.831469 0.000001 +vn 0.831470 -0.555570 -0.000001 +vn -0.555570 -0.831470 -0.000000 +vn 0.555570 -0.831469 -0.000001 +vn 0.980785 -0.195092 -0.000000 +vn -0.195090 0.980785 0.000002 +vn 0.831469 0.555571 0.000000 +vn -0.555571 0.831469 0.000001 +vn 0.151056 0.759405 0.632840 +vn -0.151054 0.759406 0.632839 +vn -0.430168 0.643793 0.632839 +vn -0.643792 0.430169 0.632840 +vn -0.759406 0.151054 0.632838 +vn -0.759406 -0.151056 0.632839 +vn -0.643793 -0.430169 0.632839 +vn -0.151054 -0.759407 0.632838 +vn 0.430170 -0.643794 0.632838 +vn 0.643793 -0.430169 0.632839 +vn 0.759405 -0.151056 0.632840 +vn 0.759406 0.151054 0.632839 +vn 0.430169 0.643793 0.632840 +vn 0.151056 0.759407 -0.632838 +vn 0.430168 0.643794 -0.632838 +vn 0.643793 0.430168 -0.632839 +vn 0.759406 0.151057 -0.632838 +vn 0.759405 -0.151055 -0.632840 +vn 0.643793 -0.430169 -0.632840 +vn 0.430170 -0.643792 -0.632839 +vn 0.151054 -0.759405 -0.632840 +vn -0.151054 -0.759405 -0.632840 +vn -0.430170 -0.643792 -0.632839 +vn -0.759405 -0.151055 -0.632840 +vn -0.759406 0.151057 -0.632839 +vn -0.643793 0.430168 -0.632839 +vn -0.430167 0.643794 -0.632839 +vn -0.151054 0.759406 -0.632839 +vn 0.194614 0.978387 0.069885 +vn -0.194614 0.978387 0.069885 +vn -0.554214 0.829435 0.069883 +vn -0.829435 -0.554214 0.069884 +vn -0.554211 -0.829437 0.069885 +vn 0.554207 -0.829440 0.069884 +vn 0.829436 -0.554214 0.069884 +vn 0.978387 0.194614 0.069885 +vn 0.829437 0.554211 0.069885 +vn 0.194612 0.978388 -0.069882 +vn 0.554211 0.829437 -0.069884 +vn 0.829436 0.554213 -0.069884 +vn 0.978388 0.194612 -0.069884 +vn 0.978387 -0.194614 -0.069884 +vn -0.194612 -0.978387 -0.069886 +vn -0.554211 -0.829437 -0.069886 +vn -0.829439 -0.554209 -0.069886 +vn -0.978387 -0.194614 -0.069885 +vn -0.978388 0.194612 -0.069885 +vn -0.829435 0.554214 -0.069884 +vn -0.554211 0.829438 -0.069884 +vn -0.194613 0.978388 -0.069884 +vn 0.194078 0.975707 0.101637 +vn 0.175159 0.880598 0.440302 +vn -0.175159 0.880599 0.440301 +vn -0.498818 0.746535 0.440302 +vn -0.746535 0.498819 0.440301 +vn -0.880600 0.175160 0.440298 +vn -0.880599 -0.175161 0.440300 +vn -0.746537 -0.498818 0.440299 +vn -0.498820 -0.746535 0.440300 +vn -0.175161 -0.880599 0.440300 +vn 0.175161 -0.880599 0.440300 +vn 0.498821 -0.746535 0.440300 +vn 0.746539 -0.498816 0.440298 +vn 0.880599 -0.175162 0.440300 +vn 0.880600 0.175161 0.440298 +vn 0.746536 0.498818 0.440301 +vn 0.498816 0.746537 0.440302 +vn 0.175161 0.880599 -0.440299 +vn 0.498821 0.746535 -0.440299 +vn 0.746537 0.498818 -0.440299 +vn 0.880597 0.175164 -0.440302 +vn 0.880599 -0.175162 -0.440300 +vn 0.498821 -0.746534 -0.440300 +vn 0.175164 -0.880597 -0.440302 +vn -0.175164 -0.880598 -0.440301 +vn -0.498818 -0.746535 -0.440301 +vn -0.746535 -0.498819 -0.440301 +vn -0.880597 0.175164 -0.440303 +vn -0.746535 0.498819 -0.440301 +vn -0.498816 0.746537 -0.440301 +vn -0.175163 0.880599 -0.440300 +vn -0.000012 -0.000003 1.000000 +vn 0.000000 -0.000004 1.000000 +vn -0.000006 0.000000 1.000000 +vn -0.000012 0.000000 1.000000 +vn 0.000003 0.000000 1.000000 +vn -0.000012 0.000000 -1.000000 +vn 0.000003 0.000000 -1.000000 +vn 0.000000 0.000004 -1.000000 +vn -0.000006 0.000001 -1.000000 +vn -0.000001 0.000002 -1.000000 +vn -0.000012 0.000002 -1.000000 +vn 0.000000 0.000003 -1.000000 +vn 0.000006 0.000002 -1.000000 +vn 0.000001 0.000002 -1.000000 +vn 0.000006 0.000001 -1.000000 +vn -0.000003 0.000000 -1.000000 +vn -0.000006 0.000000 -1.000000 +vn 0.000012 0.000000 -1.000000 +vn 0.827164 -0.552693 -0.101637 +vn -0.827164 -0.552693 -0.101636 +vn -0.975706 0.194080 0.101636 +vn 0.555570 0.831470 0.000000 +vn 0.980785 -0.195091 -0.000000 +vn -0.195089 -0.980785 -0.000000 +vn -0.000008 -0.000009 1.000000 +vn 0.000000 -0.000006 1.000000 +vn 0.000016 -0.000008 1.000000 +vn 0.000016 -0.000009 1.000000 +vn -0.000016 -0.000008 1.000000 +vn -0.000001 -0.000006 1.000000 +vn 0.000011 -0.000006 1.000000 +vn 0.000000 -0.000005 1.000000 +vn 0.000003 -0.000003 1.000000 +vn 0.000000 -0.000007 1.000000 +vn -0.000011 -0.000003 -1.000000 +vn 0.000032 0.000030 -1.000000 +vn 0.000000 0.000011 -1.000000 +vn -0.000016 0.000010 -1.000000 +vn 0.000016 0.000023 -1.000000 +vn -0.000012 -0.000005 -1.000000 +vn -0.000032 0.000020 -1.000000 +vn -0.000012 0.000009 -1.000000 +vn 0.000002 0.000006 -1.000000 +vn 0.000017 0.000019 -1.000000 +vn 0.000000 0.000005 -1.000000 +vn -0.000006 0.000007 -1.000000 +vn 0.000010 0.000005 -1.000000 +vn 0.194613 0.978387 -0.069884 +vn 0.829437 -0.554212 -0.069885 +vn 0.194613 -0.978387 -0.069886 +vn -0.829436 0.554213 -0.069885 +vn -0.194614 0.978387 -0.069884 +vn 0.194613 0.978387 -0.069882 +vn 0.554214 0.829435 -0.069884 +vn 0.829435 0.554214 -0.069885 +vn 0.978387 0.194616 -0.069885 +vn 0.978387 -0.194614 -0.069885 +vn 0.554210 -0.829438 -0.069885 +vn -0.554208 -0.829440 -0.069886 +vn -0.978387 0.194614 -0.069885 +vn -0.829436 0.554212 -0.069886 +vn -0.554212 0.829437 -0.069886 +vn 0.194613 0.978387 0.069886 +vn -0.554212 0.829436 0.069886 +vn -0.829436 0.554212 0.069886 +vn -0.554211 -0.829437 0.069884 +vn 0.554211 -0.829437 0.069884 +vn 0.554212 0.829437 0.069885 +vn 0.194613 0.978387 0.069884 +vn -0.194613 0.978387 0.069887 +vn -0.554212 0.829437 0.069886 +vn -0.978388 0.194612 0.069885 +vn -0.978388 -0.194612 0.069885 +vn -0.829436 -0.554212 0.069885 +vn -0.554210 -0.829438 0.069885 +vn -0.194613 -0.978388 0.069884 +vn 0.554210 -0.829438 0.069883 +vn 0.978388 0.194612 0.069884 +vn 0.554212 0.829437 0.069886 +s off +f 2/1/1 4/2/1 3/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 9/13/5 10/14/5 12/15/5 +f 12/16/6 14/17/6 13/18/6 +f 14/19/7 16/20/7 15/21/7 +f 16/22/8 18/23/8 17/24/8 +f 17/25/9 18/26/9 20/27/9 +f 20/28/10 22/29/10 21/30/10 +f 22/31/11 24/32/11 23/33/11 +f 24/34/12 26/35/12 25/36/12 +f 26/37/13 28/38/13 27/39/13 +f 28/40/14 30/41/14 29/42/14 +f 66/43/1 65/44/1 33/45/1 +f 31/46/15 32/47/15 2/48/15 +f 29/49/16 30/50/16 32/51/16 +f 98/52/17 97/53/17 65/44/17 +f 34/54/18 33/55/18 4/56/18 +f 35/57/18 34/54/18 2/58/18 +f 36/59/18 35/57/18 32/60/18 +f 37/61/18 36/59/18 30/62/18 +f 38/63/18 37/61/18 28/64/18 +f 24/65/18 39/66/18 38/63/18 +f 40/67/18 39/66/18 24/65/18 +f 41/68/18 40/67/18 22/69/18 +f 42/70/18 41/68/18 20/71/18 +f 16/72/18 43/73/18 42/70/18 +f 14/74/18 44/75/18 43/73/18 +f 12/76/18 45/77/18 44/75/18 +f 46/78/18 45/77/18 12/76/18 +f 47/79/18 46/78/18 10/80/18 +f 48/81/18 47/79/18 8/82/18 +f 4/56/18 33/55/18 48/81/18 +f 50/83/19 49/84/19 1/85/19 +f 51/86/19 50/83/19 3/87/19 +f 7/88/19 52/89/19 51/86/19 +f 9/90/19 53/91/19 52/89/19 +f 54/92/19 53/91/19 9/90/19 +f 55/93/19 54/92/19 11/94/19 +f 56/95/19 55/93/19 13/96/19 +f 17/97/19 57/98/19 56/95/19 +f 58/99/19 57/98/19 17/97/19 +f 21/100/19 59/101/19 58/99/19 +f 23/102/19 60/103/19 59/101/19 +f 61/104/19 60/103/19 23/102/19 +f 27/105/19 62/106/19 61/104/19 +f 63/107/19 62/106/19 27/105/19 +f 64/108/19 63/107/19 29/109/19 +f 49/84/19 64/108/19 31/110/19 +f 67/111/20 66/112/20 34/113/20 +f 36/114/21 68/115/21 67/116/21 +f 69/117/22 68/118/22 36/119/22 +f 70/120/23 69/121/23 37/122/23 +f 39/123/24 71/124/24 70/125/24 +f 72/126/25 71/127/25 39/128/25 +f 41/129/10 73/130/10 72/131/10 +f 74/132/9 73/133/9 41/134/9 +f 75/135/8 74/136/8 42/137/8 +f 44/138/7 76/139/7 75/140/7 +f 45/141/26 77/142/26 76/143/26 +f 46/144/5 78/145/5 77/146/5 +f 79/147/4 78/148/4 46/149/4 +f 48/150/27 80/151/27 79/152/27 +f 33/153/28 65/154/28 80/155/28 +f 82/156/29 81/157/29 49/158/29 +f 51/159/28 83/160/28 82/161/28 +f 52/162/27 84/163/27 83/164/27 +f 85/165/30 84/166/30 52/167/30 +f 54/168/5 86/169/5 85/170/5 +f 87/171/26 86/172/26 54/173/26 +f 88/174/7 87/175/7 55/176/7 +f 89/177/8 88/178/8 56/179/8 +f 90/180/9 89/181/9 57/182/9 +f 91/183/10 90/184/10 58/185/10 +f 92/186/31 91/187/31 59/188/31 +f 93/189/32 92/190/32 60/191/32 +f 62/192/13 94/193/13 93/194/13 +f 95/195/22 94/196/22 62/197/22 +f 64/198/21 96/199/21 95/200/21 +f 81/201/20 96/202/20 64/203/20 +f 99/204/33 98/205/33 66/112/33 +f 68/115/21 100/206/21 99/207/21 +f 101/208/34 100/209/34 68/118/34 +f 102/210/13 101/211/13 69/121/13 +f 102/212/35 295/213/35 103/214/35 +f 293/215/36 74/216/36 290/217/36 +f 73/218/37 74/216/37 293/215/37 +f 72/219/38 73/218/38 293/215/38 +f 71/220/39 72/219/39 293/215/39 +f 70/221/19 71/220/19 293/215/19 +f 78/222/40 110/223/40 296/224/40 +f 111/225/30 110/226/30 78/148/30 +f 80/151/41 112/227/41 111/228/41 +f 97/229/42 112/230/42 80/155/42 +f 114/231/43 113/232/43 81/157/43 +f 115/233/28 114/234/28 82/161/28 +f 84/163/44 116/235/44 115/236/44 +f 117/237/30 116/238/30 84/166/30 +f 89/239/45 90/240/45 291/241/45 +f 124/242/19 294/243/19 125/244/19 +f 120/245/36 292/246/36 121/247/36 +f 119/248/46 292/246/46 120/245/46 +f 118/249/19 292/246/19 119/248/19 +f 117/250/19 292/246/19 118/249/19 +f 292/251/47 289/252/47 291/253/47 +f 125/254/48 294/255/48 291/256/48 +f 94/193/23 126/257/23 125/258/23 +f 127/259/49 126/260/49 94/196/49 +f 128/261/50 127/262/50 95/200/50 +f 113/263/51 128/264/51 96/202/51 +f 98/265/52 130/266/52 129/267/52 +f 131/268/53 130/269/53 98/270/53 +f 100/271/54 132/272/54 131/273/54 +f 133/274/55 132/275/55 100/276/55 +f 102/277/56 134/278/56 133/279/56 +f 135/280/57 134/281/57 102/282/57 +f 136/283/58 135/284/58 103/285/58 +f 105/286/59 137/287/59 136/288/59 +f 138/289/60 137/290/60 105/291/60 +f 107/292/61 139/293/61 138/294/61 +f 140/295/62 139/296/62 107/297/62 +f 109/298/63 141/299/63 140/300/63 +f 142/301/64 141/302/64 109/303/64 +f 143/304/65 142/305/65 110/306/65 +f 112/307/66 144/308/66 143/309/66 +f 97/310/67 129/311/67 144/312/67 +f 146/313/68 145/314/68 113/315/68 +f 147/316/69 146/317/69 114/318/69 +f 116/319/70 148/320/70 147/321/70 +f 149/322/71 148/323/71 116/324/71 +f 150/325/72 149/326/72 117/327/72 +f 119/328/73 151/329/73 150/330/73 +f 152/331/74 151/332/74 119/333/74 +f 121/334/75 153/335/75 152/336/75 +f 122/337/76 154/338/76 153/339/76 +f 123/340/77 155/341/77 154/342/77 +f 156/343/78 155/344/78 123/345/78 +f 157/346/79 156/347/79 124/348/79 +f 126/349/80 158/350/80 157/351/80 +f 159/352/81 158/353/81 126/354/81 +f 128/355/82 160/356/82 159/357/82 +f 145/358/83 160/359/83 128/360/83 +f 361/361/84 162/362/84 161/363/84 +f 363/364/85 163/365/85 162/366/85 +f 164/367/86 163/368/86 363/369/86 +f 365/370/87 165/371/87 164/372/87 +f 166/373/88 165/374/88 365/375/88 +f 167/376/89 166/377/89 366/378/89 +f 168/379/90 167/380/90 367/381/90 +f 369/382/91 169/383/91 168/384/91 +f 370/385/92 170/386/92 169/387/92 +f 171/388/93 170/389/93 370/390/93 +f 172/391/94 171/392/94 371/393/94 +f 173/394/95 172/395/95 372/396/95 +f 174/397/96 173/398/96 373/399/96 +f 375/400/97 175/401/97 174/402/97 +f 176/403/98 175/404/98 375/405/98 +f 362/406/99 161/407/99 176/408/99 +f 329/409/100 178/410/100 177/411/100 +f 331/412/101 179/413/101 178/414/101 +f 180/415/102 179/416/102 331/417/102 +f 181/418/103 180/419/103 332/420/103 +f 334/421/104 182/422/104 181/423/104 +f 183/424/105 182/425/105 334/426/105 +f 336/427/106 184/428/106 183/429/106 +f 337/430/107 185/431/107 184/432/107 +f 338/433/108 186/434/108 185/435/108 +f 187/436/109 186/437/109 338/438/109 +f 340/439/110 188/440/110 187/441/110 +f 189/442/111 188/443/111 340/444/111 +f 342/445/112 190/446/112 189/447/112 +f 191/448/113 190/449/113 342/450/113 +f 192/451/114 191/452/114 343/453/114 +f 177/454/115 192/455/115 344/456/115 +f 258/457/45 257/457/45 225/458/45 +f 194/459/116 193/460/116 161/461/116 +f 163/462/117 195/463/117 194/464/117 +f 164/465/118 196/466/118 195/467/118 +f 165/468/119 197/469/119 196/470/119 +f 198/471/120 197/472/120 165/473/120 +f 167/474/121 199/475/121 198/476/121 +f 200/477/122 199/478/122 167/479/122 +f 201/480/123 200/481/123 168/482/123 +f 170/483/124 202/484/124 201/485/124 +f 203/486/125 202/487/125 170/488/125 +f 172/489/126 204/490/126 203/491/126 +f 205/492/127 204/493/127 172/494/127 +f 174/495/128 206/496/128 205/497/128 +f 175/498/129 207/499/129 206/500/129 +f 176/501/130 208/502/130 207/503/130 +f 161/504/131 193/505/131 208/506/131 +f 264/507/45 268/507/45 272/507/45 +f 210/508/132 209/509/132 177/510/132 +f 179/511/133 211/512/133 210/513/133 +f 180/514/134 212/515/134 211/516/134 +f 213/517/135 212/518/135 180/519/135 +f 182/520/136 214/521/136 213/522/136 +f 183/523/137 215/524/137 214/525/137 +f 184/526/138 216/527/138 215/528/138 +f 217/529/139 216/530/139 184/531/139 +f 218/532/140 217/533/140 185/534/140 +f 187/535/141 219/536/141 218/537/141 +f 220/538/142 219/539/142 187/540/142 +f 221/541/143 220/542/143 188/543/143 +f 190/544/144 222/545/144 221/546/144 +f 191/547/145 223/548/145 222/549/145 +f 192/550/146 224/551/146 223/552/146 +f 209/553/147 224/554/147 192/555/147 +f 226/556/148 225/557/148 193/558/148 +f 195/559/149 227/560/149 226/556/149 +f 228/561/150 227/560/150 195/559/150 +f 229/562/151 228/561/151 196/563/151 +f 198/564/45 230/565/45 229/562/45 +f 231/566/45 230/565/45 198/564/45 +f 200/567/152 232/568/152 231/566/152 +f 233/569/45 232/568/45 200/567/45 +f 234/570/45 233/569/45 201/571/45 +f 235/572/45 234/570/45 202/573/45 +f 236/574/153 235/572/153 203/575/153 +f 237/576/45 236/574/45 204/577/45 +f 238/578/45 237/576/45 205/579/45 +f 239/580/45 238/578/45 206/581/45 +f 208/582/154 240/583/154 239/580/154 +f 193/558/155 225/557/155 240/583/155 +f 242/584/156 241/585/156 209/586/156 +f 243/587/36 242/584/36 210/588/36 +f 212/589/36 244/590/36 243/587/36 +f 245/591/36 244/590/36 212/589/36 +f 214/592/19 246/593/19 245/591/19 +f 247/594/157 246/593/157 214/592/157 +f 216/595/157 248/596/157 247/594/157 +f 249/597/158 248/596/158 216/595/158 +f 250/598/159 249/597/159 217/599/159 +f 219/600/160 251/601/160 250/598/160 +f 220/602/161 252/603/161 251/601/161 +f 253/604/19 252/603/19 220/602/19 +f 222/605/36 254/606/36 253/604/36 +f 255/607/36 254/606/36 222/605/36 +f 256/608/36 255/607/36 223/609/36 +f 209/586/162 241/585/162 256/608/162 +f 230/610/163 231/611/163 257/612/163 +f 231/613/164 232/614/164 257/615/164 +f 232/616/165 233/617/165 257/618/165 +f 233/619/166 234/620/166 257/621/166 +f 228/622/167 229/623/167 258/624/167 +f 227/625/168 228/626/168 258/627/168 +f 234/628/169 235/629/169 257/630/169 +f 235/631/170 236/632/170 257/633/170 +f 236/634/171 237/635/171 257/636/171 +f 237/637/172 238/638/172 257/639/172 +f 238/640/173 239/641/173 257/642/173 +f 239/643/174 240/644/174 257/645/174 +f 225/646/175 257/647/175 240/648/175 +f 226/649/176 227/650/176 258/651/176 +f 280/507/45 284/507/45 288/507/45 +f 283/652/45 284/652/45 246/653/45 +f 247/654/177 248/655/177 283/656/177 +f 248/657/178 249/658/178 283/659/178 +f 249/660/179 250/661/179 283/662/179 +f 250/663/180 251/664/180 283/665/180 +f 245/666/181 246/667/181 284/668/181 +f 244/669/182 245/670/182 284/671/182 +f 243/672/183 244/673/183 284/674/183 +f 242/675/184 243/676/184 284/677/184 +f 241/678/185 242/679/185 284/680/185 +f 284/681/45 283/681/45 251/682/45 +f 256/683/186 241/684/186 284/685/186 +f 255/686/187 256/687/187 284/688/187 +f 254/689/188 255/690/188 284/691/188 +f 253/692/189 254/693/189 284/694/189 +f 252/695/190 253/696/190 284/697/190 +f 257/698/45 258/698/45 229/699/45 +f 292/246/36 294/243/36 121/247/36 +f 90/240/18 91/700/18 291/241/18 +f 123/701/19 294/243/19 124/242/19 +f 85/702/40 289/703/40 292/704/40 +f 91/700/18 92/705/18 291/241/18 +f 121/247/36 294/243/36 122/706/36 +f 93/707/18 291/241/18 92/705/18 +f 122/706/38 294/243/38 123/701/38 +f 85/708/18 86/709/18 289/710/18 +f 86/709/191 87/711/191 289/710/191 +f 87/711/18 88/712/18 289/710/18 +f 88/712/192 89/239/192 289/710/192 +f 289/710/45 89/239/45 291/241/45 +f 108/713/18 107/714/18 296/715/18 +f 109/716/193 108/713/193 296/715/193 +f 109/716/194 296/715/194 110/717/194 +f 70/718/48 293/719/48 295/720/48 +f 105/721/18 104/722/18 295/213/18 +f 106/723/45 105/721/45 295/213/45 +f 295/724/47 293/725/47 290/726/47 +f 104/722/195 103/214/195 295/213/195 +f 107/714/45 106/723/45 296/715/45 +f 295/213/45 296/715/45 106/723/45 +f 78/727/19 290/217/19 77/728/19 +f 77/728/19 290/217/19 76/729/19 +f 76/729/46 290/217/46 75/730/46 +f 75/730/196 290/217/196 74/216/196 +f 298/731/17 300/732/17 299/733/17 +f 299/734/2 300/735/2 302/736/2 +f 301/737/27 302/738/27 304/739/27 +f 303/740/4 304/741/4 306/742/4 +f 306/743/197 308/744/197 307/745/197 +f 307/746/6 308/747/6 310/748/6 +f 310/749/198 312/750/198 311/751/198 +f 312/752/199 314/753/199 313/754/199 +f 313/755/200 314/756/200 316/757/200 +f 315/758/201 316/759/201 318/760/201 +f 317/761/202 318/762/202 320/763/202 +f 320/764/24 322/765/24 321/766/24 +f 322/767/23 324/768/23 323/769/23 +f 324/770/22 326/771/22 325/772/22 +f 304/773/203 302/774/203 322/775/203 +f 328/776/33 298/777/33 297/778/33 +f 325/779/204 326/780/204 328/781/204 +f 311/782/205 319/783/205 327/784/205 +f 329/409/206 330/785/206 345/786/206 +f 331/412/207 329/787/207 346/788/207 +f 348/789/102 332/790/102 331/417/102 +f 351/791/208 335/792/208 334/426/208 +f 336/427/209 335/793/209 351/794/209 +f 353/795/210 337/430/210 336/796/210 +f 354/797/108 338/433/108 337/798/108 +f 355/799/211 339/800/211 338/438/211 +f 340/439/212 339/801/212 355/802/212 +f 343/803/213 342/450/213 358/804/213 +f 344/805/214 343/453/214 359/806/214 +f 330/807/215 344/456/215 360/808/215 +f 146/809/216 346/810/216 345/786/216 +f 147/811/217 347/812/217 346/788/217 +f 148/813/218 348/789/218 347/814/218 +f 349/815/219 348/816/219 148/817/219 +f 150/818/220 350/819/220 349/820/220 +f 151/821/221 351/791/221 350/822/221 +f 352/823/222 351/794/222 151/824/222 +f 153/825/223 353/795/223 352/826/223 +f 354/797/224 353/827/224 153/828/224 +f 155/829/225 355/799/225 354/830/225 +f 356/831/226 355/802/226 155/832/226 +f 357/833/227 356/834/227 156/835/227 +f 158/836/228 358/837/228 357/838/228 +f 359/839/229 358/804/229 158/840/229 +f 360/841/214 359/806/214 159/842/214 +f 345/843/115 360/808/115 160/844/115 +f 378/845/230 361/361/230 362/846/230 +f 379/847/231 363/364/231 361/848/231 +f 380/849/232 364/850/232 363/369/232 +f 381/851/233 365/370/233 364/852/233 +f 368/853/234 367/381/234 383/854/234 +f 385/855/235 369/382/235 368/856/235 +f 370/385/236 369/857/236 385/858/236 +f 371/859/237 370/390/237 386/860/237 +f 372/861/238 371/393/238 387/862/238 +f 373/863/239 372/396/239 388/864/239 +f 376/865/240 375/405/240 391/866/240 +f 377/867/241 362/406/241 376/868/241 +f 130/869/230 378/845/230 377/870/230 +f 379/847/242 378/871/242 130/872/242 +f 380/849/243 379/873/243 131/874/243 +f 381/851/244 380/875/244 132/876/244 +f 134/877/88 382/878/88 381/879/88 +f 383/880/245 382/881/245 134/882/245 +f 384/883/246 383/854/246 135/884/246 +f 137/885/247 385/855/247 384/886/247 +f 386/887/236 385/858/236 137/888/236 +f 387/889/93 386/860/93 138/890/93 +f 388/891/248 387/862/248 139/892/248 +f 389/893/249 388/864/249 140/894/249 +f 390/895/250 389/896/250 141/897/250 +f 391/898/251 390/899/251 142/900/251 +f 392/901/252 391/866/252 143/902/252 +f 129/903/253 377/867/253 392/904/253 +f 1/905/1 2/1/1 3/3/1 +f 3/906/254 4/4/254 5/6/254 +f 5/907/3 6/7/3 7/9/3 +f 7/908/4 8/10/4 9/12/4 +f 11/909/5 9/13/5 12/15/5 +f 11/910/255 12/16/255 13/18/255 +f 13/911/7 14/19/7 15/21/7 +f 15/912/8 16/22/8 17/24/8 +f 19/913/9 17/25/9 20/27/9 +f 19/914/256 20/28/256 21/30/256 +f 21/915/31 22/31/31 23/33/31 +f 23/916/24 24/34/24 25/36/24 +f 25/917/13 26/37/13 27/39/13 +f 27/918/34 28/40/34 29/42/34 +f 34/919/1 66/43/1 33/45/1 +f 1/920/20 31/46/20 2/48/20 +f 31/921/204 29/49/204 32/51/204 +f 66/43/1 98/52/1 65/44/1 +f 2/58/18 34/54/18 4/56/18 +f 32/60/18 35/57/18 2/58/18 +f 30/62/18 36/59/18 32/60/18 +f 28/64/18 37/61/18 30/62/18 +f 26/922/18 38/63/18 28/64/18 +f 26/922/18 24/65/18 38/63/18 +f 22/69/18 40/67/18 24/65/18 +f 20/71/18 41/68/18 22/69/18 +f 18/923/18 42/70/18 20/71/18 +f 18/923/18 16/72/18 42/70/18 +f 16/72/18 14/74/18 43/73/18 +f 14/74/18 12/76/18 44/75/18 +f 10/80/18 46/78/18 12/76/18 +f 8/82/18 47/79/18 10/80/18 +f 6/924/18 48/81/18 8/82/18 +f 6/924/18 4/56/18 48/81/18 +f 3/87/19 50/83/19 1/85/19 +f 5/925/19 51/86/19 3/87/19 +f 5/925/19 7/88/19 51/86/19 +f 7/88/19 9/90/19 52/89/19 +f 11/94/19 54/92/19 9/90/19 +f 13/96/19 55/93/19 11/94/19 +f 15/926/19 56/95/19 13/96/19 +f 15/926/19 17/97/19 56/95/19 +f 19/927/19 58/99/19 17/97/19 +f 19/927/19 21/100/19 58/99/19 +f 21/100/19 23/102/19 59/101/19 +f 25/928/19 61/104/19 23/102/19 +f 25/928/19 27/105/19 61/104/19 +f 29/109/19 63/107/19 27/105/19 +f 31/110/19 64/108/19 29/109/19 +f 1/85/19 49/84/19 31/110/19 +f 35/929/20 67/111/20 34/113/20 +f 35/930/21 36/114/21 67/116/21 +f 37/931/34 69/117/34 36/119/34 +f 38/932/13 70/120/13 37/122/13 +f 38/933/24 39/123/24 70/125/24 +f 40/934/31 72/126/31 39/128/31 +f 40/935/10 41/129/10 72/131/10 +f 42/936/9 74/132/9 41/134/9 +f 43/937/8 75/135/8 42/137/8 +f 43/938/257 44/138/257 75/140/257 +f 44/939/26 45/141/26 76/143/26 +f 45/940/258 46/144/258 77/146/258 +f 47/941/30 79/147/30 46/149/30 +f 47/942/41 48/150/41 79/152/41 +f 48/943/254 33/153/254 80/155/254 +f 50/944/29 82/156/29 49/158/29 +f 50/945/28 51/159/28 82/161/28 +f 51/946/27 52/162/27 83/164/27 +f 53/947/4 85/165/4 52/167/4 +f 53/948/197 54/168/197 85/170/197 +f 55/949/6 87/171/6 54/173/6 +f 56/950/7 88/174/7 55/176/7 +f 57/951/8 89/177/8 56/179/8 +f 58/952/9 90/180/9 57/182/9 +f 59/953/10 91/183/10 58/185/10 +f 60/954/25 92/186/25 59/188/25 +f 61/955/12 93/189/12 60/191/12 +f 61/956/13 62/192/13 93/194/13 +f 63/957/34 95/195/34 62/197/34 +f 63/958/21 64/198/21 95/200/21 +f 49/959/20 81/201/20 64/203/20 +f 67/111/259 99/204/259 66/112/259 +f 67/116/16 68/115/16 99/207/16 +f 69/117/22 101/208/22 68/118/22 +f 70/120/23 102/210/23 69/121/23 +f 290/960/40 78/222/40 296/224/40 +f 79/147/4 111/225/4 78/148/4 +f 79/152/260 80/151/260 111/228/260 +f 65/154/28 97/229/28 80/155/28 +f 82/156/17 114/231/17 81/157/17 +f 83/160/254 115/233/254 82/161/254 +f 83/164/41 84/163/41 115/236/41 +f 85/165/4 117/237/4 84/166/4 +f 294/961/47 292/251/47 291/253/47 +f 93/962/48 125/254/48 291/256/48 +f 93/194/13 94/193/13 125/258/13 +f 95/195/49 127/259/49 94/196/49 +f 96/199/261 128/261/261 95/200/261 +f 81/201/33 113/263/33 96/202/33 +f 97/963/262 98/265/262 129/267/262 +f 99/964/263 131/268/263 98/270/263 +f 99/965/264 100/271/264 131/273/264 +f 101/966/265 133/274/265 100/276/265 +f 101/967/266 102/277/266 133/279/266 +f 103/968/267 135/280/267 102/282/267 +f 104/969/268 136/283/268 103/285/268 +f 104/970/59 105/286/59 136/288/59 +f 106/971/269 138/289/269 105/291/269 +f 106/972/61 107/292/61 138/294/61 +f 108/973/270 140/295/270 107/297/270 +f 108/974/271 109/298/271 140/300/271 +f 110/975/272 142/301/272 109/303/272 +f 111/976/273 143/304/273 110/306/273 +f 111/977/66 112/307/66 143/309/66 +f 112/978/274 97/310/274 144/312/274 +f 114/979/275 146/313/275 113/315/275 +f 115/980/276 147/316/276 114/318/276 +f 115/981/277 116/319/277 147/321/277 +f 117/982/278 149/322/278 116/324/278 +f 118/983/279 150/325/279 117/327/279 +f 118/984/280 119/328/280 150/330/280 +f 120/985/281 152/331/281 119/333/281 +f 120/986/282 121/334/282 152/336/282 +f 121/987/283 122/337/283 153/339/283 +f 122/988/284 123/340/284 154/342/284 +f 124/989/78 156/343/78 123/345/78 +f 125/990/285 157/346/285 124/348/285 +f 125/991/286 126/349/286 157/351/286 +f 127/992/287 159/352/287 126/354/287 +f 127/993/288 128/355/288 159/357/288 +f 113/994/289 145/358/289 128/360/289 +f 362/846/290 361/361/290 161/363/290 +f 361/848/291 363/364/291 162/366/291 +f 364/850/292 164/367/292 363/369/292 +f 364/852/87 365/370/87 164/372/87 +f 366/995/88 166/373/88 365/375/88 +f 367/996/245 167/376/245 366/378/245 +f 368/853/293 168/379/293 367/381/293 +f 368/856/294 369/382/294 168/384/294 +f 369/857/236 370/385/236 169/387/236 +f 371/859/237 171/388/237 370/390/237 +f 372/861/295 172/391/295 371/393/295 +f 373/863/296 173/394/296 372/396/296 +f 374/997/250 174/397/250 373/399/250 +f 374/998/297 375/400/297 174/402/297 +f 376/865/298 176/403/298 375/405/298 +f 376/868/241 362/406/241 176/408/241 +f 330/785/299 329/409/299 177/411/299 +f 329/787/300 331/412/300 178/414/300 +f 332/790/301 180/415/301 331/417/301 +f 333/999/302 181/418/302 332/420/302 +f 333/1000/303 334/421/303 181/423/303 +f 335/792/208 183/424/208 334/426/208 +f 335/793/106 336/427/106 183/429/106 +f 336/796/210 337/430/210 184/432/210 +f 337/798/304 338/433/304 185/435/304 +f 339/800/305 187/436/305 338/438/305 +f 339/801/306 340/439/306 187/441/306 +f 341/1001/307 189/442/307 340/444/307 +f 341/1002/308 342/445/308 189/447/308 +f 343/803/309 191/448/309 342/450/309 +f 344/805/310 192/451/310 343/453/310 +f 330/807/311 177/454/311 344/456/311 +f 226/1003/312 258/457/312 225/458/312 +f 162/1004/313 194/459/313 161/461/313 +f 162/1005/314 163/462/314 194/464/314 +f 163/1006/315 164/465/315 195/467/315 +f 164/1007/316 165/468/316 196/470/316 +f 166/1008/317 198/471/317 165/473/317 +f 166/1009/318 167/474/318 198/476/318 +f 168/1010/319 200/477/319 167/479/319 +f 169/1011/320 201/480/320 168/482/320 +f 169/1012/321 170/483/321 201/485/321 +f 171/1013/322 203/486/322 170/488/322 +f 171/1014/323 172/489/323 203/491/323 +f 173/1015/324 205/492/324 172/494/324 +f 173/1016/325 174/495/325 205/497/325 +f 174/1017/326 175/498/326 206/500/326 +f 175/1018/327 176/501/327 207/503/327 +f 176/1019/328 161/504/328 208/506/328 +f 272/507/45 257/507/45 258/507/45 +f 258/507/45 259/507/45 260/507/45 +f 260/507/45 261/507/45 262/507/45 +f 262/507/45 263/507/45 264/507/45 +f 264/507/45 265/507/45 266/507/45 +f 266/507/45 267/507/45 268/507/45 +f 268/507/45 269/507/45 270/507/45 +f 270/507/45 271/507/45 272/507/45 +f 272/507/45 258/507/45 260/507/45 +f 260/507/45 262/507/45 264/507/45 +f 264/507/45 266/507/45 268/507/45 +f 268/507/45 270/507/45 272/507/45 +f 272/507/45 260/507/45 264/507/45 +f 178/1020/329 210/508/329 177/510/329 +f 178/1021/330 179/511/330 210/513/330 +f 179/1022/331 180/514/331 211/516/331 +f 181/1023/332 213/517/332 180/519/332 +f 181/1024/333 182/520/333 213/522/333 +f 182/1025/137 183/523/137 214/525/137 +f 183/1026/334 184/526/334 215/528/334 +f 185/1027/335 217/529/335 184/531/335 +f 186/1028/336 218/532/336 185/534/336 +f 186/1029/337 187/535/337 218/537/337 +f 188/1030/338 220/538/338 187/540/338 +f 189/1031/143 221/541/143 188/543/143 +f 189/1032/339 190/544/339 221/546/339 +f 190/1033/340 191/547/340 222/549/340 +f 191/1034/341 192/550/341 223/552/341 +f 177/1035/342 209/553/342 192/555/342 +f 194/1036/148 226/556/148 193/558/148 +f 194/1036/343 195/559/343 226/556/343 +f 196/563/150 228/561/150 195/559/150 +f 197/1037/344 229/562/344 196/563/344 +f 197/1037/45 198/564/45 229/562/45 +f 199/1038/45 231/566/45 198/564/45 +f 199/1038/45 200/567/45 231/566/45 +f 201/571/345 233/569/345 200/567/345 +f 202/573/346 234/570/346 201/571/346 +f 203/575/45 235/572/45 202/573/45 +f 204/577/45 236/574/45 203/575/45 +f 205/579/45 237/576/45 204/577/45 +f 206/581/45 238/578/45 205/579/45 +f 207/1039/347 239/580/347 206/581/347 +f 207/1039/344 208/582/344 239/580/344 +f 208/582/150 193/558/150 240/583/150 +f 210/588/348 242/584/348 209/586/348 +f 211/1040/36 243/587/36 210/588/36 +f 211/1040/349 212/589/349 243/587/349 +f 213/1041/350 245/591/350 212/589/350 +f 213/1041/351 214/592/351 245/591/351 +f 215/1042/352 247/594/352 214/592/352 +f 215/1042/353 216/595/353 247/594/353 +f 217/599/354 249/597/354 216/595/354 +f 218/1043/354 250/598/354 217/599/354 +f 218/1043/355 219/600/355 250/598/355 +f 219/600/356 220/602/356 251/601/356 +f 221/1044/357 253/604/357 220/602/357 +f 221/1044/350 222/605/350 253/604/350 +f 223/609/358 255/607/358 222/605/358 +f 224/1045/359 256/608/359 223/609/359 +f 224/1045/360 209/586/360 256/608/360 +f 288/507/45 273/507/45 274/507/45 +f 274/507/45 275/507/45 276/507/45 +f 276/507/45 277/507/45 278/507/45 +f 278/507/45 279/507/45 280/507/45 +f 280/507/45 281/507/45 282/507/45 +f 282/507/45 283/507/45 284/507/45 +f 284/507/45 285/507/45 286/507/45 +f 286/507/45 287/507/45 288/507/45 +f 288/507/45 274/507/45 276/507/45 +f 276/507/45 278/507/45 280/507/45 +f 280/507/45 282/507/45 284/507/45 +f 284/507/45 286/507/45 288/507/45 +f 288/507/45 276/507/45 280/507/45 +f 247/1046/361 283/652/361 246/653/361 +f 252/1047/362 284/681/362 251/682/362 +f 230/1048/363 257/698/363 229/699/363 +f 117/1049/40 85/702/40 292/704/40 +f 102/1050/48 70/718/48 295/720/48 +f 296/1051/47 295/724/47 290/726/47 +f 297/1052/17 298/731/17 299/733/17 +f 301/1053/364 299/734/364 302/736/364 +f 303/1054/27 301/737/27 304/739/27 +f 305/1055/4 303/740/4 306/742/4 +f 305/1056/365 306/743/365 307/745/365 +f 309/1057/26 307/746/26 310/748/26 +f 309/1058/198 310/749/198 311/751/198 +f 311/1059/199 312/752/199 313/754/199 +f 315/1060/366 313/755/366 316/757/366 +f 317/1061/201 315/758/201 318/760/201 +f 319/1062/202 317/761/202 320/763/202 +f 319/1063/24 320/764/24 321/766/24 +f 321/1064/13 322/767/13 323/769/13 +f 323/1065/22 324/770/22 325/772/22 +f 302/774/367 300/1066/367 298/1067/367 +f 326/1068/368 302/774/368 328/1069/368 +f 326/1068/368 324/1070/368 322/775/368 +f 322/775/369 320/1071/369 318/1072/369 +f 318/1072/367 316/1073/367 314/1074/367 +f 314/1074/370 312/1075/370 310/1076/370 +f 310/1076/371 308/1077/371 306/1078/371 +f 304/773/372 322/775/372 318/1072/372 +f 327/1079/33 328/776/33 297/778/33 +f 310/1076/373 306/1078/373 304/773/373 +f 318/1072/374 314/1074/374 310/1076/374 +f 302/774/375 298/1067/375 328/1069/375 +f 310/1076/368 304/773/368 318/1072/368 +f 327/1080/204 325/779/204 328/781/204 +f 302/774/376 326/1068/376 322/775/376 +f 299/1081/377 303/1082/377 297/1083/377 +f 299/1081/378 301/1084/378 303/1082/378 +f 307/1085/379 311/782/379 305/1086/379 +f 307/1085/380 309/1087/380 311/782/380 +f 315/1088/381 317/1089/381 313/1090/381 +f 311/782/382 313/1090/382 319/783/382 +f 323/1091/383 325/1092/383 321/1093/383 +f 327/784/384 319/783/384 325/1092/384 +f 297/1083/385 303/1082/385 311/782/385 +f 313/1090/386 317/1089/386 319/783/386 +f 325/1092/387 319/783/387 321/1093/387 +f 311/782/388 303/1082/388 305/1086/388 +f 327/784/389 297/1083/389 311/782/389 +f 346/810/390 329/409/390 345/786/390 +f 347/812/300 331/412/300 346/788/300 +f 347/814/102 348/789/102 331/417/102 +f 350/822/391 351/791/391 334/426/391 +f 352/823/209 336/427/209 351/794/209 +f 352/826/392 353/795/392 336/796/392 +f 353/827/108 354/797/108 337/798/108 +f 354/830/305 355/799/305 338/438/305 +f 356/831/226 340/439/226 355/802/226 +f 359/839/393 343/803/393 358/804/393 +f 360/841/214 344/805/214 359/806/214 +f 345/843/394 330/807/394 360/808/394 +f 145/1094/395 146/809/395 345/786/395 +f 146/1095/396 147/811/396 346/788/396 +f 147/1096/397 148/813/397 347/814/397 +f 149/1097/398 349/815/398 148/817/398 +f 149/1098/399 150/818/399 349/820/399 +f 150/1099/105 151/821/105 350/822/105 +f 152/1100/400 352/823/400 151/824/400 +f 152/1101/392 153/825/392 352/826/392 +f 154/1102/108 354/797/108 153/828/108 +f 154/1103/401 155/829/401 354/830/401 +f 156/1104/212 356/831/212 155/832/212 +f 157/1105/111 357/833/111 156/835/111 +f 157/1106/402 158/836/402 357/838/402 +f 159/1107/403 359/839/403 158/840/403 +f 160/1108/404 360/841/404 159/842/404 +f 145/1109/215 345/843/215 160/844/215 +f 377/870/405 378/845/405 362/846/405 +f 378/871/231 379/847/231 361/848/231 +f 379/873/406 380/849/406 363/369/406 +f 380/875/407 381/851/407 364/852/407 +f 384/883/234 368/853/234 383/854/234 +f 384/886/408 385/855/408 368/856/408 +f 386/887/236 370/385/236 385/858/236 +f 387/889/237 371/859/237 386/860/237 +f 388/891/409 372/861/409 387/862/409 +f 389/893/239 373/863/239 388/864/239 +f 392/901/240 376/865/240 391/866/240 +f 392/904/410 377/867/410 376/868/410 +f 129/1110/411 130/869/411 377/870/411 +f 131/1111/412 379/847/412 130/872/412 +f 132/1112/413 380/849/413 131/874/413 +f 133/1113/407 381/851/407 132/876/407 +f 133/1114/414 134/877/414 381/879/414 +f 135/1115/415 383/880/415 134/882/415 +f 136/1116/416 384/883/416 135/884/416 +f 136/1117/417 137/885/417 384/886/417 +f 138/1118/418 386/887/418 137/888/418 +f 139/1119/237 387/889/237 138/890/237 +f 140/1120/419 388/891/419 139/892/419 +f 141/1121/239 389/893/239 140/894/239 +f 142/1122/250 390/895/250 141/897/250 +f 143/1123/420 391/898/420 142/900/420 +f 144/1124/240 392/901/240 143/902/240 +f 144/1125/421 129/903/421 392/904/421 diff --git a/assets/hbm/models/Ring.obj b/assets/hbm/models/Ring.obj new file mode 100644 index 000000000..45948cb4f --- /dev/null +++ b/assets/hbm/models/Ring.obj @@ -0,0 +1,806 @@ +# Blender v2.76 (sub 0) OBJ File: 'Ring.blend' +# www.blender.org +o Circle_Circle.001 +v 0.000000 0.000000 -1.000000 +v -0.195090 0.000000 -0.980785 +v -0.382683 0.000000 -0.923880 +v -0.555570 0.000000 -0.831470 +v -0.707107 0.000000 -0.707107 +v -0.831470 0.000000 -0.555570 +v -0.923880 0.000000 -0.382683 +v -0.980785 0.000000 -0.195090 +v -1.000000 0.000000 -0.000000 +v -0.980785 0.000000 0.195090 +v -0.923880 0.000000 0.382683 +v -0.831470 0.000000 0.555570 +v -0.707107 0.000000 0.707107 +v -0.555570 0.000000 0.831470 +v -0.382683 0.000000 0.923880 +v -0.195090 0.000000 0.980785 +v 0.000000 0.000000 1.000000 +v 0.195091 0.000000 0.980785 +v 0.382684 0.000000 0.923879 +v 0.555571 0.000000 0.831469 +v 0.707107 0.000000 0.707106 +v 0.831470 0.000000 0.555570 +v 0.923880 0.000000 0.382683 +v 0.980785 0.000000 0.195089 +v 1.000000 0.000000 -0.000001 +v 0.980785 0.000000 -0.195091 +v 0.923879 0.000000 -0.382684 +v 0.831469 0.000000 -0.555571 +v 0.707106 0.000000 -0.707108 +v 0.555569 0.000000 -0.831470 +v 0.382682 0.000000 -0.923880 +v 0.195089 0.000000 -0.980786 +v 0.000000 0.000000 -0.900000 +v -0.175581 0.000000 -0.882707 +v -0.344415 0.000000 -0.831492 +v -0.500013 0.000000 -0.748323 +v -0.636396 0.000000 -0.636396 +v -0.748323 0.000000 -0.500013 +v -0.831492 0.000000 -0.344415 +v -0.882707 0.000000 -0.175581 +v -0.900000 0.000000 -0.000000 +v -0.882707 0.000000 0.175581 +v -0.831492 0.000000 0.344415 +v -0.748323 0.000000 0.500013 +v -0.636396 0.000000 0.636396 +v -0.500013 0.000000 0.748323 +v -0.344415 0.000000 0.831492 +v -0.175581 0.000000 0.882707 +v 0.000000 0.000000 0.900000 +v 0.175582 0.000000 0.882707 +v 0.344415 0.000000 0.831491 +v 0.500014 0.000000 0.748322 +v 0.636397 0.000000 0.636396 +v 0.748323 0.000000 0.500013 +v 0.831492 0.000000 0.344414 +v 0.882707 0.000000 0.175581 +v 0.900000 0.000000 -0.000001 +v 0.882707 0.000000 -0.175582 +v 0.831491 0.000000 -0.344416 +v 0.748322 0.000000 -0.500014 +v 0.636395 0.000000 -0.636397 +v 0.500012 0.000000 -0.748323 +v 0.344414 0.000000 -0.831492 +v 0.175580 0.000000 -0.882707 +v 0.000000 0.100000 -1.000000 +v -0.195090 0.100000 -0.980785 +v -0.382683 0.100000 -0.923880 +v -0.555570 0.100000 -0.831470 +v -0.707107 0.100000 -0.707107 +v -0.831470 0.100000 -0.555570 +v -0.923880 0.100000 -0.382683 +v -0.980785 0.100000 -0.195090 +v -1.000000 0.100000 -0.000000 +v -0.980785 0.100000 0.195090 +v -0.923880 0.100000 0.382683 +v -0.831470 0.100000 0.555570 +v -0.707107 0.100000 0.707107 +v -0.555570 0.100000 0.831470 +v -0.382683 0.100000 0.923880 +v -0.195090 0.100000 0.980785 +v 0.000000 0.100000 1.000000 +v 0.195091 0.100000 0.980785 +v 0.382684 0.100000 0.923879 +v 0.555571 0.100000 0.831469 +v 0.707107 0.100000 0.707106 +v 0.831470 0.100000 0.555570 +v 0.923880 0.100000 0.382683 +v 0.980785 0.100000 0.195089 +v 1.000000 0.100000 -0.000001 +v 0.980785 0.100000 -0.195091 +v 0.923879 0.100000 -0.382684 +v 0.831469 0.100000 -0.555571 +v 0.707106 0.100000 -0.707108 +v 0.555569 0.100000 -0.831470 +v 0.382682 0.100000 -0.923880 +v 0.195089 0.100000 -0.980786 +v 0.000000 0.100000 -0.900000 +v -0.175581 0.100000 -0.882707 +v -0.344415 0.100000 -0.831492 +v -0.500013 0.100000 -0.748323 +v -0.636396 0.100000 -0.636396 +v -0.748323 0.100000 -0.500013 +v -0.831492 0.100000 -0.344415 +v -0.882707 0.100000 -0.175581 +v -0.900000 0.100000 -0.000000 +v -0.882707 0.100000 0.175581 +v -0.831492 0.100000 0.344415 +v -0.748323 0.100000 0.500013 +v -0.636396 0.100000 0.636396 +v -0.500013 0.100000 0.748323 +v -0.344415 0.100000 0.831492 +v -0.175581 0.100000 0.882707 +v 0.000000 0.100000 0.900000 +v 0.175582 0.100000 0.882707 +v 0.344415 0.100000 0.831491 +v 0.500014 0.100000 0.748322 +v 0.636397 0.100000 0.636396 +v 0.748323 0.100000 0.500013 +v 0.831492 0.100000 0.344414 +v 0.882707 0.100000 0.175581 +v 0.900000 0.100000 -0.000001 +v 0.882707 0.100000 -0.175582 +v 0.831491 0.100000 -0.344416 +v 0.748322 0.100000 -0.500014 +v 0.636395 0.100000 -0.636397 +v 0.500012 0.100000 -0.748323 +v 0.344414 0.100000 -0.831492 +v 0.175580 0.100000 -0.882707 +vt 0.199619 0.056442 +vt 0.150889 0.080345 +vt 0.129815 0.061495 +vt 0.109447 0.110768 +vt 0.076886 0.146541 +vt 0.047590 0.135046 +vt 0.054458 0.186291 +vt 0.022670 0.179212 +vt 0.043024 0.228488 +vt 0.009966 0.226098 +vt 0.043024 0.271512 +vt 0.054458 0.313710 +vt 0.022670 0.320789 +vt 0.076886 0.353459 +vt 0.047590 0.364954 +vt 0.109447 0.389232 +vt 0.083769 0.404702 +vt 0.150889 0.419655 +vt 0.129815 0.438505 +vt 0.199620 0.443558 +vt 0.253766 0.460022 +vt 0.244123 0.483358 +vt 0.311248 0.468416 +vt 0.307992 0.492684 +vt 0.369855 0.468416 +vt 0.427337 0.460022 +vt 0.436980 0.483358 +vt 0.481483 0.443558 +vt 0.497142 0.465064 +vt 0.530213 0.419655 +vt 0.551287 0.438505 +vt 0.571655 0.389232 +vt 0.597334 0.404702 +vt 0.604216 0.353459 +vt 0.633512 0.364954 +vt 0.626644 0.313710 +vt 0.658432 0.320788 +vt 0.638078 0.271512 +vt 0.671137 0.273902 +vt 0.638078 0.228488 +vt 0.671137 0.226098 +vt 0.626644 0.186290 +vt 0.658432 0.179212 +vt 0.604216 0.146541 +vt 0.571655 0.110768 +vt 0.597334 0.095298 +vt 0.530214 0.080345 +vt 0.551287 0.061495 +vt 0.481483 0.056442 +vt 0.427337 0.039978 +vt 0.436979 0.016642 +vt 0.369855 0.031584 +vt 0.373111 0.007316 +vt 0.311247 0.031584 +vt 0.253766 0.039978 +vt 0.244123 0.016642 +vt 0.129815 0.561495 +vt 0.150889 0.580345 +vt 0.199619 0.556442 +vt 0.083768 0.595298 +vt 0.109447 0.610768 +vt 0.047590 0.635046 +vt 0.076886 0.646541 +vt 0.022670 0.679212 +vt 0.054458 0.686291 +vt 0.009966 0.726098 +vt 0.043024 0.728488 +vt 0.009966 0.773903 +vt 0.043024 0.771512 +vt 0.022670 0.820789 +vt 0.054458 0.813710 +vt 0.047590 0.864954 +vt 0.076886 0.853459 +vt 0.083769 0.904702 +vt 0.109447 0.889232 +vt 0.129815 0.938505 +vt 0.150889 0.919655 +vt 0.183960 0.965064 +vt 0.199620 0.943558 +vt 0.244123 0.983358 +vt 0.253766 0.960022 +vt 0.307992 0.992684 +vt 0.311248 0.968416 +vt 0.373111 0.992684 +vt 0.369855 0.968416 +vt 0.436980 0.983358 +vt 0.427337 0.960022 +vt 0.497142 0.965064 +vt 0.481483 0.943558 +vt 0.551287 0.938505 +vt 0.530213 0.919655 +vt 0.597334 0.904702 +vt 0.571655 0.889232 +vt 0.633512 0.864954 +vt 0.604216 0.853459 +vt 0.658432 0.820788 +vt 0.626644 0.813710 +vt 0.671137 0.773902 +vt 0.638078 0.771512 +vt 0.671137 0.726098 +vt 0.638078 0.728488 +vt 0.658432 0.679212 +vt 0.626644 0.686290 +vt 0.633512 0.635046 +vt 0.604216 0.646541 +vt 0.597334 0.595298 +vt 0.571655 0.610768 +vt 0.551287 0.561495 +vt 0.530214 0.580345 +vt 0.497142 0.534936 +vt 0.481483 0.556442 +vt 0.436979 0.516642 +vt 0.427337 0.539978 +vt 0.373111 0.507316 +vt 0.369855 0.531584 +vt 0.307991 0.507316 +vt 0.311247 0.531584 +vt 0.244123 0.516642 +vt 0.253766 0.539978 +vt 0.183960 0.534936 +vt 0.691068 0.257060 +vt 0.724286 0.257060 +vt 0.724286 0.304865 +vt 0.830585 0.492173 +vt 0.797367 0.492173 +vt 0.797367 0.444369 +vt 0.777436 0.179993 +vt 0.744217 0.179993 +vt 0.744217 0.132188 +vt 0.724286 0.179993 +vt 0.691068 0.179993 +vt 0.691068 0.132188 +vt 0.724286 0.429737 +vt 0.691068 0.429737 +vt 0.691068 0.381933 +vt 0.883735 0.117556 +vt 0.850517 0.117556 +vt 0.850517 0.069752 +vt 0.724286 0.617046 +vt 0.691068 0.617046 +vt 0.691068 0.569241 +vt 0.830585 0.554610 +vt 0.797367 0.554610 +vt 0.797367 0.506805 +vt 0.883735 0.055120 +vt 0.850517 0.055120 +vt 0.850517 0.007316 +vt 0.830585 0.429737 +vt 0.797367 0.429737 +vt 0.797367 0.381933 +vt 0.691068 0.506805 +vt 0.724286 0.506805 +vt 0.724286 0.554610 +vt 0.830586 0.117557 +vt 0.797367 0.117557 +vt 0.797367 0.069752 +vt 0.777436 0.429737 +vt 0.744217 0.429737 +vt 0.744217 0.381933 +vt 0.777436 0.617046 +vt 0.744217 0.617046 +vt 0.744217 0.569241 +vt 0.744217 0.506805 +vt 0.777436 0.506805 +vt 0.777436 0.554610 +vt 0.830585 0.617046 +vt 0.797367 0.617046 +vt 0.797367 0.569241 +vt 0.777436 0.117557 +vt 0.744217 0.117557 +vt 0.744217 0.069752 +vt 0.724286 0.492174 +vt 0.691068 0.492174 +vt 0.691068 0.444369 +vt 0.724286 0.055120 +vt 0.691068 0.055120 +vt 0.691068 0.007316 +vt 0.724286 0.242429 +vt 0.691068 0.242429 +vt 0.691068 0.194624 +vt 0.744217 0.257060 +vt 0.777436 0.257060 +vt 0.777436 0.304865 +vt 0.830585 0.055120 +vt 0.797367 0.055120 +vt 0.797367 0.007316 +vt 0.830585 0.179993 +vt 0.797367 0.179993 +vt 0.797367 0.132188 +vt 0.830585 0.304865 +vt 0.797367 0.304865 +vt 0.797367 0.257060 +vt 0.744217 0.007316 +vt 0.777436 0.007316 +vt 0.777436 0.055120 +vt 0.777436 0.242429 +vt 0.744217 0.242429 +vt 0.744217 0.194624 +vt 0.777436 0.367301 +vt 0.744217 0.367301 +vt 0.744217 0.319497 +vt 0.724286 0.117557 +vt 0.691068 0.117557 +vt 0.691068 0.069752 +vt 0.830585 0.242429 +vt 0.797367 0.242429 +vt 0.797367 0.194624 +vt 0.744217 0.444369 +vt 0.777436 0.444369 +vt 0.777436 0.492174 +vt 0.797367 0.319497 +vt 0.830585 0.319497 +vt 0.830585 0.367301 +vt 0.724286 0.367301 +vt 0.691068 0.367301 +vt 0.691068 0.319497 +vt 0.956816 0.348179 +vt 0.956816 0.305155 +vt 0.990034 0.305155 +vt 0.990034 0.247499 +vt 0.990034 0.290524 +vt 0.956816 0.290524 +vt 0.936885 0.651089 +vt 0.936885 0.694113 +vt 0.903666 0.694113 +vt 0.990034 0.007316 +vt 0.990034 0.050340 +vt 0.956816 0.050340 +vt 0.883735 0.362811 +vt 0.883735 0.405835 +vt 0.850517 0.405835 +vt 0.903666 0.348179 +vt 0.903666 0.305155 +vt 0.936885 0.305155 +vt 0.936885 0.478122 +vt 0.936885 0.521146 +vt 0.903666 0.521146 +vt 0.956816 0.405835 +vt 0.956816 0.362811 +vt 0.990034 0.362811 +vt 0.883735 0.535778 +vt 0.883735 0.578802 +vt 0.850517 0.578802 +vt 0.850517 0.348179 +vt 0.850517 0.305155 +vt 0.883735 0.305155 +vt 0.850517 0.290524 +vt 0.850517 0.247499 +vt 0.883735 0.247499 +vt 0.903666 0.405835 +vt 0.903666 0.362811 +vt 0.936885 0.362811 +vt 0.850517 0.463491 +vt 0.850517 0.420467 +vt 0.883735 0.420467 +vt 0.883735 0.651089 +vt 0.883735 0.694113 +vt 0.850517 0.694113 +vt 0.903666 0.232868 +vt 0.903666 0.189844 +vt 0.936885 0.189844 +vt 0.903666 0.050340 +vt 0.903666 0.007316 +vt 0.936885 0.007316 +vt 0.903666 0.175212 +vt 0.903666 0.132188 +vt 0.936885 0.132188 +vt 0.850517 0.636458 +vt 0.850517 0.593434 +vt 0.883735 0.593434 +vt 0.850517 0.521146 +vt 0.850517 0.478122 +vt 0.883735 0.478122 +vt 0.691068 0.674702 +vt 0.691068 0.631677 +vt 0.724286 0.631677 +vt 0.990034 0.064971 +vt 0.990034 0.107996 +vt 0.956816 0.107996 +vt 0.883735 0.132188 +vt 0.883735 0.175212 +vt 0.850517 0.175212 +vt 0.903666 0.290524 +vt 0.903666 0.247499 +vt 0.936885 0.247499 +vt 0.903666 0.463491 +vt 0.903666 0.420467 +vt 0.936885 0.420467 +vt 0.903666 0.112776 +vt 0.903666 0.069752 +vt 0.936885 0.069752 +vt 0.850517 0.232868 +vt 0.850517 0.189844 +vt 0.883735 0.189844 +vt 0.744217 0.674701 +vt 0.744217 0.631677 +vt 0.777436 0.631677 +vt 0.903666 0.636458 +vt 0.903666 0.593434 +vt 0.936885 0.593434 +vt 0.830585 0.631677 +vt 0.830586 0.674701 +vt 0.797367 0.674701 +vt 0.903666 0.578802 +vt 0.903666 0.535778 +vt 0.936885 0.535778 +vt 0.956816 0.232868 +vt 0.956816 0.189844 +vt 0.990034 0.189844 +vt 0.990034 0.132188 +vt 0.990034 0.175212 +vt 0.956816 0.175212 +vt 0.183960 0.034936 +vt 0.083768 0.095298 +vt 0.009966 0.273903 +vt 0.183960 0.465064 +vt 0.373111 0.492684 +vt 0.633512 0.135046 +vt 0.497142 0.034936 +vt 0.307991 0.007316 +vt 0.691068 0.304865 +vt 0.830585 0.444369 +vt 0.777436 0.132188 +vt 0.724286 0.132188 +vt 0.724286 0.381933 +vt 0.883735 0.069752 +vt 0.724286 0.569241 +vt 0.830585 0.506805 +vt 0.883735 0.007316 +vt 0.830585 0.381933 +vt 0.691068 0.554610 +vt 0.830586 0.069752 +vt 0.777436 0.381933 +vt 0.777436 0.569241 +vt 0.744217 0.554610 +vt 0.830585 0.569241 +vt 0.777436 0.069752 +vt 0.724286 0.444369 +vt 0.724286 0.007316 +vt 0.724286 0.194624 +vt 0.744217 0.304865 +vt 0.830585 0.007316 +vt 0.830585 0.132188 +vt 0.830585 0.257060 +vt 0.744217 0.055120 +vt 0.777436 0.194624 +vt 0.777436 0.319497 +vt 0.724286 0.069752 +vt 0.830585 0.194624 +vt 0.744217 0.492174 +vt 0.797367 0.367301 +vt 0.724286 0.319497 +vt 0.990034 0.348179 +vt 0.956816 0.247499 +vt 0.903666 0.651089 +vt 0.956816 0.007316 +vt 0.850517 0.362811 +vt 0.936885 0.348179 +vt 0.903666 0.478122 +vt 0.990034 0.405835 +vt 0.850517 0.535778 +vt 0.883735 0.348179 +vt 0.883735 0.290524 +vt 0.936885 0.405835 +vt 0.883735 0.463491 +vt 0.850517 0.651089 +vt 0.936885 0.232868 +vt 0.936885 0.050340 +vt 0.936885 0.175212 +vt 0.883735 0.636458 +vt 0.883735 0.521146 +vt 0.724286 0.674702 +vt 0.956816 0.064971 +vt 0.850517 0.132188 +vt 0.936885 0.290524 +vt 0.936885 0.463491 +vt 0.936885 0.112776 +vt 0.883735 0.232868 +vt 0.777436 0.674701 +vt 0.936885 0.636458 +vt 0.797367 0.631677 +vt 0.936885 0.578802 +vt 0.990034 0.232868 +vt 0.956816 0.132188 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 1.000000 0.000000 +vn 0.881900 0.000000 -0.471400 +vn 0.773000 0.000000 -0.634400 +vn 0.634400 0.000000 -0.773000 +vn 0.471400 0.000000 -0.881900 +vn 0.290300 0.000000 -0.956900 +vn 0.098000 0.000000 -0.995200 +vn -0.098000 0.000000 -0.995200 +vn -0.290300 0.000000 -0.956900 +vn -0.471400 0.000000 -0.881900 +vn -0.634400 0.000000 -0.773000 +vn -0.773000 0.000000 -0.634400 +vn -0.881900 0.000000 -0.471400 +vn -0.956900 0.000000 -0.290300 +vn -0.995200 0.000000 -0.098000 +vn -0.995200 0.000000 0.098000 +vn -0.956900 0.000000 0.290300 +vn -0.881900 0.000000 0.471400 +vn -0.773000 0.000000 0.634400 +vn -0.634400 0.000000 0.773000 +vn -0.471400 0.000000 0.881900 +vn -0.290300 0.000000 0.956900 +vn -0.098000 0.000000 0.995200 +vn 0.098000 0.000000 0.995200 +vn 0.290300 0.000000 0.956900 +vn 0.471400 0.000000 0.881900 +vn 0.634400 0.000000 0.773000 +vn 0.773000 0.000000 0.634400 +vn 0.881900 0.000000 0.471400 +vn 0.956900 0.000000 0.290300 +vn 0.995200 0.000000 0.098000 +vn 0.995200 0.000000 -0.098000 +vn 0.956900 0.000000 -0.290300 +s off +f 49/1/1 50/2/1 18/3/1 +f 18/3/1 50/2/1 51/4/1 +f 51/4/1 52/5/1 20/6/1 +f 52/5/1 53/7/1 21/8/1 +f 53/7/1 54/9/1 22/10/1 +f 22/10/1 54/9/1 55/11/1 +f 55/11/1 56/12/1 24/13/1 +f 56/12/1 57/14/1 25/15/1 +f 57/14/1 58/16/1 26/17/1 +f 26/17/1 58/16/1 59/18/1 +f 27/19/1 59/18/1 60/20/1 +f 60/20/1 61/21/1 29/22/1 +f 61/21/1 62/23/1 30/24/1 +f 30/24/1 62/23/1 63/25/1 +f 63/25/1 64/26/1 32/27/1 +f 64/26/1 33/28/1 1/29/1 +f 33/28/1 34/30/1 2/31/1 +f 34/30/1 35/32/1 3/33/1 +f 35/32/1 36/34/1 4/35/1 +f 36/34/1 37/36/1 5/37/1 +f 37/36/1 38/38/1 6/39/1 +f 38/38/1 39/40/1 7/41/1 +f 39/40/1 40/42/1 8/43/1 +f 8/43/1 40/42/1 41/44/1 +f 41/44/1 42/45/1 10/46/1 +f 42/45/1 43/47/1 11/48/1 +f 11/48/1 43/47/1 44/49/1 +f 44/49/1 45/50/1 13/51/1 +f 45/50/1 46/52/1 14/53/1 +f 14/53/1 46/52/1 47/54/1 +f 47/54/1 48/55/1 16/56/1 +f 16/56/1 48/55/1 49/1/1 +f 82/57/2 114/58/2 113/59/2 +f 82/57/2 83/60/2 115/61/2 +f 84/62/2 116/63/2 115/61/2 +f 85/64/2 117/65/2 116/63/2 +f 86/66/2 118/67/2 117/65/2 +f 86/66/2 87/68/2 119/69/2 +f 88/70/2 120/71/2 119/69/2 +f 89/72/2 121/73/2 120/71/2 +f 90/74/2 122/75/2 121/73/2 +f 90/74/2 91/76/2 123/77/2 +f 92/78/2 124/79/2 123/77/2 +f 93/80/2 125/81/2 124/79/2 +f 94/82/2 126/83/2 125/81/2 +f 94/82/2 95/84/2 127/85/2 +f 96/86/2 128/87/2 127/85/2 +f 65/88/2 97/89/2 128/87/2 +f 66/90/2 98/91/2 97/89/2 +f 67/92/2 99/93/2 98/91/2 +f 68/94/2 100/95/2 99/93/2 +f 69/96/2 101/97/2 100/95/2 +f 69/96/2 70/98/2 102/99/2 +f 71/100/2 103/101/2 102/99/2 +f 72/102/2 104/103/2 103/101/2 +f 72/102/2 73/104/2 105/105/2 +f 73/104/2 74/106/2 106/107/2 +f 75/108/2 107/109/2 106/107/2 +f 76/110/2 108/111/2 107/109/2 +f 77/112/2 109/113/2 108/111/2 +f 77/112/2 78/114/2 110/115/2 +f 78/114/2 79/116/2 111/117/2 +f 80/118/2 112/119/2 111/117/2 +f 81/120/2 113/59/2 112/119/2 +f 28/121/3 92/122/3 91/123/3 +f 29/124/4 93/125/4 92/126/4 +f 30/127/5 94/128/5 93/129/5 +f 31/130/6 95/131/6 94/132/6 +f 32/133/7 96/134/7 95/135/7 +f 1/136/8 65/137/8 96/138/8 +f 2/139/9 66/140/9 65/141/9 +f 3/142/10 67/143/10 66/144/10 +f 4/145/11 68/146/11 67/147/11 +f 5/148/12 69/149/12 68/150/12 +f 6/151/13 70/152/13 69/153/13 +f 7/154/14 71/155/14 70/156/14 +f 8/157/15 72/158/15 71/159/15 +f 9/160/16 73/161/16 72/162/16 +f 10/163/17 74/164/17 73/165/17 +f 11/166/18 75/167/18 74/168/18 +f 12/169/19 76/170/19 75/171/19 +f 13/172/20 77/173/20 76/174/20 +f 14/175/21 78/176/21 77/177/21 +f 15/178/22 79/179/22 78/180/22 +f 16/181/23 80/182/23 79/183/23 +f 17/184/24 81/185/24 80/186/24 +f 18/187/25 82/188/25 81/189/25 +f 19/190/26 83/191/26 82/192/26 +f 20/193/27 84/194/27 83/195/27 +f 21/196/28 85/197/28 84/198/28 +f 22/199/29 86/200/29 85/201/29 +f 23/202/30 87/203/30 86/204/30 +f 24/205/31 88/206/31 87/207/31 +f 25/208/32 89/209/32 88/210/32 +f 26/211/33 90/212/33 89/213/33 +f 27/214/34 91/215/34 90/216/34 +f 103/217/31 104/218/31 40/219/31 +f 102/220/30 103/221/30 39/222/30 +f 101/223/29 102/224/29 38/225/29 +f 100/226/28 101/227/28 37/228/28 +f 99/229/27 100/230/27 36/231/27 +f 98/232/26 99/233/26 35/234/26 +f 97/235/25 98/236/25 34/237/25 +f 128/238/24 97/239/24 33/240/24 +f 127/241/23 128/242/23 64/243/23 +f 126/244/22 127/245/22 63/246/22 +f 125/247/21 126/248/21 62/249/21 +f 124/250/20 125/251/20 61/252/20 +f 123/253/19 124/254/19 60/255/19 +f 122/256/18 123/257/18 59/258/18 +f 121/259/17 122/260/17 58/261/17 +f 120/262/16 121/263/16 57/264/16 +f 119/265/15 120/266/15 56/267/15 +f 118/268/14 119/269/14 55/270/14 +f 117/271/13 118/272/13 54/273/13 +f 116/274/12 117/275/12 53/276/12 +f 115/277/11 116/278/11 52/279/11 +f 114/280/10 115/281/10 51/282/10 +f 113/283/9 114/284/9 50/285/9 +f 112/286/8 113/287/8 49/288/8 +f 111/289/7 112/290/7 48/291/7 +f 110/292/6 111/293/6 47/294/6 +f 109/295/5 110/296/5 46/297/5 +f 108/298/4 109/299/4 45/300/4 +f 107/301/3 108/302/3 44/303/3 +f 106/304/34 107/305/34 43/306/34 +f 105/307/33 106/308/33 42/309/33 +f 104/310/32 105/311/32 41/312/32 +f 17/313/1 49/1/1 18/3/1 +f 19/314/1 18/3/1 51/4/1 +f 19/314/1 51/4/1 20/6/1 +f 20/6/1 52/5/1 21/8/1 +f 21/8/1 53/7/1 22/10/1 +f 23/315/1 22/10/1 55/11/1 +f 23/315/1 55/11/1 24/13/1 +f 24/13/1 56/12/1 25/15/1 +f 25/15/1 57/14/1 26/17/1 +f 27/19/1 26/17/1 59/18/1 +f 28/316/1 27/19/1 60/20/1 +f 28/316/1 60/20/1 29/22/1 +f 29/22/1 61/21/1 30/24/1 +f 31/317/1 30/24/1 63/25/1 +f 31/317/1 63/25/1 32/27/1 +f 32/27/1 64/26/1 1/29/1 +f 1/29/1 33/28/1 2/31/1 +f 2/31/1 34/30/1 3/33/1 +f 3/33/1 35/32/1 4/35/1 +f 4/35/1 36/34/1 5/37/1 +f 5/37/1 37/36/1 6/39/1 +f 6/39/1 38/38/1 7/41/1 +f 7/41/1 39/40/1 8/43/1 +f 9/318/1 8/43/1 41/44/1 +f 9/318/1 41/44/1 10/46/1 +f 10/46/1 42/45/1 11/48/1 +f 12/319/1 11/48/1 44/49/1 +f 12/319/1 44/49/1 13/51/1 +f 13/51/1 45/50/1 14/53/1 +f 15/320/1 14/53/1 47/54/1 +f 15/320/1 47/54/1 16/56/1 +f 17/313/1 16/56/1 49/1/1 +f 81/120/2 82/57/2 113/59/2 +f 114/58/2 82/57/2 115/61/2 +f 83/60/2 84/62/2 115/61/2 +f 84/62/2 85/64/2 116/63/2 +f 85/64/2 86/66/2 117/65/2 +f 118/67/2 86/66/2 119/69/2 +f 87/68/2 88/70/2 119/69/2 +f 88/70/2 89/72/2 120/71/2 +f 89/72/2 90/74/2 121/73/2 +f 122/75/2 90/74/2 123/77/2 +f 91/76/2 92/78/2 123/77/2 +f 92/78/2 93/80/2 124/79/2 +f 93/80/2 94/82/2 125/81/2 +f 126/83/2 94/82/2 127/85/2 +f 95/84/2 96/86/2 127/85/2 +f 96/86/2 65/88/2 128/87/2 +f 65/88/2 66/90/2 97/89/2 +f 66/90/2 67/92/2 98/91/2 +f 67/92/2 68/94/2 99/93/2 +f 68/94/2 69/96/2 100/95/2 +f 101/97/2 69/96/2 102/99/2 +f 70/98/2 71/100/2 102/99/2 +f 71/100/2 72/102/2 103/101/2 +f 104/103/2 72/102/2 105/105/2 +f 105/105/2 73/104/2 106/107/2 +f 74/106/2 75/108/2 106/107/2 +f 75/108/2 76/110/2 107/109/2 +f 76/110/2 77/112/2 108/111/2 +f 109/113/2 77/112/2 110/115/2 +f 110/115/2 78/114/2 111/117/2 +f 79/116/2 80/118/2 111/117/2 +f 80/118/2 81/120/2 112/119/2 +f 27/321/3 28/121/3 91/123/3 +f 28/322/4 29/124/4 92/126/4 +f 29/323/5 30/127/5 93/129/5 +f 30/324/6 31/130/6 94/132/6 +f 31/325/7 32/133/7 95/135/7 +f 32/326/8 1/136/8 96/138/8 +f 1/327/9 2/139/9 65/141/9 +f 2/328/10 3/142/10 66/144/10 +f 3/329/11 4/145/11 67/147/11 +f 4/330/12 5/148/12 68/150/12 +f 5/331/13 6/151/13 69/153/13 +f 6/332/14 7/154/14 70/156/14 +f 7/333/15 8/157/15 71/159/15 +f 8/334/16 9/160/16 72/162/16 +f 9/335/17 10/163/17 73/165/17 +f 10/336/18 11/166/18 74/168/18 +f 11/337/19 12/169/19 75/171/19 +f 12/338/20 13/172/20 76/174/20 +f 13/339/21 14/175/21 77/177/21 +f 14/340/22 15/178/22 78/180/22 +f 15/341/23 16/181/23 79/183/23 +f 16/342/24 17/184/24 80/186/24 +f 17/343/25 18/187/25 81/189/25 +f 18/344/26 19/190/26 82/192/26 +f 19/345/27 20/193/27 83/195/27 +f 20/346/28 21/196/28 84/198/28 +f 21/347/29 22/199/29 85/201/29 +f 22/348/30 23/202/30 86/204/30 +f 23/349/31 24/205/31 87/207/31 +f 24/350/32 25/208/32 88/210/32 +f 25/351/33 26/211/33 89/213/33 +f 26/352/34 27/214/34 90/216/34 +f 39/353/31 103/217/31 40/219/31 +f 38/354/30 102/220/30 39/222/30 +f 37/355/29 101/223/29 38/225/29 +f 36/356/28 100/226/28 37/228/28 +f 35/357/27 99/229/27 36/231/27 +f 34/358/26 98/232/26 35/234/26 +f 33/359/25 97/235/25 34/237/25 +f 64/360/24 128/238/24 33/240/24 +f 63/361/23 127/241/23 64/243/23 +f 62/362/22 126/244/22 63/246/22 +f 61/363/21 125/247/21 62/249/21 +f 60/364/20 124/250/20 61/252/20 +f 59/365/19 123/253/19 60/255/19 +f 58/366/18 122/256/18 59/258/18 +f 57/367/17 121/259/17 58/261/17 +f 56/368/16 120/262/16 57/264/16 +f 55/369/15 119/265/15 56/267/15 +f 54/370/14 118/268/14 55/270/14 +f 53/371/13 117/271/13 54/273/13 +f 52/372/12 116/274/12 53/276/12 +f 51/373/11 115/277/11 52/279/11 +f 50/374/10 114/280/10 51/282/10 +f 49/375/9 113/283/9 50/285/9 +f 48/376/8 112/286/8 49/288/8 +f 47/377/7 111/289/7 48/291/7 +f 46/378/6 110/292/6 47/294/6 +f 45/379/5 109/295/5 46/297/5 +f 44/380/4 108/298/4 45/300/4 +f 43/381/3 107/301/3 44/303/3 +f 42/382/34 106/304/34 43/306/34 +f 41/383/33 105/307/33 42/309/33 +f 40/384/32 104/310/32 41/312/32 diff --git a/assets/hbm/models/RingBig.obj b/assets/hbm/models/RingBig.obj new file mode 100644 index 000000000..dd4c3b451 --- /dev/null +++ b/assets/hbm/models/RingBig.obj @@ -0,0 +1,806 @@ +# Blender v2.76 (sub 0) OBJ File: 'RingBig.blend' +# www.blender.org +o Circle_Circle.001 +v 0.000000 0.000000 -1.000000 +v -0.195090 0.000000 -0.980785 +v -0.382683 0.000000 -0.923880 +v -0.555570 0.000000 -0.831470 +v -0.707107 0.000000 -0.707107 +v -0.831470 0.000000 -0.555570 +v -0.923880 0.000000 -0.382683 +v -0.980785 0.000000 -0.195090 +v -1.000000 0.000000 -0.000000 +v -0.980785 0.000000 0.195090 +v -0.923880 0.000000 0.382683 +v -0.831470 0.000000 0.555570 +v -0.707107 0.000000 0.707107 +v -0.555570 0.000000 0.831470 +v -0.382683 0.000000 0.923880 +v -0.195090 0.000000 0.980785 +v 0.000000 0.000000 1.000000 +v 0.195091 0.000000 0.980785 +v 0.382684 0.000000 0.923879 +v 0.555571 0.000000 0.831469 +v 0.707107 0.000000 0.707106 +v 0.831470 0.000000 0.555570 +v 0.923880 0.000000 0.382683 +v 0.980785 0.000000 0.195089 +v 1.000000 0.000000 -0.000001 +v 0.980785 0.000000 -0.195091 +v 0.923879 0.000000 -0.382684 +v 0.831469 0.000000 -0.555571 +v 0.707106 0.000000 -0.707108 +v 0.555569 0.000000 -0.831470 +v 0.382682 0.000000 -0.923880 +v 0.195089 0.000000 -0.980786 +v -0.000000 0.000000 -0.450000 +v -0.087791 0.000000 -0.441353 +v -0.172208 0.000000 -0.415746 +v -0.250007 0.000000 -0.374161 +v -0.318198 0.000000 -0.318198 +v -0.374161 0.000000 -0.250007 +v -0.415746 0.000000 -0.172208 +v -0.441353 0.000000 -0.087791 +v -0.450000 0.000000 -0.000000 +v -0.441353 0.000000 0.087790 +v -0.415746 0.000000 0.172207 +v -0.374161 0.000000 0.250006 +v -0.318198 0.000000 0.318198 +v -0.250007 0.000000 0.374161 +v -0.172208 0.000000 0.415746 +v -0.087791 0.000000 0.441353 +v 0.000000 0.000000 0.450000 +v 0.087791 0.000000 0.441353 +v 0.172208 0.000000 0.415746 +v 0.250007 0.000000 0.374161 +v 0.318198 0.000000 0.318198 +v 0.374161 0.000000 0.250006 +v 0.415746 0.000000 0.172207 +v 0.441353 0.000000 0.087790 +v 0.450000 0.000000 -0.000001 +v 0.441353 0.000000 -0.087791 +v 0.415746 0.000000 -0.172208 +v 0.374161 0.000000 -0.250007 +v 0.318198 0.000000 -0.318199 +v 0.250006 0.000000 -0.374162 +v 0.172207 0.000000 -0.415746 +v 0.087790 0.000000 -0.441354 +v 0.000000 0.200000 -1.000000 +v -0.195090 0.200000 -0.980785 +v -0.382683 0.200000 -0.923880 +v -0.555570 0.200000 -0.831470 +v -0.707107 0.200000 -0.707107 +v -0.831470 0.200000 -0.555570 +v -0.923880 0.200000 -0.382683 +v -0.980785 0.200000 -0.195090 +v -1.000000 0.200000 -0.000000 +v -0.980785 0.200000 0.195090 +v -0.923880 0.200000 0.382683 +v -0.831470 0.200000 0.555570 +v -0.707107 0.200000 0.707107 +v -0.555570 0.200000 0.831470 +v -0.382683 0.200000 0.923880 +v -0.195090 0.200000 0.980785 +v 0.000000 0.200000 1.000000 +v 0.195091 0.200000 0.980785 +v 0.382684 0.200000 0.923879 +v 0.555571 0.200000 0.831469 +v 0.707107 0.200000 0.707106 +v 0.831470 0.200000 0.555570 +v 0.923880 0.200000 0.382683 +v 0.980785 0.200000 0.195089 +v 1.000000 0.200000 -0.000001 +v 0.980785 0.200000 -0.195091 +v 0.923879 0.200000 -0.382684 +v 0.831469 0.200000 -0.555571 +v 0.707106 0.200000 -0.707108 +v 0.555569 0.200000 -0.831470 +v 0.382682 0.200000 -0.923880 +v 0.195089 0.200000 -0.980786 +v -0.000000 0.200000 -0.450000 +v -0.087791 0.200000 -0.441353 +v -0.172208 0.200000 -0.415746 +v -0.250007 0.200000 -0.374161 +v -0.318198 0.200000 -0.318198 +v -0.374161 0.200000 -0.250007 +v -0.415746 0.200000 -0.172208 +v -0.441353 0.200000 -0.087791 +v -0.450000 0.200000 -0.000000 +v -0.441353 0.200000 0.087790 +v -0.415746 0.200000 0.172207 +v -0.374161 0.200000 0.250006 +v -0.318198 0.200000 0.318198 +v -0.250007 0.200000 0.374161 +v -0.172208 0.200000 0.415746 +v -0.087791 0.200000 0.441353 +v 0.000000 0.200000 0.450000 +v 0.087791 0.200000 0.441353 +v 0.172208 0.200000 0.415746 +v 0.250007 0.200000 0.374161 +v 0.318198 0.200000 0.318198 +v 0.374161 0.200000 0.250006 +v 0.415746 0.200000 0.172207 +v 0.441353 0.200000 0.087790 +v 0.450000 0.200000 -0.000001 +v 0.441353 0.200000 -0.087791 +v 0.415746 0.200000 -0.172208 +v 0.374161 0.200000 -0.250007 +v 0.318198 0.200000 -0.318199 +v 0.250006 0.200000 -0.374162 +v 0.172207 0.200000 -0.415746 +v 0.087790 0.200000 -0.441354 +vt 0.199619 0.056442 +vt 0.150889 0.080345 +vt 0.129815 0.061495 +vt 0.109447 0.110768 +vt 0.076886 0.146541 +vt 0.047590 0.135046 +vt 0.054458 0.186291 +vt 0.022670 0.179212 +vt 0.043024 0.228488 +vt 0.009966 0.226098 +vt 0.043024 0.271512 +vt 0.054458 0.313710 +vt 0.022670 0.320789 +vt 0.076886 0.353459 +vt 0.047590 0.364954 +vt 0.109447 0.389232 +vt 0.083769 0.404702 +vt 0.150889 0.419655 +vt 0.129815 0.438505 +vt 0.199620 0.443558 +vt 0.183960 0.465064 +vt 0.253766 0.460022 +vt 0.244123 0.483358 +vt 0.311248 0.468416 +vt 0.307992 0.492684 +vt 0.369855 0.468416 +vt 0.427337 0.460022 +vt 0.436980 0.483358 +vt 0.481483 0.443558 +vt 0.530213 0.419655 +vt 0.551287 0.438505 +vt 0.571655 0.389232 +vt 0.597334 0.404702 +vt 0.604216 0.353459 +vt 0.633512 0.364954 +vt 0.626644 0.313710 +vt 0.658432 0.320788 +vt 0.638078 0.271512 +vt 0.671137 0.273902 +vt 0.638078 0.228488 +vt 0.671137 0.226098 +vt 0.626644 0.186290 +vt 0.658432 0.179212 +vt 0.604216 0.146541 +vt 0.571655 0.110768 +vt 0.597334 0.095298 +vt 0.530214 0.080345 +vt 0.551287 0.061495 +vt 0.481483 0.056442 +vt 0.497142 0.034936 +vt 0.427337 0.039978 +vt 0.436979 0.016642 +vt 0.369855 0.031584 +vt 0.311247 0.031584 +vt 0.307991 0.007316 +vt 0.253766 0.039978 +vt 0.244123 0.016642 +vt 0.129815 0.561495 +vt 0.150889 0.580345 +vt 0.199619 0.556442 +vt 0.083768 0.595298 +vt 0.109447 0.610768 +vt 0.047590 0.635046 +vt 0.076886 0.646541 +vt 0.022670 0.679212 +vt 0.054458 0.686291 +vt 0.009966 0.726098 +vt 0.043024 0.728488 +vt 0.009966 0.773903 +vt 0.043024 0.771512 +vt 0.022670 0.820789 +vt 0.054458 0.813710 +vt 0.047590 0.864954 +vt 0.076886 0.853459 +vt 0.083769 0.904702 +vt 0.109447 0.889232 +vt 0.129815 0.938505 +vt 0.150889 0.919655 +vt 0.183960 0.965064 +vt 0.199620 0.943558 +vt 0.244123 0.983358 +vt 0.253766 0.960022 +vt 0.307992 0.992684 +vt 0.311248 0.968416 +vt 0.373111 0.992684 +vt 0.369855 0.968416 +vt 0.436980 0.983358 +vt 0.427337 0.960022 +vt 0.497142 0.965064 +vt 0.481483 0.943558 +vt 0.551287 0.938505 +vt 0.530213 0.919655 +vt 0.597334 0.904702 +vt 0.571655 0.889232 +vt 0.633512 0.864954 +vt 0.604216 0.853459 +vt 0.658432 0.820788 +vt 0.626644 0.813710 +vt 0.671137 0.773902 +vt 0.638078 0.771512 +vt 0.671137 0.726098 +vt 0.638078 0.728488 +vt 0.658432 0.679212 +vt 0.626644 0.686290 +vt 0.633512 0.635046 +vt 0.604216 0.646541 +vt 0.597334 0.595298 +vt 0.571655 0.610768 +vt 0.551287 0.561495 +vt 0.530214 0.580345 +vt 0.497142 0.534936 +vt 0.481483 0.556442 +vt 0.436979 0.516642 +vt 0.427337 0.539978 +vt 0.373111 0.507316 +vt 0.369855 0.531584 +vt 0.307991 0.507316 +vt 0.311247 0.531584 +vt 0.244123 0.516642 +vt 0.253766 0.539978 +vt 0.183960 0.534936 +vt 0.691068 0.257060 +vt 0.724286 0.257060 +vt 0.724286 0.304865 +vt 0.830585 0.492173 +vt 0.797367 0.492173 +vt 0.797367 0.444369 +vt 0.777436 0.179993 +vt 0.744217 0.179993 +vt 0.744217 0.132188 +vt 0.724286 0.179993 +vt 0.691068 0.179993 +vt 0.691068 0.132188 +vt 0.724286 0.429737 +vt 0.691068 0.429737 +vt 0.691068 0.381933 +vt 0.883735 0.117556 +vt 0.850517 0.117556 +vt 0.850517 0.069752 +vt 0.724286 0.617046 +vt 0.691068 0.617046 +vt 0.691068 0.569241 +vt 0.830585 0.554610 +vt 0.797367 0.554610 +vt 0.797367 0.506805 +vt 0.883735 0.055120 +vt 0.850517 0.055120 +vt 0.850517 0.007316 +vt 0.830585 0.429737 +vt 0.797367 0.429737 +vt 0.797367 0.381933 +vt 0.691068 0.506805 +vt 0.724286 0.506805 +vt 0.724286 0.554610 +vt 0.830586 0.117557 +vt 0.797367 0.117557 +vt 0.797367 0.069752 +vt 0.777436 0.429737 +vt 0.744217 0.429737 +vt 0.744217 0.381933 +vt 0.777436 0.617046 +vt 0.744217 0.617046 +vt 0.744217 0.569241 +vt 0.744217 0.506805 +vt 0.777436 0.506805 +vt 0.777436 0.554610 +vt 0.830585 0.617046 +vt 0.797367 0.617046 +vt 0.797367 0.569241 +vt 0.777436 0.117557 +vt 0.744217 0.117557 +vt 0.744217 0.069752 +vt 0.724286 0.492174 +vt 0.691068 0.492174 +vt 0.691068 0.444369 +vt 0.724286 0.055120 +vt 0.691068 0.055120 +vt 0.691068 0.007316 +vt 0.724286 0.242429 +vt 0.691068 0.242429 +vt 0.691068 0.194624 +vt 0.744217 0.257060 +vt 0.777436 0.257060 +vt 0.777436 0.304865 +vt 0.830585 0.055120 +vt 0.797367 0.055120 +vt 0.797367 0.007316 +vt 0.830585 0.179993 +vt 0.797367 0.179993 +vt 0.797367 0.132188 +vt 0.830585 0.304865 +vt 0.797367 0.304865 +vt 0.797367 0.257060 +vt 0.744217 0.007316 +vt 0.777436 0.007316 +vt 0.777436 0.055120 +vt 0.777436 0.242429 +vt 0.744217 0.242429 +vt 0.744217 0.194624 +vt 0.777436 0.367301 +vt 0.744217 0.367301 +vt 0.744217 0.319497 +vt 0.724286 0.117557 +vt 0.691068 0.117557 +vt 0.691068 0.069752 +vt 0.830585 0.242429 +vt 0.797367 0.242429 +vt 0.797367 0.194624 +vt 0.744217 0.444369 +vt 0.777436 0.444369 +vt 0.777436 0.492174 +vt 0.797367 0.319497 +vt 0.830585 0.319497 +vt 0.830585 0.367301 +vt 0.724286 0.367301 +vt 0.691068 0.367301 +vt 0.691068 0.319497 +vt 0.956816 0.348179 +vt 0.956816 0.305155 +vt 0.990034 0.305155 +vt 0.990034 0.247499 +vt 0.990034 0.290524 +vt 0.956816 0.290524 +vt 0.936885 0.651089 +vt 0.936885 0.694113 +vt 0.903666 0.694113 +vt 0.990034 0.007316 +vt 0.990034 0.050340 +vt 0.956816 0.050340 +vt 0.883735 0.362811 +vt 0.883735 0.405835 +vt 0.850517 0.405835 +vt 0.903666 0.348179 +vt 0.903666 0.305155 +vt 0.936885 0.305155 +vt 0.936885 0.478122 +vt 0.936885 0.521146 +vt 0.903666 0.521146 +vt 0.956816 0.405835 +vt 0.956816 0.362811 +vt 0.990034 0.362811 +vt 0.883735 0.535778 +vt 0.883735 0.578802 +vt 0.850517 0.578802 +vt 0.850517 0.348179 +vt 0.850517 0.305155 +vt 0.883735 0.305155 +vt 0.850517 0.290524 +vt 0.850517 0.247499 +vt 0.883735 0.247499 +vt 0.903666 0.405835 +vt 0.903666 0.362811 +vt 0.936885 0.362811 +vt 0.850517 0.463491 +vt 0.850517 0.420467 +vt 0.883735 0.420467 +vt 0.883735 0.651089 +vt 0.883735 0.694113 +vt 0.850517 0.694113 +vt 0.903666 0.232868 +vt 0.903666 0.189844 +vt 0.936885 0.189844 +vt 0.903666 0.050340 +vt 0.903666 0.007316 +vt 0.936885 0.007316 +vt 0.903666 0.175212 +vt 0.903666 0.132188 +vt 0.936885 0.132188 +vt 0.850517 0.636458 +vt 0.850517 0.593434 +vt 0.883735 0.593434 +vt 0.850517 0.521146 +vt 0.850517 0.478122 +vt 0.883735 0.478122 +vt 0.691068 0.674702 +vt 0.691068 0.631677 +vt 0.724286 0.631677 +vt 0.990034 0.064971 +vt 0.990034 0.107996 +vt 0.956816 0.107996 +vt 0.883735 0.132188 +vt 0.883735 0.175212 +vt 0.850517 0.175212 +vt 0.903666 0.290524 +vt 0.903666 0.247499 +vt 0.936885 0.247499 +vt 0.903666 0.463491 +vt 0.903666 0.420467 +vt 0.936885 0.420467 +vt 0.903666 0.112776 +vt 0.903666 0.069752 +vt 0.936885 0.069752 +vt 0.850517 0.232868 +vt 0.850517 0.189844 +vt 0.883735 0.189844 +vt 0.744217 0.674701 +vt 0.744217 0.631677 +vt 0.777436 0.631677 +vt 0.903666 0.636458 +vt 0.903666 0.593434 +vt 0.936885 0.593434 +vt 0.830585 0.631677 +vt 0.830586 0.674701 +vt 0.797367 0.674701 +vt 0.903666 0.578802 +vt 0.903666 0.535778 +vt 0.936885 0.535778 +vt 0.956816 0.232868 +vt 0.956816 0.189844 +vt 0.990034 0.189844 +vt 0.990034 0.132188 +vt 0.990034 0.175212 +vt 0.956816 0.175212 +vt 0.183960 0.034936 +vt 0.083768 0.095298 +vt 0.009966 0.273903 +vt 0.373111 0.492684 +vt 0.497142 0.465064 +vt 0.633512 0.135046 +vt 0.373111 0.007316 +vt 0.691068 0.304865 +vt 0.830585 0.444369 +vt 0.777436 0.132188 +vt 0.724286 0.132188 +vt 0.724286 0.381933 +vt 0.883735 0.069752 +vt 0.724286 0.569241 +vt 0.830585 0.506805 +vt 0.883735 0.007316 +vt 0.830585 0.381933 +vt 0.691068 0.554610 +vt 0.830586 0.069752 +vt 0.777436 0.381933 +vt 0.777436 0.569241 +vt 0.744217 0.554610 +vt 0.830585 0.569241 +vt 0.777436 0.069752 +vt 0.724286 0.444369 +vt 0.724286 0.007316 +vt 0.724286 0.194624 +vt 0.744217 0.304865 +vt 0.830585 0.007316 +vt 0.830585 0.132188 +vt 0.830585 0.257060 +vt 0.744217 0.055120 +vt 0.777436 0.194624 +vt 0.777436 0.319497 +vt 0.724286 0.069752 +vt 0.830585 0.194624 +vt 0.744217 0.492174 +vt 0.797367 0.367301 +vt 0.724286 0.319497 +vt 0.990034 0.348179 +vt 0.956816 0.247499 +vt 0.903666 0.651089 +vt 0.956816 0.007316 +vt 0.850517 0.362811 +vt 0.936885 0.348179 +vt 0.903666 0.478122 +vt 0.990034 0.405835 +vt 0.850517 0.535778 +vt 0.883735 0.348179 +vt 0.883735 0.290524 +vt 0.936885 0.405835 +vt 0.883735 0.463491 +vt 0.850517 0.651089 +vt 0.936885 0.232868 +vt 0.936885 0.050340 +vt 0.936885 0.175212 +vt 0.883735 0.636458 +vt 0.883735 0.521146 +vt 0.724286 0.674702 +vt 0.956816 0.064971 +vt 0.850517 0.132188 +vt 0.936885 0.290524 +vt 0.936885 0.463491 +vt 0.936885 0.112776 +vt 0.883735 0.232868 +vt 0.777436 0.674701 +vt 0.936885 0.636458 +vt 0.797367 0.631677 +vt 0.936885 0.578802 +vt 0.990034 0.232868 +vt 0.956816 0.132188 +vn 0.000000 -1.000000 0.000000 +vn -0.000000 1.000000 0.000000 +vn 0.881900 0.000000 -0.471400 +vn 0.773000 0.000000 -0.634400 +vn 0.634400 0.000000 -0.773000 +vn 0.471400 0.000000 -0.881900 +vn 0.290300 0.000000 -0.956900 +vn 0.098000 0.000000 -0.995200 +vn -0.098000 0.000000 -0.995200 +vn -0.290300 0.000000 -0.956900 +vn -0.471400 0.000000 -0.881900 +vn -0.634400 0.000000 -0.773000 +vn -0.773000 0.000000 -0.634400 +vn -0.881900 0.000000 -0.471400 +vn -0.956900 0.000000 -0.290300 +vn -0.995200 0.000000 -0.098000 +vn -0.995200 0.000000 0.098000 +vn -0.956900 0.000000 0.290300 +vn -0.881900 0.000000 0.471400 +vn -0.773000 0.000000 0.634400 +vn -0.634400 0.000000 0.773000 +vn -0.471400 0.000000 0.881900 +vn -0.290300 0.000000 0.956900 +vn -0.098000 0.000000 0.995200 +vn 0.098000 0.000000 0.995200 +vn 0.290300 0.000000 0.956900 +vn 0.471400 0.000000 0.881900 +vn 0.634400 0.000000 0.773000 +vn 0.773000 0.000000 0.634400 +vn 0.881900 0.000000 0.471400 +vn 0.956900 0.000000 0.290300 +vn 0.995200 0.000000 0.098000 +vn 0.995200 0.000000 -0.098000 +vn 0.956900 0.000000 -0.290300 +s off +f 49/1/1 50/2/1 18/3/1 +f 18/3/1 50/2/1 51/4/1 +f 51/4/1 52/5/1 20/6/1 +f 52/5/1 53/7/1 21/8/1 +f 53/7/1 54/9/1 22/10/1 +f 22/10/1 54/9/1 55/11/1 +f 55/11/1 56/12/1 24/13/1 +f 56/12/1 57/14/1 25/15/1 +f 57/14/1 58/16/1 26/17/1 +f 58/16/1 59/18/1 27/19/1 +f 59/18/1 60/20/1 28/21/1 +f 60/20/1 61/22/1 29/23/1 +f 61/22/1 62/24/1 30/25/1 +f 30/25/1 62/24/1 63/26/1 +f 63/26/1 64/27/1 32/28/1 +f 32/28/1 64/27/1 33/29/1 +f 33/29/1 34/30/1 2/31/1 +f 34/30/1 35/32/1 3/33/1 +f 35/32/1 36/34/1 4/35/1 +f 36/34/1 37/36/1 5/37/1 +f 37/36/1 38/38/1 6/39/1 +f 38/38/1 39/40/1 7/41/1 +f 39/40/1 40/42/1 8/43/1 +f 8/43/1 40/42/1 41/44/1 +f 41/44/1 42/45/1 10/46/1 +f 42/45/1 43/47/1 11/48/1 +f 11/48/1 43/47/1 44/49/1 +f 12/50/1 44/49/1 45/51/1 +f 13/52/1 45/51/1 46/53/1 +f 46/53/1 47/54/1 15/55/1 +f 15/55/1 47/54/1 48/56/1 +f 16/57/1 48/56/1 49/1/1 +f 82/58/2 114/59/2 113/60/2 +f 83/61/2 115/62/2 114/59/2 +f 83/61/2 84/63/2 116/64/2 +f 85/65/2 117/66/2 116/64/2 +f 86/67/2 118/68/2 117/66/2 +f 86/67/2 87/69/2 119/70/2 +f 88/71/2 120/72/2 119/70/2 +f 89/73/2 121/74/2 120/72/2 +f 90/75/2 122/76/2 121/74/2 +f 91/77/2 123/78/2 122/76/2 +f 92/79/2 124/80/2 123/78/2 +f 93/81/2 125/82/2 124/80/2 +f 94/83/2 126/84/2 125/82/2 +f 94/83/2 95/85/2 127/86/2 +f 96/87/2 128/88/2 127/86/2 +f 65/89/2 97/90/2 128/88/2 +f 66/91/2 98/92/2 97/90/2 +f 67/93/2 99/94/2 98/92/2 +f 68/95/2 100/96/2 99/94/2 +f 68/95/2 69/97/2 101/98/2 +f 70/99/2 102/100/2 101/98/2 +f 71/101/2 103/102/2 102/100/2 +f 71/101/2 72/103/2 104/104/2 +f 73/105/2 105/106/2 104/104/2 +f 74/107/2 106/108/2 105/106/2 +f 75/109/2 107/110/2 106/108/2 +f 75/109/2 76/111/2 108/112/2 +f 76/111/2 77/113/2 109/114/2 +f 77/113/2 78/115/2 110/116/2 +f 79/117/2 111/118/2 110/116/2 +f 79/117/2 80/119/2 112/120/2 +f 81/121/2 113/60/2 112/120/2 +f 28/122/3 92/123/3 91/124/3 +f 29/125/4 93/126/4 92/127/4 +f 30/128/5 94/129/5 93/130/5 +f 31/131/6 95/132/6 94/133/6 +f 32/134/7 96/135/7 95/136/7 +f 1/137/8 65/138/8 96/139/8 +f 2/140/9 66/141/9 65/142/9 +f 3/143/10 67/144/10 66/145/10 +f 4/146/11 68/147/11 67/148/11 +f 5/149/12 69/150/12 68/151/12 +f 6/152/13 70/153/13 69/154/13 +f 7/155/14 71/156/14 70/157/14 +f 8/158/15 72/159/15 71/160/15 +f 9/161/16 73/162/16 72/163/16 +f 10/164/17 74/165/17 73/166/17 +f 11/167/18 75/168/18 74/169/18 +f 12/170/19 76/171/19 75/172/19 +f 13/173/20 77/174/20 76/175/20 +f 14/176/21 78/177/21 77/178/21 +f 15/179/22 79/180/22 78/181/22 +f 16/182/23 80/183/23 79/184/23 +f 17/185/24 81/186/24 80/187/24 +f 18/188/25 82/189/25 81/190/25 +f 19/191/26 83/192/26 82/193/26 +f 20/194/27 84/195/27 83/196/27 +f 21/197/28 85/198/28 84/199/28 +f 22/200/29 86/201/29 85/202/29 +f 23/203/30 87/204/30 86/205/30 +f 24/206/31 88/207/31 87/208/31 +f 25/209/32 89/210/32 88/211/32 +f 26/212/33 90/213/33 89/214/33 +f 27/215/34 91/216/34 90/217/34 +f 103/218/31 104/219/31 40/220/31 +f 102/221/30 103/222/30 39/223/30 +f 101/224/29 102/225/29 38/226/29 +f 100/227/28 101/228/28 37/229/28 +f 99/230/27 100/231/27 36/232/27 +f 98/233/26 99/234/26 35/235/26 +f 97/236/25 98/237/25 34/238/25 +f 128/239/24 97/240/24 33/241/24 +f 127/242/23 128/243/23 64/244/23 +f 126/245/22 127/246/22 63/247/22 +f 125/248/21 126/249/21 62/250/21 +f 124/251/20 125/252/20 61/253/20 +f 123/254/19 124/255/19 60/256/19 +f 122/257/18 123/258/18 59/259/18 +f 121/260/17 122/261/17 58/262/17 +f 120/263/16 121/264/16 57/265/16 +f 119/266/15 120/267/15 56/268/15 +f 118/269/14 119/270/14 55/271/14 +f 117/272/13 118/273/13 54/274/13 +f 116/275/12 117/276/12 53/277/12 +f 115/278/11 116/279/11 52/280/11 +f 114/281/10 115/282/10 51/283/10 +f 113/284/9 114/285/9 50/286/9 +f 112/287/8 113/288/8 49/289/8 +f 111/290/7 112/291/7 48/292/7 +f 110/293/6 111/294/6 47/295/6 +f 109/296/5 110/297/5 46/298/5 +f 108/299/4 109/300/4 45/301/4 +f 107/302/3 108/303/3 44/304/3 +f 106/305/34 107/306/34 43/307/34 +f 105/308/33 106/309/33 42/310/33 +f 104/311/32 105/312/32 41/313/32 +f 17/314/1 49/1/1 18/3/1 +f 19/315/1 18/3/1 51/4/1 +f 19/315/1 51/4/1 20/6/1 +f 20/6/1 52/5/1 21/8/1 +f 21/8/1 53/7/1 22/10/1 +f 23/316/1 22/10/1 55/11/1 +f 23/316/1 55/11/1 24/13/1 +f 24/13/1 56/12/1 25/15/1 +f 25/15/1 57/14/1 26/17/1 +f 26/17/1 58/16/1 27/19/1 +f 27/19/1 59/18/1 28/21/1 +f 28/21/1 60/20/1 29/23/1 +f 29/23/1 61/22/1 30/25/1 +f 31/317/1 30/25/1 63/26/1 +f 31/317/1 63/26/1 32/28/1 +f 1/318/1 32/28/1 33/29/1 +f 1/318/1 33/29/1 2/31/1 +f 2/31/1 34/30/1 3/33/1 +f 3/33/1 35/32/1 4/35/1 +f 4/35/1 36/34/1 5/37/1 +f 5/37/1 37/36/1 6/39/1 +f 6/39/1 38/38/1 7/41/1 +f 7/41/1 39/40/1 8/43/1 +f 9/319/1 8/43/1 41/44/1 +f 9/319/1 41/44/1 10/46/1 +f 10/46/1 42/45/1 11/48/1 +f 12/50/1 11/48/1 44/49/1 +f 13/52/1 12/50/1 45/51/1 +f 14/320/1 13/52/1 46/53/1 +f 14/320/1 46/53/1 15/55/1 +f 16/57/1 15/55/1 48/56/1 +f 17/314/1 16/57/1 49/1/1 +f 81/121/2 82/58/2 113/60/2 +f 82/58/2 83/61/2 114/59/2 +f 115/62/2 83/61/2 116/64/2 +f 84/63/2 85/65/2 116/64/2 +f 85/65/2 86/67/2 117/66/2 +f 118/68/2 86/67/2 119/70/2 +f 87/69/2 88/71/2 119/70/2 +f 88/71/2 89/73/2 120/72/2 +f 89/73/2 90/75/2 121/74/2 +f 90/75/2 91/77/2 122/76/2 +f 91/77/2 92/79/2 123/78/2 +f 92/79/2 93/81/2 124/80/2 +f 93/81/2 94/83/2 125/82/2 +f 126/84/2 94/83/2 127/86/2 +f 95/85/2 96/87/2 127/86/2 +f 96/87/2 65/89/2 128/88/2 +f 65/89/2 66/91/2 97/90/2 +f 66/91/2 67/93/2 98/92/2 +f 67/93/2 68/95/2 99/94/2 +f 100/96/2 68/95/2 101/98/2 +f 69/97/2 70/99/2 101/98/2 +f 70/99/2 71/101/2 102/100/2 +f 103/102/2 71/101/2 104/104/2 +f 72/103/2 73/105/2 104/104/2 +f 73/105/2 74/107/2 105/106/2 +f 74/107/2 75/109/2 106/108/2 +f 107/110/2 75/109/2 108/112/2 +f 108/112/2 76/111/2 109/114/2 +f 109/114/2 77/113/2 110/116/2 +f 78/115/2 79/117/2 110/116/2 +f 111/118/2 79/117/2 112/120/2 +f 80/119/2 81/121/2 112/120/2 +f 27/321/3 28/122/3 91/124/3 +f 28/322/4 29/125/4 92/127/4 +f 29/323/5 30/128/5 93/130/5 +f 30/324/6 31/131/6 94/133/6 +f 31/325/7 32/134/7 95/136/7 +f 32/326/8 1/137/8 96/139/8 +f 1/327/9 2/140/9 65/142/9 +f 2/328/10 3/143/10 66/145/10 +f 3/329/11 4/146/11 67/148/11 +f 4/330/12 5/149/12 68/151/12 +f 5/331/13 6/152/13 69/154/13 +f 6/332/14 7/155/14 70/157/14 +f 7/333/15 8/158/15 71/160/15 +f 8/334/16 9/161/16 72/163/16 +f 9/335/17 10/164/17 73/166/17 +f 10/336/18 11/167/18 74/169/18 +f 11/337/19 12/170/19 75/172/19 +f 12/338/20 13/173/20 76/175/20 +f 13/339/21 14/176/21 77/178/21 +f 14/340/22 15/179/22 78/181/22 +f 15/341/23 16/182/23 79/184/23 +f 16/342/24 17/185/24 80/187/24 +f 17/343/25 18/188/25 81/190/25 +f 18/344/26 19/191/26 82/193/26 +f 19/345/27 20/194/27 83/196/27 +f 20/346/28 21/197/28 84/199/28 +f 21/347/29 22/200/29 85/202/29 +f 22/348/30 23/203/30 86/205/30 +f 23/349/31 24/206/31 87/208/31 +f 24/350/32 25/209/32 88/211/32 +f 25/351/33 26/212/33 89/214/33 +f 26/352/34 27/215/34 90/217/34 +f 39/353/31 103/218/31 40/220/31 +f 38/354/30 102/221/30 39/223/30 +f 37/355/29 101/224/29 38/226/29 +f 36/356/28 100/227/28 37/229/28 +f 35/357/27 99/230/27 36/232/27 +f 34/358/26 98/233/26 35/235/26 +f 33/359/25 97/236/25 34/238/25 +f 64/360/24 128/239/24 33/241/24 +f 63/361/23 127/242/23 64/244/23 +f 62/362/22 126/245/22 63/247/22 +f 61/363/21 125/248/21 62/250/21 +f 60/364/20 124/251/20 61/253/20 +f 59/365/19 123/254/19 60/256/19 +f 58/366/18 122/257/18 59/259/18 +f 57/367/17 121/260/17 58/262/17 +f 56/368/16 120/263/16 57/265/16 +f 55/369/15 119/266/15 56/268/15 +f 54/370/14 118/269/14 55/271/14 +f 53/371/13 117/272/13 54/274/13 +f 52/372/12 116/275/12 53/277/12 +f 51/373/11 115/278/11 52/280/11 +f 50/374/10 114/281/10 51/283/10 +f 49/375/9 113/284/9 50/286/9 +f 48/376/8 112/287/8 49/289/8 +f 47/377/7 111/290/7 48/292/7 +f 46/378/6 110/293/6 47/295/6 +f 45/379/5 109/296/5 46/298/5 +f 44/380/4 108/299/4 45/301/4 +f 43/381/3 107/302/3 44/304/3 +f 42/382/34 106/305/34 43/307/34 +f 41/383/33 105/308/33 42/310/33 +f 40/384/32 104/311/32 41/313/32 diff --git a/assets/hbm/models/Sphere.obj b/assets/hbm/models/Sphere.obj new file mode 100644 index 000000000..b7a19ed2b --- /dev/null +++ b/assets/hbm/models/Sphere.obj @@ -0,0 +1,414 @@ +# Blender v2.76 (sub 0) OBJ File: 'Sphere.blend' +# www.blender.org +o Icosphere +v 0.000000 -1.000000 0.000000 +v 0.723607 -0.447220 0.525725 +v -0.276388 -0.447220 0.850649 +v -0.894426 -0.447216 0.000000 +v -0.276388 -0.447220 -0.850649 +v 0.723607 -0.447220 -0.525725 +v 0.276388 0.447220 0.850649 +v -0.723607 0.447220 0.525725 +v -0.723607 0.447220 -0.525725 +v 0.276388 0.447220 -0.850649 +v 0.894426 0.447216 0.000000 +v 0.000000 1.000000 0.000000 +v -0.162456 -0.850654 0.499995 +v 0.425323 -0.850654 0.309011 +v 0.262869 -0.525738 0.809012 +v 0.850648 -0.525736 0.000000 +v 0.425323 -0.850654 -0.309011 +v -0.525730 -0.850652 0.000000 +v -0.688189 -0.525736 0.499997 +v -0.162456 -0.850654 -0.499995 +v -0.688189 -0.525736 -0.499997 +v 0.262869 -0.525738 -0.809012 +v 0.951058 0.000000 0.309013 +v 0.951058 0.000000 -0.309013 +v 0.000000 0.000000 1.000000 +v 0.587786 0.000000 0.809017 +v -0.951058 0.000000 0.309013 +v -0.587786 0.000000 0.809017 +v -0.587786 0.000000 -0.809017 +v -0.951058 0.000000 -0.309013 +v 0.587786 0.000000 -0.809017 +v 0.000000 0.000000 -1.000000 +v 0.688189 0.525736 0.499997 +v -0.262869 0.525738 0.809012 +v -0.850648 0.525736 0.000000 +v -0.262869 0.525738 -0.809012 +v 0.688189 0.525736 -0.499997 +v 0.162456 0.850654 0.499995 +v 0.525730 0.850652 0.000000 +v -0.425323 0.850654 0.309011 +v -0.425323 0.850654 -0.309011 +v 0.162456 0.850654 -0.499995 +vt 1.000000 0.103581 +vt 0.901325 0.066228 +vt 1.000000 0.000000 +vt 0.873562 0.527104 +vt 0.960821 0.468536 +vt 0.960821 0.585669 +vt 0.098675 0.909973 +vt 0.000000 0.872620 +vt 0.098675 0.806390 +vt 0.513105 0.806389 +vt 0.513105 0.909972 +vt 0.414430 0.843742 +vt 0.889908 0.279285 +vt 0.977167 0.220719 +vt 0.977167 0.337852 +vt 0.715389 0.396420 +vt 0.802648 0.337854 +vt 0.802648 0.454989 +vt 0.687627 0.527103 +vt 0.774886 0.468536 +vt 0.774886 0.585672 +vt 0.687628 0.675704 +vt 0.687628 0.779286 +vt 0.588951 0.713056 +vt 0.409500 0.468536 +vt 0.409500 0.572119 +vt 0.310823 0.505890 +vt 0.305895 0.585671 +vt 0.305895 0.689254 +vt 0.207218 0.623025 +vt 0.616711 0.220719 +vt 0.518035 0.183364 +vt 0.616711 0.117135 +vt 0.409500 0.675702 +vt 0.310823 0.609475 +vt 0.687625 0.882869 +vt 0.588951 0.816641 +vt 0.687627 0.468536 +vt 0.687627 0.572120 +vt 0.588951 0.505891 +vt 0.616713 0.337853 +vt 0.518036 0.300499 +vt 0.616713 0.234270 +vt 0.409499 0.779286 +vt 0.310823 0.713056 +vt 0.889906 0.207166 +vt 0.791231 0.169812 +vt 0.889906 0.103583 +vt 0.687627 0.864954 +vt 0.774886 0.806388 +vt 0.774886 0.923521 +vt 0.786302 0.806388 +vt 0.687627 0.769034 +vt 0.786302 0.702806 +vt 0.103608 0.837854 +vt 0.190868 0.779288 +vt 0.190868 0.896421 +vt 0.873562 0.872617 +vt 0.972237 0.806388 +vt 0.972237 0.909970 +vt 0.103608 0.409970 +vt 0.207214 0.351403 +vt 0.207214 0.468537 +vt 0.774887 0.702806 +vt 0.687627 0.644238 +vt 0.977165 0.103583 +vt 0.889906 0.162149 +vt 0.518036 0.351403 +vt 0.414430 0.292836 +vt 0.518036 0.234270 +vt 0.889908 0.454988 +vt 0.802648 0.396421 +vt 0.889908 0.337854 +vt 0.310823 0.962646 +vt 0.409498 0.896419 +vt 0.409498 1.000000 +vt 0.518037 0.117132 +vt 0.414431 0.058566 +vt 0.518037 0.000000 +vt 0.873562 0.923521 +vt 0.786302 0.864956 +vt 0.873562 0.806388 +vt 0.988582 0.441436 +vt 0.889908 0.375207 +vt 0.988582 0.337854 +vt 0.414429 0.175701 +vt 0.873562 0.468536 +vt 0.873562 0.572118 +vt 0.774886 0.534765 +vt 0.983653 0.806387 +vt 0.884977 0.740159 +vt 0.983653 0.702806 +vt 0.310823 0.234269 +vt 0.310823 0.351403 +vt 0.207218 0.292836 +vt 0.901325 0.000000 +vt 0.901325 0.103582 +vt 0.802650 0.066228 +vt 0.605298 0.066230 +vt 0.703975 0.000000 +vt 0.703975 0.103582 +vt 0.103608 0.175702 +vt 0.207215 0.117135 +vt 0.207215 0.234269 +vt 0.202284 0.468537 +vt 0.202284 0.572122 +vt 0.103608 0.534768 +vt 0.703971 0.220719 +vt 0.616711 0.162152 +vt 0.310823 0.117135 +vt 0.207215 0.175702 +vt 0.588951 0.638351 +vt 0.588949 0.689255 +vt 0.588949 0.806389 +vt 0.501689 0.747824 +vt 0.414431 0.000000 +vt 0.414431 0.117132 +vt 0.310823 0.058566 +vt 0.305892 0.792837 +vt 0.207218 0.755485 +vt 0.202283 0.675706 +vt 0.103608 0.609475 +vt 0.207216 0.058569 +vt 0.310823 0.000000 +vt 0.087259 0.702808 +vt 0.000000 0.644240 +vt 0.087259 0.585673 +vt 0.588951 0.468536 +vt 0.588951 0.585671 +vt 0.501691 0.527104 +vt 0.103608 0.117135 +vt 0.103608 0.234269 +vt 0.000000 0.175702 +vt 0.703972 0.271622 +vt 0.802649 0.234270 +vt 0.605298 0.000000 +vt 0.605298 0.117134 +vt 0.518037 0.058568 +vt 0.103608 0.292837 +vt 0.703972 0.351406 +vt 0.616713 0.292839 +vt 0.703972 0.234270 +vt 0.087261 0.468538 +vt 0.000000 0.527106 +vt 0.000000 0.058567 +vt 0.103608 0.000000 +vt 0.202284 0.779288 +vt 0.103608 0.741936 +vt 0.294479 0.468537 +vt 0.294479 0.585671 +vt 0.207218 0.527104 +vt 0.103608 0.058567 +vt 0.207216 0.000000 +vt 0.501691 0.585671 +vt 0.414430 0.527104 +vt 0.501691 0.468536 +vt 0.616713 0.454986 +vt 0.518036 0.388758 +vt 0.616713 0.351403 +vt 0.103607 0.351405 +vt 0.000000 0.292836 +vt 0.414430 0.623024 +vt 0.513105 0.585671 +vt 0.513105 0.689255 +vt 0.305892 0.896419 +vt 0.207218 0.830192 +vt 0.310823 0.175704 +vt 0.414429 0.234269 +vt 0.501689 0.806389 +vt 0.414430 0.747824 +vt 0.501689 0.689255 +vt 0.873562 0.702806 +vt 0.774887 0.636577 +vt 0.873562 0.599223 +vt 0.000000 0.409971 +vt 0.103606 0.468538 +vt 0.000000 0.740162 +vt 0.098676 0.702808 +vt 0.791231 0.103583 +vt 0.791231 0.220717 +vt 0.703971 0.162150 +vt 0.310823 0.468537 +vt 0.207218 0.409969 +vt 0.802649 0.279285 +vt 0.889908 0.220719 +vt 0.398083 0.779286 +vt 0.398083 0.896419 +vt 0.310823 0.837852 +vt 0.414430 0.351403 +vt 0.414430 0.468536 +vt 0.310823 0.409968 +vt 0.616713 0.388759 +vt 0.715389 0.351406 +vt 0.715389 0.454989 +vt 0.972238 0.702805 +vt 0.873562 0.636577 +vt 0.972238 0.599223 +vt 0.414430 0.409969 +vt 0.518036 0.468534 +vt 0.687625 0.986450 +vt 0.588951 0.949096 +vt 0.703975 0.066228 +vt 0.802650 0.000000 +vt 0.802650 0.103582 +vt 0.310823 0.292835 +vt 0.884977 0.702806 +vt 0.884977 0.806388 +vt 0.786302 0.769035 +vn 0.102400 -0.943500 0.315100 +vn 0.700200 -0.661700 0.268000 +vn -0.268000 -0.943500 0.194700 +vn -0.268000 -0.943500 -0.194700 +vn 0.102400 -0.943500 -0.315100 +vn 0.905000 -0.330400 0.268000 +vn 0.024700 -0.330400 0.943500 +vn -0.889700 -0.330400 0.315100 +vn -0.574600 -0.330400 -0.748800 +vn 0.534600 -0.330400 -0.777900 +vn 0.802600 -0.125600 0.583100 +vn -0.306600 -0.125600 0.943500 +vn -0.992100 -0.125600 0.000000 +vn -0.306600 -0.125600 -0.943500 +vn 0.802600 -0.125600 -0.583100 +vn 0.408900 0.661700 0.628400 +vn -0.471300 0.661700 0.583100 +vn -0.700200 0.661700 -0.268000 +vn 0.038500 0.661700 -0.748800 +vn 0.724000 0.661700 -0.194700 +vn 0.268000 0.943500 -0.194700 +vn 0.491100 0.794700 -0.356800 +vn 0.408900 0.661700 -0.628400 +vn -0.102400 0.943500 -0.315100 +vn -0.187600 0.794700 -0.577300 +vn -0.471300 0.661700 -0.583100 +vn -0.331300 0.943500 0.000000 +vn -0.607100 0.794700 0.000000 +vn -0.700200 0.661700 0.268000 +vn -0.102400 0.943500 0.315100 +vn -0.187600 0.794700 0.577300 +vn 0.038500 0.661700 0.748800 +vn 0.268000 0.943500 0.194700 +vn 0.491100 0.794700 0.356800 +vn 0.724000 0.661700 0.194700 +vn 0.889700 0.330400 -0.315100 +vn 0.794700 0.187600 -0.577300 +vn 0.574600 0.330400 -0.748800 +vn -0.024700 0.330400 -0.943500 +vn -0.303500 0.187600 -0.934200 +vn -0.534600 0.330400 -0.777900 +vn -0.905000 0.330400 -0.268000 +vn -0.982200 0.187600 0.000000 +vn -0.905000 0.330400 0.268000 +vn -0.534600 0.330400 0.777900 +vn -0.303500 0.187600 0.934200 +vn -0.024700 0.330400 0.943500 +vn 0.574600 0.330400 0.748800 +vn 0.794700 0.187600 0.577300 +vn 0.889700 0.330400 0.315100 +vn 0.306600 0.125600 -0.943500 +vn 0.303500 -0.187600 -0.934200 +vn 0.024700 -0.330400 -0.943500 +vn -0.802600 0.125600 -0.583100 +vn -0.794700 -0.187600 -0.577300 +vn -0.889700 -0.330400 -0.315100 +vn -0.802600 0.125600 0.583100 +vn -0.794700 -0.187600 0.577300 +vn -0.574600 -0.330400 0.748800 +vn 0.306600 0.125600 0.943500 +vn 0.303500 -0.187600 0.934200 +vn 0.534600 -0.330400 0.777900 +vn 0.992100 0.125600 0.000000 +vn 0.982200 -0.187600 0.000000 +vn 0.905000 -0.330400 -0.268000 +vn 0.471300 -0.661700 -0.583100 +vn 0.187600 -0.794700 -0.577300 +vn -0.038500 -0.661700 -0.748800 +vn -0.408900 -0.661700 -0.628400 +vn -0.491100 -0.794700 -0.356800 +vn -0.724000 -0.661700 -0.194700 +vn -0.724000 -0.661700 0.194700 +vn -0.491100 -0.794700 0.356800 +vn -0.408900 -0.661700 0.628400 +vn 0.700200 -0.661700 -0.268000 +vn 0.607100 -0.794700 0.000000 +vn 0.331300 -0.943500 0.000000 +vn -0.038500 -0.661700 0.748800 +vn 0.187600 -0.794700 0.577300 +vn 0.471300 -0.661700 0.583100 +s off +f 1/1/1 14/2/1 13/3/1 +f 2/4/2 14/5/2 16/6/2 +f 1/7/3 13/8/3 18/9/3 +f 1/10/4 18/11/4 20/12/4 +f 1/13/5 20/14/5 17/15/5 +f 2/16/6 16/17/6 23/18/6 +f 3/19/7 15/20/7 25/21/7 +f 4/22/8 19/23/8 27/24/8 +f 5/25/9 21/26/9 29/27/9 +f 6/28/10 22/29/10 31/30/10 +f 2/31/11 23/32/11 26/33/11 +f 3/26/12 25/34/12 28/35/12 +f 4/23/13 27/36/13 30/37/13 +f 5/38/14 29/39/14 32/40/14 +f 6/41/15 31/42/15 24/43/15 +f 7/34/16 33/44/16 38/45/16 +f 8/46/17 34/47/17 40/48/17 +f 9/49/18 35/50/18 41/51/18 +f 10/52/19 36/53/19 42/54/19 +f 11/55/20 37/56/20 39/57/20 +f 39/58/21 42/59/21 12/60/21 +f 39/61/22 37/62/22 42/63/22 +f 37/64/23 10/65/23 42/21/23 +f 42/66/24 41/14/24 12/67/24 +f 42/68/25 36/69/25 41/70/25 +f 36/71/26 9/72/26 41/73/26 +f 41/74/27 40/75/27 12/76/27 +f 41/77/28 35/78/28 40/79/28 +f 35/80/29 8/81/29 40/82/29 +f 40/83/30 38/84/30 12/85/30 +f 40/77/31 34/70/31 38/86/31 +f 34/87/32 7/88/32 38/89/32 +f 38/90/33 39/91/33 12/92/33 +f 38/93/34 33/94/34 39/95/34 +f 33/96/35 11/97/35 39/98/35 +f 24/99/36 37/100/36 11/101/36 +f 24/102/37 31/103/37 37/104/37 +f 31/105/38 10/106/38 37/107/38 +f 32/101/39 36/108/39 10/109/39 +f 32/110/40 29/93/40 36/111/40 +f 29/39/41 9/22/41 36/112/41 +f 30/113/42 35/114/42 9/115/42 +f 30/116/43 27/117/43 35/118/43 +f 27/29/44 8/119/44 35/120/44 +f 28/121/45 34/122/45 8/106/45 +f 28/110/46 25/123/46 34/124/46 +f 25/125/47 7/126/47 34/127/47 +f 26/128/48 33/129/48 7/130/48 +f 26/131/49 23/132/49 33/133/49 +f 23/134/50 11/135/50 33/17/50 +f 31/136/51 32/137/51 10/138/51 +f 31/62/52 22/139/52 32/104/52 +f 22/140/53 5/141/53 32/142/53 +f 29/143/54 30/127/54 9/144/54 +f 29/131/55 21/145/55 30/146/55 +f 21/121/56 4/147/56 30/148/56 +f 27/149/57 28/150/57 8/151/57 +f 27/103/58 19/152/58 28/153/58 +f 19/154/59 3/155/59 28/156/59 +f 25/157/60 26/158/60 7/159/60 +f 25/132/61 15/160/61 26/161/61 +f 15/162/62 2/163/62 26/164/62 +f 23/165/63 24/166/63 11/119/63 +f 23/167/64 16/117/64 24/168/64 +f 16/169/65 6/170/65 24/171/65 +f 17/172/66 22/173/66 6/174/66 +f 17/175/67 20/160/67 22/176/67 +f 20/177/68 5/178/68 22/9/68 +f 20/179/69 21/180/69 5/181/69 +f 20/182/70 18/183/70 21/94/70 +f 18/73/71 4/184/71 21/185/71 +f 18/186/72 19/187/72 4/188/72 +f 18/189/73 13/190/73 19/191/73 +f 13/192/74 3/193/74 19/194/74 +f 16/195/75 17/196/75 6/197/75 +f 16/198/76 14/68/76 17/199/76 +f 14/36/77 1/200/77 17/201/77 +f 13/202/78 15/203/78 3/204/78 +f 13/168/79 14/189/79 15/205/79 +f 14/206/80 2/207/80 15/208/80 diff --git a/assets/hbm/models/TestObj.obj b/assets/hbm/models/TestObj.obj new file mode 100644 index 000000000..a79df2c5a --- /dev/null +++ b/assets/hbm/models/TestObj.obj @@ -0,0 +1,98 @@ +# Blender v2.70 (sub 0) OBJ File: '' +# www.blender.org +o Cube +v 0.500000 0.000000 -0.500000 +v 0.500000 0.000000 0.500000 +v -0.500000 0.000000 0.500000 +v -0.500000 0.000000 -0.500000 +v 0.500000 3.000000 -0.500000 +v 0.500000 3.000000 0.500000 +v -0.500000 3.000000 0.500000 +v -0.500000 3.000000 -0.500000 +v 0.000000 0.750000 -0.250000 +v 0.500000 2.250000 -0.500000 +v 0.500000 2.250000 0.500000 +v 0.500000 0.750000 -0.500000 +v 0.500000 0.750000 0.500000 +v -0.000000 0.750000 0.250000 +v -0.000000 2.250000 0.250000 +v 0.500000 2.250000 0.250000 +v 0.500000 0.750000 0.250000 +v 0.500000 0.750000 -0.250000 +v 0.500000 2.250000 -0.250000 +v 0.000000 2.250000 -0.250000 +vt 0.666667 0.400000 +vt 1.000000 0.400000 +vt 1.000000 0.800000 +vt 1.000000 0.000000 +vt 0.333333 0.400000 +vt 0.333333 0.000000 +vt 0.666667 0.000000 +vt 0.333333 0.500000 +vt 0.083333 0.300000 +vt 0.083333 0.400000 +vt 0.000000 0.400000 +vt 0.250000 0.400000 +vt 0.250000 0.300000 +vt 0.666667 0.800000 +vt 0.833333 0.800000 +vt 0.833333 1.000000 +vt 0.000000 0.800000 +vt 0.166667 0.800000 +vt 0.166667 1.000000 +vt 0.333333 0.800000 +vt 0.250000 0.000000 +vt 0.250000 0.100000 +vt 0.083333 0.100000 +vt 0.500000 0.800000 +vt 0.666667 1.000000 +vt 0.500000 1.000000 +vt 0.000000 0.000000 +vt 0.333333 0.700000 +vt 0.000000 1.000000 +vt 0.083333 0.000000 +vt 0.333333 1.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 1.000000 0.000000 +vn -1.000000 -0.000000 -0.000000 +vn -0.000000 -0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 1.000000 0.000000 0.000001 +s off +f 1/1/1 2/2/1 3/3/1 +f 7/4/2 6/2/2 5/1/2 +f 7/5/3 8/6/3 4/7/3 +f 11/8/4 6/5/4 7/1/4 +f 17/9/5 13/10/5 2/11/5 +f 6/5/5 11/12/5 16/13/5 +f 20/14/5 15/15/5 14/16/5 +f 17/17/6 14/18/6 15/19/6 +f 1/5/6 4/20/6 12/12/6 +f 10/21/5 19/22/5 18/23/5 +f 17/9/5 16/13/5 11/12/5 +f 19/19/4 20/18/4 9/20/4 +f 19/24/1 16/14/1 15/25/1 +f 17/20/2 18/24/2 9/26/2 +f 4/14/1 1/1/1 3/3/1 +f 8/7/2 7/4/2 5/1/2 +f 3/1/3 7/5/3 4/7/3 +f 17/9/5 1/27/5 18/23/5 +f 11/8/4 3/14/4 13/28/4 +f 9/25/5 20/14/5 14/16/5 +f 3/14/4 2/20/4 13/28/4 +f 11/8/4 7/1/4 3/14/4 +f 16/29/6 17/17/6 15/19/6 +f 1/27/5 12/30/5 18/23/5 +f 17/9/5 2/11/5 1/27/5 +f 5/6/7 6/5/7 16/13/7 +f 19/22/5 10/21/5 5/6/5 +f 19/22/5 5/6/5 16/13/5 +f 8/17/6 10/10/6 4/20/6 +f 8/17/6 5/11/6 10/10/6 +f 12/30/5 10/21/5 18/23/5 +f 4/20/6 10/10/6 12/12/6 +f 13/10/5 17/9/5 11/12/5 +f 18/31/4 19/19/4 9/20/4 +f 20/26/1 19/24/1 15/25/1 +f 14/31/2 17/20/2 9/26/2 diff --git a/assets/hbm/models/TheGadget2.obj b/assets/hbm/models/TheGadget2.obj new file mode 100644 index 000000000..7f13574d8 --- /dev/null +++ b/assets/hbm/models/TheGadget2.obj @@ -0,0 +1,1616 @@ +# Blender v2.70 (sub 0) OBJ File: 'TheGadget2.blend' +# www.blender.org +o Cylinder.002_Cylinder.004 +v -0.850000 1.000000 -0.650000 +v -0.750000 1.000000 -0.650000 +v -0.850000 0.751256 -0.600522 +v -0.750000 0.751256 -0.600522 +v -0.850000 0.540381 -0.459619 +v -0.750000 0.540381 -0.459619 +v -0.849999 0.399478 -0.248744 +v -0.749999 0.399478 -0.248744 +v -0.849999 0.350000 0.000000 +v -0.749999 0.350000 0.000000 +v -0.849999 0.399478 0.248744 +v -0.749999 0.399478 0.248744 +v -0.850000 0.540381 0.459619 +v -0.750000 0.540381 0.459619 +v -0.850000 0.751256 0.600522 +v -0.750000 0.751256 0.600522 +v -0.850000 1.000000 0.650000 +v -0.750000 1.000000 0.650000 +v -0.850000 1.248744 0.600522 +v -0.750000 1.248744 0.600522 +v -0.850000 1.459619 0.459620 +v -0.750000 1.459619 0.459620 +v -0.850001 1.600522 0.248744 +v -0.750001 1.600522 0.248744 +v -0.850001 1.650000 -0.000000 +v -0.750001 1.650000 -0.000000 +v -0.850001 1.600522 -0.248744 +v -0.750001 1.600522 -0.248744 +v -0.850000 1.459619 -0.459620 +v -0.750000 1.459619 -0.459620 +v -0.850000 1.248744 -0.600522 +v -0.750000 1.248744 -0.600522 +v 0.750000 1.000000 -0.650000 +v 0.850000 1.000000 -0.650000 +v 0.750000 0.751256 -0.600522 +v 0.850000 0.751256 -0.600522 +v 0.750001 0.540381 -0.459619 +v 0.850000 0.540381 -0.459619 +v 0.750001 0.399478 -0.248744 +v 0.850001 0.399478 -0.248744 +v 0.750001 0.350000 0.000000 +v 0.850001 0.350000 0.000000 +v 0.750001 0.399478 0.248744 +v 0.850001 0.399478 0.248744 +v 0.750001 0.540381 0.459619 +v 0.850000 0.540381 0.459619 +v 0.750000 0.751256 0.600522 +v 0.850000 0.751256 0.600522 +v 0.750000 1.000000 0.650000 +v 0.850000 1.000000 0.650000 +v 0.750000 1.248744 0.600522 +v 0.850000 1.248744 0.600522 +v 0.750000 1.459619 0.459620 +v 0.849999 1.459619 0.459620 +v 0.749999 1.600522 0.248744 +v 0.849999 1.600522 0.248744 +v 0.749999 1.650000 -0.000000 +v 0.849999 1.650000 -0.000000 +v 0.749999 1.600522 -0.248744 +v 0.849999 1.600522 -0.248744 +v 0.750000 1.459619 -0.459620 +v 0.849999 1.459619 -0.459620 +v 0.750000 1.248744 -0.600522 +v 0.850000 1.248744 -0.600522 +v -1.500000 0.999999 -0.500000 +v 1.000000 1.000001 -0.500000 +v -1.500000 0.808657 -0.461940 +v 1.000000 0.808659 -0.461940 +v -1.500000 0.646446 -0.353553 +v 1.000000 0.646448 -0.353553 +v -1.500000 0.538059 -0.191342 +v 1.000000 0.538061 -0.191342 +v -1.500000 0.499999 0.000000 +v 1.000000 0.500001 0.000000 +v -1.500000 0.538059 0.191342 +v 1.000000 0.538061 0.191342 +v -1.500000 0.646446 0.353553 +v 1.000000 0.646448 0.353553 +v -1.500000 0.808657 0.461940 +v 1.000000 0.808659 0.461940 +v -1.500000 0.999999 0.500000 +v 1.000000 1.000001 0.500000 +v -1.500000 1.191340 0.461940 +v 1.000000 1.191343 0.461940 +v -1.500000 1.353552 0.353554 +v 1.000000 1.353554 0.353554 +v -1.500000 1.461939 0.191342 +v 0.999999 1.461941 0.191342 +v -1.500000 1.499999 -0.000000 +v 0.999999 1.500001 -0.000000 +v -1.500000 1.461939 -0.191342 +v 0.999999 1.461941 -0.191342 +v -1.500000 1.353552 -0.353554 +v 1.000000 1.353554 -0.353554 +v -1.500000 1.191340 -0.461940 +v 1.000000 1.191343 -0.461940 +v -0.750000 1.000000 -0.800000 +v -0.650000 1.000000 -0.800000 +v -0.750000 0.693853 -0.739104 +v -0.650000 0.693853 -0.739104 +v -0.749999 0.434314 -0.565685 +v -0.649999 0.434315 -0.565685 +v -0.749999 0.260896 -0.306147 +v -0.649999 0.260896 -0.306147 +v -0.749999 0.200000 0.000000 +v -0.649999 0.200000 0.000000 +v -0.749999 0.260896 0.306147 +v -0.649999 0.260896 0.306147 +v -0.749999 0.434314 0.565685 +v -0.649999 0.434315 0.565685 +v -0.750000 0.693853 0.739104 +v -0.650000 0.693853 0.739104 +v -0.750000 1.000000 0.800000 +v -0.650000 1.000000 0.800000 +v -0.750000 1.306147 0.739104 +v -0.650000 1.306147 0.739104 +v -0.750001 1.565685 0.565686 +v -0.650001 1.565685 0.565686 +v -0.750001 1.739104 0.306147 +v -0.650001 1.739104 0.306147 +v -0.750001 1.800000 -0.000000 +v -0.650001 1.800000 -0.000000 +v -0.750001 1.739104 -0.306147 +v -0.650001 1.739104 -0.306147 +v -0.750001 1.565685 -0.565686 +v -0.650001 1.565685 -0.565686 +v -0.750000 1.306146 -0.739104 +v -0.650000 1.306146 -0.739104 +v 0.650000 1.000000 -0.800000 +v 0.750000 1.000000 -0.800000 +v 0.650000 0.693853 -0.739104 +v 0.750000 0.693853 -0.739104 +v 0.650001 0.434314 -0.565685 +v 0.750000 0.434315 -0.565685 +v 0.650001 0.260896 -0.306147 +v 0.750001 0.260896 -0.306147 +v 0.650001 0.200000 0.000000 +v 0.750001 0.200000 0.000000 +v 0.650001 0.260896 0.306147 +v 0.750001 0.260896 0.306147 +v 0.650001 0.434314 0.565685 +v 0.750000 0.434315 0.565685 +v 0.650000 0.693853 0.739104 +v 0.750000 0.693853 0.739104 +v 0.650000 1.000000 0.800000 +v 0.750000 1.000000 0.800000 +v 0.650000 1.306147 0.739104 +v 0.750000 1.306147 0.739104 +v 0.650000 1.565685 0.565686 +v 0.749999 1.565685 0.565686 +v 0.649999 1.739104 0.306147 +v 0.749999 1.739104 0.306147 +v 0.649999 1.800000 -0.000000 +v 0.749999 1.800000 -0.000000 +v 0.649999 1.739104 -0.306147 +v 0.749999 1.739104 -0.306147 +v 0.650000 1.565685 -0.565686 +v 0.749999 1.565685 -0.565686 +v 0.650000 1.306146 -0.739104 +v 0.750000 1.306146 -0.739104 +v 0.000000 0.000000 0.000000 +v 0.723607 0.552781 0.525725 +v -0.276388 0.552780 0.850649 +v -0.894426 0.552784 0.000000 +v -0.276388 0.552780 -0.850649 +v 0.723607 0.552781 -0.525725 +v 0.276388 1.447220 0.850649 +v -0.723607 1.447219 0.525725 +v -0.723607 1.447219 -0.525725 +v 0.276388 1.447220 -0.850649 +v 0.894426 1.447216 0.000000 +v 0.000000 2.000000 0.000000 +v -0.162456 0.149346 0.499995 +v 0.425323 0.149346 0.309011 +v 0.262869 0.474262 0.809012 +v 0.850648 0.474264 0.000000 +v 0.425323 0.149346 -0.309011 +v -0.525730 0.149348 0.000000 +v -0.688189 0.474264 0.499997 +v -0.162456 0.149346 -0.499995 +v -0.688189 0.474264 -0.499997 +v 0.262869 0.474262 -0.809012 +v 0.951058 1.000000 0.309013 +v 0.951058 1.000000 -0.309013 +v 0.000000 1.000000 1.000000 +v 0.587786 1.000000 0.809017 +v -0.951058 1.000000 0.309013 +v -0.587786 1.000000 0.809017 +v -0.587786 1.000000 -0.809017 +v -0.951058 1.000000 -0.309013 +v 0.587786 1.000000 -0.809017 +v 0.000000 1.000000 -1.000000 +v 0.688189 1.525736 0.499997 +v -0.262869 1.525738 0.809012 +v -0.850648 1.525736 0.000000 +v -0.262869 1.525738 -0.809012 +v 0.688189 1.525736 -0.499997 +v 0.162456 1.850654 0.499995 +v 0.525730 1.850652 0.000000 +v -0.425323 1.850654 0.309011 +v -0.425323 1.850654 -0.309011 +v 0.162456 1.850654 -0.499995 +v -1.187500 0.999999 -0.500000 +v -1.187500 0.808657 -0.461940 +v -1.187500 0.646446 -0.353553 +v -1.187500 0.538059 -0.191342 +v -1.187500 0.499999 0.000000 +v -1.187500 0.538059 0.191342 +v -1.187500 0.646446 0.353553 +v -1.187500 0.808657 0.461940 +v -1.187500 0.999999 0.500000 +v -1.187500 1.191341 0.461940 +v -1.187500 1.353552 0.353554 +v -1.187500 1.461939 0.191342 +v -1.187500 1.499999 -0.000000 +v -1.187500 1.461939 -0.191342 +v -1.187500 1.353552 -0.353554 +v -1.187500 1.191341 -0.461940 +vt 0.954445 0.915707 +vt 0.941459 0.915707 +vt 0.941459 0.882608 +vt 0.941459 0.877479 +vt 0.941459 0.844380 +vt 0.954445 0.844380 +vt 0.796072 0.927548 +vt 0.796072 0.894449 +vt 0.809058 0.894449 +vt 0.223742 0.946223 +vt 0.223742 0.913124 +vt 0.236729 0.913124 +vt 0.928624 0.190559 +vt 0.928624 0.157460 +vt 0.941611 0.157460 +vt 0.209444 0.946223 +vt 0.209444 0.913124 +vt 0.222430 0.913124 +vt 0.321191 0.950380 +vt 0.308205 0.950380 +vt 0.308205 0.917281 +vt 0.954446 0.806152 +vt 0.941459 0.806152 +vt 0.941459 0.773052 +vt 0.694459 0.938495 +vt 0.694459 0.905396 +vt 0.707445 0.905396 +vt 0.129689 0.914081 +vt 0.129689 0.947180 +vt 0.116702 0.947180 +vt 0.308205 0.884181 +vt 0.321191 0.884181 +vt 0.321191 0.917281 +vt 0.005275 0.913124 +vt 0.018262 0.913124 +vt 0.018262 0.946223 +vt 0.005275 0.880025 +vt 0.018262 0.880025 +vt 0.335490 0.917281 +vt 0.335490 0.950380 +vt 0.322504 0.950380 +vt 0.074105 0.422270 +vt 0.191188 0.445675 +vt 0.167899 0.563339 +vt 0.712194 0.931183 +vt 0.725180 0.931183 +vt 0.725180 0.964282 +vt 0.335490 0.884181 +vt 0.322503 0.917281 +vt 0.573167 0.304552 +vt 0.560563 0.335132 +vt 0.573167 0.271453 +vt 0.945391 0.119232 +vt 0.945391 0.086132 +vt 0.958377 0.086132 +vt 0.674509 0.938495 +vt 0.674509 0.905396 +vt 0.687496 0.905396 +vt 0.311513 0.812793 +vt 0.311513 0.779694 +vt 0.324499 0.779694 +vt 0.324499 0.812793 +vt 0.324499 0.779693 +vt 0.337486 0.779693 +vt 0.120707 0.812793 +vt 0.107720 0.812793 +vt 0.107720 0.779693 +vt 0.915638 0.190559 +vt 0.096753 0.947180 +vt 0.096753 0.914081 +vt 0.109739 0.914081 +vt 0.954446 0.811280 +vt 0.954446 0.844380 +vt 0.707445 0.938495 +vt 0.707445 0.971594 +vt 0.694459 0.971594 +vt 0.945391 0.157460 +vt 0.945391 0.124360 +vt 0.958377 0.124360 +vt 0.902651 0.190559 +vt 0.902651 0.157460 +vt 0.915638 0.157460 +vt 0.407585 0.706344 +vt 0.420572 0.706344 +vt 0.420572 0.739443 +vt 0.712194 0.898084 +vt 0.725180 0.898084 +vt 0.954597 0.157460 +vt 0.954597 0.190559 +vt 0.941611 0.190559 +vt 0.407585 0.509354 +vt 0.394981 0.539934 +vt 0.371692 0.563339 +vt 0.809058 0.927548 +vt 0.809058 0.960648 +vt 0.796072 0.960648 +vt 0.120707 0.779693 +vt 0.133693 0.779693 +vt 0.537273 0.383870 +vt 0.560563 0.407275 +vt 0.573167 0.437854 +vt 0.851858 0.531074 +vt 0.826522 0.531074 +vt 0.826522 0.245586 +vt 0.775851 0.204802 +vt 0.801187 0.204802 +vt 0.801187 0.490290 +vt 0.775851 0.531074 +vt 0.750516 0.531074 +vt 0.750516 0.245586 +vt 0.229128 0.735876 +vt 0.203793 0.735876 +vt 0.203793 0.450388 +vt 0.699845 0.245586 +vt 0.699845 0.531074 +vt 0.674509 0.531074 +vt 0.826522 0.204802 +vt 0.725180 0.531074 +vt 0.750516 0.857346 +vt 0.725180 0.857346 +vt 0.725180 0.571858 +vt 0.699845 0.857346 +vt 0.674509 0.857346 +vt 0.674509 0.571858 +vt 0.623838 0.531074 +vt 0.598502 0.531074 +vt 0.598502 0.245586 +vt 0.649173 0.531074 +vt 0.649173 0.245586 +vt 0.038211 0.735876 +vt 0.012876 0.735876 +vt 0.012876 0.450388 +vt 0.725180 0.204802 +vt 0.750516 0.204802 +vt 0.750516 0.490290 +vt 0.417281 0.565352 +vt 0.483938 0.537605 +vt 0.435196 0.655863 +vt 0.649173 0.857346 +vt 0.649173 0.571858 +vt 0.573167 0.531074 +vt 0.573167 0.245586 +vt 0.483938 0.204802 +vt 0.407585 0.153532 +vt 0.534956 0.128071 +vt 0.324499 0.738956 +vt 0.324499 0.698218 +vt 0.337486 0.698218 +vt 0.712831 0.694025 +vt 0.712831 0.734762 +vt 0.699845 0.734762 +vt 0.712831 0.775500 +vt 0.699845 0.775500 +vt 0.324499 0.657481 +vt 0.311513 0.698218 +vt 0.337486 0.657481 +vt 0.120707 0.738956 +vt 0.407585 0.665606 +vt 0.420572 0.665606 +vt 0.120707 0.698218 +vt 0.133693 0.698218 +vt 0.699845 0.653287 +vt 0.699845 0.612549 +vt 0.712831 0.612549 +vt 0.107720 0.738956 +vt 0.107720 0.698218 +vt 0.712831 0.531074 +vt 0.712831 0.571812 +vt 0.699845 0.571812 +vt 0.120707 0.657481 +vt 0.338077 0.657481 +vt 0.325090 0.657481 +vt 0.325090 0.616743 +vt 0.120707 0.616743 +vt 0.133693 0.616743 +vt 0.133693 0.657481 +vt 0.188280 0.044395 +vt 0.081628 0.204802 +vt 0.000000 0.082032 +vt 0.392072 0.249197 +vt 0.363409 0.394014 +vt 0.219305 0.365208 +vt 0.120707 0.576005 +vt 0.107720 0.616743 +vt 0.324499 0.616743 +vt 0.311513 0.657481 +vt 0.712831 0.816238 +vt 0.699845 0.816237 +vt 0.699845 0.694025 +vt 0.712831 0.653287 +vt 0.311513 0.738956 +vt 0.133693 0.738956 +vt 0.107720 0.657481 +vt 0.902651 0.198198 +vt 0.889665 0.198198 +vt 0.889665 0.157460 +vt 0.712194 0.857346 +vt 0.699845 0.856975 +vt 0.699845 0.816238 +vt 0.121297 0.616743 +vt 0.121297 0.576005 +vt 0.134284 0.576005 +vt 0.311513 0.616743 +vt 0.311513 0.576005 +vt 0.324499 0.576005 +vt 0.325090 0.576005 +vt 0.338077 0.576005 +vt 0.338077 0.616743 +vt 0.392072 0.160406 +vt 0.363409 0.189212 +vt 0.325957 0.204802 +vt 0.796072 0.853711 +vt 0.081628 0.409604 +vt 0.044177 0.220391 +vt 0.188280 0.249197 +vt 0.941459 0.956036 +vt 1.000000 0.915707 +vt 1.000000 0.996365 +vt 0.918059 0.316459 +vt 0.976600 0.276129 +vt 0.976600 0.356788 +vt 0.984258 0.388420 +vt 0.984258 0.459747 +vt 0.918058 0.414142 +vt 0.933801 0.652063 +vt 0.992341 0.611733 +vt 0.992341 0.692392 +vt 0.937191 0.045801 +vt 0.995731 0.005472 +vt 0.995731 0.086131 +vt 0.918059 0.285461 +vt 0.918059 0.356788 +vt 0.851858 0.311183 +vt 0.875259 0.773052 +vt 0.875259 0.844380 +vt 0.809058 0.798773 +vt 0.875259 0.915707 +vt 0.809058 0.889986 +vt 0.476413 0.786594 +vt 0.534956 0.746265 +vt 0.534956 0.826925 +vt 0.601157 0.779583 +vt 0.601157 0.850910 +vt 0.534956 0.805305 +vt 0.750516 0.571403 +vt 0.809058 0.531074 +vt 0.809058 0.611733 +vt 0.738588 0.076800 +vt 0.672388 0.051077 +vt 0.738588 0.005472 +vt 0.976599 0.276129 +vt 0.910399 0.250406 +vt 0.976599 0.204802 +vt 0.672388 0.005472 +vt 0.672388 0.076800 +vt 0.606188 0.031195 +vt 0.750516 0.732723 +vt 0.809058 0.692393 +vt 0.809058 0.773052 +vt 0.404277 0.817983 +vt 0.404277 0.889310 +vt 0.338077 0.843704 +vt 0.875259 0.571403 +vt 0.933801 0.531074 +vt 0.933801 0.611733 +vt 0.476413 0.947913 +vt 0.534954 0.907584 +vt 0.534954 0.988243 +vt 0.674509 0.928673 +vt 0.608309 0.883068 +vt 0.875259 0.798775 +vt 0.875259 0.889985 +vt 0.534956 0.739253 +vt 0.604463 0.698924 +vt 0.604463 0.779583 +vt 0.879191 0.131738 +vt 0.918058 0.505353 +vt 0.984258 0.531074 +vt 0.311512 0.737324 +vt 0.311512 0.817983 +vt 0.242004 0.777654 +vt 0.608310 0.954396 +vt 0.674509 1.000000 +vt 0.404277 0.960638 +vt 0.338078 0.915033 +vt 0.673974 0.117131 +vt 0.743482 0.076801 +vt 0.743482 0.157460 +vt 0.308205 0.817983 +vt 0.308205 0.889310 +vt 0.242004 0.863588 +vt 0.410213 0.872531 +vt 0.476413 0.826925 +vt 0.476413 0.898253 +vt 0.465448 0.705935 +vt 0.534956 0.665606 +vt 0.476413 0.969580 +vt 0.410214 0.943858 +vt 0.933801 0.692392 +vt 0.875259 0.652063 +vt 0.338077 0.777653 +vt 0.407585 0.737324 +vt 0.407585 0.817982 +vt 0.870991 0.031195 +vt 0.937191 0.005472 +vt 0.937191 0.076800 +vt 0.096753 0.969968 +vt 0.030553 0.924364 +vt 0.096753 0.898641 +vt 0.242004 0.696996 +vt 0.311512 0.656665 +vt 0.791381 0.857346 +vt 0.791381 0.928673 +vt 0.725180 0.902951 +vt 0.804789 0.076800 +vt 0.738588 0.031196 +vt 0.804789 0.005472 +vt 0.407585 0.576005 +vt 0.407585 0.656665 +vt 0.338077 0.616335 +vt 0.870991 0.005472 +vt 0.870991 0.076800 +vt 0.804789 0.051078 +vt 0.473786 0.076801 +vt 0.407585 0.031195 +vt 0.473786 0.005473 +vt 0.604464 0.537605 +vt 0.604464 0.618265 +vt 0.534956 0.577935 +vt 0.417871 0.786596 +vt 0.476413 0.746265 +vt 0.539987 0.051078 +vt 0.606188 0.005472 +vt 0.606188 0.076800 +vt 0.604465 0.157460 +vt 0.534956 0.117131 +vt 0.604465 0.076801 +vt 0.476413 0.867255 +vt 0.534954 0.826925 +vt 0.809058 0.853711 +vt 0.750516 0.813383 +vt 0.673974 0.157460 +vt 0.604465 0.117131 +vt 0.673974 0.076801 +vt 0.203793 0.817981 +vt 0.203793 0.889308 +vt 0.137592 0.863587 +vt 0.750516 0.652064 +vt 0.311513 0.656665 +vt 0.242004 0.616335 +vt 0.534956 0.876630 +vt 0.601156 0.850910 +vt 0.601156 0.922237 +vt 0.809058 0.657339 +vt 0.875259 0.611733 +vt 0.875259 0.683061 +vt 0.203793 0.656665 +vt 0.134284 0.616336 +vt 0.203793 0.576005 +vt 0.812990 0.111853 +vt 0.879191 0.086132 +vt 0.879191 0.157460 +vt 0.918058 0.459747 +vt 0.851858 0.414140 +vt 0.918058 0.388419 +vt 0.203793 0.737322 +vt 0.134283 0.696994 +vt 0.910399 0.285461 +vt 0.851858 0.245130 +vt 0.910399 0.204802 +vt 0.809058 0.747332 +vt 0.875259 0.701725 +vt 0.534956 0.658593 +vt 0.604464 0.698924 +vt 0.809058 0.556796 +vt 0.875259 0.531074 +vt 0.875259 0.602401 +vt 0.918058 0.531074 +vt 0.851858 0.485467 +vt 0.107720 0.656665 +vt 0.038211 0.616335 +vt 0.107720 0.576005 +vt 0.539987 0.005472 +vt 0.539987 0.076801 +vt 0.473786 0.051079 +vt 0.941459 0.987033 +vt 0.875259 0.941428 +vt 0.107719 0.656665 +vt 0.107719 0.737324 +vt 0.038211 0.696995 +vt 0.308205 0.960637 +vt 0.242005 0.934915 +vt 0.725180 0.974278 +vt 0.791380 0.928673 +vt 0.791380 0.999999 +vt 0.134285 0.777651 +vt 0.875259 0.727447 +vt 0.941459 0.701725 +vt 0.941459 0.773053 +vt 1.000000 0.692395 +vt 1.000000 0.773052 +vt 0.941459 0.732724 +vt 0.107719 0.817982 +vt 0.038211 0.777653 +vt 0.601156 0.993563 +vt 0.534956 0.967842 +vt 0.992342 0.531074 +vt 0.992342 0.611733 +vt 0.933801 0.571404 +vt 0.743482 0.117131 +vt 0.812990 0.076801 +vt 0.812990 0.157460 +vt 0.137593 0.915030 +vt 0.203793 0.960635 +vt 0.809058 0.961312 +vt 0.875259 0.987034 +vt 0.338077 0.696995 +vt 0.038211 0.858311 +vt 0.096753 0.817982 +vt 0.209444 0.883844 +vt 0.236729 0.880025 +vt 0.308205 0.821802 +vt 0.335490 0.817983 +vt 0.335490 0.851082 +vt 0.807809 0.161279 +vt 0.835094 0.157460 +vt 0.835094 0.190559 +vt 0.753238 0.161279 +vt 0.780524 0.157460 +vt 0.780524 0.190559 +vt 0.698668 0.161279 +vt 0.725953 0.157460 +vt 0.725953 0.190559 +vt 0.644097 0.161279 +vt 0.671382 0.157460 +vt 0.671382 0.190559 +vt 0.616812 0.161279 +vt 0.644097 0.157460 +vt 0.644097 0.190559 +vt 0.534956 0.161279 +vt 0.562241 0.157460 +vt 0.562241 0.190559 +vt 0.616812 0.157460 +vt 0.616812 0.190559 +vt 0.589526 0.186740 +vt 0.589526 0.161279 +vt 0.889665 0.190559 +vt 0.862379 0.186740 +vt 0.807809 0.157460 +vt 0.807809 0.190559 +vt 0.780524 0.186740 +vt 0.862379 0.157460 +vt 0.862379 0.190559 +vt 0.835094 0.186740 +vt 0.308205 0.880362 +vt 0.308205 0.854901 +vt 0.753238 0.157460 +vt 0.753238 0.190559 +vt 0.725953 0.186740 +vt 0.698668 0.157460 +vt 0.698668 0.190559 +vt 0.671382 0.186740 +vt 0.851858 0.204802 +vt 0.851858 0.245586 +vt 0.775851 0.490290 +vt 0.801187 0.531074 +vt 0.775851 0.245586 +vt 0.229128 0.450388 +vt 0.203793 0.409604 +vt 0.674509 0.245586 +vt 0.674509 0.204802 +vt 0.826522 0.490290 +vt 0.725180 0.245586 +vt 0.699845 0.204802 +vt 0.750516 0.571858 +vt 0.699845 0.571858 +vt 0.623838 0.204802 +vt 0.623838 0.245586 +vt 0.649173 0.204802 +vt 0.038211 0.450388 +vt 0.012876 0.409604 +vt 0.725180 0.490290 +vt 0.573167 0.204802 +vt 0.125889 0.914081 +vt 0.100553 0.914081 +vt 0.096753 0.866031 +vt 0.637401 0.825903 +vt 0.604464 0.825903 +vt 0.608265 0.777853 +vt 0.637401 0.585655 +vt 0.604464 0.585655 +vt 0.608265 0.537605 +vt 0.637401 0.633704 +vt 0.604464 0.633704 +vt 0.608265 0.585655 +vt 0.604464 0.729803 +vt 0.608265 0.681754 +vt 0.633600 0.681754 +vt 0.604464 0.681754 +vt 0.608265 0.633704 +vt 0.633600 0.633704 +vt 0.005275 0.783925 +vt 0.009075 0.735876 +vt 0.034411 0.735876 +vt 0.465448 0.665606 +vt 0.461647 0.713656 +vt 0.436312 0.713656 +vt 0.637401 0.729803 +vt 0.633600 0.777853 +vt 0.005275 0.831975 +vt 0.009075 0.783925 +vt 0.034411 0.783925 +vt 0.678309 0.857346 +vt 0.703645 0.857346 +vt 0.203793 0.831975 +vt 0.207593 0.783925 +vt 0.232928 0.783925 +vt 0.203793 0.783925 +vt 0.207593 0.735876 +vt 0.232928 0.735876 +vt 0.038211 0.880025 +vt 0.009075 0.831975 +vt 0.129689 0.866031 +vt 0.100553 0.817982 +vt 0.236729 0.831975 +vt 0.232929 0.880025 +vt 0.954445 0.882608 +vt 0.954445 0.877479 +vt 0.236729 0.946223 +vt 0.222430 0.946223 +vt 0.954446 0.773052 +vt 0.116702 0.914081 +vt 0.005275 0.946223 +vt 0.018261 0.913124 +vt 0.322504 0.917281 +vt 0.137470 0.576005 +vt 0.104534 0.576005 +vt 0.050815 0.539934 +vt 0.074105 0.563339 +vt 0.038211 0.509354 +vt 0.038211 0.476255 +vt 0.050815 0.445675 +vt 0.104534 0.409604 +vt 0.137470 0.409604 +vt 0.167899 0.422270 +vt 0.203793 0.476255 +vt 0.203793 0.509354 +vt 0.191188 0.539934 +vt 0.322503 0.884181 +vt 0.712194 0.964282 +vt 0.420189 0.335132 +vt 0.407585 0.304552 +vt 0.407585 0.271453 +vt 0.506844 0.371203 +vt 0.506844 0.204802 +vt 0.420189 0.240873 +vt 0.473908 0.204802 +vt 0.537273 0.217468 +vt 0.560563 0.240873 +vt 0.958377 0.119232 +vt 0.537273 0.358537 +vt 0.473908 0.371203 +vt 0.443479 0.358537 +vt 0.443479 0.217468 +vt 0.687496 0.938495 +vt 0.337486 0.812793 +vt 0.109739 0.947180 +vt 0.941459 0.811280 +vt 0.958377 0.157460 +vt 0.407585 0.739443 +vt 0.341263 0.576005 +vt 0.308326 0.576005 +vt 0.277897 0.563339 +vt 0.254608 0.539934 +vt 0.242004 0.476255 +vt 0.277897 0.422270 +vt 0.242004 0.509354 +vt 0.254608 0.445675 +vt 0.308326 0.409604 +vt 0.341263 0.409604 +vt 0.371692 0.422270 +vt 0.394981 0.445675 +vt 0.407585 0.476255 +vt 0.133693 0.812793 +vt 0.420189 0.407275 +vt 0.443479 0.383870 +vt 0.420189 0.501534 +vt 0.573167 0.470954 +vt 0.560563 0.501534 +vt 0.537273 0.524938 +vt 0.506844 0.537605 +vt 0.473908 0.537605 +vt 0.443479 0.524938 +vt 0.407585 0.470954 +vt 0.407585 0.437854 +vt 0.458603 0.665606 +vt 0.483938 0.665606 +vt 0.507345 0.655863 +vt 0.507345 0.547348 +vt 0.417281 0.637859 +vt 0.407585 0.614336 +vt 0.407585 0.588875 +vt 0.435196 0.547348 +vt 0.458603 0.537605 +vt 0.525260 0.565352 +vt 0.534956 0.588875 +vt 0.534956 0.614336 +vt 0.525260 0.637859 +vt 0.458603 0.076801 +vt 0.483938 0.076801 +vt 0.507345 0.086544 +vt 0.435196 0.086544 +vt 0.525260 0.104548 +vt 0.534956 0.153532 +vt 0.507345 0.195058 +vt 0.458603 0.204802 +vt 0.435196 0.195058 +vt 0.417281 0.177055 +vt 0.407585 0.128071 +vt 0.417281 0.104548 +vt 0.337486 0.738956 +vt 0.525260 0.177055 +vt 0.015513 0.044395 +vt 0.044177 0.015590 +vt 0.122165 0.000000 +vt 0.159616 0.015590 +vt 0.081628 0.000000 +vt 0.203793 0.082032 +vt 0.203793 0.122770 +vt 0.188280 0.160406 +vt 0.159616 0.189212 +vt 0.122165 0.204802 +vt 0.044177 0.189212 +vt 0.015513 0.160406 +vt 0.000000 0.122770 +vt 0.325957 0.409604 +vt 0.285421 0.409604 +vt 0.247969 0.394014 +vt 0.203793 0.327572 +vt 0.203793 0.286834 +vt 0.219305 0.249197 +vt 0.247969 0.220392 +vt 0.285420 0.204802 +vt 0.363408 0.220391 +vt 0.407585 0.327572 +vt 0.392072 0.365208 +vt 0.407585 0.286834 +vt 0.712831 0.856975 +vt 0.134284 0.616743 +vt 0.247969 0.189212 +vt 0.219305 0.160406 +vt 0.247969 0.015590 +vt 0.325957 0.000000 +vt 0.219305 0.044395 +vt 0.285421 0.000000 +vt 0.363409 0.015590 +vt 0.392072 0.044395 +vt 0.407585 0.082032 +vt 0.407585 0.122770 +vt 0.159616 0.394014 +vt 0.122165 0.409604 +vt 0.044177 0.394014 +vt 0.015513 0.365208 +vt 0.000000 0.327572 +vt 0.000000 0.286834 +vt 0.015513 0.249197 +vt 0.159616 0.220391 +vt 0.188280 0.365208 +vt 0.308205 0.847263 +vt 0.209444 0.909305 +vt 0.807809 0.186740 +vt 0.753238 0.186740 +vt 0.698668 0.186740 +vt 0.644097 0.186740 +vt 0.616812 0.186740 +vt 0.534956 0.186740 +vt 0.862379 0.161279 +vt 0.780524 0.161279 +vt 0.835094 0.161279 +vt 0.725953 0.161279 +vt 0.671382 0.161279 +vt 0.229128 0.409604 +vt 0.598502 0.204802 +vt 0.038211 0.409604 +vt 0.633600 0.537605 +vt 0.633600 0.585654 +vt 0.637401 0.681754 +vt 0.038211 0.783925 +vt 0.432511 0.665606 +vt 0.038211 0.831975 +vt 0.236729 0.783925 +vt 0.034411 0.831975 +vt 0.125889 0.817982 +vt 0.207593 0.880025 +vn 0.000000 -0.195090 -0.980785 +vn 0.000000 -0.555571 -0.831469 +vn 0.000001 -0.831470 -0.555570 +vn 0.000001 -0.980785 -0.195090 +vn 0.000001 -0.980785 0.195090 +vn 0.000001 -0.831470 0.555570 +vn 0.000001 -0.555571 0.831469 +vn 0.000000 -0.195090 0.980785 +vn -0.000000 0.195090 0.980785 +vn -0.000000 0.555569 0.831470 +vn -0.000001 0.831469 0.555571 +vn -0.000002 0.980785 0.195090 +vn -0.000001 0.980785 -0.195092 +vn -0.000001 0.831470 -0.555570 +vn 1.000000 0.000001 0.000000 +vn 0.000000 0.195090 -0.980785 +vn -0.000001 0.555570 -0.831470 +vn -1.000000 -0.000001 -0.000000 +vn 0.000001 -0.555570 -0.831469 +vn 0.000000 -0.555571 0.831469 +vn 0.000000 0.555570 0.831470 +vn -0.000001 0.980786 0.195088 +vn -0.000001 0.980785 -0.195091 +vn 1.000000 0.000004 0.000000 +vn -0.000001 0.555571 -0.831469 +vn 0.000000 -0.195091 -0.980785 +vn 0.000001 -0.555570 -0.831470 +vn 0.000001 -0.555570 0.831470 +vn 0.000000 -0.195091 0.980785 +vn -0.000001 0.555570 0.831470 +vn -0.000001 0.831469 0.555570 +vn -0.000001 0.980785 0.195091 +vn -0.000000 0.555570 -0.831470 +vn -0.000000 -0.555570 -0.831470 +vn 0.000000 -0.555570 0.831470 +vn 0.000000 0.831470 0.555570 +vn 0.000000 0.980785 0.195090 +vn 0.000000 0.980785 -0.195090 +vn 0.000000 0.831470 -0.555570 +vn -0.000001 0.555569 -0.831470 +vn -0.000001 0.831470 0.555570 +vn 0.000000 0.980785 -0.195091 +vn 1.000000 -0.000001 0.000000 +vn 0.102381 -0.943524 0.315090 +vn 0.700224 -0.661699 0.268032 +vn -0.268034 -0.943523 0.194736 +vn -0.268034 -0.943523 -0.194736 +vn 0.102381 -0.943524 -0.315090 +vn 0.904989 -0.330385 0.268032 +vn 0.024747 -0.330386 0.943521 +vn -0.889697 -0.330385 0.315095 +vn -0.574602 -0.330388 -0.748783 +vn 0.534576 -0.330387 -0.777865 +vn 0.802609 -0.125627 0.583126 +vn -0.306569 -0.125629 0.943522 +vn -0.992077 -0.125628 0.000000 +vn -0.306569 -0.125629 -0.943522 +vn 0.802609 -0.125627 -0.583126 +vn 0.408946 0.661699 0.628425 +vn -0.471300 0.661699 0.583122 +vn -0.700224 0.661699 -0.268032 +vn 0.038530 0.661699 -0.748779 +vn 0.724042 0.661695 -0.194736 +vn -0.038531 -0.661699 0.748779 +vn 0.187594 -0.794658 0.577345 +vn 0.471300 -0.661699 0.583122 +vn 0.700224 -0.661699 -0.268032 +vn 0.607060 -0.794656 0.000000 +vn 0.331305 -0.943524 0.000000 +vn -0.724042 -0.661695 0.194736 +vn -0.491120 -0.794657 0.356821 +vn -0.408946 -0.661698 0.628425 +vn -0.408946 -0.661698 -0.628425 +vn -0.491120 -0.794657 -0.356821 +vn -0.724042 -0.661695 -0.194736 +vn 0.471300 -0.661699 -0.583122 +vn 0.187594 -0.794658 -0.577345 +vn -0.038531 -0.661699 -0.748779 +vn 0.992077 0.125628 0.000000 +vn 0.982246 -0.187598 0.000000 +vn 0.904989 -0.330385 -0.268032 +vn 0.306569 0.125629 0.943522 +vn 0.303531 -0.187597 0.934171 +vn 0.534576 -0.330387 0.777865 +vn -0.802609 0.125627 0.583126 +vn -0.794656 -0.187595 0.577348 +vn -0.574602 -0.330388 0.748783 +vn -0.802609 0.125627 -0.583126 +vn -0.794656 -0.187595 -0.577348 +vn -0.889697 -0.330385 -0.315095 +vn 0.306569 0.125629 -0.943522 +vn 0.303531 -0.187597 -0.934171 +vn 0.024747 -0.330386 -0.943521 +vn 0.574602 0.330388 0.748784 +vn 0.794656 0.187595 0.577348 +vn 0.889697 0.330385 0.315094 +vn -0.534576 0.330386 0.777865 +vn -0.303531 0.187597 0.934171 +vn -0.024747 0.330386 0.943521 +vn -0.904989 0.330385 -0.268032 +vn -0.982246 0.187598 0.000000 +vn -0.904989 0.330385 0.268032 +vn -0.024747 0.330386 -0.943521 +vn -0.303531 0.187597 -0.934171 +vn -0.534576 0.330386 -0.777865 +vn 0.889697 0.330385 -0.315094 +vn 0.794656 0.187595 -0.577348 +vn 0.574602 0.330388 -0.748784 +vn 0.268034 0.943523 0.194737 +vn 0.491119 0.794657 0.356822 +vn 0.724042 0.661695 0.194736 +vn -0.102381 0.943523 0.315090 +vn -0.187594 0.794657 0.577346 +vn 0.038531 0.661699 0.748779 +vn -0.331305 0.943524 0.000000 +vn -0.607061 0.794655 0.000000 +vn -0.700224 0.661699 0.268032 +vn -0.102381 0.943523 -0.315090 +vn -0.187594 0.794658 -0.577345 +vn -0.471300 0.661699 -0.583122 +vn 0.268034 0.943523 -0.194737 +vn 0.491119 0.794657 -0.356822 +vn 0.408946 0.661699 -0.628425 +vn 0.700212 0.700217 0.139282 +vn 0.700212 0.593615 0.396641 +vn 0.700213 0.396641 0.593614 +vn 0.700214 0.139282 0.700215 +vn 0.700215 -0.139280 0.700214 +vn 0.700217 -0.396638 0.593612 +vn 0.700217 -0.593610 0.396639 +vn 0.700218 -0.700212 0.139281 +vn 0.700218 -0.700211 -0.139281 +vn 0.700217 -0.593610 -0.396639 +vn 0.700211 0.700217 -0.139282 +vn 0.700212 0.593615 -0.396641 +vn 0.700213 0.396641 -0.593614 +vn 0.700214 0.139282 -0.700215 +vn 0.700215 -0.139280 -0.700214 +vn 0.700217 -0.396638 -0.593612 +vn 0.000001 -0.555571 -0.831469 +vn 0.000001 -0.980785 -0.195091 +vn -0.000000 0.555571 0.831469 +vn -0.399591 0.178838 -0.899080 +vn -0.399592 0.509287 -0.762203 +vn -0.399593 0.762202 -0.509287 +vn -0.399593 0.899079 -0.178838 +vn -0.399593 0.899079 0.178839 +vn -0.399592 0.762202 0.509288 +vn -0.399592 0.509287 0.762203 +vn -0.399591 0.178838 0.899080 +vn -0.399590 -0.178838 0.899080 +vn -0.399590 -0.509288 0.762203 +vn -0.399589 -0.762204 0.509288 +vn -0.399589 -0.899080 0.178838 +vn -0.399589 -0.899080 -0.178838 +vn -0.399589 -0.762203 -0.509288 +vn -0.399590 -0.509288 -0.762203 +vn -0.399591 -0.178838 -0.899080 +vn 0.000001 -0.195090 -0.980785 +vn 0.000001 -0.831469 0.555571 +vn 0.000001 -0.195090 0.980785 +vn -0.000001 0.195090 0.980785 +vn -0.000002 0.831470 0.555570 +vn -0.000002 0.980785 0.195089 +vn -0.000002 0.980785 -0.195089 +vn 1.000000 0.000002 0.000000 +vn -1.000000 -0.000002 0.000000 +vn -1.000000 -0.000000 0.000000 +vn -0.000001 0.555569 0.831470 +vn 0.000000 0.831469 0.555571 +vn -0.000001 0.980785 0.195092 +vn 1.000000 0.000000 0.000000 +vn -1.000000 -0.000001 0.000001 +vn -1.000000 -0.000002 -0.000001 +vn 0.000001 -0.980785 0.195091 +vn -0.000001 0.831471 0.555569 +vn 1.000000 0.000001 0.000001 +vn 1.000000 0.000001 -0.000002 +vn 1.000000 0.000006 -0.000001 +vn 1.000000 0.000002 0.000001 +vn -1.000000 0.000000 -0.000001 +vn -1.000000 0.000002 0.000003 +vn -1.000000 -0.000001 0.000002 +vn -1.000000 -0.000001 -0.000001 +vn -1.000000 0.000002 0.000001 +vn 0.000000 -0.831470 -0.555570 +vn 0.000000 -0.831469 0.555570 +vn -0.000001 0.555570 0.831469 +vn 0.000000 0.831469 0.555570 +vn 0.000000 0.980785 0.195091 +vn 0.000000 0.555570 -0.831469 +vn -1.000000 -0.000004 0.000000 +vn -1.000000 -0.000003 -0.000000 +vn -0.000001 0.980785 0.195090 +vn -0.000001 0.980785 -0.195090 +vn 0.000000 0.555571 -0.831469 +vn -1.000000 0.000000 0.000001 +vn -1.000000 0.000001 0.000000 +vn 0.700211 0.593616 0.396641 +vn 0.700212 0.700217 0.139281 +vn 0.700212 0.396641 0.593615 +vn 0.700216 -0.139281 0.700213 +vn 0.700216 -0.396638 0.593612 +vn 0.700217 -0.593611 0.396639 +vn 0.700217 -0.700212 0.139281 +vn 0.700217 -0.593611 -0.396639 +vn 0.700212 0.700217 -0.139282 +vn 0.700211 0.593616 -0.396641 +vn 0.700215 -0.139281 -0.700214 +vn 0.700216 -0.396638 -0.593612 +vn 0.000001 -0.831469 -0.555571 +vn -0.000001 0.831469 -0.555571 +vn -0.399592 0.178837 -0.899079 +vn -0.399592 0.762202 -0.509288 +vn -0.399592 0.899079 -0.178839 +vn -0.399593 0.899079 0.178838 +vn -0.399593 0.762202 0.509287 +vn -0.399591 0.178837 0.899080 +vn -0.399591 -0.178838 0.899080 +vn -0.399589 -0.762203 0.509288 +vn -0.399589 -0.899081 0.178838 +vn -0.399589 -0.899081 -0.178838 +vn -0.399589 -0.762204 -0.509288 +vn -0.399590 -0.178838 -0.899080 +s off +f 1/1/1 2/2/1 4/3/1 +f 4/4/2 6/5/2 5/6/2 +f 6/7/3 8/8/3 7/9/3 +f 8/10/4 10/11/4 9/12/4 +f 10/13/5 12/14/5 11/15/5 +f 12/16/6 14/17/6 13/18/6 +f 13/19/7 14/20/7 16/21/7 +f 15/22/8 16/23/8 18/24/8 +f 18/25/9 20/26/9 19/27/9 +f 20/28/10 22/29/10 21/30/10 +f 21/31/11 22/32/11 24/33/11 +f 23/34/12 24/35/12 26/36/12 +f 26/34/13 28/37/13 27/38/13 +f 28/39/14 30/40/14 29/41/14 +f 22/42/15 14/43/15 6/44/15 +f 31/45/16 32/46/16 2/47/16 +f 30/48/17 32/39/17 31/49/17 +f 19/50/18 21/51/18 17/52/18 +f 34/53/1 36/54/1 35/55/1 +f 36/56/19 38/57/19 37/58/19 +f 38/59/3 40/60/3 39/61/3 +f 40/62/4 42/63/4 41/64/4 +f 41/65/5 42/66/5 44/67/5 +f 44/14/6 46/13/6 45/68/6 +f 46/69/20 48/70/20 47/71/20 +f 48/72/8 50/73/8 49/5/8 +f 50/74/9 52/75/9 51/76/9 +f 52/77/21 54/78/21 53/79/21 +f 54/80/11 56/81/11 55/82/11 +f 55/83/22 56/84/22 58/85/22 +f 58/45/23 60/86/23 59/87/23 +f 60/88/14 62/89/14 61/90/14 +f 42/91/24 40/92/24 38/93/24 +f 64/94/16 34/95/16 33/96/16 +f 62/65/25 64/97/25 63/98/25 +f 45/99/18 47/100/18 49/101/18 +f 66/102/26 68/103/26 204/104/26 +f 68/105/27 70/106/27 205/107/27 +f 70/108/3 72/109/3 206/110/3 +f 72/111/4 74/112/4 207/113/4 +f 207/114/5 74/115/5 76/116/5 +f 208/107/6 76/106/6 78/117/6 +f 78/118/28 80/115/28 210/114/28 +f 80/119/29 82/120/29 211/121/29 +f 82/122/9 84/123/9 212/124/9 +f 84/125/30 86/126/30 213/127/30 +f 86/116/31 88/128/31 214/129/31 +f 214/129/32 88/128/32 90/125/32 +f 90/130/23 92/131/23 216/132/23 +f 92/133/14 94/134/14 217/135/14 +f 88/136/15 82/137/15 96/138/15 +f 96/123/16 66/139/16 203/140/16 +f 94/126/33 96/141/33 218/142/33 +f 79/143/18 87/144/18 71/145/18 +f 98/146/1 100/147/1 99/148/1 +f 100/149/34 102/150/34 101/151/34 +f 102/150/3 104/152/3 103/153/3 +f 104/154/4 106/147/4 105/155/4 +f 106/156/5 108/148/5 107/147/5 +f 108/157/6 110/97/6 109/67/6 +f 109/158/35 110/159/35 112/84/35 +f 112/157/8 114/160/8 113/161/8 +f 114/162/9 116/163/9 115/164/9 +f 116/165/21 118/166/21 117/160/21 +f 118/167/36 120/168/36 119/169/36 +f 120/170/37 122/160/37 121/166/37 +f 121/171/38 122/172/38 124/173/38 +f 123/174/39 124/175/39 126/176/39 +f 122/177/15 110/178/15 102/179/15 +f 127/64/16 128/63/16 98/146/16 +f 125/170/40 126/176/40 128/161/40 +f 119/180/18 127/181/18 103/182/18 +f 130/183/1 132/174/1 131/184/1 +f 132/185/34 134/154/34 133/186/34 +f 134/152/3 136/187/3 135/188/3 +f 136/189/4 138/162/4 137/190/4 +f 137/146/5 138/191/5 140/155/5 +f 140/192/6 142/98/6 141/97/6 +f 142/174/28 144/170/28 143/193/28 +f 143/194/8 144/195/8 146/196/8 +f 145/197/9 146/120/9 148/87/9 +f 148/198/21 150/199/21 149/187/21 +f 150/200/41 152/201/41 151/202/41 +f 151/164/32 152/163/32 154/169/32 +f 154/203/42 156/204/42 155/205/42 +f 155/206/39 156/207/39 158/208/39 +f 140/209/43 138/210/43 136/211/43 +f 159/9/16 160/8/16 130/212/16 +f 157/191/40 158/146/40 160/61/40 +f 131/213/18 143/214/18 151/215/18 +f 161/216/44 174/217/44 173/218/44 +f 162/219/45 174/220/45 176/221/45 +f 161/222/46 173/223/46 178/224/46 +f 161/225/47 178/226/47 180/227/47 +f 161/228/48 180/229/48 177/230/48 +f 162/231/49 176/232/49 183/233/49 +f 163/234/50 175/235/50 185/236/50 +f 164/237/51 179/238/51 187/235/51 +f 165/239/52 181/240/52 189/241/52 +f 166/242/53 182/243/53 191/244/53 +f 162/245/54 183/246/54 186/247/54 +f 163/248/55 185/249/55 188/250/55 +f 164/251/56 187/252/56 190/253/56 +f 165/254/57 189/255/57 192/256/57 +f 166/257/58 191/258/58 184/259/58 +f 167/260/59 193/261/59 198/262/59 +f 168/263/60 194/264/60 200/265/60 +f 169/266/61 195/267/61 201/268/61 +f 170/123/62 196/269/62 202/270/62 +f 171/24/63 197/5/63 199/271/63 +f 173/272/64 175/5/64 163/2/64 +f 173/273/65 174/274/65 175/275/65 +f 174/54/66 162/77/66 175/276/66 +f 176/277/67 177/223/67 166/278/67 +f 176/279/68 174/280/68 177/281/68 +f 174/282/69 161/269/69 177/283/69 +f 178/284/70 179/285/70 164/261/70 +f 178/286/71 173/287/71 179/288/71 +f 173/289/72 163/290/72 179/291/72 +f 180/292/73 181/293/73 165/294/73 +f 180/240/74 178/295/74 181/296/74 +f 178/294/75 164/297/75 181/298/75 +f 177/265/76 182/299/76 166/300/76 +f 177/301/77 180/302/77 182/303/77 +f 180/304/78 165/305/78 182/306/78 +f 183/307/79 184/308/79 171/309/79 +f 183/310/80 176/311/80 184/279/80 +f 176/312/81 166/313/81 184/314/81 +f 185/315/82 186/316/82 167/317/82 +f 185/318/83 175/319/83 186/320/83 +f 175/321/84 162/322/84 186/323/84 +f 187/324/85 188/325/85 168/326/85 +f 187/327/86 179/328/86 188/329/86 +f 179/293/87 163/330/87 188/331/87 +f 189/332/88 190/333/88 169/334/88 +f 189/335/89 181/336/89 190/337/89 +f 181/267/90 164/338/90 190/339/90 +f 191/259/91 192/340/91 170/341/91 +f 191/342/92 182/343/92 192/344/92 +f 182/345/93 165/346/93 192/347/93 +f 186/247/94 193/258/94 167/348/94 +f 186/349/95 183/350/95 193/204/95 +f 183/351/96 171/352/96 193/353/96 +f 188/354/97 194/355/97 168/356/97 +f 188/357/98 185/358/98 194/359/98 +f 185/360/99 167/361/99 194/362/99 +f 190/363/100 195/364/100 169/365/100 +f 190/357/101 187/366/101 195/367/101 +f 187/368/102 168/369/102 195/370/102 +f 192/371/103 196/372/103 170/234/103 +f 192/373/104 189/328/104 196/374/104 +f 189/375/105 169/376/105 196/377/105 +f 184/378/106 197/379/106 171/363/106 +f 184/380/107 191/381/107 197/382/107 +f 191/383/108 170/384/108 197/385/108 +f 198/386/109 199/387/109 172/2/109 +f 198/388/110 193/389/110 199/390/110 +f 193/290/111 171/391/111 199/392/111 +f 200/393/112 198/394/112 172/395/112 +f 200/366/113 194/345/113 198/396/113 +f 194/397/114 167/398/114 198/399/114 +f 201/400/115 200/401/115 172/402/115 +f 201/403/116 195/404/116 200/389/116 +f 195/353/117 168/405/117 200/406/117 +f 202/407/118 201/408/118 172/409/118 +f 202/410/119 196/411/119 201/412/119 +f 196/413/120 169/346/120 201/414/120 +f 199/415/121 202/237/121 172/416/121 +f 199/302/122 197/417/122 202/319/122 +f 197/309/123 170/418/123 202/419/123 +f 90/420/124 58/421/124 56/12/124 +f 88/422/125 56/423/125 54/424/125 +f 86/425/126 54/426/126 52/427/126 +f 84/428/127 52/429/127 50/430/127 +f 82/431/128 50/432/128 48/433/128 +f 80/434/129 48/435/129 46/436/129 +f 78/437/130 46/438/130 44/439/130 +f 76/440/131 44/441/131 42/442/131 +f 42/443/132 40/444/132 72/445/132 +f 40/442/133 38/441/133 70/446/133 +f 60/196/134 58/447/134 90/448/134 +f 62/449/135 60/450/135 92/451/135 +f 64/452/136 62/453/136 94/454/136 +f 96/455/137 66/456/137 34/424/137 +f 36/457/138 34/458/138 66/459/138 +f 38/460/139 36/461/139 68/462/139 +f 65/463/1 203/464/1 204/104/1 +f 204/465/140 205/107/140 69/466/140 +f 69/105/3 205/467/3 206/110/3 +f 206/468/141 207/113/141 73/469/141 +f 207/114/5 208/470/5 75/471/5 +f 208/107/6 209/472/6 77/103/6 +f 209/473/20 210/114/20 79/474/20 +f 210/475/8 211/121/8 81/118/8 +f 211/476/9 212/124/9 83/116/9 +f 83/477/142 212/478/142 213/127/142 +f 213/470/41 214/129/41 87/479/41 +f 87/479/32 214/129/32 215/478/32 +f 215/480/23 216/132/23 91/481/23 +f 91/118/14 216/482/14 217/135/14 +f 218/124/16 203/140/16 65/128/16 +f 217/127/17 218/142/17 95/483/17 +f 203/484/143 218/485/143 31/486/143 +f 29/487/144 31/488/144 218/489/144 +f 27/490/145 29/491/145 217/492/145 +f 25/493/146 27/494/146 216/495/146 +f 25/496/147 215/497/147 214/498/147 +f 23/499/148 214/500/148 213/501/148 +f 21/502/149 213/503/149 212/504/149 +f 19/505/150 212/506/150 211/507/150 +f 17/508/151 211/509/151 210/489/151 +f 15/510/152 210/511/152 209/512/152 +f 13/57/153 209/513/153 208/514/153 +f 11/515/154 208/516/154 207/517/154 +f 9/518/155 207/519/155 206/520/155 +f 5/521/156 7/37/156 206/522/156 +f 3/523/157 5/486/157 205/524/157 +f 1/515/158 3/525/158 204/526/158 +f 3/527/159 1/1/159 4/3/159 +f 3/528/27 4/4/27 5/6/27 +f 5/94/3 6/7/3 7/9/3 +f 7/529/4 8/10/4 9/12/4 +f 9/90/5 10/13/5 11/15/5 +f 11/530/160 12/16/160 13/18/160 +f 15/33/28 13/19/28 16/21/28 +f 17/531/161 15/22/161 18/24/161 +f 17/74/162 18/25/162 19/27/162 +f 19/532/30 20/28/30 21/30/30 +f 23/21/163 21/31/163 24/33/163 +f 25/533/164 23/34/164 26/36/164 +f 25/534/165 26/34/165 27/38/165 +f 27/535/14 28/39/14 29/41/14 +f 6/44/15 4/536/15 2/537/15 +f 30/538/15 6/44/15 32/539/15 +f 30/538/166 28/540/166 26/541/166 +f 26/541/24 24/542/24 22/42/24 +f 22/42/15 20/543/15 18/544/15 +f 18/544/15 16/545/15 14/43/15 +f 14/43/166 12/546/166 10/547/166 +f 6/44/15 14/43/15 8/548/15 +f 29/549/40 30/48/40 31/49/40 +f 22/42/15 6/44/15 26/541/15 +f 22/42/15 18/544/15 14/43/15 +f 6/44/15 2/537/15 32/539/15 +f 14/43/15 10/547/15 8/548/15 +f 1/550/16 31/45/16 2/47/16 +f 6/44/15 30/538/15 26/541/15 +f 31/551/18 1/552/18 3/553/18 +f 21/51/18 25/554/18 17/52/18 +f 11/555/18 5/556/18 9/557/18 +f 11/555/167 13/558/167 15/559/167 +f 33/560/1 34/53/1 35/55/1 +f 23/561/167 25/554/167 21/51/167 +f 31/551/18 5/556/18 27/562/18 +f 27/562/18 29/563/18 31/551/18 +f 5/556/18 17/52/18 25/554/18 +f 15/559/18 5/556/18 11/555/18 +f 31/551/18 3/553/18 5/556/18 +f 5/556/167 7/564/167 9/557/167 +f 15/559/168 17/52/168 5/556/168 +f 35/565/27 36/56/27 37/58/27 +f 5/556/18 25/554/18 27/562/18 +f 37/62/3 38/59/3 39/61/3 +f 39/566/4 40/62/4 41/64/4 +f 43/97/5 41/65/5 44/67/5 +f 43/82/6 44/14/6 45/68/6 +f 45/567/28 46/69/28 47/71/28 +f 47/568/8 48/72/8 49/5/8 +f 49/25/9 50/74/9 51/76/9 +f 51/569/169 52/77/169 53/79/169 +f 53/68/170 54/80/170 55/82/170 +f 57/570/171 55/83/171 58/85/171 +f 57/46/13 58/45/13 59/87/13 +f 59/15/14 60/88/14 61/90/14 +f 38/93/15 36/571/15 34/572/15 +f 34/572/172 64/573/172 62/574/172 +f 58/575/166 54/576/166 60/577/166 +f 58/575/172 56/578/172 54/576/172 +f 54/576/172 52/579/172 50/580/172 +f 50/580/15 48/581/15 46/582/15 +f 46/582/166 44/583/166 42/91/166 +f 63/7/16 64/94/16 33/96/16 +f 62/574/15 60/577/15 34/572/15 +f 60/577/15 54/576/15 38/93/15 +f 46/582/15 38/93/15 50/580/15 +f 46/582/15 42/91/15 38/93/15 +f 61/584/17 62/65/17 63/98/17 +f 60/577/15 38/93/15 34/572/15 +f 38/93/15 54/576/15 50/580/15 +f 37/585/18 39/586/18 63/587/18 +f 204/465/27 68/105/27 205/107/27 +f 39/586/168 41/562/168 43/554/168 +f 49/101/18 39/586/18 43/554/18 +f 51/588/18 39/586/18 49/101/18 +f 51/588/173 53/589/173 55/590/173 +f 55/590/168 57/591/168 59/592/168 +f 59/592/174 61/593/174 63/587/174 +f 33/594/18 35/595/18 37/585/18 +f 203/464/1 66/102/1 204/104/1 +f 51/588/18 55/590/18 59/592/18 +f 63/587/167 51/588/167 59/592/167 +f 33/594/18 37/585/18 63/587/18 +f 45/99/18 49/101/18 43/554/18 +f 39/586/18 51/588/18 63/587/18 +f 205/467/3 70/108/3 206/110/3 +f 206/468/141 72/111/141 207/113/141 +f 208/470/175 207/114/175 76/116/175 +f 209/472/6 208/107/6 78/117/6 +f 209/473/20 78/118/20 210/114/20 +f 210/475/29 80/119/29 211/121/29 +f 211/476/9 82/122/9 212/124/9 +f 212/478/30 84/125/30 213/127/30 +f 213/470/176 86/116/176 214/129/176 +f 215/478/32 214/129/32 90/125/32 +f 215/480/23 90/130/23 216/132/23 +f 216/482/14 92/133/14 217/135/14 +f 66/596/177 96/138/177 68/597/177 +f 70/598/43 82/137/43 80/599/43 +f 94/600/172 92/601/172 90/602/172 +f 218/124/16 96/123/16 203/140/16 +f 86/603/178 84/604/178 82/137/178 +f 78/605/166 70/598/166 80/599/166 +f 78/605/179 76/606/179 74/607/179 +f 74/607/180 72/608/180 70/598/180 +f 94/600/166 88/136/166 96/138/166 +f 88/136/15 86/603/15 82/137/15 +f 217/127/40 94/126/40 218/142/40 +f 78/605/15 74/607/15 70/598/15 +f 94/600/166 90/602/166 88/136/166 +f 96/138/178 70/598/178 68/597/178 +f 70/598/15 96/138/15 82/137/15 +f 95/609/18 65/610/18 67/611/18 +f 71/145/173 93/612/173 69/613/173 +f 99/189/27 100/149/27 101/151/27 +f 79/143/181 73/614/181 77/615/181 +f 79/143/18 81/616/18 83/617/18 +f 83/617/182 85/618/182 87/144/182 +f 87/144/168 89/619/168 91/620/168 +f 95/609/183 67/611/183 93/612/183 +f 91/620/184 93/612/184 71/145/184 +f 93/612/184 67/611/184 69/613/184 +f 79/143/18 83/617/18 87/144/18 +f 79/143/18 71/145/18 73/614/18 +f 97/621/26 98/146/26 99/148/26 +f 71/145/18 87/144/18 91/620/18 +f 73/614/185 75/622/185 77/615/185 +f 101/151/186 102/150/186 103/153/186 +f 103/186/141 104/154/141 105/155/141 +f 105/154/175 106/156/175 107/147/175 +f 107/165/187 108/157/187 109/67/187 +f 111/83/28 109/158/28 112/84/28 +f 111/192/29 112/157/29 113/161/29 +f 113/190/9 114/162/9 115/164/9 +f 115/157/188 116/165/188 117/160/188 +f 117/115/189 118/167/189 119/169/189 +f 119/193/190 120/170/190 121/166/190 +f 123/208/42 121/171/42 124/173/42 +f 125/170/14 123/174/14 126/176/14 +f 102/179/15 100/623/15 98/624/15 +f 126/625/172 124/626/172 128/627/172 +f 122/177/15 98/624/15 124/626/15 +f 122/177/166 120/628/166 118/629/166 +f 118/629/166 116/630/166 114/631/166 +f 110/178/15 122/177/15 112/632/15 +f 110/178/15 108/633/15 106/634/15 +f 102/179/15 110/178/15 104/635/15 +f 110/178/15 106/634/15 104/635/15 +f 122/177/15 114/631/15 112/632/15 +f 124/626/15 98/624/15 128/627/15 +f 122/177/15 118/629/15 114/631/15 +f 97/621/16 127/64/16 98/146/16 +f 122/177/15 102/179/15 98/624/15 +f 127/160/191 125/170/191 128/161/191 +f 127/181/18 97/636/18 99/637/18 +f 99/637/167 101/638/167 103/182/167 +f 103/182/192 105/639/192 107/640/192 +f 107/640/18 109/641/18 111/642/18 +f 111/642/18 113/643/18 115/211/18 +f 115/211/167 117/644/167 119/180/167 +f 123/645/193 125/646/193 121/647/193 +f 127/181/18 119/180/18 125/646/18 +f 127/181/18 99/637/18 103/182/18 +f 111/642/18 119/180/18 107/640/18 +f 111/642/18 115/211/18 119/180/18 +f 125/646/18 119/180/18 121/647/18 +f 131/203/27 132/185/27 133/186/27 +f 119/180/18 103/182/18 107/640/18 +f 129/382/1 130/183/1 131/184/1 +f 133/153/3 134/152/3 135/188/3 +f 135/149/4 136/189/4 137/190/4 +f 139/147/5 137/146/5 140/155/5 +f 139/157/6 140/192/6 141/97/6 +f 141/184/35 142/174/35 143/193/35 +f 145/81/29 143/194/29 146/196/29 +f 147/86/9 145/197/9 148/87/9 +f 147/648/30 148/198/30 149/187/30 +f 149/649/36 150/200/36 151/202/36 +f 153/168/194 151/164/194 154/169/194 +f 153/185/195 154/203/195 155/205/195 +f 157/173/14 155/206/14 158/208/14 +f 134/643/172 132/650/172 130/651/172 +f 130/651/15 160/629/15 158/628/15 +f 154/652/172 150/653/172 156/654/172 +f 154/652/166 152/655/166 150/653/166 +f 150/653/15 148/656/15 146/657/15 +f 146/657/172 144/658/172 142/659/172 +f 159/60/196 157/191/196 160/61/196 +f 134/643/166 140/209/166 136/211/166 +f 158/628/15 156/654/15 130/651/15 +f 156/654/15 150/653/15 134/643/15 +f 142/659/15 134/643/15 146/657/15 +f 129/340/16 159/9/16 130/212/16 +f 134/643/15 142/659/15 140/209/15 +f 156/654/15 134/643/15 130/651/15 +f 134/643/15 150/653/15 146/657/15 +f 159/660/18 129/661/18 131/213/18 +f 131/213/197 133/662/197 135/663/197 +f 135/663/198 137/664/198 139/665/198 +f 139/665/181 141/666/181 143/214/181 +f 147/632/173 151/215/173 145/178/173 +f 147/632/197 149/667/197 151/215/197 +f 151/215/198 153/640/198 155/639/198 +f 155/639/181 157/668/181 159/660/181 +f 135/663/18 139/665/18 131/213/18 +f 151/215/18 143/214/18 145/178/18 +f 86/669/199 88/422/199 54/424/199 +f 151/215/167 155/639/167 159/660/167 +f 88/670/200 90/420/200 56/12/200 +f 159/660/18 131/213/18 151/215/18 +f 131/213/18 139/665/18 143/214/18 +f 84/671/201 86/425/201 52/427/201 +f 82/672/127 84/428/127 50/430/127 +f 80/673/202 82/431/202 48/433/202 +f 78/674/203 80/434/203 46/436/203 +f 76/675/204 78/437/204 44/439/204 +f 74/676/205 76/440/205 42/442/205 +f 74/446/132 42/443/132 72/445/132 +f 72/445/206 40/442/206 70/446/206 +f 92/677/207 60/196/207 90/448/207 +f 94/678/208 62/449/208 92/451/208 +f 96/679/136 64/452/136 94/454/136 +f 64/48/137 96/455/137 34/424/137 +f 68/680/209 36/457/209 66/459/209 +f 70/681/210 38/460/210 68/462/210 +f 67/117/1 65/463/1 204/104/1 +f 67/108/34 204/465/34 69/466/34 +f 71/134/211 69/105/211 206/110/211 +f 71/682/4 206/468/4 73/469/4 +f 73/474/175 207/114/175 75/471/175 +f 75/466/160 208/107/160 77/103/160 +f 77/133/35 209/473/35 79/474/35 +f 79/109/8 210/475/8 81/118/8 +f 81/115/9 211/476/9 83/116/9 +f 85/683/10 83/477/10 213/127/10 +f 85/471/11 213/470/11 87/479/11 +f 89/477/194 87/479/194 215/478/194 +f 89/684/195 215/480/195 91/481/195 +f 93/109/212 91/118/212 217/135/212 +f 95/116/16 218/124/16 65/128/16 +f 93/683/33 217/127/33 95/483/33 +f 1/523/213 203/484/213 31/486/213 +f 217/509/144 29/487/144 218/489/144 +f 216/685/214 27/490/214 217/492/214 +f 215/686/215 25/493/215 216/495/215 +f 23/508/216 25/496/216 214/498/216 +f 21/687/217 23/499/217 213/501/217 +f 19/688/149 21/502/149 212/504/149 +f 17/689/218 19/505/218 211/507/218 +f 15/496/219 17/508/219 210/489/219 +f 13/690/152 15/510/152 209/512/152 +f 11/27/220 13/57/220 208/514/220 +f 9/525/221 11/515/221 207/517/221 +f 7/691/222 9/518/222 206/520/222 +f 205/692/223 5/521/223 206/522/223 +f 204/693/157 3/523/157 205/524/157 +f 203/694/224 1/515/224 204/526/224 diff --git a/assets/hbm/models/TheGadget3.obj b/assets/hbm/models/TheGadget3.obj new file mode 100644 index 000000000..5d7209275 --- /dev/null +++ b/assets/hbm/models/TheGadget3.obj @@ -0,0 +1,2004 @@ +# Blender v2.70 (sub 0) OBJ File: 'TheGadget3.blend' +# www.blender.org +o Cylinder.003 +v -1.750000 -0.000000 1.000000 +v -1.750000 -0.000000 -1.000000 +v 1.250000 -0.000000 -1.000000 +v 1.250000 -0.000000 1.000000 +v -1.750000 0.100000 1.000000 +v -1.750000 0.100000 -1.000000 +v 1.250000 0.100000 -1.000000 +v 1.250000 0.100000 1.000000 +v 0.550000 1.500000 -0.850000 +v 0.650000 1.500000 -0.850000 +v 0.550000 1.174719 -0.785298 +v 0.650000 1.174719 -0.785298 +v 0.550001 0.898959 -0.601041 +v 0.650001 0.898959 -0.601041 +v 0.550001 0.714702 -0.325281 +v 0.650001 0.714702 -0.325281 +v 0.550001 0.650000 0.000000 +v 0.650001 0.650000 0.000000 +v 0.550001 0.714702 0.325281 +v 0.650001 0.714702 0.325281 +v 0.550001 0.898959 0.601041 +v 0.650001 0.898959 0.601041 +v 0.550000 1.174719 0.785298 +v 0.650000 1.174719 0.785298 +v 0.550000 1.500000 0.850000 +v 0.650000 1.500000 0.850000 +v 0.550000 1.825281 0.785298 +v 0.650000 1.825281 0.785298 +v 0.549999 2.101041 0.601041 +v 0.649999 2.101041 0.601041 +v 0.549999 2.285297 0.325281 +v 0.649999 2.285298 0.325281 +v 0.549999 2.350000 -0.000000 +v 0.649999 2.350000 -0.000000 +v 0.549999 2.285297 -0.325281 +v 0.649999 2.285298 -0.325281 +v 0.549999 2.101040 -0.601041 +v 0.649999 2.101041 -0.601041 +v 0.550000 1.825280 -0.785298 +v 0.650000 1.825281 -0.785298 +v -0.650000 1.500000 -0.850000 +v -0.550000 1.500000 -0.850000 +v -0.650000 1.174719 -0.785298 +v -0.550000 1.174719 -0.785298 +v -0.649999 0.898959 -0.601041 +v -0.549999 0.898959 -0.601041 +v -0.649999 0.714702 -0.325281 +v -0.549999 0.714702 -0.325281 +v -0.649999 0.650000 0.000000 +v -0.549999 0.650000 0.000000 +v -0.649999 0.714702 0.325281 +v -0.549999 0.714702 0.325281 +v -0.649999 0.898959 0.601041 +v -0.549999 0.898959 0.601041 +v -0.650000 1.174719 0.785298 +v -0.550000 1.174719 0.785298 +v -0.650000 1.500000 0.850000 +v -0.550000 1.500000 0.850000 +v -0.650000 1.825281 0.785298 +v -0.550000 1.825281 0.785298 +v -0.650001 2.101041 0.601041 +v -0.550001 2.101041 0.601041 +v -0.650001 2.285297 0.325281 +v -0.550001 2.285298 0.325281 +v -0.650001 2.350000 -0.000000 +v -0.550001 2.350000 -0.000000 +v -0.650001 2.285297 -0.325281 +v -0.550001 2.285298 -0.325281 +v -0.650001 2.101040 -0.601041 +v -0.550001 2.101041 -0.601041 +v -0.650000 1.825280 -0.785298 +v -0.550000 1.825281 -0.785298 +v -1.500000 1.499999 -0.700000 +v 1.000000 1.500001 -0.700000 +v -1.500000 1.232120 -0.646716 +v 1.000000 1.232123 -0.646716 +v -1.500000 1.005024 -0.494975 +v 1.000000 1.005026 -0.494975 +v -1.499999 0.853283 -0.267878 +v 1.000001 0.853285 -0.267878 +v -1.499999 0.799999 0.000000 +v 1.000001 0.800001 0.000000 +v -1.499999 0.853283 0.267878 +v 1.000001 0.853285 0.267878 +v -1.500000 1.005024 0.494975 +v 1.000000 1.005026 0.494975 +v -1.500000 1.232120 0.646716 +v 1.000000 1.232123 0.646716 +v -1.500000 1.499999 0.700000 +v 1.000000 1.500001 0.700000 +v -1.500000 1.767877 0.646716 +v 1.000000 1.767879 0.646716 +v -1.500000 1.994973 0.494975 +v 1.000000 1.994976 0.494975 +v -1.500001 2.146714 0.267879 +v 0.999999 2.146717 0.267879 +v -1.500001 2.199999 -0.000000 +v 0.999999 2.200001 -0.000000 +v -1.500001 2.146714 -0.267879 +v 0.999999 2.146717 -0.267879 +v -1.500000 1.994973 -0.494975 +v 1.000000 1.994976 -0.494975 +v -1.500000 1.767877 -0.646716 +v 1.000000 1.767879 -0.646716 +v 0.450000 1.500000 -1.000000 +v 0.550000 1.500000 -1.000000 +v 0.450000 1.117316 -0.923880 +v 0.550000 1.117316 -0.923880 +v 0.450001 0.792893 -0.707107 +v 0.550001 0.792893 -0.707107 +v 0.450001 0.576120 -0.382683 +v 0.550001 0.576120 -0.382683 +v 0.450001 0.500000 0.000000 +v 0.550001 0.500000 0.000000 +v 0.450001 0.576120 0.382684 +v 0.550001 0.576120 0.382684 +v 0.450001 0.792893 0.707107 +v 0.550001 0.792893 0.707107 +v 0.450000 1.117316 0.923880 +v 0.550000 1.117316 0.923880 +v 0.450000 1.500000 1.000000 +v 0.550000 1.500000 1.000000 +v 0.450000 1.882683 0.923880 +v 0.550000 1.882683 0.923880 +v 0.449999 2.207107 0.707107 +v 0.549999 2.207107 0.707107 +v 0.449999 2.423879 0.382684 +v 0.549999 2.423880 0.382684 +v 0.449999 2.500000 -0.000000 +v 0.549999 2.500000 -0.000000 +v 0.449999 2.423879 -0.382684 +v 0.549999 2.423879 -0.382684 +v 0.449999 2.207106 -0.707107 +v 0.549999 2.207107 -0.707107 +v 0.450000 1.882683 -0.923880 +v 0.550000 1.882683 -0.923880 +v -0.550000 1.500000 -1.000000 +v -0.450000 1.500000 -1.000000 +v -0.550000 1.117316 -0.923880 +v -0.450000 1.117317 -0.923880 +v -0.549999 0.792893 -0.707107 +v -0.449999 0.792893 -0.707107 +v -0.549999 0.576120 -0.382683 +v -0.449999 0.576120 -0.382683 +v -0.549999 0.500000 0.000000 +v -0.449999 0.500000 0.000000 +v -0.549999 0.576120 0.382684 +v -0.449999 0.576120 0.382684 +v -0.549999 0.792893 0.707107 +v -0.449999 0.792893 0.707107 +v -0.550000 1.117316 0.923880 +v -0.450000 1.117316 0.923880 +v -0.550000 1.500000 1.000000 +v -0.450000 1.500000 1.000000 +v -0.550000 1.882683 0.923880 +v -0.450000 1.882683 0.923880 +v -0.550001 2.207107 0.707107 +v -0.450001 2.207107 0.707107 +v -0.550001 2.423879 0.382684 +v -0.450001 2.423880 0.382684 +v -0.550001 2.500000 -0.000000 +v -0.450001 2.500000 -0.000000 +v -0.550001 2.423879 -0.382684 +v -0.450001 2.423879 -0.382684 +v -0.550001 2.207107 -0.707107 +v -0.450001 2.207107 -0.707107 +v -0.550000 1.882683 -0.923880 +v -0.450000 1.882683 -0.923880 +v 0.000000 0.500000 0.000000 +v 0.723607 1.052780 0.525725 +v -0.276388 1.052780 0.850649 +v -0.894426 1.052784 0.000000 +v -0.276388 1.052780 -0.850649 +v 0.723607 1.052780 -0.525725 +v 0.276388 1.947220 0.850649 +v -0.723607 1.947219 0.525725 +v -0.723607 1.947219 -0.525725 +v 0.276388 1.947220 -0.850649 +v 0.894426 1.947216 0.000000 +v 0.000000 2.500000 0.000000 +v -0.162456 0.649346 0.499995 +v 0.425323 0.649346 0.309011 +v 0.262869 0.974262 0.809012 +v 0.850648 0.974264 0.000000 +v 0.425323 0.649346 -0.309011 +v -0.525730 0.649348 0.000000 +v -0.688189 0.974264 0.499997 +v -0.162456 0.649346 -0.499995 +v -0.688189 0.974264 -0.499997 +v 0.262869 0.974262 -0.809012 +v 0.951058 1.500000 0.309013 +v 0.951058 1.500000 -0.309013 +v 0.000000 1.500000 1.000000 +v 0.587786 1.500000 0.809017 +v -0.951058 1.500000 0.309013 +v -0.587786 1.500000 0.809017 +v -0.587786 1.500000 -0.809017 +v -0.951058 1.500000 -0.309013 +v 0.587786 1.500000 -0.809017 +v 0.000000 1.500000 -1.000000 +v 0.688189 2.025736 0.499997 +v -0.262869 2.025738 0.809012 +v -0.850648 2.025736 0.000000 +v -0.262869 2.025738 -0.809012 +v 0.688189 2.025736 -0.499997 +v 0.162456 2.350654 0.499995 +v 0.525730 2.350652 0.000000 +v -0.425323 2.350654 0.309011 +v -0.425323 2.350654 -0.309011 +v 0.162456 2.350654 -0.499995 +v -0.550000 0.100000 -0.750000 +v -0.550000 0.100000 -1.000000 +v -0.450000 0.100000 -1.000000 +v -0.450000 0.100000 -0.750000 +v -0.550000 0.100000 1.000000 +v -0.550000 0.100000 0.750000 +v -0.450000 0.100000 0.750000 +v -0.450000 0.100000 1.000000 +v 0.450000 0.100000 -0.750000 +v 0.450000 0.100000 -1.000000 +v 0.550000 0.100000 -1.000000 +v 0.550000 0.100000 -0.750000 +v 0.450000 0.100000 1.000000 +v 0.450000 0.100000 0.750000 +v 0.550000 0.100000 0.750000 +v 0.550000 0.100000 1.000000 +v -1.125000 1.499999 -0.700000 +v -1.125000 1.232121 -0.646716 +v -1.125000 1.005024 -0.494975 +v -1.124999 0.853284 -0.267878 +v -1.124999 0.799999 0.000000 +v -1.124999 0.853284 0.267878 +v -1.125000 1.005024 0.494975 +v -1.125000 1.232121 0.646716 +v -1.125000 1.499999 0.700000 +v -1.125000 1.767877 0.646716 +v -1.125000 1.994974 0.494975 +v -1.125001 2.146715 0.267879 +v -1.125001 2.199999 -0.000000 +v -1.125001 2.146715 -0.267879 +v -1.125000 1.994974 -0.494975 +v -1.125000 1.767877 -0.646716 +vt 0.597206 0.611030 +vt 0.597206 0.769794 +vt 0.589256 0.769794 +vt 0.156588 0.611030 +vt 0.156588 0.769794 +vt 0.148638 0.769794 +vt 0.989789 0.527735 +vt 0.989789 0.554062 +vt 0.981838 0.554062 +vt 0.815715 0.965367 +vt 0.823666 0.965367 +vt 0.823666 0.991695 +vt 0.989789 0.487119 +vt 0.989789 0.513446 +vt 0.981839 0.513446 +vt 0.992845 0.322897 +vt 0.984894 0.322897 +vt 0.984894 0.296569 +vt 0.973179 0.757536 +vt 0.973179 0.783864 +vt 0.965229 0.783864 +vt 0.459595 0.823774 +vt 0.467546 0.823774 +vt 0.467546 0.850102 +vt 0.861609 0.989930 +vt 0.861609 0.963602 +vt 0.869559 0.963602 +vt 0.170539 0.823774 +vt 0.178490 0.823774 +vt 0.178490 0.850102 +vt 0.110158 0.966528 +vt 0.110158 0.992856 +vt 0.102208 0.992856 +vt 0.976792 0.136798 +vt 0.976792 0.110471 +vt 0.984743 0.110471 +vt 0.022741 0.971124 +vt 0.014791 0.971124 +vt 0.014791 0.944797 +vt 0.312537 0.967213 +vt 0.304586 0.967213 +vt 0.304586 0.940886 +vt 0.188112 0.971124 +vt 0.188112 0.944797 +vt 0.196063 0.944797 +vt 0.984894 0.249224 +vt 0.984894 0.222897 +vt 0.992844 0.222897 +vt 0.406895 0.464385 +vt 0.433263 0.464385 +vt 0.406894 0.596742 +vt 0.157047 0.992856 +vt 0.157047 0.966528 +vt 0.164998 0.966528 +vt 0.637921 0.971124 +vt 0.629971 0.971124 +vt 0.629971 0.944797 +vt 0.633232 0.543727 +vt 0.529406 0.474460 +vt 0.604496 0.474460 +vt 0.055319 0.971124 +vt 0.047369 0.971124 +vt 0.047369 0.944797 +vt 0.973426 0.406711 +vt 0.973426 0.433039 +vt 0.965476 0.433039 +vt 0.989789 0.665882 +vt 0.989789 0.692209 +vt 0.981839 0.692209 +vt 0.847298 0.964437 +vt 0.847298 0.990765 +vt 0.839347 0.990765 +vt 0.228640 0.944797 +vt 0.228640 0.971124 +vt 0.220690 0.971124 +vt 0.990359 0.010598 +vt 0.990359 0.036925 +vt 0.982408 0.036925 +vt 0.990359 0.363831 +vt 0.990359 0.390158 +vt 0.982409 0.390158 +vt 0.652232 0.982848 +vt 0.652232 0.956521 +vt 0.660183 0.956521 +vt 0.982408 0.095333 +vt 0.982408 0.069006 +vt 0.990359 0.069006 +vt 0.976792 0.151087 +vt 0.984743 0.151087 +vt 0.984743 0.177414 +vt 0.349109 0.944797 +vt 0.357060 0.944797 +vt 0.357060 0.971124 +vt 0.605343 0.971124 +vt 0.597393 0.971124 +vt 0.597393 0.944797 +vt 0.326848 0.967213 +vt 0.326848 0.940886 +vt 0.334798 0.940886 +vt 0.973179 0.716920 +vt 0.973179 0.743247 +vt 0.965229 0.743247 +vt 0.206925 0.517400 +vt 0.260022 0.464385 +vt 0.260022 0.596742 +vt 0.079947 0.992856 +vt 0.079947 0.966528 +vt 0.087897 0.966528 +vt 0.389637 0.944797 +vt 0.389637 0.971124 +vt 0.381687 0.971124 +vt 0.166166 0.517400 +vt 0.086701 0.464385 +vt 0.113069 0.464385 +vt 0.777336 0.662840 +vt 0.755621 0.662840 +vt 0.755621 0.494153 +vt 0.464644 0.611030 +vt 0.486359 0.611030 +vt 0.486359 0.779717 +vt 0.522385 0.809485 +vt 0.500670 0.809485 +vt 0.500670 0.640799 +vt 0.192614 0.809485 +vt 0.170899 0.809485 +vt 0.170899 0.640799 +vt 0.669258 0.662840 +vt 0.647543 0.662840 +vt 0.647543 0.494153 +vt 0.353798 0.611030 +vt 0.375513 0.611030 +vt 0.375513 0.779717 +vt 0.708339 0.158121 +vt 0.708339 0.326808 +vt 0.686624 0.326808 +vt 0.339487 0.809485 +vt 0.317772 0.809485 +vt 0.317772 0.640799 +vt 0.228640 0.809485 +vt 0.206925 0.809485 +vt 0.206925 0.640799 +vt 0.705284 0.494153 +vt 0.705284 0.662840 +vt 0.683569 0.662840 +vt 0.672313 0.326808 +vt 0.650598 0.326808 +vt 0.650598 0.158121 +vt 0.744365 0.326808 +vt 0.722650 0.326808 +vt 0.722650 0.158121 +vt 0.741310 0.662840 +vt 0.719595 0.662840 +vt 0.719595 0.494153 +vt 0.033604 0.611030 +vt 0.055319 0.611030 +vt 0.055319 0.779717 +vt 0.527119 0.098433 +vt 0.535429 0.078402 +vt 0.627977 0.078402 +vt 0.758676 0.297040 +vt 0.758676 0.128353 +vt 0.780391 0.128353 +vt 0.611517 0.611030 +vt 0.633232 0.611030 +vt 0.633232 0.779717 +vt 0.636287 0.406437 +vt 0.535429 0.426468 +vt 0.550784 0.349394 +vt 0.965228 0.916611 +vt 0.965228 0.885637 +vt 0.973179 0.885637 +vt 0.448308 0.922102 +vt 0.448308 0.953075 +vt 0.440358 0.953075 +vt 0.959577 0.696855 +vt 0.959577 0.665882 +vt 0.967528 0.665882 +vt 0.748384 0.924850 +vt 0.748384 0.955823 +vt 0.740433 0.955823 +vt 0.839347 0.950149 +vt 0.839347 0.919175 +vt 0.847298 0.919175 +vt 0.970583 0.322897 +vt 0.962633 0.322897 +vt 0.962633 0.291923 +vt 0.967527 0.558708 +vt 0.959577 0.558708 +vt 0.959577 0.527735 +vt 0.960147 0.359185 +vt 0.968098 0.359185 +vt 0.968098 0.390158 +vt 0.964266 0.639181 +vt 0.964266 0.608208 +vt 0.972216 0.608208 +vt 0.679230 0.040485 +vt 0.679230 0.009512 +vt 0.687181 0.009512 +vt 0.184664 0.590630 +vt 0.184664 0.559656 +vt 0.192614 0.559656 +vt 0.577225 0.953076 +vt 0.569274 0.953076 +vt 0.569274 0.922103 +vt 0.283479 0.953075 +vt 0.275529 0.953075 +vt 0.275529 0.922102 +vt 0.886365 0.009511 +vt 0.894316 0.009511 +vt 0.894315 0.040484 +vt 0.142879 0.426846 +vt 0.030442 0.426846 +vt 0.030442 0.314583 +vt 0.965228 0.847213 +vt 0.965228 0.816240 +vt 0.973179 0.816240 +vt 0.950918 0.816240 +vt 0.950918 0.847213 +vt 0.942967 0.847213 +vt 0.359850 0.401092 +vt 0.402878 0.297375 +vt 0.506756 0.340336 +vt 0.959577 0.513446 +vt 0.959577 0.482473 +vt 0.967528 0.482473 +vt 0.415730 0.922102 +vt 0.415730 0.953075 +vt 0.407780 0.953075 +vt 0.960147 0.064360 +vt 0.968098 0.064360 +vt 0.968098 0.095333 +vt 0.942967 0.961873 +vt 0.942967 0.930899 +vt 0.950918 0.930899 +vt 0.962481 0.146441 +vt 0.962481 0.177414 +vt 0.954531 0.177414 +vt 0.962632 0.253870 +vt 0.962632 0.222897 +vt 0.970583 0.222897 +vt 0.968098 0.010598 +vt 0.968098 0.041571 +vt 0.960147 0.041571 +vt 0.514435 0.970095 +vt 0.514435 0.939122 +vt 0.522385 0.939122 +vt 0.489807 0.939122 +vt 0.489807 0.970095 +vt 0.481857 0.970095 +vt 0.678880 0.955824 +vt 0.678880 0.924850 +vt 0.686830 0.924850 +vt 0.940371 0.322897 +vt 0.940371 0.291923 +vt 0.948322 0.291923 +vt 0.536696 0.922103 +vt 0.544647 0.922103 +vt 0.544647 0.953076 +vt 0.242951 0.922102 +vt 0.250902 0.922102 +vt 0.250902 0.953075 +vt 0.780961 0.955823 +vt 0.773011 0.955823 +vt 0.773011 0.924850 +vt 0.203763 0.426846 +vt 0.203763 0.314583 +vt 0.316200 0.314583 +vt 0.965228 0.961873 +vt 0.965228 0.930899 +vt 0.973179 0.930899 +vt 0.719408 0.924850 +vt 0.719408 0.955824 +vt 0.711458 0.955824 +vt 0.506756 0.135530 +vt 0.463728 0.239248 +vt 0.359850 0.196287 +vt 0.228640 0.930508 +vt 0.188112 0.914863 +vt 0.228640 0.887123 +vt 0.683569 0.828359 +vt 0.719408 0.803828 +vt 0.719408 0.852889 +vt 0.637921 0.887123 +vt 0.637921 0.930508 +vt 0.597393 0.902768 +vt 0.522385 0.924833 +vt 0.481857 0.909188 +vt 0.522385 0.881449 +vt 0.055319 0.887124 +vt 0.055319 0.930508 +vt 0.014791 0.902769 +vt 0.814478 0.079302 +vt 0.850318 0.054773 +vt 0.850318 0.103834 +vt 0.885381 0.326808 +vt 0.844853 0.311164 +vt 0.885381 0.283423 +vt 0.905157 0.390158 +vt 0.864629 0.374513 +vt 0.905157 0.346773 +vt 0.536696 0.635561 +vt 0.572536 0.611030 +vt 0.572536 0.660092 +vt 0.794702 0.302277 +vt 0.830542 0.277747 +vt 0.830542 0.326808 +vt 0.536696 0.698911 +vt 0.572536 0.674380 +vt 0.572536 0.723441 +vt 0.740433 0.701659 +vt 0.776273 0.677129 +vt 0.776273 0.726190 +vt 0.780961 0.910561 +vt 0.740433 0.894915 +vt 0.780961 0.867176 +vt 0.522385 0.823774 +vt 0.522385 0.867160 +vt 0.481857 0.839420 +vt 0.745967 0.406711 +vt 0.745967 0.450096 +vt 0.705438 0.422357 +vt 0.797298 0.765010 +vt 0.833138 0.740479 +vt 0.833138 0.789540 +vt 0.407780 0.825609 +vt 0.443619 0.801079 +vt 0.443620 0.850139 +vt 0.719408 0.867177 +vt 0.719408 0.910562 +vt 0.678880 0.882823 +vt 0.283479 0.864428 +vt 0.283479 0.907813 +vt 0.242951 0.880074 +vt 0.536696 0.825610 +vt 0.572536 0.801080 +vt 0.572536 0.850141 +vt 0.069630 0.892167 +vt 0.110158 0.864428 +vt 0.110158 0.907812 +vt 0.707463 0.079303 +vt 0.750017 0.054773 +vt 0.750017 0.103834 +vt 0.155620 0.850139 +vt 0.119781 0.825608 +vt 0.155620 0.801078 +vt 0.833137 0.803828 +vt 0.833137 0.852889 +vt 0.797298 0.828358 +vt 0.740433 0.765009 +vt 0.782987 0.740479 +vt 0.782987 0.789539 +vt 0.349109 0.902769 +vt 0.389637 0.887124 +vt 0.389637 0.930508 +vt 0.869957 0.434450 +vt 0.910486 0.406711 +vt 0.910486 0.450096 +vt 0.707463 0.365628 +vt 0.750016 0.341097 +vt 0.750016 0.390158 +vt 0.849748 0.513446 +vt 0.813908 0.488916 +vt 0.849748 0.464385 +vt 0.864058 0.555475 +vt 0.904587 0.527735 +vt 0.904587 0.571120 +vt 0.450334 0.723441 +vt 0.407780 0.698910 +vt 0.450334 0.674380 +vt 0.868748 0.611442 +vt 0.909276 0.595796 +vt 0.909276 0.639181 +vt 0.536696 0.892169 +vt 0.577225 0.864429 +vt 0.577225 0.907814 +vt 0.112183 0.786789 +vt 0.069630 0.762259 +vt 0.112183 0.737729 +vt 0.407780 0.880073 +vt 0.448308 0.864428 +vt 0.448308 0.907813 +vt 0.776273 0.803827 +vt 0.776273 0.852888 +vt 0.740433 0.828357 +vt 0.112184 0.723440 +vt 0.069630 0.698910 +vt 0.112184 0.674380 +vt 0.887977 0.861502 +vt 0.887977 0.904886 +vt 0.847448 0.889241 +vt 0.885381 0.257782 +vt 0.844852 0.230043 +vt 0.885381 0.214397 +vt 0.112184 0.660091 +vt 0.069630 0.635560 +vt 0.112184 0.611030 +vt 0.830542 0.177414 +vt 0.794702 0.152884 +vt 0.830542 0.128353 +vt 0.854437 0.639182 +vt 0.813908 0.611442 +vt 0.854437 0.595796 +vt 0.626538 0.259579 +vt 0.626538 0.308641 +vt 0.583984 0.284110 +vt 0.760278 0.422356 +vt 0.800807 0.406711 +vt 0.800807 0.450096 +vt 0.572536 0.737730 +vt 0.572536 0.786791 +vt 0.536696 0.762261 +vt 0.583984 0.220760 +vt 0.626538 0.196229 +vt 0.626538 0.245291 +vt 0.864059 0.669115 +vt 0.904587 0.653470 +vt 0.904587 0.696855 +vt 0.800167 0.341097 +vt 0.800167 0.390158 +vt 0.764327 0.365628 +vt 0.450334 0.660091 +vt 0.407779 0.635561 +vt 0.450334 0.611030 +vt 0.830541 0.263458 +vt 0.794702 0.238928 +vt 0.830541 0.214397 +vt 0.650598 0.434451 +vt 0.691127 0.406711 +vt 0.691127 0.450096 +vt 0.569673 0.308641 +vt 0.527119 0.284110 +vt 0.569673 0.259579 +vt 0.904587 0.470061 +vt 0.904587 0.513446 +vt 0.864059 0.497802 +vt 0.885381 0.177414 +vt 0.844853 0.149674 +vt 0.885381 0.134029 +vt 0.285505 0.660091 +vt 0.242951 0.635562 +vt 0.285505 0.611030 +vt 0.847448 0.819473 +vt 0.887977 0.803828 +vt 0.887977 0.847213 +vt 0.905157 0.103834 +vt 0.864629 0.076093 +vt 0.905157 0.060448 +vt 0.693152 0.054774 +vt 0.693152 0.103834 +vt 0.650598 0.079304 +vt 0.850318 0.390158 +vt 0.814478 0.365627 +vt 0.850318 0.341097 +vt 0.847448 0.768219 +vt 0.887977 0.740479 +vt 0.887977 0.783864 +vt 0.693152 0.390158 +vt 0.650598 0.365628 +vt 0.693152 0.341097 +vt 0.800168 0.103834 +vt 0.764328 0.079303 +vt 0.800168 0.054773 +vt 0.849747 0.527735 +vt 0.849747 0.576796 +vt 0.813908 0.552266 +vt 0.569673 0.196229 +vt 0.569673 0.245291 +vt 0.527119 0.220760 +vt 0.815117 0.422357 +vt 0.855646 0.406711 +vt 0.855646 0.450096 +vt 0.339487 0.823774 +vt 0.339487 0.872835 +vt 0.303647 0.848304 +vt 0.726122 0.677129 +vt 0.726122 0.726190 +vt 0.683569 0.701660 +vt 0.278791 0.850139 +vt 0.242951 0.825609 +vt 0.278791 0.801079 +vt 0.228640 0.823774 +vt 0.228640 0.872835 +vt 0.192801 0.848305 +vt 0.285505 0.786790 +vt 0.242951 0.762260 +vt 0.285505 0.737730 +vt 0.164998 0.864428 +vt 0.164998 0.907812 +vt 0.124469 0.892167 +vt 0.899692 0.161769 +vt 0.940220 0.134030 +vt 0.940220 0.177414 +vt 0.683569 0.765010 +vt 0.726122 0.740479 +vt 0.726122 0.789539 +vt 0.055319 0.872835 +vt 0.019480 0.848305 +vt 0.055319 0.823774 +vt 0.633232 0.823774 +vt 0.633232 0.872835 +vt 0.597393 0.848304 +vt 0.450334 0.786790 +vt 0.407780 0.762260 +vt 0.450334 0.737730 +vt 0.105470 0.850139 +vt 0.069630 0.825609 +vt 0.105470 0.801078 +vt 0.389637 0.823774 +vt 0.389637 0.872835 +vt 0.353798 0.848305 +vt 0.242951 0.698910 +vt 0.285504 0.674380 +vt 0.285504 0.723441 +vt 0.849748 0.702531 +vt 0.813908 0.678001 +vt 0.849748 0.653470 +vt 0.339487 0.245291 +vt 0.180477 0.245291 +vt 0.180477 0.007144 +vt 0.146289 0.102403 +vt 0.146289 0.110341 +vt 0.027032 0.110341 +vt 0.319611 0.259579 +vt 0.339487 0.259579 +vt 0.333435 0.340336 +vt 0.200353 0.259579 +vt 0.186529 0.340336 +vt 0.492932 0.259579 +vt 0.512808 0.259579 +vt 0.027032 0.102403 +vt 0.007155 0.102403 +vt 0.007155 0.007144 +vt 0.015106 0.797803 +vt 0.007155 0.797803 +vt 0.007155 0.716820 +vt 0.492932 0.054774 +vt 0.512808 0.054774 +vt 0.192614 0.545368 +vt 0.184664 0.545368 +vt 0.184664 0.464385 +vt 0.373674 0.054774 +vt 0.377084 0.109777 +vt 0.359850 0.135530 +vt 0.652232 0.942232 +vt 0.652232 0.887123 +vt 0.660183 0.887123 +vt 0.942967 0.861502 +vt 0.950918 0.861502 +vt 0.950918 0.916611 +vt 0.146289 0.259579 +vt 0.166166 0.259579 +vt 0.160114 0.340336 +vt 0.027032 0.259579 +vt 0.013207 0.340336 +vt 0.027032 0.189723 +vt 0.027032 0.181785 +vt 0.146289 0.181785 +vt 0.373674 0.259579 +vt 0.377084 0.314583 +vt 0.359850 0.340336 +vt 0.007155 0.245291 +vt 0.007155 0.189723 +vt 0.942967 0.728755 +vt 0.950918 0.728755 +vt 0.950918 0.783864 +vt 0.655493 0.853383 +vt 0.647543 0.853383 +vt 0.647543 0.772400 +vt 0.655493 0.758111 +vt 0.647543 0.758111 +vt 0.647543 0.677129 +vt 0.948322 0.198762 +vt 0.948322 0.253870 +vt 0.940371 0.253870 +vt 0.799597 0.702531 +vt 0.791646 0.639026 +vt 0.791646 0.567582 +vt 0.007155 0.599335 +vt 0.015106 0.464385 +vt 0.015106 0.702531 +vt 0.777335 0.494153 +vt 0.755621 0.464385 +vt 0.464644 0.779717 +vt 0.486359 0.809485 +vt 0.522385 0.611030 +vt 0.522385 0.640799 +vt 0.192614 0.611030 +vt 0.192614 0.640799 +vt 0.669258 0.494153 +vt 0.647543 0.464385 +vt 0.353798 0.809485 +vt 0.353798 0.779717 +vt 0.686624 0.158121 +vt 0.686624 0.128353 +vt 0.339487 0.611030 +vt 0.339487 0.640799 +vt 0.228640 0.640799 +vt 0.206925 0.611030 +vt 0.683569 0.494153 +vt 0.683569 0.464385 +vt 0.672313 0.158121 +vt 0.650598 0.128353 +vt 0.744365 0.158121 +vt 0.722650 0.128353 +vt 0.741310 0.464385 +vt 0.741310 0.494153 +vt 0.033604 0.809485 +vt 0.033604 0.779717 +vt 0.780391 0.297040 +vt 0.780391 0.326808 +vt 0.611517 0.809485 +vt 0.611517 0.779717 +vt 0.902019 0.283423 +vt 0.923734 0.283423 +vt 0.926060 0.322897 +vt 0.308430 0.926597 +vt 0.310757 0.887124 +vt 0.332472 0.887124 +vt 0.797298 0.906651 +vt 0.799624 0.867178 +vt 0.821339 0.867178 +vt 0.899692 0.253870 +vt 0.902019 0.214397 +vt 0.923734 0.214397 +vt 0.919468 0.390158 +vt 0.921795 0.350684 +vt 0.943510 0.350684 +vt 0.924797 0.446184 +vt 0.927123 0.406711 +vt 0.948838 0.406711 +vt 0.945266 0.473972 +vt 0.942940 0.513446 +vt 0.921225 0.513446 +vt 0.923587 0.639181 +vt 0.925914 0.599707 +vt 0.947628 0.599707 +vt 0.918898 0.696855 +vt 0.921225 0.657382 +vt 0.942940 0.657382 +vt 0.902288 0.783864 +vt 0.904615 0.744390 +vt 0.926330 0.744390 +vt 0.918898 0.567208 +vt 0.921224 0.527735 +vt 0.942939 0.527735 +vt 0.945836 0.103834 +vt 0.919468 0.103834 +vt 0.921794 0.064360 +vt 0.945836 0.050071 +vt 0.919468 0.050071 +vt 0.921794 0.010598 +vt 0.902288 0.861502 +vt 0.928656 0.861502 +vt 0.926329 0.900976 +vt 0.902288 0.915264 +vt 0.928656 0.915264 +vt 0.926330 0.954738 +vt 0.928656 0.843302 +vt 0.902288 0.843302 +vt 0.904615 0.803828 +vt 0.662593 0.010347 +vt 0.664919 0.040485 +vt 0.638551 0.040485 +vt 0.733832 0.040484 +vt 0.707463 0.040484 +vt 0.709790 0.010346 +vt 0.823666 0.951079 +vt 0.797298 0.951079 +vt 0.799624 0.920940 +vt 0.624240 0.040485 +vt 0.597872 0.040485 +vt 0.600199 0.010347 +vt 0.164998 0.952240 +vt 0.138630 0.952240 +vt 0.140956 0.922101 +vt 0.872054 0.040484 +vt 0.845686 0.040484 +vt 0.848012 0.010345 +vt 0.435156 0.010346 +vt 0.461524 0.010346 +vt 0.459197 0.040485 +vt 0.583561 0.040485 +vt 0.557193 0.040485 +vt 0.559520 0.010346 +vt 0.420845 0.040485 +vt 0.394477 0.040485 +vt 0.396803 0.010346 +vt 0.356124 0.040485 +vt 0.353798 0.010346 +vt 0.380166 0.010346 +vt 0.499876 0.010346 +vt 0.502203 0.040485 +vt 0.475835 0.040485 +vt 0.540556 0.010346 +vt 0.542882 0.040485 +vt 0.516514 0.040485 +vt 0.829048 0.010345 +vt 0.831375 0.040484 +vt 0.805007 0.040484 +vt 0.788369 0.010345 +vt 0.790696 0.040484 +vt 0.764328 0.040484 +vt 0.885650 0.919175 +vt 0.887977 0.949314 +vt 0.861609 0.949314 +vt 0.086117 0.952239 +vt 0.083790 0.922101 +vt 0.110158 0.922101 +vt 0.589256 0.611030 +vt 0.148638 0.611030 +vt 0.981838 0.527735 +vt 0.815715 0.991695 +vt 0.981839 0.487119 +vt 0.992845 0.296569 +vt 0.965229 0.757536 +vt 0.459595 0.850102 +vt 0.869559 0.989930 +vt 0.170539 0.850102 +vt 0.102208 0.966528 +vt 0.984743 0.136798 +vt 0.022741 0.944797 +vt 0.312537 0.940886 +vt 0.196063 0.971124 +vt 0.992844 0.249224 +vt 0.476269 0.493076 +vt 0.486359 0.543727 +vt 0.457624 0.474460 +vt 0.486359 0.517400 +vt 0.476269 0.568050 +vt 0.457624 0.586667 +vt 0.433263 0.596742 +vt 0.382533 0.586667 +vt 0.363888 0.568050 +vt 0.353798 0.543727 +vt 0.353798 0.517400 +vt 0.363888 0.493076 +vt 0.382533 0.474460 +vt 0.637921 0.944797 +vt 0.164998 0.992856 +vt 0.633232 0.517400 +vt 0.623141 0.568050 +vt 0.604496 0.586667 +vt 0.553767 0.596742 +vt 0.580135 0.596742 +vt 0.529406 0.586667 +vt 0.510761 0.568050 +vt 0.965476 0.406711 +vt 0.500670 0.543727 +vt 0.510761 0.493076 +vt 0.553767 0.464385 +vt 0.580135 0.464385 +vt 0.500670 0.517400 +vt 0.055319 0.944797 +vt 0.623141 0.493076 +vt 0.981839 0.665882 +vt 0.839347 0.964437 +vt 0.220690 0.944797 +vt 0.982408 0.010598 +vt 0.982409 0.363831 +vt 0.660183 0.982848 +vt 0.990359 0.095333 +vt 0.976792 0.177414 +vt 0.349109 0.971124 +vt 0.605343 0.944797 +vt 0.334798 0.967213 +vt 0.965229 0.716920 +vt 0.286390 0.464385 +vt 0.310751 0.474460 +vt 0.329396 0.493076 +vt 0.339487 0.517400 +vt 0.339487 0.543727 +vt 0.329396 0.568050 +vt 0.310751 0.586667 +vt 0.286390 0.596742 +vt 0.235661 0.586667 +vt 0.217016 0.568050 +vt 0.206925 0.543727 +vt 0.235661 0.474460 +vt 0.217016 0.493076 +vt 0.381687 0.944797 +vt 0.087897 0.992856 +vt 0.156075 0.493076 +vt 0.166166 0.543727 +vt 0.156075 0.568050 +vt 0.137430 0.586667 +vt 0.113069 0.596742 +vt 0.086701 0.596742 +vt 0.062340 0.586667 +vt 0.033604 0.543727 +vt 0.033604 0.517400 +vt 0.043695 0.568050 +vt 0.043695 0.493076 +vt 0.062340 0.474460 +vt 0.137430 0.474460 +vt 0.570846 0.163773 +vt 0.527119 0.120114 +vt 0.592561 0.163773 +vt 0.535429 0.140145 +vt 0.550784 0.155476 +vt 0.612623 0.155476 +vt 0.636287 0.098433 +vt 0.592561 0.054774 +vt 0.570846 0.054774 +vt 0.612623 0.063071 +vt 0.636287 0.120114 +vt 0.627977 0.140145 +vt 0.550784 0.063071 +vt 0.527119 0.406437 +vt 0.527119 0.384756 +vt 0.535429 0.364725 +vt 0.570846 0.341097 +vt 0.592561 0.341097 +vt 0.627977 0.364725 +vt 0.636287 0.384756 +vt 0.627977 0.426468 +vt 0.612623 0.441799 +vt 0.592561 0.450096 +vt 0.570846 0.450096 +vt 0.550784 0.441799 +vt 0.440358 0.922102 +vt 0.612623 0.349394 +vt 0.973179 0.916611 +vt 0.967528 0.696855 +vt 0.740433 0.924850 +vt 0.847298 0.950149 +vt 0.970583 0.291923 +vt 0.967527 0.527735 +vt 0.960147 0.390158 +vt 0.972216 0.639181 +vt 0.687181 0.040485 +vt 0.192614 0.590630 +vt 0.577225 0.922103 +vt 0.283479 0.922102 +vt 0.886365 0.040484 +vt 0.142879 0.314583 +vt 0.166166 0.370714 +vt 0.160114 0.401092 +vt 0.117086 0.444054 +vt 0.086661 0.450096 +vt 0.056235 0.444054 +vt 0.942967 0.816240 +vt 0.013207 0.401092 +vt 0.086661 0.291332 +vt 0.056235 0.297375 +vt 0.117086 0.297375 +vt 0.007155 0.370714 +vt 0.973179 0.847213 +vt 0.353798 0.370714 +vt 0.433303 0.291332 +vt 0.463728 0.297375 +vt 0.489521 0.314583 +vt 0.512808 0.370714 +vt 0.506756 0.401092 +vt 0.463728 0.444054 +vt 0.489521 0.426846 +vt 0.433303 0.450096 +vt 0.402878 0.444054 +vt 0.377084 0.426846 +vt 0.407780 0.922102 +vt 0.967528 0.513446 +vt 0.960147 0.095333 +vt 0.950918 0.961873 +vt 0.954531 0.146441 +vt 0.970583 0.253870 +vt 0.960147 0.010598 +vt 0.522385 0.970095 +vt 0.481857 0.939122 +vt 0.686830 0.955824 +vt 0.948322 0.322897 +vt 0.536696 0.953076 +vt 0.242951 0.953075 +vt 0.780961 0.924850 +vt 0.339487 0.370714 +vt 0.333435 0.401092 +vt 0.316200 0.426846 +vt 0.290407 0.444054 +vt 0.259982 0.450096 +vt 0.229556 0.444054 +vt 0.186529 0.401092 +vt 0.180477 0.370714 +vt 0.229556 0.297375 +vt 0.259982 0.291332 +vt 0.290407 0.297375 +vt 0.711458 0.924850 +vt 0.973179 0.961873 +vt 0.353798 0.165909 +vt 0.402878 0.092569 +vt 0.433303 0.086527 +vt 0.463728 0.092569 +vt 0.489521 0.109777 +vt 0.512808 0.165909 +vt 0.506756 0.196287 +vt 0.489521 0.222040 +vt 0.433303 0.245291 +vt 0.402878 0.239248 +vt 0.377084 0.222040 +vt 0.339487 0.007144 +vt 0.180477 0.259579 +vt 0.166166 0.102403 +vt 0.166166 0.007144 +vt 0.015106 0.716820 +vt 0.192614 0.464385 +vt 0.353798 0.054774 +vt 0.660183 0.942232 +vt 0.942967 0.916611 +vt 0.007155 0.259579 +vt 0.146289 0.189723 +vt 0.353798 0.259579 +vt 0.166166 0.245291 +vt 0.942967 0.783864 +vt 0.655493 0.772400 +vt 0.166166 0.189723 +vt 0.655493 0.677129 +vt 0.940371 0.198762 +vt 0.166166 0.110341 +vt 0.166166 0.181785 +vt 0.007155 0.181785 +vt 0.007155 0.110341 +vt 0.799597 0.464385 +vt 0.791646 0.702531 +vt 0.791646 0.646964 +vt 0.007155 0.519953 +vt 0.007155 0.527891 +vt 0.007155 0.702531 +vt 0.007155 0.607273 +vt 0.791646 0.559644 +vt 0.791646 0.464385 +vt 0.007155 0.464385 +vt 0.777335 0.464385 +vt 0.464644 0.809485 +vt 0.500670 0.611030 +vt 0.170899 0.611030 +vt 0.669258 0.464385 +vt 0.375513 0.809485 +vt 0.708339 0.128353 +vt 0.317772 0.611030 +vt 0.228640 0.611030 +vt 0.705284 0.464385 +vt 0.672313 0.128353 +vt 0.744365 0.128353 +vt 0.719595 0.464385 +vt 0.055319 0.809485 +vt 0.758676 0.326808 +vt 0.633232 0.809485 +vt 0.899692 0.322897 +vt 0.334798 0.926597 +vt 0.823666 0.906651 +vt 0.926060 0.253870 +vt 0.945836 0.390158 +vt 0.951165 0.446184 +vt 0.918898 0.473972 +vt 0.949955 0.639181 +vt 0.945266 0.696855 +vt 0.928656 0.783864 +vt 0.945266 0.567208 +vt 0.943509 0.064360 +vt 0.943509 0.010598 +vt 0.904615 0.900976 +vt 0.904615 0.954738 +vt 0.926329 0.803828 +vt 0.640878 0.010347 +vt 0.731505 0.010346 +vt 0.821339 0.920940 +vt 0.621914 0.010347 +vt 0.162671 0.922101 +vt 0.869727 0.010345 +vt 0.437483 0.040485 +vt 0.581235 0.010346 +vt 0.418518 0.010346 +vt 0.377839 0.040485 +vt 0.478162 0.010346 +vt 0.518841 0.010346 +vt 0.807333 0.010345 +vt 0.766654 0.010345 +vt 0.863935 0.919175 +vt 0.107832 0.952239 +vn -1.000000 0.000000 0.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000002 -0.195091 -0.980785 +vn 0.000000 -0.555570 -0.831470 +vn 0.000001 -0.831470 -0.555570 +vn 0.000001 -0.980785 -0.195090 +vn 0.000001 -0.980785 0.195090 +vn 0.000000 -0.831470 0.555570 +vn 0.000000 -0.555570 0.831470 +vn 0.000000 -0.195091 0.980785 +vn -0.000002 0.195090 0.980785 +vn 0.000000 0.555570 0.831470 +vn 0.000000 0.831469 0.555571 +vn -0.000002 0.980785 0.195090 +vn -0.000002 0.980785 -0.195090 +vn -0.000002 0.831469 -0.555572 +vn 1.000000 0.000001 0.000000 +vn -0.000001 0.195090 -0.980785 +vn -0.000001 0.555570 -0.831470 +vn -1.000000 -0.000001 0.000000 +vn 0.000000 -0.195091 -0.980785 +vn 0.000001 -0.831470 0.555569 +vn -0.000002 0.980785 0.195092 +vn -0.000002 0.980785 -0.195092 +vn -0.000002 0.831469 -0.555571 +vn 0.000000 0.195090 -0.980785 +vn -0.000001 0.555570 -0.831469 +vn 0.000000 -0.195090 -0.980785 +vn 0.000001 -0.831469 -0.555571 +vn 0.000001 -0.980785 0.195091 +vn 0.000001 -0.831469 0.555571 +vn 0.000001 -0.555570 0.831470 +vn -0.000000 0.195090 0.980785 +vn -0.000001 0.555570 0.831470 +vn -0.000001 0.831469 0.555571 +vn -0.000001 0.980785 0.195090 +vn -0.000001 0.980785 -0.195091 +vn -0.000001 0.831469 -0.555572 +vn 0.000001 -0.831470 0.555570 +vn -0.000002 0.831469 0.555571 +vn 0.000000 0.980785 -0.195090 +vn 0.000000 0.831470 -0.555570 +vn 0.000001 -0.555570 -0.831470 +vn 0.000000 -0.831470 -0.555570 +vn -0.000002 0.831469 0.555570 +vn 0.102381 -0.943524 0.315090 +vn 0.700224 -0.661699 0.268032 +vn -0.268034 -0.943523 0.194736 +vn -0.268034 -0.943523 -0.194736 +vn 0.102381 -0.943524 -0.315090 +vn 0.904989 -0.330385 0.268031 +vn 0.024746 -0.330386 0.943521 +vn -0.889697 -0.330385 0.315095 +vn -0.574602 -0.330388 -0.748784 +vn 0.534576 -0.330386 -0.777865 +vn 0.802609 -0.125627 0.583126 +vn -0.306569 -0.125629 0.943522 +vn -0.992077 -0.125628 0.000000 +vn -0.306569 -0.125629 -0.943522 +vn 0.802609 -0.125627 -0.583126 +vn 0.408946 0.661699 0.628425 +vn -0.471300 0.661699 0.583122 +vn -0.700224 0.661699 -0.268032 +vn 0.038530 0.661699 -0.748779 +vn 0.724042 0.661695 -0.194736 +vn -0.038530 -0.661699 0.748779 +vn 0.187594 -0.794658 0.577345 +vn 0.471300 -0.661699 0.583122 +vn 0.700224 -0.661699 -0.268032 +vn 0.607061 -0.794656 0.000000 +vn 0.331305 -0.943524 0.000000 +vn -0.724042 -0.661695 0.194736 +vn -0.491120 -0.794657 0.356821 +vn -0.408946 -0.661698 0.628425 +vn -0.408946 -0.661698 -0.628425 +vn -0.491120 -0.794657 -0.356821 +vn -0.724042 -0.661695 -0.194736 +vn 0.471300 -0.661699 -0.583122 +vn 0.187594 -0.794658 -0.577345 +vn -0.038530 -0.661699 -0.748779 +vn 0.992077 0.125628 0.000000 +vn 0.982246 -0.187599 0.000000 +vn 0.904989 -0.330385 -0.268031 +vn 0.306569 0.125629 0.943522 +vn 0.303531 -0.187597 0.934171 +vn 0.534576 -0.330386 0.777865 +vn -0.802609 0.125627 0.583126 +vn -0.794655 -0.187595 0.577348 +vn -0.574602 -0.330388 0.748784 +vn -0.802609 0.125627 -0.583126 +vn -0.794655 -0.187595 -0.577348 +vn -0.889697 -0.330385 -0.315095 +vn 0.306569 0.125629 -0.943522 +vn 0.303531 -0.187597 -0.934171 +vn 0.024746 -0.330386 -0.943521 +vn 0.574602 0.330388 0.748783 +vn 0.794656 0.187595 0.577348 +vn 0.889697 0.330385 0.315095 +vn -0.534576 0.330386 0.777865 +vn -0.303531 0.187597 0.934171 +vn -0.024747 0.330386 0.943521 +vn -0.904989 0.330385 -0.268032 +vn -0.982246 0.187598 0.000000 +vn -0.904989 0.330385 0.268032 +vn -0.024747 0.330386 -0.943521 +vn -0.303531 0.187597 -0.934171 +vn -0.534576 0.330386 -0.777865 +vn 0.889697 0.330385 -0.315095 +vn 0.794656 0.187595 -0.577348 +vn 0.574602 0.330388 -0.748783 +vn 0.268034 0.943523 0.194736 +vn 0.491120 0.794657 0.356821 +vn 0.724042 0.661695 0.194736 +vn -0.102381 0.943523 0.315090 +vn -0.187594 0.794658 0.577345 +vn 0.038530 0.661699 0.748779 +vn -0.331305 0.943524 0.000000 +vn -0.607060 0.794656 0.000000 +vn -0.700224 0.661699 0.268032 +vn -0.102381 0.943523 -0.315091 +vn -0.187594 0.794658 -0.577345 +vn -0.471300 0.661699 -0.583122 +vn 0.268034 0.943523 -0.194736 +vn 0.491120 0.794657 -0.356821 +vn 0.408946 0.661699 -0.628425 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 1.000000 0.000000 +vn 1.000000 -0.000001 0.000003 +vn 0.000001 0.074616 -0.997212 +vn 0.000000 0.074616 0.997212 +vn -1.000000 0.000001 0.000003 +vn -0.000001 -0.061786 -0.998089 +vn -0.000002 -0.061786 0.998089 +vn -1.000000 0.000001 0.000002 +vn 0.000002 -0.061786 0.998089 +vn 0.000000 0.074616 -0.997212 +vn 0.000000 0.000000 1.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 -0.555571 0.831469 +vn 0.000000 -0.195090 0.980785 +vn -0.000000 0.555569 0.831470 +vn -0.000000 0.831469 0.555570 +vn -0.000001 0.980785 0.195089 +vn -0.000001 0.980785 -0.195090 +vn -0.000001 0.831469 -0.555571 +vn -0.000000 0.555571 -0.831469 +vn -0.295857 0.794246 -0.530699 +vn -0.295858 0.936878 -0.186356 +vn -0.295858 0.936877 0.186358 +vn -0.295858 0.794246 0.530699 +vn -0.295857 0.530698 0.794247 +vn -0.295857 0.186356 0.936878 +vn -0.295856 -0.186357 0.936878 +vn -0.295855 -0.530699 0.794247 +vn -0.295855 -0.794247 0.530699 +vn -0.295855 -0.936878 0.186356 +vn -0.295855 -0.936878 -0.186357 +vn -0.295855 -0.794247 -0.530699 +vn -0.295856 -0.530699 -0.794247 +vn -0.295856 -0.186357 -0.936878 +vn -0.295857 0.186356 -0.936878 +vn -0.295857 0.530699 -0.794247 +vn 0.387494 0.904159 0.179848 +vn 0.387494 0.904159 -0.179848 +vn 0.387494 0.766508 -0.512166 +vn 0.387494 0.512164 -0.766509 +vn 0.387496 0.179848 -0.904158 +vn 0.387497 -0.179848 -0.904158 +vn 0.387497 -0.512163 -0.766508 +vn 0.387498 -0.766507 -0.512164 +vn 0.387499 -0.904157 -0.179848 +vn 0.387499 -0.904157 0.179848 +vn 0.387498 -0.766507 0.512164 +vn 0.387497 -0.512163 0.766508 +vn 0.387496 -0.179848 0.904158 +vn 0.387496 0.179848 0.904158 +vn 0.387495 0.512164 0.766509 +vn 0.387494 0.766508 0.512166 +vn -0.000002 -0.195090 -0.980785 +vn 0.000001 -0.980785 -0.195091 +vn 0.000002 0.195090 0.980785 +vn -0.000002 0.831470 0.555570 +vn 0.000000 0.980785 0.195090 +vn -0.000002 0.831470 -0.555570 +vn 1.000000 0.000001 0.000001 +vn 1.000000 0.000001 -0.000001 +vn 0.000000 0.555570 -0.831470 +vn -1.000000 -0.000001 -0.000001 +vn -1.000000 -0.000001 0.000001 +vn -1.000000 -0.000002 0.000000 +vn -1.000000 -0.000000 0.000001 +vn 0.000002 -0.195090 -0.980785 +vn -1.000000 -0.000000 -0.000001 +vn 0.000000 0.195091 0.980785 +vn -0.000002 0.831470 0.555569 +vn -0.000002 0.980786 0.195089 +vn -0.000002 0.980786 -0.195089 +vn -0.000002 0.831470 -0.555569 +vn -1.000000 -0.000003 0.000000 +vn -0.000001 0.831470 0.555569 +vn -0.000001 0.980786 -0.195088 +vn -0.000001 0.831470 -0.555569 +vn 1.000000 0.000002 -0.000000 +vn 1.000000 -0.000001 0.000000 +vn -1.000000 -0.000004 0.000000 +vn 0.000001 -0.831469 -0.555570 +vn 0.000001 -0.831469 0.555570 +vn 0.000002 -0.555570 0.831470 +vn 0.000000 0.980785 0.195089 +vn 0.000000 0.980785 -0.195091 +vn 0.000000 0.555569 -0.831470 +vn -0.000002 0.555570 0.831469 +vn 0.000000 0.831470 0.555570 +vn 0.000000 0.831469 -0.555571 +vn -1.000000 0.000001 0.000000 +vn 1.000000 -0.000001 -0.000003 +vn -1.000000 0.000001 -0.000002 +vn -1.000000 0.000001 -0.000003 +vn 0.000000 -0.061786 -0.998089 +vn 0.000000 -0.061786 0.998089 +vn 0.000001 -0.555571 -0.831469 +vn -0.000001 0.831469 0.555570 +vn -0.295858 0.936877 -0.186358 +vn -0.295858 0.936878 0.186356 +vn -0.295858 0.794247 0.530698 +vn -0.295856 -0.530699 0.794247 +vn -0.295855 -0.936878 0.186357 +vn -0.295855 -0.936878 -0.186356 +vn -0.295855 -0.530699 -0.794247 +vn -0.295857 0.530698 -0.794247 +vn 0.387494 0.766510 -0.512163 +vn 0.387495 0.512165 -0.766508 +vn 0.387496 -0.179848 -0.904158 +vn 0.387498 -0.512164 -0.766507 +vn 0.387499 -0.766507 0.512164 +vn 0.387498 -0.512164 0.766507 +vn 0.387496 0.179849 0.904158 +vn 0.387495 0.766509 0.512163 +s off +f 5/1/1 6/2/1 2/3/1 +f 7/4/2 8/5/2 4/6/2 +f 10/7/3 12/8/3 11/9/3 +f 11/10/4 12/11/4 14/12/4 +f 14/13/5 16/14/5 15/15/5 +f 15/16/6 16/17/6 18/18/6 +f 18/19/7 20/20/7 19/21/7 +f 19/22/8 20/23/8 22/24/8 +f 22/25/9 24/26/9 23/27/9 +f 23/28/10 24/29/10 26/30/10 +f 26/31/11 28/32/11 27/33/11 +f 28/34/12 30/35/12 29/36/12 +f 29/37/13 30/38/13 32/39/13 +f 31/40/14 32/41/14 34/42/14 +f 34/43/15 36/44/15 35/45/15 +f 36/46/16 38/47/16 37/48/16 +f 16/49/17 14/50/17 30/51/17 +f 40/52/18 10/53/18 9/54/18 +f 37/55/19 38/56/19 40/57/19 +f 11/58/20 31/59/20 37/60/20 +f 41/61/21 42/62/21 44/63/21 +f 44/64/4 46/65/4 45/66/4 +f 46/67/5 48/68/5 47/69/5 +f 48/70/6 50/71/6 49/72/6 +f 50/73/7 52/74/7 51/75/7 +f 52/76/22 54/77/22 53/78/22 +f 54/79/9 56/80/9 55/81/9 +f 56/82/10 58/83/10 57/84/10 +f 58/85/11 60/86/11 59/87/11 +f 59/88/12 60/89/12 62/90/12 +f 61/91/13 62/92/13 64/93/13 +f 63/94/23 64/95/23 66/96/23 +f 66/97/24 68/98/24 67/99/24 +f 68/100/25 70/101/25 69/102/25 +f 54/103/17 48/104/17 62/105/17 +f 72/106/26 42/107/26 41/108/26 +f 70/109/27 72/110/27 71/111/27 +f 43/112/20 67/113/20 69/114/20 +f 74/115/28 76/116/28 228/117/28 +f 76/118/4 78/119/4 229/120/4 +f 78/121/29 80/122/29 230/123/29 +f 80/124/6 82/125/6 231/126/6 +f 82/127/30 84/128/30 232/129/30 +f 84/130/31 86/131/31 233/132/31 +f 233/133/32 86/134/32 88/135/32 +f 88/136/10 90/137/10 235/138/10 +f 90/139/33 92/140/33 236/141/33 +f 236/142/34 92/143/34 94/144/34 +f 94/145/35 96/146/35 238/147/35 +f 96/148/36 98/149/36 239/150/36 +f 98/151/37 100/152/37 240/153/37 +f 100/154/38 102/155/38 241/156/38 +f 98/157/17 96/158/17 86/159/17 +f 242/160/26 104/161/26 74/162/26 +f 102/163/19 104/164/19 242/165/19 +f 91/166/20 103/167/20 79/168/20 +f 106/169/28 108/170/28 107/171/28 +f 108/172/4 110/173/4 109/174/4 +f 110/175/5 112/176/5 111/177/5 +f 112/178/6 114/179/6 113/180/6 +f 114/181/7 116/182/7 115/183/7 +f 115/184/39 116/185/39 118/186/39 +f 117/187/9 118/188/9 120/189/9 +f 119/190/10 120/191/10 122/192/10 +f 122/193/33 124/194/33 123/195/33 +f 124/196/12 126/197/12 125/198/12 +f 126/199/40 128/200/40 127/201/40 +f 127/202/14 128/203/14 130/204/14 +f 129/205/41 130/206/41 132/207/41 +f 131/208/42 132/209/42 134/210/42 +f 134/211/17 126/212/17 118/213/17 +f 136/214/26 106/215/26 105/216/26 +f 134/217/19 136/218/19 135/219/19 +f 135/220/20 111/221/20 119/222/20 +f 138/223/28 140/224/28 139/225/28 +f 140/226/43 142/227/43 141/228/43 +f 141/229/44 142/230/44 144/231/44 +f 144/232/6 146/233/6 145/234/6 +f 146/235/30 148/236/30 147/237/30 +f 148/238/8 150/239/8 149/240/8 +f 150/241/9 152/242/9 151/243/9 +f 152/244/10 154/245/10 153/246/10 +f 154/247/33 156/248/33 155/249/33 +f 156/250/12 158/251/12 157/252/12 +f 158/253/45 160/254/45 159/255/45 +f 159/256/14 160/257/14 162/258/14 +f 161/259/41 162/260/41 164/261/41 +f 163/262/42 164/263/42 166/264/42 +f 158/265/17 150/266/17 142/267/17 +f 168/268/26 138/269/26 137/270/26 +f 166/271/19 168/272/19 167/273/19 +f 151/274/20 159/275/20 167/276/20 +f 169/277/46 182/278/46 181/279/46 +f 170/280/47 182/281/47 184/282/47 +f 169/283/48 181/284/48 186/285/48 +f 169/286/49 186/287/49 188/288/49 +f 169/289/50 188/290/50 185/291/50 +f 170/292/51 184/293/51 191/294/51 +f 171/295/52 183/296/52 193/297/52 +f 172/298/53 187/299/53 195/300/53 +f 173/301/54 189/302/54 197/303/54 +f 174/304/55 190/305/55 199/306/55 +f 170/307/56 191/308/56 194/309/56 +f 171/310/57 193/311/57 196/312/57 +f 172/313/58 195/314/58 198/315/58 +f 173/316/59 197/317/59 200/318/59 +f 174/319/60 199/320/60 192/321/60 +f 175/322/61 201/323/61 206/324/61 +f 176/325/62 202/326/62 208/327/62 +f 177/328/63 203/329/63 209/330/63 +f 178/331/64 204/332/64 210/333/64 +f 179/334/65 205/335/65 207/336/65 +f 181/337/66 183/338/66 171/339/66 +f 181/340/67 182/341/67 183/342/67 +f 182/343/68 170/344/68 183/345/68 +f 184/346/69 185/347/69 174/348/69 +f 184/349/70 182/350/70 185/351/70 +f 182/352/71 169/353/71 185/354/71 +f 186/355/72 187/356/72 172/357/72 +f 186/358/73 181/359/73 187/360/73 +f 181/361/74 171/362/74 187/363/74 +f 188/364/75 189/365/75 173/366/75 +f 188/367/76 186/368/76 189/369/76 +f 186/370/77 172/371/77 189/372/77 +f 185/373/78 190/374/78 174/375/78 +f 185/376/79 188/377/79 190/378/79 +f 188/379/80 173/380/80 190/381/80 +f 191/382/81 192/383/81 179/384/81 +f 191/385/82 184/386/82 192/387/82 +f 184/388/83 174/389/83 192/390/83 +f 193/391/84 194/392/84 175/393/84 +f 193/394/85 183/395/85 194/396/85 +f 183/397/86 170/398/86 194/399/86 +f 195/400/87 196/401/87 176/402/87 +f 195/403/88 187/404/88 196/405/88 +f 187/406/89 171/407/89 196/408/89 +f 197/409/90 198/410/90 177/411/90 +f 197/412/91 189/413/91 198/414/91 +f 189/415/92 172/416/92 198/417/92 +f 199/418/93 200/419/93 178/420/93 +f 199/421/94 190/422/94 200/423/94 +f 190/424/95 173/425/95 200/426/95 +f 194/427/96 201/428/96 175/429/96 +f 194/430/97 191/431/97 201/432/97 +f 191/433/98 179/434/98 201/435/98 +f 196/436/99 202/437/99 176/438/99 +f 196/439/100 193/440/100 202/441/100 +f 193/442/101 175/443/101 202/444/101 +f 198/445/102 203/446/102 177/447/102 +f 198/448/103 195/449/103 203/450/103 +f 195/451/104 176/452/104 203/453/104 +f 200/454/105 204/455/105 178/456/105 +f 200/457/106 197/458/106 204/459/106 +f 197/460/107 177/461/107 204/462/107 +f 192/463/108 205/464/108 179/465/108 +f 192/466/109 199/467/109 205/468/109 +f 199/469/110 178/470/110 205/471/110 +f 206/472/111 207/473/111 180/474/111 +f 206/475/112 201/476/112 207/477/112 +f 201/478/113 179/479/113 207/480/113 +f 208/481/114 206/482/114 180/483/114 +f 208/484/115 202/485/115 206/486/115 +f 202/487/116 175/488/116 206/489/116 +f 209/490/117 208/491/117 180/492/117 +f 209/493/118 203/494/118 208/495/118 +f 203/496/119 176/497/119 208/498/119 +f 210/499/120 209/500/120 180/501/120 +f 210/502/121 204/503/121 209/504/121 +f 204/505/122 177/506/122 209/507/122 +f 207/508/123 210/509/123 180/510/123 +f 207/511/124 205/512/124 210/513/124 +f 205/514/125 178/515/125 210/516/125 +f 3/517/126 4/518/126 1/519/126 +f 216/520/127 217/521/127 214/522/127 +f 214/523/2 213/524/2 140/525/2 +f 217/526/128 150/266/128 152/527/128 +f 224/528/1 223/529/1 119/222/1 +f 211/530/127 212/531/127 6/532/127 +f 139/533/129 140/534/129 213/535/129 +f 216/536/1 215/537/1 151/274/1 +f 215/538/130 218/539/130 152/540/130 +f 211/541/131 141/542/131 139/543/131 +f 216/544/132 149/545/132 150/546/132 +f 142/547/133 141/548/133 211/549/133 +f 222/550/2 221/551/2 108/552/2 +f 225/553/128 118/213/128 120/554/128 +f 222/555/127 219/556/127 224/557/127 +f 219/558/134 109/559/134 107/560/134 +f 7/561/127 221/562/127 222/555/127 +f 110/563/135 109/564/135 219/565/135 +f 107/566/136 108/567/136 221/568/136 +f 223/569/130 226/570/130 120/571/130 +f 224/572/132 117/573/132 118/574/132 +f 214/522/127 224/557/127 219/556/127 +f 4/575/137 223/576/137 218/577/137 +f 213/578/138 3/579/138 2/580/138 +f 227/581/28 228/117/28 75/582/28 +f 228/583/43 229/120/43 77/584/43 +f 77/585/5 229/586/5 230/123/5 +f 79/587/6 230/588/6 231/126/6 +f 231/589/7 232/129/7 83/590/7 +f 83/591/39 232/592/39 233/132/39 +f 233/133/139 234/593/139 87/594/139 +f 87/595/140 234/596/140 235/138/140 +f 235/597/33 236/141/33 91/598/33 +f 236/142/141 237/599/141 93/600/141 +f 237/601/142 238/147/142 95/602/142 +f 238/603/143 239/150/143 97/604/143 +f 97/605/144 239/606/144 240/153/144 +f 99/607/145 240/608/145 241/156/145 +f 242/160/26 227/609/26 73/610/26 +f 101/611/146 241/612/146 242/165/146 +f 241/613/147 240/614/147 67/615/147 +f 67/616/148 240/617/148 239/618/148 +f 65/619/149 239/620/149 238/621/149 +f 63/622/150 238/623/150 237/624/150 +f 61/625/151 237/626/151 236/627/151 +f 59/628/152 236/629/152 235/630/152 +f 57/631/153 235/632/153 234/633/153 +f 55/634/154 234/635/154 233/636/154 +f 53/637/155 233/638/155 232/639/155 +f 51/640/156 232/641/156 231/642/156 +f 49/643/157 231/644/157 230/645/157 +f 45/646/158 47/647/158 230/648/158 +f 43/649/159 45/650/159 229/651/159 +f 41/652/160 43/653/160 228/654/160 +f 71/655/161 41/656/161 227/657/161 +f 69/658/162 71/659/162 242/660/162 +f 98/661/163 34/662/163 32/663/163 +f 36/664/164 34/665/164 98/666/164 +f 38/667/165 36/668/165 100/669/165 +f 40/670/166 38/671/166 102/672/166 +f 10/673/167 40/674/167 104/675/167 +f 12/676/168 10/677/168 74/678/168 +f 14/679/169 12/680/169 76/681/169 +f 16/682/170 14/683/170 78/684/170 +f 18/685/171 16/686/171 80/687/171 +f 84/688/172 20/689/172 18/690/172 +f 86/691/173 22/692/173 20/693/173 +f 88/694/174 24/695/174 22/696/174 +f 90/697/175 26/698/175 24/699/175 +f 92/700/176 28/701/176 26/702/176 +f 94/703/177 30/704/177 28/705/177 +f 96/706/178 32/707/178 30/708/178 +f 1/709/1 5/1/1 2/3/1 +f 3/710/2 7/4/2 4/6/2 +f 9/711/179 10/7/179 11/9/179 +f 13/712/43 11/10/43 14/12/43 +f 13/713/44 14/13/44 15/15/44 +f 17/714/180 15/16/180 18/18/180 +f 17/715/30 18/19/30 19/21/30 +f 21/716/8 19/22/8 22/24/8 +f 21/717/32 22/25/32 23/27/32 +f 25/718/10 23/28/10 26/30/10 +f 25/719/181 26/31/181 27/33/181 +f 27/720/12 28/34/12 29/36/12 +f 31/721/182 29/37/182 32/39/182 +f 33/722/183 31/40/183 34/42/183 +f 33/723/41 34/43/41 35/45/41 +f 35/724/184 36/46/184 37/48/184 +f 10/725/17 38/726/17 12/727/17 +f 10/725/185 40/728/185 38/726/185 +f 38/726/17 36/729/17 34/730/17 +f 34/730/2 32/731/2 30/51/2 +f 30/51/186 28/732/186 26/733/186 +f 24/734/186 22/735/186 20/736/186 +f 18/737/17 24/734/17 20/736/17 +f 30/51/17 24/734/17 18/737/17 +f 34/730/17 30/51/17 14/50/17 +f 39/738/187 37/55/187 40/57/187 +f 12/727/17 38/726/17 34/730/17 +f 39/739/26 40/52/26 9/54/26 +f 12/727/17 34/730/17 14/50/17 +f 30/51/17 26/733/17 24/734/17 +f 16/49/17 30/51/17 18/737/17 +f 11/58/20 37/60/20 9/740/20 +f 11/58/188 13/741/188 15/742/188 +f 19/743/20 31/59/20 17/744/20 +f 19/743/189 21/745/189 23/746/189 +f 43/747/43 44/64/43 45/66/43 +f 31/59/20 25/748/20 29/749/20 +f 31/59/190 33/750/190 35/751/190 +f 25/748/191 27/752/191 29/749/191 +f 15/742/20 31/59/20 11/58/20 +f 23/746/20 25/748/20 19/743/20 +f 25/748/20 31/59/20 19/743/20 +f 43/753/192 41/61/192 44/63/192 +f 31/59/20 15/742/20 17/744/20 +f 37/60/193 39/754/193 9/740/193 +f 31/59/1 35/751/1 37/60/1 +f 45/755/29 46/67/29 47/69/29 +f 47/756/180 48/70/180 49/72/180 +f 49/757/30 50/73/30 51/75/30 +f 51/758/31 52/76/31 53/78/31 +f 53/759/32 54/79/32 55/81/32 +f 55/760/140 56/82/140 57/84/140 +f 57/761/194 58/85/194 59/87/194 +f 61/762/12 59/88/12 62/90/12 +f 63/763/195 61/91/195 64/93/195 +f 65/764/196 63/94/196 66/96/196 +f 65/765/197 66/97/197 67/99/197 +f 67/766/198 68/100/198 69/102/198 +f 46/767/17 44/768/17 42/769/17 +f 42/769/17 72/770/17 70/771/17 +f 70/771/17 68/772/17 66/773/17 +f 66/773/17 64/774/17 62/105/17 +f 62/105/17 60/775/17 58/776/17 +f 58/776/17 56/777/17 54/103/17 +f 50/778/17 48/104/17 52/779/17 +f 69/780/19 70/109/19 71/111/19 +f 70/771/17 48/104/17 42/769/17 +f 62/105/17 48/104/17 66/773/17 +f 62/105/17 58/776/17 54/103/17 +f 48/104/17 70/771/17 66/773/17 +f 48/104/17 54/103/17 52/779/17 +f 71/781/26 72/106/26 41/108/26 +f 48/104/17 46/767/17 42/769/17 +f 43/112/20 69/114/20 41/782/20 +f 43/112/1 45/783/1 47/784/1 +f 47/784/199 49/785/199 51/786/199 +f 51/786/20 53/787/20 55/788/20 +f 59/789/1 61/790/1 57/791/1 +f 55/788/20 57/791/20 63/792/20 +f 63/792/20 65/793/20 67/113/20 +f 57/791/20 61/790/20 63/792/20 +f 47/784/20 63/792/20 43/112/20 +f 55/788/20 63/792/20 51/786/20 +f 228/583/43 76/118/43 229/120/43 +f 69/114/20 71/794/20 41/782/20 +f 43/112/20 63/792/20 67/113/20 +f 227/581/28 74/115/28 228/117/28 +f 63/792/20 47/784/20 51/786/20 +f 229/586/5 78/121/5 230/123/5 +f 230/588/6 80/124/6 231/126/6 +f 231/589/7 82/127/7 232/129/7 +f 232/592/39 84/130/39 233/132/39 +f 234/593/32 233/133/32 88/135/32 +f 234/596/140 88/136/140 235/138/140 +f 235/597/33 90/139/33 236/141/33 +f 237/599/34 236/142/34 94/144/34 +f 237/601/200 94/145/200 238/147/200 +f 238/603/36 96/148/36 239/150/36 +f 239/606/201 98/151/201 240/153/201 +f 240/608/202 100/154/202 241/156/202 +f 74/795/17 100/796/17 76/797/17 +f 102/798/203 100/796/203 104/799/203 +f 98/157/17 78/800/17 100/796/17 +f 78/800/204 86/159/204 84/801/204 +f 90/802/17 96/158/17 92/803/17 +f 86/159/17 96/158/17 88/804/17 +f 82/805/17 78/800/17 84/801/17 +f 82/805/17 80/806/17 78/800/17 +f 241/612/19 102/163/19 242/165/19 +f 96/158/203 94/807/203 92/803/203 +f 227/609/26 242/160/26 74/162/26 +f 100/796/17 78/800/17 76/797/17 +f 96/158/17 90/802/17 88/804/17 +f 78/800/17 98/157/17 86/159/17 +f 100/796/17 74/795/17 104/799/17 +f 103/167/20 73/808/20 75/809/20 +f 79/168/20 103/167/20 77/810/20 +f 79/168/205 81/811/205 83/812/205 +f 103/167/20 75/809/20 77/810/20 +f 87/813/20 89/814/20 91/166/20 +f 91/166/1 93/815/1 95/816/1 +f 95/816/190 97/817/190 99/818/190 +f 103/167/1 95/816/1 101/819/1 +f 107/820/4 108/172/4 109/174/4 +f 85/821/20 87/813/20 91/166/20 +f 95/816/20 103/167/20 91/166/20 +f 79/168/190 83/812/190 85/821/190 +f 79/168/1 85/821/1 91/166/1 +f 105/822/28 106/169/28 107/171/28 +f 95/816/205 99/818/205 101/819/205 +f 109/823/206 110/175/206 111/177/206 +f 111/824/180 112/178/180 113/180/180 +f 113/825/30 114/181/30 115/183/30 +f 117/826/207 115/184/207 118/186/207 +f 119/827/208 117/187/208 120/189/208 +f 121/828/140 119/190/140 122/192/140 +f 121/829/33 122/193/33 123/195/33 +f 123/830/141 124/196/141 125/198/141 +f 125/831/13 126/199/13 127/201/13 +f 129/832/209 127/202/209 130/204/209 +f 131/833/210 129/205/210 132/207/210 +f 133/834/25 131/208/25 134/210/25 +f 110/835/17 108/552/17 106/836/17 +f 106/836/17 136/837/17 134/211/17 +f 134/211/17 132/838/17 130/839/17 +f 130/839/17 128/840/17 126/212/17 +f 133/841/211 134/217/211 135/219/211 +f 118/213/17 124/842/17 120/554/17 +f 114/843/17 134/211/17 116/844/17 +f 110/835/17 134/211/17 112/845/17 +f 110/835/17 106/836/17 134/211/17 +f 134/211/17 130/839/17 126/212/17 +f 124/842/17 122/846/17 120/554/17 +f 135/847/26 136/214/26 105/216/26 +f 134/211/17 114/843/17 112/845/17 +f 134/211/17 118/213/17 116/844/17 +f 118/213/17 126/212/17 124/842/17 +f 107/560/20 111/221/20 105/848/20 +f 107/560/1 109/559/1 111/221/1 +f 111/221/190 113/849/190 115/850/190 +f 119/222/20 111/221/20 117/851/20 +f 119/222/20 121/852/20 123/853/20 +f 127/854/20 135/220/20 125/855/20 +f 127/854/190 129/856/190 131/857/190 +f 131/857/1 133/858/1 135/220/1 +f 111/221/20 115/850/20 117/851/20 +f 139/859/4 140/226/4 141/228/4 +f 137/860/28 138/223/28 139/225/28 +f 127/854/20 131/857/20 135/220/20 +f 111/221/20 135/220/20 105/848/20 +f 123/853/20 135/220/20 119/222/20 +f 135/220/20 123/853/20 125/855/20 +f 143/861/5 141/229/5 144/231/5 +f 143/862/180 144/232/180 145/234/180 +f 145/863/7 146/235/7 147/237/7 +f 147/864/39 148/238/39 149/240/39 +f 149/865/9 150/241/9 151/243/9 +f 151/866/10 152/244/10 153/246/10 +f 153/867/33 154/247/33 155/249/33 +f 155/868/212 156/250/212 157/252/212 +f 157/869/213 158/253/213 159/255/213 +f 161/870/183 159/256/183 162/258/183 +f 163/871/210 161/259/210 164/261/210 +f 165/872/214 163/262/214 166/264/214 +f 142/267/17 140/525/17 138/873/17 +f 138/873/17 168/874/17 166/875/17 +f 166/875/17 164/876/17 162/877/17 +f 162/877/17 160/878/17 158/265/17 +f 158/265/17 156/879/17 154/880/17 +f 150/266/17 158/265/17 152/527/17 +f 150/266/2 148/881/2 146/882/2 +f 146/882/203 144/883/203 142/267/203 +f 142/267/17 138/873/17 166/875/17 +f 166/875/17 162/877/17 158/265/17 +f 165/884/187 166/271/187 167/273/187 +f 150/266/17 146/882/17 142/267/17 +f 142/267/17 166/875/17 158/265/17 +f 167/885/26 168/268/26 137/270/26 +f 158/265/17 154/880/17 152/527/17 +f 167/276/20 137/886/20 139/543/20 +f 139/543/190 141/542/190 143/887/190 +f 143/887/215 145/888/215 147/889/215 +f 147/889/20 149/890/20 151/274/20 +f 151/274/20 153/891/20 155/892/20 +f 155/892/190 157/893/190 159/275/190 +f 159/275/190 161/894/190 163/895/190 +f 163/895/190 165/896/190 167/276/190 +f 167/276/20 139/543/20 143/887/20 +f 143/887/20 147/889/20 151/274/20 +f 151/274/20 155/892/20 159/275/20 +f 159/275/20 163/895/20 167/276/20 +f 167/276/20 143/887/20 151/274/20 +f 2/897/126 3/517/126 1/519/126 +f 211/530/127 216/520/127 214/522/127 +f 142/267/216 214/523/216 140/525/216 +f 218/898/2 217/526/2 152/527/2 +f 117/851/217 224/528/217 119/222/217 +f 215/899/127 216/520/127 5/900/127 +f 211/530/127 6/532/127 216/520/127 +f 212/901/136 139/533/136 213/535/136 +f 216/520/127 6/532/127 5/900/127 +f 149/890/218 216/536/218 151/274/218 +f 151/902/130 215/538/130 152/540/130 +f 212/903/1 211/541/1 139/543/1 +f 217/904/219 216/544/219 150/546/219 +f 214/905/220 142/547/220 211/549/220 +f 110/835/216 222/550/216 108/552/216 +f 226/906/2 225/553/2 120/554/2 +f 225/907/127 222/555/127 224/557/127 +f 220/908/1 219/558/1 107/560/1 +f 7/561/127 225/907/127 8/909/127 +f 222/910/220 110/563/220 219/565/220 +f 220/911/136 107/566/136 221/568/136 +f 225/907/127 226/912/127 8/909/127 +f 7/561/127 222/555/127 225/907/127 +f 119/913/130 223/569/130 120/571/130 +f 225/914/219 224/572/219 118/574/219 +f 218/915/127 224/557/127 217/521/127 +f 218/915/127 223/916/127 224/557/127 +f 219/556/127 220/917/127 213/918/127 +f 4/575/137 218/577/137 1/919/137 +f 213/918/127 214/522/127 219/556/127 +f 4/575/137 8/920/137 226/921/137 +f 224/557/127 214/522/127 217/521/127 +f 221/922/138 3/579/138 220/923/138 +f 2/580/138 6/924/138 212/925/138 +f 4/575/137 226/921/137 223/576/137 +f 218/577/137 215/926/137 1/919/137 +f 215/926/137 5/927/137 1/919/137 +f 221/922/138 7/928/138 3/579/138 +f 212/925/138 213/578/138 2/580/138 +f 73/929/28 227/581/28 75/582/28 +f 75/930/221 228/583/221 77/584/221 +f 3/579/138 213/578/138 220/923/138 +f 79/931/5 77/585/5 230/123/5 +f 81/932/180 79/587/180 231/126/180 +f 81/933/30 231/589/30 83/590/30 +f 85/934/39 83/591/39 233/132/39 +f 85/935/32 233/133/32 87/594/32 +f 89/936/10 87/595/10 235/138/10 +f 89/937/33 235/597/33 91/598/33 +f 91/938/12 236/142/12 93/600/12 +f 93/939/222 237/601/222 95/602/222 +f 95/940/36 238/603/36 97/604/36 +f 99/941/144 97/605/144 240/153/144 +f 101/942/145 99/607/145 241/156/145 +f 103/943/26 242/160/26 73/610/26 +f 103/944/19 101/611/19 242/165/19 +f 69/945/147 241/613/147 67/615/147 +f 65/946/223 67/616/223 239/618/223 +f 63/947/224 65/619/224 238/621/224 +f 61/948/225 63/622/225 237/624/225 +f 59/949/151 61/625/151 236/627/151 +f 57/950/152 59/628/152 235/630/152 +f 55/951/153 57/631/153 234/633/153 +f 53/952/226 55/634/226 233/636/226 +f 51/953/155 53/637/155 232/639/155 +f 49/954/227 51/640/227 231/642/227 +f 47/955/228 49/643/228 230/645/228 +f 229/956/158 45/646/158 230/648/158 +f 228/957/229 43/649/229 229/651/229 +f 227/958/160 41/652/160 228/654/160 +f 242/959/161 71/655/161 227/657/161 +f 241/960/230 69/658/230 242/660/230 +f 96/961/163 98/661/163 32/663/163 +f 100/962/164 36/664/164 98/666/164 +f 102/963/231 38/667/231 100/669/231 +f 104/964/232 40/670/232 102/672/232 +f 74/965/167 10/673/167 104/675/167 +f 76/966/233 12/676/233 74/678/233 +f 78/967/234 14/679/234 76/681/234 +f 80/968/170 16/682/170 78/684/170 +f 82/969/171 18/685/171 80/687/171 +f 82/970/172 84/688/172 18/690/172 +f 84/971/235 86/691/235 20/693/235 +f 86/972/236 88/694/236 22/696/236 +f 88/973/175 90/697/175 24/699/175 +f 90/974/237 92/700/237 26/702/237 +f 92/975/177 94/703/177 28/705/177 +f 94/976/238 96/706/238 30/708/238 diff --git a/assets/hbm/models/TsarBomba.obj b/assets/hbm/models/TsarBomba.obj new file mode 100644 index 000000000..7f26e49cc --- /dev/null +++ b/assets/hbm/models/TsarBomba.obj @@ -0,0 +1,1133 @@ +# Blender v2.70 (sub 0) OBJ File: 'tsarBomb.blend' +# www.blender.org +o Cylinder +v -1.000000 0.999999 -1.000000 +v 1.000000 1.000001 -1.000000 +v -1.000000 0.617316 -0.923880 +v 1.000000 0.617317 -0.923880 +v -0.999999 0.292892 -0.707107 +v 1.000001 0.292894 -0.707107 +v -0.999999 0.076120 -0.382683 +v 1.000001 0.076121 -0.382683 +v -0.999999 -0.000001 0.000000 +v 1.000001 0.000001 0.000000 +v -0.999999 0.076120 0.382684 +v 1.000001 0.076121 0.382684 +v -0.999999 0.292892 0.707107 +v 1.000001 0.292894 0.707107 +v -1.000000 0.617316 0.923880 +v 1.000000 0.617317 0.923880 +v -1.000000 0.999999 1.000000 +v 1.000000 1.000001 1.000000 +v -1.000000 1.382682 0.923880 +v 1.000000 1.382684 0.923880 +v -1.000001 1.707106 0.707107 +v 0.999999 1.707108 0.707107 +v -1.000001 1.923879 0.382684 +v 0.999999 1.923880 0.382684 +v -1.000001 1.999999 -0.000000 +v 0.999999 2.000001 -0.000000 +v -1.000001 1.923878 -0.382684 +v 0.999999 1.923880 -0.382684 +v -1.000001 1.707106 -0.707107 +v 0.999999 1.707108 -0.707107 +v -1.000000 1.382682 -0.923880 +v 1.000000 1.382684 -0.923880 +v 2.000000 0.674719 -0.785298 +v 2.000000 0.398959 -0.601041 +v 1.999999 0.214702 -0.325281 +v 1.999999 0.150000 -0.000000 +v 1.999999 0.214702 0.325281 +v 2.000000 0.398959 0.601041 +v 2.000000 0.674719 0.785298 +v 2.000000 1.000000 0.850000 +v 2.000000 1.325281 0.785298 +v 2.000000 1.601041 0.601041 +v 2.000001 1.785298 0.325281 +v 2.000001 1.850000 0.000000 +v 2.000001 1.785298 -0.325281 +v 2.000000 1.601041 -0.601041 +v 2.000000 1.325281 -0.785298 +v 2.000000 1.000000 -0.850000 +v -3.500000 1.000000 -0.600000 +v -3.500000 1.229610 -0.554328 +v -3.499999 1.424264 -0.424264 +v -3.499999 1.554328 -0.229610 +v -3.499999 1.600000 0.000000 +v -3.499999 1.554328 0.229610 +v -3.499999 1.424264 0.424264 +v -3.500000 1.229610 0.554328 +v -3.500000 1.000000 0.600000 +v -3.500000 0.770390 0.554328 +v -3.500000 0.575736 0.424264 +v -3.500000 0.445672 0.229610 +v -3.500000 0.400000 -0.000000 +v -3.500000 0.445672 -0.229610 +v -3.500000 0.575736 -0.424264 +v -3.500000 0.770390 -0.554328 +v -5.000000 1.000000 -0.600000 +v -5.000000 1.229610 -0.554328 +v -5.000000 1.424264 -0.424264 +v -5.000000 1.554328 -0.229610 +v -4.999999 1.600000 0.000000 +v -5.000000 1.554328 0.229610 +v -5.000000 1.424264 0.424264 +v -5.000000 1.229610 0.554328 +v -5.000000 1.000000 0.600000 +v -5.000000 0.770390 0.554328 +v -5.000000 0.575736 0.424264 +v -5.000000 0.445672 0.229610 +v -5.000000 0.400000 -0.000000 +v -5.000000 0.445672 -0.229610 +v -5.000000 0.575736 -0.424264 +v -5.000000 0.770390 -0.554328 +v 2.700000 1.000000 -0.600000 +v 2.700000 1.229610 -0.554328 +v 2.700001 1.424264 -0.424264 +v 2.700001 1.554328 -0.229610 +v 2.700001 1.600000 0.000000 +v 2.700001 1.554328 0.229610 +v 2.700001 1.424264 0.424264 +v 2.700000 1.229610 0.554328 +v 2.700000 1.000000 0.600000 +v 2.700000 0.770390 0.554328 +v 2.700000 0.575736 0.424264 +v 2.699999 0.445672 0.229610 +v 2.699999 0.400000 -0.000000 +v 2.699999 0.445672 -0.229610 +v 2.700000 0.575736 -0.424264 +v 2.700000 0.770390 -0.554328 +v 3.000000 1.000000 -0.000000 +v -4.250000 0.289964 -1.196548 +v -4.250000 0.318774 -1.213181 +v -4.250000 1.391259 0.016633 +v -3.500000 1.391259 0.016633 +v -4.250000 1.391259 -0.016633 +v -3.500000 1.391259 -0.016633 +v -4.250000 2.391259 -0.016637 +v -4.250000 1.891259 0.016631 +v -4.250000 0.289968 1.196550 +v -4.250000 0.789966 0.330524 +v -3.500000 0.789966 0.330524 +v -4.250000 0.818775 0.347157 +v -3.500000 0.818775 0.347157 +v -4.250000 1.891259 -0.016635 +v -4.250000 0.818775 -0.347157 +v -3.500000 0.818775 -0.347157 +v -4.250000 0.789966 -0.330524 +v -3.500000 0.789966 -0.330524 +v -4.250000 2.391259 0.016629 +v -4.250000 0.318777 1.213183 +v -5.000000 2.391259 -0.016637 +v -5.000000 1.891259 0.016631 +v -5.000000 1.891259 -0.016635 +v -5.000000 2.391259 0.016629 +v -4.250000 2.057926 -0.016636 +v -4.250000 2.224592 -0.016636 +v -3.500000 2.224592 -0.016636 +v -3.750000 2.391259 -0.016637 +v -3.750000 2.391259 0.016629 +v -4.250000 2.057926 0.016630 +v -4.250000 2.224592 0.016630 +v -3.500000 2.224592 0.016630 +v -4.250000 0.568774 -0.780169 +v -4.250000 0.539965 -0.763536 +v -4.250000 0.568776 0.780170 +v -4.250000 0.539967 0.763537 +v -5.000000 0.289964 -1.196548 +v -5.000000 0.318773 -1.213181 +v -5.000000 0.568774 -0.780169 +v -5.000000 0.539965 -0.763536 +v -5.000000 0.289968 1.196550 +v -5.000000 0.318777 1.213183 +v -5.000000 0.568776 0.780170 +v -5.000000 0.539967 0.763537 +v -3.750000 0.289965 -1.196548 +v -3.500000 0.373298 -1.052211 +v -3.750000 0.318774 -1.213181 +v -3.500000 0.402107 -1.068844 +v -3.750000 0.318777 1.213183 +v -3.500000 0.402110 1.068846 +v -3.750000 0.289968 1.196550 +v -3.500000 0.373301 1.052213 +vt 0.812986 0.524997 +vt 0.768939 0.524997 +vt 0.768939 0.297755 +vt 0.711345 0.003409 +vt 0.711345 0.230651 +vt 0.667298 0.230651 +vt 0.660524 0.819343 +vt 0.616477 0.819343 +vt 0.616477 0.592101 +vt 0.413195 0.819343 +vt 0.413195 0.592101 +vt 0.457242 0.592101 +vt 0.762165 0.759056 +vt 0.718118 0.759056 +vt 0.718118 0.531814 +vt 0.558883 0.819343 +vt 0.514836 0.819343 +vt 0.514836 0.592101 +vt 0.812986 0.230651 +vt 0.768939 0.230651 +vt 0.768939 0.003409 +vt 0.508063 0.819343 +vt 0.464016 0.819343 +vt 0.464016 0.592101 +vt 0.609704 0.819343 +vt 0.565657 0.819343 +vt 0.565657 0.592101 +vt 0.819759 0.531814 +vt 0.863806 0.531814 +vt 0.863806 0.759056 +vt 0.286759 0.725691 +vt 0.242712 0.725691 +vt 0.242712 0.498449 +vt 0.375576 0.725691 +vt 0.331529 0.725691 +vt 0.331529 0.498449 +vt 0.762165 0.003409 +vt 0.762166 0.230651 +vt 0.718118 0.230651 +vt 0.762165 0.297755 +vt 0.762165 0.524997 +vt 0.718118 0.524997 +vt 0.863806 0.524997 +vt 0.819759 0.524997 +vt 0.819759 0.297755 +vt 0.768939 0.759056 +vt 0.768939 0.531814 +vt 0.812986 0.531814 +vt 0.081038 0.357906 +vt 0.107466 0.357906 +vt 0.116276 0.645435 +vt 0.574466 0.003409 +vt 0.600894 0.003409 +vt 0.609704 0.290937 +vt 0.625286 0.003409 +vt 0.651715 0.003409 +vt 0.660524 0.290937 +vt 0.574466 0.297755 +vt 0.600894 0.297755 +vt 0.609704 0.585283 +vt 0.397612 0.290937 +vt 0.371184 0.290938 +vt 0.362374 0.003409 +vt 0.158287 0.645435 +vt 0.131858 0.645435 +vt 0.123049 0.357906 +vt 0.012196 0.357906 +vt 0.038624 0.357906 +vt 0.047434 0.645435 +vt 0.558883 0.297755 +vt 0.550074 0.585283 +vt 0.523645 0.585283 +vt 0.413195 0.585283 +vt 0.422005 0.297755 +vt 0.448433 0.297755 +vt 0.472825 0.297755 +vt 0.499254 0.297755 +vt 0.508063 0.585284 +vt 0.625287 0.297755 +vt 0.651715 0.297755 +vt 0.660524 0.585283 +vt 0.464016 0.290937 +vt 0.472825 0.003409 +vt 0.499254 0.003409 +vt 0.676107 0.297755 +vt 0.702536 0.297755 +vt 0.711345 0.585283 +vt 0.413195 0.290937 +vt 0.422005 0.003409 +vt 0.448433 0.003409 +vt 0.200701 0.357906 +vt 0.227129 0.357906 +vt 0.235938 0.645435 +vt 0.523646 0.003409 +vt 0.550074 0.003409 +vt 0.558883 0.290937 +vt 0.963411 0.879494 +vt 0.936983 0.879494 +vt 0.936983 0.709063 +vt 0.684916 0.592101 +vt 0.711345 0.592101 +vt 0.711345 0.762532 +vt 0.930210 0.709063 +vt 0.930210 0.879494 +vt 0.903781 0.879494 +vt 0.921400 0.297755 +vt 0.947829 0.297755 +vt 0.947829 0.468186 +vt 0.684916 0.939781 +vt 0.684916 0.769349 +vt 0.711345 0.769349 +vt 0.870580 0.879494 +vt 0.870580 0.709063 +vt 0.897008 0.709063 +vt 0.903781 0.531814 +vt 0.930210 0.531814 +vt 0.930210 0.702245 +vt 0.247506 0.902940 +vt 0.247507 0.732508 +vt 0.273935 0.732508 +vt 0.930210 0.069483 +vt 0.930210 0.239914 +vt 0.903782 0.239914 +vt 0.870580 0.531814 +vt 0.897008 0.531814 +vt 0.897008 0.702245 +vt 0.298327 0.498449 +vt 0.324755 0.498449 +vt 0.324755 0.668880 +vt 0.963411 0.702245 +vt 0.936983 0.702245 +vt 0.936983 0.531814 +vt 0.897008 0.239914 +vt 0.870580 0.239914 +vt 0.870580 0.069483 +vt 0.936983 0.069483 +vt 0.963412 0.069483 +vt 0.963412 0.239914 +vt 0.954602 0.297755 +vt 0.981030 0.297755 +vt 0.981030 0.468186 +vt 0.565657 0.826160 +vt 0.592085 0.826160 +vt 0.592085 0.996591 +vt 0.242712 0.438069 +vt 0.242712 0.411469 +vt 0.365462 0.462644 +vt 0.419802 0.910433 +vt 0.425308 0.826160 +vt 0.451736 0.826160 +vt 0.558883 0.910433 +vt 0.521443 0.910433 +vt 0.526949 0.826160 +vt 0.368969 0.854170 +vt 0.363463 0.938443 +vt 0.337035 0.938443 +vt 0.464016 0.910433 +vt 0.469521 0.826160 +vt 0.495950 0.826160 +vt 0.198498 0.979848 +vt 0.204004 0.895575 +vt 0.230433 0.895575 +vt 0.072229 0.979848 +vt 0.077735 0.895575 +vt 0.104163 0.895575 +vt 0.863806 0.887534 +vt 0.858300 0.971807 +vt 0.831872 0.971807 +vt 0.669095 0.985416 +vt 0.643072 0.980774 +vt 0.669095 0.909196 +vt 0.724725 0.971807 +vt 0.730231 0.887534 +vt 0.756659 0.887535 +vt 0.003387 0.979848 +vt 0.008893 0.895575 +vt 0.035321 0.895575 +vt 0.160489 0.979848 +vt 0.123049 0.979848 +vt 0.128555 0.895575 +vt 0.908020 0.503689 +vt 0.870580 0.503689 +vt 0.876086 0.419416 +vt 0.287315 0.854170 +vt 0.324755 0.854170 +vt 0.319250 0.938443 +vt 0.941222 0.970584 +vt 0.903781 0.970584 +vt 0.909287 0.886312 +vt 0.387006 0.830801 +vt 0.413029 0.826160 +vt 0.413029 0.902379 +vt 0.996613 0.879494 +vt 0.970185 0.879494 +vt 0.983399 0.804444 +vt 0.870985 0.890953 +vt 0.897008 0.886312 +vt 0.897008 0.962531 +vt 0.387006 0.913838 +vt 0.413029 0.909197 +vt 0.413029 0.985416 +vt 0.501456 0.993470 +vt 0.475433 0.988828 +vt 0.501456 0.917250 +vt 0.996613 0.144532 +vt 0.970185 0.144532 +vt 0.983399 0.069483 +vt 0.610276 0.921892 +vt 0.636298 0.917250 +vt 0.636298 0.993469 +vt 0.547466 0.993469 +vt 0.521443 0.988828 +vt 0.547466 0.917250 +vt 0.273935 0.985976 +vt 0.247912 0.981335 +vt 0.273935 0.909757 +vt 0.457242 0.993469 +vt 0.431219 0.988828 +vt 0.457242 0.917250 +vt 0.996613 0.702245 +vt 0.970185 0.702245 +vt 0.983399 0.627195 +vt 0.996613 0.239914 +vt 0.970185 0.239914 +vt 0.983399 0.164864 +vt 0.996613 0.784113 +vt 0.970185 0.784113 +vt 0.983399 0.709063 +vt 0.996613 0.606864 +vt 0.970185 0.606864 +vt 0.983399 0.531814 +vt 0.669095 0.826160 +vt 0.669095 0.902379 +vt 0.643072 0.830801 +vt 0.806379 0.971807 +vt 0.768939 0.971807 +vt 0.774445 0.887534 +vt 0.636298 0.910433 +vt 0.598858 0.910433 +vt 0.604364 0.826160 +vt 0.947995 0.886312 +vt 0.985435 0.886312 +vt 0.979929 0.970584 +vt 0.863806 0.765873 +vt 0.860503 0.880717 +vt 0.823063 0.880717 +vt 0.819759 0.239914 +vt 0.823063 0.125070 +vt 0.860503 0.125070 +vt 0.331529 0.847352 +vt 0.334832 0.732508 +vt 0.372272 0.732508 +vt 0.123049 0.767096 +vt 0.126353 0.652252 +vt 0.163793 0.652252 +vt 0.072229 0.767096 +vt 0.075532 0.652252 +vt 0.112972 0.652252 +vt 0.191891 0.767096 +vt 0.195195 0.652252 +vt 0.232635 0.652252 +vt 0.003387 0.767097 +vt 0.006690 0.652252 +vt 0.044130 0.652252 +vt 0.324755 0.847352 +vt 0.280708 0.847352 +vt 0.284012 0.732508 +vt 0.819759 0.118253 +vt 0.823063 0.003409 +vt 0.860503 0.003409 +vt 0.718118 0.765873 +vt 0.762165 0.765873 +vt 0.758862 0.880717 +vt 0.123049 0.773914 +vt 0.167096 0.773914 +vt 0.163793 0.888758 +vt 0.047434 0.888758 +vt 0.003387 0.888758 +vt 0.006690 0.773914 +vt 0.191891 0.888758 +vt 0.195195 0.773914 +vt 0.232635 0.773914 +vt 0.870580 0.412598 +vt 0.873883 0.297755 +vt 0.911323 0.297755 +vt 0.812986 0.765873 +vt 0.809682 0.880717 +vt 0.772242 0.880717 +vt 0.072229 0.888757 +vt 0.075532 0.773914 +vt 0.112973 0.773914 +vt 0.185118 0.506750 +vt 0.181363 0.506750 +vt 0.181363 0.591966 +vt 0.061700 0.636657 +vt 0.061700 0.551441 +vt 0.065455 0.551441 +vt 0.065455 0.459408 +vt 0.065455 0.544623 +vt 0.061700 0.544623 +vt 0.667298 0.592101 +vt 0.671053 0.592101 +vt 0.671053 0.677316 +vt 0.406422 0.548100 +vt 0.406422 0.633316 +vt 0.402666 0.633316 +vt 0.395893 0.548100 +vt 0.392137 0.548100 +vt 0.392137 0.633316 +vt 0.185118 0.662411 +vt 0.181363 0.662411 +vt 0.181363 0.719221 +vt 0.065455 0.643474 +vt 0.061700 0.643474 +vt 0.061700 0.700284 +vt 0.395893 0.446598 +vt 0.392138 0.446598 +vt 0.392138 0.541282 +vt 0.181363 0.414717 +vt 0.181363 0.499932 +vt 0.185118 0.499932 +vt 0.671053 0.290937 +vt 0.671053 0.256798 +vt 0.667298 0.256798 +vt 0.116276 0.088624 +vt 0.059831 0.088624 +vt 0.059831 0.173840 +vt 0.116276 0.031814 +vt 0.059831 0.180658 +vt 0.059831 0.265873 +vt 0.116276 0.265873 +vt 0.003387 0.265873 +vt 0.003387 0.351089 +vt 0.181363 0.655593 +vt 0.181363 0.598783 +vt 0.185118 0.598783 +vt 0.362374 0.331894 +vt 0.362374 0.297755 +vt 0.366130 0.297755 +vt 0.406422 0.696943 +vt 0.402666 0.696943 +vt 0.402666 0.640133 +vt 0.065455 0.452590 +vt 0.061700 0.452590 +vt 0.061700 0.357906 +vt 0.671053 0.684134 +vt 0.671053 0.740944 +vt 0.667298 0.740944 +vt 0.242712 0.003409 +vt 0.299156 0.003409 +vt 0.299156 0.088624 +vt 0.235938 0.088624 +vt 0.179494 0.088624 +vt 0.179494 0.003409 +vt 0.392138 0.696943 +vt 0.392137 0.640133 +vt 0.395893 0.640133 +vt 0.372903 0.297755 +vt 0.376659 0.297755 +vt 0.376659 0.331894 +vt 0.355601 0.351089 +vt 0.299156 0.351089 +vt 0.299156 0.265873 +vt 0.235938 0.265873 +vt 0.179494 0.265873 +vt 0.179494 0.180657 +vt 0.235938 0.145435 +vt 0.242712 0.145435 +vt 0.242712 0.088624 +vt 0.395893 0.354565 +vt 0.395893 0.439781 +vt 0.392138 0.439781 +vt 0.402666 0.446598 +vt 0.406422 0.446598 +vt 0.406422 0.541282 +vt 0.402666 0.382971 +vt 0.402666 0.297755 +vt 0.406422 0.297755 +vt 0.235938 0.322684 +vt 0.242712 0.265873 +vt 0.242712 0.180658 +vt 0.812986 0.297755 +vt 0.667298 0.003409 +vt 0.660524 0.592101 +vt 0.457242 0.819343 +vt 0.762165 0.531814 +vt 0.558883 0.592101 +vt 0.812986 0.003409 +vt 0.508063 0.592101 +vt 0.609704 0.592101 +vt 0.819759 0.759056 +vt 0.286759 0.498449 +vt 0.375576 0.498449 +vt 0.718118 0.003409 +vt 0.718118 0.297755 +vt 0.863806 0.297755 +vt 0.812986 0.759056 +vt 0.072229 0.645435 +vt 0.565657 0.290937 +vt 0.616477 0.290937 +vt 0.565657 0.585283 +vt 0.406422 0.003409 +vt 0.167096 0.357906 +vt 0.003387 0.645435 +vt 0.514836 0.297755 +vt 0.457242 0.585283 +vt 0.464016 0.585284 +vt 0.616477 0.585283 +vt 0.508063 0.290937 +vt 0.667298 0.585283 +vt 0.457242 0.290937 +vt 0.191891 0.645435 +vt 0.514836 0.290937 +vt 0.963411 0.709063 +vt 0.684916 0.762532 +vt 0.903781 0.709063 +vt 0.921400 0.468186 +vt 0.711345 0.939781 +vt 0.897008 0.879494 +vt 0.903781 0.702245 +vt 0.273935 0.902940 +vt 0.903782 0.069483 +vt 0.870580 0.702245 +vt 0.298327 0.668880 +vt 0.963411 0.531814 +vt 0.897008 0.069483 +vt 0.936983 0.239914 +vt 0.954602 0.468186 +vt 0.565657 0.996591 +vt 0.252825 0.386894 +vt 0.375576 0.411469 +vt 0.271513 0.368085 +vt 0.295930 0.357906 +vt 0.322358 0.357906 +vt 0.346775 0.368085 +vt 0.365462 0.386894 +vt 0.375576 0.438069 +vt 0.346775 0.481452 +vt 0.322358 0.491632 +vt 0.271513 0.481452 +vt 0.252826 0.462644 +vt 0.295930 0.491632 +vt 0.553377 0.826160 +vt 0.457242 0.910433 +vt 0.331529 0.854170 +vt 0.501456 0.910433 +vt 0.235938 0.979848 +vt 0.109669 0.979848 +vt 0.826366 0.887534 +vt 0.762165 0.971807 +vt 0.040827 0.979848 +vt 0.154983 0.895575 +vt 0.902514 0.419416 +vt 0.292821 0.938443 +vt 0.935716 0.886312 +vt 0.800873 0.887534 +vt 0.630792 0.826160 +vt 0.953501 0.970584 +vt 0.819759 0.765873 +vt 0.863807 0.239914 +vt 0.375576 0.847352 +vt 0.167096 0.767096 +vt 0.116276 0.767096 +vt 0.235938 0.767096 +vt 0.047434 0.767097 +vt 0.321452 0.732508 +vt 0.863807 0.118253 +vt 0.721422 0.880717 +vt 0.126353 0.888758 +vt 0.044130 0.773914 +vt 0.235938 0.888758 +vt 0.914627 0.412598 +vt 0.768939 0.765873 +vt 0.116276 0.888757 +vt 0.185118 0.591965 +vt 0.065455 0.636657 +vt 0.061700 0.459408 +vt 0.667298 0.677316 +vt 0.402666 0.548100 +vt 0.395893 0.633316 +vt 0.185118 0.719221 +vt 0.065455 0.700284 +vt 0.395893 0.541282 +vt 0.185118 0.357906 +vt 0.181363 0.357906 +vt 0.667298 0.290937 +vt 0.185118 0.414717 +vt 0.116276 0.173840 +vt 0.003387 0.003409 +vt 0.003387 0.088624 +vt 0.116276 0.180657 +vt 0.097461 0.003409 +vt 0.116276 0.322684 +vt 0.097461 0.351089 +vt 0.185118 0.655593 +vt 0.366130 0.331894 +vt 0.406422 0.640133 +vt 0.065455 0.357906 +vt 0.667298 0.684134 +vt 0.235938 0.003409 +vt 0.395893 0.696943 +vt 0.372903 0.331894 +vt 0.355601 0.265873 +vt 0.235938 0.180657 +vt 0.123049 0.173840 +vt 0.123049 0.088624 +vt 0.355601 0.088624 +vt 0.355601 0.173840 +vt 0.217124 0.173840 +vt 0.261527 0.173840 +vt 0.392138 0.297755 +vt 0.395893 0.297755 +vt 0.402666 0.541282 +vt 0.392137 0.354565 +vt 0.406422 0.439781 +vt 0.402666 0.439781 +vt 0.123049 0.351089 +vt 0.123049 0.265873 +vt 0.406422 0.382971 +vt 0.355601 0.209063 +vt 0.336786 0.180657 +vt 0.217124 0.351089 +vn 0.000000 -0.195090 -0.980785 +vn 0.000000 -0.555570 -0.831470 +vn 0.000001 -0.831470 -0.555570 +vn 0.000001 -0.980785 -0.195090 +vn 0.000001 -0.980785 0.195090 +vn 0.000001 -0.831470 0.555570 +vn 0.000000 -0.555570 0.831469 +vn 0.000000 -0.195090 0.980785 +vn -0.000000 0.195090 0.980785 +vn -0.000001 0.555570 0.831470 +vn -0.000001 0.831470 0.555570 +vn -0.000001 0.980785 0.195089 +vn -0.000001 0.980785 -0.195090 +vn -0.000001 0.831470 -0.555570 +vn -0.000000 0.195090 -0.980785 +vn -0.000001 0.555570 -0.831470 +vn -0.155028 0.968928 0.192730 +vn -0.155028 0.821418 0.548853 +vn -0.155028 0.548853 0.821417 +vn -0.155028 0.192732 0.968928 +vn -0.155029 -0.192732 0.968928 +vn -0.155028 -0.548853 0.821417 +vn -0.155029 -0.821417 0.548854 +vn -0.155029 -0.968928 0.192732 +vn -0.155029 -0.968928 -0.192732 +vn -0.155029 -0.821417 -0.548854 +vn -0.155029 -0.548853 -0.821417 +vn -0.155028 -0.192731 -0.968928 +vn -0.155029 0.192732 -0.968928 +vn -0.155028 0.548853 -0.821417 +vn -0.155028 0.821417 -0.548854 +vn -0.155028 0.968928 -0.192732 +vn 0.000000 0.831469 -0.555570 +vn 0.000000 0.980785 -0.195090 +vn 0.000000 0.980785 0.195090 +vn 0.000000 0.831469 0.555570 +vn 0.000000 0.555571 0.831469 +vn 0.000000 -0.555570 0.831470 +vn 0.000000 -0.831469 0.555571 +vn 0.000000 -0.980785 0.195091 +vn 0.000000 -0.980785 -0.195091 +vn 0.000000 -0.831469 -0.555571 +vn 0.000000 0.555570 -0.831470 +vn -1.000000 0.000000 -0.000000 +vn 0.330587 -0.925641 -0.184122 +vn 0.330586 -0.925641 0.184121 +vn 0.330586 -0.784721 0.524333 +vn 0.330586 -0.524334 0.784720 +vn 0.330586 -0.184122 0.925641 +vn 0.330586 0.184122 0.925641 +vn 0.330586 0.524334 0.784721 +vn 0.890909 -0.252330 -0.377638 +vn 0.330586 0.784720 0.524334 +vn 0.330586 0.925642 0.184121 +vn 0.330586 0.925641 -0.184122 +vn 0.330586 0.784721 -0.524334 +vn 0.330586 0.524334 -0.784721 +vn 0.330586 0.184121 -0.925642 +vn 0.890909 -0.377640 0.252329 +vn 0.890909 -0.252330 0.377638 +vn 0.890909 -0.088606 0.445455 +vn 0.890909 0.088606 0.445455 +vn 0.890910 0.252326 0.377639 +vn 0.890909 0.377639 0.252329 +vn 0.890909 0.445454 0.088606 +vn 0.890909 0.445454 -0.088606 +vn 0.890909 0.377638 -0.252329 +vn 0.890910 0.252325 -0.377639 +vn 0.890909 0.088606 -0.445455 +vn 0.890909 -0.088605 -0.445454 +vn 0.890908 -0.377640 -0.252329 +vn 0.890909 -0.445456 -0.088606 +vn 0.890909 -0.445455 0.088606 +vn 0.330586 -0.784721 -0.524334 +vn 0.330586 -0.524334 -0.784721 +vn 0.330586 -0.184121 -0.925642 +vn 0.145551 -0.193013 -0.970341 +vn 0.145551 0.193013 -0.970341 +vn 0.145552 0.549654 -0.822615 +vn 0.145552 0.822615 -0.549654 +vn 0.145552 0.970340 -0.193014 +vn 0.145552 0.970340 0.193013 +vn 0.145552 0.822615 0.549653 +vn 0.145551 0.549653 0.822615 +vn 0.145551 0.193013 0.970341 +vn 0.145551 -0.193013 0.970341 +vn 0.145551 -0.549654 0.822615 +vn 0.145551 -0.822615 0.549654 +vn 0.145551 -0.970341 0.193013 +vn 0.145550 -0.970341 -0.193013 +vn 0.145551 -0.822615 -0.549654 +vn 0.145551 -0.549654 -0.822615 +vn -0.000000 -1.000000 0.000000 +vn 0.000000 0.500001 0.866025 +vn 0.000000 0.499998 -0.866026 +vn 0.000000 0.499996 -0.866028 +vn -0.000000 0.500003 0.866024 +vn -1.000000 -0.000001 0.000000 +vn 1.000000 -0.000001 0.000007 +vn 0.000000 1.000000 0.000000 +vn 0.554701 0.832050 0.000002 +vn 0.000000 -0.000004 -1.000000 +vn 0.000000 0.000004 1.000000 +vn -1.000000 -0.000003 -0.000001 +vn 0.554702 -0.416017 -0.720580 +vn -1.000000 0.000000 0.000001 +vn 1.000000 0.000017 -0.000003 +vn -0.000000 0.866025 -0.500001 +vn 0.000000 -0.866025 0.500001 +vn -1.000000 0.000014 -0.000001 +vn 0.554697 -0.416037 0.720573 +vn 0.000000 -0.866026 -0.499998 +vn -0.000000 0.866027 0.499998 +vn 0.000000 -0.500003 -0.866024 +vn 1.000000 0.000000 -0.000004 +vn 0.000000 -0.499999 0.866026 +vn 0.000000 0.866027 0.499997 +vn 0.000000 -0.866027 -0.499998 +vn 0.000001 -0.555570 0.831470 +vn -0.000001 0.831469 0.555571 +vn -0.000001 0.980785 0.195091 +vn -0.000001 0.980785 -0.195091 +vn -0.000001 0.831469 -0.555571 +vn -0.155028 0.968928 0.192732 +vn -0.155028 0.821417 0.548854 +vn -0.155028 0.192731 0.968928 +vn -0.155028 -0.192732 0.968928 +vn -0.155029 -0.548853 0.821417 +vn -0.155029 -0.821417 0.548853 +vn -0.155029 -0.821417 -0.548853 +vn -0.155029 -0.548854 -0.821417 +vn -0.155028 -0.192732 -0.968928 +vn -0.155028 0.192731 -0.968928 +vn -0.155028 0.548854 -0.821417 +vn -0.155028 0.968928 -0.192731 +vn 0.000000 0.831470 -0.555570 +vn 0.000000 0.980785 -0.195091 +vn 0.000000 0.980785 0.195091 +vn 0.000000 0.555570 0.831470 +vn 0.000000 -0.831470 0.555570 +vn 0.000000 -0.980785 0.195090 +vn 0.000000 -0.980785 -0.195090 +vn 0.000000 0.195091 -0.980785 +vn 0.000000 0.555570 -0.831469 +vn -1.000000 0.000011 0.000001 +vn -1.000000 0.000011 -0.000001 +vn -1.000000 0.000011 0.000004 +vn -1.000000 0.000002 0.000000 +vn -1.000000 0.000000 -0.000001 +vn 0.330586 -0.925642 -0.184121 +vn 0.330586 -0.784721 0.524334 +vn 0.330586 -0.524334 0.784721 +vn 0.330586 -0.184121 0.925641 +vn 0.330586 0.184121 0.925642 +vn 0.330586 0.784721 0.524333 +vn 0.330586 0.925641 0.184122 +vn 0.330586 0.925642 -0.184121 +vn 0.330586 0.784720 -0.524334 +vn 0.330586 0.184122 -0.925641 +vn 0.330586 -0.184122 -0.925641 +vn 0.145551 0.549653 -0.822615 +vn 0.145552 0.822616 -0.549653 +vn 0.145552 0.970340 -0.193013 +vn 0.145552 0.970340 0.193014 +vn 0.145552 0.822615 0.549654 +vn 0.145552 0.549654 0.822615 +vn 0.145550 -0.970341 0.193013 +vn 0.145550 -0.822615 -0.549654 +vn -0.000000 -1.000000 0.000010 +vn 0.000000 0.499999 -0.866026 +vn 0.000000 0.499999 0.866026 +vn 1.000000 0.000000 0.000014 +vn 0.000000 1.000000 -0.000014 +vn 0.554699 0.832051 0.000000 +vn -0.000000 1.000000 -0.000019 +vn 0.554700 -0.416027 -0.720576 +vn 1.000000 0.000000 0.000003 +vn -0.000000 0.866024 -0.500002 +vn 0.554701 -0.416017 0.720581 +vn 0.000000 -0.866024 0.500002 +vn -0.000000 -0.500002 -0.866024 +vn 1.000000 0.000017 -0.000004 +vn 0.000000 0.866026 0.499998 +vn -0.000000 -0.866027 -0.499997 +s off +f 2/1/1 4/2/1 3/3/1 +f 3/4/2 4/5/2 6/6/2 +f 6/7/3 8/8/3 7/9/3 +f 7/10/4 8/11/4 10/12/4 +f 10/13/5 12/14/5 11/15/5 +f 12/16/6 14/17/6 13/18/6 +f 14/19/7 16/20/7 15/21/7 +f 16/22/8 18/23/8 17/24/8 +f 18/25/9 20/26/9 19/27/9 +f 20/28/10 22/29/10 21/30/10 +f 22/31/11 24/32/11 23/33/11 +f 24/34/12 26/35/12 25/36/12 +f 25/37/13 26/38/13 28/39/13 +f 27/40/14 28/41/14 30/42/14 +f 32/43/15 2/44/15 1/45/15 +f 29/46/16 30/47/16 32/48/16 +f 53/49/17 54/50/17 23/51/17 +f 54/52/18 55/53/18 21/54/18 +f 55/55/19 56/56/19 19/57/19 +f 56/58/20 57/59/20 17/60/20 +f 57/61/21 58/62/21 15/63/21 +f 58/64/22 59/65/22 13/66/22 +f 59/67/23 60/68/23 11/69/23 +f 11/70/24 60/71/24 61/72/24 +f 9/73/25 61/74/25 62/75/25 +f 62/76/26 63/77/26 5/78/26 +f 63/79/27 64/80/27 3/81/27 +f 3/82/28 64/83/28 49/84/28 +f 49/85/29 50/86/29 31/87/29 +f 31/88/30 50/89/30 51/90/30 +f 51/91/31 52/92/31 27/93/31 +f 52/94/32 53/95/32 25/96/32 +f 67/97/33 68/98/33 52/99/33 +f 68/100/34 69/101/34 53/102/34 +f 53/103/35 69/104/35 70/105/35 +f 70/106/36 71/107/36 55/108/36 +f 55/109/37 71/110/37 72/111/37 +f 56/112/9 72/113/9 73/114/9 +f 73/115/8 74/116/8 58/117/8 +f 58/118/38 74/119/38 75/120/38 +f 59/121/39 75/122/39 76/123/39 +f 76/124/40 77/125/40 61/126/40 +f 77/127/41 78/128/41 62/129/41 +f 78/130/42 79/131/42 63/132/42 +f 79/133/2 80/134/2 64/135/2 +f 80/136/1 65/137/1 49/138/1 +f 65/139/15 66/140/15 50/141/15 +f 66/142/43 67/143/43 51/144/43 +f 67/145/44 66/146/44 73/147/44 +f 35/148/45 94/149/45 93/150/45 +f 37/151/46 36/152/46 93/153/46 +f 37/154/47 92/155/47 91/156/47 +f 38/157/48 91/158/48 90/159/48 +f 39/160/49 90/161/49 89/162/49 +f 40/163/50 89/164/50 88/165/50 +f 41/166/51 88/167/51 87/168/51 +f 95/169/52 96/170/52 97/171/52 +f 42/172/53 87/173/53 86/174/53 +f 43/175/54 86/176/54 85/177/54 +f 45/178/55 44/179/55 85/180/55 +f 46/181/56 45/182/56 84/183/56 +f 47/184/57 46/185/57 83/186/57 +f 48/187/58 47/188/58 82/189/58 +f 91/190/59 92/191/59 97/192/59 +f 90/193/60 91/194/60 97/195/60 +f 89/196/61 90/197/61 97/198/61 +f 88/199/62 89/200/62 97/201/62 +f 87/202/63 88/203/63 97/204/63 +f 86/205/64 87/206/64 97/207/64 +f 85/208/65 86/209/65 97/210/65 +f 84/211/66 85/212/66 97/213/66 +f 83/214/67 84/215/67 97/216/67 +f 82/217/68 83/218/68 97/219/68 +f 81/220/69 82/221/69 97/222/69 +f 96/223/70 81/224/70 97/225/70 +f 94/226/71 95/227/71 97/228/71 +f 93/229/72 94/230/72 97/231/72 +f 93/232/73 97/233/73 92/234/73 +f 35/235/74 34/236/74 95/237/74 +f 34/238/75 33/239/75 96/240/75 +f 33/241/76 48/242/76 81/243/76 +f 2/244/77 48/245/77 33/246/77 +f 32/247/78 47/248/78 48/249/78 +f 30/250/79 46/251/79 47/252/79 +f 28/253/80 45/254/80 46/255/80 +f 26/256/81 44/257/81 45/258/81 +f 24/259/82 43/260/82 44/261/82 +f 22/262/83 42/263/83 43/264/83 +f 22/265/84 20/266/84 41/267/84 +f 18/268/85 40/269/85 41/270/85 +f 18/271/86 16/272/86 39/273/86 +f 16/274/87 14/275/87 38/276/87 +f 14/277/88 12/278/88 37/279/88 +f 10/280/89 36/281/89 37/282/89 +f 8/283/90 35/284/90 36/285/90 +f 6/286/91 34/287/91 35/288/91 +f 4/289/92 33/290/92 34/291/92 +f 100/292/93 102/293/93 103/294/93 +f 130/295/94 136/296/94 137/297/94 +f 133/298/95 141/299/95 140/300/95 +f 107/301/96 109/302/96 110/303/96 +f 114/304/97 115/305/97 113/306/97 +f 119/307/93 120/308/93 111/309/93 +f 105/310/44 111/311/44 102/312/44 +f 121/313/98 118/314/98 120/315/98 +f 101/316/99 103/317/99 124/318/99 +f 104/319/100 118/320/100 121/321/100 +f 126/322/101 129/323/101 124/324/101 +f 104/325/102 111/326/102 120/327/102 +f 111/326/102 104/325/102 125/328/102 +f 119/329/103 105/330/103 116/331/103 +f 105/330/103 100/332/103 101/333/103 +f 112/334/104 130/335/104 131/336/104 +f 143/337/105 142/338/105 144/339/105 +f 109/340/106 107/341/106 133/342/106 +f 108/343/107 110/344/107 147/345/107 +f 136/346/106 135/347/106 134/348/106 +f 135/349/108 136/350/108 130/351/108 +f 98/352/109 131/353/109 137/354/109 +f 141/355/110 138/356/110 139/357/110 +f 146/358/111 148/359/111 149/360/111 +f 138/361/112 141/362/112 133/363/112 +f 117/364/113 132/365/113 140/366/113 +f 131/353/109 98/352/109 142/367/109 +f 144/368/108 99/369/108 130/351/108 +f 98/370/114 134/371/114 135/372/114 +f 143/373/115 145/374/115 113/375/115 +f 117/376/116 139/377/116 138/378/116 +f 132/365/117 117/364/117 146/379/117 +f 133/363/118 107/380/118 108/381/118 +f 1/382/1 2/1/1 3/3/1 +f 5/383/2 3/4/2 6/6/2 +f 5/384/3 6/7/3 7/9/3 +f 9/385/4 7/10/4 10/12/4 +f 9/386/5 10/13/5 11/15/5 +f 11/387/6 12/16/6 13/18/6 +f 13/388/119 14/19/119 15/21/119 +f 15/389/8 16/22/8 17/24/8 +f 17/390/9 18/25/9 19/27/9 +f 19/391/10 20/28/10 21/30/10 +f 21/392/120 22/31/120 23/33/120 +f 23/393/121 24/34/121 25/36/121 +f 27/394/122 25/37/122 28/39/122 +f 29/395/123 27/40/123 30/42/123 +f 31/396/15 32/43/15 1/45/15 +f 31/397/43 29/46/43 32/48/43 +f 25/398/124 53/49/124 23/51/124 +f 23/399/125 54/52/125 21/54/125 +f 21/400/19 55/55/19 19/57/19 +f 19/401/126 56/58/126 17/60/126 +f 17/402/127 57/61/127 15/63/127 +f 15/403/128 58/64/128 13/66/128 +f 13/404/129 59/67/129 11/69/129 +f 9/405/24 11/70/24 61/72/24 +f 7/406/25 9/73/25 62/75/25 +f 7/407/130 62/76/130 5/78/130 +f 5/408/131 63/79/131 3/81/131 +f 1/409/132 3/82/132 49/84/132 +f 1/410/133 49/85/133 31/87/133 +f 29/411/134 31/88/134 51/90/134 +f 29/412/31 51/91/31 27/93/31 +f 27/413/135 52/94/135 25/96/135 +f 51/414/136 67/97/136 52/99/136 +f 52/415/137 68/100/137 53/102/137 +f 54/416/138 53/103/138 70/105/138 +f 54/417/36 70/106/36 55/108/36 +f 56/418/139 55/109/139 72/111/139 +f 57/419/9 56/112/9 73/114/9 +f 57/420/8 73/115/8 58/117/8 +f 59/421/38 58/118/38 75/120/38 +f 60/422/140 59/121/140 76/123/140 +f 60/423/141 76/124/141 61/126/141 +f 61/424/142 77/127/142 62/129/142 +f 62/425/42 78/130/42 63/132/42 +f 63/426/2 79/133/2 64/135/2 +f 64/427/1 80/136/1 49/138/1 +f 49/428/143 65/139/143 50/141/143 +f 50/429/144 66/142/144 51/144/144 +f 65/430/106 75/431/106 66/146/106 +f 65/430/44 80/432/44 79/433/44 +f 79/433/145 78/434/145 77/435/145 +f 77/435/146 76/436/146 75/431/146 +f 75/431/44 74/437/44 73/147/44 +f 73/147/147 72/438/147 71/439/147 +f 69/440/44 68/441/44 70/442/44 +f 67/145/44 71/439/44 68/441/44 +f 92/443/46 37/151/46 93/153/46 +f 75/431/106 65/430/106 77/435/106 +f 71/439/44 67/145/44 73/147/44 +f 68/441/148 71/439/148 70/442/148 +f 65/430/149 79/433/149 77/435/149 +f 66/146/44 75/431/44 73/147/44 +f 36/444/150 35/148/150 93/150/150 +f 38/445/151 37/154/151 91/156/151 +f 39/446/152 38/157/152 90/159/152 +f 40/447/153 39/160/153 89/162/153 +f 41/448/154 40/163/154 88/165/154 +f 42/449/51 41/166/51 87/168/51 +f 43/450/155 42/172/155 86/174/155 +f 44/451/156 43/175/156 85/177/156 +f 84/452/157 45/178/157 85/180/157 +f 83/453/158 46/181/158 84/183/158 +f 82/454/57 47/184/57 83/186/57 +f 81/455/159 48/187/159 82/189/159 +f 94/456/74 35/235/74 95/237/74 +f 95/457/75 34/238/75 96/240/75 +f 96/458/160 33/241/160 81/243/160 +f 4/459/77 2/244/77 33/246/77 +f 2/460/78 32/247/78 48/249/78 +f 32/461/161 30/250/161 47/252/161 +f 30/462/162 28/253/162 46/255/162 +f 28/463/163 26/256/163 45/258/163 +f 26/464/164 24/259/164 44/261/164 +f 24/465/165 22/262/165 43/264/165 +f 42/466/166 22/265/166 41/267/166 +f 20/467/85 18/268/85 41/270/85 +f 40/468/86 18/271/86 39/273/86 +f 39/469/87 16/274/87 38/276/87 +f 38/470/88 14/277/88 37/279/88 +f 12/471/167 10/280/167 37/282/167 +f 10/472/90 8/283/90 36/285/90 +f 8/473/168 6/286/168 35/288/168 +f 6/474/92 4/289/92 34/291/92 +f 101/475/169 100/292/169 103/294/169 +f 131/476/94 130/295/94 137/297/94 +f 132/477/95 133/298/95 140/300/95 +f 108/478/170 107/301/170 110/303/170 +f 112/479/171 114/304/171 113/306/171 +f 105/480/169 119/307/169 111/309/169 +f 100/481/44 105/310/44 102/312/44 +f 119/482/148 121/313/148 120/315/148 +f 129/483/172 101/316/172 124/318/172 +f 126/484/173 125/485/173 104/319/173 +f 125/486/174 126/322/174 124/324/174 +f 116/487/100 126/484/100 104/319/100 +f 104/319/175 121/321/175 116/487/175 +f 118/488/102 104/325/102 120/327/102 +f 103/489/102 102/490/102 111/326/102 +f 121/491/103 119/329/103 116/331/103 +f 103/489/102 111/326/102 124/492/102 +f 126/493/103 105/330/103 129/494/103 +f 111/326/102 125/328/102 124/492/102 +f 126/493/103 116/331/103 105/330/103 +f 114/495/149 112/334/149 131/336/149 +f 145/496/176 143/337/176 144/339/176 +f 105/330/103 101/333/103 129/494/103 +f 132/497/106 109/340/106 133/342/106 +f 149/498/177 108/343/177 147/345/177 +f 137/499/106 136/346/106 134/348/106 +f 99/369/178 135/349/178 130/351/178 +f 134/500/109 98/352/109 137/354/109 +f 140/501/149 141/355/149 139/357/149 +f 147/502/179 146/358/179 149/360/179 +f 106/503/118 138/361/118 133/363/118 +f 139/504/113 117/364/113 140/366/113 +f 115/505/109 114/506/109 131/353/109 +f 130/351/108 112/507/108 113/508/108 +f 115/505/180 131/353/180 143/509/180 +f 144/368/178 130/351/178 145/510/178 +f 131/353/180 142/367/180 143/509/180 +f 144/511/181 142/512/181 98/370/181 +f 115/513/182 143/373/182 113/375/182 +f 130/351/178 113/508/178 145/510/178 +f 144/511/181 98/370/181 99/514/181 +f 148/515/116 146/516/116 117/376/116 +f 98/370/114 135/372/114 99/514/114 +f 110/517/113 109/518/113 132/365/113 +f 106/519/116 148/515/116 117/376/116 +f 117/376/116 138/378/116 106/519/116 +f 148/520/112 133/363/112 149/521/112 +f 110/517/183 132/365/183 147/522/183 +f 148/520/184 106/503/184 133/363/184 +f 132/365/183 146/379/183 147/522/183 +f 133/363/118 108/381/118 149/521/118 diff --git a/assets/hbm/models/centrifuge.obj b/assets/hbm/models/centrifuge.obj new file mode 100644 index 000000000..ad8ddc807 --- /dev/null +++ b/assets/hbm/models/centrifuge.obj @@ -0,0 +1,492 @@ +# Blender v2.70 (sub 0) OBJ File: 'centrifuge.blend' +# www.blender.org +o Cube_Cube.001 +v -0.500000 0.000000 0.500000 +v -0.500000 0.000000 -0.500000 +v 0.500000 0.000000 -0.500000 +v 0.500000 0.000000 0.500000 +v -0.500000 1.000000 0.500000 +v -0.500000 1.000000 -0.500000 +v 0.500000 1.000000 -0.500000 +v 0.500000 1.000000 0.500000 +v 0.250000 2.500000 0.375000 +v 0.375000 2.500000 0.250000 +v -0.250000 2.500000 0.375000 +v -0.375000 2.500000 0.250000 +v 0.375000 2.500000 -0.125000 +v -0.250000 2.500000 -0.375000 +v 0.375000 2.500000 0.125000 +v -0.375000 2.500000 -0.250000 +v -0.250000 1.000000 0.000000 +v 0.250000 1.000000 0.000000 +v 0.000000 1.000000 0.250000 +v 0.000000 1.000000 -0.250000 +v 0.125000 2.500000 0.375000 +v 0.000000 2.500000 0.125000 +v -0.125000 2.500000 0.375000 +v 0.125000 2.500000 0.000000 +v -0.125000 2.500000 -0.375000 +v -0.125000 2.500000 0.000000 +v -0.375000 2.500000 -0.125000 +v 0.000000 2.500000 -0.125000 +v 0.000000 1.000000 -0.125000 +v 0.125000 2.500000 -0.375000 +v 0.000000 2.500000 -0.250000 +v -0.375000 2.500000 0.125000 +v 0.000000 2.500000 0.250000 +v 0.250000 2.500000 -0.375000 +v 0.250000 2.500000 0.000000 +v 0.375000 2.500000 -0.250000 +v -0.250000 2.500000 0.000000 +v -0.125000 1.000000 0.000000 +v 0.125000 1.000000 0.000000 +v 0.000000 1.000000 0.125000 +v -0.375000 1.000000 -0.250000 +v -0.250000 1.000000 -0.375000 +v -0.375000 1.000000 0.250000 +v -0.250000 1.000000 0.375000 +v 0.375000 1.000000 0.250000 +v 0.250000 1.000000 0.375000 +v 0.375000 1.000000 -0.250000 +v 0.250000 1.000000 -0.375000 +v -0.375000 1.000000 0.125000 +v 0.125000 1.000000 -0.375000 +v -0.375000 1.000000 -0.125000 +v -0.125000 1.000000 -0.375000 +v -0.125000 1.000000 0.375000 +v 0.125000 1.000000 0.375000 +v 0.375000 1.000000 0.125000 +v 0.375000 1.000000 -0.125000 +v -0.125000 2.500000 -0.016543 +v -0.250000 2.625000 0.125000 +v -0.125000 2.625000 0.125000 +v -0.250000 2.625000 0.250000 +v -0.125000 2.625000 0.250000 +v 0.250000 2.625000 0.250000 +v 0.250000 2.625000 -0.250000 +v -0.125000 2.625000 -0.250000 +v -0.125000 2.625000 -0.125000 +v 0.250000 2.625000 -0.125000 +v -0.250000 2.625000 -0.250000 +v -0.250000 2.625000 -0.125000 +v 0.125000 2.625000 -0.250000 +v 0.125000 2.625000 -0.125000 +v 0.125000 2.625000 0.250000 +v 0.125000 2.625000 0.125000 +v 0.250000 2.625000 0.125000 +vt 0.407021 0.190559 +vt 0.227717 0.190559 +vt 0.227717 0.015734 +vt 0.404781 0.219788 +vt 0.404782 0.399093 +vt 0.229956 0.399093 +vt 0.193202 0.192799 +vt 0.018377 0.192799 +vt 0.018377 0.013495 +vt 0.193202 0.399093 +vt 0.018377 0.399093 +vt 0.018377 0.219789 +vt 0.439296 0.396853 +vt 0.439296 0.222028 +vt 0.618600 0.222028 +vt 0.323385 0.428322 +vt 0.323385 0.690560 +vt 0.291688 0.690560 +vt 0.102522 0.722028 +vt 0.102522 0.984266 +vt 0.080109 0.984266 +vt 0.983863 0.515734 +vt 0.983863 0.777972 +vt 0.961450 0.777972 +vt 0.618600 0.428322 +vt 0.618600 0.690559 +vt 0.586903 0.690559 +vt 0.682572 0.515734 +vt 0.682572 0.777972 +vt 0.650875 0.777972 +vt 0.865203 0.222028 +vt 0.865203 0.484266 +vt 0.842790 0.484266 +vt 0.810515 0.222028 +vt 0.810515 0.484266 +vt 0.778819 0.484266 +vt 0.750389 0.027972 +vt 0.750389 0.093531 +vt 0.727976 0.071678 +vt 0.016137 0.765734 +vt 0.016137 0.743881 +vt 0.038550 0.722028 +vt 0.461709 0.146853 +vt 0.484122 0.168706 +vt 0.439296 0.190559 +vt 0.461709 0.059441 +vt 0.439296 0.015734 +vt 0.484122 0.037587 +vt 0.596187 0.059441 +vt 0.573774 0.037587 +vt 0.618600 0.015734 +vt 0.596187 0.146853 +vt 0.618600 0.190559 +vt 0.573774 0.168706 +vt 0.534964 0.428322 +vt 0.534964 0.690559 +vt 0.503268 0.690559 +vt 0.596187 0.081294 +vt 0.461709 0.125000 +vt 0.551361 0.168706 +vt 0.470993 0.428322 +vt 0.470993 0.690559 +vt 0.439296 0.690559 +vt 0.551361 0.037587 +vt 0.637776 0.969712 +vt 0.637723 0.816438 +vt 0.958331 0.816438 +vt 0.596187 0.125000 +vt 0.573774 0.103147 +vt 0.506535 0.037587 +vt 0.528948 0.059441 +vt 0.461709 0.081294 +vt 0.484122 0.103147 +vt 0.506535 0.168706 +vt 0.528948 0.146853 +vt 0.397737 0.722028 +vt 0.397737 0.984266 +vt 0.375324 0.984266 +vt 0.874487 0.515734 +vt 0.874487 0.777972 +vt 0.842790 0.777972 +vt 0.407021 0.428322 +vt 0.407021 0.690560 +vt 0.375324 0.690560 +vt 0.929175 0.515734 +vt 0.929175 0.777972 +vt 0.906762 0.777972 +vt 0.974579 0.222028 +vt 0.974579 0.484266 +vt 0.952166 0.484266 +vt 0.682572 0.222028 +vt 0.682572 0.484266 +vt 0.650875 0.484266 +vt 0.746543 0.515734 +vt 0.746544 0.777972 +vt 0.714847 0.777972 +vt 0.919891 0.222028 +vt 0.919891 0.484266 +vt 0.897478 0.484266 +vt 0.746544 0.222028 +vt 0.746544 0.484266 +vt 0.714847 0.484266 +vt 0.343049 0.722028 +vt 0.343049 0.984266 +vt 0.320636 0.984266 +vt 0.810515 0.515734 +vt 0.810515 0.777972 +vt 0.778819 0.777972 +vt 0.111806 0.428322 +vt 0.111806 0.690560 +vt 0.080109 0.690560 +vt 0.195442 0.428322 +vt 0.195442 0.690560 +vt 0.163745 0.690560 +vt 0.047834 0.428322 +vt 0.047834 0.690559 +vt 0.016138 0.690559 +vt 0.259413 0.428322 +vt 0.259413 0.690560 +vt 0.227717 0.690560 +vt 0.673288 0.037587 +vt 0.695701 0.015734 +vt 0.695701 0.081294 +vt 0.750389 0.190559 +vt 0.727976 0.168706 +vt 0.727976 0.146853 +vt 0.650875 0.081294 +vt 0.650875 0.015734 +vt 0.448580 0.722028 +vt 0.470993 0.743881 +vt 0.470993 0.765734 +vt 0.265949 0.743881 +vt 0.288362 0.722028 +vt 0.288362 0.787587 +vt 0.650875 0.190559 +vt 0.650875 0.125000 +vt 0.673288 0.146853 +vt 0.503268 0.743881 +vt 0.525681 0.722028 +vt 0.525681 0.787587 +vt 0.016137 0.840909 +vt 0.016137 0.819056 +vt 0.038550 0.819056 +vt 0.522306 0.965642 +vt 0.499893 0.965643 +vt 0.499893 0.943789 +vt 0.610887 0.870908 +vt 0.610896 0.901792 +vt 0.579193 0.901785 +vt 0.178986 0.819056 +vt 0.178986 0.840909 +vt 0.156573 0.840909 +vt 0.695701 0.125000 +vt 0.695701 0.190559 +vt 0.673288 0.168706 +vt 0.186158 0.787587 +vt 0.163745 0.765734 +vt 0.163745 0.743881 +vt 0.782664 0.071678 +vt 0.805077 0.093531 +vt 0.805077 0.027972 +vt 0.837352 0.049825 +vt 0.859765 0.027972 +vt 0.859765 0.093531 +vt 0.609316 0.765734 +vt 0.586903 0.787587 +vt 0.586903 0.722028 +vt 0.805077 0.125000 +vt 0.805077 0.190559 +vt 0.782664 0.168706 +vt 0.837352 0.146853 +vt 0.859765 0.125000 +vt 0.859765 0.190559 +vt 0.265949 0.819056 +vt 0.288362 0.819056 +vt 0.288362 0.849961 +vt 0.442818 0.940641 +vt 0.465231 0.940641 +vt 0.465231 0.971546 +vt 0.233674 0.849961 +vt 0.211261 0.849961 +vt 0.211261 0.819056 +vt 0.522505 0.912435 +vt 0.500092 0.912435 +vt 0.500092 0.881530 +vt 0.470993 0.819056 +vt 0.470993 0.849961 +vt 0.448580 0.849961 +vt 0.586903 0.849961 +vt 0.586903 0.819056 +vt 0.609316 0.819056 +vt 0.469202 0.910790 +vt 0.469202 0.879885 +vt 0.446789 0.879885 +vt 0.503268 0.849961 +vt 0.503268 0.819056 +vt 0.525681 0.819056 +vt 0.407021 0.015734 +vt 0.229956 0.219789 +vt 0.193202 0.013495 +vt 0.193202 0.219788 +vt 0.618600 0.396853 +vt 0.291688 0.428322 +vt 0.080109 0.722028 +vt 0.961450 0.515734 +vt 0.586903 0.428322 +vt 0.650875 0.515734 +vt 0.842790 0.222028 +vt 0.778818 0.222028 +vt 0.727976 0.049825 +vt 0.038550 0.787587 +vt 0.503268 0.428322 +vt 0.439296 0.428322 +vt 0.375324 0.722028 +vt 0.958385 0.969712 +vt 0.842790 0.515734 +vt 0.375324 0.428322 +vt 0.906762 0.515734 +vt 0.952166 0.222028 +vt 0.650875 0.222028 +vt 0.714846 0.515734 +vt 0.897478 0.222028 +vt 0.714847 0.222028 +vt 0.320636 0.722028 +vt 0.778818 0.515734 +vt 0.080109 0.428322 +vt 0.163745 0.428322 +vt 0.016137 0.428322 +vt 0.227717 0.428322 +vt 0.673288 0.059441 +vt 0.750389 0.125000 +vt 0.448580 0.787587 +vt 0.265949 0.765734 +vt 0.503268 0.765734 +vt 0.038550 0.840909 +vt 0.522306 0.943789 +vt 0.579193 0.870880 +vt 0.156573 0.819056 +vt 0.186158 0.722028 +vt 0.782664 0.049825 +vt 0.837352 0.071678 +vt 0.609316 0.743881 +vt 0.782664 0.146853 +vt 0.837352 0.168706 +vt 0.265949 0.849961 +vt 0.442818 0.971546 +vt 0.233674 0.819056 +vt 0.522505 0.881530 +vt 0.448580 0.819056 +vt 0.609316 0.849961 +vt 0.446789 0.910790 +vt 0.525681 0.849961 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.707107 0.000000 0.707107 +vn -0.707107 0.000000 0.707107 +vn 0.707107 0.000000 -0.707107 +vn -0.707107 0.000000 -0.707107 +vn 0.000000 1.000000 0.000000 +vn 1.000000 -0.000001 0.000000 +vn 0.000000 1.000000 -0.000001 +vn 0.000000 1.000000 0.000002 +vn 0.000000 0.707107 -0.707107 +vn 0.000000 0.707107 0.707107 +vn 0.000000 0.707105 -0.707108 +vn 0.000000 1.000000 -0.000004 +vn -1.000000 -0.000001 -0.000000 +vn 1.000000 -0.000002 -0.000000 +vn -0.000000 0.707108 -0.707106 +vn 0.000000 0.707107 -0.707106 +vn 0.000000 0.707108 -0.707105 +s off +f 5/1/1 6/2/1 2/3/1 +f 4/4/2 8/5/2 5/6/2 +f 7/7/3 8/8/3 4/9/3 +f 6/10/4 7/11/4 3/12/4 +f 2/13/5 3/14/5 4/15/5 +f 19/16/6 33/17/6 23/18/6 +f 46/19/2 9/20/2 21/21/2 +f 42/22/4 14/23/4 25/24/4 +f 17/25/7 37/26/7 27/27/7 +f 38/28/8 26/29/8 22/30/8 +f 47/31/3 36/32/3 13/33/3 +f 40/34/9 22/35/9 24/36/9 +f 26/37/3 25/38/3 64/39/3 +f 70/40/1 69/41/1 30/42/1 +f 44/43/10 43/44/10 5/45/10 +f 46/46/10 8/47/10 45/48/10 +f 48/49/10 47/50/10 7/51/10 +f 42/52/10 6/53/10 41/54/10 +f 54/55/7 21/56/7 33/57/7 +f 48/49/10 7/51/10 50/58/10 +f 53/59/10 44/43/10 5/45/10 +f 41/54/10 6/53/10 51/60/10 +f 39/61/7 24/62/7 28/63/7 +f 7/51/10 47/50/10 56/64/10 +f 40/65/10 39/66/10 29/67/10 +f 52/68/10 20/69/10 50/58/10 +f 55/70/10 56/64/10 18/71/10 +f 53/59/10 54/72/10 19/73/10 +f 51/60/10 49/74/10 17/75/10 +f 50/76/4 30/77/4 34/78/4 +f 20/79/9 31/80/9 30/81/9 +f 52/82/8 25/83/8 31/84/8 +f 51/85/1 27/86/1 16/87/1 +f 43/88/1 12/89/1 32/90/1 +f 44/91/7 11/92/7 12/93/7 +f 41/94/9 16/95/9 14/96/9 +f 55/97/3 15/98/3 10/99/3 +f 48/100/8 34/101/8 36/102/8 +f 53/103/2 23/104/2 11/105/2 +f 56/106/6 13/107/6 35/108/6 +f 45/109/6 10/110/6 9/111/6 +f 49/112/9 32/113/9 37/114/9 +f 29/115/6 28/116/6 26/117/6 +f 18/118/8 35/119/8 15/120/8 +f 28/121/10 24/122/10 30/123/10 +f 34/124/3 63/125/3 66/126/3 +f 25/127/10 26/128/10 28/121/10 +f 26/129/11 59/130/11 61/131/11 +f 58/132/1 37/133/1 11/134/1 +f 26/135/10 23/136/10 33/137/10 +f 36/138/10 34/139/10 35/140/10 +f 60/141/12 61/142/12 59/143/12 +f 67/144/10 68/145/10 65/146/10 +f 69/147/10 70/148/10 66/149/10 +f 71/150/13 62/151/13 73/152/13 +f 21/153/10 24/154/10 22/155/10 +f 21/156/1 71/157/1 72/158/1 +f 67/159/1 14/160/1 37/161/1 +f 12/162/10 11/163/10 37/164/10 +f 27/165/10 37/166/10 14/167/10 +f 9/168/3 35/169/3 73/170/3 +f 15/171/10 35/172/10 9/173/10 +f 34/174/14 30/175/14 69/176/14 +f 62/177/15 71/178/15 21/179/15 +f 35/180/16 24/181/16 72/182/16 +f 24/183/15 35/184/15 66/185/15 +f 23/186/15 61/187/15 60/188/15 +f 59/189/14 26/190/14 37/191/14 +f 26/192/15 65/193/15 68/194/15 +f 14/195/14 67/196/14 64/197/14 +f 1/198/1 5/1/1 2/3/1 +f 1/199/2 4/4/2 5/6/2 +f 3/200/3 7/7/3 4/9/3 +f 2/201/4 6/10/4 3/12/4 +f 1/202/5 2/13/5 4/15/5 +f 53/203/6 19/16/6 23/18/6 +f 54/204/2 46/19/2 21/21/2 +f 52/205/4 42/22/4 25/24/4 +f 51/206/7 17/25/7 27/27/7 +f 40/207/8 38/28/8 22/30/8 +f 56/208/3 47/31/3 13/33/3 +f 39/209/9 40/34/9 24/36/9 +f 65/210/3 26/37/3 64/39/3 +f 24/211/1 70/40/1 30/42/1 +f 19/212/7 54/55/7 33/57/7 +f 6/53/10 52/68/10 7/51/10 +f 6/53/10 42/52/10 52/68/10 +f 5/45/10 43/44/10 49/74/10 +f 7/51/10 52/68/10 50/58/10 +f 53/59/10 8/47/10 54/72/10 +f 5/45/10 49/74/10 6/53/10 +f 8/47/10 46/46/10 54/72/10 +f 53/59/10 5/45/10 8/47/10 +f 29/213/7 39/61/7 28/63/7 +f 6/53/10 49/74/10 51/60/10 +f 55/70/10 45/48/10 8/47/10 +f 48/214/4 50/76/4 34/78/4 +f 55/70/10 7/51/10 56/64/10 +f 38/215/10 40/65/10 29/67/10 +f 55/70/10 8/47/10 7/51/10 +f 50/216/9 20/79/9 30/81/9 +f 20/217/8 52/82/8 31/84/8 +f 41/218/1 51/85/1 16/87/1 +f 49/219/1 43/88/1 32/90/1 +f 43/220/7 44/91/7 12/93/7 +f 42/221/9 41/94/9 14/96/9 +f 45/222/3 55/97/3 10/99/3 +f 47/223/8 48/100/8 36/102/8 +f 44/224/2 53/103/2 11/105/2 +f 18/225/6 56/106/6 35/108/6 +f 46/226/6 45/109/6 9/111/6 +f 17/227/9 49/112/9 37/114/9 +f 38/228/6 29/115/6 26/117/6 +f 55/229/8 18/118/8 15/120/8 +f 31/230/10 28/121/10 30/123/10 +f 35/231/3 34/124/3 66/126/3 +f 31/230/10 25/127/10 28/121/10 +f 23/232/3 26/129/3 61/131/3 +f 60/233/1 58/132/1 11/134/1 +f 22/155/10 26/135/10 33/137/10 +f 13/234/10 36/138/10 35/140/10 +f 58/235/10 60/141/10 59/143/10 +f 64/236/17 67/144/17 65/146/17 +f 63/237/10 69/147/10 66/149/10 +f 72/238/10 71/150/10 73/152/10 +f 33/137/10 21/153/10 22/155/10 +f 24/239/1 21/156/1 72/158/1 +f 68/240/18 67/159/18 37/161/18 +f 32/241/10 12/162/10 37/164/10 +f 16/242/10 27/165/10 14/167/10 +f 62/243/19 9/168/19 73/170/19 +f 10/244/10 15/171/10 9/173/10 +f 63/245/14 34/174/14 69/176/14 +f 9/246/15 62/177/15 21/179/15 +f 73/247/20 35/180/20 72/182/20 +f 70/248/15 24/183/15 66/185/15 +f 11/249/15 23/186/15 60/188/15 +f 58/250/21 59/189/21 37/191/21 +f 37/251/15 26/192/15 68/194/15 +f 25/252/22 14/195/22 64/197/22 +l 57 26 diff --git a/assets/hbm/models/generator.obj b/assets/hbm/models/generator.obj new file mode 100644 index 000000000..ca085d7e7 --- /dev/null +++ b/assets/hbm/models/generator.obj @@ -0,0 +1,1625 @@ +# Blender v2.76 (sub 0) OBJ File: 'generator.blend' +# www.blender.org +o Circle +v -2.900000 1.500000 -0.300000 +v -2.900000 1.614805 -0.277164 +v -2.700000 1.846454 -0.143506 +v -2.900000 1.777164 -0.114805 +v -2.900000 1.800000 0.000000 +v -2.900000 1.777164 0.114805 +v -2.700000 1.875000 0.000000 +v -2.900000 1.614805 0.277164 +v -2.900000 1.500000 0.300000 +v -2.900000 1.385195 0.277164 +v -2.700000 1.500000 -0.375000 +v -2.900000 1.222836 0.114805 +v -2.900000 1.200000 -0.000000 +v -2.900000 1.222836 -0.114805 +v -2.700000 1.643506 -0.346455 +v -2.900000 1.385195 -0.277164 +v -2.900000 1.500000 -0.105000 +v -2.900000 1.540182 -0.097007 +v -2.900000 1.574246 -0.074246 +v -2.900000 1.597007 -0.040182 +v -2.900000 1.605000 0.000000 +v -2.900000 1.597007 0.040182 +v -2.900000 1.574246 0.074246 +v -2.900000 1.540182 0.097007 +v -2.900000 1.500000 0.105000 +v -2.900000 1.459818 0.097007 +v -2.900000 1.425754 0.074246 +v -2.900000 1.402992 0.040182 +v -2.900000 1.395000 -0.000000 +v -2.900000 1.402992 -0.040182 +v -2.900000 1.425754 -0.074246 +v -2.900000 1.459818 -0.097007 +v -2.700000 1.846454 0.143506 +v -2.700000 1.500000 0.375000 +v -2.700000 1.643506 0.346455 +v -2.700000 1.356493 0.346455 +v -2.700000 1.125000 -0.000000 +v -2.700000 1.153545 0.143506 +v -2.700000 1.153545 -0.143506 +v -2.700000 1.356494 -0.346455 +v -2.700000 1.540182 -0.097007 +v -1.000000 2.423879 -0.382683 +v -2.700000 1.574246 -0.074246 +v -2.700000 1.597007 -0.040182 +v -2.700000 1.597007 0.040182 +v -2.700000 1.574246 0.074246 +v -2.700000 1.540182 0.097007 +v -2.700000 1.459818 0.097007 +v -2.700000 1.425754 0.074246 +v -2.700000 1.402992 0.040182 +v -1.000000 1.500000 -1.000000 +v -2.700000 1.402992 -0.040182 +v -2.700000 1.425754 -0.074246 +v -2.700000 1.459818 -0.097007 +v -2.600000 1.153545 -0.143506 +v -2.600000 1.125000 -0.000000 +v -2.600000 1.500000 -0.375000 +v -2.600000 1.356494 -0.346455 +v -2.600000 1.153545 0.143506 +v -2.600000 1.356494 0.346455 +v -2.600000 1.500000 0.375000 +v -2.600000 1.643506 0.346455 +v -2.600000 1.846454 0.143506 +v -2.600000 1.875000 0.000000 +v -2.600000 1.846454 -0.143506 +v -2.600000 1.643506 -0.346455 +v -2.600000 1.540182 -0.097007 +v -2.600000 1.500000 -0.105000 +v -2.600000 1.574246 -0.074246 +v -2.600000 1.597007 -0.040182 +v -2.600000 1.605000 0.000000 +v -2.600000 1.597007 0.040182 +v -2.600000 1.574246 0.074246 +v -2.600000 1.540182 0.097007 +v -2.600000 1.500000 0.105000 +v -2.600000 1.459818 0.097007 +v -2.600000 1.425754 0.074246 +v -2.600000 1.402992 0.040182 +v -2.600000 1.395000 -0.000000 +v -2.600000 1.402992 -0.040182 +v -2.600000 1.425754 -0.074246 +v -2.600000 1.459818 -0.097007 +v -1.000000 2.500000 0.000000 +v -1.000000 1.882683 0.923879 +v -1.000000 1.500000 1.000000 +v 0.500000 2.000000 0.000000 +v 0.500000 1.961939 0.191342 +v -1.000000 0.576121 0.382684 +v -1.000000 0.500000 -0.000000 +v -1.000000 1.117317 -0.923880 +v -0.500000 2.423879 -0.382683 +v -0.500000 1.500000 -1.000000 +v -0.500000 2.500000 0.000000 +v -0.500000 1.882683 0.923879 +v -0.500000 1.500000 1.000000 +v 0.500000 1.500000 -0.500000 +v 0.500000 1.691342 -0.461940 +v -0.500000 0.576121 0.382684 +v -0.500000 0.500000 -0.000000 +v -0.500000 1.117317 -0.923880 +v -0.000000 1.882683 -0.923879 +v -0.000000 1.500000 -1.000000 +v -0.000000 2.500000 0.000000 +v -0.000000 2.423879 0.382683 +v -0.000000 1.500000 1.000000 +v -0.000000 1.117316 0.923880 +v 0.500000 0.500000 -0.000000 +v 0.500000 0.576121 -0.382684 +v -0.000000 0.500000 -0.000000 +v -0.000000 0.576121 -0.382684 +v -1.000000 1.961939 -0.191342 +v -1.000000 1.500000 -0.500000 +v -1.000000 1.999999 0.000000 +v -1.000000 1.691341 0.461940 +v -1.000000 1.500000 0.500000 +v 0.500000 1.500000 1.000000 +v 0.500000 1.117316 0.923880 +v -1.000000 1.038060 0.191342 +v -1.000000 1.000000 -0.000000 +v -1.000000 1.308658 -0.461940 +v -0.500000 1.961939 -0.191342 +v -0.500000 1.500000 -0.500000 +v -0.500000 1.999999 0.000000 +v -0.500000 1.691341 0.461940 +v -0.500000 1.500000 0.500000 +v 0.500000 2.500000 0.000000 +v 0.500000 2.423879 0.382683 +v -0.500000 1.038060 0.191342 +v -0.500000 1.000000 -0.000000 +v 0.500000 1.000000 -0.000000 +v 0.500000 1.038060 -0.191342 +v -0.500000 1.308658 -0.461940 +v -0.000000 1.691341 -0.461940 +v -0.000000 1.500000 -0.500000 +v -0.000000 2.000000 0.000000 +v -0.000000 1.961939 0.191342 +v -0.000000 1.500000 0.500000 +v -0.000000 1.308658 0.461940 +v 0.500000 1.500000 -1.000000 +v 0.500000 1.882683 -0.923879 +v -0.000000 1.000000 -0.000000 +v -0.000000 1.038060 -0.191342 +v 0.500000 1.500000 0.500000 +v 0.500000 1.308658 0.461940 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.923900 -0.382700 +vn 0.000000 0.923900 0.382700 +vn 0.000000 -0.382700 -0.923900 +vn 0.000000 0.980800 0.195100 +vn 0.000000 -0.923900 -0.382700 +vn 0.000000 -0.831500 0.555600 +vn 0.000000 -0.195100 -0.980800 +vn 0.000000 0.831500 -0.555600 +vn -0.000000 0.195100 0.980800 +vn 0.000000 0.555600 -0.831500 +vn -0.000000 -0.382700 0.923900 +vn 0.000000 -0.555600 0.831500 +vn -0.000000 0.382700 0.923900 +vn -0.345200 0.920500 -0.183100 +vn -0.345200 -0.920500 0.183100 +vn -0.345200 0.920500 0.183100 +vn -0.345200 -0.920500 -0.183100 +vn 0.000000 0.831500 0.555600 +vn 0.000000 -0.831500 -0.555600 +vn -0.345200 0.183100 0.920500 +vn 0.000000 0.555600 0.831500 +vn 0.000000 -0.923900 0.382700 +vn -0.345200 0.183100 -0.920500 +vn -0.345200 -0.183100 -0.920500 +vn 0.000000 -0.555600 -0.831500 +vn -0.345200 -0.183100 0.920500 +vn -0.000000 0.382700 -0.923900 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -0.980800 0.195100 +vn 0.000000 0.980800 -0.195100 +vn -0.000000 -0.195100 0.980800 +vn 0.000000 0.195100 -0.980800 +vn 0.000000 -0.980800 -0.195100 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 -1.000000 0.000000 +vn -0.000000 0.000000 -1.000000 +vn -0.000000 1.000000 0.000000 +vn -0.357400 -0.000000 0.933900 +vn -0.357400 -0.933900 0.000000 +vn -0.357400 0.000000 -0.933900 +vn -0.357400 0.933900 0.000000 +vn -0.607800 -0.303900 0.733700 +vn -0.607800 -0.733700 -0.303900 +vn -0.607800 0.303900 -0.733700 +vn -0.607800 0.733700 0.303900 +vn 0.607800 -0.000000 -0.794100 +vn 0.357400 -0.357400 -0.862900 +vn 0.607800 0.794100 -0.000000 +vn 0.357400 0.862900 -0.357400 +vn 0.607800 0.000000 0.794100 +vn 0.357400 0.357400 0.862900 +vn 0.607800 -0.794100 0.000000 +vn 0.357400 -0.862900 0.357400 +s off +f 5//1 21//1 22//1 +f 20//1 21//1 5//1 +f 17//1 18//1 2//1 +f 32//1 17//1 1//1 +f 29//1 30//1 14//1 +f 28//1 29//1 13//1 +f 25//1 26//1 10//1 +f 24//1 25//1 9//1 +f 27//1 21//1 19//1 +f 35//2 62//2 74//2 +f 41//3 67//3 66//3 +f 65//4 70//4 44//4 +f 63//5 64//5 7//5 +f 48//6 76//6 60//6 +f 50//7 78//7 77//7 +f 11//8 57//8 58//8 +f 44//9 70//9 69//9 +f 35//10 34//10 61//10 +f 19//11 43//11 41//11 +f 45//12 33//12 6//12 +f 27//13 49//13 48//13 +f 12//14 38//14 50//14 +f 5//15 7//15 3//15 +f 20//9 44//9 43//9 +f 37//16 38//16 12//16 +f 28//7 50//7 49//7 +f 10//6 26//6 48//6 +f 33//17 7//17 5//17 +f 4//4 3//4 44//4 +f 14//18 39//18 37//18 +f 2//3 18//3 41//3 +f 8//2 35//2 47//2 +f 23//19 46//19 45//19 +f 31//20 53//20 52//20 +f 8//21 9//21 34//21 +f 24//22 47//22 46//22 +f 16//23 40//23 54//23 +f 2//24 15//24 11//24 +f 1//25 11//25 40//25 +f 32//26 54//26 53//26 +f 10//27 36//27 34//27 +f 52//28 39//28 14//28 +f 64//29 63//29 72//29 +f 64//29 71//29 70//29 +f 57//29 66//29 67//29 +f 57//29 68//29 82//29 +f 55//29 80//29 79//29 +f 59//29 56//29 79//29 +f 60//29 76//29 75//29 +f 61//29 75//29 74//29 +f 75//29 79//29 71//29 +f 46//19 73//19 72//19 +f 56//30 59//30 38//30 +f 53//20 81//20 80//20 +f 64//31 65//31 3//31 +f 47//22 74//22 73//22 +f 54//23 40//23 58//23 +f 34//32 36//32 60//32 +f 54//26 82//26 81//26 +f 15//33 66//33 57//33 +f 80//28 55//28 39//28 +f 43//11 69//11 67//11 +f 72//12 63//12 33//12 +f 55//34 56//34 37//34 +f 49//13 77//13 76//13 +f 59//14 78//14 50//14 +f 83//31 93//31 91//31 +f 93//31 103//31 91//31 +f 103//5 93//5 104//5 +f 85//10 95//10 94//10 +f 94//10 95//10 105//10 +f 105//32 95//32 106//32 +f 89//30 99//30 98//30 +f 99//30 109//30 98//30 +f 109//34 99//34 110//34 +f 51//8 92//8 100//8 +f 92//8 102//8 100//8 +f 102//33 92//33 101//33 +f 114//1 115//1 85//1 +f 111//1 113//1 83//1 +f 120//1 112//1 51//1 +f 88//1 118//1 119//1 +f 118//31 128//31 129//31 +f 132//10 122//10 112//10 +f 121//30 123//30 113//30 +f 124//8 125//8 115//8 +f 110//34 108//34 107//34 +f 104//5 127//5 126//5 +f 133//3 97//3 140//3 +f 109//35 107//35 130//35 +f 125//8 124//8 137//8 +f 137//33 138//33 125//33 +f 128//31 141//31 129//31 +f 141//5 142//5 129//5 +f 132//10 134//10 122//10 +f 134//32 133//32 122//32 +f 121//30 135//30 123//30 +f 135//34 136//34 123//34 +f 98//14 128//14 118//14 +f 93//35 83//35 113//35 +f 95//36 85//36 115//36 +f 100//23 132//23 120//23 +f 99//37 89//37 119//37 +f 94//2 124//2 114//2 +f 91//4 121//4 111//4 +f 92//38 51//38 112//38 +f 136//39 93//39 123//39 +f 138//40 95//40 125//40 +f 142//41 99//41 129//41 +f 133//42 92//42 122//42 +f 93//43 136//43 104//43 +f 95//44 138//44 106//44 +f 99//45 142//45 110//45 +f 92//46 133//46 101//46 +f 91//47 103//47 135//47 +f 135//48 121//48 91//48 +f 94//49 105//49 137//49 +f 137//50 124//50 94//50 +f 98//51 109//51 141//51 +f 141//52 128//52 98//52 +f 100//53 102//53 134//53 +f 134//54 132//54 100//54 +f 140//29 97//29 96//29 +f 126//29 127//29 87//29 +f 117//29 144//29 143//29 +f 108//29 131//29 130//29 +f 102//36 139//36 96//36 +f 135//34 86//34 87//34 +f 136//12 87//12 127//12 +f 141//5 130//5 131//5 +f 103//37 126//37 86//37 +f 101//33 140//33 139//33 +f 138//6 144//6 117//6 +f 105//32 106//32 117//32 +f 105//38 116//38 143//38 +f 134//32 96//32 97//32 +f 137//33 143//33 144//33 +f 142//28 131//28 108//28 +f 6//1 5//1 22//1 +f 4//1 20//1 5//1 +f 1//1 17//1 2//1 +f 16//1 32//1 1//1 +f 13//1 29//1 14//1 +f 12//1 28//1 13//1 +f 9//1 25//1 10//1 +f 8//1 24//1 9//1 +f 19//1 18//1 17//1 +f 17//1 32//1 31//1 +f 31//1 30//1 29//1 +f 29//1 28//1 27//1 +f 27//1 26//1 25//1 +f 25//1 24//1 23//1 +f 23//1 22//1 21//1 +f 21//1 20//1 19//1 +f 19//1 17//1 31//1 +f 31//1 29//1 27//1 +f 27//1 25//1 23//1 +f 23//1 21//1 27//1 +f 19//1 31//1 27//1 +f 47//2 35//2 74//2 +f 15//3 41//3 66//3 +f 3//4 65//4 44//4 +f 33//5 63//5 7//5 +f 36//6 48//6 60//6 +f 49//7 50//7 77//7 +f 40//8 11//8 58//8 +f 43//9 44//9 69//9 +f 62//10 35//10 61//10 +f 18//11 19//11 41//11 +f 22//12 45//12 6//12 +f 26//13 27//13 48//13 +f 28//14 12//14 50//14 +f 4//15 5//15 3//15 +f 19//9 20//9 43//9 +f 13//16 37//16 12//16 +f 27//7 28//7 49//7 +f 36//6 10//6 48//6 +f 6//17 33//17 5//17 +f 20//4 4//4 44//4 +f 13//18 14//18 37//18 +f 15//3 2//3 41//3 +f 24//2 8//2 47//2 +f 22//19 23//19 45//19 +f 30//20 31//20 52//20 +f 35//21 8//21 34//21 +f 23//22 24//22 46//22 +f 32//23 16//23 54//23 +f 1//24 2//24 11//24 +f 16//25 1//25 40//25 +f 31//26 32//26 53//26 +f 9//27 10//27 34//27 +f 30//28 52//28 14//28 +f 71//29 64//29 72//29 +f 65//29 64//29 70//29 +f 68//29 57//29 67//29 +f 58//29 57//29 82//29 +f 56//29 55//29 79//29 +f 78//29 59//29 79//29 +f 61//29 60//29 75//29 +f 62//29 61//29 74//29 +f 68//29 67//29 69//29 +f 69//29 70//29 68//29 +f 71//29 72//29 75//29 +f 73//29 74//29 75//29 +f 75//29 76//29 77//29 +f 77//29 78//29 75//29 +f 79//29 80//29 68//29 +f 81//29 82//29 68//29 +f 68//29 70//29 71//29 +f 72//29 73//29 75//29 +f 75//29 78//29 79//29 +f 80//29 81//29 68//29 +f 68//29 71//29 79//29 +f 45//19 46//19 72//19 +f 37//30 56//30 38//30 +f 52//20 53//20 80//20 +f 7//31 64//31 3//31 +f 46//22 47//22 73//22 +f 82//23 54//23 58//23 +f 61//32 34//32 60//32 +f 53//26 54//26 81//26 +f 11//33 15//33 57//33 +f 52//28 80//28 39//28 +f 41//11 43//11 67//11 +f 45//12 72//12 33//12 +f 39//34 55//34 37//34 +f 48//13 49//13 76//13 +f 38//14 59//14 50//14 +f 42//31 83//31 91//31 +f 84//10 85//10 94//10 +f 88//30 89//30 98//30 +f 90//8 51//8 100//8 +f 84//1 114//1 85//1 +f 42//1 111//1 83//1 +f 90//1 120//1 51//1 +f 89//1 88//1 119//1 +f 119//31 118//31 129//31 +f 120//10 132//10 112//10 +f 111//30 121//30 113//30 +f 114//8 124//8 115//8 +f 109//34 110//34 107//34 +f 103//5 104//5 126//5 +f 101//3 133//3 140//3 +f 141//35 109//35 130//35 +f 88//14 98//14 118//14 +f 123//35 93//35 113//35 +f 125//36 95//36 115//36 +f 90//23 100//23 120//23 +f 129//37 99//37 119//37 +f 84//2 94//2 114//2 +f 42//4 91//4 111//4 +f 122//38 92//38 112//38 +f 139//29 140//29 96//29 +f 86//29 126//29 87//29 +f 116//29 117//29 143//29 +f 107//29 108//29 130//29 +f 134//36 102//36 96//36 +f 136//34 135//34 87//34 +f 104//12 136//12 127//12 +f 142//5 141//5 131//5 +f 135//37 103//37 86//37 +f 102//33 101//33 139//33 +f 106//6 138//6 117//6 +f 116//32 105//32 117//32 +f 137//38 105//38 143//38 +f 133//32 134//32 97//32 +f 138//33 137//33 144//33 +f 110//28 142//28 108//28 +o Plane +v -1.500000 0.000000 0.750000 +v 2.250000 0.000000 0.750000 +v -1.500000 0.000000 -0.750000 +v 2.250000 0.000000 -0.750000 +v -2.250000 1.500000 -1.275000 +v -2.250000 1.987921 -1.177946 +v -2.250000 2.401561 -0.901561 +v -2.250000 2.677946 -0.487921 +v -2.250000 2.775000 0.000000 +v -2.250000 2.677946 0.487922 +v -2.250000 2.401561 0.901561 +v -2.250000 1.987921 1.177946 +v -2.250000 1.500000 1.275000 +v -2.000000 1.500000 -1.500000 +v -2.000000 2.074025 -1.385819 +v -2.000000 2.560660 -1.060660 +v -2.000000 2.885819 -0.574025 +v -2.000000 3.000000 0.000000 +v -2.000000 2.885819 0.574025 +v -2.000000 2.560660 1.060660 +v -2.000000 2.074025 1.385819 +v -2.000000 1.500000 1.500000 +v -1.750000 1.500000 -1.500000 +v -1.750000 2.074025 -1.385819 +v -1.750000 2.560660 -1.060660 +v -1.750000 2.885819 -0.574025 +v -1.750000 3.000000 0.000000 +v -1.750000 2.885819 0.574025 +v -1.750000 2.560660 1.060660 +v -1.750000 2.074025 1.385819 +v -1.750000 1.500000 1.500000 +v -1.500000 1.500000 -1.275000 +v -1.500000 1.987921 -1.177946 +v -1.500000 2.401561 -0.901561 +v -1.500000 2.677946 -0.487921 +v -1.500000 2.775000 0.000000 +v -1.500000 2.677946 0.487922 +v -1.500000 2.401561 0.901561 +v -1.500000 1.987921 1.177946 +v -1.500000 1.500000 1.275000 +v -2.000000 0.000000 -1.500000 +v -2.000000 0.000000 1.500000 +v -1.750000 0.000000 -1.500000 +v -1.750000 0.000000 1.500000 +v -1.500000 0.000000 -1.275000 +v -1.500000 0.000000 1.275000 +v -2.250000 1.500000 -0.750000 +v -2.250000 1.787013 -0.692910 +v -2.250000 2.030330 -0.530330 +v -2.250000 2.192910 -0.287013 +v -2.250000 2.250000 0.000000 +v -2.250000 2.192910 0.287013 +v -2.250000 2.030330 0.530330 +v -2.250000 1.787013 0.692910 +v -2.250000 1.500000 0.750000 +v -2.250000 0.000000 0.750000 +v -2.250000 -0.000000 -0.750000 +v -2.250000 0.000000 1.275000 +v -2.250000 0.000000 -1.275000 +v -2.500000 1.500000 -0.750000 +v -2.500000 1.787013 -0.692910 +v -2.500000 2.030330 -0.530330 +v -2.500000 2.192910 -0.287013 +v -2.500000 2.250000 0.000000 +v -2.500000 2.192910 0.287013 +v -2.500000 2.030330 0.530330 +v -2.500000 1.787013 0.692910 +v -2.500000 1.500000 0.750000 +v -2.750000 1.500000 -0.525000 +v -2.750000 1.700909 -0.485037 +v -2.750000 1.871231 -0.371231 +v -2.750000 1.985037 -0.200909 +v -2.750000 2.025000 0.000000 +v -2.750000 1.985037 0.200909 +v -2.750000 1.871231 0.371231 +v -2.750000 1.700909 0.485037 +v -2.750000 1.500000 0.525000 +v -2.500000 -0.000000 -0.750000 +v -2.500000 0.000000 0.750000 +v -2.750000 -0.000000 -0.525000 +v -2.750000 0.000000 0.525000 +v -2.750000 1.500000 -0.472500 +v -2.750000 1.680818 -0.436533 +v -2.750000 1.834108 -0.334108 +v -2.750000 1.936533 -0.180818 +v -2.750000 1.972500 0.000000 +v -2.750000 1.936533 0.180818 +v -2.750000 1.834108 0.334108 +v -2.750000 1.680818 0.436533 +v -2.750000 1.500000 0.472500 +v -2.750000 1.319182 0.436533 +v -2.750000 1.165892 0.334108 +v -2.750000 1.063467 0.180818 +v -2.750000 1.027500 -0.000000 +v -2.750000 1.063467 -0.180818 +v -2.750000 1.165892 -0.334108 +v -2.750000 1.319182 -0.436533 +v -2.875001 1.500000 -0.472500 +v -2.875001 1.680818 -0.436533 +v -2.875001 1.834108 -0.334108 +v -2.875001 1.936533 -0.180818 +v -2.875001 1.972500 0.000000 +v -2.875001 1.936533 0.180818 +v -2.875001 1.834108 0.334108 +v -2.875001 1.680818 0.436533 +v -2.875001 1.500000 0.472500 +v -2.875000 1.319182 0.436533 +v -2.875000 1.165892 0.334108 +v -2.875000 1.063467 0.180818 +v -2.875000 1.027500 -0.000000 +v -2.875000 1.063467 -0.180818 +v -2.875000 1.165892 -0.334108 +v -2.875000 1.319182 -0.436533 +v -3.000001 1.500000 -0.354375 +v -3.000001 1.635613 -0.327400 +v -3.000001 1.750581 -0.250581 +v -3.000001 1.827400 -0.135613 +v -3.000001 1.854375 0.000000 +v -3.000001 1.827400 0.135613 +v -3.000001 1.750581 0.250581 +v -3.000001 1.635613 0.327400 +v -3.000001 1.500000 0.354375 +v -3.000000 1.364387 0.327400 +v -3.000000 1.249419 0.250581 +v -3.000000 1.172600 0.135613 +v -3.000000 1.145625 -0.000000 +v -3.000000 1.172600 -0.135614 +v -3.000000 1.249419 -0.250581 +v -3.000000 1.364387 -0.327400 +v -3.000001 1.500000 -0.301219 +v -3.000001 1.615271 -0.278290 +v -3.000001 1.712994 -0.212994 +v -3.000001 1.778290 -0.115271 +v -3.000001 1.801219 0.000000 +v -3.000001 1.778290 0.115271 +v -3.000001 1.712994 0.212994 +v -3.000001 1.615271 0.278290 +v -3.000001 1.500000 0.301219 +v -3.000000 1.384729 0.278290 +v -3.000000 1.287006 0.212994 +v -3.000000 1.221710 0.115271 +v -3.000000 1.198781 -0.000000 +v -3.000000 1.221710 -0.115271 +v -3.000000 1.287006 -0.212994 +v -3.000000 1.384729 -0.278290 +v -3.000000 1.500000 -0.090366 +v -3.000000 1.534581 -0.083487 +v -3.000000 1.563898 -0.063898 +v -3.000000 1.583487 -0.034581 +v -3.000000 1.590366 0.000000 +v -3.000000 1.583487 0.034581 +v -3.000000 1.563898 0.063898 +v -3.000000 1.534581 0.083487 +v -3.000000 1.500000 0.090366 +v -3.000000 1.465419 0.083487 +v -3.000000 1.436102 0.063898 +v -3.000000 1.416513 0.034581 +v -3.000000 1.409634 -0.000000 +v -3.000000 1.416513 -0.034581 +v -3.000000 1.436102 -0.063898 +v -3.000000 1.465419 -0.083487 +v -2.750000 -0.000000 0.000000 +v -1.500000 0.500000 0.750000 +v 2.250000 0.500000 0.750000 +v -1.500000 0.500000 -0.750000 +v 2.250000 0.500000 -0.750000 +v -1.500000 2.192910 -0.287013 +v -1.500000 2.030330 -0.530330 +v -1.500000 1.787013 -0.692910 +v -1.500000 1.500000 -0.750000 +v -1.500000 2.250000 0.000000 +v -1.500000 2.192910 0.287013 +v -1.500000 2.030330 0.530330 +v -1.500000 1.787013 0.692910 +v -1.500000 1.500000 0.750000 +v -1.500000 1.212988 0.692910 +v -1.500000 0.969670 0.530330 +v -1.500000 0.807090 0.287013 +v -1.500000 0.750000 -0.000000 +v -1.500000 0.807090 -0.287013 +v -1.500000 0.969670 -0.530330 +v -1.500000 1.212988 -0.692910 +v -1.500000 0.500000 0.000000 +v -2.950001 1.500000 -0.354375 +v -2.950001 1.635613 -0.327400 +v -2.950001 1.750581 -0.250581 +v -2.950001 1.827400 -0.135613 +v -2.950001 1.854375 0.000000 +v -2.950001 1.827400 0.135613 +v -2.950001 1.750581 0.250581 +v -2.950001 1.635613 0.327400 +v -2.950001 1.500000 0.354375 +v -2.950000 1.364387 0.327400 +v -2.950000 1.249419 0.250581 +v -2.950000 1.172600 0.135613 +v -2.950000 1.145625 -0.000000 +v -2.950000 1.172600 -0.135614 +v -2.950000 1.249419 -0.250581 +v -2.950000 1.364387 -0.327400 +v -2.950001 1.500000 -0.301219 +v -2.950001 1.615271 -0.278290 +v -2.950001 1.712994 -0.212994 +v -2.950001 1.778290 -0.115271 +v -2.950001 1.801219 0.000000 +v -2.950001 1.778290 0.115271 +v -2.950001 1.712994 0.212994 +v -2.950001 1.615271 0.278290 +v -2.950001 1.500000 0.301219 +v -2.950000 1.384729 0.278290 +v -2.950000 1.287006 0.212994 +v -2.950000 1.221710 0.115271 +v -2.950000 1.198781 -0.000000 +v -2.950000 1.221710 -0.115271 +v -2.950000 1.287006 -0.212994 +v -2.950000 1.384729 -0.278290 +v -2.950000 1.500000 -0.090366 +v -2.950000 1.534581 -0.083487 +v -2.950000 1.563898 -0.063898 +v -2.950000 1.583487 -0.034581 +v -2.950000 1.590366 0.000000 +v -2.950000 1.583487 0.034581 +v -2.950000 1.563898 0.063898 +v -2.950000 1.534581 0.083487 +v -2.950000 1.500000 0.090366 +v -2.950000 1.465419 0.083487 +v -2.950000 1.436102 0.063898 +v -2.950000 1.416513 0.034581 +v -2.950000 1.409634 -0.000000 +v -2.950000 1.416513 -0.034581 +v -2.950000 1.436102 -0.063898 +v -2.950000 1.465419 -0.083487 +v -2.550001 1.500000 -0.472500 +v -2.550001 1.680818 -0.436533 +v -2.550001 1.834108 -0.334108 +v -2.550001 1.936533 -0.180818 +v -2.550001 1.972500 0.000000 +v -2.550001 1.936533 0.180818 +v -2.550001 1.834108 0.334108 +v -2.550001 1.680818 0.436533 +v -2.550001 1.500000 0.472500 +v -2.550000 1.319182 0.436533 +v -2.550000 1.165892 0.334108 +v -2.550000 1.063467 0.180818 +v -2.550000 1.027500 -0.000000 +v -2.550000 1.063467 -0.180818 +v -2.550000 1.165892 -0.334108 +v -2.550000 1.319182 -0.436533 +v -2.675001 1.500000 -0.472500 +v -2.675001 1.680818 -0.436533 +v -2.675001 1.834108 -0.334108 +v -2.675001 1.936533 -0.180818 +v -2.675001 1.972500 0.000000 +v -2.675001 1.936533 0.180818 +v -2.675001 1.834108 0.334108 +v -2.675001 1.680818 0.436533 +v -2.675001 1.500000 0.472500 +v -2.675000 1.319182 0.436533 +v -2.675000 1.165892 0.334108 +v -2.675000 1.063467 0.180818 +v -2.675000 1.027500 -0.000000 +v -2.675000 1.063467 -0.180818 +v -2.675000 1.165892 -0.334108 +v -2.675000 1.319182 -0.436533 +v 2.250000 2.192910 -0.287013 +v 2.250000 2.030330 -0.530330 +v 2.250000 1.787013 -0.692910 +v 2.250000 1.500000 -0.750000 +v 2.250000 2.250000 0.000000 +v 2.250000 2.192910 0.287013 +v 2.250000 2.030330 0.530330 +v 2.250000 1.787013 0.692910 +v 2.250000 1.500000 0.750000 +v 2.250000 1.212988 0.692910 +v 2.250000 0.969670 0.530330 +v 2.250000 0.807090 0.287013 +v 2.250000 0.750000 -0.000000 +v 2.250000 0.807090 -0.287013 +v 2.250000 0.969670 -0.530330 +v 2.250000 1.212988 -0.692910 +v 2.250000 1.500000 -1.000000 +v 2.250000 1.882683 -0.923880 +v 2.250000 2.207107 -0.707107 +v 2.250000 2.423880 -0.382683 +v 2.250000 2.500000 0.000000 +v 2.250000 2.423880 0.382684 +v 2.250000 2.207107 0.707107 +v 2.250000 1.882683 0.923880 +v 2.250000 1.500000 1.000000 +v 2.750000 0.000000 0.800000 +v 2.750000 -0.000000 -0.800000 +v 2.500000 0.000000 1.000000 +v 2.250000 0.500000 -0.000000 +v 2.500000 -0.000000 -1.000000 +v 2.250000 0.000000 1.000000 +v 2.250000 -0.000000 -1.000000 +v 2.500000 1.882683 0.923880 +v 2.500000 2.207107 0.707107 +v 2.500000 2.423880 0.382684 +v 2.500000 2.500000 0.000000 +v 2.500000 2.423880 -0.382683 +v 2.500000 2.207107 -0.707107 +v 2.500000 1.882683 -0.923880 +v 2.500000 1.500000 -1.000000 +v 2.500000 1.500000 1.000000 +v 2.750000 1.806147 0.739104 +v 2.750000 2.065685 0.565686 +v 2.750000 2.239104 0.306147 +v 2.750000 2.300000 0.000000 +v 2.750000 2.239104 -0.306147 +v 2.750000 2.065685 -0.565686 +v 2.750000 1.806147 -0.739104 +v 2.750000 1.500000 -0.800000 +v 2.750000 1.500000 0.800000 +v 2.750000 0.656250 0.156250 +v 2.750000 0.343750 0.156250 +v 2.750000 0.656250 -0.156250 +v 2.750000 0.343750 -0.156250 +v 3.000000 0.656250 -0.156250 +v 3.000000 0.656250 0.156250 +v 3.000000 0.343750 0.156250 +v 3.000000 0.343750 -0.156250 +v -2.750000 0.656250 -0.156250 +v -2.750000 0.656250 0.156250 +v -2.750000 0.343750 0.156250 +v -2.750000 0.343750 -0.156250 +v -3.000000 0.656250 -0.156250 +v -3.000000 0.656250 0.156250 +v -3.000000 0.343750 0.156250 +v -3.000000 0.343750 -0.156250 +v -2.750000 0.343750 0.000000 +v -2.750000 0.656250 0.000000 +v -1.750000 2.900000 0.150000 +v -1.750000 2.800000 0.150000 +v -1.750000 2.900000 -0.150000 +v -1.750000 2.800000 -0.150000 +v 0.250000 2.900002 -0.150000 +v 0.250000 2.900002 0.150000 +v 0.250000 2.800002 0.150000 +v 0.250000 2.800002 -0.150000 +v 0.362941 2.898298 -0.150000 +v 0.362941 2.898298 0.150000 +v 0.337059 2.801706 0.150000 +v 0.337059 2.801706 -0.150000 +v 2.294793 2.380663 -0.150000 +v 2.294793 2.380663 0.150000 +v 2.268912 2.284071 0.150000 +v 2.268912 2.284071 -0.150000 +vn 0.000000 -1.000000 0.000000 +vn -0.661800 0.735300 0.146300 +vn 0.000000 0.980800 0.195100 +vn 0.661800 0.735300 0.146300 +vn -0.661800 0.623400 0.416500 +vn 0.661800 0.623400 0.416500 +vn 0.000000 0.831500 0.555600 +vn 0.661800 0.416500 0.623400 +vn 0.000000 0.555600 0.831500 +vn -0.661800 0.416500 0.623400 +vn -0.661800 0.146300 0.735300 +vn 0.661800 0.146300 0.735300 +vn -0.661800 0.735300 -0.146300 +vn 0.000000 0.980800 -0.195100 +vn 0.661800 0.735300 -0.146300 +vn 0.661800 0.623400 -0.416500 +vn 0.000000 0.831500 -0.555600 +vn -0.661800 0.623400 -0.416500 +vn -0.661800 0.416500 -0.623400 +vn 0.000000 0.555600 -0.831500 +vn 0.661800 0.416500 -0.623400 +vn 0.661800 0.146300 -0.735300 +vn 0.000000 0.195100 -0.980800 +vn -0.661800 0.146300 -0.735300 +vn 0.000000 0.195100 0.980800 +vn 0.000000 0.000000 1.000000 +vn 0.669000 0.000000 0.743300 +vn 0.000000 0.000000 -1.000000 +vn 0.669000 0.000000 -0.743300 +vn -1.000000 0.000000 -0.000000 +vn -0.669000 0.000000 -0.743300 +vn -0.669000 0.000000 0.743300 +vn 0.000000 -0.195100 0.980800 +vn 0.000000 -0.555600 0.831500 +vn 0.000000 -0.831500 0.555600 +vn 0.000000 -0.980800 0.195100 +vn 0.000000 -0.980800 -0.195100 +vn 0.000000 -0.831500 -0.555600 +vn 0.000000 -0.195100 -0.980800 +vn 0.000000 -0.555600 -0.831500 +vn -0.679800 0.143100 -0.719300 +vn -0.679800 0.407500 -0.609800 +vn -0.679800 0.609800 -0.407500 +vn -0.679800 0.719300 -0.143100 +vn -0.679800 0.719300 0.143100 +vn -0.679800 0.609800 0.407500 +vn -0.679800 0.407500 0.609800 +vn -0.679800 0.143100 0.719300 +vn -0.679800 -0.143100 0.719300 +vn -0.679800 -0.407500 0.609800 +vn -0.679800 -0.143100 -0.719300 +vn -0.679800 -0.407500 -0.609800 +vn -0.679800 -0.609800 -0.407500 +vn -0.679800 -0.719300 -0.143100 +vn -0.679800 -0.609800 0.407500 +vn -0.679800 -0.719300 0.143100 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.923900 -0.382700 +vn 0.000000 -0.382700 0.923900 +vn 0.000000 -0.382700 -0.923900 +vn 0.000000 0.923900 0.382700 +vn 0.000000 0.382700 0.923900 +vn 0.000000 -0.923900 -0.382700 +vn 0.000000 0.382700 -0.923900 +vn 0.000000 -0.923900 0.382700 +vn 0.388200 0.512000 -0.766200 +vn 0.388200 0.766200 -0.512000 +vn 0.388200 0.903800 -0.179800 +vn 0.388200 0.903800 0.179800 +vn 0.388200 0.766200 0.512000 +vn 0.388200 0.512000 0.766200 +vn 0.388200 0.179800 0.903800 +vn 0.388200 -0.179800 0.903800 +vn 0.388200 -0.512000 0.766200 +vn 0.388200 -0.766200 0.512000 +vn 0.388200 -0.903800 0.179800 +vn 0.388200 -0.903800 -0.179800 +vn 0.388200 -0.766200 -0.512000 +vn 0.388200 -0.512000 -0.766200 +vn 0.388200 -0.179800 -0.903800 +vn 0.388200 0.179800 -0.903800 +vn 0.617300 0.437100 0.654100 +vn 0.624700 0.000000 -0.780900 +vn 0.624700 0.000000 0.780900 +vn 0.000000 1.000000 0.000000 +vn 0.617300 0.153500 0.771600 +vn 0.617300 0.153500 -0.771600 +vn 0.617300 0.437100 -0.654100 +vn 0.617300 0.654100 -0.437100 +vn 0.617300 0.771600 -0.153500 +vn 0.617300 0.771600 0.153500 +vn 0.617300 0.654100 0.437100 +vn 0.019600 -0.999800 0.000000 +vn -0.258800 -0.965900 0.000000 +vn 0.015100 0.999900 0.000000 +vn 0.965900 -0.258800 0.000000 +vn 0.258800 0.965900 0.000000 +vn -1.000000 -0.000100 0.000000 +vn 1.000000 0.000100 0.000000 +s off +f 147//55 148//55 146//55 +f 154//56 163//56 162//56 +f 163//57 172//57 171//57 +f 172//58 181//58 180//58 +f 155//59 164//59 163//59 +f 173//60 182//60 181//60 +f 164//61 173//61 172//61 +f 174//62 183//62 182//62 +f 165//63 174//63 173//63 +f 155//64 156//64 165//64 +f 157//65 166//65 165//65 +f 174//66 175//66 184//66 +f 153//67 162//67 161//67 +f 162//68 171//68 170//68 +f 170//69 171//69 180//69 +f 170//70 179//70 178//70 +f 161//71 170//71 169//71 +f 151//72 152//72 161//72 +f 151//73 160//73 159//73 +f 160//74 169//74 168//74 +f 168//75 169//75 178//75 +f 168//76 177//76 176//76 +f 159//77 168//77 167//77 +f 149//78 150//78 159//78 +f 166//79 175//79 174//79 +f 188//55 186//55 185//55 +f 188//55 187//55 147//55 +f 166//80 186//80 188//80 +f 175//81 188//81 190//81 +f 187//82 185//82 158//82 +f 189//83 187//83 167//83 +f 191//84 192//84 150//84 +f 192//84 193//84 151//84 +f 151//84 193//84 194//84 +f 152//84 194//84 195//84 +f 195//84 196//84 154//84 +f 196//84 197//84 155//84 +f 197//84 198//84 156//84 +f 198//84 199//84 157//84 +f 191//84 149//84 203//84 +f 202//84 157//84 199//84 +f 158//85 185//85 203//85 +f 202//86 186//86 166//86 +f 223//55 225//55 306//55 +f 212//79 199//79 198//79 +f 210//63 211//63 198//63 +f 209//61 210//61 197//61 +f 208//57 209//57 196//57 +f 207//68 208//68 195//68 +f 206//71 207//71 194//71 +f 205//74 206//74 193//74 +f 204//77 205//77 192//77 +f 204//78 213//78 214//78 +f 214//73 215//73 206//73 +f 206//72 215//72 216//72 +f 216//67 217//67 208//67 +f 208//56 217//56 218//56 +f 218//59 219//59 210//59 +f 210//64 219//64 220//64 +f 220//65 221//65 212//65 +f 186//55 200//55 185//55 +f 201//55 200//55 223//55 +f 222//82 204//82 191//82 +f 213//85 204//85 222//85 +f 199//80 212//80 223//80 +f 225//86 223//86 212//86 +f 233//84 234//84 221//84 +f 232//84 233//84 220//84 +f 231//84 232//84 219//84 +f 217//84 230//84 231//84 +f 229//84 230//84 217//84 +f 215//84 228//84 229//84 +f 227//84 228//84 215//84 +f 213//84 226//84 227//84 +f 242//77 243//77 227//77 +f 243//74 244//74 228//74 +f 244//71 245//71 229//71 +f 245//68 246//68 230//68 +f 246//57 247//57 231//57 +f 247//61 248//61 232//61 +f 248//63 249//63 233//63 +f 249//79 250//79 234//79 +f 234//87 250//87 251//87 +f 251//88 252//88 236//88 +f 252//89 253//89 237//89 +f 253//90 254//90 238//90 +f 254//91 255//91 239//91 +f 255//92 256//92 240//92 +f 257//93 242//93 226//93 +f 256//94 257//94 241//94 +f 258//95 259//95 243//95 +f 259//96 260//96 244//96 +f 244//97 260//97 261//97 +f 261//98 262//98 246//98 +f 246//99 262//99 263//99 +f 263//100 264//100 248//100 +f 264//101 265//101 249//101 +f 249//102 265//102 266//102 +f 250//103 266//103 267//103 +f 267//104 268//104 252//104 +f 267//84 283//84 284//84 +f 282//84 283//84 267//84 +f 265//84 281//84 282//84 +f 280//84 281//84 265//84 +f 279//84 280//84 264//84 +f 278//84 279//84 263//84 +f 261//84 277//84 278//84 +f 260//84 276//84 277//84 +f 259//84 275//84 276//84 +f 274//84 275//84 259//84 +f 300//84 294//84 292//84 +f 293//84 294//84 278//84 +f 278//84 294//84 295//84 +f 281//84 297//84 298//84 +f 282//84 298//84 299//84 +f 301//84 302//84 286//84 +f 302//84 303//84 287//84 +f 290//84 291//84 275//84 +f 305//84 290//84 274//84 +f 289//84 274//84 258//84 +f 273//105 258//105 242//105 +f 272//106 273//106 257//106 +f 255//107 271//107 272//107 +f 270//108 271//108 255//108 +f 272//84 288//84 289//84 +f 271//84 287//84 288//84 +f 286//84 287//84 271//84 +f 285//84 286//84 270//84 +f 268//84 284//84 285//84 +f 252//109 268//109 269//109 +f 269//110 270//110 254//110 +f 470//84 473//84 472//84 +f 474//111 469//111 475//111 +f 237//84 225//84 236//84 +f 235//84 236//84 225//84 +f 221//84 234//84 235//84 +f 239//84 240//84 224//84 +f 240//84 241//84 224//84 +f 241//84 226//84 213//84 +f 326//94 423//94 422//94 +f 324//91 421//91 420//91 +f 325//92 422//92 421//92 +f 184//111 319//111 318//111 +f 183//111 318//111 317//111 +f 182//111 317//111 316//111 +f 181//111 316//111 315//111 +f 179//111 180//111 315//111 +f 179//111 311//111 312//111 +f 178//111 312//111 313//111 +f 177//111 313//111 314//111 +f 307//111 184//111 190//111 +f 176//111 314//111 309//111 +f 327//111 323//111 322//111 +f 322//111 321//111 307//111 +f 320//111 307//111 321//111 +f 319//111 307//111 320//111 +f 327//111 309//111 324//111 +f 324//111 309//111 325//111 +f 325//111 309//111 326//111 +f 314//111 326//111 309//111 +f 337//111 338//111 354//111 +f 337//111 353//111 352//111 +f 335//111 336//111 352//111 +f 335//111 351//111 350//111 +f 334//111 350//111 349//111 +f 333//111 349//111 348//111 +f 331//111 332//111 348//111 +f 330//111 331//111 347//111 +f 330//111 346//111 345//111 +f 329//111 345//111 344//111 +f 368//111 372//111 364//111 +f 348//111 364//111 363//111 +f 348//111 349//111 365//111 +f 351//111 352//111 368//111 +f 352//111 353//111 369//111 +f 356//111 372//111 371//111 +f 357//111 373//111 372//111 +f 345//111 361//111 360//111 +f 344//111 360//111 375//111 +f 328//111 344//111 359//111 +f 342//111 343//111 359//111 +f 341//111 342//111 358//111 +f 341//111 357//111 356//111 +f 340//111 356//111 355//111 +f 338//111 339//111 355//111 +f 349//92 350//92 280//92 +f 350//94 351//94 281//94 +f 297//112 281//112 351//112 +f 297//63 367//63 366//63 +f 296//61 366//61 365//61 +f 295//113 365//113 349//113 +f 293//114 277//114 347//114 +f 293//71 363//71 362//71 +f 292//74 362//74 361//74 +f 291//115 361//115 345//115 +f 345//88 346//88 276//88 +f 346//89 347//89 277//89 +f 285//116 355//116 371//116 +f 301//89 371//89 370//89 +f 300//88 370//88 369//88 +f 369//117 353//117 283//117 +f 353//74 354//74 284//74 +f 354//71 355//71 285//71 +f 304//92 374//92 373//92 +f 373//118 357//118 287//118 +f 357//61 358//61 288//61 +f 358//63 359//63 289//63 +f 289//119 359//119 375//119 +f 305//94 375//94 374//94 +f 377//87 393//87 392//87 +f 378//88 394//88 393//88 +f 379//89 395//89 394//89 +f 380//90 396//90 395//90 +f 381//91 397//91 396//91 +f 382//92 398//92 397//92 +f 383//94 399//94 398//94 +f 384//93 400//93 399//93 +f 384//77 385//77 401//77 +f 386//74 402//74 401//74 +f 387//71 403//71 402//71 +f 388//68 404//68 403//68 +f 389//57 405//57 404//57 +f 390//61 406//61 405//61 +f 376//79 392//79 407//79 +f 391//63 407//63 406//63 +f 401//120 402//120 338//120 +f 338//121 402//121 403//121 +f 339//122 403//122 404//122 +f 340//123 404//123 405//123 +f 341//124 405//124 406//124 +f 406//125 407//125 343//125 +f 343//126 407//126 392//126 +f 392//127 393//127 329//127 +f 393//128 394//128 330//128 +f 394//129 395//129 331//129 +f 331//130 395//130 396//130 +f 396//131 397//131 333//131 +f 397//132 398//132 334//132 +f 398//133 399//133 335//133 +f 399//134 400//134 336//134 +f 400//135 401//135 337//135 +f 386//84 382//84 378//84 +f 314//93 411//93 423//93 +f 313//77 410//77 411//77 +f 312//74 409//74 410//74 +f 312//71 311//71 408//71 +f 311//68 315//68 412//68 +f 316//57 413//57 412//57 +f 317//61 414//61 413//61 +f 318//63 415//63 414//63 +f 319//79 416//79 415//79 +f 320//87 417//87 416//87 +f 321//88 418//88 417//88 +f 322//89 419//89 418//89 +f 323//90 420//90 419//90 +f 408//84 412//84 428//84 +f 413//84 429//84 428//84 +f 414//84 430//84 429//84 +f 440//136 449//136 450//136 +f 431//63 440//63 441//63 +f 415//84 431//84 430//84 +f 409//84 408//84 427//84 +f 410//84 409//84 426//84 +f 411//84 410//84 425//84 +f 434//137 437//137 447//137 +f 447//82 437//82 439//82 +f 448//138 435//138 433//138 +f 438//80 435//80 448//80 +f 416//84 432//84 431//84 +f 436//139 310//139 327//139 +f 308//80 307//80 145//80 +f 147//82 309//82 310//82 +f 430//61 441//61 442//61 +f 429//57 442//57 443//57 +f 428//68 443//68 444//68 +f 427//71 444//71 445//71 +f 426//74 445//74 446//74 +f 425//77 446//77 447//77 +f 432//79 448//79 440//79 +f 448//140 457//140 449//140 +f 446//141 455//141 456//141 +f 445//142 454//142 455//142 +f 445//143 444//143 453//143 +f 443//144 452//144 453//144 +f 443//145 442//145 451//145 +f 441//146 450//146 451//146 +f 433//55 435//55 437//55 +f 146//55 437//55 435//55 +f 432//84 308//84 438//84 +f 310//84 411//84 424//84 +f 421//84 310//84 436//84 +f 421//84 422//84 310//84 +f 422//84 423//84 310//84 +f 423//84 411//84 310//84 +f 436//84 308//84 419//84 +f 418//84 419//84 308//84 +f 417//84 418//84 308//84 +f 416//84 417//84 308//84 +f 458//139 463//139 462//139 +f 461//111 459//111 433//111 +f 433//111 459//111 458//111 +f 460//111 461//111 434//111 +f 456//111 457//111 458//111 +f 464//111 465//111 462//111 +f 460//82 462//82 465//82 +f 459//80 464//80 463//80 +f 461//55 465//55 464//55 +f 456//111 455//111 449//111 +f 455//111 454//111 450//111 +f 454//111 453//111 451//111 +f 452//111 451//111 453//111 +f 469//82 473//82 470//82 +f 475//139 470//139 471//139 +f 467//80 471//80 472//80 +f 474//55 472//55 473//55 +f 306//84 474//84 469//84 +f 306//84 225//84 468//84 +f 238//84 239//84 466//84 +f 238//84 475//84 467//84 +f 237//84 467//84 225//84 +f 225//84 467//84 468//84 +f 224//84 466//84 239//84 +f 224//84 469//84 466//84 +f 478//84 479//84 477//84 +f 483//147 487//147 486//147 +f 479//82 478//82 480//82 +f 477//80 482//80 481//80 +f 479//55 483//55 482//55 +f 476//139 481//139 480//139 +f 487//148 491//148 490//148 +f 481//149 485//149 484//149 +f 480//82 484//82 487//82 +f 481//80 482//80 486//80 +f 490//150 491//150 488//150 +f 485//151 489//151 488//151 +f 487//82 484//82 488//82 +f 486//80 490//80 489//80 +f 145//55 147//55 146//55 +f 153//56 154//56 162//56 +f 162//57 163//57 171//57 +f 171//58 172//58 180//58 +f 154//59 155//59 163//59 +f 172//60 173//60 181//60 +f 163//61 164//61 172//61 +f 173//62 174//62 182//62 +f 164//63 165//63 173//63 +f 164//64 155//64 165//64 +f 156//65 157//65 165//65 +f 183//66 174//66 184//66 +f 152//67 153//67 161//67 +f 161//68 162//68 170//68 +f 179//69 170//69 180//69 +f 169//70 170//70 178//70 +f 160//71 161//71 169//71 +f 160//72 151//72 161//72 +f 150//73 151//73 159//73 +f 159//74 160//74 168//74 +f 177//75 168//75 178//75 +f 167//76 168//76 176//76 +f 158//77 159//77 167//77 +f 158//78 149//78 159//78 +f 165//79 166//79 174//79 +f 187//55 188//55 185//55 +f 147//55 145//55 188//55 +f 190//55 188//55 145//55 +f 187//55 189//55 147//55 +f 175//80 166//80 188//80 +f 184//81 175//81 190//81 +f 167//82 187//82 158//82 +f 176//83 189//83 167//83 +f 149//84 191//84 150//84 +f 150//84 192//84 151//84 +f 152//84 151//84 194//84 +f 153//84 152//84 195//84 +f 153//84 195//84 154//84 +f 154//84 196//84 155//84 +f 155//84 197//84 156//84 +f 156//84 198//84 157//84 +f 201//84 191//84 203//84 +f 200//84 202//84 199//84 +f 149//85 158//85 203//85 +f 157//86 202//86 166//86 +f 306//55 224//55 222//55 +f 222//55 223//55 306//55 +f 211//79 212//79 198//79 +f 197//63 210//63 198//63 +f 196//61 209//61 197//61 +f 195//57 208//57 196//57 +f 194//68 207//68 195//68 +f 193//71 206//71 194//71 +f 192//74 205//74 193//74 +f 191//77 204//77 192//77 +f 205//78 204//78 214//78 +f 205//73 214//73 206//73 +f 207//72 206//72 216//72 +f 207//67 216//67 208//67 +f 209//56 208//56 218//56 +f 209//59 218//59 210//59 +f 211//64 210//64 220//64 +f 211//65 220//65 212//65 +f 203//55 185//55 201//55 +f 186//55 202//55 200//55 +f 200//55 201//55 185//55 +f 222//55 201//55 223//55 +f 201//82 222//82 191//82 +f 224//85 213//85 222//85 +f 200//80 199//80 223//80 +f 221//86 225//86 212//86 +f 220//84 233//84 221//84 +f 219//84 232//84 220//84 +f 218//84 231//84 219//84 +f 218//84 217//84 231//84 +f 216//84 229//84 217//84 +f 216//84 215//84 229//84 +f 214//84 227//84 215//84 +f 214//84 213//84 227//84 +f 226//77 242//77 227//77 +f 227//74 243//74 228//74 +f 228//71 244//71 229//71 +f 229//68 245//68 230//68 +f 230//57 246//57 231//57 +f 231//61 247//61 232//61 +f 232//63 248//63 233//63 +f 233//79 249//79 234//79 +f 235//87 234//87 251//87 +f 235//88 251//88 236//88 +f 236//89 252//89 237//89 +f 237//90 253//90 238//90 +f 238//91 254//91 239//91 +f 239//92 255//92 240//92 +f 241//93 257//93 226//93 +f 240//94 256//94 241//94 +f 242//95 258//95 243//95 +f 243//96 259//96 244//96 +f 245//97 244//97 261//97 +f 245//98 261//98 246//98 +f 247//99 246//99 263//99 +f 247//100 263//100 248//100 +f 248//101 264//101 249//101 +f 250//102 249//102 266//102 +f 251//103 250//103 267//103 +f 251//104 267//104 252//104 +f 268//84 267//84 284//84 +f 266//84 282//84 267//84 +f 266//84 265//84 282//84 +f 264//84 280//84 265//84 +f 263//84 279//84 264//84 +f 262//84 278//84 263//84 +f 262//84 261//84 278//84 +f 261//84 260//84 277//84 +f 260//84 259//84 276//84 +f 258//84 274//84 259//84 +f 292//84 291//84 304//84 +f 290//84 305//84 304//84 +f 304//84 303//84 302//84 +f 302//152 301//152 300//152 +f 300//84 299//84 296//84 +f 298//84 297//84 296//84 +f 296//84 295//84 294//84 +f 294//84 293//84 292//84 +f 291//84 290//84 304//84 +f 304//84 302//84 292//84 +f 299//84 298//84 296//84 +f 296//84 294//84 300//84 +f 292//84 302//84 300//84 +f 277//84 293//84 278//84 +f 279//84 278//84 295//84 +f 282//84 281//84 298//84 +f 283//84 282//84 299//84 +f 285//84 301//84 286//84 +f 286//84 302//84 287//84 +f 274//84 290//84 275//84 +f 289//84 305//84 274//84 +f 273//84 289//84 258//84 +f 257//105 273//105 242//105 +f 256//106 272//106 257//106 +f 256//107 255//107 272//107 +f 254//108 270//108 255//108 +f 273//84 272//84 289//84 +f 272//84 271//84 288//84 +f 270//84 286//84 271//84 +f 269//84 285//84 270//84 +f 269//84 268//84 285//84 +f 253//109 252//109 269//109 +f 253//110 269//110 254//110 +f 471//84 470//84 472//84 +f 475//111 467//111 468//111 +f 468//111 474//111 475//111 +f 469//111 466//111 475//111 +f 225//84 221//84 235//84 +f 224//84 241//84 213//84 +f 325//94 326//94 422//94 +f 323//91 324//91 420//91 +f 324//92 325//92 421//92 +f 183//111 184//111 318//111 +f 182//111 183//111 317//111 +f 181//111 182//111 316//111 +f 180//111 181//111 315//111 +f 311//111 179//111 315//111 +f 178//111 179//111 312//111 +f 177//111 178//111 313//111 +f 176//111 177//111 314//111 +f 190//111 145//111 307//111 +f 307//111 319//111 184//111 +f 309//111 147//111 189//111 +f 189//111 176//111 309//111 +f 307//111 327//111 322//111 +f 323//111 327//111 324//111 +f 353//111 337//111 354//111 +f 336//111 337//111 352//111 +f 351//111 335//111 352//111 +f 334//111 335//111 350//111 +f 333//111 334//111 349//111 +f 332//111 333//111 348//111 +f 347//111 331//111 348//111 +f 346//111 330//111 347//111 +f 329//111 330//111 345//111 +f 328//111 329//111 344//111 +f 360//111 361//111 364//111 +f 362//111 363//111 364//111 +f 364//111 365//111 366//111 +f 366//111 367//111 364//111 +f 368//111 369//111 372//111 +f 370//153 371//153 372//153 +f 372//111 373//111 360//111 +f 374//111 375//111 360//111 +f 361//111 362//111 364//111 +f 364//111 367//111 368//111 +f 369//111 370//111 372//111 +f 373//111 374//111 360//111 +f 360//111 364//111 372//111 +f 347//111 348//111 363//111 +f 364//111 348//111 365//111 +f 367//111 351//111 368//111 +f 368//111 352//111 369//111 +f 355//111 356//111 371//111 +f 356//111 357//111 372//111 +f 344//111 345//111 360//111 +f 359//111 344//111 375//111 +f 343//111 328//111 359//111 +f 358//111 342//111 359//111 +f 357//111 341//111 358//111 +f 340//111 341//111 356//111 +f 339//111 340//111 355//111 +f 354//111 338//111 355//111 +f 279//92 349//92 280//92 +f 280//94 350//94 281//94 +f 367//112 297//112 351//112 +f 296//63 297//63 366//63 +f 295//61 296//61 365//61 +f 279//113 295//113 349//113 +f 363//114 293//114 347//114 +f 292//71 293//71 362//71 +f 291//74 292//74 361//74 +f 275//115 291//115 345//115 +f 275//88 345//88 276//88 +f 276//89 346//89 277//89 +f 301//116 285//116 371//116 +f 300//89 301//89 370//89 +f 299//88 300//88 369//88 +f 299//117 369//117 283//117 +f 283//74 353//74 284//74 +f 284//71 354//71 285//71 +f 303//92 304//92 373//92 +f 303//118 373//118 287//118 +f 287//61 357//61 288//61 +f 288//63 358//63 289//63 +f 305//119 289//119 375//119 +f 304//94 305//94 374//94 +f 376//87 377//87 392//87 +f 377//88 378//88 393//88 +f 378//89 379//89 394//89 +f 379//90 380//90 395//90 +f 380//91 381//91 396//91 +f 381//92 382//92 397//92 +f 382//94 383//94 398//94 +f 383//93 384//93 399//93 +f 400//77 384//77 401//77 +f 385//74 386//74 401//74 +f 386//71 387//71 402//71 +f 387//68 388//68 403//68 +f 388//57 389//57 404//57 +f 389//61 390//61 405//61 +f 391//79 376//79 407//79 +f 390//63 391//63 406//63 +f 337//120 401//120 338//120 +f 339//121 338//121 403//121 +f 340//122 339//122 404//122 +f 341//123 340//123 405//123 +f 342//124 341//124 406//124 +f 342//125 406//125 343//125 +f 328//126 343//126 392//126 +f 328//127 392//127 329//127 +f 329//128 393//128 330//128 +f 330//129 394//129 331//129 +f 332//130 331//130 396//130 +f 332//131 396//131 333//131 +f 333//132 397//132 334//132 +f 334//133 398//133 335//133 +f 335//134 399//134 336//134 +f 336//135 400//135 337//135 +f 378//84 377//84 376//84 +f 376//84 391//84 390//84 +f 390//84 389//84 386//84 +f 388//84 387//84 386//84 +f 386//84 385//84 382//84 +f 384//84 383//84 382//84 +f 382//84 381//84 380//84 +f 380//84 379//84 378//84 +f 378//84 376//84 390//84 +f 389//84 388//84 386//84 +f 385//84 384//84 382//84 +f 382//84 380//84 378//84 +f 378//84 390//84 386//84 +f 326//93 314//93 423//93 +f 314//77 313//77 411//77 +f 313//74 312//74 410//74 +f 409//71 312//71 408//71 +f 408//68 311//68 412//68 +f 315//57 316//57 412//57 +f 316//61 317//61 413//61 +f 317//63 318//63 414//63 +f 318//79 319//79 415//79 +f 319//87 320//87 416//87 +f 320//88 321//88 417//88 +f 321//89 322//89 418//89 +f 322//90 323//90 419//90 +f 427//84 408//84 428//84 +f 412//84 413//84 428//84 +f 413//84 414//84 429//84 +f 441//136 440//136 450//136 +f 430//63 431//63 441//63 +f 414//84 415//84 430//84 +f 426//84 409//84 427//84 +f 425//84 410//84 426//84 +f 424//84 411//84 425//84 +f 456//137 434//137 447//137 +f 424//82 447//82 439//82 +f 457//138 448//138 433//138 +f 432//80 438//80 448//80 +f 415//84 416//84 431//84 +f 327//139 307//139 308//139 +f 308//139 436//139 327//139 +f 310//139 309//139 327//139 +f 146//80 308//80 145//80 +f 148//82 147//82 310//82 +f 429//61 430//61 442//61 +f 428//57 429//57 443//57 +f 427//68 428//68 444//68 +f 426//71 427//71 445//71 +f 425//74 426//74 446//74 +f 424//77 425//77 447//77 +f 431//79 432//79 440//79 +f 440//140 448//140 449//140 +f 447//141 446//141 456//141 +f 446//142 445//142 455//142 +f 454//143 445//143 453//143 +f 444//144 443//144 453//144 +f 452//145 443//145 451//145 +f 442//146 441//146 451//146 +f 434//55 433//55 437//55 +f 148//55 439//55 437//55 +f 435//55 438//55 146//55 +f 146//55 148//55 437//55 +f 146//84 438//84 308//84 +f 432//84 416//84 308//84 +f 424//84 439//84 310//84 +f 148//84 310//84 439//84 +f 420//84 421//84 436//84 +f 420//84 436//84 419//84 +f 460//139 458//139 462//139 +f 434//111 461//111 433//111 +f 457//111 433//111 458//111 +f 456//111 460//111 434//111 +f 460//111 456//111 458//111 +f 463//111 464//111 462//111 +f 461//82 460//82 465//82 +f 458//80 459//80 463//80 +f 459//55 461//55 464//55 +f 457//111 456//111 449//111 +f 449//111 455//111 450//111 +f 450//111 454//111 451//111 +f 466//82 469//82 470//82 +f 471//139 467//139 475//139 +f 475//139 466//139 470//139 +f 468//80 467//80 472//80 +f 473//55 469//55 474//55 +f 474//55 468//55 472//55 +f 224//84 306//84 469//84 +f 474//84 306//84 468//84 +f 475//84 238//84 466//84 +f 237//84 238//84 467//84 +f 476//84 478//84 477//84 +f 482//147 483//147 486//147 +f 483//82 479//82 480//82 +f 476//80 477//80 481//80 +f 477//55 479//55 482//55 +f 478//139 476//139 480//139 +f 486//148 487//148 490//148 +f 480//149 481//149 484//149 +f 483//82 480//82 487//82 +f 485//80 481//80 486//80 +f 489//150 490//150 488//150 +f 484//151 485//151 488//151 +f 491//82 487//82 488//82 +f 485//80 486//80 489//80 +l 412 429 diff --git a/assets/hbm/models/generator_body.obj b/assets/hbm/models/generator_body.obj new file mode 100644 index 000000000..4fb3a627d --- /dev/null +++ b/assets/hbm/models/generator_body.obj @@ -0,0 +1,1901 @@ +# Blender v2.76 (sub 0) OBJ File: 'generator_body.blend' +# www.blender.org +o Plane +v -1.500000 0.000000 0.750000 +v 2.250000 0.000000 0.750000 +v -1.500000 0.000000 -0.750000 +v 2.250000 0.000000 -0.750000 +v -2.250000 1.500000 -1.275000 +v -2.250000 1.987921 -1.177946 +v -2.250000 2.401561 -0.901561 +v -2.250000 2.677946 -0.487921 +v -2.250000 2.775000 0.000000 +v -2.250000 2.677946 0.487922 +v -2.250000 2.401561 0.901561 +v -2.250000 1.987921 1.177946 +v -2.250000 1.500000 1.275000 +v -2.000000 1.500000 -1.500000 +v -2.000000 2.074025 -1.385819 +v -2.000000 2.560660 -1.060660 +v -2.000000 2.885819 -0.574025 +v -2.000000 3.000000 0.000000 +v -2.000000 2.885819 0.574025 +v -2.000000 2.560660 1.060660 +v -2.000000 2.074025 1.385819 +v -2.000000 1.500000 1.500000 +v -1.750000 1.500000 -1.500000 +v -1.750000 2.074025 -1.385819 +v -1.750000 2.560660 -1.060660 +v -1.750000 2.885819 -0.574025 +v -1.750000 3.000000 0.000000 +v -1.750000 2.885819 0.574025 +v -1.750000 2.560660 1.060660 +v -1.750000 2.074025 1.385819 +v -1.750000 1.500000 1.500000 +v -1.500000 1.500000 -1.275000 +v -1.500000 1.987921 -1.177946 +v -1.500000 2.401561 -0.901561 +v -1.500000 2.677946 -0.487921 +v -1.500000 2.775000 0.000000 +v -1.500000 2.677946 0.487922 +v -1.500000 2.401561 0.901561 +v -1.500000 1.987921 1.177946 +v -1.500000 1.500000 1.275000 +v -2.000000 0.000000 -1.500000 +v -2.000000 0.000000 1.500000 +v -1.750000 0.000000 -1.500000 +v -1.750000 0.000000 1.500000 +v -1.500000 0.000000 -1.275000 +v -1.500000 0.000000 1.275000 +v -2.250000 1.500000 -0.750000 +v -2.250000 1.787013 -0.692910 +v -2.250000 2.030330 -0.530330 +v -2.250000 2.192910 -0.287013 +v -2.250000 2.250000 0.000000 +v -2.250000 2.192910 0.287013 +v -2.250000 2.030330 0.530330 +v -2.250000 1.787013 0.692910 +v -2.250000 1.500000 0.750000 +v -2.250000 0.000000 0.750000 +v -2.250000 -0.000000 -0.750000 +v -2.250000 0.000000 1.275000 +v -2.250000 0.000000 -1.275000 +v -2.500000 1.500000 -0.750000 +v -2.500000 1.787013 -0.692910 +v -2.500000 2.030330 -0.530330 +v -2.500000 2.192910 -0.287013 +v -2.500000 2.250000 0.000000 +v -2.500000 2.192910 0.287013 +v -2.500000 2.030330 0.530330 +v -2.500000 1.787013 0.692910 +v -2.500000 1.500000 0.750000 +v -2.750000 1.500000 -0.525000 +v -2.750000 1.700909 -0.485037 +v -2.750000 1.871231 -0.371231 +v -2.750000 1.985037 -0.200909 +v -2.750000 2.025000 0.000000 +v -2.750000 1.985037 0.200909 +v -2.750000 1.871231 0.371231 +v -2.750000 1.700909 0.485037 +v -2.750000 1.500000 0.525000 +v -2.500000 -0.000000 -0.750000 +v -2.500000 0.000000 0.750000 +v -2.750000 -0.000000 -0.525000 +v -2.750000 0.000000 0.525000 +v -2.750000 1.500000 -0.472500 +v -2.750000 1.680818 -0.436533 +v -2.750000 1.834108 -0.334108 +v -2.750000 1.936533 -0.180818 +v -2.750000 1.972500 0.000000 +v -2.750000 1.936533 0.180818 +v -2.750000 1.834108 0.334108 +v -2.750000 1.680818 0.436533 +v -2.750000 1.500000 0.472500 +v -2.750000 1.319182 0.436533 +v -2.750000 1.165892 0.334108 +v -2.750000 1.063467 0.180818 +v -2.750000 1.027500 -0.000000 +v -2.750000 1.063467 -0.180818 +v -2.750000 1.165892 -0.334108 +v -2.750000 1.319182 -0.436533 +v -2.875001 1.500000 -0.472500 +v -2.875001 1.680818 -0.436533 +v -2.875001 1.834108 -0.334108 +v -2.875001 1.936533 -0.180818 +v -2.875001 1.972500 0.000000 +v -2.875001 1.936533 0.180818 +v -2.875001 1.834108 0.334108 +v -2.875001 1.680818 0.436533 +v -2.875001 1.500000 0.472500 +v -2.875000 1.319182 0.436533 +v -2.875000 1.165892 0.334108 +v -2.875000 1.063467 0.180818 +v -2.875000 1.027500 -0.000000 +v -2.875000 1.063467 -0.180818 +v -2.875000 1.165892 -0.334108 +v -2.875000 1.319182 -0.436533 +v -3.000001 1.500000 -0.354375 +v -3.000001 1.635613 -0.327400 +v -3.000001 1.750581 -0.250581 +v -3.000001 1.827400 -0.135613 +v -3.000001 1.854375 0.000000 +v -3.000001 1.827400 0.135613 +v -3.000001 1.750581 0.250581 +v -3.000001 1.635613 0.327400 +v -3.000001 1.500000 0.354375 +v -3.000000 1.364387 0.327400 +v -3.000000 1.249419 0.250581 +v -3.000000 1.172600 0.135613 +v -3.000000 1.145625 -0.000000 +v -3.000000 1.172600 -0.135614 +v -3.000000 1.249419 -0.250581 +v -3.000000 1.364387 -0.327400 +v -3.000001 1.500000 -0.301219 +v -3.000001 1.615271 -0.278290 +v -3.000001 1.712994 -0.212994 +v -3.000001 1.778290 -0.115271 +v -3.000001 1.801219 0.000000 +v -3.000001 1.778290 0.115271 +v -3.000001 1.712994 0.212994 +v -3.000001 1.615271 0.278290 +v -3.000001 1.500000 0.301219 +v -3.000000 1.384729 0.278290 +v -3.000000 1.287006 0.212994 +v -3.000000 1.221710 0.115271 +v -3.000000 1.198781 -0.000000 +v -3.000000 1.221710 -0.115271 +v -3.000000 1.287006 -0.212994 +v -3.000000 1.384729 -0.278290 +v -3.000000 1.500000 -0.090366 +v -3.000000 1.534581 -0.083487 +v -3.000000 1.563898 -0.063898 +v -3.000000 1.583487 -0.034581 +v -3.000000 1.590366 0.000000 +v -3.000000 1.583487 0.034581 +v -3.000000 1.563898 0.063898 +v -3.000000 1.534581 0.083487 +v -3.000000 1.500000 0.090366 +v -3.000000 1.465419 0.083487 +v -3.000000 1.436102 0.063898 +v -3.000000 1.416513 0.034581 +v -3.000000 1.409634 -0.000000 +v -3.000000 1.416513 -0.034581 +v -3.000000 1.436102 -0.063898 +v -3.000000 1.465419 -0.083487 +v -2.750000 -0.000000 0.000000 +v -1.500000 0.500000 0.750000 +v 2.250000 0.500000 0.750000 +v -1.500000 0.500000 -0.750000 +v 2.250000 0.500000 -0.750000 +v -1.500000 2.192910 -0.287013 +v -1.500000 2.030330 -0.530330 +v -1.500000 1.787013 -0.692910 +v -1.500000 1.500000 -0.750000 +v -1.500000 2.250000 0.000000 +v -1.500000 2.192910 0.287013 +v -1.500000 2.030330 0.530330 +v -1.500000 1.787013 0.692910 +v -1.500000 1.500000 0.750000 +v -1.500000 1.212988 0.692910 +v -1.500000 0.969670 0.530330 +v -1.500000 0.807090 0.287013 +v -1.500000 0.750000 -0.000000 +v -1.500000 0.807090 -0.287013 +v -1.500000 0.969670 -0.530330 +v -1.500000 1.212988 -0.692910 +v -1.500000 0.500000 0.000000 +v -2.950001 1.500000 -0.354375 +v -2.950001 1.635613 -0.327400 +v -2.950001 1.750581 -0.250581 +v -2.950001 1.827400 -0.135613 +v -2.950001 1.854375 0.000000 +v -2.950001 1.827400 0.135613 +v -2.950001 1.750581 0.250581 +v -2.950001 1.635613 0.327400 +v -2.950001 1.500000 0.354375 +v -2.950000 1.364387 0.327400 +v -2.950000 1.249419 0.250581 +v -2.950000 1.172600 0.135613 +v -2.950000 1.145625 -0.000000 +v -2.950000 1.172600 -0.135614 +v -2.950000 1.249419 -0.250581 +v -2.950000 1.364387 -0.327400 +v -2.950001 1.500000 -0.301219 +v -2.950001 1.615271 -0.278290 +v -2.950001 1.712994 -0.212994 +v -2.950001 1.778290 -0.115271 +v -2.950001 1.801219 0.000000 +v -2.950001 1.778290 0.115271 +v -2.950001 1.712994 0.212994 +v -2.950001 1.615271 0.278290 +v -2.950001 1.500000 0.301219 +v -2.950000 1.384729 0.278290 +v -2.950000 1.287006 0.212994 +v -2.950000 1.221710 0.115271 +v -2.950000 1.198781 -0.000000 +v -2.950000 1.221710 -0.115271 +v -2.950000 1.287006 -0.212994 +v -2.950000 1.384729 -0.278290 +v -2.950000 1.500000 -0.090366 +v -2.950000 1.534581 -0.083487 +v -2.950000 1.563898 -0.063898 +v -2.950000 1.583487 -0.034581 +v -2.950000 1.590366 0.000000 +v -2.950000 1.583487 0.034581 +v -2.950000 1.563898 0.063898 +v -2.950000 1.534581 0.083487 +v -2.950000 1.500000 0.090366 +v -2.950000 1.465419 0.083487 +v -2.950000 1.436102 0.063898 +v -2.950000 1.416513 0.034581 +v -2.950000 1.409634 -0.000000 +v -2.950000 1.416513 -0.034581 +v -2.950000 1.436102 -0.063898 +v -2.950000 1.465419 -0.083487 +v -2.550001 1.500000 -0.472500 +v -2.550001 1.680818 -0.436533 +v -2.550001 1.834108 -0.334108 +v -2.550001 1.936533 -0.180818 +v -2.550001 1.972500 0.000000 +v -2.550001 1.936533 0.180818 +v -2.550001 1.834108 0.334108 +v -2.550001 1.680818 0.436533 +v -2.550001 1.500000 0.472500 +v -2.550000 1.319182 0.436533 +v -2.550000 1.165892 0.334108 +v -2.550000 1.063467 0.180818 +v -2.550000 1.027500 -0.000000 +v -2.550000 1.063467 -0.180818 +v -2.550000 1.165892 -0.334108 +v -2.550000 1.319182 -0.436533 +v -2.675001 1.500000 -0.472500 +v -2.675001 1.680818 -0.436533 +v -2.675001 1.834108 -0.334108 +v -2.675001 1.936533 -0.180818 +v -2.675001 1.972500 0.000000 +v -2.675001 1.936533 0.180818 +v -2.675001 1.834108 0.334108 +v -2.675001 1.680818 0.436533 +v -2.675001 1.500000 0.472500 +v -2.675000 1.319182 0.436533 +v -2.675000 1.165892 0.334108 +v -2.675000 1.063467 0.180818 +v -2.675000 1.027500 -0.000000 +v -2.675000 1.063467 -0.180818 +v -2.675000 1.165892 -0.334108 +v -2.675000 1.319182 -0.436533 +v 2.250000 2.192910 -0.287013 +v 2.250000 2.030330 -0.530330 +v 2.250000 1.787013 -0.692910 +v 2.250000 1.500000 -0.750000 +v 2.250000 2.250000 0.000000 +v 2.250000 2.192910 0.287013 +v 2.250000 2.030330 0.530330 +v 2.250000 1.787013 0.692910 +v 2.250000 1.500000 0.750000 +v 2.250000 1.212988 0.692910 +v 2.250000 0.969670 0.530330 +v 2.250000 0.807090 0.287013 +v 2.250000 0.750000 -0.000000 +v 2.250000 0.807090 -0.287013 +v 2.250000 0.969670 -0.530330 +v 2.250000 1.212988 -0.692910 +v 2.250000 1.500000 -1.000000 +v 2.250000 1.882683 -0.923880 +v 2.250000 2.207107 -0.707107 +v 2.250000 2.423880 -0.382683 +v 2.250000 2.500000 0.000000 +v 2.250000 2.423880 0.382684 +v 2.250000 2.207107 0.707107 +v 2.250000 1.882683 0.923880 +v 2.250000 1.500000 1.000000 +v 2.750000 0.000000 0.800000 +v 2.750000 -0.000000 -0.800000 +v 2.500000 0.000000 1.000000 +v 2.250000 0.500000 -0.000000 +v 2.500000 -0.000000 -1.000000 +v 2.250000 0.000000 1.000000 +v 2.250000 -0.000000 -1.000000 +v 2.500000 1.882683 0.923880 +v 2.500000 2.207107 0.707107 +v 2.500000 2.423880 0.382684 +v 2.500000 2.500000 0.000000 +v 2.500000 2.423880 -0.382683 +v 2.500000 2.207107 -0.707107 +v 2.500000 1.882683 -0.923880 +v 2.500000 1.500000 -1.000000 +v 2.500000 1.500000 1.000000 +v 2.750000 1.806147 0.739104 +v 2.750000 2.065685 0.565686 +v 2.750000 2.239104 0.306147 +v 2.750000 2.300000 0.000000 +v 2.750000 2.239104 -0.306147 +v 2.750000 2.065685 -0.565686 +v 2.750000 1.806147 -0.739104 +v 2.750000 1.500000 -0.800000 +v 2.750000 1.500000 0.800000 +v 2.750000 0.656250 0.156250 +v 2.750000 0.343750 0.156250 +v 2.750000 0.656250 -0.156250 +v 2.750000 0.343750 -0.156250 +v 3.000000 0.656250 -0.156250 +v 3.000000 0.656250 0.156250 +v 3.000000 0.343750 0.156250 +v 3.000000 0.343750 -0.156250 +v -2.750000 0.656250 -0.156250 +v -2.750000 0.656250 0.156250 +v -2.750000 0.343750 0.156250 +v -2.750000 0.343750 -0.156250 +v -3.000000 0.656250 -0.156250 +v -3.000000 0.656250 0.156250 +v -3.000000 0.343750 0.156250 +v -3.000000 0.343750 -0.156250 +v -2.750000 0.343750 0.000000 +v -2.750000 0.656250 0.000000 +v -1.750000 2.900000 0.150000 +v -1.750000 2.800000 0.150000 +v -1.750000 2.900000 -0.150000 +v -1.750000 2.800000 -0.150000 +v 0.250000 2.900002 -0.150000 +v 0.250000 2.900002 0.150000 +v 0.250000 2.800002 0.150000 +v 0.250000 2.800002 -0.150000 +v 0.362941 2.898298 -0.150000 +v 0.362941 2.898298 0.150000 +v 0.337059 2.801706 0.150000 +v 0.337059 2.801706 -0.150000 +v 2.294793 2.380663 -0.150000 +v 2.294793 2.380663 0.150000 +v 2.268912 2.284071 0.150000 +v 2.268912 2.284071 -0.150000 +vt 0.728329 0.114247 +vt 0.863830 0.114247 +vt 0.863830 0.329806 +vt 0.041685 0.292144 +vt 0.018875 0.304517 +vt 0.006504 0.222026 +vt 0.940364 0.365016 +vt 0.949397 0.365016 +vt 0.949394 0.447507 +vt 0.657784 0.304517 +vt 0.634939 0.292144 +vt 0.645453 0.222026 +vt 0.071630 0.351586 +vt 0.054105 0.374450 +vt 0.622560 0.374450 +vt 0.604998 0.351586 +vt 0.940373 0.295084 +vt 0.949407 0.295084 +vt 0.569843 0.421177 +vt 0.560188 0.391305 +vt 0.971448 0.348156 +vt 0.962415 0.348156 +vt 0.962415 0.295084 +vt 0.116446 0.391305 +vt 0.106830 0.421177 +vt 0.169310 0.405252 +vt 0.169023 0.437586 +vt 0.507659 0.437586 +vt 0.507332 0.405252 +vt 0.031170 0.222026 +vt 0.018875 0.139535 +vt 0.940361 0.447507 +vt 0.949397 0.529998 +vt 0.657784 0.139535 +vt 0.670154 0.222026 +vt 0.634939 0.151909 +vt 0.604998 0.092466 +vt 0.940364 0.529998 +vt 0.949407 0.599931 +vt 0.071630 0.092466 +vt 0.041685 0.151909 +vt 0.054105 0.069603 +vt 0.106829 0.022875 +vt 0.962415 0.584828 +vt 0.971448 0.584828 +vt 0.971448 0.637900 +vt 0.569843 0.022875 +vt 0.622560 0.069603 +vt 0.560189 0.052748 +vt 0.507332 0.038801 +vt 0.962415 0.637900 +vt 0.971448 0.699983 +vt 0.169310 0.038801 +vt 0.116446 0.052748 +vt 0.971448 0.410239 +vt 0.962415 0.410239 +vt 0.719295 0.437586 +vt 0.710262 0.437586 +vt 0.710262 0.006467 +vt 0.719295 0.006467 +vt 0.971448 0.571894 +vt 0.962415 0.571894 +vt 0.345164 0.437586 +vt 0.344837 0.405252 +vt 0.971448 0.861638 +vt 0.962415 0.861638 +vt 0.962415 0.699983 +vt 0.344837 0.038801 +vt 0.345164 0.006467 +vt 0.507659 0.006467 +vt 0.169310 0.114247 +vt 0.138214 0.122451 +vt 0.111851 0.145815 +vt 0.094237 0.180781 +vt 0.088051 0.222026 +vt 0.094237 0.263272 +vt 0.111851 0.298238 +vt 0.138214 0.321602 +vt 0.169311 0.329806 +vt 0.331829 0.038801 +vt 0.331829 0.405252 +vt 0.169023 0.006467 +vt 0.331541 0.006467 +vt 0.331541 0.437586 +vt 0.692195 0.329806 +vt 0.683162 0.297472 +vt 0.683162 0.222026 +vt 0.954326 0.064044 +vt 0.945292 0.064044 +vt 0.945292 0.033003 +vt 0.954326 0.006467 +vt 0.954326 0.033003 +vt 0.984458 0.330050 +vt 0.984462 0.295084 +vt 0.993496 0.295084 +vt 0.984456 0.371295 +vt 0.993491 0.330050 +vt 0.984458 0.412541 +vt 0.993490 0.371295 +vt 0.984462 0.447507 +vt 0.993491 0.412541 +vt 0.245347 0.943562 +vt 0.245347 0.970098 +vt 0.236314 0.970098 +vt 0.245347 0.912521 +vt 0.236314 0.943562 +vt 0.006504 0.912739 +vt 0.039024 0.912453 +vt 0.044800 0.934096 +vt 0.061249 0.952444 +vt 0.038254 0.969869 +vt 0.085867 0.964704 +vt 0.114905 0.969009 +vt 0.114905 0.993533 +vt 0.143943 0.964704 +vt 0.168561 0.952444 +vt 0.191556 0.969869 +vt 0.185009 0.934096 +vt 0.190785 0.912453 +vt 0.223306 0.912739 +vt 0.701228 0.329806 +vt 0.701228 0.114247 +vt 0.245347 0.750866 +vt 0.236314 0.912521 +vt 0.006504 0.751152 +vt 0.954326 0.225699 +vt 0.190785 0.750866 +vt 0.223306 0.751152 +vt 0.177999 0.931932 +vt 0.183197 0.912453 +vt 0.163195 0.948445 +vt 0.141039 0.959479 +vt 0.114905 0.963353 +vt 0.088770 0.959479 +vt 0.066615 0.948445 +vt 0.051811 0.931932 +vt 0.046612 0.912453 +vt 0.774423 0.933857 +vt 0.774423 0.953413 +vt 0.769906 0.953413 +vt 0.774423 0.970131 +vt 0.769906 0.970131 +vt 0.930859 0.708891 +vt 0.930856 0.686863 +vt 0.935373 0.686862 +vt 0.930855 0.660878 +vt 0.935372 0.660878 +vt 0.930856 0.634893 +vt 0.935373 0.634893 +vt 0.930859 0.612864 +vt 0.935376 0.612864 +vt 0.948579 0.859826 +vt 0.948579 0.876544 +vt 0.944062 0.876544 +vt 0.948579 0.896100 +vt 0.944062 0.896100 +vt 0.948579 0.915518 +vt 0.948579 0.931840 +vt 0.944062 0.931840 +vt 0.944064 0.846893 +vt 0.944063 0.824863 +vt 0.948579 0.824863 +vt 0.944062 0.798878 +vt 0.948579 0.798878 +vt 0.944063 0.772893 +vt 0.948579 0.772893 +vt 0.944064 0.750866 +vt 0.948581 0.750866 +vt 0.774423 0.914440 +vt 0.769906 0.933857 +vt 0.774423 0.898117 +vt 0.769906 0.914440 +vt 0.745448 0.573056 +vt 0.760555 0.571376 +vt 0.763216 0.587627 +vt 0.774513 0.562284 +vt 0.781826 0.575504 +vt 0.785195 0.547164 +vt 0.790977 0.528317 +vt 0.803778 0.530215 +vt 0.790977 0.508613 +vt 0.785195 0.491052 +vt 0.796069 0.480528 +vt 0.774513 0.478306 +vt 0.781825 0.463534 +vt 0.760555 0.472318 +vt 0.763215 0.455549 +vt 0.745448 0.473997 +vt 0.731490 0.483090 +vt 0.724462 0.469912 +vt 0.746581 0.481301 +vt 0.734717 0.489029 +vt 0.759422 0.479873 +vt 0.771286 0.484963 +vt 0.780366 0.495797 +vt 0.785280 0.510724 +vt 0.785281 0.527472 +vt 0.780366 0.543492 +vt 0.771286 0.556345 +vt 0.759422 0.564073 +vt 0.746581 0.565501 +vt 0.747516 0.512590 +vt 0.762685 0.524123 +vt 0.758487 0.532784 +vt 0.761211 0.528928 +vt 0.762685 0.519098 +vt 0.758487 0.511370 +vt 0.754928 0.509843 +vt 0.751075 0.510271 +vt 0.744792 0.516445 +vt 0.743318 0.521251 +vt 0.720723 0.517901 +vt 0.743318 0.526276 +vt 0.720723 0.534650 +vt 0.751075 0.535531 +vt 0.754928 0.535103 +vt 0.747516 0.534004 +vt 0.734717 0.560410 +vt 0.731490 0.567067 +vt 0.743072 0.589867 +vt 0.720808 0.554322 +vt 0.724462 0.581882 +vt 0.702510 0.541473 +vt 0.715026 0.536761 +vt 0.715026 0.517057 +vt 0.725637 0.549577 +vt 0.725637 0.501882 +vt 0.720808 0.498210 +vt 0.702510 0.515201 +vt 0.883989 0.612864 +vt 0.917847 0.612864 +vt 0.917847 0.657773 +vt 0.756898 0.920571 +vt 0.756898 0.943026 +vt 0.723045 0.920571 +vt 0.141039 0.865428 +vt 0.163195 0.876461 +vt 0.177999 0.892975 +vt 0.088770 0.865428 +vt 0.066615 0.876461 +vt 0.039024 0.750866 +vt 0.051811 0.892975 +vt 0.663444 0.590274 +vt 0.663444 0.455549 +vt 0.689502 0.455549 +vt 0.277510 0.785830 +vt 0.413011 0.785830 +vt 0.413010 0.827075 +vt 0.277512 0.750866 +vt 0.413013 0.750866 +vt 0.507332 0.329806 +vt 0.538424 0.321602 +vt 0.564783 0.298238 +vt 0.582395 0.263272 +vt 0.588579 0.222026 +vt 0.582395 0.180781 +vt 0.564783 0.145814 +vt 0.538424 0.122451 +vt 0.507332 0.114247 +vt 0.399002 0.329806 +vt 0.399002 0.114247 +vt 0.399002 0.222026 +vt 0.426085 0.222026 +vt 0.432269 0.263272 +vt 0.449881 0.298238 +vt 0.476240 0.321602 +vt 0.432269 0.180781 +vt 0.449881 0.145814 +vt 0.476240 0.122451 +vt 0.766474 0.866661 +vt 0.752519 0.857568 +vt 0.755745 0.851629 +vt 0.767607 0.859358 +vt 0.780447 0.860786 +vt 0.795535 0.862353 +vt 0.781580 0.868341 +vt 0.792309 0.855696 +vt 0.801388 0.844863 +vt 0.806216 0.849609 +vt 0.806301 0.829936 +vt 0.811997 0.832048 +vt 0.806301 0.813188 +vt 0.806216 0.793497 +vt 0.811997 0.812344 +vt 0.795535 0.778376 +vt 0.801388 0.797168 +vt 0.792309 0.784315 +vt 0.780447 0.776586 +vt 0.781580 0.769283 +vt 0.767607 0.775158 +vt 0.775953 0.830816 +vt 0.764345 0.819407 +vt 0.783709 0.816537 +vt 0.782235 0.811731 +vt 0.783709 0.821561 +vt 0.772101 0.830388 +vt 0.741753 0.822756 +vt 0.765819 0.824213 +vt 0.741753 0.806008 +vt 0.764345 0.814383 +vt 0.775953 0.805556 +vt 0.772101 0.805128 +vt 0.768542 0.806655 +vt 0.766474 0.767603 +vt 0.755745 0.780248 +vt 0.741838 0.786335 +vt 0.752519 0.773591 +vt 0.736057 0.803896 +vt 0.746666 0.791081 +vt 0.736057 0.823600 +vt 0.746666 0.838776 +vt 0.741838 0.842447 +vt 0.561161 0.916223 +vt 0.561161 0.930266 +vt 0.559354 0.930266 +vt 0.895481 0.922394 +vt 0.895481 0.932800 +vt 0.893674 0.932800 +vt 0.413013 0.916223 +vt 0.413013 0.944218 +vt 0.411206 0.944217 +vt 0.925111 0.941722 +vt 0.923304 0.941722 +vt 0.923304 0.938525 +vt 0.915425 0.732761 +vt 0.913619 0.732761 +vt 0.913619 0.728548 +vt 0.501901 0.937061 +vt 0.500095 0.937061 +vt 0.500095 0.916223 +vt 0.514910 0.937061 +vt 0.514910 0.916223 +vt 0.516716 0.916223 +vt 0.900611 0.732761 +vt 0.898804 0.732761 +vt 0.898804 0.728548 +vt 0.923304 0.922394 +vt 0.925111 0.922394 +vt 0.925111 0.925591 +vt 0.440836 0.916223 +vt 0.442642 0.916223 +vt 0.442642 0.944217 +vt 0.924534 0.439759 +vt 0.924534 0.429354 +vt 0.926341 0.429354 +vt 0.932662 0.721825 +vt 0.932662 0.735869 +vt 0.930855 0.735869 +vt 0.487087 0.937373 +vt 0.485280 0.937373 +vt 0.485280 0.916223 +vt 0.885796 0.732761 +vt 0.883989 0.732761 +vt 0.883989 0.728548 +vt 0.910296 0.942662 +vt 0.908489 0.942662 +vt 0.908489 0.939540 +vt 0.457457 0.916223 +vt 0.457457 0.944216 +vt 0.455650 0.944216 +vt 0.896711 0.429354 +vt 0.896711 0.440011 +vt 0.894905 0.440011 +vt 0.546346 0.916223 +vt 0.546346 0.930267 +vt 0.544539 0.930266 +vt 0.908489 0.922394 +vt 0.910296 0.922394 +vt 0.910296 0.926607 +vt 0.472272 0.916223 +vt 0.472272 0.937373 +vt 0.470465 0.937373 +vt 0.529724 0.930266 +vt 0.529724 0.916223 +vt 0.531531 0.916223 +vt 0.909719 0.440011 +vt 0.909719 0.429354 +vt 0.911526 0.429354 +vt 0.426021 0.916223 +vt 0.427827 0.916223 +vt 0.427827 0.944218 +vt 0.945670 0.721825 +vt 0.947477 0.721825 +vt 0.947477 0.724946 +vt 0.962415 0.890894 +vt 0.966931 0.890894 +vt 0.966931 0.910311 +vt 0.962415 0.874572 +vt 0.966931 0.874572 +vt 0.258356 0.933823 +vt 0.262872 0.933823 +vt 0.262874 0.955853 +vt 0.258355 0.907838 +vt 0.262872 0.907838 +vt 0.258356 0.881854 +vt 0.262872 0.881854 +vt 0.258357 0.859826 +vt 0.262874 0.859826 +vt 0.787431 0.953809 +vt 0.791948 0.953809 +vt 0.791948 0.970131 +vt 0.787431 0.934391 +vt 0.791948 0.934391 +vt 0.787431 0.914835 +vt 0.791948 0.914835 +vt 0.787431 0.898117 +vt 0.791948 0.898117 +vt 0.262875 0.772894 +vt 0.258358 0.772894 +vt 0.258355 0.750866 +vt 0.262876 0.798879 +vt 0.258359 0.798879 +vt 0.262875 0.824864 +vt 0.258358 0.824864 +vt 0.262872 0.846893 +vt 0.258355 0.846893 +vt 0.962415 0.910311 +vt 0.966931 0.929867 +vt 0.962415 0.929867 +vt 0.966931 0.946585 +vt 0.763601 0.882943 +vt 0.744994 0.870820 +vt 0.730753 0.850659 +vt 0.723045 0.825529 +vt 0.723045 0.799257 +vt 0.730753 0.775843 +vt 0.744994 0.758850 +vt 0.763601 0.750866 +vt 0.783742 0.753106 +vt 0.802349 0.765230 +vt 0.816590 0.785391 +vt 0.824298 0.810520 +vt 0.824298 0.836792 +vt 0.816590 0.860207 +vt 0.802349 0.877200 +vt 0.783742 0.885184 +vt 0.724462 0.617570 +vt 0.796069 0.628186 +vt 0.781826 0.723163 +vt 0.632446 0.590274 +vt 0.632446 0.455549 +vt 0.601225 0.590274 +vt 0.601225 0.455549 +vt 0.574536 0.590274 +vt 0.574536 0.455549 +vt 0.426027 0.903289 +vt 0.426022 0.868323 +vt 0.561523 0.868323 +vt 0.426021 0.827078 +vt 0.561522 0.827078 +vt 0.426022 0.785832 +vt 0.561523 0.785832 +vt 0.426027 0.750866 +vt 0.561528 0.750866 +vt 0.601225 0.603208 +vt 0.601225 0.737932 +vt 0.574536 0.737932 +vt 0.632446 0.603208 +vt 0.632446 0.737932 +vt 0.663444 0.603208 +vt 0.663444 0.737932 +vt 0.689502 0.603208 +vt 0.689502 0.737932 +vt 0.277510 0.868321 +vt 0.413011 0.868321 +vt 0.413013 0.903289 +vt 0.277509 0.827075 +vt 0.323935 0.552980 +vt 0.317750 0.594226 +vt 0.290664 0.594226 +vt 0.323935 0.635471 +vt 0.298911 0.649220 +vt 0.341550 0.670438 +vt 0.322397 0.695842 +vt 0.073378 0.461458 +vt 0.081996 0.488012 +vt 0.053880 0.512933 +vt 0.903938 0.213376 +vt 0.894905 0.213376 +vt 0.894905 0.177995 +vt 0.367913 0.693801 +vt 0.357547 0.726993 +vt 0.341550 0.518014 +vt 0.298911 0.539232 +vt 0.367913 0.494650 +vt 0.322397 0.492610 +vt 0.399009 0.486446 +vt 0.357547 0.461459 +vt 0.277655 0.709191 +vt 0.277329 0.737932 +vt 0.114834 0.737932 +vt 0.916946 0.339650 +vt 0.916946 0.177995 +vt 0.925980 0.177995 +vt 0.114834 0.450519 +vt 0.277329 0.450519 +vt 0.277655 0.479261 +vt 0.903938 0.416420 +vt 0.894905 0.416420 +vt 0.894905 0.254765 +vt 0.399009 0.702006 +vt 0.399009 0.737932 +vt 0.710037 0.858646 +vt 0.710037 0.966425 +vt 0.574536 0.858646 +vt 0.870981 0.455549 +vt 0.870981 0.590274 +vt 0.816786 0.590274 +vt 0.870981 0.737932 +vt 0.816786 0.737932 +vt 0.816786 0.603207 +vt 0.967342 0.006467 +vt 0.976376 0.006467 +vt 0.976370 0.053088 +vt 0.967336 0.053088 +vt 0.976367 0.108083 +vt 0.967334 0.108083 +vt 0.976370 0.163077 +vt 0.967336 0.163077 +vt 0.976376 0.209698 +vt 0.925980 0.416420 +vt 0.916946 0.416420 +vt 0.916946 0.381039 +vt 0.925980 0.381039 +vt 0.903938 0.254765 +vt 0.115161 0.479261 +vt 0.073378 0.726993 +vt 0.081996 0.700440 +vt 0.115161 0.709191 +vt 0.038233 0.695841 +vt 0.053880 0.675518 +vt 0.014750 0.649220 +vt 0.035094 0.638221 +vt 0.006504 0.594226 +vt 0.028497 0.594226 +vt 0.014750 0.539232 +vt 0.035094 0.550231 +vt 0.038233 0.492610 +vt 0.881896 0.336991 +vt 0.872863 0.365733 +vt 0.872863 0.078320 +vt 0.507355 0.702006 +vt 0.561528 0.737932 +vt 0.507355 0.486446 +vt 0.399009 0.450519 +vt 0.474083 0.552980 +vt 0.507355 0.594226 +vt 0.456468 0.518014 +vt 0.430106 0.494650 +vt 0.474083 0.635471 +vt 0.456468 0.670438 +vt 0.430106 0.693801 +vt 0.286543 0.961131 +vt 0.277509 0.961131 +vt 0.277509 0.916223 +vt 0.240417 0.616680 +vt 0.240417 0.571772 +vt 0.206564 0.571772 +vt 0.206564 0.616680 +vt 0.917842 0.670706 +vt 0.917842 0.715614 +vt 0.883989 0.715614 +vt 0.343634 0.916223 +vt 0.352667 0.916223 +vt 0.352667 0.949901 +vt 0.330626 0.949901 +vt 0.321592 0.949901 +vt 0.321592 0.916223 +vt 0.868381 0.954038 +vt 0.859347 0.954038 +vt 0.859347 0.909130 +vt 0.396750 0.949901 +vt 0.387717 0.949901 +vt 0.387717 0.916223 +vt 0.308584 0.938677 +vt 0.299551 0.961131 +vt 0.299551 0.916223 +vt 0.365675 0.916223 +vt 0.374709 0.916223 +vt 0.374709 0.949901 +vt 0.846339 0.931584 +vt 0.837306 0.954038 +vt 0.837306 0.909130 +vt 0.114905 0.750866 +vt 0.114905 0.787896 +vt 0.092321 0.787896 +vt 0.137488 0.787896 +vt 0.114905 0.861553 +vt 0.092321 0.821560 +vt 0.114905 0.821560 +vt 0.137488 0.821560 +vt 0.804956 0.898117 +vt 0.815791 0.898117 +vt 0.815791 0.941229 +vt 0.927350 0.527404 +vt 0.927350 0.530532 +vt 0.883989 0.530530 +vt 0.932284 0.161189 +vt 0.922169 0.165061 +vt 0.896199 0.098008 +vt 0.931054 0.754739 +vt 0.905084 0.821792 +vt 0.894969 0.817919 +vt 0.927353 0.455551 +vt 0.883989 0.527402 +vt 0.880666 0.750866 +vt 0.880666 0.822719 +vt 0.837306 0.822719 +vt 0.927353 0.599931 +vt 0.883992 0.599929 +vt 0.880666 0.826777 +vt 0.837306 0.826777 +vt 0.894905 0.094156 +vt 0.905011 0.091283 +vt 0.903781 0.824645 +vt 0.950791 0.239038 +vt 0.950791 0.282150 +vt 0.940361 0.282150 +vt 0.880666 0.896196 +vt 0.837306 0.896196 +vt 0.922178 0.009340 +vt 0.931054 0.909460 +vt 0.920948 0.906587 +vt 0.728329 0.329806 +vt 0.971448 0.295084 +vt 0.940373 0.599931 +vt 0.728329 0.405252 +vt 0.728329 0.038801 +vt 0.331829 0.114247 +vt 0.331829 0.329806 +vt 0.683162 0.146581 +vt 0.692195 0.114247 +vt 0.945292 0.006467 +vt 0.993496 0.447507 +vt 0.014756 0.943658 +vt 0.073422 0.987383 +vt 0.156388 0.987383 +vt 0.215054 0.943658 +vt 0.701228 0.038801 +vt 0.701228 0.405252 +vt 0.236314 0.750866 +vt 0.945292 0.225699 +vt 0.935376 0.708891 +vt 0.944062 0.859826 +vt 0.944062 0.915518 +vt 0.948581 0.846893 +vt 0.769906 0.898117 +vt 0.796069 0.555344 +vt 0.803778 0.503943 +vt 0.743072 0.457789 +vt 0.744792 0.530754 +vt 0.761211 0.514620 +vt 0.710219 0.564888 +vt 0.710219 0.490072 +vt 0.883989 0.657773 +vt 0.723045 0.898117 +vt 0.756898 0.898117 +vt 0.723045 0.943026 +vt 0.689502 0.590274 +vt 0.344837 0.329806 +vt 0.344837 0.114247 +vt 0.779512 0.807875 +vt 0.782235 0.826039 +vt 0.779512 0.829289 +vt 0.768542 0.828069 +vt 0.765819 0.809905 +vt 0.559354 0.916223 +vt 0.893674 0.922394 +vt 0.411206 0.916223 +vt 0.925111 0.938525 +vt 0.915425 0.728548 +vt 0.501901 0.916223 +vt 0.516716 0.937061 +vt 0.900611 0.728548 +vt 0.923304 0.925591 +vt 0.440836 0.944218 +vt 0.926341 0.439759 +vt 0.930855 0.721825 +vt 0.487087 0.916223 +vt 0.885796 0.728548 +vt 0.910296 0.939540 +vt 0.455650 0.916223 +vt 0.894905 0.429354 +vt 0.544539 0.916223 +vt 0.908489 0.926607 +vt 0.470465 0.916223 +vt 0.531531 0.930266 +vt 0.911526 0.440011 +vt 0.426021 0.944218 +vt 0.945670 0.724946 +vt 0.258357 0.955853 +vt 0.787431 0.970131 +vt 0.262872 0.750866 +vt 0.962415 0.946585 +vt 0.763216 0.735286 +vt 0.743072 0.737525 +vt 0.724462 0.729540 +vt 0.710219 0.712547 +vt 0.702510 0.689132 +vt 0.702510 0.662860 +vt 0.710219 0.637730 +vt 0.743072 0.605447 +vt 0.763216 0.603208 +vt 0.781825 0.611192 +vt 0.803778 0.651601 +vt 0.803778 0.677873 +vt 0.796069 0.703002 +vt 0.561528 0.903289 +vt 0.574536 0.603208 +vt 0.277512 0.903289 +vt 0.903938 0.177995 +vt 0.925980 0.339650 +vt 0.574536 0.750866 +vt 0.710037 0.750866 +vt 0.574536 0.966425 +vt 0.816786 0.455549 +vt 0.870981 0.603207 +vt 0.967342 0.209698 +vt 0.881896 0.107061 +vt 0.863830 0.078320 +vt 0.863830 0.365733 +vt 0.561528 0.702006 +vt 0.561528 0.450519 +vt 0.561528 0.486446 +vt 0.480269 0.594226 +vt 0.286543 0.916223 +vt 0.883989 0.670706 +vt 0.343634 0.949901 +vt 0.330626 0.916223 +vt 0.868381 0.909130 +vt 0.396750 0.916223 +vt 0.308584 0.916223 +vt 0.308584 0.961131 +vt 0.365675 0.949901 +vt 0.846339 0.909130 +vt 0.846339 0.954038 +vt 0.804956 0.941229 +vt 0.906314 0.094135 +vt 0.920939 0.750866 +vt 0.883992 0.455549 +vt 0.837306 0.750866 +vt 0.893674 0.821771 +vt 0.940361 0.239038 +vt 0.932284 0.006467 +vn 0.000000 -1.000000 0.000000 +vn -0.661800 0.735300 0.146300 +vn 0.000000 0.980800 0.195100 +vn 0.661800 0.735300 0.146300 +vn -0.661800 0.623400 0.416500 +vn 0.661800 0.623400 0.416500 +vn 0.000000 0.831500 0.555600 +vn 0.661800 0.416500 0.623400 +vn 0.000000 0.555600 0.831500 +vn -0.661800 0.416500 0.623400 +vn -0.661800 0.146300 0.735300 +vn 0.661800 0.146300 0.735300 +vn -0.661800 0.735300 -0.146300 +vn 0.000000 0.980800 -0.195100 +vn 0.661800 0.735300 -0.146300 +vn 0.661800 0.623400 -0.416500 +vn 0.000000 0.831500 -0.555600 +vn -0.661800 0.623400 -0.416500 +vn -0.661800 0.416500 -0.623400 +vn 0.000000 0.555600 -0.831500 +vn 0.661800 0.416500 -0.623400 +vn 0.661800 0.146300 -0.735300 +vn 0.000000 0.195100 -0.980800 +vn -0.661800 0.146300 -0.735300 +vn 0.000000 0.195100 0.980800 +vn 0.000000 0.000000 1.000000 +vn 0.669000 0.000000 0.743300 +vn 0.000000 0.000000 -1.000000 +vn 0.669000 0.000000 -0.743300 +vn -1.000000 0.000000 -0.000000 +vn -0.669000 0.000000 -0.743300 +vn -0.669000 0.000000 0.743300 +vn 0.000000 -0.195100 0.980800 +vn 0.000000 -0.555600 0.831500 +vn 0.000000 -0.831500 0.555600 +vn 0.000000 -0.980800 0.195100 +vn 0.000000 -0.980800 -0.195100 +vn 0.000000 -0.831500 -0.555600 +vn 0.000000 -0.195100 -0.980800 +vn 0.000000 -0.555600 -0.831500 +vn -0.679800 0.143100 -0.719300 +vn -0.679800 0.407500 -0.609800 +vn -0.679800 0.609800 -0.407500 +vn -0.679800 0.719300 -0.143100 +vn -0.679800 0.719300 0.143100 +vn -0.679800 0.609800 0.407500 +vn -0.679800 0.407500 0.609800 +vn -0.679800 0.143100 0.719300 +vn -0.679800 -0.143100 0.719300 +vn -0.679800 -0.407500 0.609800 +vn -0.679800 -0.143100 -0.719300 +vn -0.679800 -0.407500 -0.609800 +vn -0.679800 -0.609800 -0.407500 +vn -0.679800 -0.719300 -0.143100 +vn -0.679800 -0.609800 0.407500 +vn -0.679800 -0.719300 0.143100 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.923900 -0.382700 +vn 0.000000 -0.382700 0.923900 +vn 0.000000 -0.382700 -0.923900 +vn 0.000000 0.923900 0.382700 +vn 0.000000 0.382700 0.923900 +vn 0.000000 -0.923900 -0.382700 +vn 0.000000 0.382700 -0.923900 +vn 0.000000 -0.923900 0.382700 +vn 0.388200 0.512000 -0.766200 +vn 0.388200 0.766200 -0.512000 +vn 0.388200 0.903800 -0.179800 +vn 0.388200 0.903800 0.179800 +vn 0.388200 0.766200 0.512000 +vn 0.388200 0.512000 0.766200 +vn 0.388200 0.179800 0.903800 +vn 0.388200 -0.179800 0.903800 +vn 0.388200 -0.512000 0.766200 +vn 0.388200 -0.766200 0.512000 +vn 0.388200 -0.903800 0.179800 +vn 0.388200 -0.903800 -0.179800 +vn 0.388200 -0.766200 -0.512000 +vn 0.388200 -0.512000 -0.766200 +vn 0.388200 -0.179800 -0.903800 +vn 0.388200 0.179800 -0.903800 +vn 0.617300 0.437100 0.654100 +vn 0.624700 0.000000 -0.780900 +vn 0.624700 0.000000 0.780900 +vn 0.000000 1.000000 0.000000 +vn 0.617300 0.153500 0.771600 +vn 0.617300 0.153500 -0.771600 +vn 0.617300 0.437100 -0.654100 +vn 0.617300 0.654100 -0.437100 +vn 0.617300 0.771600 -0.153500 +vn 0.617300 0.771600 0.153500 +vn 0.617300 0.654100 0.437100 +vn 0.019600 -0.999800 0.000000 +vn -0.258800 -0.965900 0.000000 +vn 0.015100 0.999900 0.000000 +vn 0.965900 -0.258800 0.000000 +vn 0.258800 0.965900 0.000000 +vn -1.000000 -0.000100 0.000000 +vn 1.000000 0.000100 0.000000 +s off +f 3/1/1 4/2/1 2/3/1 +f 10/4/2 19/5/2 18/6/2 +f 19/7/3 28/8/3 27/9/3 +f 28/10/4 37/11/4 36/12/4 +f 11/13/5 20/14/5 19/5/5 +f 29/15/6 38/16/6 37/11/6 +f 20/17/7 29/18/7 28/8/7 +f 30/19/8 39/20/8 38/16/8 +f 21/21/9 30/22/9 29/23/9 +f 11/13/10 12/24/10 21/25/10 +f 13/26/11 22/27/11 21/25/11 +f 30/19/12 31/28/12 40/29/12 +f 9/30/13 18/6/13 17/31/13 +f 18/32/14 27/9/14 26/33/14 +f 26/34/15 27/35/15 36/12/15 +f 26/34/16 35/36/16 34/37/16 +f 17/38/17 26/33/17 25/39/17 +f 7/40/18 8/41/18 17/31/18 +f 7/40/19 16/42/19 15/43/19 +f 16/44/20 25/45/20 24/46/20 +f 24/47/21 25/48/21 34/37/21 +f 24/47/22 33/49/22 32/50/22 +f 15/51/23 24/46/23 23/52/23 +f 5/53/24 6/54/24 15/43/24 +f 22/55/25 31/56/25 30/22/25 +f 44/57/1 42/58/1 41/59/1 +f 44/57/1 43/60/1 3/1/1 +f 22/55/26 42/61/26 44/62/26 +f 31/28/27 44/63/27 46/64/27 +f 43/65/28 41/66/28 14/67/28 +f 45/68/29 43/69/29 23/70/29 +f 47/71/30 48/72/30 6/54/30 +f 48/72/30 49/73/30 7/40/30 +f 7/40/30 49/73/30 50/74/30 +f 8/41/30 50/74/30 51/75/30 +f 51/75/30 52/76/30 10/4/30 +f 52/76/30 53/77/30 11/13/30 +f 53/77/30 54/78/30 12/24/30 +f 54/78/30 55/79/30 13/26/30 +f 47/71/30 5/53/30 59/80/30 +f 58/81/30 13/26/30 55/79/30 +f 14/82/31 41/83/31 59/80/31 +f 58/81/32 42/84/32 22/27/32 +f 79/85/1 81/86/1 162/87/1 +f 68/88/25 55/89/25 54/90/25 +f 66/91/9 67/92/9 54/90/9 +f 65/93/7 66/94/7 53/95/7 +f 64/96/3 65/93/3 52/97/3 +f 63/98/14 64/96/14 51/99/14 +f 62/100/17 63/98/17 50/101/17 +f 61/102/20 62/103/20 49/104/20 +f 60/105/23 61/102/23 48/106/23 +f 60/107/24 69/108/24 70/109/24 +f 70/109/19 71/110/19 62/111/19 +f 62/111/18 71/110/18 72/112/18 +f 72/112/13 73/113/13 64/114/13 +f 64/114/2 73/113/2 74/115/2 +f 74/115/5 75/116/5 66/117/5 +f 66/117/10 75/116/10 76/118/10 +f 76/118/11 77/119/11 68/120/11 +f 42/58/1 56/121/1 41/59/1 +f 57/122/1 56/121/1 79/85/1 +f 78/123/28 60/105/28 47/124/28 +f 69/108/31 60/107/31 78/125/31 +f 55/89/26 68/88/26 79/126/26 +f 81/127/32 79/128/32 68/120/32 +f 89/129/30 90/130/30 77/119/30 +f 88/131/30 89/129/30 76/118/30 +f 87/132/30 88/131/30 75/116/30 +f 73/113/30 86/133/30 87/132/30 +f 85/134/30 86/133/30 73/113/30 +f 71/110/30 84/135/30 85/134/30 +f 83/136/30 84/135/30 71/110/30 +f 69/108/30 82/137/30 83/136/30 +f 98/138/23 99/139/23 83/140/23 +f 99/139/20 100/141/20 84/142/20 +f 100/143/17 101/144/17 85/145/17 +f 101/144/14 102/146/14 86/147/14 +f 102/146/3 103/148/3 87/149/3 +f 103/148/7 104/150/7 88/151/7 +f 104/152/9 105/153/9 89/154/9 +f 105/153/25 106/155/25 90/156/25 +f 90/156/33 106/155/33 107/157/33 +f 107/157/34 108/158/34 92/159/34 +f 108/160/35 109/161/35 93/162/35 +f 109/161/36 110/163/36 94/164/36 +f 110/163/37 111/165/37 95/166/37 +f 111/165/38 112/167/38 96/168/38 +f 113/169/39 98/138/39 82/170/39 +f 112/171/40 113/169/40 97/172/40 +f 114/173/41 115/174/41 99/175/41 +f 115/174/42 116/176/42 100/177/42 +f 100/177/43 116/176/43 117/178/43 +f 117/178/44 118/179/44 102/180/44 +f 102/180/45 118/179/45 119/181/45 +f 119/181/46 120/182/46 104/183/46 +f 120/182/47 121/184/47 105/185/47 +f 105/185/48 121/184/48 122/186/48 +f 106/187/49 122/186/49 123/188/49 +f 123/188/50 124/189/50 108/190/50 +f 123/188/30 139/191/30 140/192/30 +f 138/193/30 139/191/30 123/188/30 +f 121/184/30 137/194/30 138/193/30 +f 136/195/30 137/194/30 121/184/30 +f 135/196/30 136/195/30 120/182/30 +f 134/197/30 135/196/30 119/181/30 +f 117/178/30 133/198/30 134/197/30 +f 116/176/30 132/199/30 133/198/30 +f 115/174/30 131/200/30 132/199/30 +f 130/201/30 131/200/30 115/174/30 +f 156/202/30 150/203/30 148/204/30 +f 149/205/30 150/203/30 134/197/30 +f 134/197/30 150/203/30 151/206/30 +f 137/194/30 153/207/30 154/208/30 +f 138/193/30 154/208/30 155/209/30 +f 157/210/30 158/211/30 142/212/30 +f 158/211/30 159/213/30 143/214/30 +f 146/215/30 147/216/30 131/200/30 +f 161/217/30 146/215/30 130/201/30 +f 145/218/30 130/201/30 114/173/30 +f 129/219/51 114/173/51 98/220/51 +f 128/221/52 129/219/52 113/222/52 +f 111/223/53 127/224/53 128/221/53 +f 126/225/54 127/224/54 111/223/54 +f 128/221/30 144/226/30 145/218/30 +f 127/224/30 143/214/30 144/226/30 +f 142/212/30 143/214/30 127/224/30 +f 141/227/30 142/212/30 126/225/30 +f 124/189/30 140/192/30 141/227/30 +f 108/190/55 124/189/55 125/228/55 +f 125/228/56 126/225/56 110/229/56 +f 326/230/30 329/231/30 328/232/30 +f 330/233/57 325/234/57 331/235/57 +f 93/236/30 81/127/30 92/237/30 +f 91/238/30 92/237/30 81/127/30 +f 77/119/30 90/130/30 91/238/30 +f 95/239/30 96/240/30 80/241/30 +f 96/240/30 97/242/30 80/241/30 +f 97/242/30 82/137/30 69/108/30 +f 182/243/40 279/244/40 278/245/40 +f 180/246/37 277/247/37 276/248/37 +f 181/249/38 278/250/38 277/247/38 +f 40/29/57 175/251/57 174/252/57 +f 39/20/57 174/252/57 173/253/57 +f 38/16/57 173/253/57 172/254/57 +f 37/11/57 172/254/57 171/255/57 +f 35/36/57 36/12/57 171/255/57 +f 35/36/57 167/256/57 168/257/57 +f 34/37/57 168/257/57 169/258/57 +f 33/49/57 169/258/57 170/259/57 +f 163/260/57 40/29/57 46/64/57 +f 32/50/57 170/259/57 165/261/57 +f 183/262/57 179/263/57 178/264/57 +f 178/264/57 177/265/57 163/260/57 +f 176/266/57 163/260/57 177/265/57 +f 175/251/57 163/260/57 176/266/57 +f 183/262/57 165/261/57 180/267/57 +f 180/267/57 165/261/57 181/268/57 +f 181/268/57 165/261/57 182/269/57 +f 170/259/57 182/269/57 165/261/57 +f 193/270/57 194/271/57 210/272/57 +f 193/270/57 209/273/57 208/274/57 +f 191/275/57 192/276/57 208/274/57 +f 191/275/57 207/277/57 206/278/57 +f 190/279/57 206/278/57 205/280/57 +f 189/281/57 205/280/57 204/282/57 +f 187/283/57 188/284/57 204/282/57 +f 186/285/57 187/283/57 203/286/57 +f 186/285/57 202/287/57 201/288/57 +f 185/289/57 201/288/57 200/290/57 +f 224/291/57 228/292/57 220/293/57 +f 204/282/57 220/293/57 219/294/57 +f 204/282/57 205/280/57 221/295/57 +f 207/277/57 208/274/57 224/291/57 +f 208/274/57 209/273/57 225/296/57 +f 212/297/57 228/292/57 227/298/57 +f 213/299/57 229/300/57 228/292/57 +f 201/288/57 217/301/57 216/302/57 +f 200/290/57 216/302/57 231/303/57 +f 184/304/57 200/290/57 215/305/57 +f 198/306/57 199/307/57 215/305/57 +f 197/308/57 198/306/57 214/309/57 +f 197/308/57 213/299/57 212/297/57 +f 196/310/57 212/297/57 211/311/57 +f 194/271/57 195/312/57 211/311/57 +f 205/313/38 206/314/38 136/315/38 +f 206/316/40 207/317/40 137/318/40 +f 153/319/58 137/320/58 207/321/58 +f 153/322/9 223/323/9 222/324/9 +f 152/325/7 222/326/7 221/327/7 +f 151/328/59 221/329/59 205/330/59 +f 149/331/60 133/332/60 203/333/60 +f 149/334/17 219/335/17 218/336/17 +f 148/337/20 218/338/20 217/339/20 +f 147/340/61 217/341/61 201/342/61 +f 201/343/34 202/344/34 132/345/34 +f 202/346/35 203/347/35 133/348/35 +f 141/349/62 211/350/62 227/351/62 +f 157/352/35 227/353/35 226/354/35 +f 156/355/34 226/356/34 225/357/34 +f 225/358/63 209/359/63 139/360/63 +f 209/361/20 210/362/20 140/363/20 +f 210/364/17 211/365/17 141/366/17 +f 160/367/38 230/368/38 229/369/38 +f 229/370/64 213/371/64 143/372/64 +f 213/373/7 214/374/7 144/375/7 +f 214/376/9 215/377/9 145/378/9 +f 145/379/65 215/380/65 231/381/65 +f 161/382/40 231/383/40 230/384/40 +f 233/385/33 249/386/33 248/387/33 +f 234/388/34 250/389/34 249/386/34 +f 235/390/35 251/391/35 250/392/35 +f 236/393/36 252/394/36 251/391/36 +f 237/395/37 253/396/37 252/394/37 +f 238/397/38 254/398/38 253/396/38 +f 239/399/40 255/400/40 254/401/40 +f 240/402/39 256/403/39 255/400/39 +f 240/402/23 241/404/23 257/405/23 +f 242/406/20 258/407/20 257/405/20 +f 243/408/17 259/409/17 258/410/17 +f 244/411/14 260/412/14 259/409/14 +f 245/413/3 261/414/3 260/412/3 +f 246/415/7 262/416/7 261/414/7 +f 232/417/25 248/387/25 263/418/25 +f 247/419/9 263/418/9 262/420/9 +f 257/421/66 258/422/66 194/271/66 +f 194/271/67 258/422/67 259/423/67 +f 195/312/68 259/423/68 260/424/68 +f 196/310/69 260/424/69 261/425/69 +f 197/308/70 261/425/70 262/426/70 +f 262/426/71 263/427/71 199/307/71 +f 199/307/72 263/427/72 248/428/72 +f 248/428/73 249/429/73 185/289/73 +f 249/429/74 250/430/74 186/285/74 +f 250/430/75 251/431/75 187/283/75 +f 187/283/76 251/431/76 252/432/76 +f 252/432/77 253/433/77 189/281/77 +f 253/433/78 254/434/78 190/279/78 +f 254/434/79 255/435/79 191/275/79 +f 255/435/80 256/436/80 192/276/80 +f 256/436/81 257/421/81 193/270/81 +f 242/437/30 238/438/30 234/439/30 +f 170/440/39 267/441/39 279/244/39 +f 169/442/23 266/443/23 267/441/23 +f 168/444/20 265/445/20 266/443/20 +f 168/446/17 167/447/17 264/448/17 +f 167/447/14 171/449/14 268/450/14 +f 172/451/3 269/452/3 268/450/3 +f 173/453/7 270/454/7 269/452/7 +f 174/455/9 271/456/9 270/457/9 +f 175/458/25 272/459/25 271/456/25 +f 176/460/33 273/461/33 272/459/33 +f 177/462/34 274/463/34 273/461/34 +f 178/464/35 275/465/35 274/466/35 +f 179/467/36 276/248/36 275/465/36 +f 264/468/30 268/469/30 284/470/30 +f 269/471/30 285/472/30 284/470/30 +f 270/473/30 286/474/30 285/472/30 +f 296/475/82 305/476/82 306/477/82 +f 287/478/9 296/479/9 297/480/9 +f 271/481/30 287/482/30 286/474/30 +f 265/483/30 264/468/30 283/484/30 +f 266/485/30 265/483/30 282/486/30 +f 267/487/30 266/485/30 281/488/30 +f 290/489/83 293/490/83 303/491/83 +f 303/492/28 293/493/28 295/494/28 +f 304/495/84 291/496/84 289/497/84 +f 294/498/26 291/499/26 304/500/26 +f 272/501/30 288/502/30 287/482/30 +f 292/503/85 166/504/85 183/505/85 +f 164/506/26 163/507/26 1/508/26 +f 3/509/28 165/510/28 166/511/28 +f 286/512/7 297/513/7 298/514/7 +f 285/515/3 298/514/3 299/516/3 +f 284/517/14 299/516/14 300/518/14 +f 283/519/17 300/518/17 301/520/17 +f 282/521/20 301/522/20 302/523/20 +f 281/524/23 302/523/23 303/492/23 +f 288/525/25 304/500/25 296/479/25 +f 304/495/86 313/526/86 305/476/86 +f 302/527/87 311/528/87 312/529/87 +f 301/530/88 310/531/88 311/528/88 +f 301/530/89 300/532/89 309/533/89 +f 299/534/90 308/535/90 309/533/90 +f 299/534/91 298/536/91 307/537/91 +f 297/538/92 306/477/92 307/537/92 +f 289/539/1 291/540/1 293/541/1 +f 2/3/1 293/541/1 291/540/1 +f 288/502/30 164/542/30 294/543/30 +f 166/544/30 267/487/30 280/545/30 +f 277/546/30 166/544/30 292/547/30 +f 277/546/30 278/548/30 166/544/30 +f 278/548/30 279/549/30 166/544/30 +f 279/549/30 267/487/30 166/544/30 +f 292/547/30 164/542/30 275/550/30 +f 274/551/30 275/550/30 164/542/30 +f 273/552/30 274/551/30 164/542/30 +f 272/501/30 273/552/30 164/542/30 +f 314/553/85 319/554/85 318/555/85 +f 317/556/57 315/557/57 289/497/57 +f 289/497/57 315/557/57 314/558/57 +f 316/559/57 317/556/57 290/489/57 +f 312/529/57 313/526/57 314/558/57 +f 320/560/57 321/561/57 318/562/57 +f 316/563/28 318/564/28 321/565/28 +f 315/566/26 320/567/26 319/568/26 +f 317/569/1 321/570/1 320/571/1 +f 312/529/57 311/528/57 305/476/57 +f 311/528/57 310/531/57 306/477/57 +f 310/531/57 309/533/57 307/537/57 +f 308/535/57 307/537/57 309/533/57 +f 325/572/28 329/573/28 326/574/28 +f 331/575/85 326/576/85 327/577/85 +f 323/578/26 327/579/26 328/580/26 +f 330/581/1 328/582/1 329/583/1 +f 162/584/30 330/585/30 325/586/30 +f 162/584/30 81/127/30 324/587/30 +f 94/588/30 95/239/30 322/589/30 +f 94/588/30 331/590/30 323/591/30 +f 93/236/30 323/591/30 81/127/30 +f 81/127/30 323/591/30 324/587/30 +f 80/241/30 322/589/30 95/239/30 +f 80/241/30 325/586/30 322/589/30 +f 334/592/30 335/593/30 333/594/30 +f 339/595/93 343/596/93 342/597/93 +f 335/598/28 334/599/28 336/600/28 +f 333/601/26 338/602/26 337/603/26 +f 335/604/1 339/595/1 338/605/1 +f 332/606/85 337/607/85 336/608/85 +f 343/596/94 347/609/94 346/610/94 +f 337/607/95 341/611/95 340/612/95 +f 336/600/28 340/613/28 343/614/28 +f 337/603/26 338/602/26 342/615/26 +f 346/616/96 347/617/96 344/618/96 +f 341/611/97 345/619/97 344/620/97 +f 343/614/28 340/613/28 344/621/28 +f 342/615/26 346/622/26 345/623/26 +f 1/624/1 3/1/1 2/3/1 +f 9/30/2 10/4/2 18/6/2 +f 18/32/3 19/7/3 27/9/3 +f 27/35/4 28/10/4 36/12/4 +f 10/4/5 11/13/5 19/5/5 +f 28/10/6 29/15/6 37/11/6 +f 19/7/7 20/17/7 28/8/7 +f 29/15/8 30/19/8 38/16/8 +f 20/625/9 21/21/9 29/23/9 +f 20/14/10 11/13/10 21/25/10 +f 12/24/11 13/26/11 21/25/11 +f 39/20/12 30/19/12 40/29/12 +f 8/41/13 9/30/13 17/31/13 +f 17/38/14 18/32/14 26/33/14 +f 35/36/15 26/34/15 36/12/15 +f 25/48/16 26/34/16 34/37/16 +f 16/626/17 17/38/17 25/39/17 +f 16/42/18 7/40/18 17/31/18 +f 6/54/19 7/40/19 15/43/19 +f 15/51/20 16/44/20 24/46/20 +f 33/49/21 24/47/21 34/37/21 +f 23/70/22 24/47/22 32/50/22 +f 14/67/23 15/51/23 23/52/23 +f 14/82/24 5/53/24 15/43/24 +f 21/21/25 22/55/25 30/22/25 +f 43/60/1 44/57/1 41/59/1 +f 3/1/1 1/624/1 44/57/1 +f 46/627/1 44/57/1 1/624/1 +f 43/60/1 45/628/1 3/1/1 +f 31/56/26 22/55/26 44/62/26 +f 40/29/27 31/28/27 46/64/27 +f 23/52/28 43/65/28 14/67/28 +f 32/50/29 45/68/29 23/70/29 +f 5/53/30 47/71/30 6/54/30 +f 6/54/30 48/72/30 7/40/30 +f 8/41/30 7/40/30 50/74/30 +f 9/30/30 8/41/30 51/75/30 +f 9/30/30 51/75/30 10/4/30 +f 10/4/30 52/76/30 11/13/30 +f 11/13/30 53/77/30 12/24/30 +f 12/24/30 54/78/30 13/26/30 +f 57/629/30 47/71/30 59/80/30 +f 56/630/30 58/81/30 55/79/30 +f 5/53/31 14/82/31 59/80/31 +f 13/26/32 58/81/32 22/27/32 +f 162/87/1 80/631/1 78/632/1 +f 78/632/1 79/85/1 162/87/1 +f 67/92/25 68/88/25 54/90/25 +f 53/633/9 66/91/9 54/90/9 +f 52/97/7 65/93/7 53/95/7 +f 51/99/3 64/96/3 52/97/3 +f 50/101/14 63/98/14 51/99/14 +f 49/634/17 62/100/17 50/101/17 +f 48/106/20 61/102/20 49/104/20 +f 47/124/23 60/105/23 48/106/23 +f 61/635/24 60/107/24 70/109/24 +f 61/635/19 70/109/19 62/111/19 +f 63/636/18 62/111/18 72/112/18 +f 63/636/13 72/112/13 64/114/13 +f 65/637/2 64/114/2 74/115/2 +f 65/637/5 74/115/5 66/117/5 +f 67/638/10 66/117/10 76/118/10 +f 67/638/11 76/118/11 68/120/11 +f 59/639/1 41/59/1 57/122/1 +f 42/58/1 58/640/1 56/121/1 +f 56/121/1 57/122/1 41/59/1 +f 78/632/1 57/122/1 79/85/1 +f 57/641/28 78/123/28 47/124/28 +f 80/241/31 69/108/31 78/125/31 +f 56/642/26 55/89/26 79/126/26 +f 77/119/32 81/127/32 68/120/32 +f 76/118/30 89/129/30 77/119/30 +f 75/116/30 88/131/30 76/118/30 +f 74/115/30 87/132/30 75/116/30 +f 74/115/30 73/113/30 87/132/30 +f 72/112/30 85/134/30 73/113/30 +f 72/112/30 71/110/30 85/134/30 +f 70/109/30 83/136/30 71/110/30 +f 70/109/30 69/108/30 83/136/30 +f 82/170/23 98/138/23 83/140/23 +f 83/140/20 99/139/20 84/142/20 +f 84/643/17 100/143/17 85/145/17 +f 85/145/14 101/144/14 86/147/14 +f 86/147/3 102/146/3 87/149/3 +f 87/149/7 103/148/7 88/151/7 +f 88/644/9 104/152/9 89/154/9 +f 89/154/25 105/153/25 90/156/25 +f 91/645/33 90/156/33 107/157/33 +f 91/645/34 107/157/34 92/159/34 +f 92/646/35 108/160/35 93/162/35 +f 93/162/36 109/161/36 94/164/36 +f 94/164/37 110/163/37 95/166/37 +f 95/166/38 111/165/38 96/168/38 +f 97/172/39 113/169/39 82/170/39 +f 96/647/40 112/171/40 97/172/40 +f 98/220/41 114/173/41 99/175/41 +f 99/175/42 115/174/42 100/177/42 +f 101/648/43 100/177/43 117/178/43 +f 101/648/44 117/178/44 102/180/44 +f 103/649/45 102/180/45 119/181/45 +f 103/649/46 119/181/46 104/183/46 +f 104/183/47 120/182/47 105/185/47 +f 106/187/48 105/185/48 122/186/48 +f 107/650/49 106/187/49 123/188/49 +f 107/650/50 123/188/50 108/190/50 +f 124/189/30 123/188/30 140/192/30 +f 122/186/30 138/193/30 123/188/30 +f 122/186/30 121/184/30 138/193/30 +f 120/182/30 136/195/30 121/184/30 +f 119/181/30 135/196/30 120/182/30 +f 118/179/30 134/197/30 119/181/30 +f 118/179/30 117/178/30 134/197/30 +f 117/178/30 116/176/30 133/198/30 +f 116/176/30 115/174/30 132/199/30 +f 114/173/30 130/201/30 115/174/30 +f 148/204/30 147/216/30 160/651/30 +f 146/215/30 161/217/30 160/651/30 +f 160/651/30 159/213/30 158/211/30 +f 158/211/98 157/210/98 156/202/98 +f 156/202/30 155/209/30 152/652/30 +f 154/208/30 153/207/30 152/652/30 +f 152/652/30 151/206/30 150/203/30 +f 150/203/30 149/205/30 148/204/30 +f 147/216/30 146/215/30 160/651/30 +f 160/651/30 158/211/30 148/204/30 +f 155/209/30 154/208/30 152/652/30 +f 152/652/30 150/203/30 156/202/30 +f 148/204/30 158/211/30 156/202/30 +f 133/198/30 149/205/30 134/197/30 +f 135/196/30 134/197/30 151/206/30 +f 138/193/30 137/194/30 154/208/30 +f 139/191/30 138/193/30 155/209/30 +f 141/227/30 157/210/30 142/212/30 +f 142/212/30 158/211/30 143/214/30 +f 130/201/30 146/215/30 131/200/30 +f 145/218/30 161/217/30 130/201/30 +f 129/219/30 145/218/30 114/173/30 +f 113/222/51 129/219/51 98/220/51 +f 112/653/52 128/221/52 113/222/52 +f 112/653/53 111/223/53 128/221/53 +f 110/229/54 126/225/54 111/223/54 +f 129/219/30 128/221/30 145/218/30 +f 128/221/30 127/224/30 144/226/30 +f 126/225/30 142/212/30 127/224/30 +f 125/228/30 141/227/30 126/225/30 +f 125/228/30 124/189/30 141/227/30 +f 109/654/55 108/190/55 125/228/55 +f 109/654/56 125/228/56 110/229/56 +f 327/655/30 326/230/30 328/232/30 +f 331/235/57 323/656/57 324/657/57 +f 324/657/57 330/233/57 331/235/57 +f 325/234/57 322/658/57 331/235/57 +f 81/127/30 77/119/30 91/238/30 +f 80/241/30 97/242/30 69/108/30 +f 181/659/40 182/243/40 278/245/40 +f 179/467/37 180/246/37 276/248/37 +f 180/246/38 181/249/38 277/247/38 +f 39/20/57 40/29/57 174/252/57 +f 38/16/57 39/20/57 173/253/57 +f 37/11/57 38/16/57 172/254/57 +f 36/12/57 37/11/57 171/255/57 +f 167/256/57 35/36/57 171/255/57 +f 34/37/57 35/36/57 168/257/57 +f 33/49/57 34/37/57 169/258/57 +f 32/50/57 33/49/57 170/259/57 +f 46/64/57 1/660/57 163/260/57 +f 163/260/57 175/251/57 40/29/57 +f 165/261/57 3/661/57 45/68/57 +f 45/68/57 32/50/57 165/261/57 +f 163/260/57 183/262/57 178/264/57 +f 179/263/57 183/262/57 180/267/57 +f 209/273/57 193/270/57 210/272/57 +f 192/276/57 193/270/57 208/274/57 +f 207/277/57 191/275/57 208/274/57 +f 190/279/57 191/275/57 206/278/57 +f 189/281/57 190/279/57 205/280/57 +f 188/284/57 189/281/57 204/282/57 +f 203/286/57 187/283/57 204/282/57 +f 202/287/57 186/285/57 203/286/57 +f 185/289/57 186/285/57 201/288/57 +f 184/304/57 185/289/57 200/290/57 +f 216/302/57 217/301/57 220/293/57 +f 218/662/57 219/294/57 220/293/57 +f 220/293/57 221/295/57 222/663/57 +f 222/663/57 223/664/57 220/293/57 +f 224/291/57 225/296/57 228/292/57 +f 226/665/99 227/298/99 228/292/99 +f 228/292/57 229/300/57 216/302/57 +f 230/666/57 231/303/57 216/302/57 +f 217/301/57 218/662/57 220/293/57 +f 220/293/57 223/664/57 224/291/57 +f 225/296/57 226/665/57 228/292/57 +f 229/300/57 230/666/57 216/302/57 +f 216/302/57 220/293/57 228/292/57 +f 203/286/57 204/282/57 219/294/57 +f 220/293/57 204/282/57 221/295/57 +f 223/664/57 207/277/57 224/291/57 +f 224/291/57 208/274/57 225/296/57 +f 211/311/57 212/297/57 227/298/57 +f 212/297/57 213/299/57 228/292/57 +f 200/290/57 201/288/57 216/302/57 +f 215/305/57 200/290/57 231/303/57 +f 199/307/57 184/304/57 215/305/57 +f 214/309/57 198/306/57 215/305/57 +f 213/299/57 197/308/57 214/309/57 +f 196/310/57 197/308/57 212/297/57 +f 195/312/57 196/310/57 211/311/57 +f 210/272/57 194/271/57 211/311/57 +f 135/667/38 205/313/38 136/315/38 +f 136/668/40 206/316/40 137/318/40 +f 223/669/58 153/319/58 207/321/58 +f 152/670/9 153/322/9 222/324/9 +f 151/671/7 152/325/7 221/327/7 +f 135/672/59 151/328/59 205/330/59 +f 219/673/60 149/331/60 203/333/60 +f 148/674/17 149/334/17 218/336/17 +f 147/675/20 148/337/20 217/339/20 +f 131/676/61 147/340/61 201/342/61 +f 131/677/34 201/343/34 132/345/34 +f 132/678/35 202/346/35 133/348/35 +f 157/679/62 141/349/62 227/351/62 +f 156/680/35 157/352/35 226/354/35 +f 155/681/34 156/355/34 225/357/34 +f 155/682/63 225/358/63 139/360/63 +f 139/683/20 209/361/20 140/363/20 +f 140/684/17 210/364/17 141/366/17 +f 159/685/38 160/367/38 229/369/38 +f 159/686/64 229/370/64 143/372/64 +f 143/687/7 213/373/7 144/375/7 +f 144/688/9 214/376/9 145/378/9 +f 161/689/65 145/379/65 231/381/65 +f 160/690/40 161/382/40 230/384/40 +f 232/417/33 233/385/33 248/387/33 +f 233/385/34 234/388/34 249/386/34 +f 234/691/35 235/390/35 250/392/35 +f 235/390/36 236/393/36 251/391/36 +f 236/393/37 237/395/37 252/394/37 +f 237/395/38 238/397/38 253/396/38 +f 238/692/40 239/399/40 254/401/40 +f 239/399/39 240/402/39 255/400/39 +f 256/403/23 240/402/23 257/405/23 +f 241/404/20 242/406/20 257/405/20 +f 242/693/17 243/408/17 258/410/17 +f 243/408/14 244/411/14 259/409/14 +f 244/411/3 245/413/3 260/412/3 +f 245/413/7 246/415/7 261/414/7 +f 247/419/25 232/417/25 263/418/25 +f 246/694/9 247/419/9 262/420/9 +f 193/270/66 257/421/66 194/271/66 +f 195/312/67 194/271/67 259/423/67 +f 196/310/68 195/312/68 260/424/68 +f 197/308/69 196/310/69 261/425/69 +f 198/306/70 197/308/70 262/426/70 +f 198/306/71 262/426/71 199/307/71 +f 184/304/72 199/307/72 248/428/72 +f 184/304/73 248/428/73 185/289/73 +f 185/289/74 249/429/74 186/285/74 +f 186/285/75 250/430/75 187/283/75 +f 188/284/76 187/283/76 252/432/76 +f 188/284/77 252/432/77 189/281/77 +f 189/281/78 253/433/78 190/279/78 +f 190/279/79 254/434/79 191/275/79 +f 191/275/80 255/435/80 192/276/80 +f 192/276/81 256/436/81 193/270/81 +f 234/439/30 233/695/30 232/696/30 +f 232/696/30 247/697/30 246/698/30 +f 246/698/30 245/699/30 242/437/30 +f 244/700/30 243/701/30 242/437/30 +f 242/437/30 241/702/30 238/438/30 +f 240/703/30 239/704/30 238/438/30 +f 238/438/30 237/705/30 236/706/30 +f 236/706/30 235/707/30 234/439/30 +f 234/439/30 232/696/30 246/698/30 +f 245/699/30 244/700/30 242/437/30 +f 241/702/30 240/703/30 238/438/30 +f 238/438/30 236/706/30 234/439/30 +f 234/439/30 246/698/30 242/437/30 +f 182/243/39 170/440/39 279/244/39 +f 170/440/23 169/442/23 267/441/23 +f 169/442/20 168/444/20 266/443/20 +f 265/708/17 168/446/17 264/448/17 +f 264/448/14 167/447/14 268/450/14 +f 171/449/3 172/451/3 268/450/3 +f 172/451/7 173/453/7 269/452/7 +f 173/709/9 174/455/9 270/457/9 +f 174/455/25 175/458/25 271/456/25 +f 175/458/33 176/460/33 272/459/33 +f 176/460/34 177/462/34 273/461/34 +f 177/710/35 178/464/35 274/466/35 +f 178/464/36 179/467/36 275/465/36 +f 283/484/30 264/468/30 284/470/30 +f 268/469/30 269/471/30 284/470/30 +f 269/471/30 270/473/30 285/472/30 +f 297/538/82 296/475/82 306/477/82 +f 286/711/9 287/478/9 297/480/9 +f 270/473/30 271/481/30 286/474/30 +f 282/486/30 265/483/30 283/484/30 +f 281/488/30 266/485/30 282/486/30 +f 280/545/30 267/487/30 281/488/30 +f 312/529/83 290/489/83 303/491/83 +f 280/712/28 303/492/28 295/494/28 +f 313/526/84 304/495/84 289/497/84 +f 288/525/26 294/498/26 304/500/26 +f 271/481/30 272/501/30 287/482/30 +f 183/505/85 163/713/85 164/714/85 +f 164/714/85 292/503/85 183/505/85 +f 166/504/85 165/715/85 183/505/85 +f 2/716/26 164/506/26 1/508/26 +f 4/717/28 3/509/28 166/511/28 +f 285/515/7 286/512/7 298/514/7 +f 284/517/3 285/515/3 299/516/3 +f 283/519/14 284/517/14 300/518/14 +f 282/718/17 283/519/17 301/520/17 +f 281/524/20 282/521/20 302/523/20 +f 280/712/23 281/524/23 303/492/23 +f 287/478/25 288/525/25 296/479/25 +f 296/475/86 304/495/86 305/476/86 +f 303/491/87 302/527/87 312/529/87 +f 302/527/88 301/530/88 311/528/88 +f 310/531/89 301/530/89 309/533/89 +f 300/532/90 299/534/90 309/533/90 +f 308/535/91 299/534/91 307/537/91 +f 298/536/92 297/538/92 307/537/92 +f 290/719/1 289/539/1 293/541/1 +f 4/2/1 295/720/1 293/541/1 +f 291/540/1 294/721/1 2/3/1 +f 2/3/1 4/2/1 293/541/1 +f 2/722/30 294/543/30 164/542/30 +f 288/502/30 272/501/30 164/542/30 +f 280/545/30 295/723/30 166/544/30 +f 4/724/30 166/544/30 295/723/30 +f 276/725/30 277/546/30 292/547/30 +f 276/725/30 292/547/30 275/550/30 +f 316/726/85 314/553/85 318/555/85 +f 290/489/57 317/556/57 289/497/57 +f 313/526/57 289/497/57 314/558/57 +f 312/529/57 316/559/57 290/489/57 +f 316/559/57 312/529/57 314/558/57 +f 319/727/57 320/560/57 318/562/57 +f 317/728/28 316/563/28 321/565/28 +f 314/729/26 315/566/26 319/568/26 +f 315/730/1 317/569/1 320/571/1 +f 313/526/57 312/529/57 305/476/57 +f 305/476/57 311/528/57 306/477/57 +f 306/477/57 310/531/57 307/537/57 +f 322/731/28 325/572/28 326/574/28 +f 327/577/85 323/732/85 331/575/85 +f 331/575/85 322/733/85 326/576/85 +f 324/734/26 323/578/26 328/580/26 +f 329/583/1 325/735/1 330/581/1 +f 330/581/1 324/736/1 328/582/1 +f 80/241/30 162/584/30 325/586/30 +f 330/585/30 162/584/30 324/587/30 +f 331/590/30 94/588/30 322/589/30 +f 93/236/30 94/588/30 323/591/30 +f 332/737/30 334/592/30 333/594/30 +f 338/605/93 339/595/93 342/597/93 +f 339/738/28 335/598/28 336/600/28 +f 332/739/26 333/601/26 337/603/26 +f 333/740/1 335/604/1 338/605/1 +f 334/741/85 332/606/85 336/608/85 +f 342/597/94 343/596/94 346/610/94 +f 336/608/95 337/607/95 340/612/95 +f 339/738/28 336/600/28 343/614/28 +f 341/742/26 337/603/26 342/615/26 +f 345/743/96 346/616/96 344/618/96 +f 340/612/97 341/611/97 344/620/97 +f 347/744/28 343/614/28 344/621/28 +f 341/742/26 342/615/26 345/623/26 +l 268 285 diff --git a/assets/hbm/models/generator_rotor.obj b/assets/hbm/models/generator_rotor.obj new file mode 100644 index 000000000..fee691bda --- /dev/null +++ b/assets/hbm/models/generator_rotor.obj @@ -0,0 +1,818 @@ +# Blender v2.76 (sub 0) OBJ File: '' +# www.blender.org +o Circle +v -2.900000 0.300000 0.000000 +v -2.900000 0.105000 0.000000 +v -2.900000 0.097007 0.040182 +v -2.900000 0.097007 -0.040182 +v -2.900000 0.000000 -0.105000 +v -2.900000 0.040182 -0.097007 +v -2.900000 0.114805 -0.277164 +v -2.900000 -0.040182 -0.097007 +v -2.900000 0.000000 -0.300000 +v -2.900000 -0.105000 0.000000 +v -2.900000 -0.097008 -0.040182 +v -2.900000 -0.277164 -0.114805 +v -2.900000 -0.097008 0.040182 +v -2.900000 -0.300000 0.000000 +v -2.900000 0.000000 0.105000 +v -2.900000 -0.040182 0.097007 +v -2.900000 -0.114805 0.277164 +v -2.900000 0.040182 0.097007 +v -2.900000 0.000000 0.300000 +v -2.900000 -0.074246 0.074246 +v -2.900000 0.074246 -0.074246 +v -2.700000 0.143506 0.346455 +v -2.600000 0.143506 0.346455 +v -2.600000 0.040182 0.097007 +v -2.700000 0.040182 -0.097007 +v -2.600000 0.040182 -0.097007 +v -2.600000 0.143506 -0.346455 +v -2.600000 0.346454 -0.143506 +v -2.600000 0.097007 -0.040182 +v -2.700000 0.097007 -0.040182 +v -2.600000 0.346454 0.143506 +v -2.600000 0.375000 0.000000 +v -2.700000 0.375000 0.000000 +v -2.700000 -0.040182 0.097007 +v -2.600000 -0.040182 0.097007 +v -2.600000 -0.143506 0.346455 +v -2.700000 -0.097008 0.040182 +v -2.600000 -0.097008 0.040182 +v -2.600000 -0.074246 0.074246 +v -2.700000 0.000000 -0.375000 +v -2.600000 0.000000 -0.375000 +v -2.600000 -0.143506 -0.346455 +v -2.600000 0.074246 -0.074246 +v -2.700000 0.000000 0.375000 +v -2.600000 0.000000 0.375000 +v -2.700000 0.074246 -0.074246 +v -2.700000 0.097007 0.040182 +v -2.700000 0.346454 0.143506 +v -2.900000 0.277164 0.114805 +v -2.700000 -0.074246 0.074246 +v -2.900000 -0.277164 0.114805 +v -2.700000 -0.346455 0.143506 +v -2.700000 0.346454 -0.143506 +v -2.700000 -0.375000 0.000000 +v -2.900000 0.277164 -0.114805 +v -2.700000 -0.346455 -0.143506 +v -2.900000 0.114805 0.277164 +v -2.700000 0.040182 0.097007 +v -2.900000 0.074246 0.074246 +v -2.700000 0.074246 0.074246 +v -2.900000 -0.074246 -0.074246 +v -2.700000 -0.074246 -0.074246 +v -2.700000 -0.097008 -0.040182 +v -2.900000 -0.114805 -0.277164 +v -2.700000 -0.143506 -0.346455 +v -2.700000 -0.040182 -0.097007 +v -2.700000 0.143506 -0.346455 +v -2.700000 -0.143507 0.346455 +v -2.600000 0.097007 0.040182 +v -2.600000 0.105000 0.000000 +v -2.600000 0.000000 -0.105000 +v -2.600000 -0.040182 -0.097007 +v -2.600000 -0.346455 -0.143506 +v -2.600000 -0.097008 -0.040182 +v -2.600000 -0.105000 0.000000 +v -2.600000 -0.346455 0.143506 +v -2.600000 -0.375000 0.000000 +v -2.600000 0.000000 0.105000 +v -2.600000 0.074246 0.074246 +v -2.600000 -0.074246 -0.074246 +v -1.000000 1.000000 0.000000 +v -0.500000 1.000000 0.000000 +v -0.500000 0.923879 -0.382683 +v 0.000000 1.000000 0.000000 +v 0.000000 0.923879 0.382683 +v -1.000000 0.000000 1.000000 +v -0.500000 0.000000 1.000000 +v -0.500000 0.382683 0.923879 +v 0.000000 0.000000 1.000000 +v 0.000000 -0.382684 0.923880 +v -1.000000 -1.000000 0.000000 +v -0.500000 -1.000000 0.000000 +v -0.500000 -0.923879 0.382684 +v 0.000000 -1.000000 0.000000 +v 0.000000 -0.923879 -0.382684 +v -1.000000 0.000000 -1.000000 +v -0.500000 0.000000 -1.000000 +v -0.500000 -0.382683 -0.923880 +v 0.000000 0.000000 -1.000000 +v 0.000000 0.382683 -0.923879 +v -1.000000 0.191341 0.461940 +v -1.000000 0.000000 0.500000 +v -1.000000 0.461939 -0.191342 +v -1.000000 0.499999 0.000000 +v -1.000000 -0.191342 -0.461940 +v -1.000000 0.000000 -0.500000 +v -1.000000 -0.923879 0.382684 +v -1.000000 -0.461940 0.191342 +v -1.000000 -0.500000 0.000000 +v -0.500000 -0.461940 0.191342 +v -0.500000 -0.500000 0.000000 +v -0.500000 -0.191342 -0.461940 +v -0.500000 0.000000 -0.500000 +v -0.500000 0.461939 -0.191342 +v -0.500000 0.499999 0.000000 +v -0.500000 0.191341 0.461940 +v -0.500000 0.000000 0.500000 +v 0.500000 -0.923879 -0.382684 +v 0.500000 -1.000000 0.000000 +v 0.500000 0.923879 0.382683 +v 0.500000 1.000000 0.000000 +v 0.000000 0.191341 -0.461940 +v 0.500000 0.191342 -0.461940 +v 0.500000 0.382683 -0.923879 +v 0.500000 -0.500000 0.000000 +v 0.000000 0.000000 0.500000 +v 0.000000 -0.191342 0.461940 +v 0.000000 -0.500000 0.000000 +v 0.000000 -0.461940 -0.191342 +v 0.000000 0.000000 -0.500000 +v 0.000000 0.500000 0.000000 +v 0.000000 0.461939 0.191342 +v 0.500000 0.000000 -0.500000 +v 0.500000 0.461939 0.191342 +v 0.500000 -0.382684 0.923880 +v 0.500000 -0.191342 0.461940 +v 0.500000 0.000000 0.500000 +v 0.500000 -0.461940 -0.191342 +v 0.500000 0.000000 -1.000000 +v 0.500000 0.500000 0.000000 +v 0.500000 0.000000 1.000000 +v -1.000000 0.923879 -0.382683 +v -1.000000 0.382683 0.923879 +v -1.000000 -0.382683 -0.923880 +vt 0.386236 0.903449 +vt 0.415713 0.870412 +vt 0.422995 0.875866 +vt 0.410847 0.862251 +vt 0.415713 0.834834 +vt 0.410847 0.842996 +vt 0.372334 0.825117 +vt 0.422995 0.829381 +vt 0.386236 0.801798 +vt 0.447457 0.834834 +vt 0.440174 0.829381 +vt 0.456127 0.786216 +vt 0.452322 0.842996 +vt 0.476933 0.801798 +vt 0.447457 0.870412 +vt 0.452322 0.862251 +vt 0.490835 0.880130 +vt 0.440174 0.875866 +vt 0.476933 0.903449 +vt 0.454031 0.852623 +vt 0.409138 0.852623 +vt 0.246623 0.961651 +vt 0.246623 0.985596 +vt 0.194961 0.984565 +vt 0.363621 0.834500 +vt 0.363621 0.858444 +vt 0.308890 0.859178 +vt 0.003848 0.912819 +vt 0.055510 0.913850 +vt 0.055510 0.937794 +vt 0.729199 0.256799 +vt 0.760227 0.256554 +vt 0.760280 0.280498 +vt 0.363621 0.915692 +vt 0.363621 0.939636 +vt 0.308890 0.940370 +vt 0.868474 0.880847 +vt 0.868474 0.904791 +vt 0.861548 0.904576 +vt 0.829237 0.280498 +vt 0.829184 0.256554 +vt 0.859364 0.256799 +vt 0.599395 0.926382 +vt 0.599395 0.950326 +vt 0.592469 0.950112 +vt 0.126677 0.961231 +vt 0.156009 0.961723 +vt 0.156009 0.985662 +vt 0.515460 0.832769 +vt 0.515460 0.880657 +vt 0.507858 0.880831 +vt 0.876447 0.052192 +vt 0.820306 0.052799 +vt 0.835901 0.004751 +vt 0.515816 0.752158 +vt 0.515816 0.800038 +vt 0.507858 0.800204 +vt 0.076866 0.985019 +vt 0.063206 0.936759 +vt 0.112383 0.938128 +vt 0.759274 0.329030 +vt 0.790461 0.280743 +vt 0.599395 0.878494 +vt 0.592469 0.926167 +vt 0.554592 0.902223 +vt 0.584773 0.902468 +vt 0.577731 0.950951 +vt 0.868474 0.832958 +vt 0.861548 0.880632 +vt 0.324093 0.868334 +vt 0.363621 0.867803 +vt 0.729253 0.280743 +vt 0.018199 0.984938 +vt 0.003848 0.936764 +vt 0.528764 0.950951 +vt 0.523565 0.902468 +vt 0.324093 0.787142 +vt 0.363621 0.786612 +vt 0.232273 0.913477 +vt 0.194961 0.960621 +vt 0.117856 0.786699 +vt 0.117856 0.834587 +vt 0.110253 0.834761 +vt 0.102557 0.786699 +vt 0.102557 0.834587 +vt 0.094955 0.834761 +vt 0.135071 0.912732 +vt 0.158537 0.913126 +vt 0.867113 0.328374 +vt 0.867113 0.280494 +vt 0.873537 0.280764 +vt 0.834657 0.238675 +vt 0.820306 0.190501 +vt 0.871968 0.191531 +vt 0.803409 0.329226 +vt 0.798210 0.280743 +vt 0.828231 0.329030 +vt 0.859418 0.280743 +vt 0.868474 0.752286 +vt 0.868474 0.800174 +vt 0.861548 0.799959 +vt 0.183542 0.913083 +vt 0.187266 0.961669 +vt 0.875038 0.133253 +vt 0.820306 0.133987 +vt 0.835509 0.085895 +vt 0.631996 0.771548 +vt 0.658004 0.752071 +vt 0.680092 0.811837 +vt 0.672810 0.817291 +vt 0.667944 0.825452 +vt 0.631996 0.898612 +vt 0.614619 0.869463 +vt 0.667944 0.844707 +vt 0.672810 0.852869 +vt 0.680092 0.858322 +vt 0.719360 0.918088 +vt 0.697272 0.858322 +vt 0.704554 0.852869 +vt 0.762745 0.869463 +vt 0.745367 0.898612 +vt 0.762745 0.800696 +vt 0.709420 0.825452 +vt 0.704554 0.817291 +vt 0.745367 0.771548 +vt 0.697272 0.811837 +vt 0.117856 0.858531 +vt 0.110253 0.858705 +vt 0.554539 0.878279 +vt 0.584720 0.878524 +vt 0.102557 0.858531 +vt 0.094955 0.858705 +vt 0.790407 0.256799 +vt 0.867113 0.256554 +vt 0.873537 0.256824 +vt 0.820306 0.166557 +vt 0.187266 0.985609 +vt 0.868474 0.824118 +vt 0.861548 0.823904 +vt 0.798156 0.256799 +vt 0.875038 0.157197 +vt 0.820306 0.157931 +vt 0.515460 0.904601 +vt 0.507858 0.904776 +vt 0.876447 0.076132 +vt 0.820306 0.076739 +vt 0.523512 0.878524 +vt 0.515816 0.823978 +vt 0.507858 0.824144 +vt 0.063206 0.912819 +vt 0.112383 0.914188 +vt 0.129201 0.372761 +vt 0.166737 0.260675 +vt 0.241809 0.293193 +vt 0.204273 0.148590 +vt 0.126677 0.116398 +vt 0.377599 0.373563 +vt 0.414147 0.261091 +vt 0.487244 0.292324 +vt 0.450696 0.148619 +vt 0.372334 0.116785 +vt 0.006373 0.372761 +vt 0.043909 0.260675 +vt 0.118981 0.293193 +vt 0.081445 0.148590 +vt 0.003848 0.116398 +vt 0.252030 0.372761 +vt 0.289566 0.260675 +vt 0.364638 0.293193 +vt 0.327102 0.148590 +vt 0.249505 0.116398 +vt 0.791294 0.752071 +vt 0.832999 0.752071 +vt 0.853852 0.869567 +vt 0.280341 0.904107 +vt 0.238636 0.904107 +vt 0.217783 0.786612 +vt 0.832999 0.995687 +vt 0.791294 0.995687 +vt 0.770441 0.878192 +vt 0.003848 0.904194 +vt 0.024701 0.786699 +vt 0.066406 0.786699 +vt 0.772142 0.373775 +vt 0.791949 0.491420 +vt 0.752334 0.499351 +vt 0.996152 0.491507 +vt 0.957579 0.498777 +vt 0.938293 0.381046 +vt 0.860070 0.491420 +vt 0.820455 0.499351 +vt 0.800648 0.381707 +vt 0.928191 0.491420 +vt 0.888577 0.499351 +vt 0.868769 0.381707 +vt 0.041384 0.004313 +vt 0.118981 0.036504 +vt 0.164213 0.004313 +vt 0.241809 0.036504 +vt 0.352790 0.658302 +vt 0.350172 0.777986 +vt 0.248818 0.776560 +vt 0.494940 0.123734 +vt 0.502218 0.004313 +vt 0.607478 0.013136 +vt 0.908384 0.616996 +vt 0.867766 0.625801 +vt 0.772142 0.616996 +vt 0.731523 0.625801 +vt 0.976866 0.616509 +vt 0.935887 0.625014 +vt 0.840263 0.616996 +vt 0.799645 0.625801 +vt 0.516775 0.241834 +vt 0.607478 0.251317 +vt 0.600199 0.370739 +vt 0.615173 0.124009 +vt 0.615960 0.004313 +vt 0.721504 0.005947 +vt 0.126677 0.533589 +vt 0.129295 0.413904 +vt 0.235886 0.417131 +vt 0.020375 0.651076 +vt 0.115831 0.658512 +vt 0.110321 0.778073 +vt 0.614619 0.499049 +vt 0.617237 0.379364 +vt 0.723827 0.382591 +vt 0.511467 0.616536 +vt 0.606923 0.623972 +vt 0.601414 0.743533 +vt 0.388861 0.650593 +vt 0.484317 0.658029 +vt 0.478808 0.777591 +vt 0.243581 0.533589 +vt 0.246200 0.413904 +vt 0.352790 0.417131 +vt 0.721504 0.247240 +vt 0.720717 0.125644 +vt 0.235886 0.658301 +vt 0.233267 0.536816 +vt 0.723827 0.623761 +vt 0.721209 0.502275 +vt 0.350172 0.536816 +vt 0.617535 0.247505 +vt 0.134532 0.656876 +vt 0.622474 0.622335 +vt 0.251437 0.656876 +vt 0.372334 0.532983 +vt 0.478807 0.539444 +vt 0.494940 0.498925 +vt 0.601414 0.505386 +vt 0.600199 0.132557 +vt 0.003848 0.533466 +vt 0.110321 0.539926 +vt 0.210087 0.786612 +vt 0.189235 0.904107 +vt 0.147529 0.904107 +vt 0.729199 0.130433 +vt 0.812610 0.130433 +vt 0.791758 0.247929 +vt 0.523512 0.869654 +vt 0.544365 0.752158 +vt 0.586070 0.752158 +vt 0.729199 0.121808 +vt 0.750052 0.004313 +vt 0.791758 0.004313 +vt 0.009357 0.413904 +vt 0.115831 0.420365 +vt 0.860070 0.734640 +vt 0.819452 0.743446 +vt 0.720717 0.366936 +vt 0.616747 0.367202 +vt 0.791949 0.734640 +vt 0.751331 0.743446 +vt 0.377843 0.413422 +vt 0.484317 0.419882 +vt 0.287041 0.004313 +vt 0.364638 0.036504 +vt 0.233267 0.777986 +vt 0.131913 0.776560 +vt 0.408882 0.004313 +vt 0.500449 0.379364 +vt 0.606923 0.385824 +vt 0.996152 0.734240 +vt 0.955174 0.742746 +vt 0.928191 0.734640 +vt 0.887573 0.743446 +vt 0.721209 0.743446 +vt 0.619855 0.742020 +vt 0.407042 0.919030 +vt 0.372334 0.880130 +vt 0.407042 0.786216 +vt 0.490835 0.825117 +vt 0.456127 0.919030 +vt 0.431585 0.827466 +vt 0.431585 0.877781 +vt 0.308890 0.835234 +vt 0.308890 0.916426 +vt 0.126677 0.985171 +vt 0.507858 0.832943 +vt 0.876447 0.004313 +vt 0.507858 0.752324 +vt 0.112383 0.986007 +vt 0.783418 0.329226 +vt 0.592469 0.878279 +vt 0.553586 0.950755 +vt 0.861548 0.832744 +vt 0.734452 0.329226 +vt 0.055510 0.985682 +vt 0.194961 0.912732 +vt 0.110253 0.786873 +vt 0.094955 0.786873 +vt 0.873537 0.328643 +vt 0.871968 0.239420 +vt 0.852375 0.329226 +vt 0.861548 0.752071 +vt 0.875038 0.085365 +vt 0.614619 0.800696 +vt 0.658004 0.918088 +vt 0.709420 0.844707 +vt 0.719360 0.752071 +vt 0.666236 0.835080 +vt 0.688682 0.809922 +vt 0.711128 0.835080 +vt 0.688682 0.860237 +vt 0.871968 0.167587 +vt 0.204273 0.405279 +vt 0.450696 0.404796 +vt 0.081445 0.405279 +vt 0.327102 0.405279 +vt 0.770441 0.869567 +vt 0.301194 0.786612 +vt 0.853852 0.878192 +vt 0.087259 0.904194 +vt 0.732527 0.381707 +vt 0.976866 0.373775 +vt 0.840263 0.373775 +vt 0.908384 0.373775 +vt 0.509497 0.361255 +vt 0.014866 0.770637 +vt 0.505958 0.736097 +vt 0.383352 0.770155 +vt 0.126677 0.786612 +vt 0.750052 0.247929 +vt 0.606923 0.869654 +vt 0.812610 0.121808 +vt 0.487244 0.036146 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.923900 -0.382700 +vn 0.000000 0.923900 0.382700 +vn 0.000000 -0.382700 -0.923900 +vn 0.000000 0.980800 0.195100 +vn 0.000000 -0.923900 -0.382700 +vn 0.000000 -0.831500 0.555600 +vn 0.000000 -0.195100 -0.980800 +vn 0.000000 0.831500 -0.555600 +vn 0.000000 0.195100 0.980800 +vn 0.000000 0.555600 -0.831500 +vn -0.000000 -0.382700 0.923900 +vn 0.000000 -0.555600 0.831500 +vn 0.000000 0.382700 0.923900 +vn -0.345200 0.920500 -0.183100 +vn -0.345200 -0.920500 0.183100 +vn -0.345200 0.920500 0.183100 +vn -0.345200 -0.920500 -0.183100 +vn 0.000000 0.831500 0.555600 +vn 0.000000 -0.831500 -0.555600 +vn -0.345200 0.183100 0.920500 +vn 0.000000 0.555600 0.831500 +vn 0.000000 -0.923900 0.382700 +vn -0.345200 0.183100 -0.920500 +vn -0.345200 -0.183100 -0.920500 +vn 0.000000 -0.555600 -0.831500 +vn -0.345200 -0.183100 0.920500 +vn 0.000000 0.382700 -0.923900 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -0.980800 0.195100 +vn 0.000000 0.980800 -0.195100 +vn 0.000000 -0.195100 0.980800 +vn 0.000000 0.195100 -0.980800 +vn 0.000000 -0.980800 -0.195100 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 1.000000 0.000000 +vn -0.357400 -0.000000 0.933900 +vn -0.357400 -0.933900 0.000000 +vn -0.357400 0.000000 -0.933900 +vn -0.357400 0.933900 0.000000 +vn -0.607800 -0.303900 0.733700 +vn -0.607800 -0.733700 -0.303900 +vn -0.607800 0.303900 -0.733700 +vn -0.607800 0.733700 0.303900 +vn 0.607800 0.000000 -0.794100 +vn 0.357400 -0.357400 -0.862900 +vn 0.607800 0.794100 0.000000 +vn 0.357400 0.862900 -0.357400 +vn 0.607800 0.000000 0.794100 +vn 0.357400 0.357400 0.862900 +vn 0.607800 -0.794100 0.000000 +vn 0.357400 -0.862900 0.357400 +s 1 +f 1/1/1 2/2/1 3/3/1 +f 4/4/1 2/2/1 1/1/1 +f 5/5/1 6/6/1 7/7/1 +f 8/8/1 5/5/1 9/9/1 +f 10/10/1 11/11/1 12/12/1 +f 13/13/1 10/10/1 14/14/1 +f 15/15/1 16/16/1 17/17/1 +f 18/18/1 15/15/1 19/19/1 +f 20/20/1 2/2/1 21/21/1 +f 22/22/2 23/23/2 24/24/2 +f 25/25/3 26/26/3 27/27/3 +f 28/28/4 29/29/4 30/30/4 +f 31/31/5 32/32/5 33/33/5 +f 34/34/6 35/35/6 36/36/6 +f 37/37/7 38/38/7 39/39/7 +f 40/40/8 41/41/8 42/42/8 +f 30/43/9 29/44/9 43/45/9 +f 22/46/10 44/47/10 45/48/10 +f 21/49/11 46/50/11 25/51/11 +f 47/52/12 48/53/12 49/54/12 +f 20/55/13 50/56/13 34/57/13 +f 51/58/14 52/59/14 37/60/14 +f 1/61/15 33/33/15 53/62/15 +f 4/63/9 30/43/9 46/64/9 +f 54/65/16 52/66/16 51/67/16 +f 13/68/7 37/37/7 50/69/7 +f 17/70/6 16/71/6 34/34/6 +f 48/72/17 33/33/17 1/61/17 +f 55/73/4 53/74/4 30/30/4 +f 12/75/18 56/76/18 54/65/18 +f 7/77/3 6/78/3 25/25/3 +f 57/79/2 22/22/2 58/80/2 +f 59/81/19 60/82/19 47/83/19 +f 61/84/20 62/85/20 63/86/20 +f 57/87/21 19/88/21 44/47/21 +f 18/89/22 58/90/22 60/91/22 +f 64/92/23 65/93/23 66/94/23 +f 7/95/24 67/96/24 40/40/24 +f 9/97/25 40/40/25 65/98/25 +f 8/99/26 66/100/26 62/101/26 +f 17/102/27 68/103/27 44/47/27 +f 63/104/28 56/105/28 12/106/28 +f 32/107/29 31/108/29 69/109/29 +f 32/107/29 70/110/29 29/111/29 +f 41/112/29 27/113/29 26/114/29 +f 41/112/29 71/115/29 72/116/29 +f 73/117/29 74/118/29 75/119/29 +f 76/120/29 77/121/29 75/119/29 +f 36/122/29 35/123/29 78/124/29 +f 45/125/29 78/124/29 24/126/29 +f 78/124/29 75/119/29 70/110/29 +f 60/82/19 79/127/19 69/128/19 +f 77/129/30 76/130/30 52/66/30 +f 62/85/20 80/131/20 74/132/20 +f 32/32/31 28/133/31 53/62/31 +f 58/90/22 24/134/22 79/135/22 +f 66/94/23 65/93/23 42/136/23 +f 44/47/32 68/103/32 36/137/32 +f 66/100/26 72/138/26 80/139/26 +f 67/96/33 27/140/33 41/41/33 +f 74/141/28 73/142/28 56/105/28 +f 46/50/11 43/143/11 26/144/11 +f 69/145/12 31/146/12 48/53/12 +f 73/147/34 77/129/34 54/65/34 +f 50/56/13 39/148/13 35/149/13 +f 76/150/14 38/151/14 37/60/14 +f 81/152/31 82/153/31 83/154/31 +f 82/153/31 84/155/31 83/154/31 +f 84/155/5 82/153/5 85/156/5 +f 86/157/10 87/158/10 88/159/10 +f 88/159/10 87/158/10 89/160/10 +f 89/160/32 87/158/32 90/161/32 +f 91/162/30 92/163/30 93/164/30 +f 92/163/30 94/165/30 93/164/30 +f 94/165/34 92/163/34 95/166/34 +f 96/167/8 97/168/8 98/169/8 +f 97/168/8 99/170/8 98/169/8 +f 99/170/33 97/168/33 100/171/33 +f 101/172/1 102/173/1 86/174/1 +f 103/175/1 104/176/1 81/177/1 +f 105/178/1 106/179/1 96/180/1 +f 107/181/1 108/182/1 109/183/1 +f 108/184/31 110/185/31 111/186/31 +f 112/187/10 113/188/10 106/189/10 +f 114/190/30 115/191/30 104/192/30 +f 116/193/8 117/194/8 102/195/8 +f 95/166/34 118/196/34 119/197/34 +f 85/156/5 120/198/5 121/199/5 +f 122/200/3 123/201/3 124/202/3 +f 94/203/35 119/204/35 125/205/35 +f 117/194/8 116/193/8 126/206/8 +f 126/206/33 127/207/33 117/194/33 +f 110/185/31 128/208/31 111/186/31 +f 128/208/5 129/209/5 111/186/5 +f 112/187/10 130/210/10 113/188/10 +f 130/210/32 122/211/32 113/188/32 +f 114/190/30 131/212/30 115/191/30 +f 131/212/34 132/213/34 115/191/34 +f 93/214/14 110/215/14 108/216/14 +f 82/217/35 81/218/35 104/219/35 +f 87/220/36 86/221/36 102/222/36 +f 98/223/23 112/224/23 105/225/23 +f 92/226/37 91/227/37 109/228/37 +f 88/229/2 116/230/2 101/231/2 +f 83/232/4 114/233/4 103/234/4 +f 97/235/38 96/236/38 106/237/38 +f 132/238/39 82/217/39 115/239/39 +f 127/240/40 87/220/40 117/241/40 +f 129/242/41 92/226/41 111/243/41 +f 122/200/42 97/235/42 113/244/42 +f 82/217/43 132/238/43 85/245/43 +f 87/220/44 127/240/44 90/246/44 +f 92/226/45 129/242/45 95/247/45 +f 97/235/46 122/200/46 100/248/46 +f 83/232/47 84/249/47 131/250/47 +f 131/250/48 114/233/48 83/232/48 +f 88/229/49 89/251/49 126/252/49 +f 126/252/50 116/230/50 88/229/50 +f 93/214/51 94/203/51 128/253/51 +f 128/253/52 110/215/52 93/214/52 +f 98/223/53 99/254/53 130/255/53 +f 130/255/54 112/224/54 98/223/54 +f 124/256/29 123/257/29 133/258/29 +f 121/259/29 120/260/29 134/261/29 +f 135/262/29 136/263/29 137/264/29 +f 118/265/29 138/266/29 125/267/29 +f 99/254/36 139/268/36 133/269/36 +f 131/212/34 140/270/34 134/271/34 +f 132/238/12 134/272/12 120/273/12 +f 128/208/5 125/274/5 138/275/5 +f 84/249/37 121/276/37 140/277/37 +f 100/171/33 124/278/33 139/279/33 +f 127/240/6 136/280/6 135/281/6 +f 89/160/32 90/161/32 135/282/32 +f 89/251/38 141/283/38 137/284/38 +f 130/210/32 133/285/32 123/286/32 +f 126/206/33 137/287/33 136/288/33 +f 129/242/28 138/289/28 118/290/28 +f 49/291/1 1/1/1 3/3/1 +f 55/292/1 4/4/1 1/1/1 +f 9/9/1 5/5/1 7/7/1 +f 64/293/1 8/8/1 9/9/1 +f 14/14/1 10/10/1 12/12/1 +f 51/294/1 13/13/1 14/14/1 +f 19/19/1 15/15/1 17/17/1 +f 57/295/1 18/18/1 19/19/1 +f 21/21/1 6/6/1 5/5/1 +f 5/5/1 8/8/1 61/296/1 +f 61/296/1 11/11/1 10/10/1 +f 10/10/1 13/13/1 20/20/1 +f 20/20/1 16/16/1 15/15/1 +f 15/15/1 18/18/1 59/297/1 +f 59/297/1 3/3/1 2/2/1 +f 2/2/1 4/4/1 21/21/1 +f 21/21/1 5/5/1 61/296/1 +f 61/296/1 10/10/1 20/20/1 +f 20/20/1 15/15/1 59/297/1 +f 59/297/1 2/2/1 20/20/1 +f 21/21/1 61/296/1 20/20/1 +f 58/80/2 22/22/2 24/24/2 +f 67/298/3 25/25/3 27/27/3 +f 53/74/4 28/28/4 30/30/4 +f 48/72/5 31/31/5 33/33/5 +f 68/299/6 34/34/6 36/36/6 +f 50/69/7 37/37/7 39/39/7 +f 65/98/8 40/40/8 42/42/8 +f 46/64/9 30/43/9 43/45/9 +f 23/300/10 22/46/10 45/48/10 +f 6/301/11 21/49/11 25/51/11 +f 3/302/12 47/52/12 49/54/12 +f 16/303/13 20/55/13 34/57/13 +f 13/304/14 51/58/14 37/60/14 +f 55/305/15 1/61/15 53/62/15 +f 21/306/9 4/63/9 46/64/9 +f 14/307/16 54/65/16 51/67/16 +f 20/308/7 13/68/7 50/69/7 +f 68/299/6 17/70/6 34/34/6 +f 49/309/17 48/72/17 1/61/17 +f 4/310/4 55/73/4 30/30/4 +f 14/307/18 12/75/18 54/65/18 +f 67/298/3 7/77/3 25/25/3 +f 18/311/2 57/79/2 58/80/2 +f 3/312/19 59/81/19 47/83/19 +f 11/313/20 61/84/20 63/86/20 +f 22/46/21 57/87/21 44/47/21 +f 59/314/22 18/89/22 60/91/22 +f 8/315/23 64/92/23 66/94/23 +f 9/97/24 7/95/24 40/40/24 +f 64/316/25 9/97/25 65/98/25 +f 61/317/26 8/99/26 62/101/26 +f 19/88/27 17/102/27 44/47/27 +f 11/318/28 63/104/28 12/106/28 +f 70/110/29 32/107/29 69/109/29 +f 28/319/29 32/107/29 29/111/29 +f 71/115/29 41/112/29 26/114/29 +f 42/320/29 41/112/29 72/116/29 +f 77/121/29 73/117/29 75/119/29 +f 38/321/29 76/120/29 75/119/29 +f 45/125/29 36/122/29 78/124/29 +f 23/322/29 45/125/29 24/126/29 +f 71/115/29 26/114/29 43/323/29 +f 43/323/29 29/111/29 71/115/29 +f 70/110/29 69/109/29 78/124/29 +f 79/324/29 24/126/29 78/124/29 +f 78/124/29 35/123/29 39/325/29 +f 39/325/29 38/321/29 78/124/29 +f 75/119/29 74/118/29 71/115/29 +f 80/326/29 72/116/29 71/115/29 +f 71/115/29 29/111/29 70/110/29 +f 69/109/29 79/324/29 78/124/29 +f 78/124/29 38/321/29 75/119/29 +f 74/118/29 80/326/29 71/115/29 +f 71/115/29 70/110/29 75/119/29 +f 47/83/19 60/82/19 69/128/19 +f 54/65/30 77/129/30 52/66/30 +f 63/86/20 62/85/20 74/132/20 +f 33/33/31 32/32/31 53/62/31 +f 60/91/22 58/90/22 79/135/22 +f 72/327/23 66/94/23 42/136/23 +f 45/48/32 44/47/32 36/137/32 +f 62/101/26 66/100/26 80/139/26 +f 40/40/33 67/96/33 41/41/33 +f 63/104/28 74/141/28 56/105/28 +f 25/51/11 46/50/11 26/144/11 +f 47/52/12 69/145/12 48/53/12 +f 56/76/34 73/147/34 54/65/34 +f 34/57/13 50/56/13 35/149/13 +f 52/59/14 76/150/14 37/60/14 +f 142/328/31 81/152/31 83/154/31 +f 143/329/10 86/157/10 88/159/10 +f 107/330/30 91/162/30 93/164/30 +f 144/331/8 96/167/8 98/169/8 +f 143/332/1 101/172/1 86/174/1 +f 142/333/1 103/175/1 81/177/1 +f 144/334/1 105/178/1 96/180/1 +f 91/335/1 107/181/1 109/183/1 +f 109/336/31 108/184/31 111/186/31 +f 105/337/10 112/187/10 106/189/10 +f 103/338/30 114/190/30 104/192/30 +f 101/339/8 116/193/8 102/195/8 +f 94/165/34 95/166/34 119/197/34 +f 84/155/5 85/156/5 121/199/5 +f 100/248/3 122/200/3 124/202/3 +f 128/253/35 94/203/35 125/205/35 +f 107/340/14 93/214/14 108/216/14 +f 115/239/35 82/217/35 104/219/35 +f 117/241/36 87/220/36 102/222/36 +f 144/341/23 98/223/23 105/225/23 +f 111/243/37 92/226/37 109/228/37 +f 143/342/2 88/229/2 101/231/2 +f 142/343/4 83/232/4 103/234/4 +f 113/244/38 97/235/38 106/237/38 +f 139/344/29 124/256/29 133/258/29 +f 140/345/29 121/259/29 134/261/29 +f 141/346/29 135/262/29 137/264/29 +f 119/347/29 118/265/29 125/267/29 +f 130/255/36 99/254/36 133/269/36 +f 132/213/34 131/212/34 134/271/34 +f 85/245/12 132/238/12 120/273/12 +f 129/209/5 128/208/5 138/275/5 +f 131/250/37 84/249/37 140/277/37 +f 99/170/33 100/171/33 139/279/33 +f 90/246/6 127/240/6 135/281/6 +f 141/348/32 89/160/32 135/282/32 +f 126/252/38 89/251/38 137/284/38 +f 122/211/32 130/210/32 123/286/32 +f 127/207/33 126/206/33 136/288/33 +f 95/247/28 129/242/28 118/290/28 diff --git a/assets/hbm/models/tank.obj b/assets/hbm/models/tank.obj new file mode 100644 index 000000000..d1f520980 --- /dev/null +++ b/assets/hbm/models/tank.obj @@ -0,0 +1,387 @@ +# Blender v2.70 (sub 0) OBJ File: 'tank.blend' +# www.blender.org +o Cylinder.001 +v -0.300000 0.375000 -0.050000 +v -0.300000 0.375000 -0.450000 +v 0.300000 0.375000 -0.450000 +v 0.300000 0.375000 -0.050000 +v -0.300000 0.675000 -0.050000 +v -0.300000 0.675000 -0.450000 +v 0.300000 0.675000 -0.450000 +v 0.300000 0.675000 -0.050000 +v -0.300000 1.325000 -0.050000 +v -0.300000 1.325000 -0.450000 +v 0.300000 1.325000 -0.450000 +v 0.300000 1.325000 -0.050000 +v -0.300000 1.625000 -0.050000 +v -0.300000 1.625000 -0.450000 +v 0.300000 1.625000 -0.450000 +v 0.300000 1.625000 -0.050000 +v 0.000000 0.950000 -0.500000 +v 0.000000 1.050000 -0.500000 +v 0.353553 0.950000 -0.353553 +v 0.353553 1.050000 -0.353553 +v 0.500000 0.950000 0.000000 +v 0.500000 1.050000 0.000000 +v 0.353553 0.950000 0.353553 +v 0.353553 1.050000 0.353553 +v -0.000000 0.950000 0.500000 +v -0.000000 1.050000 0.500000 +v -0.353553 0.950000 0.353553 +v -0.353553 1.050000 0.353553 +v -0.500000 0.950000 -0.000000 +v -0.500000 1.050000 -0.000000 +v -0.353553 0.950000 -0.353553 +v -0.353553 1.050000 -0.353553 +v 0.000000 1.900000 -0.500000 +v 0.000000 2.000000 -0.500000 +v 0.353553 1.900000 -0.353553 +v 0.353553 2.000000 -0.353553 +v 0.500000 1.900000 0.000000 +v 0.500000 2.000000 0.000000 +v 0.353553 1.900000 0.353553 +v 0.353553 2.000000 0.353553 +v -0.000000 1.900000 0.500000 +v -0.000000 2.000000 0.500000 +v -0.353553 1.900000 0.353553 +v -0.353553 2.000000 0.353553 +v -0.500000 1.900000 -0.000000 +v -0.500000 2.000000 -0.000000 +v -0.353553 1.900000 -0.353553 +v -0.353553 2.000000 -0.353553 +v 0.000000 0.000000 -0.500000 +v 0.000000 0.100000 -0.500000 +v 0.353553 0.000000 -0.353553 +v 0.353553 0.100000 -0.353553 +v 0.500000 0.000000 0.000000 +v 0.500000 0.100000 0.000000 +v 0.353553 0.000000 0.353553 +v 0.353553 0.100000 0.353553 +v -0.000000 0.000000 0.500000 +v -0.000000 0.100000 0.500000 +v -0.353553 0.000000 0.353553 +v -0.353553 0.100000 0.353553 +v -0.500000 0.000000 -0.000000 +v -0.500000 0.100000 -0.000000 +v -0.353553 0.000000 -0.353553 +v -0.353553 0.100000 -0.353553 +v 0.000000 -0.000000 -0.450000 +v 0.000000 2.000000 -0.450000 +v 0.318198 -0.000000 -0.318198 +v 0.318198 2.000000 -0.318198 +v 0.450000 -0.000000 0.000000 +v 0.450000 2.000000 0.000000 +v 0.318198 -0.000000 0.318198 +v 0.318198 2.000000 0.318198 +v -0.000000 -0.000000 0.450000 +v -0.000000 2.000000 0.450000 +v -0.318198 -0.000000 0.318198 +v -0.318198 2.000000 0.318198 +v -0.450000 -0.000000 -0.000000 +v -0.450000 2.000000 -0.000000 +v -0.318198 -0.000000 -0.318198 +v -0.318198 2.000000 -0.318198 +vt 0.077530 0.935610 +vt 0.000000 0.935610 +vt 0.000000 0.831653 +vt 0.000000 0.519783 +vt 0.077530 0.519783 +vt 0.077530 0.675718 +vt 0.961516 0.935610 +vt 0.883986 0.935610 +vt 0.883986 0.831653 +vt 0.000000 0.675718 +vt 0.077530 0.831653 +vt 0.806456 0.675718 +vt 0.806456 0.519783 +vt 0.909829 0.519783 +vt 0.225559 0.915826 +vt 0.225559 0.759892 +vt 0.328933 0.759892 +vt 0.896627 0.279675 +vt 0.974157 0.279675 +vt 0.974157 0.383631 +vt 0.090171 0.759892 +vt 0.167701 0.759892 +vt 0.167701 0.915826 +vt 0.806456 0.935609 +vt 0.806456 0.831653 +vt 0.567694 0.915827 +vt 0.490164 0.915827 +vt 0.490164 0.759892 +vt 0.328933 0.915826 +vt 0.432306 0.759892 +vt 0.909829 0.675718 +vt 0.909829 0.583832 +vt 0.909829 0.491947 +vt 0.935673 0.491947 +vt 0.193544 0.759892 +vt 0.193544 0.851777 +vt 0.167701 0.851777 +vt 0.193544 0.943663 +vt 0.167701 0.943663 +vt 0.896627 0.187789 +vt 0.922470 0.187789 +vt 0.896627 0.095904 +vt 0.922470 0.095904 +vt 0.219388 0.851777 +vt 0.806456 0.590109 +vt 0.806456 0.689565 +vt 0.736524 0.759892 +vt 0.935673 0.583832 +vt 0.219388 0.759892 +vt 0.736524 1.000000 +vt 0.637626 0.759892 +vt 0.806456 0.929674 +vt 0.961516 0.583832 +vt 0.961516 0.491947 +vt 0.987359 0.491947 +vt 0.961516 0.859489 +vt 0.961516 0.767604 +vt 0.987359 0.767604 +vt 0.961516 0.675718 +vt 0.987359 0.675718 +vt 0.974157 0.095904 +vt 0.974157 0.187789 +vt 0.948313 0.187789 +vt 0.948313 0.279675 +vt 0.974157 0.463446 +vt 0.974157 0.371560 +vt 1.000000 0.371560 +vt 0.896627 0.350001 +vt 0.896627 0.449457 +vt 0.826695 0.519783 +vt 0.987359 0.583832 +vt 1.000000 0.279675 +vt 0.160103 0.759892 +vt 0.259001 0.519783 +vt 0.259001 0.759892 +vt 0.922470 0.279675 +vt 0.458149 0.759892 +vt 0.458149 0.851777 +vt 0.432306 0.851777 +vt 0.458149 0.943663 +vt 0.432306 0.943663 +vt 0.464321 0.943663 +vt 0.464321 0.851777 +vt 0.490164 0.851777 +vt 0.464321 0.759892 +vt 0.826695 0.240108 +vt 0.727797 0.000000 +vt 0.896627 0.169782 +vt 0.948313 0.095904 +vt 0.935673 0.675718 +vt 0.398864 0.759892 +vt 0.497762 0.519783 +vt 0.497763 0.759892 +vt 0.082232 -0.000000 +vt 0.082234 0.519783 +vt 0.000001 0.519783 +vt 0.575632 0.519783 +vt 0.493399 0.519783 +vt 0.493398 0.000000 +vt 0.657865 -0.000000 +vt 0.657865 0.519783 +vt 0.411166 0.519783 +vt 0.411166 0.000000 +vt 0.328933 0.519783 +vt 0.328932 0.000000 +vt 0.246699 0.519783 +vt 0.164466 0.000000 +vt 0.164466 0.519783 +vt 0.082233 0.519783 +vt 0.246699 0.000000 +vt 0.961516 0.831653 +vt 0.896627 0.383631 +vt 0.090171 0.915826 +vt 0.567694 0.759892 +vt 0.432306 0.915826 +vt 0.909829 0.831653 +vt 0.219388 0.943663 +vt 0.567694 0.689565 +vt 0.637626 0.519783 +vt 0.567694 0.590109 +vt 0.736524 0.519783 +vt 0.637626 1.000000 +vt 0.567694 0.929674 +vt 0.567694 0.830218 +vt 0.806456 0.830218 +vt 0.987359 0.859489 +vt 1.000000 0.463446 +vt 0.727797 0.519783 +vt 0.657865 0.449457 +vt 0.657865 0.350001 +vt 0.727797 0.279675 +vt 0.826695 0.279675 +vt 0.090171 0.689565 +vt 0.090171 0.590109 +vt 0.160103 0.519783 +vt 0.328932 0.590109 +vt 0.328933 0.689565 +vt 0.490164 0.943663 +vt 0.727797 0.240108 +vt 0.657865 0.169782 +vt 0.657865 0.070326 +vt 0.826695 0.000000 +vt 0.896627 0.070326 +vt 0.328933 0.590109 +vt 0.398864 0.519783 +vt -0.000001 0.000000 +vt 0.575632 -0.000000 +vt 0.493399 0.000000 +vt 0.328933 0.000000 +vt 0.082233 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.000000 1.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 1.000000 0.000000 +vn 0.382684 0.000000 -0.923880 +vn 0.923880 0.000000 -0.382683 +vn 0.923880 0.000000 0.382683 +vn 0.382683 0.000000 0.923880 +vn -0.382684 0.000000 0.923880 +vn -0.923880 0.000000 0.382683 +vn -0.382684 0.000000 -0.923880 +vn -0.923880 0.000000 -0.382683 +vn 0.382683 0.000000 -0.923880 +vn -0.382683 0.000000 0.923880 +vn 0.000000 1.000000 0.000001 +vn 0.000000 -1.000000 0.000001 +vn -0.382684 0.000000 -0.923879 +vn 0.382684 0.000000 0.923880 +vn 0.000000 1.000000 -0.000001 +vn 0.923879 0.000000 -0.382684 +vn 0.923879 0.000000 0.382684 +vn -0.923879 0.000000 0.382684 +vn -0.382683 0.000000 -0.923880 +vn -0.923879 0.000000 -0.382684 +vn 0.000000 -1.000000 -0.000001 +vn 0.923880 0.000000 0.382684 +vn -0.382684 0.000000 0.923879 +s off +f 6/1/1 2/2/1 1/3/1 +f 7/4/2 3/5/2 2/6/2 +f 8/7/3 4/8/3 3/9/3 +f 5/10/4 1/6/4 4/11/4 +f 2/12/5 3/13/5 4/14/5 +f 7/15/6 6/16/6 5/17/6 +f 14/18/1 10/19/1 9/20/1 +f 15/21/2 11/22/2 10/23/2 +f 16/8/3 12/24/3 11/25/3 +f 13/26/4 9/27/4 12/28/4 +f 10/29/5 11/17/5 12/30/5 +f 15/25/6 14/12/6 13/31/6 +f 18/32/7 20/33/7 19/34/7 +f 20/35/8 22/36/8 21/37/8 +f 22/36/9 24/38/9 23/39/9 +f 24/18/10 26/40/10 25/41/10 +f 26/40/11 28/42/11 27/43/11 +f 28/38/12 30/36/12 29/44/12 +f 26/45/6 24/46/6 22/47/6 +f 32/31/13 18/32/13 17/48/13 +f 30/36/14 32/35/14 31/49/14 +f 31/50/5 23/51/5 29/52/5 +f 34/53/15 36/54/15 35/55/15 +f 36/56/8 38/57/8 37/58/8 +f 38/57/9 40/59/9 39/60/9 +f 40/61/10 42/62/10 41/63/10 +f 42/62/16 44/19/16 43/64/16 +f 44/65/12 46/66/12 45/67/12 +f 42/68/17 40/69/17 38/70/17 +f 48/59/13 34/53/13 33/71/13 +f 46/66/14 48/19/14 47/72/14 +f 47/73/18 39/74/18 45/75/18 +f 50/63/15 52/64/15 51/76/15 +f 52/77/8 54/78/8 53/79/8 +f 54/78/9 56/80/9 55/81/9 +f 56/82/10 58/83/10 57/84/10 +f 58/83/11 60/85/11 59/28/11 +f 60/54/12 62/53/12 61/48/12 +f 54/86/6 62/87/6 56/88/6 +f 64/89/13 50/63/13 49/41/13 +f 62/53/14 64/59/14 63/90/14 +f 63/91/5 55/92/5 61/93/5 +f 65/94/15 66/95/15 68/96/15 +f 68/97/8 70/98/8 69/99/8 +f 69/100/9 70/101/9 72/97/9 +f 72/98/10 74/102/10 73/103/10 +f 73/103/16 74/102/16 76/104/16 +f 75/105/12 76/104/12 78/106/12 +f 79/107/19 80/108/19 66/109/19 +f 77/110/14 78/106/14 80/108/14 +f 5/11/1 6/1/1 1/3/1 +f 6/10/2 7/4/2 2/6/2 +f 7/111/3 8/7/3 3/9/3 +f 8/3/4 5/10/4 4/11/4 +f 1/31/5 2/12/5 4/14/5 +f 8/29/6 7/15/6 5/17/6 +f 13/112/1 14/18/1 9/20/1 +f 14/113/2 15/21/2 10/23/2 +f 15/9/3 16/8/3 11/25/3 +f 16/114/4 13/26/4 12/28/4 +f 9/115/5 10/29/5 12/30/5 +f 16/116/6 15/25/6 13/31/6 +f 17/48/15 18/32/15 19/34/15 +f 19/22/8 20/35/8 21/37/8 +f 21/37/9 22/36/9 23/39/9 +f 23/76/20 24/18/20 25/41/20 +f 25/41/11 26/40/11 27/43/11 +f 27/117/12 28/38/12 29/44/12 +f 18/118/6 30/119/6 20/51/6 +f 18/118/6 32/120/6 30/119/6 +f 30/119/21 28/121/21 26/45/21 +f 31/90/13 32/31/13 17/48/13 +f 29/44/14 30/36/14 31/49/14 +f 30/119/6 26/45/6 22/47/6 +f 30/119/6 22/47/6 20/51/6 +f 31/50/5 17/122/5 19/123/5 +f 19/123/5 21/124/5 23/51/5 +f 23/51/5 25/47/5 27/125/5 +f 33/71/15 34/53/15 35/55/15 +f 31/50/5 19/123/5 23/51/5 +f 35/126/22 36/56/22 37/58/22 +f 23/51/5 27/125/5 29/52/5 +f 37/58/23 38/57/23 39/60/23 +f 39/89/10 40/61/10 41/63/10 +f 41/63/11 42/62/11 43/64/11 +f 43/127/24 44/65/24 45/67/24 +f 38/70/6 36/128/6 34/129/6 +f 34/129/6 48/130/6 46/131/6 +f 46/131/6 44/132/6 42/68/6 +f 47/60/25 48/59/25 33/71/25 +f 38/70/6 34/129/6 46/131/6 +f 46/131/6 42/68/6 38/70/6 +f 45/67/26 46/66/26 47/72/26 +f 47/73/5 33/133/5 35/134/5 +f 35/134/5 37/135/5 39/74/5 +f 39/74/5 41/136/5 43/137/5 +f 49/41/15 50/63/15 51/76/15 +f 47/73/5 35/134/5 39/74/5 +f 51/30/8 52/77/8 53/79/8 +f 39/74/27 43/137/27 45/75/27 +f 53/79/9 54/78/9 55/81/9 +f 55/138/10 56/82/10 57/84/10 +f 57/84/11 58/83/11 59/28/11 +f 59/34/12 60/54/12 61/48/12 +f 54/86/6 52/139/6 50/140/6 +f 50/140/6 64/141/6 62/87/6 +f 62/87/6 60/142/6 58/143/6 +f 63/43/13 64/89/13 49/41/13 +f 54/86/6 50/140/6 62/87/6 +f 61/48/14 62/53/14 63/90/14 +f 62/87/6 58/143/6 56/88/6 +f 63/91/5 49/137/5 51/144/5 +f 51/144/5 53/145/5 55/92/5 +f 55/92/5 57/120/5 59/118/5 +f 67/146/15 65/94/15 68/96/15 +f 63/91/5 51/144/5 55/92/5 +f 67/147/8 68/97/8 69/99/8 +f 55/92/5 59/118/5 61/93/5 +f 71/147/28 69/100/28 72/97/28 +f 71/148/10 72/98/10 73/103/10 +f 75/149/29 73/103/29 76/104/29 +f 77/110/12 75/105/12 78/106/12 +f 65/150/25 79/107/25 66/109/25 +f 79/107/14 77/110/14 80/108/14 diff --git a/assets/hbm/sounds.json b/assets/hbm/sounds.json index 90fc3a7fc..28019a098 100644 --- a/assets/hbm/sounds.json +++ b/assets/hbm/sounds.json @@ -1,41 +1,39 @@ -{ - "misc.nullTau": {"category": "player", "sounds": [{"name": "misc/null", "stream": false}]}, - "misc.nullChopper": {"category": "player", "sounds": [{"name": "misc/null", "stream": false}]}, - "misc.nullCrashing": {"category": "player", "sounds": [{"name": "misc/null", "stream": false}]}, - "misc.nullMine": {"category": "player", "sounds": [{"name": "misc/null", "stream": false}]}, - - "block.crateBreak": {"category": "block", "sounds": ["block/crateBreak1", "block/crateBreak2", "block/crateBreak3", "block/crateBreak4", "block/crateBreak5"]}, - - "music.recordLambdaCore": {"category": "record", "sounds": [{"name": "music/recordLambdaCore", "stream": true}]}, - "music.recordSectorSweep": {"category": "record", "sounds": [{"name": "music/recordSectorSweep", "stream": true}]}, - "music.recordVortalCombat": {"category": "record", "sounds": [{"name": "music/recordVortalCombat", "stream": true}]}, - - "weapon.tauShoot": {"category": "player", "sounds": [{"name": "weapon/tauShoot", "stream": false}]}, - "weapon.tauChargeLoop2": {"category": "player", "sounds": [{"name": "weapon/tauChargeLoop2", "stream": true}]}, - "weapon.revolverShoot": {"category": "player", "sounds": [{"name": "weapon/revolverShoot", "stream": false}]}, - "weapon.heavyShoot": {"category": "player", "sounds": [{"name": "weapon/heavyShoot", "stream": false}]}, - "weapon.schrabidiumShoot": {"category": "player", "sounds": [{"name": "weapon/schrabidiumShoot", "stream": false}]}, - "weapon.osiprShoot": {"category": "player", "sounds": [{"name": "weapon/osiprShoot", "stream": false}]}, - "weapon.osiprAltFire": {"category": "player", "sounds": [{"name": "weapon/osiprAltFire", "stream": false}]}, - "weapon.osiprCharging": {"category": "player", "sounds": [{"name": "weapon/osiprCharging", "stream": false}]}, - "weapon.singFlyby": {"category": "player", "sounds": [{"name": "weapon/singFlyby", "stream": false}]}, - "weapon.rifleShoot": {"category": "player", "sounds": [{"name": "weapon/rifleShoot", "stream": false}]}, - "weapon.rpgShoot": {"category": "player", "sounds": [{"name": "weapon/rpgShoot", "stream": false}]}, - "weapon.fatmanShoot": {"category": "player", "sounds": [{"name": "weapon/fatmanShoot", "stream": false}]}, - "weapon.zomgShoot": {"category": "player", "sounds": [{"name": "weapon/zomgShoot", "stream": false}]}, -<<<<<<< HEAD - "weapon.flamethrowerIgnite": {"category": "player", "sounds": [{"name": "weapon/flamethrowerIgnite", "stream": false}]}, - "weapon.flamethrowerShoot": {"category": "player", "sounds": [{"name": "weapon/flamethrowerShoot", "stream": false}]}, - "weapon.immolatorIgnite": {"category": "player", "sounds": [{"name": "weapon/immolatorIgnite", "stream": false}]}, - "weapon.immolatorShoot": {"category": "player", "sounds": [{"name": "weapon/immolatorShoot", "stream": false}]}, - "weapon.cryolatorShoot": {"category": "player", "sounds": [{"name": "weapon/cryolatorShoot", "stream": false}]}, -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - "entity.chopperFlyingLoop": {"category": "hostile", "sounds": [{"name": "entity/chopperFlyingLoop", "stream": true}]}, - "entity.chopperDrop": {"category": "hostile", "sounds": [{"name": "entity/chopperDrop", "stream": false}]}, - "entity.chopperCharge": {"category": "hostile", "sounds": [{"name": "entity/chopperCharge", "stream": false}]}, - "entity.chopperDamage": {"category": "hostile", "sounds": [{"name": "entity/chopperDamage", "stream": true}]}, - "entity.chopperMineLoop": {"category": "hostile", "sounds": [{"name": "entity/chopperMineLoop", "stream": false}]}, - "entity.chopperCrashingLoop": {"category": "hostile", "sounds": [{"name": "entity/chopperCrashingLoop", "stream": true}]} -} +{ + "misc.nullTau": {"category": "player", "sounds": [{"name": "misc/null", "stream": false}]}, + "misc.nullChopper": {"category": "player", "sounds": [{"name": "misc/null", "stream": false}]}, + "misc.nullCrashing": {"category": "player", "sounds": [{"name": "misc/null", "stream": false}]}, + "misc.nullMine": {"category": "player", "sounds": [{"name": "misc/null", "stream": false}]}, + + "block.crateBreak": {"category": "block", "sounds": ["block/crateBreak1", "block/crateBreak2", "block/crateBreak3", "block/crateBreak4", "block/crateBreak5"]}, + + "music.recordLambdaCore": {"category": "record", "sounds": [{"name": "music/recordLambdaCore", "stream": true}]}, + "music.recordSectorSweep": {"category": "record", "sounds": [{"name": "music/recordSectorSweep", "stream": true}]}, + "music.recordVortalCombat": {"category": "record", "sounds": [{"name": "music/recordVortalCombat", "stream": true}]}, + + "weapon.tauShoot": {"category": "player", "sounds": [{"name": "weapon/tauShoot", "stream": false}]}, + "weapon.tauChargeLoop2": {"category": "player", "sounds": [{"name": "weapon/tauChargeLoop2", "stream": true}]}, + "weapon.revolverShoot": {"category": "player", "sounds": [{"name": "weapon/revolverShoot", "stream": false}]}, + "weapon.heavyShoot": {"category": "player", "sounds": [{"name": "weapon/heavyShoot", "stream": false}]}, + "weapon.shotgunShoot": {"category": "player", "sounds": [{"name": "weapon/shotgunShoot", "stream": false}]}, + "weapon.schrabidiumShoot": {"category": "player", "sounds": [{"name": "weapon/schrabidiumShoot", "stream": false}]}, + "weapon.osiprShoot": {"category": "player", "sounds": [{"name": "weapon/osiprShoot", "stream": false}]}, + "weapon.osiprAltFire": {"category": "player", "sounds": [{"name": "weapon/osiprAltFire", "stream": false}]}, + "weapon.osiprCharging": {"category": "player", "sounds": [{"name": "weapon/osiprCharging", "stream": false}]}, + "weapon.singFlyby": {"category": "player", "sounds": [{"name": "weapon/singFlyby", "stream": false}]}, + "weapon.rifleShoot": {"category": "player", "sounds": [{"name": "weapon/rifleShoot", "stream": false}]}, + "weapon.rpgShoot": {"category": "player", "sounds": [{"name": "weapon/rpgShoot", "stream": false}]}, + "weapon.fatmanShoot": {"category": "player", "sounds": [{"name": "weapon/fatmanShoot", "stream": false}]}, + "weapon.zomgShoot": {"category": "player", "sounds": [{"name": "weapon/zomgShoot", "stream": false}]}, + "weapon.flamethrowerIgnite": {"category": "player", "sounds": [{"name": "weapon/flamethrowerIgnite", "stream": false}]}, + "weapon.flamethrowerShoot": {"category": "player", "sounds": [{"name": "weapon/flamethrowerShoot", "stream": false}]}, + "weapon.immolatorIgnite": {"category": "player", "sounds": [{"name": "weapon/immolatorIgnite", "stream": false}]}, + "weapon.immolatorShoot": {"category": "player", "sounds": [{"name": "weapon/immolatorShoot", "stream": false}]}, + "weapon.cryolatorShoot": {"category": "player", "sounds": [{"name": "weapon/cryolatorShoot", "stream": false}]}, + + "entity.chopperFlyingLoop": {"category": "hostile", "sounds": [{"name": "entity/chopperFlyingLoop", "stream": true}]}, + "entity.chopperDrop": {"category": "hostile", "sounds": [{"name": "entity/chopperDrop", "stream": false}]}, + "entity.chopperCharge": {"category": "hostile", "sounds": [{"name": "entity/chopperCharge", "stream": false}]}, + "entity.chopperDamage": {"category": "hostile", "sounds": [{"name": "entity/chopperDamage", "stream": true}]}, + "entity.chopperMineLoop": {"category": "hostile", "sounds": [{"name": "entity/chopperMineLoop", "stream": false}]}, + "entity.chopperCrashingLoop": {"category": "hostile", "sounds": [{"name": "entity/chopperCrashingLoop", "stream": true}]} +} diff --git a/assets/hbm/sounds/weapon/shotgunShoot.ogg b/assets/hbm/sounds/weapon/shotgunShoot.ogg new file mode 100644 index 000000000..82149f1b8 Binary files /dev/null and b/assets/hbm/sounds/weapon/shotgunShoot.ogg differ diff --git a/assets/hbm/textures/ABC123.png b/assets/hbm/textures/ABC123.png new file mode 100644 index 000000000..e2b5419cc Binary files /dev/null and b/assets/hbm/textures/ABC123.png differ diff --git a/assets/hbm/textures/armor/australium_iii.png b/assets/hbm/textures/armor/australium_iii.png new file mode 100644 index 000000000..15dc2f17e Binary files /dev/null and b/assets/hbm/textures/armor/australium_iii.png differ diff --git a/assets/hbm/textures/armor/australium_iv.png b/assets/hbm/textures/armor/australium_iv.png new file mode 100644 index 000000000..2acc15a0b Binary files /dev/null and b/assets/hbm/textures/armor/australium_iv.png differ diff --git a/assets/hbm/textures/armor/australium_v.png b/assets/hbm/textures/armor/australium_v.png new file mode 100644 index 000000000..f9847ed23 Binary files /dev/null and b/assets/hbm/textures/armor/australium_v.png differ diff --git a/assets/hbm/textures/blocks/acid_flowing.png.mcmeta b/assets/hbm/textures/blocks/acid_flowing.png.mcmeta index 8e55e43ba..df9c61a80 100644 --- a/assets/hbm/textures/blocks/acid_flowing.png.mcmeta +++ b/assets/hbm/textures/blocks/acid_flowing.png.mcmeta @@ -1,5 +1,5 @@ -{ - "animation": { - "frametime": 3 - } -} +{ + "animation": { + "frametime": 3 + } +} diff --git a/assets/hbm/textures/blocks/acid_still.png.mcmeta b/assets/hbm/textures/blocks/acid_still.png.mcmeta index 7ceb36394..55438bf34 100644 --- a/assets/hbm/textures/blocks/acid_still.png.mcmeta +++ b/assets/hbm/textures/blocks/acid_still.png.mcmeta @@ -1,45 +1,45 @@ -{ - "animation": { - "frametime": 2, - "frames": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 18, - 17, - 16, - 15, - 14, - 13, - 12, - 11, - 10, - 9, - 8, - 7, - 6, - 5, - 4, - 3, - 2, - 1 - ] - } +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } } \ No newline at end of file diff --git a/assets/hbm/textures/blocks/block_australium.png b/assets/hbm/textures/blocks/block_australium.png new file mode 100644 index 000000000..81161c4da Binary files /dev/null and b/assets/hbm/textures/blocks/block_australium.png differ diff --git a/assets/hbm/textures/blocks/block_daffergon.png b/assets/hbm/textures/blocks/block_daffergon.png new file mode 100644 index 000000000..48c695c08 Binary files /dev/null and b/assets/hbm/textures/blocks/block_daffergon.png differ diff --git a/assets/hbm/textures/blocks/block_reiium.png b/assets/hbm/textures/blocks/block_reiium.png new file mode 100644 index 000000000..c992af05a Binary files /dev/null and b/assets/hbm/textures/blocks/block_reiium.png differ diff --git a/assets/hbm/textures/blocks/block_steel.png b/assets/hbm/textures/blocks/block_steel.png index 56cc48963..d4fcda900 100644 Binary files a/assets/hbm/textures/blocks/block_steel.png and b/assets/hbm/textures/blocks/block_steel.png differ diff --git a/assets/hbm/textures/blocks/block_unobtainium.png b/assets/hbm/textures/blocks/block_unobtainium.png new file mode 100644 index 000000000..c169d0808 Binary files /dev/null and b/assets/hbm/textures/blocks/block_unobtainium.png differ diff --git a/assets/hbm/textures/blocks/block_verticium.png b/assets/hbm/textures/blocks/block_verticium.png new file mode 100644 index 000000000..d494cb218 Binary files /dev/null and b/assets/hbm/textures/blocks/block_verticium.png differ diff --git a/assets/hbm/textures/blocks/block_weidanium.png b/assets/hbm/textures/blocks/block_weidanium.png new file mode 100644 index 000000000..c4a52edcb Binary files /dev/null and b/assets/hbm/textures/blocks/block_weidanium.png differ diff --git a/assets/hbm/textures/blocks/cheater_virus.png b/assets/hbm/textures/blocks/cheater_virus.png new file mode 100644 index 000000000..132666aa5 Binary files /dev/null and b/assets/hbm/textures/blocks/cheater_virus.png differ diff --git a/assets/hbm/textures/blocks/cheater_virus_seed.png b/assets/hbm/textures/blocks/cheater_virus_seed.png new file mode 100644 index 000000000..badcfb9bd Binary files /dev/null and b/assets/hbm/textures/blocks/cheater_virus_seed.png differ diff --git a/assets/hbm/textures/blocks/cheater_virus_seed_alt.png b/assets/hbm/textures/blocks/cheater_virus_seed_alt.png new file mode 100644 index 000000000..9c428a3b7 Binary files /dev/null and b/assets/hbm/textures/blocks/cheater_virus_seed_alt.png differ diff --git a/assets/hbm/textures/blocks/crystal_hardened.png b/assets/hbm/textures/blocks/crystal_hardened.png new file mode 100644 index 000000000..43289d884 Binary files /dev/null and b/assets/hbm/textures/blocks/crystal_hardened.png differ diff --git a/assets/hbm/textures/blocks/crystal_pulsar.png b/assets/hbm/textures/blocks/crystal_pulsar.png new file mode 100644 index 000000000..22aa88b2b Binary files /dev/null and b/assets/hbm/textures/blocks/crystal_pulsar.png differ diff --git a/assets/hbm/textures/blocks/crystal_virus.png b/assets/hbm/textures/blocks/crystal_virus.png new file mode 100644 index 000000000..139382390 Binary files /dev/null and b/assets/hbm/textures/blocks/crystal_virus.png differ diff --git a/assets/hbm/textures/blocks/custom.png b/assets/hbm/textures/blocks/custom.png new file mode 100644 index 000000000..83ca9f83e Binary files /dev/null and b/assets/hbm/textures/blocks/custom.png differ diff --git a/assets/hbm/textures/blocks/det_charge.png b/assets/hbm/textures/blocks/det_charge.png new file mode 100644 index 000000000..23e44495d Binary files /dev/null and b/assets/hbm/textures/blocks/det_charge.png differ diff --git a/assets/hbm/textures/blocks/fwatz_plasma.png.mcmeta b/assets/hbm/textures/blocks/fwatz_plasma.png.mcmeta index 7ceb36394..55438bf34 100644 --- a/assets/hbm/textures/blocks/fwatz_plasma.png.mcmeta +++ b/assets/hbm/textures/blocks/fwatz_plasma.png.mcmeta @@ -1,45 +1,45 @@ -{ - "animation": { - "frametime": 2, - "frames": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 18, - 17, - 16, - 15, - 14, - 13, - 12, - 11, - 10, - 9, - 8, - 7, - 6, - 5, - 4, - 3, - 2, - 1 - ] - } +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } } \ No newline at end of file diff --git a/assets/hbm/textures/blocks/industrial_generator.png b/assets/hbm/textures/blocks/industrial_generator.png new file mode 100644 index 000000000..fb28cf088 Binary files /dev/null and b/assets/hbm/textures/blocks/industrial_generator.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_side_blue.png b/assets/hbm/textures/blocks/machine_rtg_side_blue.png new file mode 100644 index 000000000..5ddff42de Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_side_blue.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_side_cyan.png b/assets/hbm/textures/blocks/machine_rtg_side_cyan.png new file mode 100644 index 000000000..fac216a59 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_side_cyan.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_side_green.png b/assets/hbm/textures/blocks/machine_rtg_side_green.png new file mode 100644 index 000000000..5b3f8f914 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_side_green.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_side_grey.png b/assets/hbm/textures/blocks/machine_rtg_side_grey.png new file mode 100644 index 000000000..7128c950c Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_side_grey.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_side_orange.png b/assets/hbm/textures/blocks/machine_rtg_side_orange.png new file mode 100644 index 000000000..da4f8ad1f Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_side_orange.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_side_purple.png b/assets/hbm/textures/blocks/machine_rtg_side_purple.png new file mode 100644 index 000000000..c0b633247 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_side_purple.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_side_red.png b/assets/hbm/textures/blocks/machine_rtg_side_red.png new file mode 100644 index 000000000..076167a90 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_side_red.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_side_yellow.png b/assets/hbm/textures/blocks/machine_rtg_side_yellow.png new file mode 100644 index 000000000..2f54bb11b Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_side_yellow.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_top_blue.png b/assets/hbm/textures/blocks/machine_rtg_top_blue.png new file mode 100644 index 000000000..74c8aba72 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_top_blue.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_top_cyan.png b/assets/hbm/textures/blocks/machine_rtg_top_cyan.png new file mode 100644 index 000000000..c62daaeb5 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_top_cyan.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_top_green.png b/assets/hbm/textures/blocks/machine_rtg_top_green.png new file mode 100644 index 000000000..2b436376c Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_top_green.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_top_grey.png b/assets/hbm/textures/blocks/machine_rtg_top_grey.png new file mode 100644 index 000000000..aa04dc3c9 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_top_grey.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_top_orange.png b/assets/hbm/textures/blocks/machine_rtg_top_orange.png new file mode 100644 index 000000000..b77a727ff Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_top_orange.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_top_purple.png b/assets/hbm/textures/blocks/machine_rtg_top_purple.png new file mode 100644 index 000000000..d3853fe50 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_top_purple.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_top_red.png b/assets/hbm/textures/blocks/machine_rtg_top_red.png new file mode 100644 index 000000000..6065c582a Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_top_red.png differ diff --git a/assets/hbm/textures/blocks/machine_rtg_top_yellow.png b/assets/hbm/textures/blocks/machine_rtg_top_yellow.png new file mode 100644 index 000000000..00431d187 Binary files /dev/null and b/assets/hbm/textures/blocks/machine_rtg_top_yellow.png differ diff --git a/assets/hbm/textures/blocks/mud_flowing.png.mcmeta b/assets/hbm/textures/blocks/mud_flowing.png.mcmeta index 8e55e43ba..df9c61a80 100644 --- a/assets/hbm/textures/blocks/mud_flowing.png.mcmeta +++ b/assets/hbm/textures/blocks/mud_flowing.png.mcmeta @@ -1,5 +1,5 @@ -{ - "animation": { - "frametime": 3 - } -} +{ + "animation": { + "frametime": 3 + } +} diff --git a/assets/hbm/textures/blocks/mud_still.png.mcmeta b/assets/hbm/textures/blocks/mud_still.png.mcmeta index 7ceb36394..55438bf34 100644 --- a/assets/hbm/textures/blocks/mud_still.png.mcmeta +++ b/assets/hbm/textures/blocks/mud_still.png.mcmeta @@ -1,45 +1,45 @@ -{ - "animation": { - "frametime": 2, - "frames": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 18, - 17, - 16, - 15, - 14, - 13, - 12, - 11, - 10, - 9, - 8, - 7, - 6, - 5, - 4, - 3, - 2, - 1 - ] - } +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } } \ No newline at end of file diff --git a/assets/hbm/textures/blocks/ore_australium.png b/assets/hbm/textures/blocks/ore_australium.png new file mode 100644 index 000000000..486032fff Binary files /dev/null and b/assets/hbm/textures/blocks/ore_australium.png differ diff --git a/assets/hbm/textures/blocks/ore_daffergon.png b/assets/hbm/textures/blocks/ore_daffergon.png new file mode 100644 index 000000000..002aed5d6 Binary files /dev/null and b/assets/hbm/textures/blocks/ore_daffergon.png differ diff --git a/assets/hbm/textures/blocks/ore_daffgon.png b/assets/hbm/textures/blocks/ore_daffgon.png new file mode 100644 index 000000000..f3382499f Binary files /dev/null and b/assets/hbm/textures/blocks/ore_daffgon.png differ diff --git a/assets/hbm/textures/blocks/ore_reiium.png b/assets/hbm/textures/blocks/ore_reiium.png new file mode 100644 index 000000000..13f38d305 Binary files /dev/null and b/assets/hbm/textures/blocks/ore_reiium.png differ diff --git a/assets/hbm/textures/blocks/ore_unobtainium.png b/assets/hbm/textures/blocks/ore_unobtainium.png new file mode 100644 index 000000000..15b626bbb Binary files /dev/null and b/assets/hbm/textures/blocks/ore_unobtainium.png differ diff --git a/assets/hbm/textures/blocks/ore_verticium.png b/assets/hbm/textures/blocks/ore_verticium.png new file mode 100644 index 000000000..2c9e673ff Binary files /dev/null and b/assets/hbm/textures/blocks/ore_verticium.png differ diff --git a/assets/hbm/textures/blocks/ore_weidanium.png b/assets/hbm/textures/blocks/ore_weidanium.png new file mode 100644 index 000000000..88f8d87bf Binary files /dev/null and b/assets/hbm/textures/blocks/ore_weidanium.png differ diff --git a/assets/hbm/textures/blocks/plasma.png.mcmeta b/assets/hbm/textures/blocks/plasma.png.mcmeta index 7ceb36394..55438bf34 100644 --- a/assets/hbm/textures/blocks/plasma.png.mcmeta +++ b/assets/hbm/textures/blocks/plasma.png.mcmeta @@ -1,45 +1,45 @@ -{ - "animation": { - "frametime": 2, - "frames": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 18, - 17, - 16, - 15, - 14, - 13, - 12, - 11, - 10, - 9, - 8, - 7, - 6, - 5, - 4, - 3, - 2, - 1 - ] - } +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } } \ No newline at end of file diff --git a/assets/hbm/textures/blocks/rail_booster.png b/assets/hbm/textures/blocks/rail_booster.png new file mode 100644 index 000000000..d55e4abca Binary files /dev/null and b/assets/hbm/textures/blocks/rail_booster.png differ diff --git a/assets/hbm/textures/blocks/rail_highspeed.png b/assets/hbm/textures/blocks/rail_highspeed.png new file mode 100644 index 000000000..db6db0e4f Binary files /dev/null and b/assets/hbm/textures/blocks/rail_highspeed.png differ diff --git a/assets/hbm/textures/blocks/reix_side.png.mcmeta b/assets/hbm/textures/blocks/reix_side.png.mcmeta index d7b41bbd3..df9cfce6e 100644 --- a/assets/hbm/textures/blocks/reix_side.png.mcmeta +++ b/assets/hbm/textures/blocks/reix_side.png.mcmeta @@ -1,3 +1,3 @@ -{ - "animation": { } -} +{ + "animation": { } +} diff --git a/assets/hbm/textures/blocks/seal_controller.png b/assets/hbm/textures/blocks/seal_controller.png new file mode 100644 index 000000000..7e2e5ed65 Binary files /dev/null and b/assets/hbm/textures/blocks/seal_controller.png differ diff --git a/assets/hbm/textures/blocks/seal_frame.png b/assets/hbm/textures/blocks/seal_frame.png new file mode 100644 index 000000000..fcb6ad024 Binary files /dev/null and b/assets/hbm/textures/blocks/seal_frame.png differ diff --git a/assets/hbm/textures/blocks/seal_hatch.png b/assets/hbm/textures/blocks/seal_hatch.png new file mode 100644 index 000000000..7e6da0165 Binary files /dev/null and b/assets/hbm/textures/blocks/seal_hatch.png differ diff --git a/assets/hbm/textures/blocks/seal_hatch_2.png b/assets/hbm/textures/blocks/seal_hatch_2.png new file mode 100644 index 000000000..b59faf425 Binary files /dev/null and b/assets/hbm/textures/blocks/seal_hatch_2.png differ diff --git a/assets/hbm/textures/blocks/seal_hatch_3.png b/assets/hbm/textures/blocks/seal_hatch_3.png new file mode 100644 index 000000000..2aa5de680 Binary files /dev/null and b/assets/hbm/textures/blocks/seal_hatch_3.png differ diff --git a/assets/hbm/textures/blocks/toxic_flowing.png.mcmeta b/assets/hbm/textures/blocks/toxic_flowing.png.mcmeta index 8e55e43ba..df9c61a80 100644 --- a/assets/hbm/textures/blocks/toxic_flowing.png.mcmeta +++ b/assets/hbm/textures/blocks/toxic_flowing.png.mcmeta @@ -1,5 +1,5 @@ -{ - "animation": { - "frametime": 3 - } -} +{ + "animation": { + "frametime": 3 + } +} diff --git a/assets/hbm/textures/blocks/toxic_still.png.mcmeta b/assets/hbm/textures/blocks/toxic_still.png.mcmeta index 7ceb36394..55438bf34 100644 --- a/assets/hbm/textures/blocks/toxic_still.png.mcmeta +++ b/assets/hbm/textures/blocks/toxic_still.png.mcmeta @@ -1,45 +1,45 @@ -{ - "animation": { - "frametime": 2, - "frames": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 18, - 17, - 16, - 15, - 14, - 13, - 12, - 11, - 10, - 9, - 8, - 7, - 6, - 5, - 4, - 3, - 2, - 1 - ] - } +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } } \ No newline at end of file diff --git a/assets/hbm/textures/entity/shrapnel.png b/assets/hbm/textures/entity/shrapnel.png new file mode 100644 index 000000000..0cfb231d6 Binary files /dev/null and b/assets/hbm/textures/entity/shrapnel.png differ diff --git a/assets/hbm/textures/gui/generic_54.png b/assets/hbm/textures/gui/generic_54.png index 0b880ef98..bf232c7ae 100644 Binary files a/assets/hbm/textures/gui/generic_54.png and b/assets/hbm/textures/gui/generic_54.png differ diff --git a/assets/hbm/textures/gui/gui_cyclotron.png b/assets/hbm/textures/gui/gui_cyclotron.png new file mode 100644 index 000000000..38b17056d Binary files /dev/null and b/assets/hbm/textures/gui/gui_cyclotron.png differ diff --git a/assets/hbm/textures/gui/gui_igenerator.png b/assets/hbm/textures/gui/gui_igenerator.png new file mode 100644 index 000000000..01fb17207 Binary files /dev/null and b/assets/hbm/textures/gui/gui_igenerator.png differ diff --git a/assets/hbm/textures/gui/gui_rtg.png b/assets/hbm/textures/gui/gui_rtg.png new file mode 100644 index 000000000..308cd12a6 Binary files /dev/null and b/assets/hbm/textures/gui/gui_rtg.png differ diff --git a/assets/hbm/textures/gui/gui_rtg_color.png b/assets/hbm/textures/gui/gui_rtg_color.png new file mode 100644 index 000000000..b9801a72f Binary files /dev/null and b/assets/hbm/textures/gui/gui_rtg_color.png differ diff --git a/assets/hbm/textures/gui/gunBombSchematic.png b/assets/hbm/textures/gui/gunBombSchematic.png index 77550e9ca..a9de70f91 100644 Binary files a/assets/hbm/textures/gui/gunBombSchematic.png and b/assets/hbm/textures/gui/gunBombSchematic.png differ diff --git a/assets/hbm/textures/items/alt.png b/assets/hbm/textures/items/alt.png deleted file mode 100644 index 3595a1634..000000000 Binary files a/assets/hbm/textures/items/alt.png and /dev/null differ diff --git a/assets/hbm/textures/items/australium_iii.png b/assets/hbm/textures/items/australium_iii.png new file mode 100644 index 000000000..5a876c2b6 Binary files /dev/null and b/assets/hbm/textures/items/australium_iii.png differ diff --git a/assets/hbm/textures/items/bat.png b/assets/hbm/textures/items/bat.png new file mode 100644 index 000000000..d40eb5338 Binary files /dev/null and b/assets/hbm/textures/items/bat.png differ diff --git a/assets/hbm/textures/items/bat_nail.png b/assets/hbm/textures/items/bat_nail.png new file mode 100644 index 000000000..05bcc48b9 Binary files /dev/null and b/assets/hbm/textures/items/bat_nail.png differ diff --git a/assets/hbm/textures/items/battery_schrabidium.png b/assets/hbm/textures/items/battery_schrabidium.png index 0b28713b7..f51c4ef7b 100644 Binary files a/assets/hbm/textures/items/battery_schrabidium.png and b/assets/hbm/textures/items/battery_schrabidium.png differ diff --git a/assets/hbm/textures/items/battery_schrabidium_old.png b/assets/hbm/textures/items/battery_schrabidium_old.png new file mode 100644 index 000000000..0b28713b7 Binary files /dev/null and b/assets/hbm/textures/items/battery_schrabidium_old.png differ diff --git a/assets/hbm/textures/items/blade_titanium.png b/assets/hbm/textures/items/blade_titanium.png new file mode 100644 index 000000000..0304868af Binary files /dev/null and b/assets/hbm/textures/items/blade_titanium.png differ diff --git a/assets/hbm/textures/items/board_copper.png b/assets/hbm/textures/items/board_copper.png new file mode 100644 index 000000000..d13fcfa59 Binary files /dev/null and b/assets/hbm/textures/items/board_copper.png differ diff --git a/assets/hbm/textures/items/bottle2_empty.png b/assets/hbm/textures/items/bottle2_empty.png new file mode 100644 index 000000000..aea64984c Binary files /dev/null and b/assets/hbm/textures/items/bottle2_empty.png differ diff --git a/assets/hbm/textures/items/bottle2_fritz.png b/assets/hbm/textures/items/bottle2_fritz.png new file mode 100644 index 000000000..687e0d3b9 Binary files /dev/null and b/assets/hbm/textures/items/bottle2_fritz.png differ diff --git a/assets/hbm/textures/items/bottle2_korl.png b/assets/hbm/textures/items/bottle2_korl.png new file mode 100644 index 000000000..efa9d9e19 Binary files /dev/null and b/assets/hbm/textures/items/bottle2_korl.png differ diff --git a/assets/hbm/textures/items/bottle_cherry.png b/assets/hbm/textures/items/bottle_cherry.png new file mode 100644 index 000000000..5565c8e59 Binary files /dev/null and b/assets/hbm/textures/items/bottle_cherry.png differ diff --git a/assets/hbm/textures/items/bottle_empty.png b/assets/hbm/textures/items/bottle_empty.png new file mode 100644 index 000000000..c8cca0100 Binary files /dev/null and b/assets/hbm/textures/items/bottle_empty.png differ diff --git a/assets/hbm/textures/items/bottle_nuka.png b/assets/hbm/textures/items/bottle_nuka.png new file mode 100644 index 000000000..929561988 Binary files /dev/null and b/assets/hbm/textures/items/bottle_nuka.png differ diff --git a/assets/hbm/textures/items/bottle_quantum.png b/assets/hbm/textures/items/bottle_quantum.png new file mode 100644 index 000000000..c86e8d855 Binary files /dev/null and b/assets/hbm/textures/items/bottle_quantum.png differ diff --git a/assets/hbm/textures/items/can_overcharge.png b/assets/hbm/textures/items/can_overcharge.png new file mode 100644 index 000000000..78ba59df2 Binary files /dev/null and b/assets/hbm/textures/items/can_overcharge.png differ diff --git a/assets/hbm/textures/items/canister_canola.png b/assets/hbm/textures/items/canister_canola.png new file mode 100644 index 000000000..c96ca883f Binary files /dev/null and b/assets/hbm/textures/items/canister_canola.png differ diff --git a/assets/hbm/textures/items/chainsaw.png.mcmeta b/assets/hbm/textures/items/chainsaw.png.mcmeta index 4f0718ac9..de3267f0d 100644 --- a/assets/hbm/textures/items/chainsaw.png.mcmeta +++ b/assets/hbm/textures/items/chainsaw.png.mcmeta @@ -1,3 +1,3 @@ -{ - "animation": {} +{ + "animation": {} } \ No newline at end of file diff --git a/assets/hbm/textures/items/chocolate_milk.png b/assets/hbm/textures/items/chocolate_milk.png new file mode 100644 index 000000000..d4d07d892 Binary files /dev/null and b/assets/hbm/textures/items/chocolate_milk.png differ diff --git a/assets/hbm/textures/items/circuit_reix.png b/assets/hbm/textures/items/circuit_reix.png new file mode 100644 index 000000000..43f778ad5 Binary files /dev/null and b/assets/hbm/textures/items/circuit_reix.png differ diff --git a/assets/hbm/textures/items/clip_revolver_nightmare.png b/assets/hbm/textures/items/clip_revolver_nightmare.png new file mode 100644 index 000000000..fbe0afb48 Binary files /dev/null and b/assets/hbm/textures/items/clip_revolver_nightmare.png differ diff --git a/assets/hbm/textures/items/clip_revolver_nightmare2.png b/assets/hbm/textures/items/clip_revolver_nightmare2.png new file mode 100644 index 000000000..0652e6067 Binary files /dev/null and b/assets/hbm/textures/items/clip_revolver_nightmare2.png differ diff --git a/assets/hbm/textures/items/clip_uboinik.png b/assets/hbm/textures/items/clip_uboinik.png new file mode 100644 index 000000000..8a71a2243 Binary files /dev/null and b/assets/hbm/textures/items/clip_uboinik.png differ diff --git a/assets/hbm/textures/items/coil_gold.png b/assets/hbm/textures/items/coil_gold.png new file mode 100644 index 000000000..77f4bb17e Binary files /dev/null and b/assets/hbm/textures/items/coil_gold.png differ diff --git a/assets/hbm/textures/items/coil_gold_torus.png b/assets/hbm/textures/items/coil_gold_torus.png new file mode 100644 index 000000000..588db3529 Binary files /dev/null and b/assets/hbm/textures/items/coil_gold_torus.png differ diff --git a/assets/hbm/textures/items/communotron_16.png b/assets/hbm/textures/items/communotron_16.png new file mode 100644 index 000000000..4ca7fe8c6 Binary files /dev/null and b/assets/hbm/textures/items/communotron_16.png differ diff --git a/assets/hbm/textures/items/crystal_charred.png b/assets/hbm/textures/items/crystal_charred.png new file mode 100644 index 000000000..3798967a6 Binary files /dev/null and b/assets/hbm/textures/items/crystal_charred.png differ diff --git a/assets/hbm/textures/items/crystal_horn.png b/assets/hbm/textures/items/crystal_horn.png new file mode 100644 index 000000000..4660d5734 Binary files /dev/null and b/assets/hbm/textures/items/crystal_horn.png differ diff --git a/assets/hbm/textures/items/d_smoke1.png b/assets/hbm/textures/items/d_smoke1.png new file mode 100644 index 000000000..e7f3601e5 Binary files /dev/null and b/assets/hbm/textures/items/d_smoke1.png differ diff --git a/assets/hbm/textures/items/d_smoke2.png b/assets/hbm/textures/items/d_smoke2.png new file mode 100644 index 000000000..7e01c301d Binary files /dev/null and b/assets/hbm/textures/items/d_smoke2.png differ diff --git a/assets/hbm/textures/items/d_smoke3.png b/assets/hbm/textures/items/d_smoke3.png new file mode 100644 index 000000000..7c36fd965 Binary files /dev/null and b/assets/hbm/textures/items/d_smoke3.png differ diff --git a/assets/hbm/textures/items/d_smoke4.png b/assets/hbm/textures/items/d_smoke4.png new file mode 100644 index 000000000..bc74f9813 Binary files /dev/null and b/assets/hbm/textures/items/d_smoke4.png differ diff --git a/assets/hbm/textures/items/d_smoke5.png b/assets/hbm/textures/items/d_smoke5.png new file mode 100644 index 000000000..cf71763f9 Binary files /dev/null and b/assets/hbm/textures/items/d_smoke5.png differ diff --git a/assets/hbm/textures/items/d_smoke6.png b/assets/hbm/textures/items/d_smoke6.png new file mode 100644 index 000000000..78d1a84b1 Binary files /dev/null and b/assets/hbm/textures/items/d_smoke6.png differ diff --git a/assets/hbm/textures/items/d_smoke7.png b/assets/hbm/textures/items/d_smoke7.png new file mode 100644 index 000000000..6f0f6274a Binary files /dev/null and b/assets/hbm/textures/items/d_smoke7.png differ diff --git a/assets/hbm/textures/items/d_smoke8.png b/assets/hbm/textures/items/d_smoke8.png new file mode 100644 index 000000000..cd253ab4d Binary files /dev/null and b/assets/hbm/textures/items/d_smoke8.png differ diff --git a/assets/hbm/textures/items/ducttape.png b/assets/hbm/textures/items/ducttape.png new file mode 100644 index 000000000..facce7f8e Binary files /dev/null and b/assets/hbm/textures/items/ducttape.png differ diff --git a/assets/hbm/textures/items/energy_ball.png.mcmeta b/assets/hbm/textures/items/energy_ball.png.mcmeta index 4f0718ac9..de3267f0d 100644 --- a/assets/hbm/textures/items/energy_ball.png.mcmeta +++ b/assets/hbm/textures/items/energy_ball.png.mcmeta @@ -1,3 +1,3 @@ -{ - "animation": {} +{ + "animation": {} } \ No newline at end of file diff --git a/assets/hbm/textures/items/essence_unstable.png b/assets/hbm/textures/items/essence_unstable.png new file mode 100644 index 000000000..5adb5f7f6 Binary files /dev/null and b/assets/hbm/textures/items/essence_unstable.png differ diff --git a/assets/hbm/textures/items/essence_uv.png b/assets/hbm/textures/items/essence_uv.png new file mode 100644 index 000000000..145752b3a Binary files /dev/null and b/assets/hbm/textures/items/essence_uv.png differ diff --git a/assets/hbm/textures/items/flame_pony.png b/assets/hbm/textures/items/flame_pony.png index 956ee2b83..0c1a3a43b 100644 Binary files a/assets/hbm/textures/items/flame_pony.png and b/assets/hbm/textures/items/flame_pony.png differ diff --git a/assets/hbm/textures/items/flame_pony_alt.png b/assets/hbm/textures/items/flame_pony_alt.png new file mode 100644 index 000000000..956ee2b83 Binary files /dev/null and b/assets/hbm/textures/items/flame_pony_alt.png differ diff --git a/assets/hbm/textures/items/generator_front.png b/assets/hbm/textures/items/generator_front.png new file mode 100644 index 000000000..fb28cf088 Binary files /dev/null and b/assets/hbm/textures/items/generator_front.png differ diff --git a/assets/hbm/textures/items/generator_steel.png b/assets/hbm/textures/items/generator_steel.png new file mode 100644 index 000000000..382baa4b9 Binary files /dev/null and b/assets/hbm/textures/items/generator_steel.png differ diff --git a/assets/hbm/textures/items/golf_club.png b/assets/hbm/textures/items/golf_club.png new file mode 100644 index 000000000..c4295a9ba Binary files /dev/null and b/assets/hbm/textures/items/golf_club.png differ diff --git a/assets/hbm/textures/items/grenade_pulse.png b/assets/hbm/textures/items/grenade_pulse.png new file mode 100644 index 000000000..1b3a05084 Binary files /dev/null and b/assets/hbm/textures/items/grenade_pulse.png differ diff --git a/assets/hbm/textures/items/grenade_shrapnel.png b/assets/hbm/textures/items/grenade_shrapnel.png new file mode 100644 index 000000000..5c00676a1 Binary files /dev/null and b/assets/hbm/textures/items/grenade_shrapnel.png differ diff --git a/assets/hbm/textures/items/gun_euthanasia.png b/assets/hbm/textures/items/gun_euthanasia.png new file mode 100644 index 000000000..7d9cc51ef Binary files /dev/null and b/assets/hbm/textures/items/gun_euthanasia.png differ diff --git a/assets/hbm/textures/items/gun_euthanasia_ammo.png b/assets/hbm/textures/items/gun_euthanasia_ammo.png new file mode 100644 index 000000000..7a26309eb Binary files /dev/null and b/assets/hbm/textures/items/gun_euthanasia_ammo.png differ diff --git a/assets/hbm/textures/items/gun_jack.png b/assets/hbm/textures/items/gun_jack.png new file mode 100644 index 000000000..622c17c48 Binary files /dev/null and b/assets/hbm/textures/items/gun_jack.png differ diff --git a/assets/hbm/textures/items/gun_jack_ammo.png b/assets/hbm/textures/items/gun_jack_ammo.png new file mode 100644 index 000000000..58f0210de Binary files /dev/null and b/assets/hbm/textures/items/gun_jack_ammo.png differ diff --git a/assets/hbm/textures/items/gun_revolver_nightmare.png b/assets/hbm/textures/items/gun_revolver_nightmare.png new file mode 100644 index 000000000..8b7241860 Binary files /dev/null and b/assets/hbm/textures/items/gun_revolver_nightmare.png differ diff --git a/assets/hbm/textures/items/gun_revolver_nightmare2.png b/assets/hbm/textures/items/gun_revolver_nightmare2.png new file mode 100644 index 000000000..6f440b5b6 Binary files /dev/null and b/assets/hbm/textures/items/gun_revolver_nightmare2.png differ diff --git a/assets/hbm/textures/items/gun_revolver_nightmare2_ammo.png b/assets/hbm/textures/items/gun_revolver_nightmare2_ammo.png new file mode 100644 index 000000000..11909366b Binary files /dev/null and b/assets/hbm/textures/items/gun_revolver_nightmare2_ammo.png differ diff --git a/assets/hbm/textures/items/gun_revolver_nightmare_ammo.png b/assets/hbm/textures/items/gun_revolver_nightmare_ammo.png new file mode 100644 index 000000000..c2c3a5e44 Binary files /dev/null and b/assets/hbm/textures/items/gun_revolver_nightmare_ammo.png differ diff --git a/assets/hbm/textures/items/gun_uboinik.png b/assets/hbm/textures/items/gun_uboinik.png new file mode 100644 index 000000000..d910cfbad Binary files /dev/null and b/assets/hbm/textures/items/gun_uboinik.png differ diff --git a/assets/hbm/textures/items/gun_uboinik_ammo.png b/assets/hbm/textures/items/gun_uboinik_ammo.png new file mode 100644 index 000000000..085ae1ba4 Binary files /dev/null and b/assets/hbm/textures/items/gun_uboinik_ammo.png differ diff --git a/assets/hbm/textures/items/ingot_actinium.png b/assets/hbm/textures/items/ingot_actinium.png new file mode 100644 index 000000000..252a22790 Binary files /dev/null and b/assets/hbm/textures/items/ingot_actinium.png differ diff --git a/assets/hbm/textures/items/ingot_australium.png b/assets/hbm/textures/items/ingot_australium.png new file mode 100644 index 000000000..dda63447e Binary files /dev/null and b/assets/hbm/textures/items/ingot_australium.png differ diff --git a/assets/hbm/textures/items/ingot_bromide.png b/assets/hbm/textures/items/ingot_bromide.png new file mode 100644 index 000000000..1df8615f7 Binary files /dev/null and b/assets/hbm/textures/items/ingot_bromide.png differ diff --git a/assets/hbm/textures/items/ingot_cerium.png b/assets/hbm/textures/items/ingot_cerium.png new file mode 100644 index 000000000..fa9c5cb37 Binary files /dev/null and b/assets/hbm/textures/items/ingot_cerium.png differ diff --git a/assets/hbm/textures/items/ingot_cobalt.png b/assets/hbm/textures/items/ingot_cobalt.png new file mode 100644 index 000000000..652614b2e Binary files /dev/null and b/assets/hbm/textures/items/ingot_cobalt.png differ diff --git a/assets/hbm/textures/items/ingot_daffergon.png b/assets/hbm/textures/items/ingot_daffergon.png new file mode 100644 index 000000000..67c13939c Binary files /dev/null and b/assets/hbm/textures/items/ingot_daffergon.png differ diff --git a/assets/hbm/textures/items/ingot_lanthanium.png b/assets/hbm/textures/items/ingot_lanthanium.png new file mode 100644 index 000000000..6d5fdb7d0 Binary files /dev/null and b/assets/hbm/textures/items/ingot_lanthanium.png differ diff --git a/assets/hbm/textures/items/ingot_niobium.png b/assets/hbm/textures/items/ingot_niobium.png new file mode 100644 index 000000000..2e05e786a Binary files /dev/null and b/assets/hbm/textures/items/ingot_niobium.png differ diff --git a/assets/hbm/textures/items/ingot_reiium.png b/assets/hbm/textures/items/ingot_reiium.png new file mode 100644 index 000000000..6ae5a0db3 Binary files /dev/null and b/assets/hbm/textures/items/ingot_reiium.png differ diff --git a/assets/hbm/textures/items/ingot_strontium.png b/assets/hbm/textures/items/ingot_strontium.png new file mode 100644 index 000000000..aa6c7c20a Binary files /dev/null and b/assets/hbm/textures/items/ingot_strontium.png differ diff --git a/assets/hbm/textures/items/ingot_tennessine.png b/assets/hbm/textures/items/ingot_tennessine.png new file mode 100644 index 000000000..3d4a077d8 Binary files /dev/null and b/assets/hbm/textures/items/ingot_tennessine.png differ diff --git a/assets/hbm/textures/items/ingot_unobtainium.png b/assets/hbm/textures/items/ingot_unobtainium.png new file mode 100644 index 000000000..dd03f216c Binary files /dev/null and b/assets/hbm/textures/items/ingot_unobtainium.png differ diff --git a/assets/hbm/textures/items/ingot_verticium.png b/assets/hbm/textures/items/ingot_verticium.png new file mode 100644 index 000000000..479d3e821 Binary files /dev/null and b/assets/hbm/textures/items/ingot_verticium.png differ diff --git a/assets/hbm/textures/items/ingot_weidanium.png b/assets/hbm/textures/items/ingot_weidanium.png new file mode 100644 index 000000000..23dcdff98 Binary files /dev/null and b/assets/hbm/textures/items/ingot_weidanium.png differ diff --git a/assets/hbm/textures/items/limiter.png b/assets/hbm/textures/items/limiter.png new file mode 100644 index 000000000..e81eb2b26 Binary files /dev/null and b/assets/hbm/textures/items/limiter.png differ diff --git a/assets/hbm/textures/items/multitool.png b/assets/hbm/textures/items/multitool.png new file mode 100644 index 000000000..3ef53eb0c Binary files /dev/null and b/assets/hbm/textures/items/multitool.png differ diff --git a/assets/hbm/textures/items/multitool_claw.png b/assets/hbm/textures/items/multitool_claw.png new file mode 100644 index 000000000..4848d135d Binary files /dev/null and b/assets/hbm/textures/items/multitool_claw.png differ diff --git a/assets/hbm/textures/items/multitool_fist.png b/assets/hbm/textures/items/multitool_fist.png new file mode 100644 index 000000000..3ef53eb0c Binary files /dev/null and b/assets/hbm/textures/items/multitool_fist.png differ diff --git a/assets/hbm/textures/items/multitool_open.png b/assets/hbm/textures/items/multitool_open.png new file mode 100644 index 000000000..bd64338dd Binary files /dev/null and b/assets/hbm/textures/items/multitool_open.png differ diff --git a/assets/hbm/textures/items/multitool_pointer.png b/assets/hbm/textures/items/multitool_pointer.png new file mode 100644 index 000000000..5dac8ced5 Binary files /dev/null and b/assets/hbm/textures/items/multitool_pointer.png differ diff --git a/assets/hbm/textures/items/nugget_australium.png b/assets/hbm/textures/items/nugget_australium.png new file mode 100644 index 000000000..96ceff272 Binary files /dev/null and b/assets/hbm/textures/items/nugget_australium.png differ diff --git a/assets/hbm/textures/items/nugget_daffergon.png b/assets/hbm/textures/items/nugget_daffergon.png new file mode 100644 index 000000000..6e8922ebb Binary files /dev/null and b/assets/hbm/textures/items/nugget_daffergon.png differ diff --git a/assets/hbm/textures/items/nugget_reiium.png b/assets/hbm/textures/items/nugget_reiium.png new file mode 100644 index 000000000..b6b8a5d3f Binary files /dev/null and b/assets/hbm/textures/items/nugget_reiium.png differ diff --git a/assets/hbm/textures/items/nugget_unobtainium.png b/assets/hbm/textures/items/nugget_unobtainium.png new file mode 100644 index 000000000..a4aa40b77 Binary files /dev/null and b/assets/hbm/textures/items/nugget_unobtainium.png differ diff --git a/assets/hbm/textures/items/nugget_verticium.png b/assets/hbm/textures/items/nugget_verticium.png new file mode 100644 index 000000000..c8f9333ec Binary files /dev/null and b/assets/hbm/textures/items/nugget_verticium.png differ diff --git a/assets/hbm/textures/items/nugget_weidanium.png b/assets/hbm/textures/items/nugget_weidanium.png new file mode 100644 index 000000000..86ad834db Binary files /dev/null and b/assets/hbm/textures/items/nugget_weidanium.png differ diff --git a/assets/hbm/textures/items/oil_canola.png b/assets/hbm/textures/items/oil_canola.png new file mode 100644 index 000000000..a8363032f Binary files /dev/null and b/assets/hbm/textures/items/oil_canola.png differ diff --git a/assets/hbm/textures/items/overfuse.png b/assets/hbm/textures/items/overfuse.png index e11c1f1ed..0aff60443 100644 Binary files a/assets/hbm/textures/items/overfuse.png and b/assets/hbm/textures/items/overfuse.png differ diff --git a/assets/hbm/textures/items/overfuse_alt.png b/assets/hbm/textures/items/overfuse_alt.png new file mode 100644 index 000000000..e11c1f1ed Binary files /dev/null and b/assets/hbm/textures/items/overfuse_alt.png differ diff --git a/assets/hbm/textures/items/pellet_rtg_weak.png b/assets/hbm/textures/items/pellet_rtg_weak.png new file mode 100644 index 000000000..326dda2f5 Binary files /dev/null and b/assets/hbm/textures/items/pellet_rtg_weak.png differ diff --git a/assets/hbm/textures/items/pellets_lead.png b/assets/hbm/textures/items/pellets_lead.png new file mode 100644 index 000000000..1a9b6d8e0 Binary files /dev/null and b/assets/hbm/textures/items/pellets_lead.png differ diff --git a/assets/hbm/textures/items/pipe_lead.png b/assets/hbm/textures/items/pipe_lead.png new file mode 100644 index 000000000..830e00f3c Binary files /dev/null and b/assets/hbm/textures/items/pipe_lead.png differ diff --git a/assets/hbm/textures/items/pipe_rusty.png b/assets/hbm/textures/items/pipe_rusty.png new file mode 100644 index 000000000..e5e0812f7 Binary files /dev/null and b/assets/hbm/textures/items/pipe_rusty.png differ diff --git a/assets/hbm/textures/items/plan_c.png b/assets/hbm/textures/items/plan_c.png new file mode 100644 index 000000000..0a44d8317 Binary files /dev/null and b/assets/hbm/textures/items/plan_c.png differ diff --git a/assets/hbm/textures/items/polaroid_1.png b/assets/hbm/textures/items/polaroid_1.png new file mode 100644 index 000000000..bd00f1b89 Binary files /dev/null and b/assets/hbm/textures/items/polaroid_1.png differ diff --git a/assets/hbm/textures/items/polaroid_10.png b/assets/hbm/textures/items/polaroid_10.png new file mode 100644 index 000000000..59b9bc8c2 Binary files /dev/null and b/assets/hbm/textures/items/polaroid_10.png differ diff --git a/assets/hbm/textures/items/polaroid_11.png b/assets/hbm/textures/items/polaroid_11.png new file mode 100644 index 000000000..e2ac92dfe Binary files /dev/null and b/assets/hbm/textures/items/polaroid_11.png differ diff --git a/assets/hbm/textures/items/polaroid_12.png b/assets/hbm/textures/items/polaroid_12.png new file mode 100644 index 000000000..4cd87608a Binary files /dev/null and b/assets/hbm/textures/items/polaroid_12.png differ diff --git a/assets/hbm/textures/items/polaroid_13.png b/assets/hbm/textures/items/polaroid_13.png new file mode 100644 index 000000000..2b02d5db2 Binary files /dev/null and b/assets/hbm/textures/items/polaroid_13.png differ diff --git a/assets/hbm/textures/items/polaroid_14.png b/assets/hbm/textures/items/polaroid_14.png new file mode 100644 index 000000000..d2444ccfe Binary files /dev/null and b/assets/hbm/textures/items/polaroid_14.png differ diff --git a/assets/hbm/textures/items/polaroid_15.png b/assets/hbm/textures/items/polaroid_15.png new file mode 100644 index 000000000..ee1441e9c Binary files /dev/null and b/assets/hbm/textures/items/polaroid_15.png differ diff --git a/assets/hbm/textures/items/polaroid_16.png b/assets/hbm/textures/items/polaroid_16.png new file mode 100644 index 000000000..7910a165f Binary files /dev/null and b/assets/hbm/textures/items/polaroid_16.png differ diff --git a/assets/hbm/textures/items/polaroid_2.png b/assets/hbm/textures/items/polaroid_2.png new file mode 100644 index 000000000..f51675bb5 Binary files /dev/null and b/assets/hbm/textures/items/polaroid_2.png differ diff --git a/assets/hbm/textures/items/polaroid_3.png b/assets/hbm/textures/items/polaroid_3.png new file mode 100644 index 000000000..35251148e Binary files /dev/null and b/assets/hbm/textures/items/polaroid_3.png differ diff --git a/assets/hbm/textures/items/polaroid_4.png b/assets/hbm/textures/items/polaroid_4.png new file mode 100644 index 000000000..507afbaa7 Binary files /dev/null and b/assets/hbm/textures/items/polaroid_4.png differ diff --git a/assets/hbm/textures/items/polaroid_5.png b/assets/hbm/textures/items/polaroid_5.png new file mode 100644 index 000000000..3bafee22e Binary files /dev/null and b/assets/hbm/textures/items/polaroid_5.png differ diff --git a/assets/hbm/textures/items/polaroid_6.png b/assets/hbm/textures/items/polaroid_6.png new file mode 100644 index 000000000..142dfe2cd Binary files /dev/null and b/assets/hbm/textures/items/polaroid_6.png differ diff --git a/assets/hbm/textures/items/polaroid_7.png b/assets/hbm/textures/items/polaroid_7.png new file mode 100644 index 000000000..fba217551 Binary files /dev/null and b/assets/hbm/textures/items/polaroid_7.png differ diff --git a/assets/hbm/textures/items/polaroid_8.png b/assets/hbm/textures/items/polaroid_8.png new file mode 100644 index 000000000..e30971394 Binary files /dev/null and b/assets/hbm/textures/items/polaroid_8.png differ diff --git a/assets/hbm/textures/items/polaroid_9.png b/assets/hbm/textures/items/polaroid_9.png new file mode 100644 index 000000000..64ebbda54 Binary files /dev/null and b/assets/hbm/textures/items/polaroid_9.png differ diff --git a/assets/hbm/textures/items/powder_australium.png b/assets/hbm/textures/items/powder_australium.png new file mode 100644 index 000000000..7870153a8 Binary files /dev/null and b/assets/hbm/textures/items/powder_australium.png differ diff --git a/assets/hbm/textures/items/powder_bromine.png b/assets/hbm/textures/items/powder_bromine.png new file mode 100644 index 000000000..4320f750c Binary files /dev/null and b/assets/hbm/textures/items/powder_bromine.png differ diff --git a/assets/hbm/textures/items/powder_cerium.png b/assets/hbm/textures/items/powder_cerium.png new file mode 100644 index 000000000..399cca8b3 Binary files /dev/null and b/assets/hbm/textures/items/powder_cerium.png differ diff --git a/assets/hbm/textures/items/powder_cobalt.png b/assets/hbm/textures/items/powder_cobalt.png new file mode 100644 index 000000000..52897c805 Binary files /dev/null and b/assets/hbm/textures/items/powder_cobalt.png differ diff --git a/assets/hbm/textures/items/powder_daffergon.png b/assets/hbm/textures/items/powder_daffergon.png new file mode 100644 index 000000000..1546cc4f3 Binary files /dev/null and b/assets/hbm/textures/items/powder_daffergon.png differ diff --git a/assets/hbm/textures/items/powder_ice.png b/assets/hbm/textures/items/powder_ice.png new file mode 100644 index 000000000..f3820823e Binary files /dev/null and b/assets/hbm/textures/items/powder_ice.png differ diff --git a/assets/hbm/textures/items/powder_niobium.png b/assets/hbm/textures/items/powder_niobium.png new file mode 100644 index 000000000..a259e29c1 Binary files /dev/null and b/assets/hbm/textures/items/powder_niobium.png differ diff --git a/assets/hbm/textures/items/powder_reiium.png b/assets/hbm/textures/items/powder_reiium.png new file mode 100644 index 000000000..3670d5540 Binary files /dev/null and b/assets/hbm/textures/items/powder_reiium.png differ diff --git a/assets/hbm/textures/items/powder_strontium.png b/assets/hbm/textures/items/powder_strontium.png new file mode 100644 index 000000000..3ab9b54ea Binary files /dev/null and b/assets/hbm/textures/items/powder_strontium.png differ diff --git a/assets/hbm/textures/items/powder_tennessine.png b/assets/hbm/textures/items/powder_tennessine.png new file mode 100644 index 000000000..8e19254e3 Binary files /dev/null and b/assets/hbm/textures/items/powder_tennessine.png differ diff --git a/assets/hbm/textures/items/powder_unobtainium.png b/assets/hbm/textures/items/powder_unobtainium.png new file mode 100644 index 000000000..43350795f Binary files /dev/null and b/assets/hbm/textures/items/powder_unobtainium.png differ diff --git a/assets/hbm/textures/items/powder_verticium.png b/assets/hbm/textures/items/powder_verticium.png new file mode 100644 index 000000000..9b082e73c Binary files /dev/null and b/assets/hbm/textures/items/powder_verticium.png differ diff --git a/assets/hbm/textures/items/powder_weidanium.png b/assets/hbm/textures/items/powder_weidanium.png new file mode 100644 index 000000000..0bd182d65 Binary files /dev/null and b/assets/hbm/textures/items/powder_weidanium.png differ diff --git a/assets/hbm/textures/items/reer_graar.png b/assets/hbm/textures/items/reer_graar.png new file mode 100644 index 000000000..3c62a258e Binary files /dev/null and b/assets/hbm/textures/items/reer_graar.png differ diff --git a/assets/hbm/textures/items/reer_graar_hd.png b/assets/hbm/textures/items/reer_graar_hd.png new file mode 100644 index 000000000..548e041a0 Binary files /dev/null and b/assets/hbm/textures/items/reer_graar_hd.png differ diff --git a/assets/hbm/textures/items/rei_os.png b/assets/hbm/textures/items/rei_os.png new file mode 100644 index 000000000..f1506031e Binary files /dev/null and b/assets/hbm/textures/items/rei_os.png differ diff --git a/assets/hbm/textures/items/rei_program.png b/assets/hbm/textures/items/rei_program.png new file mode 100644 index 000000000..11bd9cd51 Binary files /dev/null and b/assets/hbm/textures/items/rei_program.png differ diff --git a/assets/hbm/textures/items/rei_scanner.png b/assets/hbm/textures/items/rei_scanner.png new file mode 100644 index 000000000..42566c380 Binary files /dev/null and b/assets/hbm/textures/items/rei_scanner.png differ diff --git a/assets/hbm/textures/items/rod_australium.png b/assets/hbm/textures/items/rod_australium.png new file mode 100644 index 000000000..890b61920 Binary files /dev/null and b/assets/hbm/textures/items/rod_australium.png differ diff --git a/assets/hbm/textures/items/rod_daffergon.png b/assets/hbm/textures/items/rod_daffergon.png new file mode 100644 index 000000000..28250eac0 Binary files /dev/null and b/assets/hbm/textures/items/rod_daffergon.png differ diff --git a/assets/hbm/textures/items/rod_euphemium.png b/assets/hbm/textures/items/rod_euphemium.png new file mode 100644 index 000000000..2b37f5b41 Binary files /dev/null and b/assets/hbm/textures/items/rod_euphemium.png differ diff --git a/assets/hbm/textures/items/rod_reiium.png b/assets/hbm/textures/items/rod_reiium.png new file mode 100644 index 000000000..46f0c9f8e Binary files /dev/null and b/assets/hbm/textures/items/rod_reiium.png differ diff --git a/assets/hbm/textures/items/rod_unobtainium.png b/assets/hbm/textures/items/rod_unobtainium.png new file mode 100644 index 000000000..1a377e79a Binary files /dev/null and b/assets/hbm/textures/items/rod_unobtainium.png differ diff --git a/assets/hbm/textures/items/rod_verticium.png b/assets/hbm/textures/items/rod_verticium.png new file mode 100644 index 000000000..19028bb69 Binary files /dev/null and b/assets/hbm/textures/items/rod_verticium.png differ diff --git a/assets/hbm/textures/items/rod_weidanium.png b/assets/hbm/textures/items/rod_weidanium.png new file mode 100644 index 000000000..5eb4076fa Binary files /dev/null and b/assets/hbm/textures/items/rod_weidanium.png differ diff --git a/assets/hbm/textures/items/rotor_steel.png b/assets/hbm/textures/items/rotor_steel.png new file mode 100644 index 000000000..17350ef8d Binary files /dev/null and b/assets/hbm/textures/items/rotor_steel.png differ diff --git a/assets/hbm/textures/items/saw.png b/assets/hbm/textures/items/saw.png new file mode 100644 index 000000000..bf090eb92 Binary files /dev/null and b/assets/hbm/textures/items/saw.png differ diff --git a/assets/hbm/textures/items/thermo_element.png b/assets/hbm/textures/items/thermo_element.png new file mode 100644 index 000000000..6bd4a3552 Binary files /dev/null and b/assets/hbm/textures/items/thermo_element.png differ diff --git a/assets/hbm/textures/items/toothpicks.png b/assets/hbm/textures/items/toothpicks.png new file mode 100644 index 000000000..f3a513abd Binary files /dev/null and b/assets/hbm/textures/items/toothpicks.png differ diff --git a/assets/hbm/textures/items/turbine_titanium.png b/assets/hbm/textures/items/turbine_titanium.png new file mode 100644 index 000000000..d9c5108ca Binary files /dev/null and b/assets/hbm/textures/items/turbine_titanium.png differ diff --git a/assets/hbm/textures/items/ullapool_caber.png b/assets/hbm/textures/items/ullapool_caber.png new file mode 100644 index 000000000..d6eba2f6b Binary files /dev/null and b/assets/hbm/textures/items/ullapool_caber.png differ diff --git a/assets/hbm/textures/models/BalefireCrashed.png b/assets/hbm/textures/models/BalefireCrashed.png index 6fde17298..6ce2c87a1 100644 Binary files a/assets/hbm/textures/models/BalefireCrashed.png and b/assets/hbm/textures/models/BalefireCrashed.png differ diff --git a/assets/hbm/textures/models/CapeVertice.png b/assets/hbm/textures/models/CapeVertice.png new file mode 100644 index 000000000..f8cb2c786 Binary files /dev/null and b/assets/hbm/textures/models/CapeVertice.png differ diff --git a/assets/hbm/textures/models/CapeVertice_2.png b/assets/hbm/textures/models/CapeVertice_2.png new file mode 100644 index 000000000..7776b0971 Binary files /dev/null and b/assets/hbm/textures/models/CapeVertice_2.png differ diff --git a/assets/hbm/textures/models/CustomNuke.png b/assets/hbm/textures/models/CustomNuke.png new file mode 100644 index 000000000..1ceb006a8 Binary files /dev/null and b/assets/hbm/textures/models/CustomNuke.png differ diff --git a/assets/hbm/textures/models/LilBoy1_.png b/assets/hbm/textures/models/LilBoy1_.png deleted file mode 100644 index 9040b8335..000000000 Binary files a/assets/hbm/textures/models/LilBoy1_.png and /dev/null differ diff --git a/assets/hbm/textures/models/ModelEuthanasia.png b/assets/hbm/textures/models/ModelEuthanasia.png new file mode 100644 index 000000000..7a9aca49b Binary files /dev/null and b/assets/hbm/textures/models/ModelEuthanasia.png differ diff --git a/assets/hbm/textures/models/ModelHP.png b/assets/hbm/textures/models/ModelHP.png new file mode 100644 index 000000000..c5a64fcac Binary files /dev/null and b/assets/hbm/textures/models/ModelHP.png differ diff --git a/assets/hbm/textures/models/ModelJack.png b/assets/hbm/textures/models/ModelJack.png new file mode 100644 index 000000000..68ee93088 Binary files /dev/null and b/assets/hbm/textures/models/ModelJack.png differ diff --git a/assets/hbm/textures/models/ModelMP40.png b/assets/hbm/textures/models/ModelMP40.png index e16cb5ba9..497ef5c81 100644 Binary files a/assets/hbm/textures/models/ModelMP40.png and b/assets/hbm/textures/models/ModelMP40.png differ diff --git a/assets/hbm/textures/models/ModelMultitool.png b/assets/hbm/textures/models/ModelMultitool.png new file mode 100644 index 000000000..300d3c65b Binary files /dev/null and b/assets/hbm/textures/models/ModelMultitool.png differ diff --git a/assets/hbm/textures/models/ModelNightmare.png b/assets/hbm/textures/models/ModelNightmare.png new file mode 100644 index 000000000..f3186dd48 Binary files /dev/null and b/assets/hbm/textures/models/ModelNightmare.png differ diff --git a/assets/hbm/textures/models/ModelNightmare2.png b/assets/hbm/textures/models/ModelNightmare2.png new file mode 100644 index 000000000..d05821401 Binary files /dev/null and b/assets/hbm/textures/models/ModelNightmare2.png differ diff --git a/assets/hbm/textures/models/ModelRubble.png b/assets/hbm/textures/models/ModelRubble.png new file mode 100644 index 000000000..1235578b8 Binary files /dev/null and b/assets/hbm/textures/models/ModelRubble.png differ diff --git a/assets/hbm/textures/models/ModelRubbleGround.png b/assets/hbm/textures/models/ModelRubbleGround.png new file mode 100644 index 000000000..672898abe Binary files /dev/null and b/assets/hbm/textures/models/ModelRubbleGround.png differ diff --git a/assets/hbm/textures/models/ModelRubbleMetal.png b/assets/hbm/textures/models/ModelRubbleMetal.png new file mode 100644 index 000000000..6453b8ebb Binary files /dev/null and b/assets/hbm/textures/models/ModelRubbleMetal.png differ diff --git a/assets/hbm/textures/models/ModelRubblePlant.png b/assets/hbm/textures/models/ModelRubblePlant.png new file mode 100644 index 000000000..e7d8aee17 Binary files /dev/null and b/assets/hbm/textures/models/ModelRubblePlant.png differ diff --git a/assets/hbm/textures/models/ModelRubbleRock.png b/assets/hbm/textures/models/ModelRubbleRock.png new file mode 100644 index 000000000..8c1c49325 Binary files /dev/null and b/assets/hbm/textures/models/ModelRubbleRock.png differ diff --git a/assets/hbm/textures/models/ModelRubbleSand.png b/assets/hbm/textures/models/ModelRubbleSand.png new file mode 100644 index 000000000..fe4f436d3 Binary files /dev/null and b/assets/hbm/textures/models/ModelRubbleSand.png differ diff --git a/assets/hbm/textures/models/ModelRubbleScrap.png b/assets/hbm/textures/models/ModelRubbleScrap.png new file mode 100644 index 000000000..e7689de4f Binary files /dev/null and b/assets/hbm/textures/models/ModelRubbleScrap.png differ diff --git a/assets/hbm/textures/models/ModelRubbleWood.png b/assets/hbm/textures/models/ModelRubbleWood.png new file mode 100644 index 000000000..49a06f0f4 Binary files /dev/null and b/assets/hbm/textures/models/ModelRubbleWood.png differ diff --git a/assets/hbm/textures/models/ModelSpark.png b/assets/hbm/textures/models/ModelSpark.png new file mode 100644 index 000000000..9d7ab9dbc Binary files /dev/null and b/assets/hbm/textures/models/ModelSpark.png differ diff --git a/assets/hbm/textures/models/ModelSword.png b/assets/hbm/textures/models/ModelSword.png deleted file mode 100644 index 4fed2ec31..000000000 Binary files a/assets/hbm/textures/models/ModelSword.png and /dev/null differ diff --git a/assets/hbm/textures/models/ModelUboinik.png b/assets/hbm/textures/models/ModelUboinik.png new file mode 100644 index 000000000..9d8fd122b Binary files /dev/null and b/assets/hbm/textures/models/ModelUboinik.png differ diff --git a/assets/minecraft/textures/gui/container/creative_inventory/tab_items.png b/assets/minecraft/textures/gui/container/creative_inventory/tab_items.png new file mode 100644 index 000000000..38421f7ee Binary files /dev/null and b/assets/minecraft/textures/gui/container/creative_inventory/tab_items.png differ diff --git a/assets/minecraft/textures/gui/container/creative_inventory/tab_nuke.png b/assets/minecraft/textures/gui/container/creative_inventory/tab_nuke.png new file mode 100644 index 000000000..b8f11fa51 Binary files /dev/null and b/assets/minecraft/textures/gui/container/creative_inventory/tab_nuke.png differ diff --git a/cofh/api/CoFHAPIProps.java b/cofh/api/CoFHAPIProps.java index c2fbcd9cb..fbfe61b12 100644 --- a/cofh/api/CoFHAPIProps.java +++ b/cofh/api/CoFHAPIProps.java @@ -1,11 +1,11 @@ -package cofh.api; - -public class CoFHAPIProps { - - private CoFHAPIProps() { - - } - - public static final String VERSION = "1.7.10R1.0.2"; - +package cofh.api; + +public class CoFHAPIProps { + + private CoFHAPIProps() { + + } + + public static final String VERSION = "1.7.10R1.0.2"; + } \ No newline at end of file diff --git a/cofh/api/energy/EnergyStorage.java b/cofh/api/energy/EnergyStorage.java index 60bebdb17..4061997a5 100644 --- a/cofh/api/energy/EnergyStorage.java +++ b/cofh/api/energy/EnergyStorage.java @@ -1,158 +1,158 @@ -package cofh.api.energy; - -import net.minecraft.nbt.NBTTagCompound; - -/** - * Reference implementation of {@link IEnergyStorage}. Use/extend this or implement your own. - * - * @author King Lemming - * - */ -public class EnergyStorage implements IEnergyStorage { - - protected int energy; - protected int capacity; - protected int maxReceive; - protected int maxExtract; - - public EnergyStorage(int capacity) { - - this(capacity, capacity, capacity); - } - - public EnergyStorage(int capacity, int maxTransfer) { - - this(capacity, maxTransfer, maxTransfer); - } - - public EnergyStorage(int capacity, int maxReceive, int maxExtract) { - - this.capacity = capacity; - this.maxReceive = maxReceive; - this.maxExtract = maxExtract; - } - - public EnergyStorage readFromNBT(NBTTagCompound nbt) { - - this.energy = nbt.getInteger("Energy"); - - if (energy > capacity) { - energy = capacity; - } - return this; - } - - public NBTTagCompound writeToNBT(NBTTagCompound nbt) { - - if (energy < 0) { - energy = 0; - } - nbt.setInteger("Energy", energy); - return nbt; - } - - public void setCapacity(int capacity) { - - this.capacity = capacity; - - if (energy > capacity) { - energy = capacity; - } - } - - public void setMaxTransfer(int maxTransfer) { - - setMaxReceive(maxTransfer); - setMaxExtract(maxTransfer); - } - - public void setMaxReceive(int maxReceive) { - - this.maxReceive = maxReceive; - } - - public void setMaxExtract(int maxExtract) { - - this.maxExtract = maxExtract; - } - - public int getMaxReceive() { - - return maxReceive; - } - - public int getMaxExtract() { - - return maxExtract; - } - - /** - * This function is included to allow for server -> client sync. Do not call this externally to the containing Tile Entity, as not all IEnergyHandlers - * are guaranteed to have it. - * - * @param energy - */ - public void setEnergyStored(int energy) { - - this.energy = energy; - - if (this.energy > capacity) { - this.energy = capacity; - } else if (this.energy < 0) { - this.energy = 0; - } - } - - /** - * This function is included to allow the containing tile to directly and efficiently modify the energy contained in the EnergyStorage. Do not rely on this - * externally, as not all IEnergyHandlers are guaranteed to have it. - * - * @param energy - */ - public void modifyEnergyStored(int energy) { - - this.energy += energy; - - if (this.energy > capacity) { - this.energy = capacity; - } else if (this.energy < 0) { - this.energy = 0; - } - } - - /* IEnergyStorage */ - @Override - public int receiveEnergy(int maxReceive, boolean simulate) { - - int energyReceived = Math.min(capacity - energy, Math.min(this.maxReceive, maxReceive)); - - if (!simulate) { - energy += energyReceived; - } - return energyReceived; - } - - @Override - public int extractEnergy(int maxExtract, boolean simulate) { - - int energyExtracted = Math.min(energy, Math.min(this.maxExtract, maxExtract)); - - if (!simulate) { - energy -= energyExtracted; - } - return energyExtracted; - } - - @Override - public int getEnergyStored() { - - return energy; - } - - @Override - public int getMaxEnergyStored() { - - return capacity; - } - +package cofh.api.energy; + +import net.minecraft.nbt.NBTTagCompound; + +/** + * Reference implementation of {@link IEnergyStorage}. Use/extend this or implement your own. + * + * @author King Lemming + * + */ +public class EnergyStorage implements IEnergyStorage { + + protected int energy; + protected int capacity; + protected int maxReceive; + protected int maxExtract; + + public EnergyStorage(int capacity) { + + this(capacity, capacity, capacity); + } + + public EnergyStorage(int capacity, int maxTransfer) { + + this(capacity, maxTransfer, maxTransfer); + } + + public EnergyStorage(int capacity, int maxReceive, int maxExtract) { + + this.capacity = capacity; + this.maxReceive = maxReceive; + this.maxExtract = maxExtract; + } + + public EnergyStorage readFromNBT(NBTTagCompound nbt) { + + this.energy = nbt.getInteger("Energy"); + + if (energy > capacity) { + energy = capacity; + } + return this; + } + + public NBTTagCompound writeToNBT(NBTTagCompound nbt) { + + if (energy < 0) { + energy = 0; + } + nbt.setInteger("Energy", energy); + return nbt; + } + + public void setCapacity(int capacity) { + + this.capacity = capacity; + + if (energy > capacity) { + energy = capacity; + } + } + + public void setMaxTransfer(int maxTransfer) { + + setMaxReceive(maxTransfer); + setMaxExtract(maxTransfer); + } + + public void setMaxReceive(int maxReceive) { + + this.maxReceive = maxReceive; + } + + public void setMaxExtract(int maxExtract) { + + this.maxExtract = maxExtract; + } + + public int getMaxReceive() { + + return maxReceive; + } + + public int getMaxExtract() { + + return maxExtract; + } + + /** + * This function is included to allow for server -> client sync. Do not call this externally to the containing Tile Entity, as not all IEnergyHandlers + * are guaranteed to have it. + * + * @param energy + */ + public void setEnergyStored(int energy) { + + this.energy = energy; + + if (this.energy > capacity) { + this.energy = capacity; + } else if (this.energy < 0) { + this.energy = 0; + } + } + + /** + * This function is included to allow the containing tile to directly and efficiently modify the energy contained in the EnergyStorage. Do not rely on this + * externally, as not all IEnergyHandlers are guaranteed to have it. + * + * @param energy + */ + public void modifyEnergyStored(int energy) { + + this.energy += energy; + + if (this.energy > capacity) { + this.energy = capacity; + } else if (this.energy < 0) { + this.energy = 0; + } + } + + /* IEnergyStorage */ + @Override + public int receiveEnergy(int maxReceive, boolean simulate) { + + int energyReceived = Math.min(capacity - energy, Math.min(this.maxReceive, maxReceive)); + + if (!simulate) { + energy += energyReceived; + } + return energyReceived; + } + + @Override + public int extractEnergy(int maxExtract, boolean simulate) { + + int energyExtracted = Math.min(energy, Math.min(this.maxExtract, maxExtract)); + + if (!simulate) { + energy -= energyExtracted; + } + return energyExtracted; + } + + @Override + public int getEnergyStored() { + + return energy; + } + + @Override + public int getMaxEnergyStored() { + + return capacity; + } + } \ No newline at end of file diff --git a/cofh/api/energy/IEnergyConnection.java b/cofh/api/energy/IEnergyConnection.java index 5d68a132c..864073a30 100644 --- a/cofh/api/energy/IEnergyConnection.java +++ b/cofh/api/energy/IEnergyConnection.java @@ -1,21 +1,21 @@ -package cofh.api.energy; - -import net.minecraftforge.common.util.ForgeDirection; - -/** - * Implement this interface on TileEntities which should connect to energy transportation blocks. This is intended for blocks which generate energy but do not - * accept it; otherwise just use IEnergyHandler. - *

- * Note that {@link IEnergyHandler} is an extension of this. - * - * @author King Lemming - * - */ -public interface IEnergyConnection { - - /** - * Returns TRUE if the TileEntity can connect on a given side. - */ - boolean canConnectEnergy(ForgeDirection from); - +package cofh.api.energy; + +import net.minecraftforge.common.util.ForgeDirection; + +/** + * Implement this interface on TileEntities which should connect to energy transportation blocks. This is intended for blocks which generate energy but do not + * accept it; otherwise just use IEnergyHandler. + *

+ * Note that {@link IEnergyHandler} is an extension of this. + * + * @author King Lemming + * + */ +public interface IEnergyConnection { + + /** + * Returns TRUE if the TileEntity can connect on a given side. + */ + boolean canConnectEnergy(ForgeDirection from); + } \ No newline at end of file diff --git a/cofh/api/energy/IEnergyContainerItem.java b/cofh/api/energy/IEnergyContainerItem.java index 24c743809..9b209269c 100644 --- a/cofh/api/energy/IEnergyContainerItem.java +++ b/cofh/api/energy/IEnergyContainerItem.java @@ -1,52 +1,52 @@ -package cofh.api.energy; - -import net.minecraft.item.ItemStack; - -/** - * Implement this interface on Item classes that support external manipulation of their internal energy storages. - *

- * A reference implementation is provided {@link ItemEnergyContainer}. - * - * @author King Lemming - * - */ -public interface IEnergyContainerItem { - - /** - * Adds energy to a container item. Returns the quantity of energy that was accepted. This should always return 0 if the item cannot be externally charged. - * - * @param container - * ItemStack to be charged. - * @param maxReceive - * Maximum amount of energy to be sent into the item. - * @param simulate - * If TRUE, the charge will only be simulated. - * @return Amount of energy that was (or would have been, if simulated) received by the item. - */ - int receiveEnergy(ItemStack container, int maxReceive, boolean simulate); - - /** - * Removes energy from a container item. Returns the quantity of energy that was removed. This should always return 0 if the item cannot be externally - * discharged. - * - * @param container - * ItemStack to be discharged. - * @param maxExtract - * Maximum amount of energy to be extracted from the item. - * @param simulate - * If TRUE, the discharge will only be simulated. - * @return Amount of energy that was (or would have been, if simulated) extracted from the item. - */ - int extractEnergy(ItemStack container, int maxExtract, boolean simulate); - - /** - * Get the amount of energy currently stored in the container item. - */ - int getEnergyStored(ItemStack container); - - /** - * Get the max amount of energy that can be stored in the container item. - */ - int getMaxEnergyStored(ItemStack container); - +package cofh.api.energy; + +import net.minecraft.item.ItemStack; + +/** + * Implement this interface on Item classes that support external manipulation of their internal energy storages. + *

+ * A reference implementation is provided {@link ItemEnergyContainer}. + * + * @author King Lemming + * + */ +public interface IEnergyContainerItem { + + /** + * Adds energy to a container item. Returns the quantity of energy that was accepted. This should always return 0 if the item cannot be externally charged. + * + * @param container + * ItemStack to be charged. + * @param maxReceive + * Maximum amount of energy to be sent into the item. + * @param simulate + * If TRUE, the charge will only be simulated. + * @return Amount of energy that was (or would have been, if simulated) received by the item. + */ + int receiveEnergy(ItemStack container, int maxReceive, boolean simulate); + + /** + * Removes energy from a container item. Returns the quantity of energy that was removed. This should always return 0 if the item cannot be externally + * discharged. + * + * @param container + * ItemStack to be discharged. + * @param maxExtract + * Maximum amount of energy to be extracted from the item. + * @param simulate + * If TRUE, the discharge will only be simulated. + * @return Amount of energy that was (or would have been, if simulated) extracted from the item. + */ + int extractEnergy(ItemStack container, int maxExtract, boolean simulate); + + /** + * Get the amount of energy currently stored in the container item. + */ + int getEnergyStored(ItemStack container); + + /** + * Get the max amount of energy that can be stored in the container item. + */ + int getMaxEnergyStored(ItemStack container); + } \ No newline at end of file diff --git a/cofh/api/energy/IEnergyHandler.java b/cofh/api/energy/IEnergyHandler.java index 9e4fe6f78..ec33b43e8 100644 --- a/cofh/api/energy/IEnergyHandler.java +++ b/cofh/api/energy/IEnergyHandler.java @@ -1,58 +1,58 @@ -package cofh.api.energy; - -import net.minecraftforge.common.util.ForgeDirection; - -/** - * Implement this interface on Tile Entities which should handle energy, generally storing it in one or more internal {@link IEnergyStorage} objects. - *

- * A reference implementation is provided {@link TileEnergyHandler}. - * - * @author King Lemming - * - */ -public interface IEnergyHandler extends IEnergyProvider, IEnergyReceiver { - - // merely a convenience interface (remove these methods in 1.8; provided here for back-compat via compiler doing things) - - /** - * Add energy to an IEnergyReceiver, internal distribution is left entirely to the IEnergyReceiver. - * - * @param from - * Orientation the energy is received from. - * @param maxReceive - * Maximum amount of energy to receive. - * @param simulate - * If TRUE, the charge will only be simulated. - * @return Amount of energy that was (or would have been, if simulated) received. - */ - @Override - int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate); - - /** - * Remove energy from an IEnergyProvider, internal distribution is left entirely to the IEnergyProvider. - * - * @param from - * Orientation the energy is extracted from. - * @param maxExtract - * Maximum amount of energy to extract. - * @param simulate - * If TRUE, the extraction will only be simulated. - * @return Amount of energy that was (or would have been, if simulated) extracted. - */ - @Override - int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate); - - - /** - * Returns the amount of energy currently stored. - */ - @Override - int getEnergyStored(ForgeDirection from); - - /** - * Returns the maximum amount of energy that can be stored. - */ - @Override - int getMaxEnergyStored(ForgeDirection from); - +package cofh.api.energy; + +import net.minecraftforge.common.util.ForgeDirection; + +/** + * Implement this interface on Tile Entities which should handle energy, generally storing it in one or more internal {@link IEnergyStorage} objects. + *

+ * A reference implementation is provided {@link TileEnergyHandler}. + * + * @author King Lemming + * + */ +public interface IEnergyHandler extends IEnergyProvider, IEnergyReceiver { + + // merely a convenience interface (remove these methods in 1.8; provided here for back-compat via compiler doing things) + + /** + * Add energy to an IEnergyReceiver, internal distribution is left entirely to the IEnergyReceiver. + * + * @param from + * Orientation the energy is received from. + * @param maxReceive + * Maximum amount of energy to receive. + * @param simulate + * If TRUE, the charge will only be simulated. + * @return Amount of energy that was (or would have been, if simulated) received. + */ + @Override + int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate); + + /** + * Remove energy from an IEnergyProvider, internal distribution is left entirely to the IEnergyProvider. + * + * @param from + * Orientation the energy is extracted from. + * @param maxExtract + * Maximum amount of energy to extract. + * @param simulate + * If TRUE, the extraction will only be simulated. + * @return Amount of energy that was (or would have been, if simulated) extracted. + */ + @Override + int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate); + + + /** + * Returns the amount of energy currently stored. + */ + @Override + int getEnergyStored(ForgeDirection from); + + /** + * Returns the maximum amount of energy that can be stored. + */ + @Override + int getMaxEnergyStored(ForgeDirection from); + } \ No newline at end of file diff --git a/cofh/api/energy/IEnergyProvider.java b/cofh/api/energy/IEnergyProvider.java index af1210b95..eea65ff32 100644 --- a/cofh/api/energy/IEnergyProvider.java +++ b/cofh/api/energy/IEnergyProvider.java @@ -1,38 +1,38 @@ -package cofh.api.energy; - -import net.minecraftforge.common.util.ForgeDirection; - -/** - * Implement this interface on Tile Entities which should provide energy, generally storing it in one or more internal {@link IEnergyStorage} objects. - *

- * A reference implementation is provided {@link TileEnergyHandler}. - * - * @author King Lemming - * - */ -public interface IEnergyProvider extends IEnergyConnection { - - /** - * Remove energy from an IEnergyProvider, internal distribution is left entirely to the IEnergyProvider. - * - * @param from - * Orientation the energy is extracted from. - * @param maxExtract - * Maximum amount of energy to extract. - * @param simulate - * If TRUE, the extraction will only be simulated. - * @return Amount of energy that was (or would have been, if simulated) extracted. - */ - int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate); - - /** - * Returns the amount of energy currently stored. - */ - int getEnergyStored(ForgeDirection from); - - /** - * Returns the maximum amount of energy that can be stored. - */ - int getMaxEnergyStored(ForgeDirection from); - +package cofh.api.energy; + +import net.minecraftforge.common.util.ForgeDirection; + +/** + * Implement this interface on Tile Entities which should provide energy, generally storing it in one or more internal {@link IEnergyStorage} objects. + *

+ * A reference implementation is provided {@link TileEnergyHandler}. + * + * @author King Lemming + * + */ +public interface IEnergyProvider extends IEnergyConnection { + + /** + * Remove energy from an IEnergyProvider, internal distribution is left entirely to the IEnergyProvider. + * + * @param from + * Orientation the energy is extracted from. + * @param maxExtract + * Maximum amount of energy to extract. + * @param simulate + * If TRUE, the extraction will only be simulated. + * @return Amount of energy that was (or would have been, if simulated) extracted. + */ + int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate); + + /** + * Returns the amount of energy currently stored. + */ + int getEnergyStored(ForgeDirection from); + + /** + * Returns the maximum amount of energy that can be stored. + */ + int getMaxEnergyStored(ForgeDirection from); + } \ No newline at end of file diff --git a/cofh/api/energy/IEnergyReceiver.java b/cofh/api/energy/IEnergyReceiver.java index 77c1c0a63..71c3397c8 100644 --- a/cofh/api/energy/IEnergyReceiver.java +++ b/cofh/api/energy/IEnergyReceiver.java @@ -1,38 +1,38 @@ -package cofh.api.energy; - -import net.minecraftforge.common.util.ForgeDirection; - -/** - * Implement this interface on Tile Entities which should receive energy, generally storing it in one or more internal {@link IEnergyStorage} objects. - *

- * A reference implementation is provided {@link TileEnergyHandler}. - * - * @author King Lemming - * - */ -public interface IEnergyReceiver extends IEnergyConnection { - - /** - * Add energy to an IEnergyReceiver, internal distribution is left entirely to the IEnergyReceiver. - * - * @param from - * Orientation the energy is received from. - * @param maxReceive - * Maximum amount of energy to receive. - * @param simulate - * If TRUE, the charge will only be simulated. - * @return Amount of energy that was (or would have been, if simulated) received. - */ - int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate); - - /** - * Returns the amount of energy currently stored. - */ - int getEnergyStored(ForgeDirection from); - - /** - * Returns the maximum amount of energy that can be stored. - */ - int getMaxEnergyStored(ForgeDirection from); - +package cofh.api.energy; + +import net.minecraftforge.common.util.ForgeDirection; + +/** + * Implement this interface on Tile Entities which should receive energy, generally storing it in one or more internal {@link IEnergyStorage} objects. + *

+ * A reference implementation is provided {@link TileEnergyHandler}. + * + * @author King Lemming + * + */ +public interface IEnergyReceiver extends IEnergyConnection { + + /** + * Add energy to an IEnergyReceiver, internal distribution is left entirely to the IEnergyReceiver. + * + * @param from + * Orientation the energy is received from. + * @param maxReceive + * Maximum amount of energy to receive. + * @param simulate + * If TRUE, the charge will only be simulated. + * @return Amount of energy that was (or would have been, if simulated) received. + */ + int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate); + + /** + * Returns the amount of energy currently stored. + */ + int getEnergyStored(ForgeDirection from); + + /** + * Returns the maximum amount of energy that can be stored. + */ + int getMaxEnergyStored(ForgeDirection from); + } \ No newline at end of file diff --git a/cofh/api/energy/IEnergyStorage.java b/cofh/api/energy/IEnergyStorage.java index 9be47af0f..e9f2c6f3a 100644 --- a/cofh/api/energy/IEnergyStorage.java +++ b/cofh/api/energy/IEnergyStorage.java @@ -1,46 +1,46 @@ -package cofh.api.energy; - -/** - * An energy storage is the unit of interaction with Energy inventories.
- * This is not to be implemented on TileEntities. This is for internal use only. - *

- * A reference implementation can be found at {@link EnergyStorage}. - * - * @author King Lemming - * - */ -public interface IEnergyStorage { - - /** - * Adds energy to the storage. Returns quantity of energy that was accepted. - * - * @param maxReceive - * Maximum amount of energy to be inserted. - * @param simulate - * If TRUE, the insertion will only be simulated. - * @return Amount of energy that was (or would have been, if simulated) accepted by the storage. - */ - int receiveEnergy(int maxReceive, boolean simulate); - - /** - * Removes energy from the storage. Returns quantity of energy that was removed. - * - * @param maxExtract - * Maximum amount of energy to be extracted. - * @param simulate - * If TRUE, the extraction will only be simulated. - * @return Amount of energy that was (or would have been, if simulated) extracted from the storage. - */ - int extractEnergy(int maxExtract, boolean simulate); - - /** - * Returns the amount of energy currently stored. - */ - int getEnergyStored(); - - /** - * Returns the maximum amount of energy that can be stored. - */ - int getMaxEnergyStored(); - +package cofh.api.energy; + +/** + * An energy storage is the unit of interaction with Energy inventories.
+ * This is not to be implemented on TileEntities. This is for internal use only. + *

+ * A reference implementation can be found at {@link EnergyStorage}. + * + * @author King Lemming + * + */ +public interface IEnergyStorage { + + /** + * Adds energy to the storage. Returns quantity of energy that was accepted. + * + * @param maxReceive + * Maximum amount of energy to be inserted. + * @param simulate + * If TRUE, the insertion will only be simulated. + * @return Amount of energy that was (or would have been, if simulated) accepted by the storage. + */ + int receiveEnergy(int maxReceive, boolean simulate); + + /** + * Removes energy from the storage. Returns quantity of energy that was removed. + * + * @param maxExtract + * Maximum amount of energy to be extracted. + * @param simulate + * If TRUE, the extraction will only be simulated. + * @return Amount of energy that was (or would have been, if simulated) extracted from the storage. + */ + int extractEnergy(int maxExtract, boolean simulate); + + /** + * Returns the amount of energy currently stored. + */ + int getEnergyStored(); + + /** + * Returns the maximum amount of energy that can be stored. + */ + int getMaxEnergyStored(); + } \ No newline at end of file diff --git a/cofh/api/energy/ItemEnergyContainer.java b/cofh/api/energy/ItemEnergyContainer.java index 3fb5835c5..c2761b755 100644 --- a/cofh/api/energy/ItemEnergyContainer.java +++ b/cofh/api/energy/ItemEnergyContainer.java @@ -1,110 +1,110 @@ -package cofh.api.energy; - -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; - -/** - * Reference implementation of {@link IEnergyContainerItem}. Use/extend this or implement your own. - * - * @author King Lemming - * - */ -public class ItemEnergyContainer extends Item implements IEnergyContainerItem { - - protected int capacity; - protected int maxReceive; - protected int maxExtract; - - public ItemEnergyContainer() { - - } - - public ItemEnergyContainer(int capacity) { - - this(capacity, capacity, capacity); - } - - public ItemEnergyContainer(int capacity, int maxTransfer) { - - this(capacity, maxTransfer, maxTransfer); - } - - public ItemEnergyContainer(int capacity, int maxReceive, int maxExtract) { - - this.capacity = capacity; - this.maxReceive = maxReceive; - this.maxExtract = maxExtract; - } - - public ItemEnergyContainer setCapacity(int capacity) { - - this.capacity = capacity; - return this; - } - - public void setMaxTransfer(int maxTransfer) { - - setMaxReceive(maxTransfer); - setMaxExtract(maxTransfer); - } - - public void setMaxReceive(int maxReceive) { - - this.maxReceive = maxReceive; - } - - public void setMaxExtract(int maxExtract) { - - this.maxExtract = maxExtract; - } - - /* IEnergyContainerItem */ - @Override - public int receiveEnergy(ItemStack container, int maxReceive, boolean simulate) { - - if (container.stackTagCompound == null) { - container.stackTagCompound = new NBTTagCompound(); - } - int energy = container.stackTagCompound.getInteger("Energy"); - int energyReceived = Math.min(capacity - energy, Math.min(this.maxReceive, maxReceive)); - - if (!simulate) { - energy += energyReceived; - container.stackTagCompound.setInteger("Energy", energy); - } - return energyReceived; - } - - @Override - public int extractEnergy(ItemStack container, int maxExtract, boolean simulate) { - - if (container.stackTagCompound == null || !container.stackTagCompound.hasKey("Energy")) { - return 0; - } - int energy = container.stackTagCompound.getInteger("Energy"); - int energyExtracted = Math.min(energy, Math.min(this.maxExtract, maxExtract)); - - if (!simulate) { - energy -= energyExtracted; - container.stackTagCompound.setInteger("Energy", energy); - } - return energyExtracted; - } - - @Override - public int getEnergyStored(ItemStack container) { - - if (container.stackTagCompound == null || !container.stackTagCompound.hasKey("Energy")) { - return 0; - } - return container.stackTagCompound.getInteger("Energy"); - } - - @Override - public int getMaxEnergyStored(ItemStack container) { - - return capacity; - } - +package cofh.api.energy; + +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; + +/** + * Reference implementation of {@link IEnergyContainerItem}. Use/extend this or implement your own. + * + * @author King Lemming + * + */ +public class ItemEnergyContainer extends Item implements IEnergyContainerItem { + + protected int capacity; + protected int maxReceive; + protected int maxExtract; + + public ItemEnergyContainer() { + + } + + public ItemEnergyContainer(int capacity) { + + this(capacity, capacity, capacity); + } + + public ItemEnergyContainer(int capacity, int maxTransfer) { + + this(capacity, maxTransfer, maxTransfer); + } + + public ItemEnergyContainer(int capacity, int maxReceive, int maxExtract) { + + this.capacity = capacity; + this.maxReceive = maxReceive; + this.maxExtract = maxExtract; + } + + public ItemEnergyContainer setCapacity(int capacity) { + + this.capacity = capacity; + return this; + } + + public void setMaxTransfer(int maxTransfer) { + + setMaxReceive(maxTransfer); + setMaxExtract(maxTransfer); + } + + public void setMaxReceive(int maxReceive) { + + this.maxReceive = maxReceive; + } + + public void setMaxExtract(int maxExtract) { + + this.maxExtract = maxExtract; + } + + /* IEnergyContainerItem */ + @Override + public int receiveEnergy(ItemStack container, int maxReceive, boolean simulate) { + + if (container.stackTagCompound == null) { + container.stackTagCompound = new NBTTagCompound(); + } + int energy = container.stackTagCompound.getInteger("Energy"); + int energyReceived = Math.min(capacity - energy, Math.min(this.maxReceive, maxReceive)); + + if (!simulate) { + energy += energyReceived; + container.stackTagCompound.setInteger("Energy", energy); + } + return energyReceived; + } + + @Override + public int extractEnergy(ItemStack container, int maxExtract, boolean simulate) { + + if (container.stackTagCompound == null || !container.stackTagCompound.hasKey("Energy")) { + return 0; + } + int energy = container.stackTagCompound.getInteger("Energy"); + int energyExtracted = Math.min(energy, Math.min(this.maxExtract, maxExtract)); + + if (!simulate) { + energy -= energyExtracted; + container.stackTagCompound.setInteger("Energy", energy); + } + return energyExtracted; + } + + @Override + public int getEnergyStored(ItemStack container) { + + if (container.stackTagCompound == null || !container.stackTagCompound.hasKey("Energy")) { + return 0; + } + return container.stackTagCompound.getInteger("Energy"); + } + + @Override + public int getMaxEnergyStored(ItemStack container) { + + return capacity; + } + } \ No newline at end of file diff --git a/cofh/api/energy/TileEnergyHandler.java b/cofh/api/energy/TileEnergyHandler.java index ec3db4de0..5a6d29314 100644 --- a/cofh/api/energy/TileEnergyHandler.java +++ b/cofh/api/energy/TileEnergyHandler.java @@ -1,65 +1,65 @@ -package cofh.api.energy; - -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraftforge.common.util.ForgeDirection; - -/** - * Reference implementation of {@link IEnergyHandler}. Use/extend this or implement your own. - * - * @author King Lemming - * - */ -public class TileEnergyHandler extends TileEntity implements IEnergyHandler { - - protected EnergyStorage storage = new EnergyStorage(32000); - - @Override - public void readFromNBT(NBTTagCompound nbt) { - - super.readFromNBT(nbt); - storage.readFromNBT(nbt); - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - - super.writeToNBT(nbt); - storage.writeToNBT(nbt); - } - - /* IEnergyConnection */ - @Override - public boolean canConnectEnergy(ForgeDirection from) { - - return true; - } - - /* IEnergyReceiver */ - @Override - public int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate) { - - return storage.receiveEnergy(maxReceive, simulate); - } - - /* IEnergyProvider */ - @Override - public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate) { - - return storage.extractEnergy(maxExtract, simulate); - } - - /* IEnergyReceiver and IEnergyProvider */ - @Override - public int getEnergyStored(ForgeDirection from) { - - return storage.getEnergyStored(); - } - - @Override - public int getMaxEnergyStored(ForgeDirection from) { - - return storage.getMaxEnergyStored(); - } - +package cofh.api.energy; + +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraftforge.common.util.ForgeDirection; + +/** + * Reference implementation of {@link IEnergyHandler}. Use/extend this or implement your own. + * + * @author King Lemming + * + */ +public class TileEnergyHandler extends TileEntity implements IEnergyHandler { + + protected EnergyStorage storage = new EnergyStorage(32000); + + @Override + public void readFromNBT(NBTTagCompound nbt) { + + super.readFromNBT(nbt); + storage.readFromNBT(nbt); + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + + super.writeToNBT(nbt); + storage.writeToNBT(nbt); + } + + /* IEnergyConnection */ + @Override + public boolean canConnectEnergy(ForgeDirection from) { + + return true; + } + + /* IEnergyReceiver */ + @Override + public int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate) { + + return storage.receiveEnergy(maxReceive, simulate); + } + + /* IEnergyProvider */ + @Override + public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate) { + + return storage.extractEnergy(maxExtract, simulate); + } + + /* IEnergyReceiver and IEnergyProvider */ + @Override + public int getEnergyStored(ForgeDirection from) { + + return storage.getEnergyStored(); + } + + @Override + public int getMaxEnergyStored(ForgeDirection from) { + + return storage.getMaxEnergyStored(); + } + } \ No newline at end of file diff --git a/cofh/api/energy/package-info.java b/cofh/api/energy/package-info.java index 812015c1c..195766e5d 100644 --- a/cofh/api/energy/package-info.java +++ b/cofh/api/energy/package-info.java @@ -1,9 +1,9 @@ -/** - * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub - * http://www.teamcofh.com - */ -@API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|energy") -package cofh.api.energy; - -import cofh.api.CoFHAPIProps; +/** + * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub + * http://www.teamcofh.com + */ +@API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|energy") +package cofh.api.energy; + +import cofh.api.CoFHAPIProps; import cpw.mods.fml.common.API; \ No newline at end of file diff --git a/cofh/api/package-info.java b/cofh/api/package-info.java index 8f78d17b1..0ca0f8614 100644 --- a/cofh/api/package-info.java +++ b/cofh/api/package-info.java @@ -1,8 +1,8 @@ -/** - * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub - * http://www.teamcofh.com - */ -@API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHLib", provides = "CoFHAPI") -package cofh.api; - +/** + * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub + * http://www.teamcofh.com + */ +@API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHLib", provides = "CoFHAPI") +package cofh.api; + import cpw.mods.fml.common.API; \ No newline at end of file diff --git a/com/hbm/blocks/BlockCrate.java b/com/hbm/blocks/BlockCrate.java deleted file mode 100644 index cfb46b813..000000000 --- a/com/hbm/blocks/BlockCrate.java +++ /dev/null @@ -1,253 +0,0 @@ -package com.hbm.blocks; - -import java.util.ArrayList; -import java.util.List; -import java.util.Random; - -import com.hbm.items.ModItems; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockFalling; -import net.minecraft.block.material.Material; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; - -public class BlockCrate extends BlockFalling { - - protected BlockCrate(Material p_i45394_1_) { - super(p_i45394_1_); - } - - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return null; - } - - - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_) { - if(player.getHeldItem() != null && player.getHeldItem().getItem().equals(ModItems.crowbar)) - { - dropItems(world, x, y, z); - world.setBlockToAir(x, y, z); - world.playSoundEffect(x, y, z, "hbm:block.crateBreak", 1.0F, 1.0F); - return true; - } else { - if(world.isRemote) - { - player.addChatMessage(new ChatComponentText("I'll need a crate opening device to get the loot, smashing the whole thing won't work...")); - } - } - - return true; - } - - public void dropItems(World world, int x, int y, int z) { - Random rand = new Random(); - List list1 = new ArrayList(); - - list1 = this.addToListWithWeight(list1, ModItems.syringe_metal_stimpak, 10); - list1 = this.addToListWithWeight(list1, ModItems.syringe_antidote, 5); - list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_iron, 9); - list1 = this.addToListWithWeight(list1, ModItems.clip_revolver, 7); - list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_gold, 4); - list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_lead, 6); - list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_schrabidium, 1); - list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_cursed, 5); - list1 = this.addToListWithWeight(list1, ModItems.clip_rpg, 5); - list1 = this.addToListWithWeight(list1, ModItems.clip_fatman, 3); - list1 = this.addToListWithWeight(list1, ModItems.clip_mirv, 1); - list1 = this.addToListWithWeight(list1, ModItems.clip_bf, 0); - list1 = this.addToListWithWeight(list1, ModItems.clip_mp40, 7); - list1 = this.addToListWithWeight(list1, ModItems.clip_osipr, 7); - list1 = this.addToListWithWeight(list1, ModItems.clip_immolator, 4); - list1 = this.addToListWithWeight(list1, ModItems.clip_cryolator, 4); - list1 = this.addToListWithWeight(list1, ModItems.clip_mp, 3); - list1 = this.addToListWithWeight(list1, ModItems.clip_xvl1456, 5); - list1 = this.addToListWithWeight(list1, ModItems.clip_emp, 3); - list1 = this.addToListWithWeight(list1, ModItems.grenade_generic, 8); - list1 = this.addToListWithWeight(list1, ModItems.grenade_strong, 6); - list1 = this.addToListWithWeight(list1, ModItems.grenade_mk2, 4); - list1 = this.addToListWithWeight(list1, ModItems.grenade_flare, 4); - - List list = new ArrayList(); - -<<<<<<< HEAD - int i = rand.nextInt(5); - for(int j = 0; j < i; j++) - list.add(list1.get(rand.nextInt(list1.size()))); - -======= -<<<<<<< HEAD - switch(rand.nextInt(32)) { -======= - switch(rand.nextInt(29)) { ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 - case 0: - list.add(ModItems.clip_revolver_iron); - list.add(ModItems.clip_revolver_iron); - break; - case 1: - list.add(ModItems.clip_revolver_iron); - list.add(ModItems.syringe_metal_stimpak); - list.add(ModItems.syringe_metal_stimpak); - break; - case 2: - list.add(ModItems.clip_revolver); - list.add(ModItems.syringe_metal_stimpak); - break; - case 3: - list.add(ModItems.clip_osipr); - list.add(ModItems.syringe_metal_stimpak); - break; - case 4: - list.add(ModItems.clip_osipr); - list.add(ModItems.clip_osipr); - list.add(ModItems.syringe_metal_stimpak); - break; - case 5: - list.add(ModItems.clip_revolver_iron); - list.add(ModItems.clip_revolver); - break; - case 6: - list.add(ModItems.clip_revolver_iron); - list.add(ModItems.clip_revolver_iron); - list.add(ModItems.clip_revolver); - break; - case 7: - list.add(ModItems.clip_revolver_iron); - list.add(ModItems.clip_osipr); - break; - case 8: - list.add(ModItems.clip_revolver_gold); - list.add(ModItems.syringe_metal_stimpak); - break; - case 9: - list.add(ModItems.clip_revolver_gold); - list.add(ModItems.clip_revolver_gold); - list.add(ModItems.syringe_metal_stimpak); - break; - case 10: - list.add(ModItems.clip_revolver_schrabidium); - break; - case 11: - list.add(ModItems.clip_xvl1456); - break; - case 12: - list.add(ModItems.clip_xvl1456); - list.add(ModItems.clip_xvl1456); - break; - case 13: - list.add(ModItems.clip_xvl1456); - list.add(ModItems.syringe_metal_stimpak); - break; - case 14: - list.add(ModItems.clip_osipr); - list.add(ModItems.clip_osipr); - list.add(ModItems.syringe_metal_stimpak); - break; - case 15: - list.add(ModItems.clip_osipr); - list.add(ModItems.syringe_metal_stimpak); - list.add(ModItems.syringe_metal_stimpak); - break; - case 16: - list.add(ModItems.clip_revolver_gold); - list.add(ModItems.clip_revolver_gold); - break; - case 17: - list.add(ModItems.clip_rpg); - list.add(ModItems.clip_rpg); - break; - case 18: - list.add(ModItems.clip_rpg); - list.add(ModItems.syringe_metal_stimpak); - break; - case 19: - list.add(ModItems.clip_rpg); - list.add(ModItems.clip_revolver_iron); - list.add(ModItems.syringe_metal_stimpak); - break; - case 20: - list.add(ModItems.clip_rpg); - list.add(ModItems.clip_revolver); - list.add(ModItems.syringe_metal_stimpak); - break; - case 21: - list.add(ModItems.syringe_metal_stimpak); - list.add(ModItems.syringe_metal_stimpak); - break; - case 22: - list.add(ModItems.syringe_metal_stimpak); - list.add(ModItems.syringe_metal_stimpak); - list.add(ModItems.syringe_metal_stimpak); - break; - case 23: - list.add(ModItems.clip_revolver_cursed); - list.add(ModItems.clip_revolver_cursed); - list.add(ModItems.clip_revolver_cursed); - break; - case 24: - list.add(ModItems.clip_revolver_lead); - list.add(ModItems.syringe_metal_stimpak); - break; - case 25: - list.add(ModItems.clip_revolver_lead); - list.add(ModItems.clip_revolver_lead); - break; - case 26: - list.add(ModItems.clip_mp); - break; - case 27: - list.add(ModItems.clip_fatman); - break; - case 28: - list.add(ModItems.clip_fatman); - list.add(ModItems.clip_rpg); - break; -<<<<<<< HEAD - case 29: - list.add(ModItems.grenade_generic); - list.add(ModItems.grenade_generic); - list.add(ModItems.grenade_generic); - break; - case 30: - list.add(ModItems.grenade_strong); - list.add(ModItems.grenade_strong); - list.add(ModItems.grenade_strong); - break; - case 31: - list.add(ModItems.grenade_mk2); - list.add(ModItems.grenade_mk2); - break; -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 - } ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - for(Item stack : list) { - float f = rand.nextFloat() * 0.8F + 0.1F; - float f1 = rand.nextFloat() * 0.8F + 0.1F; - float f2 = rand.nextFloat() * 0.8F + 0.1F; - EntityItem entityitem = new EntityItem(world, x + f, y + f1, z + f2, new ItemStack(stack)); - - float f3 = 0.05F; - entityitem.motionX = (float)rand.nextGaussian() * f3; - entityitem.motionY = (float)rand.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)rand.nextGaussian() * f3; - if(!world.isRemote) - world.spawnEntityInWorld(entityitem); - } - } - - public static List addToListWithWeight(List list, Item item, int weight) { - for(int i = 0; i < weight; i++) - list.add(item); - - return list; - } -} diff --git a/com/hbm/blocks/DetCord.java b/com/hbm/blocks/DetCord.java deleted file mode 100644 index c4055e61c..000000000 --- a/com/hbm/blocks/DetCord.java +++ /dev/null @@ -1,49 +0,0 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.explosion.ExplosionChaos; -import com.hbm.interfaces.IBomb; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.world.Explosion; -import net.minecraft.world.World; - -public class DetCord extends Block implements IBomb { - - protected DetCord(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) - { - if (!p_149723_1_.isRemote) - { - p_149723_1_.createExplosion(null, p_149723_2_ + 0.5, p_149723_3_ + 0.5, p_149723_4_ + 0.5, 1.5F, true); - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - p_149695_1_.createExplosion(null, x + 0.5, y + 0.5, z + 0.5, 1.5F, true); - } - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return null; - } - - public void explode(World world, int x, int y, int z) { - world.createExplosion(null, x + 0.5, y + 0.5, z + 0.5, 1.5F, true); - } - -} diff --git a/com/hbm/blocks/ModBlocks.java b/com/hbm/blocks/ModBlocks.java index b5acafedc..ebad3f50d 100644 --- a/com/hbm/blocks/ModBlocks.java +++ b/com/hbm/blocks/ModBlocks.java @@ -1,817 +1,1032 @@ -package com.hbm.blocks; - -import com.hbm.items.bomb.ItemPrototypeBlock; -import com.hbm.items.special.ItemPlasmaBlock; -import com.hbm.items.special.ItemSchrabidiumBlock; -import com.hbm.lib.ModDamageSource; -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.common.registry.GameRegistry; -import net.minecraft.block.Block; -<<<<<<< HEAD -import net.minecraft.block.Block.SoundType; -======= -<<<<<<< HEAD -import net.minecraft.block.Block.SoundType; -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import net.minecraft.block.BlockFalling; -import net.minecraft.block.material.MapColor; -import net.minecraft.block.material.Material; -import net.minecraft.block.material.MaterialLiquid; -import net.minecraftforge.fluids.Fluid; -import net.minecraftforge.fluids.FluidRegistry; - -public class ModBlocks { - - public static void mainRegistry() - { - initializeBlock(); - registerBlock(); - } - - public static Block test_render; - public static Block test_container; - public static Block test_bomb; - public static Block test_bomb_advanced; - public static Block test_nuke; - public static final int guiID_test_nuke = 2; - public static Block event_tester; - public static Block rotation_tester; - public static Block obj_tester; - public static Block test_ticker; - public static Block test_missile; - - public static Block ore_uranium; - public static Block ore_titanium; - public static Block ore_sulfur; - - public static Block ore_niter; - public static Block ore_copper; - public static Block ore_tungsten; - public static Block ore_aluminium; - public static Block ore_fluorite; - public static Block ore_lead; - public static Block ore_schrabidium; - public static Block ore_beryllium; - - public static Block ore_nether_uranium; - public static Block ore_nether_plutonium; - public static Block ore_nether_tungsten; - public static Block ore_nether_sulfur; - public static Block ore_nether_fire; - public static Block ore_nether_schrabidium; - - public static Block block_uranium; - public static Block block_titanium; - public static Block block_sulfur; - public static Block block_niter; - public static Block block_copper; - public static Block block_red_copper; - public static Block block_tungsten; - public static Block block_aluminium; - public static Block block_fluorite; - public static Block block_steel; - public static Block block_lead; - public static Block block_trinitite; - public static Block block_waste; - public static Block block_scrap; -<<<<<<< HEAD - public static Block block_electrical_scrap; -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - public static Block block_beryllium; - public static Block block_schrabidium; - public static Block block_advanced_alloy; - public static Block block_magnetized_tungsten; - public static Block block_combine_steel; - - public static Block gravel_obsidian; - - public static Block reinforced_brick; - public static Block reinforced_glass; - public static Block reinforced_light; - public static Block reinforced_sand; - public static Block reinforced_lamp_off; - public static Block reinforced_lamp_on; - - public static Block brick_concrete; - public static Block brick_obsidian; - public static Block brick_light; - - public static Block cmb_brick; - public static Block cmb_brick_reinforced; - - public static Block block_meteor; - - public static Block tape_recorder; - public static Block steel_poles; - public static Block pole_top; - public static Block pole_satellite_receiver; - public static Block steel_wall; - public static Block steel_corner; - public static Block steel_roof; - public static Block steel_beam; - public static Block steel_scaffold; - - public static Block mush; - public static Block mush_block; - public static Block mush_block_stem; - - public static Block waste_earth; - public static Block waste_mycelium; - public static Block waste_trinitite; - public static Block waste_trinitite_red; - public static Block waste_log; - public static Block waste_planks; - public static Block frozen_dirt; - public static Block frozen_grass; - public static Block frozen_log; - public static Block frozen_planks; - - public static Block flame_war; - public static Block float_bomb; - public static Block therm_endo; - public static Block therm_exo; - public static Block det_cord; - public static Block red_barrel; - public static Block yellow_barrel; - public static Block crashed_balefire; - - public static Block crate; - - public static Block nuke_gadget; - public static final int guiID_nuke_gadget = 3; - - public static Block nuke_boy; - public static final int guiID_nuke_boy = 4; - - public static Block nuke_man; - public static final int guiID_nuke_man = 6; - - public static Block nuke_mike; - public static final int guiID_nuke_mike = 11; - - public static Block nuke_tsar; - public static final int guiID_nuke_tsar = 12; - - public static Block nuke_fleija; - public static final int guiID_nuke_fleija = 17; - - public static Block nuke_prototype; - public static final int guiID_nuke_prototype = 23; - - public static Block bomb_multi; - public static final int guiID_bomb_multi = 10; - - public static Block machine_difurnace_off; - public static Block machine_difurnace_on; - public static final int guiID_test_difurnace = 1; - - public static Block machine_centrifuge; - public static final int guiID_centrifuge = 5; - - public static Block machine_uf6_tank; - public static final int guiID_uf6_tank = 7; - - public static Block machine_puf6_tank; - public static final int guiID_puf6_tank = 8; - - public static Block machine_reactor; - public static final int guiID_reactor = 9; - - public static Block machine_nuke_furnace_off; - public static Block machine_nuke_furnace_on; - public static final int guiID_nuke_furnace = 13; - - public static Block machine_rtg_furnace_off; - public static Block machine_rtg_furnace_on; - public static final int guiID_rtg_furnace = 14; - - public static Block machine_generator; - public static final int guiID_machine_generator = 15; - - public static Block machine_electric_furnace_off; - public static Block machine_electric_furnace_on; - public static final int guiID_electric_furnace = 16; - - public static Block machine_deuterium; - public static final int guiID_machine_deuterium = 20; - - public static Block machine_battery; - public static final int guiID_machine_battery = 21; - - public static Block machine_coal_off; - public static Block machine_coal_on; - public static final int guiID_machine_coal = 22; - - public static Block red_wire_coated; - public static Block red_cable; - - public static Block bomb_multi_large; - public static final int guiID_bomb_multi_large = 18; - - public static Block factory_titanium_hull; - public static Block factory_titanium_furnace; - public static Block factory_titanium_conductor; - public static Block factory_titanium_core; - public static final int guiID_factory_titanium = 24; - - public static Block factory_advanced_hull; - public static Block factory_advanced_furnace; - public static Block factory_advanced_conductor; - public static Block factory_advanced_core; - public static final int guiID_factory_advanced = 25; - - public static Block reactor_element; - public static Block reactor_control; - public static Block reactor_hatch; - public static Block reactor_conductor; - public static Block reactor_computer; - public static final int guiID_reactor_multiblock = 26; - - public static Block fusion_conductor; - public static Block fusion_center; - public static Block fusion_motor; - public static Block fusion_heater; - public static Block fusion_hatch; - public static Block fusion_core; - public static Block plasma; - public static final int guiID_fusion_multiblock = 27; - - public static Block watz_element; - public static Block watz_control; - public static Block watz_cooler; - public static Block watz_end; - public static Block watz_hatch; - public static Block watz_conductor; - public static Block watz_core; - public static final int guiID_watz_multiblock = 32; - - public static Block fwatz_conductor; - public static Block fwatz_cooler; - public static Block fwatz_tank; - public static Block fwatz_scaffold; - public static Block fwatz_hatch; - public static Block fwatz_computer; - public static Block fwatz_core; - public static Block fwatz_plasma; - public static final int guiID_fwatz_multiblock = 33; - - public static Block machine_converter_he_rf; - public static final int guiID_converter_he_rf = 28; - - public static Block machine_converter_rf_he; - public static final int guiID_converter_rf_he = 29; - - public static Block machine_schrabidium_transmutator; - public static final int guiID_schrabidium_transmutator = 30; - - public static Block machine_diesel; - public static final int guiID_machine_diesel = 31; - - public static Block machine_shredder; - public static final int guiID_machine_shredder = 34; - - public static Block machine_combine_factory; - public static final int guiID_combine_factory = 35; - - public static Block machine_teleporter; - public static final int guiID_machine_teleporter = 36; - - public static Block launch_pad; - public static Block launch_pad_generic; - public static Block launch_pad_incendiary; - public static Block launch_pad_cluster; - public static Block launch_pad_buster; - public static Block launch_pad_strong; - public static Block launch_pad_incendiary_strong; - public static Block launch_pad_cluster_strong; - public static Block launch_pad_buster_strong; - public static Block launch_pad_burst; - public static Block launch_pad_inferno; - public static Block launch_pad_rain; - public static Block launch_pad_drill; - public static Block launch_pad_nuclear; - public static Block launch_pad_endo; - public static Block launch_pad_exo; - public static Block launch_pad_mirv; - public static final int guiID_launch_pad = 19; - - public static Block book_guide; - - public static Block statue_elb; - public static Block statue_elb_g; - public static Block statue_elb_w; - public static Block statue_elb_f; - - public static Block mud_block; - public static Fluid mud_fluid; - public static final Material fluidmud = (new MaterialLiquid(MapColor.adobeColor)); - - public static Block acid_block; - public static Fluid acid_fluid; - public static final Material fluidacid = (new MaterialLiquid(MapColor.purpleColor)); - - public static Block toxic_block; - public static Fluid toxic_fluid; - public static final Material fluidtoxic = (new MaterialLiquid(MapColor.greenColor)); - - - private static void initializeBlock() { - - test_render = new TestRender(Material.rock).setBlockName("test_render").setCreativeTab(MainRegistry.tabTest); - test_container = new TestContainer(0).setBlockName("test_container").setCreativeTab(MainRegistry.tabTest); - test_bomb = new TestBomb(Material.tnt).setBlockName("test_bomb").setCreativeTab(MainRegistry.tabTest).setBlockTextureName(RefStrings.MODID + ":test_bomb"); - test_bomb_advanced = new TestBombAdvanced(Material.tnt).setBlockName("test_bomb_advanced").setCreativeTab(MainRegistry.tabTest); - - test_nuke = new TestNuke(Material.iron).setBlockName("test_nuke").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":test_nuke"); - event_tester = new TestEventTester(Material.iron).setBlockName("event_tester").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(0.0F).setBlockTextureName(RefStrings.MODID + ":event_tester"); - rotation_tester = new TestRotationTester(Material.iron).setBlockName("rotation_tester").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(10.0F); - obj_tester = new TestObjTester(Material.iron).setBlockName("obj_tester").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(10.0F); - - test_ticker = new TestTicker(Material.iron).setBlockName("test_ticker").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":test_ticker"); - - test_missile = new TestMissile(Material.iron).setBlockName("test_missile").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":test_missile"); - - ore_uranium = new BlockGeneric(Material.rock).setBlockName("ore_uranium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_uranium"); - ore_titanium = new BlockGeneric(Material.rock).setBlockName("ore_titanium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_titanium"); - ore_sulfur = new BlockOre(Material.rock).setBlockName("ore_sulfur").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_sulfur"); - - ore_niter = new BlockOre(Material.rock).setBlockName("ore_niter").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_niter"); - ore_copper = new BlockGeneric(Material.rock).setBlockName("ore_copper").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_copper"); - ore_tungsten = new BlockGeneric(Material.rock).setBlockName("ore_tungsten").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_tungsten"); - ore_aluminium = new BlockGeneric(Material.rock).setBlockName("ore_aluminium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_aluminium"); - ore_fluorite = new BlockOre(Material.rock).setBlockName("ore_fluorite").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_fluorite"); - ore_lead = new BlockGeneric(Material.rock).setBlockName("ore_lead").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_lead"); - ore_schrabidium = new BlockGeneric(Material.rock).setBlockName("ore_schrabidium").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":ore_schrabidium"); - ore_beryllium = new BlockGeneric(Material.rock).setBlockName("ore_beryllium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":ore_beryllium"); - - ore_nether_uranium = new BlockGeneric(Material.rock).setBlockName("ore_nether_uranium").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_uranium"); - ore_nether_plutonium = new BlockGeneric(Material.rock).setBlockName("ore_nether_plutonium").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_plutonium"); - ore_nether_tungsten = new BlockGeneric(Material.rock).setBlockName("ore_nether_tungsten").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_tungsten"); - ore_nether_sulfur = new BlockOre(Material.rock).setBlockName("ore_nether_sulfur").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_sulfur"); - ore_nether_fire = new BlockOre(Material.rock).setBlockName("ore_nether_fire").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_fire"); - ore_nether_schrabidium = new BlockGeneric(Material.rock).setBlockName("ore_nether_schrabidium").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_schrabidium"); - - block_uranium = new BlockGeneric(Material.iron).setBlockName("block_uranium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_uranium"); - block_titanium = new BlockGeneric(Material.iron).setBlockName("block_titanium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_titanium"); - block_sulfur = new BlockGeneric(Material.iron).setBlockName("block_sulfur").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_sulfur"); - block_niter = new BlockGeneric(Material.iron).setBlockName("block_niter").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_niter"); - block_copper = new BlockGeneric(Material.iron).setBlockName("block_copper").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_copper"); - block_red_copper = new BlockGeneric(Material.iron).setBlockName("block_red_copper").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_red_copper"); - block_tungsten = new BlockGeneric(Material.iron).setBlockName("block_tungsten").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_tungsten"); - block_aluminium = new BlockGeneric(Material.iron).setBlockName("block_aluminium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_aluminium"); - block_fluorite = new BlockGeneric(Material.iron).setBlockName("block_fluorite").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_fluorite"); - block_steel = new BlockGeneric(Material.iron).setBlockName("block_steel").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_steel"); - block_lead = new BlockGeneric(Material.iron).setBlockName("block_lead").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_lead"); - block_trinitite = new BlockOre(Material.iron).setBlockName("block_trinitite").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_trinitite"); - block_waste = new BlockOre(Material.iron).setBlockName("block_waste").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_waste"); -<<<<<<< HEAD - block_scrap = new BlockFalling(Material.sand).setBlockName("block_scrap").setCreativeTab(MainRegistry.tabBlock).setHardness(2.5F).setResistance(5.0F).setStepSound(Block.soundTypeGravel).setBlockTextureName(RefStrings.MODID + ":block_scrap"); - block_electrical_scrap = new BlockFalling(Material.iron).setBlockName("block_electrical_scrap").setCreativeTab(MainRegistry.tabBlock).setHardness(2.5F).setResistance(5.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(RefStrings.MODID + ":electrical_scrap_alt2"); - block_beryllium = new BlockGeneric(Material.iron).setBlockName("block_beryllium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_beryllium"); - block_schrabidium = new BlockGeneric(Material.iron).setBlockName("block_schrabidium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_schrabidium"); -======= -<<<<<<< HEAD - block_scrap = new BlockFalling(Material.sand).setBlockName("block_scrap").setCreativeTab(MainRegistry.tabBlock).setHardness(2.5F).setResistance(5.0F).setStepSound(Block.soundTypeGravel).setBlockTextureName(RefStrings.MODID + ":block_scrap"); - block_beryllium = new BlockGeneric(Material.iron).setBlockName("block_beryllium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_beryllium"); - block_schrabidium = new BlockGeneric(Material.iron).setBlockName("block_schrabidium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_schrabidium"); -======= - block_scrap = new BlockFalling(Material.sand).setBlockName("block_scrap").setCreativeTab(MainRegistry.tabBlock).setHardness(2.5F).setResistance(5.0F).setBlockTextureName(RefStrings.MODID + ":block_scrap"); - block_beryllium = new BlockGeneric(Material.iron).setBlockName("block_beryllium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_beryllium"); - block_schrabidium = new BlockGeneric(Material.iron).setBlockName("block_schrabidium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_schrabidium"); ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - block_advanced_alloy = new BlockGeneric(Material.iron).setBlockName("block_advanced_alloy").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_advanced_alloy"); - block_magnetized_tungsten = new BlockGeneric(Material.iron).setBlockName("block_magnetized_tungsten").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(35.0F).setBlockTextureName(RefStrings.MODID + ":block_magnetized_tungsten"); - block_combine_steel = new BlockGeneric(Material.iron).setBlockName("block_combine_steel").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_combine_steel"); - - gravel_obsidian = new BlockFalling(Material.iron).setBlockName("gravel_obsidian").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeGravel).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":gravel_obsidian"); - - reinforced_brick = new BlockGeneric(Material.rock).setBlockName("reinforced_brick").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_brick"); - reinforced_glass = new ReinforcedBlock(Material.glass).setBlockName("reinforced_glass").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(0).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_glass"); - reinforced_light = new ReinforcedBlock(Material.rock).setBlockName("reinforced_light").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setLightLevel(1.0F).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_light"); - reinforced_sand = new BlockGeneric(Material.rock).setBlockName("reinforced_sand").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_sand"); - reinforced_lamp_off = new ReinforcedLamp(Material.rock, false).setBlockName("reinforced_lamp_off").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_lamp_off"); - reinforced_lamp_on = new ReinforcedLamp(Material.rock, true).setBlockName("reinforced_lamp_on").setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_lamp_on"); - - brick_concrete = new BlockGeneric(Material.rock).setBlockName("brick_concrete").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":brick_concrete"); - brick_obsidian = new BlockGeneric(Material.rock).setBlockName("brick_obsidian").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":brick_obsidian"); - brick_light = new BlockGeneric(Material.rock).setBlockName("brick_light").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(60.0F).setBlockTextureName(RefStrings.MODID + ":brick_light"); - - cmb_brick = new BlockGeneric(Material.rock).setBlockName("cmb_brick").setCreativeTab(MainRegistry.tabBlock).setHardness(25.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":cmb_brick"); - cmb_brick_reinforced = new BlockGeneric(Material.rock).setBlockName("cmb_brick_reinforced").setCreativeTab(MainRegistry.tabBlock).setHardness(25.0F).setResistance(60000.0F).setBlockTextureName(RefStrings.MODID + ":cmb_brick_reinforced"); - - block_meteor = new BlockGeneric(Material.rock).setBlockName("block_meteor").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":block_meteor"); - - tape_recorder = new DecoTapeRecorder(Material.rock).setBlockName("tape_recorder").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":deco_tape_recorder"); - steel_poles = new DecoSteelPoles(Material.rock).setBlockName("steel_poles").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":deco_steel_poles"); - pole_top = new DecoPoleTop(Material.rock).setBlockName("pole_top").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":deco_pole_top"); - pole_satellite_receiver = new DecoPoleSatelliteReceiver(Material.rock).setBlockName("pole_satellite_receiver").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":deco_satellite_receiver"); - steel_wall = new DecoBlock(Material.rock).setBlockName("steel_wall").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_wall"); - steel_corner = new DecoBlock(Material.rock).setBlockName("steel_corner").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_corner"); - steel_roof = new DecoBlock(Material.rock).setBlockName("steel_roof").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_roof"); - steel_beam = new DecoBlock(Material.rock).setBlockName("steel_beam").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_beam"); - steel_scaffold = new DecoBlock(Material.rock).setBlockName("steel_scaffold").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_scaffold"); - - mush = new BlockMush(Material.plants).setBlockName("mush").setCreativeTab(MainRegistry.tabBlock).setLightLevel(0.5F).setStepSound(Block.soundTypeGrass).setBlockTextureName(RefStrings.MODID + ":mush"); - mush_block = new BlockMushHuge(Material.plants).setBlockName("mush_block").setLightLevel(1.0F).setStepSound(Block.soundTypeGrass).setHardness(0.2F).setBlockTextureName(RefStrings.MODID + ":mush_block_skin"); - mush_block_stem = new BlockMushHuge(Material.plants).setBlockName("mush_block_stem").setLightLevel(1.0F).setStepSound(Block.soundTypeGrass).setHardness(0.2F).setBlockTextureName(RefStrings.MODID + ":mush_block_stem"); - - waste_earth = new WasteEarth(Material.ground).setBlockName("waste_earth").setStepSound(Block.soundTypeGrass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(1.0F).setBlockTextureName(RefStrings.MODID + ":waste_earth"); - waste_mycelium = new WasteEarth(Material.ground).setBlockName("waste_mycelium").setStepSound(Block.soundTypeGrass).setLightLevel(1F).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(1.0F).setBlockTextureName(RefStrings.MODID + ":waste_mycelium_side"); - waste_trinitite = new BlockOre(Material.sand).setBlockName("waste_trinitite").setStepSound(Block.soundTypeSand).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":waste_trinitite"); - waste_trinitite_red = new BlockOre(Material.sand).setBlockName("waste_trinitite_red").setStepSound(Block.soundTypeSand).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":waste_trinitite_red"); - waste_log = new WasteLog(Material.wood).setBlockName("waste_log").setStepSound(Block.soundTypeWood).setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(0.5F); - waste_planks = new BlockOre(Material.wood).setBlockName("waste_planks").setStepSound(Block.soundTypeWood).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":waste_planks"); - frozen_dirt = new BlockOre(Material.wood).setBlockName("frozen_dirt").setStepSound(Block.soundTypeGlass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":frozen_dirt"); - frozen_grass = new WasteEarth(Material.wood).setBlockName("frozen_grass").setStepSound(Block.soundTypeGlass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F); - frozen_log = new WasteLog(Material.wood).setBlockName("frozen_log").setStepSound(Block.soundTypeGlass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F); - frozen_planks = new BlockOre(Material.wood).setBlockName("frozen_planks").setStepSound(Block.soundTypeGlass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":frozen_planks"); - - nuke_gadget = new NukeGadget(Material.iron).setBlockName("nuke_gadget").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":theGadget"); - nuke_boy = new NukeBoy(Material.iron).setBlockName("nuke_boy").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":lilBoy"); - nuke_man = new NukeMan(Material.iron).setBlockName("nuke_man").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":fatMan"); - nuke_mike = new NukeMike(Material.iron).setBlockName("nuke_mike").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":ivyMike"); - nuke_tsar = new NukeTsar(Material.iron).setBlockName("nuke_tsar").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":tsarBomba"); - nuke_fleija = new NukeFleija(Material.iron).setBlockName("nuke_fleija").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":fleija"); - nuke_prototype = new NukePrototype(Material.iron).setBlockName("nuke_prototype").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":prototype"); - - bomb_multi = new BombMulti(Material.iron).setBlockName("bomb_multi").setCreativeTab(MainRegistry.tabNuke).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":bomb_multi1"); - //bomb_multi_large = new BombMultiLarge(Material.iron).setBlockName("bomb_multi_large").setCreativeTab(MainRegistry.tabNuke).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":bomb_multi_large"); - - flame_war = new BombFlameWar(Material.iron).setBlockName("flame_war").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":flame_war"); - float_bomb = new BombFloat(Material.iron).setBlockName("float_bomb").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F); - therm_endo = new BombThermo(Material.iron).setBlockName("therm_endo").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F); - therm_exo = new BombThermo(Material.iron).setBlockName("therm_exo").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F); - det_cord = new DetCord(Material.iron).setBlockName("det_cord").setCreativeTab(MainRegistry.tabNuke).setHardness(0.1F).setResistance(0.0F).setBlockTextureName(RefStrings.MODID + ":det_cord"); - red_barrel = new RedBarrel(Material.iron).setBlockName("red_barrel").setCreativeTab(MainRegistry.tabNuke).setHardness(0.5F).setResistance(2.5F); - yellow_barrel = new YellowBarrel(Material.iron).setBlockName("yellow_barrel").setCreativeTab(MainRegistry.tabNuke).setHardness(0.5F).setResistance(2.5F); - crashed_balefire = new BlockCrashedBomb(Material.iron).setBlockName("crashed_bomb").setCreativeTab(MainRegistry.tabNuke).setBlockUnbreakable().setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":crashed_balefire"); - - machine_difurnace_off = new MachineDiFurnace(false).setBlockName("machine_difurnace_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - machine_difurnace_on = new MachineDiFurnace(true).setBlockName("machine_difurnace_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); - - machine_centrifuge = new MachineCentrifuge(Material.iron).setBlockName("machine_centrifuge").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_uf6_tank = new MachineUF6Tank(Material.iron).setBlockName("machine_uf6_tank").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_puf6_tank = new MachinePuF6Tank(Material.iron).setBlockName("machine_puf6_tank").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_reactor = new MachineReactor(Material.iron).setBlockName("machine_reactor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_nuke_furnace_off = new MachineNukeFurnace(false).setBlockName("machine_nuke_furnace_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - machine_nuke_furnace_on = new MachineNukeFurnace(true).setBlockName("machine_nuke_furnace_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); - - machine_rtg_furnace_off = new MachineRtgFurnace(false).setBlockName("machine_rtg_furnace_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - machine_rtg_furnace_on = new MachineRtgFurnace(true).setBlockName("machine_rtg_furnace_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); - - machine_generator = new MachineGenerator(Material.iron).setBlockName("machine_generator").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_electric_furnace_off = new MachineElectricFurnace(false).setBlockName("machine_electric_furnace_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - machine_electric_furnace_on = new MachineElectricFurnace(true).setBlockName("machine_electric_furnace_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); - - machine_deuterium = new MachineDeuterium(Material.iron).setBlockName("machine_deuterium").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_battery = new MachineBattery(Material.iron).setBlockName("machine_battery").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_coal_off = new MachineCoal(false).setBlockName("machine_coal_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - machine_coal_on = new MachineCoal(true).setBlockName("machine_coal_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); - - machine_diesel = new MachineDiesel(Material.iron).setBlockName("machine_diesel").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_shredder = new MachineShredder(Material.iron).setBlockName("machine_shredder").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_combine_factory = new MachineCMBFactory(Material.iron).setBlockName("machine_combine_factory").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - machine_teleporter = new MachineTeleporter(Material.iron).setBlockName("machine_teleporter").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); - - red_wire_coated = new WireCoated(Material.iron).setBlockName("red_wire_coated").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":red_wire_coated"); - red_cable = new BlockCable(Material.iron).setBlockName("red_cable").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":red_cable_icon"); - - factory_titanium_hull = new BlockGeneric(Material.iron).setBlockName("factory_titanium_hull").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_titanium_hull"); - factory_titanium_furnace = new FactoryHatch(Material.iron).setBlockName("factory_titanium_furnace").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_titanium_furnace"); - factory_titanium_conductor = new BlockReactor(Material.iron).setBlockName("factory_titanium_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_titanium_conductor"); - factory_titanium_core = new FactoryCoreTitanium(Material.iron).setBlockName("factory_titanium_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_titanium_core"); - factory_advanced_hull = new BlockGeneric(Material.iron).setBlockName("factory_advanced_hull").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_advanced_hull"); - factory_advanced_furnace = new FactoryHatch(Material.iron).setBlockName("factory_advanced_furnace").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_advanced_furnace"); - factory_advanced_conductor = new BlockReactor(Material.iron).setBlockName("factory_advanced_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_advanced_conductor"); - factory_advanced_core = new FactoryCoreAdvanced(Material.iron).setBlockName("factory_advanced_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_advanced_core"); - - reactor_element = new BlockReactor(Material.iron).setBlockName("reactor_element").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":reactor_element_side"); - reactor_control = new BlockReactor(Material.iron).setBlockName("reactor_control").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":reactor_control_side"); - reactor_hatch = new ReactorHatch(Material.iron).setBlockName("reactor_hatch").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":brick_concrete"); - reactor_conductor = new BlockReactor(Material.iron).setBlockName("reactor_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":reactor_conductor_side"); - reactor_computer = new ReactorCore(Material.iron).setBlockName("reactor_computer").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":reactor_computer"); - - fusion_conductor = new BlockReactor(Material.iron).setBlockName("fusion_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_conductor_side"); - fusion_center = new BlockReactor(Material.iron).setBlockName("fusion_center").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_center_side"); - fusion_motor = new BlockReactor(Material.iron).setBlockName("fusion_motor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_motor_side"); - fusion_heater = new BlockReactor(Material.iron).setBlockName("fusion_heater").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_heater_side"); - fusion_hatch = new FusionHatch(Material.iron).setBlockName("fusion_hatch").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_hatch"); - fusion_core = new FusionCore(Material.iron).setBlockName("fusion_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_core_side"); - plasma = new BlockPlasma(Material.iron).setBlockName("plasma").setHardness(5.0F).setResistance(6000.0F).setLightLevel(1.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":plasma"); - - watz_element = new BlockReactor(Material.iron).setBlockName("watz_element").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_element"); - watz_control = new BlockReactor(Material.iron).setBlockName("watz_control").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_control"); - watz_cooler = new BlockGeneric(Material.iron).setBlockName("watz_cooler").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_cooler"); - watz_end = new BlockGeneric(Material.iron).setBlockName("watz_end").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_end"); - watz_hatch = new WatzHatch(Material.iron).setBlockName("watz_hatch").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_hatch"); - watz_conductor = new BlockReactor(Material.iron).setBlockName("watz_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_conductor"); - watz_core = new WatzCore(Material.iron).setBlockName("watz_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_computer"); - - fwatz_conductor = new BlockReactor(Material.iron).setBlockName("fwatz_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_conductor"); - fwatz_cooler = new BlockReactor(Material.iron).setBlockName("fwatz_cooler").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_cooler"); - fwatz_tank = new ReinforcedBlock(Material.iron).setBlockName("fwatz_tank").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_tank"); - fwatz_scaffold = new BlockGeneric(Material.iron).setBlockName("fwatz_scaffold").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_scaffold"); - fwatz_hatch = new FWatzHatch(Material.iron).setBlockName("fwatz_hatch").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_computer"); - fwatz_computer = new BlockGeneric(Material.iron).setBlockName("fwatz_computer").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_computer"); - fwatz_core = new FWatzCore(Material.iron).setBlockName("fwatz_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_core"); - fwatz_plasma = new BlockPlasma(Material.iron).setBlockName("fwatz_plasma").setHardness(5.0F).setResistance(6000.0F).setLightLevel(1.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_plasma"); - - machine_converter_he_rf = new BlockConverterHeRf(Material.iron).setBlockName("machine_converter_he_rf").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":machine_converter_he_rf"); - machine_converter_rf_he = new BlockConverterRfHe(Material.iron).setBlockName("machine_converter_rf_he").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":machine_converter_rf_he"); - - launch_pad = new LaunchPad(Material.iron).setBlockName("launch_pad").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabNuke).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_generic = new LaunchPad(Material.iron).setBlockName("launch_pad_generic").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_incendiary = new LaunchPad(Material.iron).setBlockName("launch_pad_incendiary").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_cluster = new LaunchPad(Material.iron).setBlockName("launch_pad_cluster").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_buster = new LaunchPad(Material.iron).setBlockName("launch_pad_buster").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_strong = new LaunchPad(Material.iron).setBlockName("launch_pad_strong").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_incendiary_strong = new LaunchPad(Material.iron).setBlockName("launch_pad_incendiary_strong").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_cluster_strong = new LaunchPad(Material.iron).setBlockName("launch_pad_cluster_strong").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_buster_strong = new LaunchPad(Material.iron).setBlockName("launch_pad_buster_strong").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_burst = new LaunchPad(Material.iron).setBlockName("launch_pad_burst").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_inferno = new LaunchPad(Material.iron).setBlockName("launch_pad_inferno").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_rain = new LaunchPad(Material.iron).setBlockName("launch_pad_rain").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_drill = new LaunchPad(Material.iron).setBlockName("launch_pad_drill").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_nuclear = new LaunchPad(Material.iron).setBlockName("launch_pad_nuclear").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_endo = new LaunchPad(Material.iron).setBlockName("launch_pad_endo").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_exo = new LaunchPad(Material.iron).setBlockName("launch_pad_exo").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - launch_pad_mirv = new LaunchPad(Material.iron).setBlockName("launch_pad_mirv").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); - - book_guide = new Guide(Material.iron).setBlockName("book_guide").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabNuke); - - crate = new BlockCrate(Material.iron).setBlockName("crate").setStepSound(Block.soundTypeWood).setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabNuke).setBlockTextureName(RefStrings.MODID + ":crate"); - - machine_schrabidium_transmutator = new MachineSchrabidiumTransmutator(Material.iron).setBlockName("machine_schrabidium_transmutator").setHardness(5.0F).setResistance(100.0F).setCreativeTab(MainRegistry.tabBlock); - - statue_elb = new DecoBlockAlt(Material.iron).setBlockName("#null").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY); - statue_elb_g = new DecoBlockAlt(Material.iron).setBlockName("#void").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY); - statue_elb_w = new DecoBlockAlt(Material.iron).setBlockName("#ngtv").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY); - statue_elb_f = new DecoBlockAlt(Material.iron).setBlockName("#undef").setHardness(Float.POSITIVE_INFINITY).setLightLevel(1.0F).setResistance(Float.POSITIVE_INFINITY); - - mud_fluid = new MudFluid().setDensity(2500).setViscosity(3000).setLuminosity(5).setTemperature(2773).setUnlocalizedName("mud_fluid"); - FluidRegistry.registerFluid(mud_fluid); - mud_block = new MudBlock(mud_fluid, fluidmud.setReplaceable(), ModDamageSource.mudPoisoning).setBlockName("mud_block").setResistance(500F); - - acid_fluid = new AcidFluid().setDensity(2500).setViscosity(1500).setLuminosity(5).setTemperature(2773).setUnlocalizedName("mud_fluid"); - FluidRegistry.registerFluid(acid_fluid); - acid_block = new AcidBlock(acid_fluid, fluidacid.setReplaceable(), ModDamageSource.acid).setBlockName("acid_block").setResistance(500F); - - toxic_fluid = new ToxicFluid().setDensity(2500).setViscosity(2000).setLuminosity(15).setTemperature(2773).setUnlocalizedName("mud_fluid"); - FluidRegistry.registerFluid(toxic_fluid); - toxic_block = new ToxicBlock(toxic_fluid, fluidtoxic.setReplaceable(), ModDamageSource.radiation).setBlockName("toxic_block").setResistance(500F); - } - - private static void registerBlock() { - //Test - GameRegistry.registerBlock(test_render, test_render.getUnlocalizedName()); - //GameRegistry.registerBlock(test_container, test_container.getUnlocalizedName()); - GameRegistry.registerBlock(test_bomb, test_bomb.getUnlocalizedName()); - GameRegistry.registerBlock(test_bomb_advanced, test_bomb_advanced.getUnlocalizedName()); - - GameRegistry.registerBlock(test_nuke, test_nuke.getUnlocalizedName()); - - GameRegistry.registerBlock(event_tester, event_tester.getUnlocalizedName()); - GameRegistry.registerBlock(rotation_tester, rotation_tester.getUnlocalizedName()); - GameRegistry.registerBlock(obj_tester, obj_tester.getUnlocalizedName()); - GameRegistry.registerBlock(test_ticker, test_ticker.getUnlocalizedName()); - GameRegistry.registerBlock(test_missile, test_missile.getUnlocalizedName()); - - //Ores - GameRegistry.registerBlock(ore_uranium, ore_uranium.getUnlocalizedName()); - GameRegistry.registerBlock(ore_titanium, ore_titanium.getUnlocalizedName()); - GameRegistry.registerBlock(ore_sulfur, ore_sulfur.getUnlocalizedName()); - GameRegistry.registerBlock(ore_niter, ore_niter.getUnlocalizedName()); - GameRegistry.registerBlock(ore_copper, ore_copper.getUnlocalizedName()); - GameRegistry.registerBlock(ore_tungsten, ore_tungsten.getUnlocalizedName()); - GameRegistry.registerBlock(ore_aluminium, ore_aluminium.getUnlocalizedName()); - GameRegistry.registerBlock(ore_fluorite, ore_fluorite.getUnlocalizedName()); - GameRegistry.registerBlock(ore_beryllium, ore_beryllium.getUnlocalizedName()); - GameRegistry.registerBlock(ore_lead, ore_lead.getUnlocalizedName()); - GameRegistry.registerBlock(ore_schrabidium, ItemSchrabidiumBlock.class, ore_schrabidium.getUnlocalizedName()); - - //Nether Ores - GameRegistry.registerBlock(ore_nether_uranium, ore_nether_uranium.getUnlocalizedName()); - GameRegistry.registerBlock(ore_nether_plutonium, ore_nether_plutonium.getUnlocalizedName()); - GameRegistry.registerBlock(ore_nether_tungsten, ore_nether_tungsten.getUnlocalizedName()); - GameRegistry.registerBlock(ore_nether_sulfur, ore_nether_sulfur.getUnlocalizedName()); - GameRegistry.registerBlock(ore_nether_fire, ore_nether_fire.getUnlocalizedName()); - GameRegistry.registerBlock(ore_nether_schrabidium, ItemSchrabidiumBlock.class, ore_nether_schrabidium.getUnlocalizedName()); - - //Blocks - GameRegistry.registerBlock(block_uranium, block_uranium.getUnlocalizedName()); - GameRegistry.registerBlock(block_titanium, block_titanium.getUnlocalizedName()); - GameRegistry.registerBlock(block_sulfur, block_sulfur.getUnlocalizedName()); - GameRegistry.registerBlock(block_niter, block_niter.getUnlocalizedName()); - GameRegistry.registerBlock(block_copper, block_copper.getUnlocalizedName()); - GameRegistry.registerBlock(block_red_copper, block_red_copper.getUnlocalizedName()); - GameRegistry.registerBlock(block_advanced_alloy, block_advanced_alloy.getUnlocalizedName()); - GameRegistry.registerBlock(block_tungsten, block_tungsten.getUnlocalizedName()); - GameRegistry.registerBlock(block_aluminium, block_aluminium.getUnlocalizedName()); - GameRegistry.registerBlock(block_fluorite, block_fluorite.getUnlocalizedName()); - GameRegistry.registerBlock(block_beryllium, block_beryllium.getUnlocalizedName()); - GameRegistry.registerBlock(block_steel, block_steel.getUnlocalizedName()); - GameRegistry.registerBlock(block_lead, block_lead.getUnlocalizedName()); - GameRegistry.registerBlock(block_scrap, block_scrap.getUnlocalizedName()); -<<<<<<< HEAD - GameRegistry.registerBlock(block_electrical_scrap, block_electrical_scrap.getUnlocalizedName()); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - GameRegistry.registerBlock(block_trinitite, block_trinitite.getUnlocalizedName()); - GameRegistry.registerBlock(block_waste, block_waste.getUnlocalizedName()); - GameRegistry.registerBlock(block_schrabidium, ItemSchrabidiumBlock.class, block_schrabidium.getUnlocalizedName()); - GameRegistry.registerBlock(block_magnetized_tungsten, block_magnetized_tungsten.getUnlocalizedName()); - GameRegistry.registerBlock(block_combine_steel, block_combine_steel.getUnlocalizedName()); - - //Gravel - GameRegistry.registerBlock(gravel_obsidian, gravel_obsidian.getUnlocalizedName()); - - //Reinforced Blocks - GameRegistry.registerBlock(reinforced_brick, reinforced_brick.getUnlocalizedName()); - GameRegistry.registerBlock(reinforced_glass, reinforced_glass.getUnlocalizedName()); - GameRegistry.registerBlock(reinforced_light, reinforced_light.getUnlocalizedName()); - GameRegistry.registerBlock(reinforced_sand, reinforced_sand.getUnlocalizedName()); - GameRegistry.registerBlock(reinforced_lamp_off, reinforced_lamp_off.getUnlocalizedName()); - GameRegistry.registerBlock(reinforced_lamp_on, reinforced_lamp_on.getUnlocalizedName()); - - //Bricks - GameRegistry.registerBlock(brick_concrete, brick_concrete.getUnlocalizedName()); - GameRegistry.registerBlock(brick_obsidian, brick_obsidian.getUnlocalizedName()); - GameRegistry.registerBlock(brick_light, brick_light.getUnlocalizedName()); - - //CMB Building Elements - GameRegistry.registerBlock(cmb_brick, cmb_brick.getUnlocalizedName()); - GameRegistry.registerBlock(cmb_brick_reinforced, cmb_brick_reinforced.getUnlocalizedName()); - - //Decoration Blocks - GameRegistry.registerBlock(block_meteor, block_meteor.getUnlocalizedName()); - GameRegistry.registerBlock(tape_recorder, tape_recorder.getUnlocalizedName()); - GameRegistry.registerBlock(steel_poles, steel_poles.getUnlocalizedName()); - GameRegistry.registerBlock(pole_top, pole_top.getUnlocalizedName()); - GameRegistry.registerBlock(pole_satellite_receiver, pole_satellite_receiver.getUnlocalizedName()); - GameRegistry.registerBlock(steel_wall, steel_wall.getUnlocalizedName()); - GameRegistry.registerBlock(steel_corner, steel_corner.getUnlocalizedName()); - GameRegistry.registerBlock(steel_roof, steel_roof.getUnlocalizedName()); - GameRegistry.registerBlock(steel_beam, steel_beam.getUnlocalizedName()); - GameRegistry.registerBlock(steel_scaffold, steel_scaffold.getUnlocalizedName()); - GameRegistry.registerBlock(mush, mush.getUnlocalizedName()); - GameRegistry.registerBlock(mush_block, mush_block.getUnlocalizedName()); - GameRegistry.registerBlock(mush_block_stem, mush_block_stem.getUnlocalizedName()); - - //Nuclear Waste - GameRegistry.registerBlock(waste_earth, waste_earth.getUnlocalizedName()); - GameRegistry.registerBlock(waste_mycelium, waste_mycelium.getUnlocalizedName()); - GameRegistry.registerBlock(waste_trinitite, waste_trinitite.getUnlocalizedName()); - GameRegistry.registerBlock(waste_trinitite_red, waste_trinitite_red.getUnlocalizedName()); - GameRegistry.registerBlock(waste_log, waste_log.getUnlocalizedName()); - GameRegistry.registerBlock(waste_planks, waste_planks.getUnlocalizedName()); - GameRegistry.registerBlock(frozen_grass, frozen_grass.getUnlocalizedName()); - GameRegistry.registerBlock(frozen_dirt, frozen_dirt.getUnlocalizedName()); - GameRegistry.registerBlock(frozen_log, frozen_log.getUnlocalizedName()); - GameRegistry.registerBlock(frozen_planks, frozen_planks.getUnlocalizedName()); - - //Nukes - GameRegistry.registerBlock(nuke_gadget, nuke_gadget.getUnlocalizedName()); - GameRegistry.registerBlock(nuke_boy, nuke_boy.getUnlocalizedName()); - GameRegistry.registerBlock(nuke_man, nuke_man.getUnlocalizedName()); - GameRegistry.registerBlock(nuke_mike, nuke_mike.getUnlocalizedName()); - GameRegistry.registerBlock(nuke_tsar, nuke_tsar.getUnlocalizedName()); - GameRegistry.registerBlock(nuke_prototype, ItemPrototypeBlock.class, nuke_prototype.getUnlocalizedName()); - GameRegistry.registerBlock(nuke_fleija, nuke_fleija.getUnlocalizedName()); - - //Generic Bombs - GameRegistry.registerBlock(bomb_multi, bomb_multi.getUnlocalizedName()); - GameRegistry.registerBlock(crashed_balefire, crashed_balefire.getUnlocalizedName()); - //GameRegistry.registerBlock(bomb_multi_large, bomb_multi_large.getUnlocalizedName()); - - //Block Bombs - GameRegistry.registerBlock(flame_war, flame_war.getUnlocalizedName()); - GameRegistry.registerBlock(float_bomb, float_bomb.getUnlocalizedName()); - GameRegistry.registerBlock(therm_endo, therm_endo.getUnlocalizedName()); - GameRegistry.registerBlock(therm_exo, therm_exo.getUnlocalizedName()); - GameRegistry.registerBlock(det_cord, det_cord.getUnlocalizedName()); - GameRegistry.registerBlock(red_barrel, red_barrel.getUnlocalizedName()); - GameRegistry.registerBlock(yellow_barrel, yellow_barrel.getUnlocalizedName()); - - //Machines - GameRegistry.registerBlock(machine_difurnace_off, machine_difurnace_off.getUnlocalizedName()); - GameRegistry.registerBlock(machine_difurnace_on, machine_difurnace_on.getUnlocalizedName()); - GameRegistry.registerBlock(machine_centrifuge, machine_centrifuge.getUnlocalizedName()); - GameRegistry.registerBlock(machine_uf6_tank, machine_uf6_tank.getUnlocalizedName()); - GameRegistry.registerBlock(machine_puf6_tank, machine_puf6_tank.getUnlocalizedName()); - GameRegistry.registerBlock(machine_reactor, machine_reactor.getUnlocalizedName()); - GameRegistry.registerBlock(machine_nuke_furnace_off, machine_nuke_furnace_off.getUnlocalizedName()); - GameRegistry.registerBlock(machine_nuke_furnace_on, machine_nuke_furnace_on.getUnlocalizedName()); - GameRegistry.registerBlock(machine_rtg_furnace_off, machine_rtg_furnace_off.getUnlocalizedName()); - GameRegistry.registerBlock(machine_rtg_furnace_on, machine_rtg_furnace_on.getUnlocalizedName()); - GameRegistry.registerBlock(machine_coal_off, machine_coal_off.getUnlocalizedName()); - GameRegistry.registerBlock(machine_coal_on, machine_coal_on.getUnlocalizedName()); - GameRegistry.registerBlock(machine_diesel, machine_diesel.getUnlocalizedName()); - GameRegistry.registerBlock(machine_generator, machine_generator.getUnlocalizedName()); - GameRegistry.registerBlock(red_cable, red_cable.getUnlocalizedName()); - GameRegistry.registerBlock(red_wire_coated, red_wire_coated.getUnlocalizedName()); - GameRegistry.registerBlock(machine_battery, machine_battery.getUnlocalizedName()); - GameRegistry.registerBlock(machine_converter_he_rf, machine_converter_he_rf.getUnlocalizedName()); - GameRegistry.registerBlock(machine_converter_rf_he, machine_converter_rf_he.getUnlocalizedName()); - GameRegistry.registerBlock(machine_electric_furnace_off, machine_electric_furnace_off.getUnlocalizedName()); - GameRegistry.registerBlock(machine_electric_furnace_on, machine_electric_furnace_on.getUnlocalizedName()); - GameRegistry.registerBlock(machine_shredder, machine_shredder.getUnlocalizedName()); - GameRegistry.registerBlock(machine_deuterium, machine_deuterium.getUnlocalizedName()); - GameRegistry.registerBlock(machine_schrabidium_transmutator, machine_schrabidium_transmutator.getUnlocalizedName()); - GameRegistry.registerBlock(machine_combine_factory, machine_combine_factory.getUnlocalizedName()); - GameRegistry.registerBlock(machine_teleporter, machine_teleporter.getUnlocalizedName()); - - //Industrial Factories - GameRegistry.registerBlock(factory_titanium_hull, factory_titanium_hull.getUnlocalizedName()); - GameRegistry.registerBlock(factory_titanium_furnace, factory_titanium_furnace.getUnlocalizedName()); - GameRegistry.registerBlock(factory_titanium_conductor, factory_titanium_conductor.getUnlocalizedName()); - GameRegistry.registerBlock(factory_titanium_core, factory_titanium_core.getUnlocalizedName()); - GameRegistry.registerBlock(factory_advanced_hull, factory_advanced_hull.getUnlocalizedName()); - GameRegistry.registerBlock(factory_advanced_furnace, factory_advanced_furnace.getUnlocalizedName()); - GameRegistry.registerBlock(factory_advanced_conductor, factory_advanced_conductor.getUnlocalizedName()); - GameRegistry.registerBlock(factory_advanced_core, factory_advanced_core.getUnlocalizedName()); - - //Multiblock Generators - GameRegistry.registerBlock(reactor_element, reactor_element.getUnlocalizedName()); - GameRegistry.registerBlock(reactor_control, reactor_control.getUnlocalizedName()); - GameRegistry.registerBlock(reactor_hatch, reactor_hatch.getUnlocalizedName()); - GameRegistry.registerBlock(reactor_conductor, reactor_conductor.getUnlocalizedName()); - GameRegistry.registerBlock(reactor_computer, reactor_computer.getUnlocalizedName()); - - GameRegistry.registerBlock(fusion_conductor, fusion_conductor.getUnlocalizedName()); - GameRegistry.registerBlock(fusion_center, fusion_center.getUnlocalizedName()); - GameRegistry.registerBlock(fusion_motor, fusion_motor.getUnlocalizedName()); - GameRegistry.registerBlock(fusion_heater, fusion_heater.getUnlocalizedName()); - GameRegistry.registerBlock(fusion_hatch, fusion_hatch.getUnlocalizedName()); - GameRegistry.registerBlock(fusion_core, fusion_core.getUnlocalizedName()); - GameRegistry.registerBlock(plasma, ItemPlasmaBlock.class, plasma.getUnlocalizedName()); - - GameRegistry.registerBlock(watz_element, watz_element.getUnlocalizedName()); - GameRegistry.registerBlock(watz_control, watz_control.getUnlocalizedName()); - GameRegistry.registerBlock(watz_cooler, watz_cooler.getUnlocalizedName()); - GameRegistry.registerBlock(watz_end, watz_end.getUnlocalizedName()); - GameRegistry.registerBlock(watz_hatch, watz_hatch.getUnlocalizedName()); - GameRegistry.registerBlock(watz_conductor, watz_conductor.getUnlocalizedName()); - GameRegistry.registerBlock(watz_core, watz_core.getUnlocalizedName()); - - GameRegistry.registerBlock(fwatz_conductor, fwatz_conductor.getUnlocalizedName()); - GameRegistry.registerBlock(fwatz_scaffold, fwatz_scaffold.getUnlocalizedName()); - GameRegistry.registerBlock(fwatz_hatch, fwatz_hatch.getUnlocalizedName()); - GameRegistry.registerBlock(fwatz_computer, fwatz_computer.getUnlocalizedName()); - GameRegistry.registerBlock(fwatz_core, fwatz_core.getUnlocalizedName()); - GameRegistry.registerBlock(fwatz_cooler, fwatz_cooler.getUnlocalizedName()); - GameRegistry.registerBlock(fwatz_tank, fwatz_tank.getUnlocalizedName()); - GameRegistry.registerBlock(fwatz_plasma, fwatz_plasma.getUnlocalizedName()); - - //Launch Pads - GameRegistry.registerBlock(launch_pad, launch_pad.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_generic, launch_pad_generic.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_incendiary, launch_pad_incendiary.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_cluster, launch_pad_cluster.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_buster, launch_pad_buster.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_strong, launch_pad_strong.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_incendiary_strong, launch_pad_incendiary_strong.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_cluster_strong, launch_pad_cluster_strong.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_buster_strong, launch_pad_buster_strong.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_burst, launch_pad_burst.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_inferno, launch_pad_inferno.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_rain, launch_pad_rain.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_drill, launch_pad_drill.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_nuclear, launch_pad_nuclear.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_endo, launch_pad_endo.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_exo, launch_pad_exo.getUnlocalizedName()); - GameRegistry.registerBlock(launch_pad_mirv, launch_pad_mirv.getUnlocalizedName()); - - //Guide - GameRegistry.registerBlock(book_guide, book_guide.getUnlocalizedName()); - - //Crate - GameRegistry.registerBlock(crate, crate.getUnlocalizedName()); - - //ElB - GameRegistry.registerBlock(statue_elb, statue_elb.getUnlocalizedName()); - GameRegistry.registerBlock(statue_elb_g, statue_elb_g.getUnlocalizedName()); - GameRegistry.registerBlock(statue_elb_w, statue_elb_w.getUnlocalizedName()); - GameRegistry.registerBlock(statue_elb_f, statue_elb_f.getUnlocalizedName()); - - //Fluids - GameRegistry.registerBlock(mud_block, mud_block.getUnlocalizedName()); - GameRegistry.registerBlock(acid_block, acid_block.getUnlocalizedName()); - GameRegistry.registerBlock(toxic_block, toxic_block.getUnlocalizedName()); - } -} +package com.hbm.blocks; + +import com.hbm.blocks.bomb.BlockCrashedBomb; +import com.hbm.blocks.bomb.BombFlameWar; +import com.hbm.blocks.bomb.BombFloat; +import com.hbm.blocks.bomb.BombMulti; +import com.hbm.blocks.bomb.BombThermo; +import com.hbm.blocks.bomb.CheaterVirus; +import com.hbm.blocks.bomb.CheaterVirusSeed; +import com.hbm.blocks.bomb.CrystalVirus; +import com.hbm.blocks.bomb.DetCord; +import com.hbm.blocks.bomb.LaunchPad; +import com.hbm.blocks.bomb.NukeBoy; +import com.hbm.blocks.bomb.NukeCustom; +import com.hbm.blocks.bomb.NukeFleija; +import com.hbm.blocks.bomb.NukeGadget; +import com.hbm.blocks.bomb.NukeMan; +import com.hbm.blocks.bomb.NukeMike; +import com.hbm.blocks.bomb.NukePrototype; +import com.hbm.blocks.bomb.NukeTsar; +import com.hbm.blocks.fluid.AcidBlock; +import com.hbm.blocks.fluid.AcidFluid; +import com.hbm.blocks.fluid.MudBlock; +import com.hbm.blocks.fluid.MudFluid; +import com.hbm.blocks.fluid.ToxicBlock; +import com.hbm.blocks.fluid.ToxicFluid; +import com.hbm.blocks.generic.BlockCrate; +import com.hbm.blocks.generic.BlockGeneric; +import com.hbm.blocks.generic.BlockMush; +import com.hbm.blocks.generic.BlockMushHuge; +import com.hbm.blocks.generic.BlockOre; +import com.hbm.blocks.generic.BlockPlasma; +import com.hbm.blocks.generic.DecoBlock; +import com.hbm.blocks.generic.DecoBlockAlt; +import com.hbm.blocks.generic.DecoPoleSatelliteReceiver; +import com.hbm.blocks.generic.DecoPoleTop; +import com.hbm.blocks.generic.DecoSteelPoles; +import com.hbm.blocks.generic.DecoTapeRecorder; +import com.hbm.blocks.generic.Guide; +import com.hbm.blocks.generic.RedBarrel; +import com.hbm.blocks.generic.ReinforcedBlock; +import com.hbm.blocks.generic.ReinforcedLamp; +import com.hbm.blocks.generic.WasteEarth; +import com.hbm.blocks.generic.WasteLog; +import com.hbm.blocks.generic.YellowBarrel; +import com.hbm.blocks.machine.BlockCable; +import com.hbm.blocks.machine.BlockConverterHeRf; +import com.hbm.blocks.machine.BlockConverterRfHe; +import com.hbm.blocks.machine.BlockHatch; +import com.hbm.blocks.machine.BlockReactor; +import com.hbm.blocks.machine.BlockSeal; +import com.hbm.blocks.machine.DummyBlockCentrifuge; +import com.hbm.blocks.machine.DummyBlockIGenerator; +import com.hbm.blocks.machine.FWatzCore; +import com.hbm.blocks.machine.FWatzHatch; +import com.hbm.blocks.machine.FactoryCoreAdvanced; +import com.hbm.blocks.machine.FactoryCoreTitanium; +import com.hbm.blocks.machine.FactoryHatch; +import com.hbm.blocks.machine.FusionCore; +import com.hbm.blocks.machine.FusionHatch; +import com.hbm.blocks.machine.MachineBattery; +import com.hbm.blocks.machine.MachineCMBFactory; +import com.hbm.blocks.machine.MachineCentrifuge; +import com.hbm.blocks.machine.MachineCoal; +import com.hbm.blocks.machine.MachineDeuterium; +import com.hbm.blocks.machine.MachineDiFurnace; +import com.hbm.blocks.machine.MachineDiesel; +import com.hbm.blocks.machine.MachineElectricFurnace; +import com.hbm.blocks.machine.MachineGenerator; +import com.hbm.blocks.machine.MachineIGenerator; +import com.hbm.blocks.machine.MachineNukeFurnace; +import com.hbm.blocks.machine.MachinePuF6Tank; +import com.hbm.blocks.machine.MachineRTG; +import com.hbm.blocks.machine.MachineReactor; +import com.hbm.blocks.machine.MachineReiXMainframe; +import com.hbm.blocks.machine.MachineRtgFurnace; +import com.hbm.blocks.machine.MachineSchrabidiumTransmutator; +import com.hbm.blocks.machine.MachineShredder; +import com.hbm.blocks.machine.MachineTeleporter; +import com.hbm.blocks.machine.MachineUF6Tank; +import com.hbm.blocks.machine.RailBooster; +import com.hbm.blocks.machine.RailHighspeed; +import com.hbm.blocks.machine.ReactorCore; +import com.hbm.blocks.machine.ReactorHatch; +import com.hbm.blocks.machine.WatzCore; +import com.hbm.blocks.machine.WatzHatch; +import com.hbm.blocks.machine.WireCoated; +import com.hbm.blocks.test.TestBomb; +import com.hbm.blocks.test.TestBombAdvanced; +import com.hbm.blocks.test.TestContainer; +import com.hbm.blocks.test.TestEventTester; +import com.hbm.blocks.test.TestMissile; +import com.hbm.blocks.test.TestNuke; +import com.hbm.blocks.test.TestObjTester; +import com.hbm.blocks.test.TestRender; +import com.hbm.blocks.test.TestRotationTester; +import com.hbm.blocks.test.TestTicker; +import com.hbm.items.bomb.ItemPrototypeBlock; +import com.hbm.items.special.ItemOreBlock; +import com.hbm.items.special.ItemPlasmaBlock; +import com.hbm.items.special.ItemSchrabidiumBlock; +import com.hbm.lib.ModDamageSource; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.common.registry.GameRegistry; +import net.minecraft.block.Block; +import net.minecraft.block.Block.SoundType; +import net.minecraft.block.Block.SoundType; +import net.minecraft.block.BlockFalling; +import net.minecraft.block.material.MapColor; +import net.minecraft.block.material.Material; +import net.minecraft.block.material.MaterialLiquid; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraftforge.fluids.Fluid; +import net.minecraftforge.fluids.FluidRegistry; + +public class ModBlocks { + + public static void mainRegistry() + { + initializeBlock(); + registerBlock(); + } + + public static Block test_render; + public static Block test_container; + public static Block test_bomb; + public static Block test_bomb_advanced; + public static Block test_nuke; + public static final int guiID_test_nuke = 2; + public static Block event_tester; + public static Block rotation_tester; + public static Block obj_tester; + public static Block test_ticker; + public static Block test_missile; + + public static Block ore_uranium; + public static Block ore_titanium; + public static Block ore_sulfur; + + public static Block ore_niter; + public static Block ore_copper; + public static Block ore_tungsten; + public static Block ore_aluminium; + public static Block ore_fluorite; + public static Block ore_lead; + public static Block ore_schrabidium; + public static Block ore_beryllium; + + public static Block ore_nether_uranium; + public static Block ore_nether_plutonium; + public static Block ore_nether_tungsten; + public static Block ore_nether_sulfur; + public static Block ore_nether_fire; + public static Block ore_nether_schrabidium; + + public static Block ore_australium; + public static Block ore_weidanium; + public static Block ore_reiium; + public static Block ore_unobtainium; + public static Block ore_daffergon; + public static Block ore_verticium; + + public static Block block_uranium; + public static Block block_titanium; + public static Block block_sulfur; + public static Block block_niter; + public static Block block_copper; + public static Block block_red_copper; + public static Block block_tungsten; + public static Block block_aluminium; + public static Block block_fluorite; + public static Block block_steel; + public static Block block_lead; + public static Block block_trinitite; + public static Block block_waste; + public static Block block_scrap; + public static Block block_electrical_scrap; + public static Block block_beryllium; + public static Block block_schrabidium; + public static Block block_advanced_alloy; + public static Block block_magnetized_tungsten; + public static Block block_combine_steel; + + public static Block block_australium; + public static Block block_weidanium; + public static Block block_reiium; + public static Block block_unobtainium; + public static Block block_daffergon; + public static Block block_verticium; + + public static Block gravel_obsidian; + + public static Block reinforced_brick; + public static Block reinforced_glass; + public static Block reinforced_light; + public static Block reinforced_sand; + public static Block reinforced_lamp_off; + public static Block reinforced_lamp_on; + + public static Block brick_concrete; + public static Block brick_obsidian; + public static Block brick_light; + + public static Block cmb_brick; + public static Block cmb_brick_reinforced; + + public static Block block_meteor; + + public static Block tape_recorder; + public static Block steel_poles; + public static Block pole_top; + public static Block pole_satellite_receiver; + public static Block steel_wall; + public static Block steel_corner; + public static Block steel_roof; + public static Block steel_beam; + public static Block steel_scaffold; + + public static Block mush; + public static Block mush_block; + public static Block mush_block_stem; + + public static Block waste_earth; + public static Block waste_mycelium; + public static Block waste_trinitite; + public static Block waste_trinitite_red; + public static Block waste_log; + public static Block waste_planks; + public static Block frozen_dirt; + public static Block frozen_grass; + public static Block frozen_log; + public static Block frozen_planks; + + public static Block flame_war; + public static Block float_bomb; + public static Block therm_endo; + public static Block therm_exo; + public static Block det_cord; + public static Block det_charge; + public static Block red_barrel; + public static Block yellow_barrel; + public static Block crashed_balefire; + + public static Block crate; + + public static Block seal_frame; + public static Block seal_controller; + public static Block seal_hatch; + + public static Block nuke_gadget; + public static final int guiID_nuke_gadget = 3; + + public static Block nuke_boy; + public static final int guiID_nuke_boy = 4; + + public static Block nuke_man; + public static final int guiID_nuke_man = 6; + + public static Block nuke_mike; + public static final int guiID_nuke_mike = 11; + + public static Block nuke_tsar; + public static final int guiID_nuke_tsar = 12; + + public static Block nuke_fleija; + public static final int guiID_nuke_fleija = 17; + + public static Block nuke_prototype; + public static final int guiID_nuke_prototype = 23; + + public static Block nuke_custom; + public static final int guiID_nuke_custom = 37; + + public static Block bomb_multi; + public static final int guiID_bomb_multi = 10; + + public static Block machine_difurnace_off; + public static Block machine_difurnace_on; + public static final int guiID_test_difurnace = 1; + + public static Block machine_centrifuge; + public static final int guiID_centrifuge = 5; + + public static Block machine_uf6_tank; + public static final int guiID_uf6_tank = 7; + + public static Block machine_puf6_tank; + public static final int guiID_puf6_tank = 8; + + public static Block machine_reactor; + public static final int guiID_reactor = 9; + + public static Block machine_nuke_furnace_off; + public static Block machine_nuke_furnace_on; + public static final int guiID_nuke_furnace = 13; + + public static Block machine_rtg_furnace_off; + public static Block machine_rtg_furnace_on; + public static final int guiID_rtg_furnace = 14; + + public static Block machine_generator; + public static final int guiID_machine_generator = 15; + + public static Block machine_industrial_generator; + public static final int guiID_machine_industrial_generator = 39; + + public static Block machine_electric_furnace_off; + public static Block machine_electric_furnace_on; + public static final int guiID_electric_furnace = 16; + + public static Block machine_deuterium; + public static final int guiID_machine_deuterium = 20; + + public static Block machine_battery; + public static final int guiID_machine_battery = 21; + + public static Block machine_coal_off; + public static Block machine_coal_on; + public static final int guiID_machine_coal = 22; + + public static Block red_wire_coated; + public static Block red_cable; + + public static Block bomb_multi_large; + public static final int guiID_bomb_multi_large = 18; + + public static Block factory_titanium_hull; + public static Block factory_titanium_furnace; + public static Block factory_titanium_conductor; + public static Block factory_titanium_core; + public static final int guiID_factory_titanium = 24; + + public static Block factory_advanced_hull; + public static Block factory_advanced_furnace; + public static Block factory_advanced_conductor; + public static Block factory_advanced_core; + public static final int guiID_factory_advanced = 25; + + public static Block reactor_element; + public static Block reactor_control; + public static Block reactor_hatch; + public static Block reactor_conductor; + public static Block reactor_computer; + public static final int guiID_reactor_multiblock = 26; + + public static Block fusion_conductor; + public static Block fusion_center; + public static Block fusion_motor; + public static Block fusion_heater; + public static Block fusion_hatch; + public static Block fusion_core; + public static Block plasma; + public static final int guiID_fusion_multiblock = 27; + + public static Block watz_element; + public static Block watz_control; + public static Block watz_cooler; + public static Block watz_end; + public static Block watz_hatch; + public static Block watz_conductor; + public static Block watz_core; + public static final int guiID_watz_multiblock = 32; + + public static Block fwatz_conductor; + public static Block fwatz_cooler; + public static Block fwatz_tank; + public static Block fwatz_scaffold; + public static Block fwatz_hatch; + public static Block fwatz_computer; + public static Block fwatz_core; + public static Block fwatz_plasma; + public static final int guiID_fwatz_multiblock = 33; + + public static Block machine_converter_he_rf; + public static final int guiID_converter_he_rf = 28; + + public static Block machine_converter_rf_he; + public static final int guiID_converter_rf_he = 29; + + public static Block machine_schrabidium_transmutator; + public static final int guiID_schrabidium_transmutator = 30; + + public static Block machine_diesel; + public static final int guiID_machine_diesel = 31; + + public static Block machine_shredder; + public static final int guiID_machine_shredder = 34; + + public static Block machine_combine_factory; + public static final int guiID_combine_factory = 35; + + public static Block machine_teleporter; + public static final int guiID_machine_teleporter = 36; + + public static Block machine_reix_mainframe; + public static final int guiID_machine_reix_mainframe = 38; + + public static Block machine_rtg_grey; + //public static Block machine_rtg_red; + //public static Block machine_rtg_orange; + //public static Block machine_rtg_yellow; + //public static Block machine_rtg_green; + public static Block machine_rtg_cyan; + //public static Block machine_rtg_blue; + //public static Block machine_rtg_purple; + + public static Block launch_pad; + public static Block launch_pad_generic; + public static Block launch_pad_incendiary; + public static Block launch_pad_cluster; + public static Block launch_pad_buster; + public static Block launch_pad_strong; + public static Block launch_pad_incendiary_strong; + public static Block launch_pad_cluster_strong; + public static Block launch_pad_buster_strong; + public static Block launch_pad_burst; + public static Block launch_pad_inferno; + public static Block launch_pad_rain; + public static Block launch_pad_drill; + public static Block launch_pad_nuclear; + public static Block launch_pad_endo; + public static Block launch_pad_exo; + public static Block launch_pad_mirv; + public static final int guiID_launch_pad = 19; + + public static Block book_guide; + + public static Block rail_highspeed; + public static Block rail_booster; + + public static Block statue_elb; + public static Block statue_elb_g; + public static Block statue_elb_w; + public static Block statue_elb_f; + + public static Block cheater_virus; + public static Block cheater_virus_seed; + public static Block crystal_virus; + public static Block crystal_hardened; + + public static Block mud_block; + public static Fluid mud_fluid; + public static final Material fluidmud = (new MaterialLiquid(MapColor.adobeColor)); + + public static Block acid_block; + public static Fluid acid_fluid; + public static final Material fluidacid = (new MaterialLiquid(MapColor.purpleColor)); + + public static Block toxic_block; + public static Fluid toxic_fluid; + public static final Material fluidtoxic = (new MaterialLiquid(MapColor.greenColor)); + + public static Block dummy_block_igenerator; + public static Block dummy_port_igenerator; + public static Block dummy_block_centrifuge; + + + private static void initializeBlock() { + + test_render = new TestRender(Material.rock).setBlockName("test_render").setCreativeTab(MainRegistry.tabTest); + test_container = new TestContainer(0).setBlockName("test_container").setCreativeTab(MainRegistry.tabTest); + test_bomb = new TestBomb(Material.tnt).setBlockName("test_bomb").setCreativeTab(MainRegistry.tabTest).setBlockTextureName(RefStrings.MODID + ":test_bomb"); + test_bomb_advanced = new TestBombAdvanced(Material.tnt).setBlockName("test_bomb_advanced").setCreativeTab(MainRegistry.tabTest); + + test_nuke = new TestNuke(Material.iron).setBlockName("test_nuke").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":test_nuke"); + event_tester = new TestEventTester(Material.iron).setBlockName("event_tester").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(0.0F).setBlockTextureName(RefStrings.MODID + ":event_tester"); + rotation_tester = new TestRotationTester(Material.iron).setBlockName("rotation_tester").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(10.0F); + obj_tester = new TestObjTester(Material.iron).setBlockName("obj_tester").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(10.0F); + + test_ticker = new TestTicker(Material.iron).setBlockName("test_ticker").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":test_ticker"); + + test_missile = new TestMissile(Material.iron).setBlockName("test_missile").setCreativeTab(MainRegistry.tabTest).setHardness(2.5F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":test_missile"); + + ore_uranium = new BlockGeneric(Material.rock).setBlockName("ore_uranium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_uranium"); + ore_titanium = new BlockGeneric(Material.rock).setBlockName("ore_titanium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_titanium"); + ore_sulfur = new BlockOre(Material.rock).setBlockName("ore_sulfur").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_sulfur"); + + ore_niter = new BlockOre(Material.rock).setBlockName("ore_niter").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_niter"); + ore_copper = new BlockGeneric(Material.rock).setBlockName("ore_copper").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_copper"); + ore_tungsten = new BlockGeneric(Material.rock).setBlockName("ore_tungsten").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_tungsten"); + ore_aluminium = new BlockGeneric(Material.rock).setBlockName("ore_aluminium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_aluminium"); + ore_fluorite = new BlockOre(Material.rock).setBlockName("ore_fluorite").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_fluorite"); + ore_lead = new BlockGeneric(Material.rock).setBlockName("ore_lead").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_lead"); + ore_schrabidium = new BlockGeneric(Material.rock).setBlockName("ore_schrabidium").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":ore_schrabidium"); + ore_beryllium = new BlockGeneric(Material.rock).setBlockName("ore_beryllium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":ore_beryllium"); + + ore_nether_uranium = new BlockGeneric(Material.rock).setBlockName("ore_nether_uranium").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_uranium"); + ore_nether_plutonium = new BlockGeneric(Material.rock).setBlockName("ore_nether_plutonium").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_plutonium"); + ore_nether_tungsten = new BlockGeneric(Material.rock).setBlockName("ore_nether_tungsten").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_tungsten"); + ore_nether_sulfur = new BlockOre(Material.rock).setBlockName("ore_nether_sulfur").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_sulfur"); + ore_nether_fire = new BlockOre(Material.rock).setBlockName("ore_nether_fire").setCreativeTab(MainRegistry.tabBlock).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_fire"); + ore_nether_schrabidium = new BlockGeneric(Material.rock).setBlockName("ore_nether_schrabidium").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_schrabidium"); + + ore_australium = new BlockGeneric(Material.rock).setBlockName("ore_australium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_australium"); + ore_weidanium = new BlockGeneric(Material.rock).setBlockName("ore_weidanium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_weidanium"); + ore_reiium = new BlockGeneric(Material.rock).setBlockName("ore_reiium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_reiium"); + ore_unobtainium = new BlockGeneric(Material.rock).setBlockName("ore_unobtainium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_unobtainium"); + ore_daffergon = new BlockGeneric(Material.rock).setBlockName("ore_daffergon").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_daffergon"); + ore_verticium = new BlockGeneric(Material.rock).setBlockName("ore_verticium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_verticium"); + + block_uranium = new BlockGeneric(Material.iron).setBlockName("block_uranium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_uranium"); + block_titanium = new BlockGeneric(Material.iron).setBlockName("block_titanium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_titanium"); + block_sulfur = new BlockGeneric(Material.iron).setBlockName("block_sulfur").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_sulfur"); + block_niter = new BlockGeneric(Material.iron).setBlockName("block_niter").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_niter"); + block_copper = new BlockGeneric(Material.iron).setBlockName("block_copper").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_copper"); + block_red_copper = new BlockGeneric(Material.iron).setBlockName("block_red_copper").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_red_copper"); + block_tungsten = new BlockGeneric(Material.iron).setBlockName("block_tungsten").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_tungsten"); + block_aluminium = new BlockGeneric(Material.iron).setBlockName("block_aluminium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_aluminium"); + block_fluorite = new BlockGeneric(Material.iron).setBlockName("block_fluorite").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_fluorite"); + block_steel = new BlockGeneric(Material.iron).setBlockName("block_steel").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_steel"); + block_lead = new BlockGeneric(Material.iron).setBlockName("block_lead").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_lead"); + block_trinitite = new BlockOre(Material.iron).setBlockName("block_trinitite").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_trinitite"); + block_waste = new BlockOre(Material.iron).setBlockName("block_waste").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_waste"); + block_scrap = new BlockFalling(Material.sand).setBlockName("block_scrap").setCreativeTab(MainRegistry.tabBlock).setHardness(2.5F).setResistance(5.0F).setStepSound(Block.soundTypeGravel).setBlockTextureName(RefStrings.MODID + ":block_scrap"); + block_electrical_scrap = new BlockFalling(Material.iron).setBlockName("block_electrical_scrap").setCreativeTab(MainRegistry.tabBlock).setHardness(2.5F).setResistance(5.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(RefStrings.MODID + ":electrical_scrap_alt2"); + block_beryllium = new BlockGeneric(Material.iron).setBlockName("block_beryllium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_beryllium"); + block_schrabidium = new BlockGeneric(Material.iron).setBlockName("block_schrabidium").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_schrabidium"); + block_schrabidium = new BlockGeneric(Material.iron).setBlockName("block_schrabidium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_schrabidium"); + block_advanced_alloy = new BlockGeneric(Material.iron).setBlockName("block_advanced_alloy").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_advanced_alloy"); + block_magnetized_tungsten = new BlockGeneric(Material.iron).setBlockName("block_magnetized_tungsten").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(35.0F).setBlockTextureName(RefStrings.MODID + ":block_magnetized_tungsten"); + block_combine_steel = new BlockGeneric(Material.iron).setBlockName("block_combine_steel").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_combine_steel"); + + block_australium = new BlockGeneric(Material.iron).setBlockName("block_australium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_australium"); + block_weidanium = new BlockGeneric(Material.iron).setBlockName("block_weidanium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_weidanium"); + block_reiium = new BlockGeneric(Material.iron).setBlockName("block_reiium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_reiium"); + block_unobtainium = new BlockGeneric(Material.iron).setBlockName("block_unobtainium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_unobtainium"); + block_daffergon = new BlockGeneric(Material.iron).setBlockName("block_daffergon").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_daffergon"); + block_verticium = new BlockGeneric(Material.iron).setBlockName("block_verticium").setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_verticium"); + + gravel_obsidian = new BlockFalling(Material.iron).setBlockName("gravel_obsidian").setCreativeTab(MainRegistry.tabBlock).setStepSound(Block.soundTypeGravel).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":gravel_obsidian"); + + reinforced_brick = new BlockGeneric(Material.rock).setBlockName("reinforced_brick").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_brick"); + reinforced_glass = new ReinforcedBlock(Material.glass).setBlockName("reinforced_glass").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(0).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_glass"); + reinforced_light = new ReinforcedBlock(Material.rock).setBlockName("reinforced_light").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setLightLevel(1.0F).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_light"); + reinforced_sand = new BlockGeneric(Material.rock).setBlockName("reinforced_sand").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_sand"); + reinforced_lamp_off = new ReinforcedLamp(Material.rock, false).setBlockName("reinforced_lamp_off").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_lamp_off"); + reinforced_lamp_on = new ReinforcedLamp(Material.rock, true).setBlockName("reinforced_lamp_on").setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":reinforced_lamp_on"); + + brick_concrete = new BlockGeneric(Material.rock).setBlockName("brick_concrete").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":brick_concrete"); + brick_obsidian = new BlockGeneric(Material.rock).setBlockName("brick_obsidian").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":brick_obsidian"); + brick_light = new BlockGeneric(Material.rock).setBlockName("brick_light").setCreativeTab(MainRegistry.tabBlock).setLightOpacity(15).setHardness(15.0F).setResistance(60.0F).setBlockTextureName(RefStrings.MODID + ":brick_light"); + + cmb_brick = new BlockGeneric(Material.rock).setBlockName("cmb_brick").setCreativeTab(MainRegistry.tabBlock).setHardness(25.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":cmb_brick"); + cmb_brick_reinforced = new BlockGeneric(Material.rock).setBlockName("cmb_brick_reinforced").setCreativeTab(MainRegistry.tabBlock).setHardness(25.0F).setResistance(60000.0F).setBlockTextureName(RefStrings.MODID + ":cmb_brick_reinforced"); + + block_meteor = new BlockGeneric(Material.rock).setBlockName("block_meteor").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":block_meteor"); + + tape_recorder = new DecoTapeRecorder(Material.rock).setBlockName("tape_recorder").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":deco_tape_recorder"); + steel_poles = new DecoSteelPoles(Material.rock).setBlockName("steel_poles").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":deco_steel_poles"); + pole_top = new DecoPoleTop(Material.rock).setBlockName("pole_top").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":deco_pole_top"); + pole_satellite_receiver = new DecoPoleSatelliteReceiver(Material.rock).setBlockName("pole_satellite_receiver").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":deco_satellite_receiver"); + steel_wall = new DecoBlock(Material.rock).setBlockName("steel_wall").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_wall"); + steel_corner = new DecoBlock(Material.rock).setBlockName("steel_corner").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_corner"); + steel_roof = new DecoBlock(Material.rock).setBlockName("steel_roof").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_roof"); + steel_beam = new DecoBlock(Material.rock).setBlockName("steel_beam").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_beam"); + steel_scaffold = new DecoBlock(Material.rock).setBlockName("steel_scaffold").setCreativeTab(MainRegistry.tabBlock).setHardness(15.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":steel_scaffold"); + + mush = new BlockMush(Material.plants).setBlockName("mush").setCreativeTab(MainRegistry.tabBlock).setLightLevel(0.5F).setStepSound(Block.soundTypeGrass).setBlockTextureName(RefStrings.MODID + ":mush"); + mush_block = new BlockMushHuge(Material.plants).setBlockName("mush_block").setLightLevel(1.0F).setStepSound(Block.soundTypeGrass).setHardness(0.2F).setBlockTextureName(RefStrings.MODID + ":mush_block_skin"); + mush_block_stem = new BlockMushHuge(Material.plants).setBlockName("mush_block_stem").setLightLevel(1.0F).setStepSound(Block.soundTypeGrass).setHardness(0.2F).setBlockTextureName(RefStrings.MODID + ":mush_block_stem"); + + waste_earth = new WasteEarth(Material.ground).setBlockName("waste_earth").setStepSound(Block.soundTypeGrass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(1.0F).setBlockTextureName(RefStrings.MODID + ":waste_earth"); + waste_mycelium = new WasteEarth(Material.ground).setBlockName("waste_mycelium").setStepSound(Block.soundTypeGrass).setLightLevel(1F).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(1.0F).setBlockTextureName(RefStrings.MODID + ":waste_mycelium_side"); + waste_trinitite = new BlockOre(Material.sand).setBlockName("waste_trinitite").setStepSound(Block.soundTypeSand).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":waste_trinitite"); + waste_trinitite_red = new BlockOre(Material.sand).setBlockName("waste_trinitite_red").setStepSound(Block.soundTypeSand).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":waste_trinitite_red"); + waste_log = new WasteLog(Material.wood).setBlockName("waste_log").setStepSound(Block.soundTypeWood).setCreativeTab(MainRegistry.tabBlock).setHardness(5.0F).setResistance(0.5F); + waste_planks = new BlockOre(Material.wood).setBlockName("waste_planks").setStepSound(Block.soundTypeWood).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":waste_planks"); + frozen_dirt = new BlockOre(Material.wood).setBlockName("frozen_dirt").setStepSound(Block.soundTypeGlass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":frozen_dirt"); + frozen_grass = new WasteEarth(Material.wood).setBlockName("frozen_grass").setStepSound(Block.soundTypeGlass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F); + frozen_log = new WasteLog(Material.wood).setBlockName("frozen_log").setStepSound(Block.soundTypeGlass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F); + frozen_planks = new BlockOre(Material.wood).setBlockName("frozen_planks").setStepSound(Block.soundTypeGlass).setCreativeTab(MainRegistry.tabBlock).setHardness(0.5F).setResistance(2.5F).setBlockTextureName(RefStrings.MODID + ":frozen_planks"); + + nuke_gadget = new NukeGadget(Material.iron).setBlockName("nuke_gadget").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":theGadget"); + nuke_boy = new NukeBoy(Material.iron).setBlockName("nuke_boy").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":lilBoy"); + nuke_man = new NukeMan(Material.iron).setBlockName("nuke_man").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":fatMan"); + nuke_mike = new NukeMike(Material.iron).setBlockName("nuke_mike").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":ivyMike"); + nuke_tsar = new NukeTsar(Material.iron).setBlockName("nuke_tsar").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":tsarBomba"); + nuke_fleija = new NukeFleija(Material.iron).setBlockName("nuke_fleija").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":fleija"); + nuke_prototype = new NukePrototype(Material.iron).setBlockName("nuke_prototype").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":prototype"); + nuke_custom = new NukeCustom(Material.iron).setBlockName("nuke_custom").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":custom"); + + bomb_multi = new BombMulti(Material.iron).setBlockName("bomb_multi").setCreativeTab(MainRegistry.tabNuke).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":bomb_multi1"); + //bomb_multi_large = new BombMultiLarge(Material.iron).setBlockName("bomb_multi_large").setCreativeTab(MainRegistry.tabNuke).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":bomb_multi_large"); + + flame_war = new BombFlameWar(Material.iron).setBlockName("flame_war").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":flame_war"); + float_bomb = new BombFloat(Material.iron).setBlockName("float_bomb").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F); + therm_endo = new BombThermo(Material.iron).setBlockName("therm_endo").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F); + therm_exo = new BombThermo(Material.iron).setBlockName("therm_exo").setCreativeTab(MainRegistry.tabNuke).setHardness(5.0F).setResistance(6000.0F); + det_cord = new DetCord(Material.iron).setBlockName("det_cord").setCreativeTab(MainRegistry.tabNuke).setHardness(0.1F).setResistance(0.0F).setBlockTextureName(RefStrings.MODID + ":det_cord"); + det_charge = new DetCord(Material.iron).setBlockName("det_charge").setCreativeTab(MainRegistry.tabNuke).setHardness(0.1F).setResistance(0.0F).setBlockTextureName(RefStrings.MODID + ":det_charge"); + red_barrel = new RedBarrel(Material.iron).setBlockName("red_barrel").setCreativeTab(MainRegistry.tabNuke).setHardness(0.5F).setResistance(2.5F); + yellow_barrel = new YellowBarrel(Material.iron).setBlockName("yellow_barrel").setCreativeTab(MainRegistry.tabNuke).setHardness(0.5F).setResistance(2.5F); + crashed_balefire = new BlockCrashedBomb(Material.iron).setBlockName("crashed_bomb").setCreativeTab(MainRegistry.tabNuke).setBlockUnbreakable().setResistance(6000.0F).setBlockTextureName(RefStrings.MODID + ":crashed_balefire"); + + machine_difurnace_off = new MachineDiFurnace(false).setBlockName("machine_difurnace_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + machine_difurnace_on = new MachineDiFurnace(true).setBlockName("machine_difurnace_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); + + machine_centrifuge = new MachineCentrifuge(Material.iron).setBlockName("machine_centrifuge").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_uf6_tank = new MachineUF6Tank(Material.iron).setBlockName("machine_uf6_tank").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_puf6_tank = new MachinePuF6Tank(Material.iron).setBlockName("machine_puf6_tank").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_reactor = new MachineReactor(Material.iron).setBlockName("machine_reactor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_nuke_furnace_off = new MachineNukeFurnace(false).setBlockName("machine_nuke_furnace_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + machine_nuke_furnace_on = new MachineNukeFurnace(true).setBlockName("machine_nuke_furnace_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); + + machine_rtg_furnace_off = new MachineRtgFurnace(false).setBlockName("machine_rtg_furnace_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + machine_rtg_furnace_on = new MachineRtgFurnace(true).setBlockName("machine_rtg_furnace_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); + + machine_generator = new MachineGenerator(Material.iron).setBlockName("machine_generator").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + machine_industrial_generator = new MachineIGenerator(Material.iron).setBlockName("machine_industrial_generator").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":industrial_generator"); + + machine_electric_furnace_off = new MachineElectricFurnace(false).setBlockName("machine_electric_furnace_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + machine_electric_furnace_on = new MachineElectricFurnace(true).setBlockName("machine_electric_furnace_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); + + machine_deuterium = new MachineDeuterium(Material.iron).setBlockName("machine_deuterium").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_battery = new MachineBattery(Material.iron).setBlockName("machine_battery").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_coal_off = new MachineCoal(false).setBlockName("machine_coal_off").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + machine_coal_on = new MachineCoal(true).setBlockName("machine_coal_on").setHardness(5.0F).setLightLevel(1.0F).setResistance(10.0F); + + machine_diesel = new MachineDiesel(Material.iron).setBlockName("machine_diesel").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_shredder = new MachineShredder(Material.iron).setBlockName("machine_shredder").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_combine_factory = new MachineCMBFactory(Material.iron).setBlockName("machine_combine_factory").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_teleporter = new MachineTeleporter(Material.iron).setBlockName("machine_teleporter").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_rtg_grey = new MachineRTG(Material.iron).setBlockName("machine_rtg_grey").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + //machine_rtg_red = new MachineRTG(Material.iron).setBlockName("machine_rtg_red").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + //machine_rtg_orange = new MachineRTG(Material.iron).setBlockName("machine_rtg_orange").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + //machine_rtg_yellow = new MachineRTG(Material.iron).setBlockName("machine_rtg_yellow").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + //machine_rtg_green = new MachineRTG(Material.iron).setBlockName("machine_rtg_green").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + machine_rtg_cyan = new MachineRTG(Material.iron).setBlockName("machine_rtg_cyan").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + //machine_rtg_blue = new MachineRTG(Material.iron).setBlockName("machine_rtg_blue").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + //machine_rtg_purple = new MachineRTG(Material.iron).setBlockName("machine_rtg_purple").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock); + + red_wire_coated = new WireCoated(Material.iron).setBlockName("red_wire_coated").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":red_wire_coated"); + red_cable = new BlockCable(Material.iron).setBlockName("red_cable").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":red_cable_icon"); + + factory_titanium_hull = new BlockGeneric(Material.iron).setBlockName("factory_titanium_hull").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_titanium_hull"); + factory_titanium_furnace = new FactoryHatch(Material.iron).setBlockName("factory_titanium_furnace").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_titanium_furnace"); + factory_titanium_conductor = new BlockReactor(Material.iron).setBlockName("factory_titanium_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_titanium_conductor"); + factory_titanium_core = new FactoryCoreTitanium(Material.iron).setBlockName("factory_titanium_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_titanium_core"); + factory_advanced_hull = new BlockGeneric(Material.iron).setBlockName("factory_advanced_hull").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_advanced_hull"); + factory_advanced_furnace = new FactoryHatch(Material.iron).setBlockName("factory_advanced_furnace").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_advanced_furnace"); + factory_advanced_conductor = new BlockReactor(Material.iron).setBlockName("factory_advanced_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_advanced_conductor"); + factory_advanced_core = new FactoryCoreAdvanced(Material.iron).setBlockName("factory_advanced_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":factory_advanced_core"); + + reactor_element = new BlockReactor(Material.iron).setBlockName("reactor_element").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":reactor_element_side"); + reactor_control = new BlockReactor(Material.iron).setBlockName("reactor_control").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":reactor_control_side"); + reactor_hatch = new ReactorHatch(Material.iron).setBlockName("reactor_hatch").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":brick_concrete"); + reactor_conductor = new BlockReactor(Material.iron).setBlockName("reactor_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":reactor_conductor_side"); + reactor_computer = new ReactorCore(Material.iron).setBlockName("reactor_computer").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":reactor_computer"); + + fusion_conductor = new BlockReactor(Material.iron).setBlockName("fusion_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_conductor_side"); + fusion_center = new BlockReactor(Material.iron).setBlockName("fusion_center").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_center_side"); + fusion_motor = new BlockReactor(Material.iron).setBlockName("fusion_motor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_motor_side"); + fusion_heater = new BlockReactor(Material.iron).setBlockName("fusion_heater").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_heater_side"); + fusion_hatch = new FusionHatch(Material.iron).setBlockName("fusion_hatch").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_hatch"); + fusion_core = new FusionCore(Material.iron).setBlockName("fusion_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fusion_core_side"); + plasma = new BlockPlasma(Material.iron).setBlockName("plasma").setHardness(5.0F).setResistance(6000.0F).setLightLevel(1.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":plasma"); + + watz_element = new BlockReactor(Material.iron).setBlockName("watz_element").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_element"); + watz_control = new BlockReactor(Material.iron).setBlockName("watz_control").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_control"); + watz_cooler = new BlockGeneric(Material.iron).setBlockName("watz_cooler").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_cooler"); + watz_end = new BlockGeneric(Material.iron).setBlockName("watz_end").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_end"); + watz_hatch = new WatzHatch(Material.iron).setBlockName("watz_hatch").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_hatch"); + watz_conductor = new BlockReactor(Material.iron).setBlockName("watz_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_conductor"); + watz_core = new WatzCore(Material.iron).setBlockName("watz_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":watz_computer"); + + fwatz_conductor = new BlockReactor(Material.iron).setBlockName("fwatz_conductor").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_conductor"); + fwatz_cooler = new BlockReactor(Material.iron).setBlockName("fwatz_cooler").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_cooler"); + fwatz_tank = new ReinforcedBlock(Material.iron).setBlockName("fwatz_tank").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_tank"); + fwatz_scaffold = new BlockGeneric(Material.iron).setBlockName("fwatz_scaffold").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_scaffold"); + fwatz_hatch = new FWatzHatch(Material.iron).setBlockName("fwatz_hatch").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_computer"); + fwatz_computer = new BlockGeneric(Material.iron).setBlockName("fwatz_computer").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_computer"); + fwatz_core = new FWatzCore(Material.iron).setBlockName("fwatz_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_core"); + fwatz_plasma = new BlockPlasma(Material.iron).setBlockName("fwatz_plasma").setHardness(5.0F).setResistance(6000.0F).setLightLevel(1.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":fwatz_plasma"); + + machine_converter_he_rf = new BlockConverterHeRf(Material.iron).setBlockName("machine_converter_he_rf").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":machine_converter_he_rf"); + machine_converter_rf_he = new BlockConverterRfHe(Material.iron).setBlockName("machine_converter_rf_he").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":machine_converter_rf_he"); + + seal_frame = new BlockGeneric(Material.iron).setBlockName("seal_frame").setHardness(10.0F).setResistance(100.0F).setCreativeTab(MainRegistry.tabBlock).setBlockTextureName(RefStrings.MODID + ":seal_frame"); + seal_controller = new BlockSeal(Material.iron).setBlockName("seal_controller").setHardness(10.0F).setResistance(100.0F).setCreativeTab(MainRegistry.tabBlock); + seal_hatch = new BlockHatch(Material.iron).setBlockName("seal_hatch").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":seal_hatch_3"); + + launch_pad = new LaunchPad(Material.iron).setBlockName("launch_pad").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabNuke).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_generic = new LaunchPad(Material.iron).setBlockName("launch_pad_generic").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_incendiary = new LaunchPad(Material.iron).setBlockName("launch_pad_incendiary").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_cluster = new LaunchPad(Material.iron).setBlockName("launch_pad_cluster").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_buster = new LaunchPad(Material.iron).setBlockName("launch_pad_buster").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_strong = new LaunchPad(Material.iron).setBlockName("launch_pad_strong").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_incendiary_strong = new LaunchPad(Material.iron).setBlockName("launch_pad_incendiary_strong").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_cluster_strong = new LaunchPad(Material.iron).setBlockName("launch_pad_cluster_strong").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_buster_strong = new LaunchPad(Material.iron).setBlockName("launch_pad_buster_strong").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_burst = new LaunchPad(Material.iron).setBlockName("launch_pad_burst").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_inferno = new LaunchPad(Material.iron).setBlockName("launch_pad_inferno").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_rain = new LaunchPad(Material.iron).setBlockName("launch_pad_rain").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_drill = new LaunchPad(Material.iron).setBlockName("launch_pad_drill").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_nuclear = new LaunchPad(Material.iron).setBlockName("launch_pad_nuclear").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_endo = new LaunchPad(Material.iron).setBlockName("launch_pad_endo").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_exo = new LaunchPad(Material.iron).setBlockName("launch_pad_exo").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + launch_pad_mirv = new LaunchPad(Material.iron).setBlockName("launch_pad_mirv").setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":launch_pad"); + + book_guide = new Guide(Material.iron).setBlockName("book_guide").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabNuke); + + rail_highspeed = new RailHighspeed().setBlockName("rail_highspeed").setHardness(5.0F).setResistance(10.0F).setCreativeTab(CreativeTabs.tabTransport).setBlockTextureName(RefStrings.MODID + ":rail_highspeed"); + rail_booster = new RailBooster().setBlockName("rail_booster").setHardness(5.0F).setResistance(10.0F).setCreativeTab(CreativeTabs.tabTransport).setBlockTextureName(RefStrings.MODID + ":rail_booster"); + + crate = new BlockCrate(Material.iron).setBlockName("crate").setStepSound(Block.soundTypeWood).setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.tabNuke).setBlockTextureName(RefStrings.MODID + ":crate"); + + machine_schrabidium_transmutator = new MachineSchrabidiumTransmutator(Material.iron).setBlockName("machine_schrabidium_transmutator").setHardness(5.0F).setResistance(100.0F).setCreativeTab(MainRegistry.tabBlock); + + machine_reix_mainframe = new MachineReiXMainframe(Material.iron).setBlockName("machine_reix_mainframe").setHardness(5.0F).setResistance(100.0F).setCreativeTab(MainRegistry.tabBlock); + + cheater_virus = new CheaterVirus(Material.cloth).setBlockName("cheater_virus").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":cheater_virus"); + cheater_virus_seed = new CheaterVirusSeed(Material.cloth).setBlockName("cheater_virus_seed").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":cheater_virus_seed"); + crystal_virus = new CrystalVirus(Material.cloth).setBlockName("crystal_virus").setHardness(15.0F).setResistance(100.0F).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":crystal_virus"); + crystal_hardened = new BlockGeneric(Material.cloth).setBlockName("crystal_hardened").setHardness(15.0F).setResistance(100.0F).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":crystal_hardened"); + + statue_elb = new DecoBlockAlt(Material.iron).setBlockName("#null").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY); + statue_elb_g = new DecoBlockAlt(Material.iron).setBlockName("#void").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY); + statue_elb_w = new DecoBlockAlt(Material.iron).setBlockName("#ngtv").setHardness(Float.POSITIVE_INFINITY).setResistance(Float.POSITIVE_INFINITY); + statue_elb_f = new DecoBlockAlt(Material.iron).setBlockName("#undef").setHardness(Float.POSITIVE_INFINITY).setLightLevel(1.0F).setResistance(Float.POSITIVE_INFINITY); + + mud_fluid = new MudFluid().setDensity(2500).setViscosity(3000).setLuminosity(5).setTemperature(2773).setUnlocalizedName("mud_fluid"); + FluidRegistry.registerFluid(mud_fluid); + mud_block = new MudBlock(mud_fluid, fluidmud.setReplaceable(), ModDamageSource.mudPoisoning).setBlockName("mud_block").setResistance(500F); + + acid_fluid = new AcidFluid().setDensity(2500).setViscosity(1500).setLuminosity(5).setTemperature(2773).setUnlocalizedName("mud_fluid"); + FluidRegistry.registerFluid(acid_fluid); + acid_block = new AcidBlock(acid_fluid, fluidacid.setReplaceable(), ModDamageSource.acid).setBlockName("acid_block").setResistance(500F); + + toxic_fluid = new ToxicFluid().setDensity(2500).setViscosity(2000).setLuminosity(15).setTemperature(2773).setUnlocalizedName("mud_fluid"); + FluidRegistry.registerFluid(toxic_fluid); + toxic_block = new ToxicBlock(toxic_fluid, fluidtoxic.setReplaceable(), ModDamageSource.radiation).setBlockName("toxic_block").setResistance(500F); + + dummy_block_igenerator = new DummyBlockIGenerator(Material.iron).setBlockName("dummy_block_igenerator").setHardness(5.0F).setResistance(10.0F).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":block_steel"); + dummy_port_igenerator = new DummyBlockIGenerator(Material.iron).setBlockName("dummy_port_igenerator").setHardness(5.0F).setResistance(10.0F).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":block_steel"); + dummy_block_centrifuge = new DummyBlockCentrifuge(Material.iron).setBlockName("dummy_block_centrifuge").setHardness(5.0F).setResistance(10.0F).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":block_steel"); + } + + private static void registerBlock() { + //Test + GameRegistry.registerBlock(test_render, test_render.getUnlocalizedName()); + //GameRegistry.registerBlock(test_container, test_container.getUnlocalizedName()); + GameRegistry.registerBlock(test_bomb, test_bomb.getUnlocalizedName()); + GameRegistry.registerBlock(test_bomb_advanced, test_bomb_advanced.getUnlocalizedName()); + + GameRegistry.registerBlock(test_nuke, test_nuke.getUnlocalizedName()); + + GameRegistry.registerBlock(event_tester, event_tester.getUnlocalizedName()); + GameRegistry.registerBlock(rotation_tester, rotation_tester.getUnlocalizedName()); + GameRegistry.registerBlock(obj_tester, obj_tester.getUnlocalizedName()); + GameRegistry.registerBlock(test_ticker, test_ticker.getUnlocalizedName()); + GameRegistry.registerBlock(test_missile, test_missile.getUnlocalizedName()); + + //Ores + GameRegistry.registerBlock(ore_uranium, ore_uranium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_titanium, ore_titanium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_sulfur, ore_sulfur.getUnlocalizedName()); + GameRegistry.registerBlock(ore_niter, ore_niter.getUnlocalizedName()); + GameRegistry.registerBlock(ore_copper, ore_copper.getUnlocalizedName()); + GameRegistry.registerBlock(ore_tungsten, ore_tungsten.getUnlocalizedName()); + GameRegistry.registerBlock(ore_aluminium, ore_aluminium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_fluorite, ore_fluorite.getUnlocalizedName()); + GameRegistry.registerBlock(ore_beryllium, ore_beryllium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_lead, ore_lead.getUnlocalizedName()); + GameRegistry.registerBlock(ore_schrabidium, ItemSchrabidiumBlock.class, ore_schrabidium.getUnlocalizedName()); + + //Rare Minerals + GameRegistry.registerBlock(ore_australium, ItemOreBlock.class, ore_australium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_weidanium, ItemOreBlock.class, ore_weidanium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_reiium, ItemOreBlock.class, ore_reiium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_unobtainium, ItemOreBlock.class, ore_unobtainium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_daffergon, ItemOreBlock.class, ore_daffergon.getUnlocalizedName()); + GameRegistry.registerBlock(ore_verticium, ItemOreBlock.class, ore_verticium.getUnlocalizedName()); + + //Nether Ores + GameRegistry.registerBlock(ore_nether_uranium, ore_nether_uranium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_nether_plutonium, ore_nether_plutonium.getUnlocalizedName()); + GameRegistry.registerBlock(ore_nether_tungsten, ore_nether_tungsten.getUnlocalizedName()); + GameRegistry.registerBlock(ore_nether_sulfur, ore_nether_sulfur.getUnlocalizedName()); + GameRegistry.registerBlock(ore_nether_fire, ore_nether_fire.getUnlocalizedName()); + GameRegistry.registerBlock(ore_nether_schrabidium, ItemSchrabidiumBlock.class, ore_nether_schrabidium.getUnlocalizedName()); + + //Blocks + GameRegistry.registerBlock(block_uranium, block_uranium.getUnlocalizedName()); + GameRegistry.registerBlock(block_titanium, block_titanium.getUnlocalizedName()); + GameRegistry.registerBlock(block_sulfur, block_sulfur.getUnlocalizedName()); + GameRegistry.registerBlock(block_niter, block_niter.getUnlocalizedName()); + GameRegistry.registerBlock(block_copper, block_copper.getUnlocalizedName()); + GameRegistry.registerBlock(block_red_copper, block_red_copper.getUnlocalizedName()); + GameRegistry.registerBlock(block_advanced_alloy, block_advanced_alloy.getUnlocalizedName()); + GameRegistry.registerBlock(block_tungsten, block_tungsten.getUnlocalizedName()); + GameRegistry.registerBlock(block_aluminium, block_aluminium.getUnlocalizedName()); + GameRegistry.registerBlock(block_fluorite, block_fluorite.getUnlocalizedName()); + GameRegistry.registerBlock(block_beryllium, block_beryllium.getUnlocalizedName()); + GameRegistry.registerBlock(block_steel, block_steel.getUnlocalizedName()); + GameRegistry.registerBlock(block_lead, block_lead.getUnlocalizedName()); + GameRegistry.registerBlock(block_scrap, block_scrap.getUnlocalizedName()); + GameRegistry.registerBlock(block_electrical_scrap, block_electrical_scrap.getUnlocalizedName()); + GameRegistry.registerBlock(block_trinitite, block_trinitite.getUnlocalizedName()); + GameRegistry.registerBlock(block_waste, block_waste.getUnlocalizedName()); + GameRegistry.registerBlock(block_schrabidium, ItemSchrabidiumBlock.class, block_schrabidium.getUnlocalizedName()); + GameRegistry.registerBlock(block_magnetized_tungsten, block_magnetized_tungsten.getUnlocalizedName()); + GameRegistry.registerBlock(block_combine_steel, block_combine_steel.getUnlocalizedName()); + GameRegistry.registerBlock(block_australium, ItemOreBlock.class, block_australium.getUnlocalizedName()); + GameRegistry.registerBlock(block_weidanium, ItemOreBlock.class, block_weidanium.getUnlocalizedName()); + GameRegistry.registerBlock(block_reiium, ItemOreBlock.class, block_reiium.getUnlocalizedName()); + GameRegistry.registerBlock(block_unobtainium, ItemOreBlock.class, block_unobtainium.getUnlocalizedName()); + GameRegistry.registerBlock(block_daffergon, ItemOreBlock.class, block_daffergon.getUnlocalizedName()); + GameRegistry.registerBlock(block_verticium, ItemOreBlock.class, block_verticium.getUnlocalizedName()); + + //Gravel + GameRegistry.registerBlock(gravel_obsidian, gravel_obsidian.getUnlocalizedName()); + + //Reinforced Blocks + GameRegistry.registerBlock(reinforced_brick, reinforced_brick.getUnlocalizedName()); + GameRegistry.registerBlock(reinforced_glass, reinforced_glass.getUnlocalizedName()); + GameRegistry.registerBlock(reinforced_light, reinforced_light.getUnlocalizedName()); + GameRegistry.registerBlock(reinforced_sand, reinforced_sand.getUnlocalizedName()); + GameRegistry.registerBlock(reinforced_lamp_off, reinforced_lamp_off.getUnlocalizedName()); + GameRegistry.registerBlock(reinforced_lamp_on, reinforced_lamp_on.getUnlocalizedName()); + + //Bricks + GameRegistry.registerBlock(brick_concrete, brick_concrete.getUnlocalizedName()); + GameRegistry.registerBlock(brick_obsidian, brick_obsidian.getUnlocalizedName()); + GameRegistry.registerBlock(brick_light, brick_light.getUnlocalizedName()); + + //CMB Building Elements + GameRegistry.registerBlock(cmb_brick, cmb_brick.getUnlocalizedName()); + GameRegistry.registerBlock(cmb_brick_reinforced, cmb_brick_reinforced.getUnlocalizedName()); + + //Decoration Blocks + GameRegistry.registerBlock(block_meteor, block_meteor.getUnlocalizedName()); + GameRegistry.registerBlock(tape_recorder, tape_recorder.getUnlocalizedName()); + GameRegistry.registerBlock(steel_poles, steel_poles.getUnlocalizedName()); + GameRegistry.registerBlock(pole_top, pole_top.getUnlocalizedName()); + GameRegistry.registerBlock(pole_satellite_receiver, pole_satellite_receiver.getUnlocalizedName()); + GameRegistry.registerBlock(steel_wall, steel_wall.getUnlocalizedName()); + GameRegistry.registerBlock(steel_corner, steel_corner.getUnlocalizedName()); + GameRegistry.registerBlock(steel_roof, steel_roof.getUnlocalizedName()); + GameRegistry.registerBlock(steel_beam, steel_beam.getUnlocalizedName()); + GameRegistry.registerBlock(steel_scaffold, steel_scaffold.getUnlocalizedName()); + GameRegistry.registerBlock(mush, mush.getUnlocalizedName()); + GameRegistry.registerBlock(mush_block, mush_block.getUnlocalizedName()); + GameRegistry.registerBlock(mush_block_stem, mush_block_stem.getUnlocalizedName()); + + //Nuclear Waste + GameRegistry.registerBlock(waste_earth, waste_earth.getUnlocalizedName()); + GameRegistry.registerBlock(waste_mycelium, waste_mycelium.getUnlocalizedName()); + GameRegistry.registerBlock(waste_trinitite, waste_trinitite.getUnlocalizedName()); + GameRegistry.registerBlock(waste_trinitite_red, waste_trinitite_red.getUnlocalizedName()); + GameRegistry.registerBlock(waste_log, waste_log.getUnlocalizedName()); + GameRegistry.registerBlock(waste_planks, waste_planks.getUnlocalizedName()); + GameRegistry.registerBlock(frozen_grass, frozen_grass.getUnlocalizedName()); + GameRegistry.registerBlock(frozen_dirt, frozen_dirt.getUnlocalizedName()); + GameRegistry.registerBlock(frozen_log, frozen_log.getUnlocalizedName()); + GameRegistry.registerBlock(frozen_planks, frozen_planks.getUnlocalizedName()); + + //Nukes + GameRegistry.registerBlock(nuke_gadget, nuke_gadget.getUnlocalizedName()); + GameRegistry.registerBlock(nuke_boy, nuke_boy.getUnlocalizedName()); + GameRegistry.registerBlock(nuke_man, nuke_man.getUnlocalizedName()); + GameRegistry.registerBlock(nuke_mike, nuke_mike.getUnlocalizedName()); + GameRegistry.registerBlock(nuke_tsar, nuke_tsar.getUnlocalizedName()); + GameRegistry.registerBlock(nuke_prototype, ItemPrototypeBlock.class, nuke_prototype.getUnlocalizedName()); + GameRegistry.registerBlock(nuke_fleija, nuke_fleija.getUnlocalizedName()); + GameRegistry.registerBlock(nuke_custom, nuke_custom.getUnlocalizedName()); + + //Generic Bombs + GameRegistry.registerBlock(bomb_multi, bomb_multi.getUnlocalizedName()); + GameRegistry.registerBlock(crashed_balefire, crashed_balefire.getUnlocalizedName()); + //GameRegistry.registerBlock(bomb_multi_large, bomb_multi_large.getUnlocalizedName()); + + //Block Bombs + GameRegistry.registerBlock(flame_war, flame_war.getUnlocalizedName()); + GameRegistry.registerBlock(float_bomb, float_bomb.getUnlocalizedName()); + GameRegistry.registerBlock(therm_endo, therm_endo.getUnlocalizedName()); + GameRegistry.registerBlock(therm_exo, therm_exo.getUnlocalizedName()); + GameRegistry.registerBlock(det_cord, det_cord.getUnlocalizedName()); + GameRegistry.registerBlock(det_charge, det_charge.getUnlocalizedName()); + GameRegistry.registerBlock(red_barrel, red_barrel.getUnlocalizedName()); + GameRegistry.registerBlock(yellow_barrel, yellow_barrel.getUnlocalizedName()); + + //Silo Hatch + GameRegistry.registerBlock(seal_frame, seal_frame.getUnlocalizedName()); + GameRegistry.registerBlock(seal_controller, seal_controller.getUnlocalizedName()); + GameRegistry.registerBlock(seal_hatch, seal_hatch.getUnlocalizedName()); + + //Machines + GameRegistry.registerBlock(machine_difurnace_off, machine_difurnace_off.getUnlocalizedName()); + GameRegistry.registerBlock(machine_difurnace_on, machine_difurnace_on.getUnlocalizedName()); + GameRegistry.registerBlock(machine_centrifuge, machine_centrifuge.getUnlocalizedName()); + GameRegistry.registerBlock(machine_uf6_tank, machine_uf6_tank.getUnlocalizedName()); + GameRegistry.registerBlock(machine_puf6_tank, machine_puf6_tank.getUnlocalizedName()); + GameRegistry.registerBlock(machine_reactor, machine_reactor.getUnlocalizedName()); + GameRegistry.registerBlock(machine_nuke_furnace_off, machine_nuke_furnace_off.getUnlocalizedName()); + GameRegistry.registerBlock(machine_nuke_furnace_on, machine_nuke_furnace_on.getUnlocalizedName()); + GameRegistry.registerBlock(machine_rtg_furnace_off, machine_rtg_furnace_off.getUnlocalizedName()); + GameRegistry.registerBlock(machine_rtg_furnace_on, machine_rtg_furnace_on.getUnlocalizedName()); + GameRegistry.registerBlock(machine_coal_off, machine_coal_off.getUnlocalizedName()); + GameRegistry.registerBlock(machine_coal_on, machine_coal_on.getUnlocalizedName()); + GameRegistry.registerBlock(machine_diesel, machine_diesel.getUnlocalizedName()); + GameRegistry.registerBlock(machine_generator, machine_generator.getUnlocalizedName()); + GameRegistry.registerBlock(machine_industrial_generator, machine_industrial_generator.getUnlocalizedName()); + GameRegistry.registerBlock(machine_rtg_grey, machine_rtg_grey.getUnlocalizedName()); + //GameRegistry.registerBlock(machine_rtg_red, machine_rtg_red.getUnlocalizedName()); + //GameRegistry.registerBlock(machine_rtg_orange, machine_rtg_orange.getUnlocalizedName()); + //GameRegistry.registerBlock(machine_rtg_yellow, machine_rtg_yellow.getUnlocalizedName()); + //GameRegistry.registerBlock(machine_rtg_green, machine_rtg_green.getUnlocalizedName()); + GameRegistry.registerBlock(machine_rtg_cyan, machine_rtg_cyan.getUnlocalizedName()); + //GameRegistry.registerBlock(machine_rtg_blue, machine_rtg_blue.getUnlocalizedName()); + //GameRegistry.registerBlock(machine_rtg_purple, machine_rtg_purple.getUnlocalizedName()); + GameRegistry.registerBlock(red_cable, red_cable.getUnlocalizedName()); + GameRegistry.registerBlock(red_wire_coated, red_wire_coated.getUnlocalizedName()); + GameRegistry.registerBlock(machine_battery, machine_battery.getUnlocalizedName()); + GameRegistry.registerBlock(machine_converter_he_rf, machine_converter_he_rf.getUnlocalizedName()); + GameRegistry.registerBlock(machine_converter_rf_he, machine_converter_rf_he.getUnlocalizedName()); + GameRegistry.registerBlock(machine_electric_furnace_off, machine_electric_furnace_off.getUnlocalizedName()); + GameRegistry.registerBlock(machine_electric_furnace_on, machine_electric_furnace_on.getUnlocalizedName()); + GameRegistry.registerBlock(machine_shredder, machine_shredder.getUnlocalizedName()); + GameRegistry.registerBlock(machine_deuterium, machine_deuterium.getUnlocalizedName()); + GameRegistry.registerBlock(machine_schrabidium_transmutator, machine_schrabidium_transmutator.getUnlocalizedName()); + GameRegistry.registerBlock(machine_combine_factory, machine_combine_factory.getUnlocalizedName()); + GameRegistry.registerBlock(machine_teleporter, machine_teleporter.getUnlocalizedName()); + + //ReiX Machines + GameRegistry.registerBlock(machine_reix_mainframe, machine_reix_mainframe.getUnlocalizedName()); + + //Industrial Factories + GameRegistry.registerBlock(factory_titanium_hull, factory_titanium_hull.getUnlocalizedName()); + GameRegistry.registerBlock(factory_titanium_furnace, factory_titanium_furnace.getUnlocalizedName()); + GameRegistry.registerBlock(factory_titanium_conductor, factory_titanium_conductor.getUnlocalizedName()); + GameRegistry.registerBlock(factory_titanium_core, factory_titanium_core.getUnlocalizedName()); + GameRegistry.registerBlock(factory_advanced_hull, factory_advanced_hull.getUnlocalizedName()); + GameRegistry.registerBlock(factory_advanced_furnace, factory_advanced_furnace.getUnlocalizedName()); + GameRegistry.registerBlock(factory_advanced_conductor, factory_advanced_conductor.getUnlocalizedName()); + GameRegistry.registerBlock(factory_advanced_core, factory_advanced_core.getUnlocalizedName()); + + //Multiblock Generators + GameRegistry.registerBlock(reactor_element, reactor_element.getUnlocalizedName()); + GameRegistry.registerBlock(reactor_control, reactor_control.getUnlocalizedName()); + GameRegistry.registerBlock(reactor_hatch, reactor_hatch.getUnlocalizedName()); + GameRegistry.registerBlock(reactor_conductor, reactor_conductor.getUnlocalizedName()); + GameRegistry.registerBlock(reactor_computer, reactor_computer.getUnlocalizedName()); + + GameRegistry.registerBlock(fusion_conductor, fusion_conductor.getUnlocalizedName()); + GameRegistry.registerBlock(fusion_center, fusion_center.getUnlocalizedName()); + GameRegistry.registerBlock(fusion_motor, fusion_motor.getUnlocalizedName()); + GameRegistry.registerBlock(fusion_heater, fusion_heater.getUnlocalizedName()); + GameRegistry.registerBlock(fusion_hatch, fusion_hatch.getUnlocalizedName()); + GameRegistry.registerBlock(fusion_core, fusion_core.getUnlocalizedName()); + GameRegistry.registerBlock(plasma, ItemPlasmaBlock.class, plasma.getUnlocalizedName()); + + GameRegistry.registerBlock(watz_element, watz_element.getUnlocalizedName()); + GameRegistry.registerBlock(watz_control, watz_control.getUnlocalizedName()); + GameRegistry.registerBlock(watz_cooler, watz_cooler.getUnlocalizedName()); + GameRegistry.registerBlock(watz_end, watz_end.getUnlocalizedName()); + GameRegistry.registerBlock(watz_hatch, watz_hatch.getUnlocalizedName()); + GameRegistry.registerBlock(watz_conductor, watz_conductor.getUnlocalizedName()); + GameRegistry.registerBlock(watz_core, watz_core.getUnlocalizedName()); + + GameRegistry.registerBlock(fwatz_conductor, fwatz_conductor.getUnlocalizedName()); + GameRegistry.registerBlock(fwatz_scaffold, fwatz_scaffold.getUnlocalizedName()); + GameRegistry.registerBlock(fwatz_hatch, fwatz_hatch.getUnlocalizedName()); + GameRegistry.registerBlock(fwatz_computer, fwatz_computer.getUnlocalizedName()); + GameRegistry.registerBlock(fwatz_core, fwatz_core.getUnlocalizedName()); + GameRegistry.registerBlock(fwatz_cooler, fwatz_cooler.getUnlocalizedName()); + GameRegistry.registerBlock(fwatz_tank, fwatz_tank.getUnlocalizedName()); + GameRegistry.registerBlock(fwatz_plasma, fwatz_plasma.getUnlocalizedName()); + + //Launch Pads + GameRegistry.registerBlock(launch_pad, launch_pad.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_generic, launch_pad_generic.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_incendiary, launch_pad_incendiary.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_cluster, launch_pad_cluster.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_buster, launch_pad_buster.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_strong, launch_pad_strong.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_incendiary_strong, launch_pad_incendiary_strong.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_cluster_strong, launch_pad_cluster_strong.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_buster_strong, launch_pad_buster_strong.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_burst, launch_pad_burst.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_inferno, launch_pad_inferno.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_rain, launch_pad_rain.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_drill, launch_pad_drill.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_nuclear, launch_pad_nuclear.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_endo, launch_pad_endo.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_exo, launch_pad_exo.getUnlocalizedName()); + GameRegistry.registerBlock(launch_pad_mirv, launch_pad_mirv.getUnlocalizedName()); + + //Guide + GameRegistry.registerBlock(book_guide, book_guide.getUnlocalizedName()); + + //Rails + GameRegistry.registerBlock(rail_highspeed, rail_highspeed.getUnlocalizedName()); + GameRegistry.registerBlock(rail_booster, rail_booster.getUnlocalizedName()); + + //Crate + GameRegistry.registerBlock(crate, crate.getUnlocalizedName()); + + //ElB + GameRegistry.registerBlock(statue_elb, statue_elb.getUnlocalizedName()); + GameRegistry.registerBlock(statue_elb_g, statue_elb_g.getUnlocalizedName()); + GameRegistry.registerBlock(statue_elb_w, statue_elb_w.getUnlocalizedName()); + GameRegistry.registerBlock(statue_elb_f, statue_elb_f.getUnlocalizedName()); + + //Fluids + GameRegistry.registerBlock(mud_block, mud_block.getUnlocalizedName()); + GameRegistry.registerBlock(acid_block, acid_block.getUnlocalizedName()); + GameRegistry.registerBlock(toxic_block, toxic_block.getUnlocalizedName()); + + //Multiblock Dummy Blocks + GameRegistry.registerBlock(dummy_block_igenerator, dummy_block_igenerator.getUnlocalizedName()); + GameRegistry.registerBlock(dummy_port_igenerator, dummy_port_igenerator.getUnlocalizedName()); + GameRegistry.registerBlock(dummy_block_centrifuge, dummy_block_centrifuge.getUnlocalizedName()); + + //??? + GameRegistry.registerBlock(crystal_virus, crystal_virus.getUnlocalizedName()); + GameRegistry.registerBlock(crystal_hardened, crystal_hardened.getUnlocalizedName()); + GameRegistry.registerBlock(cheater_virus, cheater_virus.getUnlocalizedName()); + GameRegistry.registerBlock(cheater_virus_seed, cheater_virus_seed.getUnlocalizedName()); + } +} diff --git a/com/hbm/blocks/NukeGadget.java b/com/hbm/blocks/NukeGadget.java deleted file mode 100644 index a5cb8676f..000000000 --- a/com/hbm/blocks/NukeGadget.java +++ /dev/null @@ -1,489 +0,0 @@ -package com.hbm.blocks; - -import java.util.HashMap; -import java.util.Map; -import java.util.Random; - -<<<<<<< HEAD -import com.hbm.entity.effect.EntityNukeCloudNoShroom; -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -======= -import com.hbm.entity.EntityNukeCloudNoShroom; -import com.hbm.entity.EntityNukeCloudSmall; -import com.hbm.entity.EntityNukeExplosionAdvanced; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.interfaces.IBomb; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityNukeGadget; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class NukeGadget extends BlockContainer implements IBomb { - - public TileEntityNukeGadget tetn = new TileEntityNukeGadget(); - - private final Random field_149933_a = new Random(); - private static boolean keepInventory = false; - private Map field_77288_k = new HashMap(); - private boolean isExploding = false; - - protected NukeGadget(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityNukeGadget(); - - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.nuke_gadget); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityNukeGadget tileentityfurnace = (TileEntityNukeGadget)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityNukeGadget entity = (TileEntityNukeGadget) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_gadget, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityNukeGadget entity = (TileEntityNukeGadget) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z); - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z) - { - if (!world.isRemote) { - /* - dealDamage(world,x,y,z, 30); - detonateTestBomb(world,x,y,z, 30); - vapor(world,x,y,z, 30); - dealDamage(world,x,y,z, 60); - detonateTestBomb(world,x,y,z, 60); - vapor(world,x,y,z, 60); - dealDamage(world,x,y,z, 90); - detonateTestBomb(world,x,y,z, 90); - vapor(world,x,y,z, 90); - dealDamage(world,x,y,z, 120); - detonateTestBomb(world,x,y,z, 120); - vapor(world,x,y,z, 120); - */ - tetn.clearSlots(); - //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns a huge explosion particle - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); //x,y,z,sound,volume,pitch - /*ExplosionNukeGeneric.detonateTestBomb(world, x, y, z, 150); - ExplosionNukeGeneric.vapor(world, x, y, z, 170); - ExplosionNukeGeneric.waste(world, x, y, z, 225); - ExplosionNukeGeneric.dealDamage(world, x, y, z, 170);*/ - - /*EntityNukeExplosion entity = new EntityNukeExplosion(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = 150; - entity.vaporRange = 200; - entity.wasteRange = 225; - entity.damageRange = 170; - - world.spawnEntityInWorld(entity);*/ - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = MainRegistry.gadgetRadius; - entity.speed = 25; - entity.coefficient = 10.0F; - - world.spawnEntityInWorld(entity); - - //ExplosionNukeAdvanced.mush(world, x, y, z); - - if (MainRegistry.enableNukeClouds) { - EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); - entity2.posX = x; - entity2.posY = y - 15; - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } else { - EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); - entity2.posX = x; - entity2.posY = y - 15; - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } - } - - return false; - } - - /*public void detonateTestBomb(World world, int x, int y, int z, int bombStartStrength) - { - //Rodol's awesome destruction code - int r = bombStartStrength; //radius of explosion (change this to bigger numbers for more epicness) - int r2 = r*r; //radius^2, for faster distance checks. (No sqrt needed for pythagoras) - int r22 = r2/2; //half of r^2, calculations outside the loop only get called once. Always pull out as many things from the loop as possible. - for (int xx = -r; xx < r; xx++) - { - int X = xx+x; //x coordinate we are working on - int XX = xx*xx; //more stuff for a faster distance check - for (int yy = -r; yy < r; yy++) - { - int Y = yy+y; //y coord - int YY = XX+yy*yy; - for (int zz = -r; zz < r; zz++) - { - int Z = zz+z; //z coord - int ZZ = YY+zz*zz; //final= x*x+y*y+z*z. remind you of anything? - if (ZZ= y) destruction(world, X, Y, Z); //destroy the block if its within the radius ...and if it's not bedrock :D - } //you can change the if statement to if (ZZ>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.interfaces.IBomb; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityNukeMike; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class NukeMike extends BlockContainer implements IBomb { - - public TileEntityNukeMike tetn = new TileEntityNukeMike(); - - private final Random field_149933_a = new Random(); - private static boolean keepInventory = false; - private Map field_77288_k = new HashMap(); - - protected NukeMike(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityNukeMike(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.nuke_mike); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityNukeMike tileentityfurnace = (TileEntityNukeMike)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityNukeMike entity = (TileEntityNukeMike) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_mike, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityNukeMike entity = (TileEntityNukeMike) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady() && !entity.isFilled()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.manRadius); - } - - if(entity.isFilled()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.mikeRadius); - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z, int r) - { - if (!world.isRemote) - { - tetn.clearSlots(); - //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = r; - entity.speed = 25; - entity.coefficient = 10.0F; - - world.spawnEntityInWorld(entity); - - - if (MainRegistry.enableNukeClouds) { - if (r < 200) { - EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); - entity2.posX = x; - entity2.posY = y - (r / 10); - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } else { - EntityNukeCloudBig entity2 = new EntityNukeCloudBig(world, 1000); - entity2.posX = x; - entity2.posY = y - (r / 10); - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } - } else { - EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); - entity2.posX = x; - entity2.posY = y - (r / 10); - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } - - //ExplosionNukeAdvanced.mush(world, x, y, z); - } - - return false; - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - } - - public void explode(World world, int x, int y, int z) { - TileEntityNukeMike entity = (TileEntityNukeMike) world.getTileEntity(x, y, z); - //if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady() && !entity.isFilled()) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - entity.clearSlots(); - world.setBlockToAir(x, y, z); - igniteTestBomb(world, x, y, z, MainRegistry.manRadius); - } - - if(entity.isFilled()) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - entity.clearSlots(); - world.setBlockToAir(x, y, z); - igniteTestBomb(world, x, y, z, MainRegistry.mikeRadius); - } - } - } - -} diff --git a/com/hbm/blocks/BlockCrashedBomb.java b/com/hbm/blocks/bomb/BlockCrashedBomb.java similarity index 92% rename from com/hbm/blocks/BlockCrashedBomb.java rename to com/hbm/blocks/bomb/BlockCrashedBomb.java index a88053281..c4ffd9867 100644 --- a/com/hbm/blocks/BlockCrashedBomb.java +++ b/com/hbm/blocks/bomb/BlockCrashedBomb.java @@ -1,97 +1,98 @@ -package com.hbm.blocks; - -import java.util.HashMap; -import java.util.Map; -import java.util.Random; - -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.explosion.ExplosionParticleB; -import com.hbm.interfaces.IBomb; -import com.hbm.items.ModItems; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityCrashedBomb; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class BlockCrashedBomb extends BlockContainer implements IBomb { - - protected BlockCrashedBomb(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityCrashedBomb(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.crashed_balefire); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - } - - public void explode(World world, int x, int y, int z) { - if (!world.isRemote) - { - EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(world); - entity0.posX = x; - entity0.posY = y; - entity0.posZ = z; - entity0.destructionRange = MainRegistry.fatmanRadius; - entity0.speed = 25; - entity0.coefficient = 10.0F; - - world.spawnEntityInWorld(entity0); - ExplosionParticleB.spawnMush(world, x, y - 3, z); - } - } -} +package com.hbm.blocks.bomb; + +import java.util.HashMap; +import java.util.Map; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionParticleB; +import com.hbm.interfaces.IBomb; +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityCrashedBomb; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class BlockCrashedBomb extends BlockContainer implements IBomb { + + public BlockCrashedBomb(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityCrashedBomb(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.crashed_balefire); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + public void explode(World world, int x, int y, int z) { + if (!world.isRemote) + { + EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(world); + entity0.posX = x; + entity0.posY = y; + entity0.posZ = z; + entity0.destructionRange = MainRegistry.fatmanRadius; + entity0.speed = 25; + entity0.coefficient = 10.0F; + + world.spawnEntityInWorld(entity0); + ExplosionParticleB.spawnMush(world, x, y - 3, z); + } + } +} diff --git a/com/hbm/blocks/BombFlameWar.java b/com/hbm/blocks/bomb/BombFlameWar.java similarity index 89% rename from com/hbm/blocks/BombFlameWar.java rename to com/hbm/blocks/bomb/BombFlameWar.java index a42f6a8b1..81df2e37b 100644 --- a/com/hbm/blocks/BombFlameWar.java +++ b/com/hbm/blocks/bomb/BombFlameWar.java @@ -1,37 +1,37 @@ -package com.hbm.blocks; - -import com.hbm.explosion.ExplosionChaos; -import com.hbm.interfaces.IBomb; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class BombFlameWar extends Block implements IBomb { - - public World worldObj; - - protected BombFlameWar(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - this.worldObj = p_149695_1_; - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - ExplosionChaos.explode(p_149695_1_, x, y, z, 15); - ExplosionChaos.spawnExplosion(p_149695_1_, x, y, z, 75); - ExplosionChaos.flameDeath(p_149695_1_, x, y, z, 100); - } - } - - public void explode(World world, int x, int y, int z) { - ExplosionChaos.explode(world, x, y, z, 15); - ExplosionChaos.spawnExplosion(world, x, y, z, 75); - ExplosionChaos.flameDeath(world, x, y, z, 100); - } - -} +package com.hbm.blocks.bomb; + +import com.hbm.explosion.ExplosionChaos; +import com.hbm.interfaces.IBomb; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class BombFlameWar extends Block implements IBomb { + + public World worldObj; + + public BombFlameWar(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + this.worldObj = p_149695_1_; + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + ExplosionChaos.explode(p_149695_1_, x, y, z, 15); + ExplosionChaos.spawnExplosion(p_149695_1_, x, y, z, 75); + ExplosionChaos.flameDeath(p_149695_1_, x, y, z, 100); + } + } + + public void explode(World world, int x, int y, int z) { + ExplosionChaos.explode(world, x, y, z, 15); + ExplosionChaos.spawnExplosion(world, x, y, z, 75); + ExplosionChaos.flameDeath(world, x, y, z, 100); + } + +} diff --git a/com/hbm/blocks/BombFloat.java b/com/hbm/blocks/bomb/BombFloat.java similarity index 92% rename from com/hbm/blocks/BombFloat.java rename to com/hbm/blocks/bomb/BombFloat.java index 4541e5907..78d76ea94 100644 --- a/com/hbm/blocks/BombFloat.java +++ b/com/hbm/blocks/bomb/BombFloat.java @@ -1,59 +1,59 @@ -package com.hbm.blocks; - -import com.hbm.explosion.ExplosionChaos; -import com.hbm.explosion.ExplosionThermo; -import com.hbm.interfaces.IBomb; -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.init.Blocks; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class BombFloat extends Block implements IBomb { - - public World worldObj; - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - - protected BombFloat(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":bomb_float_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":bomb_float"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - this.worldObj = p_149695_1_; - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - p_149695_1_.setBlock(x, y, z, Blocks.air); - ExplosionChaos.floater(p_149695_1_, x, y, z, 15, 50); - ExplosionChaos.move(p_149695_1_, x, y, z, 15, 0, 50, 0); - } - } - - public void explode(World world, int x, int y, int z) { - world.setBlock(x, y, z, Blocks.air); - ExplosionChaos.floater(world, x, y, z, 15, 50); - ExplosionChaos.move(world, x, y, z, 15, 0, 50, 0); - } - -} +package com.hbm.blocks.bomb; + +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionThermo; +import com.hbm.interfaces.IBomb; +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.init.Blocks; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class BombFloat extends Block implements IBomb { + + public World worldObj; + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + public BombFloat(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":bomb_float_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":bomb_float"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + this.worldObj = p_149695_1_; + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + p_149695_1_.setBlock(x, y, z, Blocks.air); + ExplosionChaos.floater(p_149695_1_, x, y, z, 15, 50); + ExplosionChaos.move(p_149695_1_, x, y, z, 15, 0, 50, 0); + } + } + + public void explode(World world, int x, int y, int z) { + world.setBlock(x, y, z, Blocks.air); + ExplosionChaos.floater(world, x, y, z, 15, 50); + ExplosionChaos.move(world, x, y, z, 15, 0, 50, 0); + } + +} diff --git a/com/hbm/blocks/BombMulti.java b/com/hbm/blocks/bomb/BombMulti.java similarity index 95% rename from com/hbm/blocks/BombMulti.java rename to com/hbm/blocks/bomb/BombMulti.java index bd46d4b4c..ea73e5f5d 100644 --- a/com/hbm/blocks/BombMulti.java +++ b/com/hbm/blocks/bomb/BombMulti.java @@ -1,329 +1,330 @@ -package com.hbm.blocks; - -import java.util.HashMap; -import java.util.Map; -import java.util.Random; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; - -import com.hbm.explosion.ExplosionChaos; -import com.hbm.explosion.ExplosionNukeGeneric; -import com.hbm.interfaces.IBomb; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityBombMulti; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; - -public class BombMulti extends BlockContainer implements IBomb { - - public TileEntityBombMulti tetn = new TileEntityBombMulti(); - - public final float explosionBaseValue = 8.0F; - public float explosionValue = 0.0F; - public int clusterCount = 0; - public int fireRadius = 0; - public int poisonRadius = 0; - public int gasCloud = 0; - - private final Random field_149933_a = new Random(); - private static boolean keepInventory = false; - private Map field_77288_k = new HashMap(); - - protected BombMulti(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityBombMulti(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.bomb_multi); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityBombMulti tileentityfurnace = (TileEntityBombMulti)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityBombMulti entity = (TileEntityBombMulti) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_bomb_multi, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityBombMulti entity = (TileEntityBombMulti) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(/*entity.getExplosionType() != 0*/entity.isLoaded()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - igniteTestBomb(p_149695_1_, x, y, z); - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z) - { - TileEntityBombMulti entity = (TileEntityBombMulti) world.getTileEntity(x, y, z); - if (!world.isRemote) - { - //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); - //world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); - - /*switch(entity.getExplosionType()) - { - case 1: - entity.clearSlots(); - world.setBlockToAir(x, y, z); - world.createExplosion(null, x , y , z , 18.0F, true); - break; - case 2: - entity.clearSlots(); - world.setBlockToAir(x, y, z); - world.createExplosion(null, x , y , z , 34.0F, true); - break; - case 3: - entity.clearSlots(); - world.setBlockToAir(x, y, z); - world.createExplosion(null, x , y , z , 8.0F, true); - ExplosionChaos.cluster(world, x, y, z, 100, 1); - break; - case 4: - entity.clearSlots(); - world.setBlockToAir(x, y, z); - world.createExplosion(null, x , y , z , 3.0F, true); - ExplosionChaos.burn(world, x, y, z, 20); - break; - case 5: - entity.clearSlots(); - world.setBlockToAir(x, y, z); - world.createExplosion(null, x , y , z , 3.0F, true); - ExplosionNukeGeneric.waste(world, x, y, z, 30); - break; - case 6: - entity.clearSlots(); - world.setBlockToAir(x, y, z); - world.createExplosion(null, x , y , z , 3.0F, true); - ExplosionChaos.poison(world, x, y, z, 25); - break; - }*/ - if(entity.isLoaded()) - { - this.explosionValue = this.explosionBaseValue; - switch(entity.return2type()) - { - case 1: - this.explosionValue += 1.0F; - break; - case 2: - this.explosionValue += 4.0F; - break; - case 3: - this.clusterCount += 50; - break; - case 4: - this.fireRadius += 10; - break; - case 5: - this.poisonRadius += 15; - break; - case 6: - this.gasCloud += 15; - } - switch(entity.return5type()) - { - case 1: - this.explosionValue += 1.0F; - break; - case 2: - this.explosionValue += 4.0F; - break; - case 3: - this.clusterCount += 50; - break; - case 4: - this.fireRadius += 10; - break; - case 5: - this.poisonRadius += 15; - break; - case 6: - this.gasCloud += 15; - } - - entity.clearSlots(); - world.setBlockToAir(x, y, z); - world.createExplosion(null, x , y , z , this.explosionValue, true); - this.explosionValue = 0; - - if(this.clusterCount > 0) - { - ExplosionChaos.cluster(world, x, y, z, this.clusterCount, 1); - } - - if(this.fireRadius > 0) - { - ExplosionChaos.burn(world, x, y, z, this.fireRadius); - } - - if(this.poisonRadius > 0) - { - ExplosionNukeGeneric.wasteNoSchrab(world, x, y, z, this.poisonRadius); - } - - if(this.gasCloud > 0) - { - ExplosionChaos.poison(world, x, y, z, this.gasCloud); - } - - this.clusterCount = 0; - this.fireRadius = 0; - this.poisonRadius = 0; - this.gasCloud = 0; - - - } - } - return false; - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - } - - @Override - public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) - { - float f = 0.0625F; - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); - } - - public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { - float f = 0.0625F; - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); - return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); - } - - public void explode(World world, int x, int y, int z) { - TileEntityBombMulti entity = (TileEntityBombMulti) world.getTileEntity(x, y, z); - if(/*entity.getExplosionType() != 0*/entity.isLoaded()) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - igniteTestBomb(world, x, y, z); - } - } - +package com.hbm.blocks.bomb; + +import java.util.HashMap; +import java.util.Map; +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +import com.hbm.blocks.ModBlocks; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionNukeGeneric; +import com.hbm.interfaces.IBomb; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityBombMulti; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; + +public class BombMulti extends BlockContainer implements IBomb { + + public TileEntityBombMulti tetn = new TileEntityBombMulti(); + + public final float explosionBaseValue = 8.0F; + public float explosionValue = 0.0F; + public int clusterCount = 0; + public int fireRadius = 0; + public int poisonRadius = 0; + public int gasCloud = 0; + + private final Random field_149933_a = new Random(); + private static boolean keepInventory = false; + private Map field_77288_k = new HashMap(); + + public BombMulti(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityBombMulti(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.bomb_multi); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityBombMulti tileentityfurnace = (TileEntityBombMulti)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityBombMulti entity = (TileEntityBombMulti) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_bomb_multi, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityBombMulti entity = (TileEntityBombMulti) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(/*entity.getExplosionType() != 0*/entity.isLoaded()) + { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + igniteTestBomb(p_149695_1_, x, y, z); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z) + { + TileEntityBombMulti entity = (TileEntityBombMulti) world.getTileEntity(x, y, z); + if (!world.isRemote) + { + //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); + //world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); + + /*switch(entity.getExplosionType()) + { + case 1: + entity.clearSlots(); + world.setBlockToAir(x, y, z); + world.createExplosion(null, x , y , z , 18.0F, true); + break; + case 2: + entity.clearSlots(); + world.setBlockToAir(x, y, z); + world.createExplosion(null, x , y , z , 34.0F, true); + break; + case 3: + entity.clearSlots(); + world.setBlockToAir(x, y, z); + world.createExplosion(null, x , y , z , 8.0F, true); + ExplosionChaos.cluster(world, x, y, z, 100, 1); + break; + case 4: + entity.clearSlots(); + world.setBlockToAir(x, y, z); + world.createExplosion(null, x , y , z , 3.0F, true); + ExplosionChaos.burn(world, x, y, z, 20); + break; + case 5: + entity.clearSlots(); + world.setBlockToAir(x, y, z); + world.createExplosion(null, x , y , z , 3.0F, true); + ExplosionNukeGeneric.waste(world, x, y, z, 30); + break; + case 6: + entity.clearSlots(); + world.setBlockToAir(x, y, z); + world.createExplosion(null, x , y , z , 3.0F, true); + ExplosionChaos.poison(world, x, y, z, 25); + break; + }*/ + if(entity.isLoaded()) + { + this.explosionValue = this.explosionBaseValue; + switch(entity.return2type()) + { + case 1: + this.explosionValue += 1.0F; + break; + case 2: + this.explosionValue += 4.0F; + break; + case 3: + this.clusterCount += 50; + break; + case 4: + this.fireRadius += 10; + break; + case 5: + this.poisonRadius += 15; + break; + case 6: + this.gasCloud += 15; + } + switch(entity.return5type()) + { + case 1: + this.explosionValue += 1.0F; + break; + case 2: + this.explosionValue += 4.0F; + break; + case 3: + this.clusterCount += 50; + break; + case 4: + this.fireRadius += 10; + break; + case 5: + this.poisonRadius += 15; + break; + case 6: + this.gasCloud += 15; + } + + entity.clearSlots(); + world.setBlockToAir(x, y, z); + world.createExplosion(null, x , y , z , this.explosionValue, true); + this.explosionValue = 0; + + if(this.clusterCount > 0) + { + ExplosionChaos.cluster(world, x, y, z, this.clusterCount, 1); + } + + if(this.fireRadius > 0) + { + ExplosionChaos.burn(world, x, y, z, this.fireRadius); + } + + if(this.poisonRadius > 0) + { + ExplosionNukeGeneric.wasteNoSchrab(world, x, y, z, this.poisonRadius); + } + + if(this.gasCloud > 0) + { + ExplosionChaos.poison(world, x, y, z, this.gasCloud); + } + + this.clusterCount = 0; + this.fireRadius = 0; + this.poisonRadius = 0; + this.gasCloud = 0; + + + } + } + return false; + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + @Override + public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) + { + float f = 0.0625F; + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { + float f = 0.0625F; + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); + return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); + } + + public void explode(World world, int x, int y, int z) { + TileEntityBombMulti entity = (TileEntityBombMulti) world.getTileEntity(x, y, z); + if(/*entity.getExplosionType() != 0*/entity.isLoaded()) + { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + igniteTestBomb(world, x, y, z); + } + } + } \ No newline at end of file diff --git a/com/hbm/blocks/BombThermo.java b/com/hbm/blocks/bomb/BombThermo.java similarity index 92% rename from com/hbm/blocks/BombThermo.java rename to com/hbm/blocks/bomb/BombThermo.java index 7875bd0ba..2ae57d8bb 100644 --- a/com/hbm/blocks/BombThermo.java +++ b/com/hbm/blocks/bomb/BombThermo.java @@ -1,93 +1,94 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.explosion.ExplosionThermo; -import com.hbm.interfaces.IBomb; -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class BombThermo extends Block implements IBomb { - - private World worldObj; - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - - protected BombThermo(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":therm_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.therm_exo ? ":therm_exo" : ":therm_endo")); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - if(this == ModBlocks.therm_endo) - { - return Item.getItemFromBlock(ModBlocks.therm_endo); - } - - return Item.getItemFromBlock(ModBlocks.therm_exo); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - this.worldObj = p_149695_1_; - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - p_149695_1_.setBlock(x, y, z, Blocks.air); - if(this == ModBlocks.therm_endo) - { - ExplosionThermo.freeze(p_149695_1_, x, y, z, 15); - ExplosionThermo.freezer(p_149695_1_, x, y, z, 20); - } - - if(this == ModBlocks.therm_exo) - { - ExplosionThermo.scorch(p_149695_1_, x, y, z, 15); - ExplosionThermo.setEntitiesOnFire(p_149695_1_, x, y, z, 20); - } - - p_149695_1_.createExplosion(null, x, y, z, 5.0F, true); - } - } - - public void explode(World world, int x, int y, int z) { - world.setBlock(x, y, z, Blocks.air); - if(this == ModBlocks.therm_endo) - { - ExplosionThermo.freeze(world, x, y, z, 15); - ExplosionThermo.freezer(world, x, y, z, 20); - } - - if(this == ModBlocks.therm_exo) - { - ExplosionThermo.scorch(world, x, y, z, 15); - ExplosionThermo.setEntitiesOnFire(world, x, y, z, 20); - } - - world.createExplosion(null, x, y, z, 5.0F, true); - } -} +package com.hbm.blocks.bomb; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.explosion.ExplosionThermo; +import com.hbm.interfaces.IBomb; +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class BombThermo extends Block implements IBomb { + + private World worldObj; + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + public BombThermo(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":therm_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.therm_exo ? ":therm_exo" : ":therm_endo")); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + if(this == ModBlocks.therm_endo) + { + return Item.getItemFromBlock(ModBlocks.therm_endo); + } + + return Item.getItemFromBlock(ModBlocks.therm_exo); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + this.worldObj = p_149695_1_; + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + p_149695_1_.setBlock(x, y, z, Blocks.air); + if(this == ModBlocks.therm_endo) + { + ExplosionThermo.freeze(p_149695_1_, x, y, z, 15); + ExplosionThermo.freezer(p_149695_1_, x, y, z, 20); + } + + if(this == ModBlocks.therm_exo) + { + ExplosionThermo.scorch(p_149695_1_, x, y, z, 15); + ExplosionThermo.setEntitiesOnFire(p_149695_1_, x, y, z, 20); + } + + p_149695_1_.createExplosion(null, x, y, z, 5.0F, true); + } + } + + public void explode(World world, int x, int y, int z) { + world.setBlock(x, y, z, Blocks.air); + if(this == ModBlocks.therm_endo) + { + ExplosionThermo.freeze(world, x, y, z, 15); + ExplosionThermo.freezer(world, x, y, z, 20); + } + + if(this == ModBlocks.therm_exo) + { + ExplosionThermo.scorch(world, x, y, z, 15); + ExplosionThermo.setEntitiesOnFire(world, x, y, z, 20); + } + + world.createExplosion(null, x, y, z, 5.0F, true); + } +} diff --git a/com/hbm/blocks/bomb/CheaterVirus.java b/com/hbm/blocks/bomb/CheaterVirus.java new file mode 100644 index 000000000..919df8952 --- /dev/null +++ b/com/hbm/blocks/bomb/CheaterVirus.java @@ -0,0 +1,101 @@ +package com.hbm.blocks.bomb; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityCow; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class CheaterVirus extends Block { + + static boolean protect = true; + + public CheaterVirus(Material p_i45394_1_) { + super(p_i45394_1_); + this.setTickRandomly(true); + } + + @Override + public void breakBlock(World world, int x, int y, int z, Block block, int i) + { + super.breakBlock(world, x, y, z, block, i); + + if(CheaterVirus.protect) + world.setBlock(x, y, z, this, i, 2); + } + + @Override + public void updateTick(World world, int x, int y, int z, Random rand) { + { + if(world.getBlock(x + 1, y, z) != ModBlocks.cheater_virus && world.getBlock(x + 1, y, z) != Blocks.air && world.getBlock(x + 1, y, z) != ModBlocks.cheater_virus) { + world.setBlock(x + 1, y, z, ModBlocks.cheater_virus); + } + + if(world.getBlock(x, y + 1, z) != ModBlocks.cheater_virus && world.getBlock(x, y + 1, z) != Blocks.air && world.getBlock(x, y + 1, z) != ModBlocks.cheater_virus) { + world.setBlock(x, y + 1, z, ModBlocks.cheater_virus); + } + + if(world.getBlock(x, y, z + 1) != ModBlocks.cheater_virus && world.getBlock(x, y, z + 1) != Blocks.air && world.getBlock(x, y, z + 1) != ModBlocks.cheater_virus) { + world.setBlock(x, y, z + 1, ModBlocks.cheater_virus); + } + + if(world.getBlock(x - 1, y, z) != ModBlocks.cheater_virus && world.getBlock(x - 1, y, z) != Blocks.air && world.getBlock(x - 1, y, z) != ModBlocks.cheater_virus) { + world.setBlock(x - 1, y, z, ModBlocks.cheater_virus); + } + + if(world.getBlock(x, y - 1, z) != ModBlocks.cheater_virus && world.getBlock(x, y - 1, z) != Blocks.air && world.getBlock(x, y - 1, z) != ModBlocks.cheater_virus) { + world.setBlock(x, y - 1, z, ModBlocks.cheater_virus); + } + + if(world.getBlock(x, y, z - 1) != ModBlocks.cheater_virus && world.getBlock(x, y, z - 1) != Blocks.air && world.getBlock(x, y, z - 1) != ModBlocks.cheater_virus) { + world.setBlock(x, y, z - 1, ModBlocks.cheater_virus); + } + + protect = false; + world.setBlock(x, y, z, Blocks.air); + protect = true; + } + } + + @Override + public void onNeighborBlockChange(World world, int x, int y, int z, Block block) { + + if((world.getBlock(x + 1, y, z) == Blocks.air || world.getBlock(x + 1, y, z) == ModBlocks.cheater_virus || world.getBlock(x + 1, y, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x - 1, y, z) == Blocks.air || world.getBlock(x - 1, y, z) == ModBlocks.cheater_virus || world.getBlock(x - 1, y, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y + 1, z) == Blocks.air || world.getBlock(x, y + 1, z) == ModBlocks.cheater_virus || world.getBlock(x, y + 1, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y - 1, z) == Blocks.air || world.getBlock(x, y - 1, z) == ModBlocks.cheater_virus || world.getBlock(x, y - 1, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y, z + 1) == Blocks.air || world.getBlock(x, y, z + 1) == ModBlocks.cheater_virus || world.getBlock(x, y, z + 1) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y, z - 1) == Blocks.air || world.getBlock(x, y, z - 1) == ModBlocks.cheater_virus || world.getBlock(x, y, z - 1) == ModBlocks.cheater_virus_seed) && + !world.isRemote) { + protect = false; + world.setBlock(x, y, z, Blocks.air); + ExplosionChaos.spreadVirus(world, x, y, z, 5); + protect = true; + } + } + + @Override + public void onEntityWalking(World p_149724_1_, int p_149724_2_, int p_149724_3_, int p_149724_4_, Entity entity) + { + if(entity instanceof EntityLivingBase) { + ((EntityLivingBase)entity).addPotionEffect(new PotionEffect(Potion.wither.id, 60 * 60 * 60, 9)); + } + } + +} diff --git a/com/hbm/blocks/bomb/CheaterVirusSeed.java b/com/hbm/blocks/bomb/CheaterVirusSeed.java new file mode 100644 index 000000000..7099a4f6f --- /dev/null +++ b/com/hbm/blocks/bomb/CheaterVirusSeed.java @@ -0,0 +1,68 @@ +package com.hbm.blocks.bomb; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class CheaterVirusSeed extends Block { + + public CheaterVirusSeed(Material p_i45394_1_) { + + super(p_i45394_1_); + this.setTickRandomly(true); + } + + @Override + public void breakBlock(World world, int x, int y, int z, Block block, int i) { + + super.breakBlock(world, x, y, z, block, i); + + if((world.getBlock(x + 1, y, z) == Blocks.air || world.getBlock(x + 1, y, z) == ModBlocks.cheater_virus || world.getBlock(x + 1, y, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x - 1, y, z) == Blocks.air || world.getBlock(x - 1, y, z) == ModBlocks.cheater_virus || world.getBlock(x - 1, y, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y + 1, z) == Blocks.air || world.getBlock(x, y + 1, z) == ModBlocks.cheater_virus || world.getBlock(x, y + 1, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y - 1, z) == Blocks.air || world.getBlock(x, y - 1, z) == ModBlocks.cheater_virus || world.getBlock(x, y - 1, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y, z + 1) == Blocks.air || world.getBlock(x, y, z + 1) == ModBlocks.cheater_virus || world.getBlock(x, y, z + 1) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y, z - 1) == Blocks.air || world.getBlock(x, y, z - 1) == ModBlocks.cheater_virus || world.getBlock(x, y, z - 1) == ModBlocks.cheater_virus_seed) && + !world.isRemote) { + world.setBlock(x, y, z, Blocks.air); + } else { + world.setBlock(x, y, z, ModBlocks.cheater_virus); + } + } + + @Override + public void updateTick(World world, int x, int y, int z, Random rand) { + + if((world.getBlock(x + 1, y, z) == Blocks.air || world.getBlock(x + 1, y, z) == ModBlocks.cheater_virus || world.getBlock(x + 1, y, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x - 1, y, z) == Blocks.air || world.getBlock(x - 1, y, z) == ModBlocks.cheater_virus || world.getBlock(x - 1, y, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y + 1, z) == Blocks.air || world.getBlock(x, y + 1, z) == ModBlocks.cheater_virus || world.getBlock(x, y + 1, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y - 1, z) == Blocks.air || world.getBlock(x, y - 1, z) == ModBlocks.cheater_virus || world.getBlock(x, y - 1, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y, z + 1) == Blocks.air || world.getBlock(x, y, z + 1) == ModBlocks.cheater_virus || world.getBlock(x, y, z + 1) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y, z - 1) == Blocks.air || world.getBlock(x, y, z - 1) == ModBlocks.cheater_virus || world.getBlock(x, y, z - 1) == ModBlocks.cheater_virus_seed) && + !world.isRemote) { + world.setBlock(x, y, z, Blocks.air); + } else { + world.setBlock(x, y, z, ModBlocks.cheater_virus); + } + } + + @Override + public void onNeighborBlockChange(World world, int x, int y, int z, Block block) { + + if((world.getBlock(x + 1, y, z) == Blocks.air || world.getBlock(x + 1, y, z) == ModBlocks.cheater_virus || world.getBlock(x + 1, y, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x - 1, y, z) == Blocks.air || world.getBlock(x - 1, y, z) == ModBlocks.cheater_virus || world.getBlock(x - 1, y, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y + 1, z) == Blocks.air || world.getBlock(x, y + 1, z) == ModBlocks.cheater_virus || world.getBlock(x, y + 1, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y - 1, z) == Blocks.air || world.getBlock(x, y - 1, z) == ModBlocks.cheater_virus || world.getBlock(x, y - 1, z) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y, z + 1) == Blocks.air || world.getBlock(x, y, z + 1) == ModBlocks.cheater_virus || world.getBlock(x, y, z + 1) == ModBlocks.cheater_virus_seed) && + (world.getBlock(x, y, z - 1) == Blocks.air || world.getBlock(x, y, z - 1) == ModBlocks.cheater_virus || world.getBlock(x, y, z - 1) == ModBlocks.cheater_virus_seed) && + !world.isRemote) { + world.setBlock(x, y, z, Blocks.air); + } + } +} diff --git a/com/hbm/blocks/bomb/CrystalVirus.java b/com/hbm/blocks/bomb/CrystalVirus.java new file mode 100644 index 000000000..62d4d0876 --- /dev/null +++ b/com/hbm/blocks/bomb/CrystalVirus.java @@ -0,0 +1,63 @@ +package com.hbm.blocks.bomb; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class CrystalVirus extends Block { + + public CrystalVirus(Material p_i45394_1_) { + super(p_i45394_1_); + this.setTickRandomly(true); + } + + @Override + public void updateTick(World world, int x, int y, int z, Random rand) { + { + if(world.getBlock(x + 1, y, z) != ModBlocks.crystal_virus && world.getBlock(x + 1, y, z) != Blocks.air && world.getBlock(x + 1, y, z) != ModBlocks.crystal_hardened) { + world.setBlock(x + 1, y, z, ModBlocks.crystal_virus); + } + + if(world.getBlock(x, y + 1, z) != ModBlocks.crystal_virus && world.getBlock(x, y + 1, z) != Blocks.air && world.getBlock(x, y + 1, z) != ModBlocks.crystal_hardened) { + world.setBlock(x, y + 1, z, ModBlocks.crystal_virus); + } + + if(world.getBlock(x, y, z + 1) != ModBlocks.crystal_virus && world.getBlock(x, y, z + 1) != Blocks.air && world.getBlock(x, y, z + 1) != ModBlocks.crystal_hardened) { + world.setBlock(x, y, z + 1, ModBlocks.crystal_virus); + } + + if(world.getBlock(x - 1, y, z) != ModBlocks.crystal_virus && world.getBlock(x - 1, y, z) != Blocks.air && world.getBlock(x - 1, y, z) != ModBlocks.crystal_hardened) { + world.setBlock(x - 1, y, z, ModBlocks.crystal_virus); + } + + if(world.getBlock(x, y - 1, z) != ModBlocks.crystal_virus && world.getBlock(x, y - 1, z) != Blocks.air && world.getBlock(x, y - 1, z) != ModBlocks.crystal_hardened) { + world.setBlock(x, y - 1, z, ModBlocks.crystal_virus); + } + + if(world.getBlock(x, y, z - 1) != ModBlocks.crystal_virus && world.getBlock(x, y, z - 1) != Blocks.air && world.getBlock(x, y, z - 1) != ModBlocks.crystal_hardened) { + world.setBlock(x, y, z - 1, ModBlocks.crystal_virus); + } + world.setBlock(x, y, z, ModBlocks.crystal_hardened); + } + } + + @Override + public void onNeighborBlockChange(World world, int x, int y, int z, Block block) { + + if((world.getBlock(x + 1, y, z) == Blocks.air || world.getBlock(x + 1, y, z) == ModBlocks.crystal_virus || world.getBlock(x + 1, y, z) == ModBlocks.crystal_hardened) && + (world.getBlock(x - 1, y, z) == Blocks.air || world.getBlock(x - 1, y, z) == ModBlocks.crystal_virus || world.getBlock(x - 1, y, z) == ModBlocks.crystal_hardened) && + (world.getBlock(x, y + 1, z) == Blocks.air || world.getBlock(x, y + 1, z) == ModBlocks.crystal_virus || world.getBlock(x, y + 1, z) == ModBlocks.crystal_hardened) && + (world.getBlock(x, y - 1, z) == Blocks.air || world.getBlock(x, y - 1, z) == ModBlocks.crystal_virus || world.getBlock(x, y - 1, z) == ModBlocks.crystal_hardened) && + (world.getBlock(x, y, z + 1) == Blocks.air || world.getBlock(x, y, z + 1) == ModBlocks.crystal_virus || world.getBlock(x, y, z + 1) == ModBlocks.crystal_hardened) && + (world.getBlock(x, y, z - 1) == Blocks.air || world.getBlock(x, y, z - 1) == ModBlocks.crystal_virus || world.getBlock(x, y, z - 1) == ModBlocks.crystal_hardened) && + !world.isRemote) { + world.setBlock(x, y, z, ModBlocks.crystal_hardened); + } + } + +} diff --git a/com/hbm/blocks/bomb/DetCord.java b/com/hbm/blocks/bomb/DetCord.java new file mode 100644 index 000000000..68fa06002 --- /dev/null +++ b/com/hbm/blocks/bomb/DetCord.java @@ -0,0 +1,55 @@ +package com.hbm.blocks.bomb; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionLarge; +import com.hbm.interfaces.IBomb; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.world.Explosion; +import net.minecraft.world.World; + +public class DetCord extends Block implements IBomb { + + public DetCord(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + public void onBlockDestroyedByExplosion(World world, int x, int y, int z, Explosion p_149723_5_) + { + this.explode(world, x, y, z); + } + + @Override + public void onNeighborBlockChange(World world, int x, int y, int z, Block p_149695_5_) + { + if (world.isBlockIndirectlyGettingPowered(x, y, z)) + { + this.explode(world, x, y, z); + } + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return null; + } + + public void explode(World world, int x, int y, int z) { + if(!world.isRemote) { + + world.setBlock(x, y, z, Blocks.air); + if(this == ModBlocks.det_cord) + world.createExplosion(null, x + 0.5, y + 0.5, z + 0.5, 1.5F, true); + if(this == ModBlocks.det_charge) + ExplosionLarge.explode(world, x, y, z, 15, true, false, false); + } + } + +} diff --git a/com/hbm/blocks/LaunchPad.java b/com/hbm/blocks/bomb/LaunchPad.java similarity index 97% rename from com/hbm/blocks/LaunchPad.java rename to com/hbm/blocks/bomb/LaunchPad.java index abdb1a91a..cbbfd4fdc 100644 --- a/com/hbm/blocks/LaunchPad.java +++ b/com/hbm/blocks/bomb/LaunchPad.java @@ -1,569 +1,570 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.entity.missile.EntityMissileAntiBallistic; -import com.hbm.entity.missile.EntityMissileBunkerBuster; -import com.hbm.entity.missile.EntityMissileBurst; -import com.hbm.entity.missile.EntityMissileBusterStrong; -import com.hbm.entity.missile.EntityMissileCluster; -import com.hbm.entity.missile.EntityMissileClusterStrong; -import com.hbm.entity.missile.EntityMissileDrill; -import com.hbm.entity.missile.EntityMissileEndo; -import com.hbm.entity.missile.EntityMissileExo; -import com.hbm.entity.missile.EntityMissileGeneric; -import com.hbm.entity.missile.EntityMissileIncendiary; -import com.hbm.entity.missile.EntityMissileIncendiaryStrong; -import com.hbm.entity.missile.EntityMissileInferno; -import com.hbm.entity.missile.EntityMissileMirv; -import com.hbm.entity.missile.EntityMissileNuclear; -import com.hbm.entity.missile.EntityMissileRain; -import com.hbm.entity.missile.EntityMissileStrong; -import com.hbm.interfaces.IBomb; -import com.hbm.items.ModItems; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityLaunchPad; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; - -public class LaunchPad extends BlockContainer implements IBomb { - - public TileEntityLaunchPad tetn = new TileEntityLaunchPad(); - public static boolean keepInventory = false; - private final static Random field_149933_a = new Random(); - - protected LaunchPad(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityLaunchPad(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.launch_pad); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityLaunchPad tileentityfurnace = (TileEntityLaunchPad)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = LaunchPad.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = LaunchPad.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = LaunchPad.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = LaunchPad.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)LaunchPad.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)LaunchPad.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)LaunchPad.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityLaunchPad entity = (TileEntityLaunchPad) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_launch_pad, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityLaunchPad entity = (TileEntityLaunchPad) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.slots[1] != null && entity.slots[1].getItem() == ModItems.designator && entity.slots[1].stackTagCompound != null) - { - int xCoord = entity.slots[1].stackTagCompound.getInteger("xCoord"); - int zCoord = entity.slots[1].stackTagCompound.getInteger("zCoord"); - - if(xCoord == entity.xCoord && zCoord == entity.zCoord) - { - xCoord += 1; - } - - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_generic && entity.power >= 75000) - { - EntityMissileGeneric missile = new EntityMissileGeneric(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_anti_ballistic && entity.power >= 75000) - { - EntityMissileAntiBallistic missile = new EntityMissileAntiBallistic(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_incendiary && entity.power >= 75000) - { - EntityMissileIncendiary missile = new EntityMissileIncendiary(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_cluster && entity.power >= 75000) - { - EntityMissileCluster missile = new EntityMissileCluster(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_buster && entity.power >= 75000) - { - EntityMissileBunkerBuster missile = new EntityMissileBunkerBuster(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_strong && entity.power >= 75000) - { - EntityMissileStrong missile = new EntityMissileStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_incendiary_strong && entity.power >= 75000) - { - EntityMissileIncendiaryStrong missile = new EntityMissileIncendiaryStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_cluster_strong && entity.power >= 75000) - { - EntityMissileClusterStrong missile = new EntityMissileClusterStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_buster_strong && entity.power >= 75000) - { - EntityMissileBusterStrong missile = new EntityMissileBusterStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_burst && entity.power >= 75000) - { - EntityMissileBurst missile = new EntityMissileBurst(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_inferno && entity.power >= 75000) - { - EntityMissileInferno missile = new EntityMissileInferno(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_rain && entity.power >= 75000) - { - EntityMissileRain missile = new EntityMissileRain(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_drill && entity.power >= 75000) - { - EntityMissileDrill missile = new EntityMissileDrill(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_nuclear && entity.power >= 75000) - { - EntityMissileNuclear missile = new EntityMissileNuclear(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_endo && entity.power >= 75000) - { - EntityMissileEndo missile = new EntityMissileEndo(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_exo && entity.power >= 75000) - { - EntityMissileExo missile = new EntityMissileExo(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_nuclear_cluster && entity.power >= 75000) - { - EntityMissileMirv missile = new EntityMissileMirv(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - } - } - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - } - - public static void updateBlockState(int type, World world, int x, int y, int z) { - int i = world.getBlockMetadata(x, y, z); - TileEntity entity = world.getTileEntity(x, y, z); - keepInventory = true; - - if(type == 1) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_generic); - } else if(type == 2) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_strong); - } else if(type == 3) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_cluster); - } else if(type == 4) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_nuclear); - } else if(type == 5) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_incendiary); - } else if(type == 6) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_buster); - } else if(type == 7) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_incendiary_strong); - } else if(type == 8) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_cluster_strong); - } else if(type == 9) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_buster_strong); - } else if(type == 10) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_burst); - } else if(type == 11) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_inferno); - } else if(type == 12) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_rain); - } else if(type == 13) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_drill); - } else if(type == 14) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_endo); - } else if(type == 15) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_exo); - } else if(type == 16) - { - world.setBlock(x, y, z, ModBlocks.launch_pad_mirv); - } else { - world.setBlock(x, y, z, ModBlocks.launch_pad); - } - - keepInventory = false; - - if(entity != null) { - entity.validate(); - world.setTileEntity(x, y, z, entity); - } - } - - @Override - public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) - { - float f = 0.0625F; - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.5F, 1.0F); - } - - public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { - float f = 0.0625F; - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); - return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); - } - - @Override - @SideOnly(Side.CLIENT) - public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) - { - return Item.getItemFromBlock(ModBlocks.launch_pad); - } - - public void explode(World p_149695_1_, int x, int y, int z) - { - TileEntityLaunchPad entity = (TileEntityLaunchPad) p_149695_1_.getTileEntity(x, y, z); - //if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.slots[1] != null && entity.slots[1].getItem() == ModItems.designator && entity.slots[1].stackTagCompound != null) - { - int xCoord = entity.slots[1].stackTagCompound.getInteger("xCoord"); - int zCoord = entity.slots[1].stackTagCompound.getInteger("zCoord"); - - if(xCoord == entity.xCoord && zCoord == entity.zCoord) - { - xCoord += 1; - } - - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_generic && entity.power >= 75000) - { - EntityMissileGeneric missile = new EntityMissileGeneric(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_anti_ballistic && entity.power >= 75000) - { - EntityMissileAntiBallistic missile = new EntityMissileAntiBallistic(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_incendiary && entity.power >= 75000) - { - EntityMissileIncendiary missile = new EntityMissileIncendiary(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_cluster && entity.power >= 75000) - { - EntityMissileCluster missile = new EntityMissileCluster(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_buster && entity.power >= 75000) - { - EntityMissileBunkerBuster missile = new EntityMissileBunkerBuster(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_strong && entity.power >= 75000) - { - EntityMissileStrong missile = new EntityMissileStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_incendiary_strong && entity.power >= 75000) - { - EntityMissileIncendiaryStrong missile = new EntityMissileIncendiaryStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_cluster_strong && entity.power >= 75000) - { - EntityMissileClusterStrong missile = new EntityMissileClusterStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_buster_strong && entity.power >= 75000) - { - EntityMissileBusterStrong missile = new EntityMissileBusterStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_burst && entity.power >= 75000) - { - EntityMissileBurst missile = new EntityMissileBurst(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_inferno && entity.power >= 75000) - { - EntityMissileInferno missile = new EntityMissileInferno(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_rain && entity.power >= 75000) - { - EntityMissileRain missile = new EntityMissileRain(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_drill && entity.power >= 75000) - { - EntityMissileDrill missile = new EntityMissileDrill(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_nuclear && entity.power >= 75000) - { - EntityMissileNuclear missile = new EntityMissileNuclear(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_endo && entity.power >= 75000) - { - EntityMissileEndo missile = new EntityMissileEndo(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_exo && entity.power >= 75000) - { - EntityMissileExo missile = new EntityMissileExo(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_nuclear_cluster && entity.power >= 75000) - { - EntityMissileMirv missile = new EntityMissileMirv(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - entity.power -= 75000; - - entity.slots[0] = null; - } - } - } - } - -} +package com.hbm.blocks.bomb; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.missile.EntityMissileAntiBallistic; +import com.hbm.entity.missile.EntityMissileBunkerBuster; +import com.hbm.entity.missile.EntityMissileBurst; +import com.hbm.entity.missile.EntityMissileBusterStrong; +import com.hbm.entity.missile.EntityMissileCluster; +import com.hbm.entity.missile.EntityMissileClusterStrong; +import com.hbm.entity.missile.EntityMissileDrill; +import com.hbm.entity.missile.EntityMissileEndo; +import com.hbm.entity.missile.EntityMissileExo; +import com.hbm.entity.missile.EntityMissileGeneric; +import com.hbm.entity.missile.EntityMissileIncendiary; +import com.hbm.entity.missile.EntityMissileIncendiaryStrong; +import com.hbm.entity.missile.EntityMissileInferno; +import com.hbm.entity.missile.EntityMissileMirv; +import com.hbm.entity.missile.EntityMissileNuclear; +import com.hbm.entity.missile.EntityMissileRain; +import com.hbm.entity.missile.EntityMissileStrong; +import com.hbm.interfaces.IBomb; +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityLaunchPad; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +public class LaunchPad extends BlockContainer implements IBomb { + + public TileEntityLaunchPad tetn = new TileEntityLaunchPad(); + public static boolean keepInventory = false; + private final static Random field_149933_a = new Random(); + + public LaunchPad(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityLaunchPad(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.launch_pad); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityLaunchPad tileentityfurnace = (TileEntityLaunchPad)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = LaunchPad.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = LaunchPad.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = LaunchPad.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = LaunchPad.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)LaunchPad.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)LaunchPad.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)LaunchPad.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityLaunchPad entity = (TileEntityLaunchPad) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_launch_pad, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityLaunchPad entity = (TileEntityLaunchPad) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.slots[1] != null && entity.slots[1].getItem() == ModItems.designator && entity.slots[1].stackTagCompound != null) + { + int xCoord = entity.slots[1].stackTagCompound.getInteger("xCoord"); + int zCoord = entity.slots[1].stackTagCompound.getInteger("zCoord"); + + if(xCoord == entity.xCoord && zCoord == entity.zCoord) + { + xCoord += 1; + } + + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_generic && entity.power >= 75000) + { + EntityMissileGeneric missile = new EntityMissileGeneric(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_anti_ballistic && entity.power >= 75000) + { + EntityMissileAntiBallistic missile = new EntityMissileAntiBallistic(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_incendiary && entity.power >= 75000) + { + EntityMissileIncendiary missile = new EntityMissileIncendiary(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_cluster && entity.power >= 75000) + { + EntityMissileCluster missile = new EntityMissileCluster(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_buster && entity.power >= 75000) + { + EntityMissileBunkerBuster missile = new EntityMissileBunkerBuster(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_strong && entity.power >= 75000) + { + EntityMissileStrong missile = new EntityMissileStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_incendiary_strong && entity.power >= 75000) + { + EntityMissileIncendiaryStrong missile = new EntityMissileIncendiaryStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_cluster_strong && entity.power >= 75000) + { + EntityMissileClusterStrong missile = new EntityMissileClusterStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_buster_strong && entity.power >= 75000) + { + EntityMissileBusterStrong missile = new EntityMissileBusterStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_burst && entity.power >= 75000) + { + EntityMissileBurst missile = new EntityMissileBurst(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_inferno && entity.power >= 75000) + { + EntityMissileInferno missile = new EntityMissileInferno(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_rain && entity.power >= 75000) + { + EntityMissileRain missile = new EntityMissileRain(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_drill && entity.power >= 75000) + { + EntityMissileDrill missile = new EntityMissileDrill(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_nuclear && entity.power >= 75000) + { + EntityMissileNuclear missile = new EntityMissileNuclear(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_endo && entity.power >= 75000) + { + EntityMissileEndo missile = new EntityMissileEndo(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_exo && entity.power >= 75000) + { + EntityMissileExo missile = new EntityMissileExo(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_nuclear_cluster && entity.power >= 75000) + { + EntityMissileMirv missile = new EntityMissileMirv(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + } + } + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + public static void updateBlockState(int type, World world, int x, int y, int z) { + int i = world.getBlockMetadata(x, y, z); + TileEntity entity = world.getTileEntity(x, y, z); + keepInventory = true; + + if(type == 1) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_generic); + } else if(type == 2) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_strong); + } else if(type == 3) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_cluster); + } else if(type == 4) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_nuclear); + } else if(type == 5) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_incendiary); + } else if(type == 6) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_buster); + } else if(type == 7) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_incendiary_strong); + } else if(type == 8) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_cluster_strong); + } else if(type == 9) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_buster_strong); + } else if(type == 10) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_burst); + } else if(type == 11) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_inferno); + } else if(type == 12) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_rain); + } else if(type == 13) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_drill); + } else if(type == 14) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_endo); + } else if(type == 15) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_exo); + } else if(type == 16) + { + world.setBlock(x, y, z, ModBlocks.launch_pad_mirv); + } else { + world.setBlock(x, y, z, ModBlocks.launch_pad); + } + + keepInventory = false; + + if(entity != null) { + entity.validate(); + world.setTileEntity(x, y, z, entity); + } + } + + @Override + public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) + { + float f = 0.0625F; + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.5F, 1.0F); + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { + float f = 0.0625F; + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); + return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) + { + return Item.getItemFromBlock(ModBlocks.launch_pad); + } + + public void explode(World p_149695_1_, int x, int y, int z) + { + TileEntityLaunchPad entity = (TileEntityLaunchPad) p_149695_1_.getTileEntity(x, y, z); + //if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.slots[1] != null && entity.slots[1].getItem() == ModItems.designator && entity.slots[1].stackTagCompound != null) + { + int xCoord = entity.slots[1].stackTagCompound.getInteger("xCoord"); + int zCoord = entity.slots[1].stackTagCompound.getInteger("zCoord"); + + if(xCoord == entity.xCoord && zCoord == entity.zCoord) + { + xCoord += 1; + } + + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_generic && entity.power >= 75000) + { + EntityMissileGeneric missile = new EntityMissileGeneric(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_anti_ballistic && entity.power >= 75000) + { + EntityMissileAntiBallistic missile = new EntityMissileAntiBallistic(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_incendiary && entity.power >= 75000) + { + EntityMissileIncendiary missile = new EntityMissileIncendiary(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_cluster && entity.power >= 75000) + { + EntityMissileCluster missile = new EntityMissileCluster(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_buster && entity.power >= 75000) + { + EntityMissileBunkerBuster missile = new EntityMissileBunkerBuster(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_strong && entity.power >= 75000) + { + EntityMissileStrong missile = new EntityMissileStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_incendiary_strong && entity.power >= 75000) + { + EntityMissileIncendiaryStrong missile = new EntityMissileIncendiaryStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_cluster_strong && entity.power >= 75000) + { + EntityMissileClusterStrong missile = new EntityMissileClusterStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_buster_strong && entity.power >= 75000) + { + EntityMissileBusterStrong missile = new EntityMissileBusterStrong(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_burst && entity.power >= 75000) + { + EntityMissileBurst missile = new EntityMissileBurst(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_inferno && entity.power >= 75000) + { + EntityMissileInferno missile = new EntityMissileInferno(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_rain && entity.power >= 75000) + { + EntityMissileRain missile = new EntityMissileRain(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_drill && entity.power >= 75000) + { + EntityMissileDrill missile = new EntityMissileDrill(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_nuclear && entity.power >= 75000) + { + EntityMissileNuclear missile = new EntityMissileNuclear(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_endo && entity.power >= 75000) + { + EntityMissileEndo missile = new EntityMissileEndo(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_exo && entity.power >= 75000) + { + EntityMissileExo missile = new EntityMissileExo(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + if(entity.slots[0] != null && entity.slots[0].getItem() == ModItems.missile_nuclear_cluster && entity.power >= 75000) + { + EntityMissileMirv missile = new EntityMissileMirv(p_149695_1_, xCoord, zCoord, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + entity.power -= 75000; + + entity.slots[0] = null; + } + } + } + } + +} diff --git a/com/hbm/blocks/NukeBoy.java b/com/hbm/blocks/bomb/NukeBoy.java similarity index 95% rename from com/hbm/blocks/NukeBoy.java rename to com/hbm/blocks/bomb/NukeBoy.java index 953947c6d..4e4fc1f41 100644 --- a/com/hbm/blocks/NukeBoy.java +++ b/com/hbm/blocks/bomb/NukeBoy.java @@ -1,227 +1,222 @@ -package com.hbm.blocks; - -import java.util.Random; - -<<<<<<< HEAD -import com.hbm.entity.effect.EntityNukeCloudNoShroom; -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -======= -import com.hbm.entity.EntityNukeCloudNoShroom; -import com.hbm.entity.EntityNukeCloudSmall; -import com.hbm.entity.EntityNukeExplosionAdvanced; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.interfaces.IBomb; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityNukeBoy; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class NukeBoy extends BlockContainer implements IBomb { - - public TileEntityNukeBoy tetn = new TileEntityNukeBoy(); - - private static boolean keepInventory = false; - private final static Random field_149933_a = new Random(); - private boolean isExploding = false; - - protected NukeBoy(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityNukeBoy(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { - return Item.getItemFromBlock(ModBlocks.nuke_boy); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, - int p_149749_6_) { - if (!keepInventory) { - TileEntityNukeBoy tileentityfurnace = (TileEntityNukeBoy) p_149749_1_.getTileEntity(p_149749_2_, - p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) { - float f = NukeBoy.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = NukeBoy.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = NukeBoy.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) { - int j1 = NukeBoy.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, - p_149749_4_ + f2, - new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) { - entityitem.getEntityItem() - .setTagCompound((NBTTagCompound) itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float) NukeBoy.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float) NukeBoy.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float) NukeBoy.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, - float hitY, float hitZ) { - if (world.isRemote) { - return true; - } else if (!player.isSneaking()) { - TileEntityNukeBoy entity = (TileEntityNukeBoy) world.getTileEntity(x, y, z); - if (entity != null) { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_boy, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) { - TileEntityNukeBoy entity = (TileEntityNukeBoy) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) { - if (entity.isReady()) { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z); - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z) { - if (!world.isRemote) { - tetn.clearSlots(); - // world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns - // a huge explosion particle - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); // x,y,z,sound,volume,pitch - /* - * ExplosionNukeGeneric.detonateTestBomb(world, x, y, z, 120); - * ExplosionNukeGeneric.vapor(world, x, y, z, 200); - * ExplosionNukeGeneric.waste(world, x, y, z, 150); - * ExplosionNukeGeneric.dealDamage(world, x, y, z, 150); - */ - - /* - * EntityNukeExplosion entity = new EntityNukeExplosion(world); - * entity.posX = x; entity.posY = y; entity.posZ = z; - * entity.destructionRange = 120; entity.vaporRange = 200; - * entity.wasteRange = 150; entity.damageRange = 150; - * - * world.spawnEntityInWorld(entity); - */ - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = MainRegistry.boyRadius; - entity.speed = 25; - entity.coefficient = 10.0F; - world.spawnEntityInWorld(entity); - - // ExplosionNukeAdvanced.mush(world, x, y, z); - - if (MainRegistry.enableNukeClouds) { - EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); - entity2.posX = x; - entity2.posY = y - 11; - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } else { - EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); - entity2.posX = x; - entity2.posY = y - 11; - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } - } - return false; - } - - @Override - public int getRenderType() { - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if (i == 0) { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if (i == 1) { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if (i == 2) { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if (i == 3) { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - } - - public void explode(World world, int x, int y, int z) { - TileEntityNukeBoy entity = (TileEntityNukeBoy) world.getTileEntity(x, y, z); - // if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if (entity.isReady()) { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - entity.clearSlots(); - world.setBlockToAir(x, y, z); - igniteTestBomb(world, x, y, z); - } - } - } -} +package com.hbm.blocks.bomb; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.effect.EntityNukeCloudNoShroom; +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.interfaces.IBomb; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityNukeBoy; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class NukeBoy extends BlockContainer implements IBomb { + + public TileEntityNukeBoy tetn = new TileEntityNukeBoy(); + + private static boolean keepInventory = false; + private final static Random field_149933_a = new Random(); + private boolean isExploding = false; + + public NukeBoy(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityNukeBoy(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { + return Item.getItemFromBlock(ModBlocks.nuke_boy); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, + int p_149749_6_) { + if (!keepInventory) { + TileEntityNukeBoy tileentityfurnace = (TileEntityNukeBoy) p_149749_1_.getTileEntity(p_149749_2_, + p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) { + float f = NukeBoy.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = NukeBoy.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = NukeBoy.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) { + int j1 = NukeBoy.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, + p_149749_4_ + f2, + new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) { + entityitem.getEntityItem() + .setTagCompound((NBTTagCompound) itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float) NukeBoy.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float) NukeBoy.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float) NukeBoy.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, + float hitY, float hitZ) { + if (world.isRemote) { + return true; + } else if (!player.isSneaking()) { + TileEntityNukeBoy entity = (TileEntityNukeBoy) world.getTileEntity(x, y, z); + if (entity != null) { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_boy, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) { + TileEntityNukeBoy entity = (TileEntityNukeBoy) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) { + if (entity.isReady()) { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z) { + if (!world.isRemote) { + tetn.clearSlots(); + // world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns + // a huge explosion particle + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); // x,y,z,sound,volume,pitch + /* + * ExplosionNukeGeneric.detonateTestBomb(world, x, y, z, 120); + * ExplosionNukeGeneric.vapor(world, x, y, z, 200); + * ExplosionNukeGeneric.waste(world, x, y, z, 150); + * ExplosionNukeGeneric.dealDamage(world, x, y, z, 150); + */ + + /* + * EntityNukeExplosion entity = new EntityNukeExplosion(world); + * entity.posX = x; entity.posY = y; entity.posZ = z; + * entity.destructionRange = 120; entity.vaporRange = 200; + * entity.wasteRange = 150; entity.damageRange = 150; + * + * world.spawnEntityInWorld(entity); + */ + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = MainRegistry.boyRadius; + entity.speed = 25; + entity.coefficient = 10.0F; + world.spawnEntityInWorld(entity); + + // ExplosionNukeAdvanced.mush(world, x, y, z); + + if (MainRegistry.enableNukeClouds) { + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); + entity2.posX = x; + entity2.posY = y - 11; + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - 11; + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } + return false; + } + + @Override + public int getRenderType() { + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if (i == 0) { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if (i == 1) { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if (i == 2) { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if (i == 3) { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + public void explode(World world, int x, int y, int z) { + TileEntityNukeBoy entity = (TileEntityNukeBoy) world.getTileEntity(x, y, z); + // if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if (entity.isReady()) { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z); + } + } + } +} diff --git a/com/hbm/blocks/bomb/NukeCustom.java b/com/hbm/blocks/bomb/NukeCustom.java new file mode 100644 index 000000000..55d82daec --- /dev/null +++ b/com/hbm/blocks/bomb/NukeCustom.java @@ -0,0 +1,376 @@ +package com.hbm.blocks.bomb; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.effect.EntityNukeCloudBig; +import com.hbm.entity.effect.EntityNukeCloudNoShroom; +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.grenade.EntityGrenadeZOMG; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.entity.logic.EntityNukeExplosionPlus; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionLarge; +import com.hbm.explosion.ExplosionParticle; +import com.hbm.explosion.ExplosionParticleB; +import com.hbm.interfaces.IBomb; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityNukeBoy; +import com.hbm.tileentity.TileEntityNukeCustom; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class NukeCustom extends BlockContainer implements IBomb { + + public TileEntityNukeCustom tetn = new TileEntityNukeCustom(); + + private static boolean keepInventory = false; + private final static Random field_149933_a = new Random(); + private boolean isExploding = false; + + public NukeCustom(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityNukeCustom(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { + return Item.getItemFromBlock(ModBlocks.nuke_custom); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, + int p_149749_6_) { + if (!keepInventory) { + TileEntityNukeCustom tileentityfurnace = (TileEntityNukeCustom) p_149749_1_.getTileEntity(p_149749_2_, + p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, + p_149749_4_ + f2, + new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) { + entityitem.getEntityItem() + .setTagCompound((NBTTagCompound) itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float) this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float) this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float) this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, + float hitY, float hitZ) { + if (world.isRemote) { + return true; + } else if (!player.isSneaking()) { + TileEntityNukeCustom entity = (TileEntityNukeCustom) world.getTileEntity(x, y, z); + if (entity != null) { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_custom, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) { + TileEntityNukeCustom entity = (TileEntityNukeCustom) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) { + if (entity.isReady()) { + float[] f = entity.returnAllValues(); + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z, f); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z, float[] f) { + if (!world.isRemote) { + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); // x,y,z,sound,volume,pitch + + float tnt = f[0]; + float nuke = f[1]; + float hydro = f[2];; + float amat = f[3]; + float dirty = f[4]; + float schrab = f[5]; + float euph = f[6]; + + System.out.println(tnt); + System.out.println(nuke); + + if(euph > 0) { + EntityGrenadeZOMG zomg = new EntityGrenadeZOMG(world); + zomg.posX = x + 0.5; + zomg.posY = y + 0.5; + zomg.posZ = z + 0.5; + ExplosionChaos.zomgMeSinPi(world, x, y, z, 1000, null, zomg); + } else if(schrab > 0) { + nuke += (tnt/2); + hydro += (nuke/2); + amat += (hydro/2); + schrab += (amat/2); + + EntityNukeExplosionPlus entity = new EntityNukeExplosionPlus(world); + entity.posX = x + 0.5; + entity.posY = y + 0.5; + entity.posZ = z + 0.5; + entity.destructionRange = (int)schrab; + entity.speed = 25; + entity.coefficient = 1.0F; + entity.waste = false; + + world.spawnEntityInWorld(entity); + + EntityCloudFleija cloud = new EntityCloudFleija(world, (int)schrab); + cloud.posX = x + 0.5; + cloud.posY = y + 0.5; + cloud.posZ = z + 0.5; + world.spawnEntityInWorld(cloud); + + } else if (amat > 0) { + nuke += (tnt/2); + hydro += (nuke/2); + amat += (hydro/2); + + EntityNukeExplosionPlus entity = new EntityNukeExplosionPlus(world); + entity.posX = x + 0.5; + entity.posY = y + 0.5; + entity.posZ = z + 0.5; + entity.destructionRange = (int)amat; + entity.speed = 25; + entity.coefficient = 10.0F; + entity.wasteRange = (int) (amat * 1.4) + (int) dirty; + + world.spawnEntityInWorld(entity); + + if(amat < 75) { + ExplosionParticleB.spawnMush(world, x, y - ((int)amat / 10), z); + } else if(amat < 200) { + if(MainRegistry.enableNukeClouds) { + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); + entity2.posX = x; + entity2.posY = y - (amat/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - (amat/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } else { + if(MainRegistry.enableNukeClouds) { + EntityNukeCloudBig entity2 = new EntityNukeCloudBig(world, 1000); + entity2.posX = x; + entity2.posY = y - (amat/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - (amat/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } + + } else if(hydro > 0) { + nuke += (tnt/2); + hydro += (nuke/2); + + EntityNukeExplosionPlus entity = new EntityNukeExplosionPlus(world); + entity.posX = x + 0.5; + entity.posY = y + 0.5; + entity.posZ = z + 0.5; + entity.destructionRange = (int)hydro; + entity.speed = 25; + entity.coefficient = 10.0F; + entity.wasteRange = (int) (hydro * 1.4) + (int) dirty; + + world.spawnEntityInWorld(entity); + + if(hydro < 75) { + ExplosionParticle.spawnMush(world, x, y - ((int)hydro / 10), z); + } else if(hydro < 200) { + if(MainRegistry.enableNukeClouds) { + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); + entity2.posX = x; + entity2.posY = y - (hydro/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - (hydro/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } else { + if(MainRegistry.enableNukeClouds) { + EntityNukeCloudBig entity2 = new EntityNukeCloudBig(world, 1000); + entity2.posX = x; + entity2.posY = y - (hydro/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - (hydro/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } + + } else if(nuke > 0) { + nuke += (tnt/2); + + EntityNukeExplosionPlus entity = new EntityNukeExplosionPlus(world); + entity.posX = x + 0.5; + entity.posY = y + 0.5; + entity.posZ = z + 0.5; + entity.destructionRange = (int)nuke; + entity.speed = 25; + entity.coefficient = 10.0F; + entity.wasteRange = (int) (nuke * 1.4) + (int) dirty; + + world.spawnEntityInWorld(entity); + + if(nuke < 75) { + ExplosionParticle.spawnMush(world, x, y - ((int)nuke / 10), z); + } else if(nuke < 200) { + if(MainRegistry.enableNukeClouds) { + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); + entity2.posX = x; + entity2.posY = y - (nuke/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - (nuke/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } else { + if(MainRegistry.enableNukeClouds) { + EntityNukeCloudBig entity2 = new EntityNukeCloudBig(world, 1000); + entity2.posX = x; + entity2.posY = y - (nuke/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - (nuke/10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } + + } else if(tnt > 0) { + //world.newExplosion((Entity)null, x + 0.5F, y + 0.5F, z + 0.5F, tnt, field_149933_a.nextInt(5) == 0 ? true : false, true); + ExplosionLarge.explode(world, x, y, z, tnt, true, true, true); + } + } + return false; + } + + @Override + public int getRenderType() { + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if (i == 0) { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if (i == 1) { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if (i == 2) { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if (i == 3) { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + public void explode(World world, int x, int y, int z) { + TileEntityNukeCustom entity = (TileEntityNukeCustom) world.getTileEntity(x, y, z); + { + if (entity.isReady()) { + float[] f = entity.returnAllValues(); + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z, f); + } + } + } +} diff --git a/com/hbm/blocks/NukeFleija.java b/com/hbm/blocks/bomb/NukeFleija.java similarity index 95% rename from com/hbm/blocks/NukeFleija.java rename to com/hbm/blocks/bomb/NukeFleija.java index 8b30c1791..d0fe4d415 100644 --- a/com/hbm/blocks/NukeFleija.java +++ b/com/hbm/blocks/bomb/NukeFleija.java @@ -1,216 +1,217 @@ -package com.hbm.blocks; - -import java.util.HashMap; -import java.util.Map; -import java.util.Random; - -import com.hbm.entity.effect.EntityCloudFleija; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.interfaces.IBomb; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityNukeFleija; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class NukeFleija extends BlockContainer implements IBomb { - - public TileEntityNukeFleija tetn = new TileEntityNukeFleija(); - - private final Random field_149933_a = new Random(); - private static boolean keepInventory = false; - private Map field_77288_k = new HashMap(); - - protected NukeFleija(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityNukeFleija(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.nuke_fleija); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityNukeFleija tileentityfurnace = (TileEntityNukeFleija)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityNukeFleija entity = (TileEntityNukeFleija) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_fleija, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityNukeFleija entity = (TileEntityNukeFleija) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.fleijaRadius); - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z, int r) - { - if (!world.isRemote) - { - tetn.clearSlots(); - //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = r; - entity.speed = 25; - entity.coefficient = 1.0F; - entity.waste = false; - - world.spawnEntityInWorld(entity); - - EntityCloudFleija cloud = new EntityCloudFleija(world, r); - cloud.posX = x; - cloud.posY = y; - cloud.posZ = z; - world.spawnEntityInWorld(cloud); - } - - return false; - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - } - - public void explode(World world, int x, int y, int z) { - TileEntityNukeFleija entity = (TileEntityNukeFleija) world.getTileEntity(x, y, z); - //if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady()) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - entity.clearSlots(); - world.setBlockToAir(x, y, z); - igniteTestBomb(world, x, y, z, MainRegistry.fleijaRadius); - } - } - } - -} +package com.hbm.blocks.bomb; + +import java.util.HashMap; +import java.util.Map; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.interfaces.IBomb; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityNukeFleija; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class NukeFleija extends BlockContainer implements IBomb { + + public TileEntityNukeFleija tetn = new TileEntityNukeFleija(); + + private final Random field_149933_a = new Random(); + private static boolean keepInventory = false; + private Map field_77288_k = new HashMap(); + + public NukeFleija(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityNukeFleija(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.nuke_fleija); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityNukeFleija tileentityfurnace = (TileEntityNukeFleija)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityNukeFleija entity = (TileEntityNukeFleija) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_fleija, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityNukeFleija entity = (TileEntityNukeFleija) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.isReady()) + { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.fleijaRadius); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z, int r) + { + if (!world.isRemote) + { + tetn.clearSlots(); + //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = r; + entity.speed = 25; + entity.coefficient = 1.0F; + entity.waste = false; + + world.spawnEntityInWorld(entity); + + EntityCloudFleija cloud = new EntityCloudFleija(world, r); + cloud.posX = x; + cloud.posY = y; + cloud.posZ = z; + world.spawnEntityInWorld(cloud); + } + + return false; + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + public void explode(World world, int x, int y, int z) { + TileEntityNukeFleija entity = (TileEntityNukeFleija) world.getTileEntity(x, y, z); + //if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.isReady()) + { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z, MainRegistry.fleijaRadius); + } + } + } + +} diff --git a/com/hbm/blocks/bomb/NukeGadget.java b/com/hbm/blocks/bomb/NukeGadget.java new file mode 100644 index 000000000..3aa8356bc --- /dev/null +++ b/com/hbm/blocks/bomb/NukeGadget.java @@ -0,0 +1,371 @@ +package com.hbm.blocks.bomb; + +import java.util.HashMap; +import java.util.Map; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.effect.EntityNukeCloudNoShroom; +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.interfaces.IBomb; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityNukeGadget; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class NukeGadget extends BlockContainer implements IBomb { + + public TileEntityNukeGadget tetn = new TileEntityNukeGadget(); + + private final Random field_149933_a = new Random(); + private static boolean keepInventory = false; + private Map field_77288_k = new HashMap(); + private boolean isExploding = false; + + public NukeGadget(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityNukeGadget(); + + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { + return Item.getItemFromBlock(ModBlocks.nuke_gadget); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, + int p_149749_6_) { + if (!keepInventory) { + TileEntityNukeGadget tileentityfurnace = (TileEntityNukeGadget) p_149749_1_.getTileEntity(p_149749_2_, + p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, + p_149749_4_ + f2, + new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) { + entityitem.getEntityItem() + .setTagCompound((NBTTagCompound) itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float) this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float) this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float) this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, + float hitY, float hitZ) { + if (world.isRemote) { + return true; + } else if (!player.isSneaking()) { + TileEntityNukeGadget entity = (TileEntityNukeGadget) world.getTileEntity(x, y, z); + if (entity != null) { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_gadget, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) { + TileEntityNukeGadget entity = (TileEntityNukeGadget) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) { + if (entity.isReady()) { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z) { + if (!world.isRemote) { + /* + * dealDamage(world,x,y,z, 30); detonateTestBomb(world,x,y,z, 30); + * vapor(world,x,y,z, 30); dealDamage(world,x,y,z, 60); + * detonateTestBomb(world,x,y,z, 60); vapor(world,x,y,z, 60); + * dealDamage(world,x,y,z, 90); detonateTestBomb(world,x,y,z, 90); + * vapor(world,x,y,z, 90); dealDamage(world,x,y,z, 120); + * detonateTestBomb(world,x,y,z, 120); vapor(world,x,y,z, 120); + */ + tetn.clearSlots(); + // world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns + // a huge explosion particle + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); // x,y,z,sound,volume,pitch + /* + * ExplosionNukeGeneric.detonateTestBomb(world, x, y, z, 150); + * ExplosionNukeGeneric.vapor(world, x, y, z, 170); + * ExplosionNukeGeneric.waste(world, x, y, z, 225); + * ExplosionNukeGeneric.dealDamage(world, x, y, z, 170); + */ + + /* + * EntityNukeExplosion entity = new EntityNukeExplosion(world); + * entity.posX = x; entity.posY = y; entity.posZ = z; + * entity.destructionRange = 150; entity.vaporRange = 200; + * entity.wasteRange = 225; entity.damageRange = 170; + * + * world.spawnEntityInWorld(entity); + */ + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = MainRegistry.gadgetRadius; + entity.speed = 25; + entity.coefficient = 10.0F; + + world.spawnEntityInWorld(entity); + + // ExplosionNukeAdvanced.mush(world, x, y, z); + + if (MainRegistry.enableNukeClouds) { + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); + entity2.posX = x; + entity2.posY = y - 15; + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - 15; + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } + + return false; + } + + /* + * public void detonateTestBomb(World world, int x, int y, int z, int + * bombStartStrength) { //Rodol's awesome destruction code int r = + * bombStartStrength; //radius of explosion (change this to bigger numbers + * for more epicness) int r2 = r*r; //radius^2, for faster distance checks. + * (No sqrt needed for pythagoras) int r22 = r2/2; //half of r^2, + * calculations outside the loop only get called once. Always pull out as + * many things from the loop as possible. for (int xx = -r; xx < r; xx++) { + * int X = xx+x; //x coordinate we are working on int XX = xx*xx; //more + * stuff for a faster distance check for (int yy = -r; yy < r; yy++) { int Y + * = yy+y; //y coord int YY = XX+yy*yy; for (int zz = -r; zz < r; zz++) { + * int Z = zz+z; //z coord int ZZ = YY+zz*zz; //final= x*x+y*y+z*z. remind + * you of anything? if (ZZ= y) destruction(world, X, Y, Z); //destroy + * the block if its within the radius ...and if it's not bedrock :D } //you + * can change the if statement to if (ZZ>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.interfaces.IBomb; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityNukeMan; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class NukeMan extends BlockContainer implements IBomb { - - public TileEntityNukeMan tetn = new TileEntityNukeMan(); - - private final Random field_149933_a = new Random(); - private static boolean keepInventory = false; - private Map field_77288_k = new HashMap(); - - protected NukeMan(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityNukeMan(); - - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.nuke_man); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityNukeMan tileentityfurnace = (TileEntityNukeMan)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityNukeMan entity = (TileEntityNukeMan) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_man, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityNukeMan entity = (TileEntityNukeMan) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z); - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z) - { - if (!world.isRemote) { - /* - dealDamage(world,x,y,z, 30); - detonateTestBomb(world,x,y,z, 30); - vapor(world,x,y,z, 30); - dealDamage(world,x,y,z, 60); - detonateTestBomb(world,x,y,z, 60); - vapor(world,x,y,z, 60); - dealDamage(world,x,y,z, 90); - detonateTestBomb(world,x,y,z, 90); - vapor(world,x,y,z, 90); - dealDamage(world,x,y,z, 120); - detonateTestBomb(world,x,y,z, 120); - vapor(world,x,y,z, 120); - */ - tetn.clearSlots(); - //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns a huge explosion particle - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); //x,y,z,sound,volume,pitch - /*ExplosionNukeGeneric.detonateTestBomb(world, x, y, z, 175); - ExplosionNukeGeneric.vapor(world, x, y, z, 195); - ExplosionNukeGeneric.waste(world, x, y, z, 250); - ExplosionNukeGeneric.dealDamage(world, x, y, z, 195);*/ - - /*EntityNukeExplosion entity = new EntityNukeExplosion(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = 175; - entity.vaporRange = 195; - entity.wasteRange = 250; - entity.damageRange = 195; - - world.spawnEntityInWorld(entity);*/ - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = MainRegistry.manRadius; - entity.speed = 25; - entity.coefficient = 10.0F; - - world.spawnEntityInWorld(entity); - - //ExplosionNukeAdvanced.mush(world, x, y, z); - - if (MainRegistry.enableNukeClouds) { - EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); - entity2.posX = x; - entity2.posY = y - 17; - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } else { - EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); - entity2.posX = x; - entity2.posY = y - 17; - entity2.posZ = z; - world.spawnEntityInWorld(entity2); - } - } - - return false; - } - - /*public void detonateTestBomb(World world, int x, int y, int z, int bombStartStrength) - { - //Rodol's awesome destruction code - int r = bombStartStrength; //radius of explosion (change this to bigger numbers for more epicness) - int r2 = r*r; //radius^2, for faster distance checks. (No sqrt needed for pythagoras) - int r22 = r2/2; //half of r^2, calculations outside the loop only get called once. Always pull out as many things from the loop as possible. - for (int xx = -r; xx < r; xx++) - { - int X = xx+x; //x coordinate we are working on - int XX = xx*xx; //more stuff for a faster distance check - for (int yy = -r; yy < r; yy++) - { - int Y = yy+y; //y coord - int YY = XX+yy*yy; - for (int zz = -r; zz < r; zz++) - { - int Z = zz+z; //z coord - int ZZ = YY+zz*zz; //final= x*x+y*y+z*z. remind you of anything? - if (ZZ= y) destruction(world, X, Y, Z); //destroy the block if its within the radius ...and if it's not bedrock :D - } //you can change the if statement to if (ZZ 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityNukeMan entity = (TileEntityNukeMan) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_man, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityNukeMan entity = (TileEntityNukeMan) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.isReady()) + { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z) + { + if (!world.isRemote) { + /* + dealDamage(world,x,y,z, 30); + detonateTestBomb(world,x,y,z, 30); + vapor(world,x,y,z, 30); + dealDamage(world,x,y,z, 60); + detonateTestBomb(world,x,y,z, 60); + vapor(world,x,y,z, 60); + dealDamage(world,x,y,z, 90); + detonateTestBomb(world,x,y,z, 90); + vapor(world,x,y,z, 90); + dealDamage(world,x,y,z, 120); + detonateTestBomb(world,x,y,z, 120); + vapor(world,x,y,z, 120); + */ + tetn.clearSlots(); + //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns a huge explosion particle + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); //x,y,z,sound,volume,pitch + /*ExplosionNukeGeneric.detonateTestBomb(world, x, y, z, 175); + ExplosionNukeGeneric.vapor(world, x, y, z, 195); + ExplosionNukeGeneric.waste(world, x, y, z, 250); + ExplosionNukeGeneric.dealDamage(world, x, y, z, 195);*/ + + /*EntityNukeExplosion entity = new EntityNukeExplosion(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = 175; + entity.vaporRange = 195; + entity.wasteRange = 250; + entity.damageRange = 195; + + world.spawnEntityInWorld(entity);*/ + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = MainRegistry.manRadius; + entity.speed = 25; + entity.coefficient = 10.0F; + + world.spawnEntityInWorld(entity); + + //ExplosionNukeAdvanced.mush(world, x, y, z); + + if (MainRegistry.enableNukeClouds) { + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); + entity2.posX = x; + entity2.posY = y - 17; + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - 17; + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } + + return false; + } + + /*public void detonateTestBomb(World world, int x, int y, int z, int bombStartStrength) + { + //Rodol's awesome destruction code + int r = bombStartStrength; //radius of explosion (change this to bigger numbers for more epicness) + int r2 = r*r; //radius^2, for faster distance checks. (No sqrt needed for pythagoras) + int r22 = r2/2; //half of r^2, calculations outside the loop only get called once. Always pull out as many things from the loop as possible. + for (int xx = -r; xx < r; xx++) + { + int X = xx+x; //x coordinate we are working on + int XX = xx*xx; //more stuff for a faster distance check + for (int yy = -r; yy < r; yy++) + { + int Y = yy+y; //y coord + int YY = XX+yy*yy; + for (int zz = -r; zz < r; zz++) + { + int Z = zz+z; //z coord + int ZZ = YY+zz*zz; //final= x*x+y*y+z*z. remind you of anything? + if (ZZ= y) destruction(world, X, Y, Z); //destroy the block if its within the radius ...and if it's not bedrock :D + } //you can change the if statement to if (ZZ 0) { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, + p_149749_4_ + f2, + new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) { + entityitem.getEntityItem() + .setTagCompound((NBTTagCompound) itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float) this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float) this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float) this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, + float hitY, float hitZ) { + if (world.isRemote) { + return true; + } else if (!player.isSneaking()) { + TileEntityNukeMike entity = (TileEntityNukeMike) world.getTileEntity(x, y, z); + if (entity != null) { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_mike, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) { + TileEntityNukeMike entity = (TileEntityNukeMike) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) { + if (entity.isReady() && !entity.isFilled()) { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.manRadius); + } + + if (entity.isFilled()) { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.mikeRadius); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z, int r) { + if (!world.isRemote) { + tetn.clearSlots(); + // world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = r; + entity.speed = 25; + entity.coefficient = 10.0F; + + world.spawnEntityInWorld(entity); + + if (MainRegistry.enableNukeClouds) { + if (r < 200) { + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000); + entity2.posX = x; + entity2.posY = y - (r / 10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } else { + EntityNukeCloudBig entity2 = new EntityNukeCloudBig(world, 1000); + entity2.posX = x; + entity2.posY = y - (r / 10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + } else { + EntityNukeCloudSmall entity2 = new EntityNukeCloudNoShroom(world, 1000); + entity2.posX = x; + entity2.posY = y - (r / 10); + entity2.posZ = z; + world.spawnEntityInWorld(entity2); + } + + // ExplosionNukeAdvanced.mush(world, x, y, z); + } + + return false; + } + + @Override + public int getRenderType() { + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if (i == 0) { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if (i == 1) { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if (i == 2) { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if (i == 3) { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + public void explode(World world, int x, int y, int z) { + TileEntityNukeMike entity = (TileEntityNukeMike) world.getTileEntity(x, y, z); + // if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if (entity.isReady() && !entity.isFilled()) { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z, MainRegistry.manRadius); + } + + if (entity.isFilled()) { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z, MainRegistry.mikeRadius); + } + } + } + +} diff --git a/com/hbm/blocks/NukePrototype.java b/com/hbm/blocks/bomb/NukePrototype.java similarity index 95% rename from com/hbm/blocks/NukePrototype.java rename to com/hbm/blocks/bomb/NukePrototype.java index 1d50cd5db..0fa7bdec3 100644 --- a/com/hbm/blocks/NukePrototype.java +++ b/com/hbm/blocks/bomb/NukePrototype.java @@ -1,227 +1,228 @@ -package com.hbm.blocks; - -import java.util.HashMap; -import java.util.Map; -import java.util.Random; - -import com.hbm.entity.effect.EntityCloudFleija; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.interfaces.IBomb; -import com.hbm.items.ModItems; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityNukePrototype; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class NukePrototype extends BlockContainer implements IBomb { - - public TileEntityNukePrototype tetn = new TileEntityNukePrototype(); - - private final Random field_149933_a = new Random(); - private static boolean keepInventory = false; - private Map field_77288_k = new HashMap(); - - protected NukePrototype(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityNukePrototype(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.nuke_prototype); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityNukePrototype tileentityfurnace = (TileEntityNukePrototype)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking() && player.getCurrentEquippedItem() != null && player.getCurrentEquippedItem().getItem() == ModItems.igniter) { - TileEntityNukePrototype entity = (TileEntityNukePrototype) world.getTileEntity(x, y, z); - if(entity.isReady()) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - entity.clearSlots(); - world.setBlockToAir(x, y, z); - igniteTestBomb(world, x, y, z, MainRegistry.prototypeRadius); - } - return true; - } else if(!player.isSneaking()) - { - TileEntityNukePrototype entity = (TileEntityNukePrototype) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_prototype, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityNukePrototype entity = (TileEntityNukePrototype) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.prototypeRadius); - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z, int r) - { - if (!world.isRemote) - { - tetn.clearSlots(); - //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = r; - entity.speed = 25; - entity.coefficient = 1.0F; - entity.waste = false; - - world.spawnEntityInWorld(entity); - - EntityCloudFleija cloud = new EntityCloudFleija(world, r); - cloud.posX = x; - cloud.posY = y; - cloud.posZ = z; - world.spawnEntityInWorld(cloud); - } - - return false; - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - } - - public void explode(World world, int x, int y, int z) { - TileEntityNukePrototype entity = (TileEntityNukePrototype) world.getTileEntity(x, y, z); - //if (world.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady()) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - entity.clearSlots(); - world.setBlockToAir(x, y, z); - igniteTestBomb(world, x, y, z, MainRegistry.prototypeRadius); - } - } - } - -} +package com.hbm.blocks.bomb; + +import java.util.HashMap; +import java.util.Map; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.interfaces.IBomb; +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityNukePrototype; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class NukePrototype extends BlockContainer implements IBomb { + + public TileEntityNukePrototype tetn = new TileEntityNukePrototype(); + + private final Random field_149933_a = new Random(); + private static boolean keepInventory = false; + private Map field_77288_k = new HashMap(); + + public NukePrototype(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityNukePrototype(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.nuke_prototype); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityNukePrototype tileentityfurnace = (TileEntityNukePrototype)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking() && player.getCurrentEquippedItem() != null && player.getCurrentEquippedItem().getItem() == ModItems.igniter) { + TileEntityNukePrototype entity = (TileEntityNukePrototype) world.getTileEntity(x, y, z); + if(entity.isReady()) + { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z, MainRegistry.prototypeRadius); + } + return true; + } else if(!player.isSneaking()) + { + TileEntityNukePrototype entity = (TileEntityNukePrototype) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_prototype, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityNukePrototype entity = (TileEntityNukePrototype) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.isReady()) + { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.prototypeRadius); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z, int r) + { + if (!world.isRemote) + { + tetn.clearSlots(); + //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = r; + entity.speed = 25; + entity.coefficient = 1.0F; + entity.waste = false; + + world.spawnEntityInWorld(entity); + + EntityCloudFleija cloud = new EntityCloudFleija(world, r); + cloud.posX = x; + cloud.posY = y; + cloud.posZ = z; + world.spawnEntityInWorld(cloud); + } + + return false; + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + public void explode(World world, int x, int y, int z) { + TileEntityNukePrototype entity = (TileEntityNukePrototype) world.getTileEntity(x, y, z); + //if (world.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.isReady()) + { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z, MainRegistry.prototypeRadius); + } + } + } + +} diff --git a/com/hbm/blocks/NukeTsar.java b/com/hbm/blocks/bomb/NukeTsar.java similarity index 95% rename from com/hbm/blocks/NukeTsar.java rename to com/hbm/blocks/bomb/NukeTsar.java index 4a5b6dfeb..ed04f65af 100644 --- a/com/hbm/blocks/NukeTsar.java +++ b/com/hbm/blocks/bomb/NukeTsar.java @@ -1,226 +1,227 @@ -package com.hbm.blocks; - -import java.util.HashMap; -import java.util.Map; -import java.util.Random; - -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.interfaces.IBomb; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityNukeTsar; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class NukeTsar extends BlockContainer implements IBomb { - - public TileEntityNukeTsar tetn = new TileEntityNukeTsar(); - - private final Random field_149933_a = new Random(); - private static boolean keepInventory = false; - private Map field_77288_k = new HashMap(); - - protected NukeTsar(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityNukeTsar(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.nuke_tsar); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityNukeTsar tileentityfurnace = (TileEntityNukeTsar)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityNukeTsar entity = (TileEntityNukeTsar) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_tsar, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityNukeTsar entity = (TileEntityNukeTsar) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady() && !entity.isFilled()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.manRadius); - } - - if(entity.isFilled()) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.tsarRadius); - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z, int r) - { - if (!world.isRemote) - { - tetn.clearSlots(); - //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = r; - entity.speed = 25; - entity.coefficient = 10.0F; - - world.spawnEntityInWorld(entity); - - //ExplosionNukeAdvanced.mush(world, x, y, z); - } - - return false; - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - } - - public void explode(World world, int x, int y, int z) { - TileEntityNukeTsar entity = (TileEntityNukeTsar) world.getTileEntity(x, y, z); - //if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.isReady() && !entity.isFilled()) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - entity.clearSlots(); - world.setBlockToAir(x, y, z); - igniteTestBomb(world, x, y, z, MainRegistry.manRadius); - } - - if(entity.isFilled()) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - entity.clearSlots(); - world.setBlockToAir(x, y, z); - igniteTestBomb(world, x, y, z, MainRegistry.tsarRadius); - } - } - } - -} +package com.hbm.blocks.bomb; + +import java.util.HashMap; +import java.util.Map; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.interfaces.IBomb; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityNukeTsar; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class NukeTsar extends BlockContainer implements IBomb { + + public TileEntityNukeTsar tetn = new TileEntityNukeTsar(); + + private final Random field_149933_a = new Random(); + private static boolean keepInventory = false; + private Map field_77288_k = new HashMap(); + + public NukeTsar(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityNukeTsar(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.nuke_tsar); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityNukeTsar tileentityfurnace = (TileEntityNukeTsar)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityNukeTsar entity = (TileEntityNukeTsar) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_tsar, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityNukeTsar entity = (TileEntityNukeTsar) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.isReady() && !entity.isFilled()) + { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.manRadius); + } + + if(entity.isFilled()) + { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + igniteTestBomb(p_149695_1_, x, y, z, MainRegistry.tsarRadius); + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z, int r) + { + if (!world.isRemote) + { + tetn.clearSlots(); + //world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = r; + entity.speed = 25; + entity.coefficient = 10.0F; + + world.spawnEntityInWorld(entity); + + //ExplosionNukeAdvanced.mush(world, x, y, z); + } + + return false; + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + } + + public void explode(World world, int x, int y, int z) { + TileEntityNukeTsar entity = (TileEntityNukeTsar) world.getTileEntity(x, y, z); + //if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.isReady() && !entity.isFilled()) + { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z, MainRegistry.manRadius); + } + + if(entity.isFilled()) + { + this.onBlockDestroyedByPlayer(world, x, y, z, 1); + entity.clearSlots(); + world.setBlockToAir(x, y, z); + igniteTestBomb(world, x, y, z, MainRegistry.tsarRadius); + } + } + } + +} diff --git a/com/hbm/blocks/AcidBlock.java b/com/hbm/blocks/fluid/AcidBlock.java similarity index 95% rename from com/hbm/blocks/AcidBlock.java rename to com/hbm/blocks/fluid/AcidBlock.java index 3409b0b9c..cdb789bc9 100644 --- a/com/hbm/blocks/AcidBlock.java +++ b/com/hbm/blocks/fluid/AcidBlock.java @@ -1,119 +1,120 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.monster.EntityZombie; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.passive.EntityVillager; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.DamageSource; -import net.minecraft.util.IIcon; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; -import net.minecraftforge.fluids.BlockFluidClassic; -import net.minecraftforge.fluids.Fluid; - -public class AcidBlock extends BlockFluidClassic { - - @SideOnly(Side.CLIENT) - public static IIcon stillIcon; - @SideOnly(Side.CLIENT) - public static IIcon flowingIcon; - public Random rand = new Random(); - - public static DamageSource damageSource; - - public AcidBlock(Fluid fluid, Material material, DamageSource damage) { - super(fluid, material); - damageSource = damage; - setQuantaPerBlock(4); - setCreativeTab(null); - displacements.put(this, false); - } - - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int meta) { - return (side == 0 || side == 1) ? stillIcon : flowingIcon; - } - - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister register) { - stillIcon = register.registerIcon(RefStrings.MODID + ":acid_still"); - flowingIcon = register.registerIcon(RefStrings.MODID + ":acid_flowing"); - } - - @Override - public boolean canDisplace(IBlockAccess world, int x, int y, int z) { - - if (world.getBlock(x, y, z).getMaterial().isLiquid()) { - return false; - } - return super.canDisplace(world, x, y, z); - } - - @Override - public boolean displaceIfPossible(World world, int x, int y, int z) { - - if (world.getBlock(x, y, z).getMaterial().isLiquid()) { - return false; - } - return super.displaceIfPossible(world, x, y, z); - } - - public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) { - entity.setInWeb(); - entity.attackEntityFrom(ModDamageSource.acid, 10000F); - } - - public void updateTick(World world, int x, int y, int z, Random rand) { - super.updateTick(world, x, y, z, rand); - - reactToBlocks(world, x + 1, y, z); - reactToBlocks(world, x - 1, y, z); - reactToBlocks(world, x, y + 1, z); - reactToBlocks(world, x, y - 1, z); - reactToBlocks(world, x, y, z + 1); - reactToBlocks(world, x, y, z - 1); - } - - @Override - public void onNeighborBlockChange(World world, int x, int y, int z, Block block) - { - super.onNeighborBlockChange(world, x, y, z, block); - - reactToBlocks(world, x + 1, y, z); - reactToBlocks(world, x - 1, y, z); - reactToBlocks(world, x, y + 1, z); - reactToBlocks(world, x, y - 1, z); - reactToBlocks(world, x, y, z + 1); - reactToBlocks(world, x, y, z - 1); - } - - public void reactToBlocks(World world, int x, int y, int z) { - if(world.getBlock(x, y, z) != ModBlocks.acid_block) { - world.setBlock(x, y, z, Blocks.air); - } - } - - public int tickRate(World p_149738_1_) { - return 5; - } - -} +package com.hbm.blocks.fluid; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.DamageSource; +import net.minecraft.util.IIcon; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; +import net.minecraftforge.fluids.BlockFluidClassic; +import net.minecraftforge.fluids.Fluid; + +public class AcidBlock extends BlockFluidClassic { + + @SideOnly(Side.CLIENT) + public static IIcon stillIcon; + @SideOnly(Side.CLIENT) + public static IIcon flowingIcon; + public Random rand = new Random(); + + public static DamageSource damageSource; + + public AcidBlock(Fluid fluid, Material material, DamageSource damage) { + super(fluid, material); + damageSource = damage; + setQuantaPerBlock(4); + setCreativeTab(null); + displacements.put(this, false); + } + + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int meta) { + return (side == 0 || side == 1) ? stillIcon : flowingIcon; + } + + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister register) { + stillIcon = register.registerIcon(RefStrings.MODID + ":acid_still"); + flowingIcon = register.registerIcon(RefStrings.MODID + ":acid_flowing"); + } + + @Override + public boolean canDisplace(IBlockAccess world, int x, int y, int z) { + + if (world.getBlock(x, y, z).getMaterial().isLiquid()) { + return false; + } + return super.canDisplace(world, x, y, z); + } + + @Override + public boolean displaceIfPossible(World world, int x, int y, int z) { + + if (world.getBlock(x, y, z).getMaterial().isLiquid()) { + return false; + } + return super.displaceIfPossible(world, x, y, z); + } + + public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) { + entity.setInWeb(); + entity.attackEntityFrom(ModDamageSource.acid, 10000F); + } + + public void updateTick(World world, int x, int y, int z, Random rand) { + super.updateTick(world, x, y, z, rand); + + reactToBlocks(world, x + 1, y, z); + reactToBlocks(world, x - 1, y, z); + reactToBlocks(world, x, y + 1, z); + reactToBlocks(world, x, y - 1, z); + reactToBlocks(world, x, y, z + 1); + reactToBlocks(world, x, y, z - 1); + } + + @Override + public void onNeighborBlockChange(World world, int x, int y, int z, Block block) + { + super.onNeighborBlockChange(world, x, y, z, block); + + reactToBlocks(world, x + 1, y, z); + reactToBlocks(world, x - 1, y, z); + reactToBlocks(world, x, y + 1, z); + reactToBlocks(world, x, y - 1, z); + reactToBlocks(world, x, y, z + 1); + reactToBlocks(world, x, y, z - 1); + } + + public void reactToBlocks(World world, int x, int y, int z) { + if(world.getBlock(x, y, z) != ModBlocks.acid_block) { + world.setBlock(x, y, z, Blocks.air); + } + } + + public int tickRate(World p_149738_1_) { + return 5; + } + +} diff --git a/com/hbm/blocks/AcidFluid.java b/com/hbm/blocks/fluid/AcidFluid.java similarity index 90% rename from com/hbm/blocks/AcidFluid.java rename to com/hbm/blocks/fluid/AcidFluid.java index a9747f278..f8f72aea5 100644 --- a/com/hbm/blocks/AcidFluid.java +++ b/com/hbm/blocks/fluid/AcidFluid.java @@ -1,28 +1,28 @@ -package com.hbm.blocks; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.util.IIcon; -import net.minecraftforge.fluids.Fluid; - -public class AcidFluid extends Fluid { - - public AcidFluid() { - super("acid_fluid"); - } - - @SideOnly(Side.CLIENT) - public IIcon getIcon() { - return getStillIcon(); - } - - @SideOnly(Side.CLIENT) - public IIcon getStillIcon() { - return AcidBlock.stillIcon; - } - - @SideOnly(Side.CLIENT) - public IIcon getFlowingIcon() { - return AcidBlock.flowingIcon; - } -} +package com.hbm.blocks.fluid; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.util.IIcon; +import net.minecraftforge.fluids.Fluid; + +public class AcidFluid extends Fluid { + + public AcidFluid() { + super("acid_fluid"); + } + + @SideOnly(Side.CLIENT) + public IIcon getIcon() { + return getStillIcon(); + } + + @SideOnly(Side.CLIENT) + public IIcon getStillIcon() { + return AcidBlock.stillIcon; + } + + @SideOnly(Side.CLIENT) + public IIcon getFlowingIcon() { + return AcidBlock.flowingIcon; + } +} diff --git a/com/hbm/blocks/MudBlock.java b/com/hbm/blocks/fluid/MudBlock.java similarity index 96% rename from com/hbm/blocks/MudBlock.java rename to com/hbm/blocks/fluid/MudBlock.java index 2c0c10169..70410a8e4 100644 --- a/com/hbm/blocks/MudBlock.java +++ b/com/hbm/blocks/fluid/MudBlock.java @@ -1,218 +1,219 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.monster.EntityZombie; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.passive.EntityVillager; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.DamageSource; -import net.minecraft.util.IIcon; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; -import net.minecraftforge.fluids.BlockFluidClassic; -import net.minecraftforge.fluids.Fluid; - -public class MudBlock extends BlockFluidClassic { - - @SideOnly(Side.CLIENT) - public static IIcon stillIcon; - @SideOnly(Side.CLIENT) - public static IIcon flowingIcon; - public Random rand = new Random(); - - public static DamageSource damageSource; - - public MudBlock(Fluid fluid, Material material, DamageSource damage) { - super(fluid, material); - damageSource = damage; - setQuantaPerBlock(4); - setCreativeTab(null); - displacements.put(this, false); - } - - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int meta) { - return (side == 0 || side == 1) ? stillIcon : flowingIcon; - } - - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister register) { - stillIcon = register.registerIcon(RefStrings.MODID + ":mud_still"); - flowingIcon = register.registerIcon(RefStrings.MODID + ":mud_flowing"); - } - - @Override - public boolean canDisplace(IBlockAccess world, int x, int y, int z) { - - if (world.getBlock(x, y, z).getMaterial().isLiquid()) { - return false; - } - return super.canDisplace(world, x, y, z); - } - - @Override - public boolean displaceIfPossible(World world, int x, int y, int z) { - - if (world.getBlock(x, y, z).getMaterial().isLiquid()) { - return false; - } - return super.displaceIfPossible(world, x, y, z); - } - - public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) { - entity.setInWeb(); - // if(entity instanceof EntityLivingBase) - // { - // entity.attackEntityFrom(ModDamageSource.mudPoisoning, 8); - // } - if (entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer) entity)) { - /* - * Library.damageSuit(((EntityPlayer)entity), 0); - * Library.damageSuit(((EntityPlayer)entity), 1); - * Library.damageSuit(((EntityPlayer)entity), 2); - * Library.damageSuit(((EntityPlayer)entity), 3); - */ - - } else if (entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(world); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - if (!entity.isDead) - if (!world.isRemote) - world.spawnEntityInWorld(creep); - entity.setDead(); - } else if (entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(world); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if (!world.isRemote) - world.spawnEntityInWorld(creep); - } else if (entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) - && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { - entity.attackEntityFrom(ModDamageSource.mudPoisoning, 8); - } - } - - public void updateTick(World world, int x, int y, int z, Random rand) { - super.updateTick(world, x, y, z, rand); - - reactToBlocks2(world, x + 1, y, z); - reactToBlocks2(world, x - 1, y, z); - reactToBlocks2(world, x, y + 1, z); - reactToBlocks2(world, x, y - 1, z); - reactToBlocks2(world, x, y, z + 1); - reactToBlocks2(world, x, y, z - 1); - } - - @Override - public void onNeighborBlockChange(World world, int x, int y, int z, Block block) - { - super.onNeighborBlockChange(world, x, y, z, block); - - reactToBlocks(world, x + 1, y, z); - reactToBlocks(world, x - 1, y, z); - reactToBlocks(world, x, y + 1, z); - reactToBlocks(world, x, y - 1, z); - reactToBlocks(world, x, y, z + 1); - reactToBlocks(world, x, y, z - 1); - } - - public void reactToBlocks(World world, int x, int y, int z) { - if(world.getBlock(x, y, z).getMaterial() != ModBlocks.fluidmud) { - Block block = world.getBlock(x, y, z); - - if(block.getMaterial().isLiquid()) { - world.setBlock(x, y, z, Blocks.air); - } - } - } - - public void reactToBlocks2(World world, int x, int y, int z) { - if(world.getBlock(x, y, z).getMaterial() != ModBlocks.fluidmud) { - Block block = world.getBlock(x, y, z); - - if (block == Blocks.stone || - block == Blocks.stone_brick_stairs || - block == Blocks.stonebrick || - block == Blocks.stone_slab || - block == Blocks.stone) { - if(rand.nextInt(20) == 0) - world.setBlock(x, y, z, Blocks.cobblestone); - } else if (block == Blocks.cobblestone) { - if(rand.nextInt(15) == 0) - world.setBlock(x, y, z, Blocks.gravel); - } else if (block == Blocks.sandstone) { - if(rand.nextInt(5) == 0) - world.setBlock(x, y, z, Blocks.sand); - } else if (block == Blocks.hardened_clay || - block == Blocks.stained_hardened_clay) { - if(rand.nextInt(10) == 0) - world.setBlock(x, y, z, Blocks.clay); - } else if (block.getMaterial() == Material.wood) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.cactus) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.cake) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.circuits) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.cloth) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.coral) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.craftedSnow) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.glass) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.gourd) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.ice) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.leaves) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.packedIce) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.piston) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.plants) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.portal) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.redstoneLight) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.snow) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.sponge) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.vine) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getMaterial() == Material.web) { - world.setBlock(x, y, z, Blocks.air); - } else if (block.getExplosionResistance(null) < 1.2F) { - world.setBlock(x, y, z, Blocks.air); - } - } - } - - public int tickRate(World p_149738_1_) { - return 15; - } - -} +package com.hbm.blocks.fluid; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.DamageSource; +import net.minecraft.util.IIcon; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; +import net.minecraftforge.fluids.BlockFluidClassic; +import net.minecraftforge.fluids.Fluid; + +public class MudBlock extends BlockFluidClassic { + + @SideOnly(Side.CLIENT) + public static IIcon stillIcon; + @SideOnly(Side.CLIENT) + public static IIcon flowingIcon; + public Random rand = new Random(); + + public static DamageSource damageSource; + + public MudBlock(Fluid fluid, Material material, DamageSource damage) { + super(fluid, material); + damageSource = damage; + setQuantaPerBlock(4); + setCreativeTab(null); + displacements.put(this, false); + } + + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int meta) { + return (side == 0 || side == 1) ? stillIcon : flowingIcon; + } + + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister register) { + stillIcon = register.registerIcon(RefStrings.MODID + ":mud_still"); + flowingIcon = register.registerIcon(RefStrings.MODID + ":mud_flowing"); + } + + @Override + public boolean canDisplace(IBlockAccess world, int x, int y, int z) { + + if (world.getBlock(x, y, z).getMaterial().isLiquid()) { + return false; + } + return super.canDisplace(world, x, y, z); + } + + @Override + public boolean displaceIfPossible(World world, int x, int y, int z) { + + if (world.getBlock(x, y, z).getMaterial().isLiquid()) { + return false; + } + return super.displaceIfPossible(world, x, y, z); + } + + public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) { + entity.setInWeb(); + // if(entity instanceof EntityLivingBase) + // { + // entity.attackEntityFrom(ModDamageSource.mudPoisoning, 8); + // } + if (entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer) entity)) { + /* + * Library.damageSuit(((EntityPlayer)entity), 0); + * Library.damageSuit(((EntityPlayer)entity), 1); + * Library.damageSuit(((EntityPlayer)entity), 2); + * Library.damageSuit(((EntityPlayer)entity), 3); + */ + + } else if (entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(world); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + if (!entity.isDead) + if (!world.isRemote) + world.spawnEntityInWorld(creep); + entity.setDead(); + } else if (entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(world); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if (!world.isRemote) + world.spawnEntityInWorld(creep); + } else if (entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) + && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { + entity.attackEntityFrom(ModDamageSource.mudPoisoning, 8); + } + } + + public void updateTick(World world, int x, int y, int z, Random rand) { + super.updateTick(world, x, y, z, rand); + + reactToBlocks2(world, x + 1, y, z); + reactToBlocks2(world, x - 1, y, z); + reactToBlocks2(world, x, y + 1, z); + reactToBlocks2(world, x, y - 1, z); + reactToBlocks2(world, x, y, z + 1); + reactToBlocks2(world, x, y, z - 1); + } + + @Override + public void onNeighborBlockChange(World world, int x, int y, int z, Block block) + { + super.onNeighborBlockChange(world, x, y, z, block); + + reactToBlocks(world, x + 1, y, z); + reactToBlocks(world, x - 1, y, z); + reactToBlocks(world, x, y + 1, z); + reactToBlocks(world, x, y - 1, z); + reactToBlocks(world, x, y, z + 1); + reactToBlocks(world, x, y, z - 1); + } + + public void reactToBlocks(World world, int x, int y, int z) { + if(world.getBlock(x, y, z).getMaterial() != ModBlocks.fluidmud) { + Block block = world.getBlock(x, y, z); + + if(block.getMaterial().isLiquid()) { + world.setBlock(x, y, z, Blocks.air); + } + } + } + + public void reactToBlocks2(World world, int x, int y, int z) { + if(world.getBlock(x, y, z).getMaterial() != ModBlocks.fluidmud) { + Block block = world.getBlock(x, y, z); + + if (block == Blocks.stone || + block == Blocks.stone_brick_stairs || + block == Blocks.stonebrick || + block == Blocks.stone_slab || + block == Blocks.stone) { + if(rand.nextInt(20) == 0) + world.setBlock(x, y, z, Blocks.cobblestone); + } else if (block == Blocks.cobblestone) { + if(rand.nextInt(15) == 0) + world.setBlock(x, y, z, Blocks.gravel); + } else if (block == Blocks.sandstone) { + if(rand.nextInt(5) == 0) + world.setBlock(x, y, z, Blocks.sand); + } else if (block == Blocks.hardened_clay || + block == Blocks.stained_hardened_clay) { + if(rand.nextInt(10) == 0) + world.setBlock(x, y, z, Blocks.clay); + } else if (block.getMaterial() == Material.wood) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.cactus) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.cake) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.circuits) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.cloth) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.coral) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.craftedSnow) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.glass) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.gourd) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.ice) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.leaves) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.packedIce) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.piston) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.plants) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.portal) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.redstoneLight) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.snow) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.sponge) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.vine) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getMaterial() == Material.web) { + world.setBlock(x, y, z, Blocks.air); + } else if (block.getExplosionResistance(null) < 1.2F) { + world.setBlock(x, y, z, Blocks.air); + } + } + } + + public int tickRate(World p_149738_1_) { + return 15; + } + +} diff --git a/com/hbm/blocks/MudFluid.java b/com/hbm/blocks/fluid/MudFluid.java similarity index 90% rename from com/hbm/blocks/MudFluid.java rename to com/hbm/blocks/fluid/MudFluid.java index f4420846c..78e5ac920 100644 --- a/com/hbm/blocks/MudFluid.java +++ b/com/hbm/blocks/fluid/MudFluid.java @@ -1,28 +1,28 @@ -package com.hbm.blocks; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.util.IIcon; -import net.minecraftforge.fluids.Fluid; - -public class MudFluid extends Fluid { - - public MudFluid() { - super("mud_fluid"); - } - - @SideOnly(Side.CLIENT) - public IIcon getIcon() { - return getStillIcon(); - } - - @SideOnly(Side.CLIENT) - public IIcon getStillIcon() { - return MudBlock.stillIcon; - } - - @SideOnly(Side.CLIENT) - public IIcon getFlowingIcon() { - return MudBlock.flowingIcon; - } -} +package com.hbm.blocks.fluid; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.util.IIcon; +import net.minecraftforge.fluids.Fluid; + +public class MudFluid extends Fluid { + + public MudFluid() { + super("mud_fluid"); + } + + @SideOnly(Side.CLIENT) + public IIcon getIcon() { + return getStillIcon(); + } + + @SideOnly(Side.CLIENT) + public IIcon getStillIcon() { + return MudBlock.stillIcon; + } + + @SideOnly(Side.CLIENT) + public IIcon getFlowingIcon() { + return MudBlock.flowingIcon; + } +} diff --git a/com/hbm/blocks/ToxicBlock.java b/com/hbm/blocks/fluid/ToxicBlock.java similarity index 95% rename from com/hbm/blocks/ToxicBlock.java rename to com/hbm/blocks/fluid/ToxicBlock.java index 4e36f9aeb..aba1a2f1a 100644 --- a/com/hbm/blocks/ToxicBlock.java +++ b/com/hbm/blocks/fluid/ToxicBlock.java @@ -1,145 +1,146 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.monster.EntityZombie; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.passive.EntityVillager; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.DamageSource; -import net.minecraft.util.IIcon; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; -import net.minecraftforge.fluids.BlockFluidClassic; -import net.minecraftforge.fluids.Fluid; - -public class ToxicBlock extends BlockFluidClassic { - - @SideOnly(Side.CLIENT) - public static IIcon stillIcon; - @SideOnly(Side.CLIENT) - public static IIcon flowingIcon; - public Random rand = new Random(); - - public static DamageSource damageSource; - - public ToxicBlock(Fluid fluid, Material material, DamageSource damage) { - super(fluid, material); - damageSource = damage; - setQuantaPerBlock(4); - setCreativeTab(null); - displacements.put(this, false); - } - - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int meta) { - return (side == 0 || side == 1) ? stillIcon : flowingIcon; - } - - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister register) { - stillIcon = register.registerIcon(RefStrings.MODID + ":toxic_still"); - flowingIcon = register.registerIcon(RefStrings.MODID + ":toxic_flowing"); - } - - @Override - public boolean canDisplace(IBlockAccess world, int x, int y, int z) { - - if (world.getBlock(x, y, z).getMaterial().isLiquid()) { - return false; - } - return super.canDisplace(world, x, y, z); - } - - @Override - public boolean displaceIfPossible(World world, int x, int y, int z) { - - if (world.getBlock(x, y, z).getMaterial().isLiquid()) { - return false; - } - return super.displaceIfPossible(world, x, y, z); - } - - public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) { - entity.setInWeb(); - // if(entity instanceof EntityLivingBase) - // { - // entity.attackEntityFrom(ModDamageSource.mudPoisoning, 8); - // } - if (entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer) entity)) { - /* - * Library.damageSuit(((EntityPlayer)entity), 0); - * Library.damageSuit(((EntityPlayer)entity), 1); - * Library.damageSuit(((EntityPlayer)entity), 2); - * Library.damageSuit(((EntityPlayer)entity), 3); - */ - - } else if (entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(world); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - if (!entity.isDead) - if (!world.isRemote) - world.spawnEntityInWorld(creep); - entity.setDead(); - } else if (entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(world); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if (!world.isRemote) - world.spawnEntityInWorld(creep); - } else if (entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) - && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { - entity.attackEntityFrom(ModDamageSource.radiation, 2.5F); - } - } - - @Override - public void onNeighborBlockChange(World world, int x, int y, int z, Block block) - { - super.onNeighborBlockChange(world, x, y, z, block); - - if(reactToBlocks(world, x + 1, y, z)) - world.setBlock(x, y, z, ModBlocks.block_waste); - if(reactToBlocks(world, x - 1, y, z)) - world.setBlock(x, y, z, ModBlocks.block_waste); - if(reactToBlocks(world, x, y + 1, z)) - world.setBlock(x, y, z, ModBlocks.block_waste); - if(reactToBlocks(world, x, y - 1, z)) - world.setBlock(x, y, z, ModBlocks.block_waste); - if(reactToBlocks(world, x, y, z + 1)) - world.setBlock(x, y, z, ModBlocks.block_waste); - if(reactToBlocks(world, x, y, z - 1)) - world.setBlock(x, y, z, ModBlocks.block_waste); - } - - public boolean reactToBlocks(World world, int x, int y, int z) { - if(world.getBlock(x, y, z).getMaterial() != ModBlocks.fluidtoxic) { - if(world.getBlock(x, y, z).getMaterial().isLiquid()) { - return true; - } - } - return false; - } - - public int tickRate(World p_149738_1_) { - return 15; - } - -} +package com.hbm.blocks.fluid; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.DamageSource; +import net.minecraft.util.IIcon; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; +import net.minecraftforge.fluids.BlockFluidClassic; +import net.minecraftforge.fluids.Fluid; + +public class ToxicBlock extends BlockFluidClassic { + + @SideOnly(Side.CLIENT) + public static IIcon stillIcon; + @SideOnly(Side.CLIENT) + public static IIcon flowingIcon; + public Random rand = new Random(); + + public static DamageSource damageSource; + + public ToxicBlock(Fluid fluid, Material material, DamageSource damage) { + super(fluid, material); + damageSource = damage; + setQuantaPerBlock(4); + setCreativeTab(null); + displacements.put(this, false); + } + + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int meta) { + return (side == 0 || side == 1) ? stillIcon : flowingIcon; + } + + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister register) { + stillIcon = register.registerIcon(RefStrings.MODID + ":toxic_still"); + flowingIcon = register.registerIcon(RefStrings.MODID + ":toxic_flowing"); + } + + @Override + public boolean canDisplace(IBlockAccess world, int x, int y, int z) { + + if (world.getBlock(x, y, z).getMaterial().isLiquid()) { + return false; + } + return super.canDisplace(world, x, y, z); + } + + @Override + public boolean displaceIfPossible(World world, int x, int y, int z) { + + if (world.getBlock(x, y, z).getMaterial().isLiquid()) { + return false; + } + return super.displaceIfPossible(world, x, y, z); + } + + public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) { + entity.setInWeb(); + // if(entity instanceof EntityLivingBase) + // { + // entity.attackEntityFrom(ModDamageSource.mudPoisoning, 8); + // } + if (entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer) entity)) { + /* + * Library.damageSuit(((EntityPlayer)entity), 0); + * Library.damageSuit(((EntityPlayer)entity), 1); + * Library.damageSuit(((EntityPlayer)entity), 2); + * Library.damageSuit(((EntityPlayer)entity), 3); + */ + + } else if (entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(world); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + if (!entity.isDead) + if (!world.isRemote) + world.spawnEntityInWorld(creep); + entity.setDead(); + } else if (entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(world); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if (!world.isRemote) + world.spawnEntityInWorld(creep); + } else if (entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) + && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { + entity.attackEntityFrom(ModDamageSource.radiation, 2.5F); + } + } + + @Override + public void onNeighborBlockChange(World world, int x, int y, int z, Block block) + { + super.onNeighborBlockChange(world, x, y, z, block); + + if(reactToBlocks(world, x + 1, y, z)) + world.setBlock(x, y, z, ModBlocks.block_waste); + if(reactToBlocks(world, x - 1, y, z)) + world.setBlock(x, y, z, ModBlocks.block_waste); + if(reactToBlocks(world, x, y + 1, z)) + world.setBlock(x, y, z, ModBlocks.block_waste); + if(reactToBlocks(world, x, y - 1, z)) + world.setBlock(x, y, z, ModBlocks.block_waste); + if(reactToBlocks(world, x, y, z + 1)) + world.setBlock(x, y, z, ModBlocks.block_waste); + if(reactToBlocks(world, x, y, z - 1)) + world.setBlock(x, y, z, ModBlocks.block_waste); + } + + public boolean reactToBlocks(World world, int x, int y, int z) { + if(world.getBlock(x, y, z).getMaterial() != ModBlocks.fluidtoxic) { + if(world.getBlock(x, y, z).getMaterial().isLiquid()) { + return true; + } + } + return false; + } + + public int tickRate(World p_149738_1_) { + return 15; + } + +} diff --git a/com/hbm/blocks/ToxicFluid.java b/com/hbm/blocks/fluid/ToxicFluid.java similarity index 90% rename from com/hbm/blocks/ToxicFluid.java rename to com/hbm/blocks/fluid/ToxicFluid.java index 3d233fe4e..2d0f83ebf 100644 --- a/com/hbm/blocks/ToxicFluid.java +++ b/com/hbm/blocks/fluid/ToxicFluid.java @@ -1,28 +1,28 @@ -package com.hbm.blocks; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.util.IIcon; -import net.minecraftforge.fluids.Fluid; - -public class ToxicFluid extends Fluid { - - public ToxicFluid() { - super("toxic_fluid"); - } - - @SideOnly(Side.CLIENT) - public IIcon getIcon() { - return getStillIcon(); - } - - @SideOnly(Side.CLIENT) - public IIcon getStillIcon() { - return ToxicBlock.stillIcon; - } - - @SideOnly(Side.CLIENT) - public IIcon getFlowingIcon() { - return ToxicBlock.flowingIcon; - } -} +package com.hbm.blocks.fluid; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.util.IIcon; +import net.minecraftforge.fluids.Fluid; + +public class ToxicFluid extends Fluid { + + public ToxicFluid() { + super("toxic_fluid"); + } + + @SideOnly(Side.CLIENT) + public IIcon getIcon() { + return getStillIcon(); + } + + @SideOnly(Side.CLIENT) + public IIcon getStillIcon() { + return ToxicBlock.stillIcon; + } + + @SideOnly(Side.CLIENT) + public IIcon getFlowingIcon() { + return ToxicBlock.flowingIcon; + } +} diff --git a/com/hbm/blocks/generic/BlockCrate.java b/com/hbm/blocks/generic/BlockCrate.java new file mode 100644 index 000000000..f25394e11 --- /dev/null +++ b/com/hbm/blocks/generic/BlockCrate.java @@ -0,0 +1,107 @@ +package com.hbm.blocks.generic; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; + +import com.hbm.items.ModItems; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockFalling; +import net.minecraft.block.material.Material; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; + +public class BlockCrate extends BlockFalling { + + public BlockCrate(Material p_i45394_1_) { + super(p_i45394_1_); + } + + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return null; + } + + + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_) { + if(player.getHeldItem() != null && player.getHeldItem().getItem().equals(ModItems.crowbar)) + { + dropItems(world, x, y, z); + world.setBlockToAir(x, y, z); + world.playSoundEffect(x, y, z, "hbm:block.crateBreak", 1.0F, 1.0F); + return true; + } else { + if(world.isRemote) + { + player.addChatMessage(new ChatComponentText("I'll need a crate opening device to get the loot, smashing the whole thing won't work...")); + } + } + + return true; + } + + public void dropItems(World world, int x, int y, int z) { + Random rand = new Random(); + List list1 = new ArrayList(); + + list1 = this.addToListWithWeight(list1, ModItems.syringe_metal_stimpak, 10); + list1 = this.addToListWithWeight(list1, ModItems.syringe_antidote, 5); + list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_iron, 9); + list1 = this.addToListWithWeight(list1, ModItems.clip_revolver, 7); + list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_gold, 4); + list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_lead, 6); + list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_schrabidium, 1); + list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_cursed, 5); + list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_nightmare, 3); + list1 = this.addToListWithWeight(list1, ModItems.clip_revolver_nightmare2, 2); + list1 = this.addToListWithWeight(list1, ModItems.clip_rpg, 5); + list1 = this.addToListWithWeight(list1, ModItems.clip_fatman, 3); + list1 = this.addToListWithWeight(list1, ModItems.clip_mirv, 1); + list1 = this.addToListWithWeight(list1, ModItems.clip_bf, 0); + list1 = this.addToListWithWeight(list1, ModItems.clip_mp40, 7); + list1 = this.addToListWithWeight(list1, ModItems.clip_uboinik, 7); + list1 = this.addToListWithWeight(list1, ModItems.clip_osipr, 7); + list1 = this.addToListWithWeight(list1, ModItems.clip_immolator, 4); + list1 = this.addToListWithWeight(list1, ModItems.clip_cryolator, 4); + list1 = this.addToListWithWeight(list1, ModItems.clip_mp, 3); + list1 = this.addToListWithWeight(list1, ModItems.clip_xvl1456, 5); + list1 = this.addToListWithWeight(list1, ModItems.clip_emp, 3); + list1 = this.addToListWithWeight(list1, ModItems.grenade_generic, 8); + list1 = this.addToListWithWeight(list1, ModItems.grenade_strong, 6); + list1 = this.addToListWithWeight(list1, ModItems.grenade_mk2, 4); + list1 = this.addToListWithWeight(list1, ModItems.grenade_flare, 4); + + List list = new ArrayList(); + + int i = rand.nextInt(3) + 3; + for(int j = 0; j < i; j++) + list.add(list1.get(rand.nextInt(list1.size()))); + + for(Item stack : list) { + float f = rand.nextFloat() * 0.8F + 0.1F; + float f1 = rand.nextFloat() * 0.8F + 0.1F; + float f2 = rand.nextFloat() * 0.8F + 0.1F; + EntityItem entityitem = new EntityItem(world, x + f, y + f1, z + f2, new ItemStack(stack)); + + float f3 = 0.05F; + entityitem.motionX = (float)rand.nextGaussian() * f3; + entityitem.motionY = (float)rand.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)rand.nextGaussian() * f3; + if(!world.isRemote) + world.spawnEntityInWorld(entityitem); + } + } + + public static List addToListWithWeight(List list, Item item, int weight) { + for(int i = 0; i < weight; i++) + list.add(item); + + return list; + } +} diff --git a/com/hbm/blocks/BlockGeneric.java b/com/hbm/blocks/generic/BlockGeneric.java similarity index 63% rename from com/hbm/blocks/BlockGeneric.java rename to com/hbm/blocks/generic/BlockGeneric.java index 6f85ae124..49d01c824 100644 --- a/com/hbm/blocks/BlockGeneric.java +++ b/com/hbm/blocks/generic/BlockGeneric.java @@ -1,12 +1,12 @@ -package com.hbm.blocks; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; - -public class BlockGeneric extends Block { - - protected BlockGeneric(Material p_i45394_1_) { - super(p_i45394_1_); - } - -} +package com.hbm.blocks.generic; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; + +public class BlockGeneric extends Block { + + public BlockGeneric(Material p_i45394_1_) { + super(p_i45394_1_); + } + +} diff --git a/com/hbm/blocks/BlockMush.java b/com/hbm/blocks/generic/BlockMush.java similarity index 94% rename from com/hbm/blocks/BlockMush.java rename to com/hbm/blocks/generic/BlockMush.java index 6c30eb1e1..d766ca216 100644 --- a/com/hbm/blocks/BlockMush.java +++ b/com/hbm/blocks/generic/BlockMush.java @@ -1,139 +1,140 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.main.MainRegistry; -import com.hbm.world.HugeMush; - -import net.minecraft.block.Block; -import net.minecraft.block.IGrowable; -import net.minecraft.block.material.Material; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.world.World; - -public class BlockMush extends Block implements IGrowable { - - protected BlockMush(Material p_i45394_1_) { - super(p_i45394_1_); - float f = 0.2F; - this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 2.0F, 0.5F + f); - this.setTickRandomly(true); - } - - protected boolean canPlaceBlockOn(Block p_149854_1_) - { - return p_149854_1_.func_149730_j(); - } - - @Override - public boolean canPlaceBlockAt(World p_149742_1_, int p_149742_2_, int p_149742_3_, int p_149742_4_) - { - return super.canPlaceBlockAt(p_149742_1_, p_149742_2_, p_149742_3_, p_149742_4_) && this.canBlockStay(p_149742_1_, p_149742_2_, p_149742_3_, p_149742_4_); - } - - @Override - public boolean canBlockStay(World p_149718_1_, int p_149718_2_, int p_149718_3_, int p_149718_4_) - { - if (p_149718_3_ >= 0 && p_149718_3_ < 256) - { - Block block = p_149718_1_.getBlock(p_149718_2_, p_149718_3_ - 1, p_149718_4_); - return block == ModBlocks.waste_earth || block == ModBlocks.waste_mycelium; - } - else - { - return false; - } - } - - public boolean func_149884_c(World p_149884_1_, int p_149884_2_, int p_149884_3_, int p_149884_4_, Random p_149884_5_) - { - int l = p_149884_1_.getBlockMetadata(p_149884_2_, p_149884_3_, p_149884_4_); - p_149884_1_.setBlockToAir(p_149884_2_, p_149884_3_, p_149884_4_); - HugeMush worldgenbigmushroom = null; - - worldgenbigmushroom = new HugeMush(); - worldgenbigmushroom.generate(p_149884_1_, p_149884_5_, p_149884_2_, p_149884_3_, p_149884_4_); - - return true; - } - - @Override - public boolean func_149851_a(World p_149851_1_, int p_149851_2_, int p_149851_3_, int p_149851_4_, boolean p_149851_5_) - { - return true; - } - - @Override - public boolean func_149852_a(World p_149852_1_, Random p_149852_2_, int p_149852_3_, int p_149852_4_, int p_149852_5_) - { - return p_149852_2_.nextFloat() < 0.4D; - } - @Override - public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_) - { - return null; - } - - /** - * Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two - * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. - */ - @Override - public boolean isOpaqueCube() - { - return false; - } - - /** - * If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc) - */ - @Override - public boolean renderAsNormalBlock() - { - return false; - } - - /** - * The type of render function that is called for this block - */ - @Override - public int getRenderType() - { - return 1; - } - @Override - public void onNeighborBlockChange(World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_, Block p_149695_5_) - { - super.onNeighborBlockChange(p_149695_1_, p_149695_2_, p_149695_3_, p_149695_4_, p_149695_5_); - this.checkAndDropBlock(p_149695_1_, p_149695_2_, p_149695_3_, p_149695_4_); - } - - /** - * checks if the block can stay, if not drop as item - */ - protected void checkAndDropBlock(World p_149855_1_, int p_149855_2_, int p_149855_3_, int p_149855_4_) - { - if (!this.canBlockStay(p_149855_1_, p_149855_2_, p_149855_3_, p_149855_4_)) - { - this.dropBlockAsItem(p_149855_1_, p_149855_2_, p_149855_3_, p_149855_4_, p_149855_1_.getBlockMetadata(p_149855_2_, p_149855_3_, p_149855_4_), 0); - p_149855_1_.setBlock(p_149855_2_, p_149855_3_, p_149855_4_, getBlockById(0), 0, 2); - } - } - - @Override - public void updateTick(World world, int x, int y, int z, Random rand) - { - this.checkAndDropBlock(world, x, y, z); - if(world.getBlock(x, y - 1, z) == ModBlocks.waste_earth && rand.nextInt(5) == 0 && MainRegistry.enableMycelium) - { - world.setBlock(x, y - 1, z, ModBlocks.waste_mycelium); - } - } - - @Override - public void func_149853_b(World p_149853_1_, Random p_149853_2_, int p_149853_3_, int p_149853_4_, int p_149853_5_) - { - this.func_149884_c(p_149853_1_, p_149853_3_, p_149853_4_, p_149853_5_, p_149853_2_); - } - -} +package com.hbm.blocks.generic; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.main.MainRegistry; +import com.hbm.world.HugeMush; + +import net.minecraft.block.Block; +import net.minecraft.block.IGrowable; +import net.minecraft.block.material.Material; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.World; + +public class BlockMush extends Block implements IGrowable { + + public BlockMush(Material p_i45394_1_) { + super(p_i45394_1_); + float f = 0.2F; + this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 2.0F, 0.5F + f); + this.setTickRandomly(true); + } + + protected boolean canPlaceBlockOn(Block p_149854_1_) + { + return p_149854_1_.func_149730_j(); + } + + @Override + public boolean canPlaceBlockAt(World p_149742_1_, int p_149742_2_, int p_149742_3_, int p_149742_4_) + { + return super.canPlaceBlockAt(p_149742_1_, p_149742_2_, p_149742_3_, p_149742_4_) && this.canBlockStay(p_149742_1_, p_149742_2_, p_149742_3_, p_149742_4_); + } + + @Override + public boolean canBlockStay(World p_149718_1_, int p_149718_2_, int p_149718_3_, int p_149718_4_) + { + if (p_149718_3_ >= 0 && p_149718_3_ < 256) + { + Block block = p_149718_1_.getBlock(p_149718_2_, p_149718_3_ - 1, p_149718_4_); + return block == ModBlocks.waste_earth || block == ModBlocks.waste_mycelium; + } + else + { + return false; + } + } + + public boolean func_149884_c(World p_149884_1_, int p_149884_2_, int p_149884_3_, int p_149884_4_, Random p_149884_5_) + { + int l = p_149884_1_.getBlockMetadata(p_149884_2_, p_149884_3_, p_149884_4_); + p_149884_1_.setBlockToAir(p_149884_2_, p_149884_3_, p_149884_4_); + HugeMush worldgenbigmushroom = null; + + worldgenbigmushroom = new HugeMush(); + worldgenbigmushroom.generate(p_149884_1_, p_149884_5_, p_149884_2_, p_149884_3_, p_149884_4_); + + return true; + } + + @Override + public boolean func_149851_a(World p_149851_1_, int p_149851_2_, int p_149851_3_, int p_149851_4_, boolean p_149851_5_) + { + return true; + } + + @Override + public boolean func_149852_a(World p_149852_1_, Random p_149852_2_, int p_149852_3_, int p_149852_4_, int p_149852_5_) + { + return p_149852_2_.nextFloat() < 0.4D; + } + @Override + public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_) + { + return null; + } + + /** + * Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two + * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. + */ + @Override + public boolean isOpaqueCube() + { + return false; + } + + /** + * If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc) + */ + @Override + public boolean renderAsNormalBlock() + { + return false; + } + + /** + * The type of render function that is called for this block + */ + @Override + public int getRenderType() + { + return 1; + } + @Override + public void onNeighborBlockChange(World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_, Block p_149695_5_) + { + super.onNeighborBlockChange(p_149695_1_, p_149695_2_, p_149695_3_, p_149695_4_, p_149695_5_); + this.checkAndDropBlock(p_149695_1_, p_149695_2_, p_149695_3_, p_149695_4_); + } + + /** + * checks if the block can stay, if not drop as item + */ + protected void checkAndDropBlock(World p_149855_1_, int p_149855_2_, int p_149855_3_, int p_149855_4_) + { + if (!this.canBlockStay(p_149855_1_, p_149855_2_, p_149855_3_, p_149855_4_)) + { + this.dropBlockAsItem(p_149855_1_, p_149855_2_, p_149855_3_, p_149855_4_, p_149855_1_.getBlockMetadata(p_149855_2_, p_149855_3_, p_149855_4_), 0); + p_149855_1_.setBlock(p_149855_2_, p_149855_3_, p_149855_4_, getBlockById(0), 0, 2); + } + } + + @Override + public void updateTick(World world, int x, int y, int z, Random rand) + { + this.checkAndDropBlock(world, x, y, z); + if(world.getBlock(x, y - 1, z) == ModBlocks.waste_earth && rand.nextInt(5) == 0 && MainRegistry.enableMycelium) + { + world.setBlock(x, y - 1, z, ModBlocks.waste_mycelium); + } + } + + @Override + public void func_149853_b(World p_149853_1_, Random p_149853_2_, int p_149853_3_, int p_149853_4_, int p_149853_5_) + { + this.func_149884_c(p_149853_1_, p_149853_3_, p_149853_4_, p_149853_5_, p_149853_2_); + } + +} diff --git a/com/hbm/blocks/BlockMushHuge.java b/com/hbm/blocks/generic/BlockMushHuge.java similarity index 90% rename from com/hbm/blocks/BlockMushHuge.java rename to com/hbm/blocks/generic/BlockMushHuge.java index d20d73f36..e5c705677 100644 --- a/com/hbm/blocks/BlockMushHuge.java +++ b/com/hbm/blocks/generic/BlockMushHuge.java @@ -1,64 +1,65 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.item.Item; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class BlockMushHuge extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - - protected BlockMushHuge(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.mush_block ? ":mush_block_skin" : ":mush_block_inside")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.mush_block ? ":mush_block_skin" : ":mush_block_stem")); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); - } - - @Override - public int quantityDropped(Random p_149745_1_) - { - int i = p_149745_1_.nextInt(10) - 7; - - if (i < 0) - { - i = 0; - } - - return i; - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.mush); - } - - @Override - @SideOnly(Side.CLIENT) - public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) - { - return Item.getItemFromBlock(ModBlocks.mush); - } - -} +package com.hbm.blocks.generic; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.item.Item; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class BlockMushHuge extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + public BlockMushHuge(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.mush_block ? ":mush_block_skin" : ":mush_block_inside")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.mush_block ? ":mush_block_skin" : ":mush_block_stem")); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); + } + + @Override + public int quantityDropped(Random p_149745_1_) + { + int i = p_149745_1_.nextInt(10) - 7; + + if (i < 0) + { + i = 0; + } + + return i; + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.mush); + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) + { + return Item.getItemFromBlock(ModBlocks.mush); + } + +} diff --git a/com/hbm/blocks/BlockOre.java b/com/hbm/blocks/generic/BlockOre.java similarity index 96% rename from com/hbm/blocks/BlockOre.java rename to com/hbm/blocks/generic/BlockOre.java index fd81ccfca..098b2843b 100644 --- a/com/hbm/blocks/BlockOre.java +++ b/com/hbm/blocks/generic/BlockOre.java @@ -1,216 +1,217 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.monster.EntityZombie; -import net.minecraft.entity.passive.EntityCow; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.passive.EntityVillager; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class BlockOre extends Block { - - protected BlockOre(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - if(this == ModBlocks.ore_fluorite) - { - return ModItems.fluorite; - } - if(this == ModBlocks.ore_niter) - { - return ModItems.niter; - } - if(this == ModBlocks.ore_sulfur || this == ModBlocks.ore_nether_sulfur) - { - return ModItems.sulfur; - } - if(this == ModBlocks.waste_trinitite || this == ModBlocks.waste_trinitite_red) - { - return ModItems.trinitite; - } - if(this == ModBlocks.waste_planks) - { - return Items.coal; - } - if(this == ModBlocks.frozen_dirt) - { - return Items.snowball; - } - if(this == ModBlocks.frozen_planks) - { - return Items.snowball; - } - if(this == ModBlocks.ore_nether_fire) - { - return p_149650_2_.nextInt(2) == 0 ? ModItems.powder_fire : Items.blaze_powder; - } - - return Item.getItemFromBlock(this); - } - - @Override - public int quantityDropped(Random p_149745_1_) - { - if(this == ModBlocks.ore_fluorite) - { - return 2 + p_149745_1_.nextInt(3); - } - if(this == ModBlocks.ore_niter) - { - return 2 + p_149745_1_.nextInt(3); - } - if(this == ModBlocks.ore_sulfur || this == ModBlocks.ore_nether_sulfur) - { - return 2 + p_149745_1_.nextInt(3); - } - if(this == ModBlocks.ore_nether_fire) - { - return 2 + p_149745_1_.nextInt(3); - } - - return 1; - } - - @Override - public int damageDropped(int p_149692_1_) - { - return this == ModBlocks.waste_planks ? 1 : 0; - } - - @Override - public void onEntityWalking(World p_149724_1_, int p_149724_2_, int p_149724_3_, int p_149724_4_, Entity entity) - { - if (entity instanceof EntityLivingBase && this == ModBlocks.frozen_dirt) - { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 2 * 60 * 20, 2)); - } - if (entity instanceof EntityLivingBase && this == ModBlocks.block_trinitite) - { - if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) - { - /*Library.damageSuit(((EntityPlayer)entity), 0); - Library.damageSuit(((EntityPlayer)entity), 1); - Library.damageSuit(((EntityPlayer)entity), 2); - Library.damageSuit(((EntityPlayer)entity), 3);*/ - - } else if(entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); - entity.setDead(); - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - } else if(entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 3 * 60 * 20, 2)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.id, 30 * 20, 0)); - entity.attackEntityFrom(ModDamageSource.radiation, 0.5F); - } - } - if (entity instanceof EntityLivingBase && this == ModBlocks.block_waste) - { - if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) - { - /*Library.damageSuit(((EntityPlayer)entity), 0); - Library.damageSuit(((EntityPlayer)entity), 1); - Library.damageSuit(((EntityPlayer)entity), 2); - Library.damageSuit(((EntityPlayer)entity), 3);*/ - - } else if(entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); - if(!entity.isDead) - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityCow) { - EntityMooshroom creep = new EntityMooshroom(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCow)entity).rotationYawHead); - if(!entity.isDead) - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 10 * 60 * 20, 4)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 4 * 60 * 20, 2)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.id, 3 * 60 * 20, 2)); - entity.attackEntityFrom(ModDamageSource.radiation, 2.5F); - } - } - if (entity instanceof EntityLivingBase && (this == ModBlocks.waste_trinitite || this == ModBlocks.waste_trinitite_red)) - { - if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) - { - /*Library.damageSuit(((EntityPlayer)entity), 0); - Library.damageSuit(((EntityPlayer)entity), 1); - Library.damageSuit(((EntityPlayer)entity), 2); - Library.damageSuit(((EntityPlayer)entity), 3);*/ - - } else if(entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); - if(!entity.isDead) - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 30 * 20, 1)); - } - } - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int p_149734_2_, int p_149734_3_, int p_149734_4_, Random p_149734_5_) - { - super.randomDisplayTick(p_149734_1_, p_149734_2_, p_149734_3_, p_149734_4_, p_149734_5_); - - if (this == ModBlocks.waste_trinitite || this == ModBlocks.waste_trinitite_red || this == ModBlocks.block_trinitite || this == ModBlocks.block_waste) - { - p_149734_1_.spawnParticle("townaura", p_149734_2_ + p_149734_5_.nextFloat(), p_149734_3_ + 1.1F, p_149734_4_ + p_149734_5_.nextFloat(), 0.0D, 0.0D, 0.0D); - } - } - -} +package com.hbm.blocks.generic; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityCow; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class BlockOre extends Block { + + public BlockOre(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + if(this == ModBlocks.ore_fluorite) + { + return ModItems.fluorite; + } + if(this == ModBlocks.ore_niter) + { + return ModItems.niter; + } + if(this == ModBlocks.ore_sulfur || this == ModBlocks.ore_nether_sulfur) + { + return ModItems.sulfur; + } + if(this == ModBlocks.waste_trinitite || this == ModBlocks.waste_trinitite_red) + { + return ModItems.trinitite; + } + if(this == ModBlocks.waste_planks) + { + return Items.coal; + } + if(this == ModBlocks.frozen_dirt) + { + return Items.snowball; + } + if(this == ModBlocks.frozen_planks) + { + return Items.snowball; + } + if(this == ModBlocks.ore_nether_fire) + { + return p_149650_2_.nextInt(2) == 0 ? ModItems.powder_fire : Items.blaze_powder; + } + + return Item.getItemFromBlock(this); + } + + @Override + public int quantityDropped(Random p_149745_1_) + { + if(this == ModBlocks.ore_fluorite) + { + return 2 + p_149745_1_.nextInt(3); + } + if(this == ModBlocks.ore_niter) + { + return 2 + p_149745_1_.nextInt(3); + } + if(this == ModBlocks.ore_sulfur || this == ModBlocks.ore_nether_sulfur) + { + return 2 + p_149745_1_.nextInt(3); + } + if(this == ModBlocks.ore_nether_fire) + { + return 2 + p_149745_1_.nextInt(3); + } + + return 1; + } + + @Override + public int damageDropped(int p_149692_1_) + { + return this == ModBlocks.waste_planks ? 1 : 0; + } + + @Override + public void onEntityWalking(World p_149724_1_, int p_149724_2_, int p_149724_3_, int p_149724_4_, Entity entity) + { + if (entity instanceof EntityLivingBase && this == ModBlocks.frozen_dirt) + { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 2 * 60 * 20, 2)); + } + if (entity instanceof EntityLivingBase && this == ModBlocks.block_trinitite) + { + if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) + { + /*Library.damageSuit(((EntityPlayer)entity), 0); + Library.damageSuit(((EntityPlayer)entity), 1); + Library.damageSuit(((EntityPlayer)entity), 2); + Library.damageSuit(((EntityPlayer)entity), 3);*/ + + } else if(entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); + entity.setDead(); + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + } else if(entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 3 * 60 * 20, 2)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.id, 30 * 20, 0)); + entity.attackEntityFrom(ModDamageSource.radiation, 0.5F); + } + } + if (entity instanceof EntityLivingBase && this == ModBlocks.block_waste) + { + if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) + { + /*Library.damageSuit(((EntityPlayer)entity), 0); + Library.damageSuit(((EntityPlayer)entity), 1); + Library.damageSuit(((EntityPlayer)entity), 2); + Library.damageSuit(((EntityPlayer)entity), 3);*/ + + } else if(entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); + if(!entity.isDead) + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityCow) { + EntityMooshroom creep = new EntityMooshroom(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCow)entity).rotationYawHead); + if(!entity.isDead) + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 10 * 60 * 20, 4)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 4 * 60 * 20, 2)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.id, 3 * 60 * 20, 2)); + entity.attackEntityFrom(ModDamageSource.radiation, 2.5F); + } + } + if (entity instanceof EntityLivingBase && (this == ModBlocks.waste_trinitite || this == ModBlocks.waste_trinitite_red)) + { + if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) + { + /*Library.damageSuit(((EntityPlayer)entity), 0); + Library.damageSuit(((EntityPlayer)entity), 1); + Library.damageSuit(((EntityPlayer)entity), 2); + Library.damageSuit(((EntityPlayer)entity), 3);*/ + + } else if(entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); + if(!entity.isDead) + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 30 * 20, 1)); + } + } + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int p_149734_2_, int p_149734_3_, int p_149734_4_, Random p_149734_5_) + { + super.randomDisplayTick(p_149734_1_, p_149734_2_, p_149734_3_, p_149734_4_, p_149734_5_); + + if (this == ModBlocks.waste_trinitite || this == ModBlocks.waste_trinitite_red || this == ModBlocks.block_trinitite || this == ModBlocks.block_waste) + { + p_149734_1_.spawnParticle("townaura", p_149734_2_ + p_149734_5_.nextFloat(), p_149734_3_ + 1.1F, p_149734_4_ + p_149734_5_.nextFloat(), 0.0D, 0.0D, 0.0D); + } + } + +} diff --git a/com/hbm/blocks/BlockPlasma.java b/com/hbm/blocks/generic/BlockPlasma.java similarity index 91% rename from com/hbm/blocks/BlockPlasma.java rename to com/hbm/blocks/generic/BlockPlasma.java index 2a22db3a4..e4dde1db9 100644 --- a/com/hbm/blocks/BlockPlasma.java +++ b/com/hbm/blocks/generic/BlockPlasma.java @@ -1,55 +1,55 @@ -package com.hbm.blocks; - -import java.util.Random; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.entity.Entity; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.world.World; - -public class BlockPlasma extends Block { - - protected BlockPlasma(Material p_i45394_1_) { - super(p_i45394_1_); - this.setTickRandomly(true); - } - - public void updateTick(World world, int x, int y, int z, Random rand) - { - if (world.getGameRules().getGameRuleBooleanValue("doFireTick")) - world.setBlock(x, y, z, Blocks.air); - } - - public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_) - { - return null; - } - - public void onEntityCollidedWithBlock(World p_149670_1_, int p_149670_2_, int p_149670_3_, int p_149670_4_, Entity p_149670_5_) - { - p_149670_5_.setFire(10); - p_149670_5_.setInWeb(); - } - - public boolean isOpaqueCube() - { - return false; - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return null; - } - - public boolean renderAsNormalBlock() - { - return false; - } - -} +package com.hbm.blocks.generic; + +import java.util.Random; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.World; + +public class BlockPlasma extends Block { + + public BlockPlasma(Material p_i45394_1_) { + super(p_i45394_1_); + this.setTickRandomly(true); + } + + public void updateTick(World world, int x, int y, int z, Random rand) + { + if (world.getGameRules().getGameRuleBooleanValue("doFireTick")) + world.setBlock(x, y, z, Blocks.air); + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_) + { + return null; + } + + public void onEntityCollidedWithBlock(World p_149670_1_, int p_149670_2_, int p_149670_3_, int p_149670_4_, Entity p_149670_5_) + { + p_149670_5_.setFire(10); + p_149670_5_.setInWeb(); + } + + public boolean isOpaqueCube() + { + return false; + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return null; + } + + public boolean renderAsNormalBlock() + { + return false; + } + +} diff --git a/com/hbm/blocks/DecoBlock.java b/com/hbm/blocks/generic/DecoBlock.java similarity index 94% rename from com/hbm/blocks/DecoBlock.java rename to com/hbm/blocks/generic/DecoBlock.java index 9a67f45c0..0af862944 100644 --- a/com/hbm/blocks/DecoBlock.java +++ b/com/hbm/blocks/generic/DecoBlock.java @@ -1,188 +1,189 @@ -package com.hbm.blocks; - -import com.hbm.tileentity.TileEntityDecoBlock; - -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.item.ItemStack; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; - -public class DecoBlock extends BlockContainer { - - protected DecoBlock(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityDecoBlock(); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - } - - @Override - public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) - { - int te = p_149719_1_.getBlockMetadata(p_149719_2_, p_149719_3_, p_149719_4_); - float f = 0.0625F; - - if(this == ModBlocks.steel_wall) - { - switch(te) - { - case 4: - this.setBlockBounds(14*f, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); - break; - case 2: - this.setBlockBounds(0.0F, 0.0F, 14*f, 1.0F, 1.0F, 1.0F); - break; - case 5: - this.setBlockBounds(0.0F, 0.0F, 0.0F, 2*f, 1.0F, 1.0F); - break; - case 3: - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 2*f); - break; - } - } - - if(this == ModBlocks.steel_corner) - { - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); - } - - if(this == ModBlocks.steel_roof) - { - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1*f, 1.0F); - } - - if(this == ModBlocks.steel_beam) - { - this.setBlockBounds(7*f, 0.0F, 7*f, 9*f, 1.0F, 9*f); - } - - if(this == ModBlocks.steel_scaffold) - { - this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); - switch(te) - { - case 4: - this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F); - break; - case 2: - this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); - break; - case 5: - this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F); - break; - case 3: - this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); - break; - } - } - - //this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); - } - - public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { - - int te = world.getBlockMetadata(x, y, z); - float f = 0.0625F; - - if(this == ModBlocks.steel_wall) - { - switch(te) - { - case 4: - this.setBlockBounds(14*f, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); - break; - case 2: - this.setBlockBounds(0.0F, 0.0F, 14*f, 1.0F, 1.0F, 1.0F); - break; - case 5: - this.setBlockBounds(0.0F, 0.0F, 0.0F, 2*f, 1.0F, 1.0F); - break; - case 3: - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 2*f); - break; - } - } - - if(this == ModBlocks.steel_corner) - { - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); - } - - if(this == ModBlocks.steel_roof) - { - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1*f, 1.0F); - } - - if(this == ModBlocks.steel_beam) - { - this.setBlockBounds(7*f, 0.0F, 7*f, 9*f, 1.0F, 9*f); - } - - if(this == ModBlocks.steel_scaffold) - { - this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); - switch(te) - { - case 4: - this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F); - break; - case 2: - this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); - break; - case 5: - this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F); - break; - case 3: - this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); - break; - } - } - - return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); - } - -} +package com.hbm.blocks.generic; + +import com.hbm.blocks.ModBlocks; +import com.hbm.tileentity.TileEntityDecoBlock; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +public class DecoBlock extends BlockContainer { + + public DecoBlock(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityDecoBlock(); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + } + + @Override + public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) + { + int te = p_149719_1_.getBlockMetadata(p_149719_2_, p_149719_3_, p_149719_4_); + float f = 0.0625F; + + if(this == ModBlocks.steel_wall) + { + switch(te) + { + case 4: + this.setBlockBounds(14*f, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); + break; + case 2: + this.setBlockBounds(0.0F, 0.0F, 14*f, 1.0F, 1.0F, 1.0F); + break; + case 5: + this.setBlockBounds(0.0F, 0.0F, 0.0F, 2*f, 1.0F, 1.0F); + break; + case 3: + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 2*f); + break; + } + } + + if(this == ModBlocks.steel_corner) + { + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); + } + + if(this == ModBlocks.steel_roof) + { + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1*f, 1.0F); + } + + if(this == ModBlocks.steel_beam) + { + this.setBlockBounds(7*f, 0.0F, 7*f, 9*f, 1.0F, 9*f); + } + + if(this == ModBlocks.steel_scaffold) + { + this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); + switch(te) + { + case 4: + this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F); + break; + case 2: + this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); + break; + case 5: + this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F); + break; + case 3: + this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); + break; + } + } + + //this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { + + int te = world.getBlockMetadata(x, y, z); + float f = 0.0625F; + + if(this == ModBlocks.steel_wall) + { + switch(te) + { + case 4: + this.setBlockBounds(14*f, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); + break; + case 2: + this.setBlockBounds(0.0F, 0.0F, 14*f, 1.0F, 1.0F, 1.0F); + break; + case 5: + this.setBlockBounds(0.0F, 0.0F, 0.0F, 2*f, 1.0F, 1.0F); + break; + case 3: + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 2*f); + break; + } + } + + if(this == ModBlocks.steel_corner) + { + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F); + } + + if(this == ModBlocks.steel_roof) + { + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1*f, 1.0F); + } + + if(this == ModBlocks.steel_beam) + { + this.setBlockBounds(7*f, 0.0F, 7*f, 9*f, 1.0F, 9*f); + } + + if(this == ModBlocks.steel_scaffold) + { + this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); + switch(te) + { + case 4: + this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F); + break; + case 2: + this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); + break; + case 5: + this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F); + break; + case 3: + this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f); + break; + } + } + + return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); + } + +} diff --git a/com/hbm/blocks/DecoBlockAlt.java b/com/hbm/blocks/generic/DecoBlockAlt.java similarity index 94% rename from com/hbm/blocks/DecoBlockAlt.java rename to com/hbm/blocks/generic/DecoBlockAlt.java index aba7b87c8..4d8c60485 100644 --- a/com/hbm/blocks/DecoBlockAlt.java +++ b/com/hbm/blocks/generic/DecoBlockAlt.java @@ -1,173 +1,174 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityDecoBlockAlt; -import com.hbm.tileentity.TileEntityDecoBlockAltF; -import com.hbm.tileentity.TileEntityDecoBlockAltG; -import com.hbm.tileentity.TileEntityDecoBlockAltW; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; - -public class DecoBlockAlt extends BlockContainer { - - protected DecoBlockAlt(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - //this.blockIcon = iconRegister.registerIcon("stone"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":code"); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - if(this == ModBlocks.statue_elb) - return new TileEntityDecoBlockAlt(); - if(this == ModBlocks.statue_elb_g) - return new TileEntityDecoBlockAltG(); - if(this == ModBlocks.statue_elb_w) - return new TileEntityDecoBlockAltW(); - if(this == ModBlocks.statue_elb_f) - return new TileEntityDecoBlockAltF(); - return null; - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.statue_elb); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - if(player.getCurrentEquippedItem() != null) - { - if(this == ModBlocks.statue_elb) - { - if(player.getCurrentEquippedItem().getItem() == ModItems.gun_revolver_cursed) - { - world.setBlock(x, y, z, ModBlocks.statue_elb_g, world.getBlockMetadata(x, y, z), 2); - - if (!player.capabilities.isCreativeMode) - { - --player.getCurrentEquippedItem().stackSize; - } - return true; - } - - if(player.getCurrentEquippedItem().getItem() == ModItems.watch) - { - world.setBlock(x, y, z, ModBlocks.statue_elb_w, world.getBlockMetadata(x, y, z), 2); - - if (!player.capabilities.isCreativeMode) - { - --player.getCurrentEquippedItem().stackSize; - } - return true; - } - } - if(this == ModBlocks.statue_elb_g) - { - if(player.getCurrentEquippedItem().getItem() == ModItems.watch) - { - world.setBlock(x, y, z, ModBlocks.statue_elb_f, world.getBlockMetadata(x, y, z), 2); - - if (!player.capabilities.isCreativeMode) - { - --player.getCurrentEquippedItem().stackSize; - } - return true; - } - } - if(this == ModBlocks.statue_elb_w) - { - if(player.getCurrentEquippedItem().getItem() == ModItems.gun_revolver_cursed) - { - world.setBlock(x, y, z, ModBlocks.statue_elb_f, world.getBlockMetadata(x, y, z), 2); - - if (!player.capabilities.isCreativeMode) - { - --player.getCurrentEquippedItem().stackSize; - } - return true; - } - } - } - } - return false; - } - - @Override - public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) - { - float f = 0.0625F; - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); - } - - public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { - float f = 0.0625F; - this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); - return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); - } - -} +package com.hbm.blocks.generic; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityDecoBlockAlt; +import com.hbm.tileentity.TileEntityDecoBlockAltF; +import com.hbm.tileentity.TileEntityDecoBlockAltG; +import com.hbm.tileentity.TileEntityDecoBlockAltW; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +public class DecoBlockAlt extends BlockContainer { + + public DecoBlockAlt(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + //this.blockIcon = iconRegister.registerIcon("stone"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":code"); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + if(this == ModBlocks.statue_elb) + return new TileEntityDecoBlockAlt(); + if(this == ModBlocks.statue_elb_g) + return new TileEntityDecoBlockAltG(); + if(this == ModBlocks.statue_elb_w) + return new TileEntityDecoBlockAltW(); + if(this == ModBlocks.statue_elb_f) + return new TileEntityDecoBlockAltF(); + return null; + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.statue_elb); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + if(player.getCurrentEquippedItem() != null) + { + if(this == ModBlocks.statue_elb) + { + if(player.getCurrentEquippedItem().getItem() == ModItems.gun_revolver_cursed) + { + world.setBlock(x, y, z, ModBlocks.statue_elb_g, world.getBlockMetadata(x, y, z), 2); + + if (!player.capabilities.isCreativeMode) + { + --player.getCurrentEquippedItem().stackSize; + } + return true; + } + + if(player.getCurrentEquippedItem().getItem() == ModItems.watch) + { + world.setBlock(x, y, z, ModBlocks.statue_elb_w, world.getBlockMetadata(x, y, z), 2); + + if (!player.capabilities.isCreativeMode) + { + --player.getCurrentEquippedItem().stackSize; + } + return true; + } + } + if(this == ModBlocks.statue_elb_g) + { + if(player.getCurrentEquippedItem().getItem() == ModItems.watch) + { + world.setBlock(x, y, z, ModBlocks.statue_elb_f, world.getBlockMetadata(x, y, z), 2); + + if (!player.capabilities.isCreativeMode) + { + --player.getCurrentEquippedItem().stackSize; + } + return true; + } + } + if(this == ModBlocks.statue_elb_w) + { + if(player.getCurrentEquippedItem().getItem() == ModItems.gun_revolver_cursed) + { + world.setBlock(x, y, z, ModBlocks.statue_elb_f, world.getBlockMetadata(x, y, z), 2); + + if (!player.capabilities.isCreativeMode) + { + --player.getCurrentEquippedItem().stackSize; + } + return true; + } + } + } + } + return false; + } + + @Override + public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) + { + float f = 0.0625F; + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { + float f = 0.0625F; + this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F); + return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); + } + +} diff --git a/com/hbm/blocks/DecoPoleSatelliteReceiver.java b/com/hbm/blocks/generic/DecoPoleSatelliteReceiver.java similarity index 89% rename from com/hbm/blocks/DecoPoleSatelliteReceiver.java rename to com/hbm/blocks/generic/DecoPoleSatelliteReceiver.java index 5b3790e3d..8fa535167 100644 --- a/com/hbm/blocks/DecoPoleSatelliteReceiver.java +++ b/com/hbm/blocks/generic/DecoPoleSatelliteReceiver.java @@ -1,61 +1,61 @@ -package com.hbm.blocks; - -import com.hbm.tileentity.TileEntityDecoPoleSatelliteReceiver; - -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.item.ItemStack; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class DecoPoleSatelliteReceiver extends BlockContainer { - - protected DecoPoleSatelliteReceiver(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityDecoPoleSatelliteReceiver(); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - -} +package com.hbm.blocks.generic; + +import com.hbm.tileentity.TileEntityDecoPoleSatelliteReceiver; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class DecoPoleSatelliteReceiver extends BlockContainer { + + public DecoPoleSatelliteReceiver(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityDecoPoleSatelliteReceiver(); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + +} diff --git a/com/hbm/blocks/DecoPoleTop.java b/com/hbm/blocks/generic/DecoPoleTop.java similarity index 90% rename from com/hbm/blocks/DecoPoleTop.java rename to com/hbm/blocks/generic/DecoPoleTop.java index f31fecf97..30937dddc 100644 --- a/com/hbm/blocks/DecoPoleTop.java +++ b/com/hbm/blocks/generic/DecoPoleTop.java @@ -1,61 +1,61 @@ -package com.hbm.blocks; - -import com.hbm.tileentity.TileEntityDecoPoleTop; - -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.item.ItemStack; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class DecoPoleTop extends BlockContainer { - - protected DecoPoleTop(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityDecoPoleTop(); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - -} +package com.hbm.blocks.generic; + +import com.hbm.tileentity.TileEntityDecoPoleTop; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class DecoPoleTop extends BlockContainer { + + public DecoPoleTop(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityDecoPoleTop(); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + +} diff --git a/com/hbm/blocks/DecoSteelPoles.java b/com/hbm/blocks/generic/DecoSteelPoles.java similarity index 89% rename from com/hbm/blocks/DecoSteelPoles.java rename to com/hbm/blocks/generic/DecoSteelPoles.java index 45f27556f..773bcd6cc 100644 --- a/com/hbm/blocks/DecoSteelPoles.java +++ b/com/hbm/blocks/generic/DecoSteelPoles.java @@ -1,61 +1,61 @@ -package com.hbm.blocks; - -import com.hbm.tileentity.TileEntityDecoSteelPoles; - -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.item.ItemStack; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class DecoSteelPoles extends BlockContainer { - - protected DecoSteelPoles(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityDecoSteelPoles(); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - -} +package com.hbm.blocks.generic; + +import com.hbm.tileentity.TileEntityDecoSteelPoles; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class DecoSteelPoles extends BlockContainer { + + public DecoSteelPoles(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityDecoSteelPoles(); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + +} diff --git a/com/hbm/blocks/DecoTapeRecorder.java b/com/hbm/blocks/generic/DecoTapeRecorder.java similarity index 89% rename from com/hbm/blocks/DecoTapeRecorder.java rename to com/hbm/blocks/generic/DecoTapeRecorder.java index b45a399fb..a92cc3dc8 100644 --- a/com/hbm/blocks/DecoTapeRecorder.java +++ b/com/hbm/blocks/generic/DecoTapeRecorder.java @@ -1,61 +1,61 @@ -package com.hbm.blocks; - -import com.hbm.tileentity.TileEntityDecoTapeRecorder; - -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.item.ItemStack; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class DecoTapeRecorder extends BlockContainer{ - - protected DecoTapeRecorder(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityDecoTapeRecorder(); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - -} +package com.hbm.blocks.generic; + +import com.hbm.tileentity.TileEntityDecoTapeRecorder; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class DecoTapeRecorder extends BlockContainer{ + + public DecoTapeRecorder(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityDecoTapeRecorder(); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + +} diff --git a/com/hbm/blocks/Guide.java b/com/hbm/blocks/generic/Guide.java similarity index 95% rename from com/hbm/blocks/Guide.java rename to com/hbm/blocks/generic/Guide.java index c4718b452..810fd007c 100644 --- a/com/hbm/blocks/Guide.java +++ b/com/hbm/blocks/generic/Guide.java @@ -1,224 +1,224 @@ -package com.hbm.blocks; - -import com.hbm.lib.Library; -import com.hbm.lib.RefStrings; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.nbt.NBTTagString; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class Guide extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - private IIcon iconFront; - private IIcon iconBack; - private IIcon iconLeft; - private IIcon iconRight; - - protected Guide(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":guide_bottom"); - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":guide_top"); - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":guide_front"); - this.iconBack = iconRegister.registerIcon(RefStrings.MODID + ":guide_back"); - this.iconLeft = iconRegister.registerIcon(RefStrings.MODID + ":guide_side_left"); - this.iconRight = iconRegister.registerIcon(RefStrings.MODID + ":guide_side_right"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - if(metadata == 5) - { - if(side == 0) return blockIcon; - if(side == 1) return iconTop; - if(side == 2) return iconFront; - if(side == 3) return iconBack; - if(side == 4) return iconRight; - if(side == 5) return iconLeft; - } - if(metadata == 3) - { - if(side == 0) return blockIcon; - if(side == 1) return iconTop; - if(side == 2) return iconRight; - if(side == 3) return iconLeft; - if(side == 4) return iconBack; - if(side == 5) return iconFront; - } - if(metadata == 4) - { - if(side == 0) return blockIcon; - if(side == 1) return iconTop; - if(side == 2) return iconBack; - if(side == 3) return iconFront; - if(side == 4) return iconLeft; - if(side == 5) return iconRight; - } - if(metadata == 2) - { - if(side == 0) return blockIcon; - if(side == 1) return iconTop; - if(side == 2) return iconLeft; - if(side == 3) return iconRight; - if(side == 4) return iconFront; - if(side == 5) return iconBack; - } - - if(side == 0) return blockIcon; - if(side == 1) return iconTop; - if(side == 2) return iconRight; - if(side == 3) return iconLeft; - if(side == 4) return iconBack; - if(side == 5) return iconFront; - - return null; - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(!player.isSneaking()) - { - - ItemStack book1 = new ItemStack(Items.written_book); - book1.stackTagCompound = new NBTTagCompound(); - book1.stackTagCompound.setString("author", "HbMinecraft"); - book1.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 1: Resources"); - NBTTagList pages1 = new NBTTagList(); - - for(String s : Library.book1) { - pages1.appendTag(new NBTTagString(s)); - } - - book1.stackTagCompound.setTag("pages", pages1); - player.inventory.addItemStackToInventory(book1); - - ItemStack book2 = new ItemStack(Items.written_book); - book2.stackTagCompound = new NBTTagCompound(); - book2.stackTagCompound.setString("author", "HbMinecraft"); - book2.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 2: Machines"); - NBTTagList pages2 = new NBTTagList(); - - for(String s : Library.book2) { - pages2.appendTag(new NBTTagString(s)); - } - - book2.stackTagCompound.setTag("pages", pages2); - player.inventory.addItemStackToInventory(book2); - - ItemStack book3 = new ItemStack(Items.written_book); - book3.stackTagCompound = new NBTTagCompound(); - book3.stackTagCompound.setString("author", "HbMinecraft"); - book3.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 3: Bombs"); - NBTTagList pages3 = new NBTTagList(); - - for(String s : Library.book3) { - pages3.appendTag(new NBTTagString(s)); - } - - book3.stackTagCompound.setTag("pages", pages3); - player.inventory.addItemStackToInventory(book3); - - ItemStack book4 = new ItemStack(Items.written_book); - book4.stackTagCompound = new NBTTagCompound(); - book4.stackTagCompound.setString("author", "HbMinecraft"); - book4.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 4: Missiles"); - NBTTagList pages4 = new NBTTagList(); - - for(String s : Library.book4) { - pages4.appendTag(new NBTTagString(s)); - } - - book4.stackTagCompound.setTag("pages", pages4); - player.inventory.addItemStackToInventory(book4); - - ItemStack book5 = new ItemStack(Items.written_book); - book5.stackTagCompound = new NBTTagCompound(); - book5.stackTagCompound.setString("author", "HbMinecraft"); - book5.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 5: Misc"); - NBTTagList pages5 = new NBTTagList(); - - for(String s : Library.book5) { - pages5.appendTag(new NBTTagString(s)); - } - - book5.stackTagCompound.setTag("pages", pages5); - player.inventory.addItemStackToInventory(book5); - - return true; - } else { - return false; - } - } - -} +package com.hbm.blocks.generic; + +import com.hbm.lib.Library; +import com.hbm.lib.RefStrings; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.nbt.NBTTagString; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class Guide extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + private IIcon iconFront; + private IIcon iconBack; + private IIcon iconLeft; + private IIcon iconRight; + + public Guide(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":guide_bottom"); + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":guide_top"); + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":guide_front"); + this.iconBack = iconRegister.registerIcon(RefStrings.MODID + ":guide_back"); + this.iconLeft = iconRegister.registerIcon(RefStrings.MODID + ":guide_side_left"); + this.iconRight = iconRegister.registerIcon(RefStrings.MODID + ":guide_side_right"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + if(metadata == 5) + { + if(side == 0) return blockIcon; + if(side == 1) return iconTop; + if(side == 2) return iconFront; + if(side == 3) return iconBack; + if(side == 4) return iconRight; + if(side == 5) return iconLeft; + } + if(metadata == 3) + { + if(side == 0) return blockIcon; + if(side == 1) return iconTop; + if(side == 2) return iconRight; + if(side == 3) return iconLeft; + if(side == 4) return iconBack; + if(side == 5) return iconFront; + } + if(metadata == 4) + { + if(side == 0) return blockIcon; + if(side == 1) return iconTop; + if(side == 2) return iconBack; + if(side == 3) return iconFront; + if(side == 4) return iconLeft; + if(side == 5) return iconRight; + } + if(metadata == 2) + { + if(side == 0) return blockIcon; + if(side == 1) return iconTop; + if(side == 2) return iconLeft; + if(side == 3) return iconRight; + if(side == 4) return iconFront; + if(side == 5) return iconBack; + } + + if(side == 0) return blockIcon; + if(side == 1) return iconTop; + if(side == 2) return iconRight; + if(side == 3) return iconLeft; + if(side == 4) return iconBack; + if(side == 5) return iconFront; + + return null; + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(!player.isSneaking()) + { + + ItemStack book1 = new ItemStack(Items.written_book); + book1.stackTagCompound = new NBTTagCompound(); + book1.stackTagCompound.setString("author", "HbMinecraft"); + book1.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 1: Resources"); + NBTTagList pages1 = new NBTTagList(); + + for(String s : Library.book1) { + pages1.appendTag(new NBTTagString(s)); + } + + book1.stackTagCompound.setTag("pages", pages1); + player.inventory.addItemStackToInventory(book1); + + ItemStack book2 = new ItemStack(Items.written_book); + book2.stackTagCompound = new NBTTagCompound(); + book2.stackTagCompound.setString("author", "HbMinecraft"); + book2.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 2: Machines"); + NBTTagList pages2 = new NBTTagList(); + + for(String s : Library.book2) { + pages2.appendTag(new NBTTagString(s)); + } + + book2.stackTagCompound.setTag("pages", pages2); + player.inventory.addItemStackToInventory(book2); + + ItemStack book3 = new ItemStack(Items.written_book); + book3.stackTagCompound = new NBTTagCompound(); + book3.stackTagCompound.setString("author", "HbMinecraft"); + book3.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 3: Bombs"); + NBTTagList pages3 = new NBTTagList(); + + for(String s : Library.book3) { + pages3.appendTag(new NBTTagString(s)); + } + + book3.stackTagCompound.setTag("pages", pages3); + player.inventory.addItemStackToInventory(book3); + + ItemStack book4 = new ItemStack(Items.written_book); + book4.stackTagCompound = new NBTTagCompound(); + book4.stackTagCompound.setString("author", "HbMinecraft"); + book4.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 4: Missiles"); + NBTTagList pages4 = new NBTTagList(); + + for(String s : Library.book4) { + pages4.appendTag(new NBTTagString(s)); + } + + book4.stackTagCompound.setTag("pages", pages4); + player.inventory.addItemStackToInventory(book4); + + ItemStack book5 = new ItemStack(Items.written_book); + book5.stackTagCompound = new NBTTagCompound(); + book5.stackTagCompound.setString("author", "HbMinecraft"); + book5.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 5: Misc"); + NBTTagList pages5 = new NBTTagList(); + + for(String s : Library.book5) { + pages5.appendTag(new NBTTagString(s)); + } + + book5.stackTagCompound.setTag("pages", pages5); + player.inventory.addItemStackToInventory(book5); + + return true; + } else { + return false; + } + } + +} diff --git a/com/hbm/blocks/RedBarrel.java b/com/hbm/blocks/generic/RedBarrel.java similarity index 82% rename from com/hbm/blocks/RedBarrel.java rename to com/hbm/blocks/generic/RedBarrel.java index b8f42213e..398ad0eae 100644 --- a/com/hbm/blocks/RedBarrel.java +++ b/com/hbm/blocks/generic/RedBarrel.java @@ -1,88 +1,95 @@ -package com.hbm.blocks; - -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityRedBarrel; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.Entity; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.Explosion; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; - -public class RedBarrel extends BlockContainer { - - protected RedBarrel(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) - { - if (!p_149723_1_.isRemote) - { - explode(p_149723_1_, p_149723_2_, p_149723_3_, p_149723_4_); - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - if (p_149695_1_.getBlock(x + 1, y, z) == Blocks.fire || p_149695_1_.getBlock(x - 1, y, z) == Blocks.fire || p_149695_1_.getBlock(x, y + 1, z) == Blocks.fire || p_149695_1_.getBlock(x, y - 1, z) == Blocks.fire || p_149695_1_.getBlock(x, y, z + 1) == Blocks.fire || p_149695_1_.getBlock(x, y, z - 1) == Blocks.fire) - { - explode(p_149695_1_, x, y, z); - } - } - - public void explode(World p_149695_1_, int x, int y, int z) { - - p_149695_1_.newExplosion((Entity)null, x + 0.5F, y + 0.5F, z + 0.5F, 2.5F, true, true); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - - @Override - public TileEntity createNewTileEntity(World var1, int var2) { - return new TileEntityRedBarrel(); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconregister) { - this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":red_barrel"); - } - - @Override - public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) - { - float f = 0.0625F; - this.setBlockBounds(2*f, 0.0F, 2*f, 14*f, 1.0F, 14*f); - } - - @Override - public boolean canDropFromExplosion(Explosion p_149659_1_) - { - return false; - } - -} +package com.hbm.blocks.generic; + +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityRedBarrel; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.Entity; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.Explosion; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +public class RedBarrel extends BlockContainer { + + public RedBarrel(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) + { + if (!p_149723_1_.isRemote) + { + explode(p_149723_1_, p_149723_2_, p_149723_3_, p_149723_4_); + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + if (p_149695_1_.getBlock(x + 1, y, z) == Blocks.fire || p_149695_1_.getBlock(x - 1, y, z) == Blocks.fire || p_149695_1_.getBlock(x, y + 1, z) == Blocks.fire || p_149695_1_.getBlock(x, y - 1, z) == Blocks.fire || p_149695_1_.getBlock(x, y, z + 1) == Blocks.fire || p_149695_1_.getBlock(x, y, z - 1) == Blocks.fire) + { + explode(p_149695_1_, x, y, z); + } + } + + public void explode(World p_149695_1_, int x, int y, int z) { + + p_149695_1_.newExplosion((Entity)null, x + 0.5F, y + 0.5F, z + 0.5F, 2.5F, true, true); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + + @Override + public TileEntity createNewTileEntity(World var1, int var2) { + return new TileEntityRedBarrel(); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconregister) { + this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":red_barrel"); + } + + @Override + public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) + { + float f = 0.0625F; + this.setBlockBounds(2*f, 0.0F, 2*f, 14*f, 1.0F, 14*f); + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { + float f = 0.0625F; + this.setBlockBounds(2*f, 0.0F, 2*f, 14*f, 1.0F, 14*f); + return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); + } + + @Override + public boolean canDropFromExplosion(Explosion p_149659_1_) + { + return false; + } + +} diff --git a/com/hbm/blocks/ReinforcedBlock.java b/com/hbm/blocks/generic/ReinforcedBlock.java similarity index 89% rename from com/hbm/blocks/ReinforcedBlock.java rename to com/hbm/blocks/generic/ReinforcedBlock.java index 4c7b9714a..34366e35b 100644 --- a/com/hbm/blocks/ReinforcedBlock.java +++ b/com/hbm/blocks/generic/ReinforcedBlock.java @@ -1,45 +1,47 @@ -package com.hbm.blocks; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.util.Facing; -import net.minecraft.world.IBlockAccess; - -public class ReinforcedBlock extends Block { - - private boolean field_149996_a; - - protected ReinforcedBlock(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - public boolean isOpaqueCube() - { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public boolean shouldSideBeRendered(IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) - { - Block block = p_149646_1_.getBlock(p_149646_2_, p_149646_3_, p_149646_4_); - - if (this == ModBlocks.reinforced_glass || this == ModBlocks.fwatz_tank) - { - if (p_149646_1_.getBlockMetadata(p_149646_2_, p_149646_3_, p_149646_4_) != p_149646_1_.getBlockMetadata(p_149646_2_ - Facing.offsetsXForSide[p_149646_5_], p_149646_3_ - Facing.offsetsYForSide[p_149646_5_], p_149646_4_ - Facing.offsetsZForSide[p_149646_5_])) - { - return true; - } - - if (block == this) - { - return false; - } - } - - return !this.field_149996_a && block == this ? false : super.shouldSideBeRendered(p_149646_1_, p_149646_2_, p_149646_3_, p_149646_4_, p_149646_5_); - } -} +package com.hbm.blocks.generic; + +import com.hbm.blocks.ModBlocks; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.util.Facing; +import net.minecraft.world.IBlockAccess; + +public class ReinforcedBlock extends Block { + + private boolean field_149996_a; + + public ReinforcedBlock(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + public boolean isOpaqueCube() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public boolean shouldSideBeRendered(IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) + { + Block block = p_149646_1_.getBlock(p_149646_2_, p_149646_3_, p_149646_4_); + + if (this == ModBlocks.reinforced_glass || this == ModBlocks.fwatz_tank) + { + if (p_149646_1_.getBlockMetadata(p_149646_2_, p_149646_3_, p_149646_4_) != p_149646_1_.getBlockMetadata(p_149646_2_ - Facing.offsetsXForSide[p_149646_5_], p_149646_3_ - Facing.offsetsYForSide[p_149646_5_], p_149646_4_ - Facing.offsetsZForSide[p_149646_5_])) + { + return true; + } + + if (block == this) + { + return false; + } + } + + return !this.field_149996_a && block == this ? false : super.shouldSideBeRendered(p_149646_1_, p_149646_2_, p_149646_3_, p_149646_4_, p_149646_5_); + } +} diff --git a/com/hbm/blocks/ReinforcedLamp.java b/com/hbm/blocks/generic/ReinforcedLamp.java similarity index 95% rename from com/hbm/blocks/ReinforcedLamp.java rename to com/hbm/blocks/generic/ReinforcedLamp.java index d6e642942..30d7f18fc 100644 --- a/com/hbm/blocks/ReinforcedLamp.java +++ b/com/hbm/blocks/generic/ReinforcedLamp.java @@ -1,88 +1,90 @@ -package com.hbm.blocks; - -import java.util.Random; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; - -public class ReinforcedLamp extends Block { - - private final boolean field_150171_a; - private static final String __OBFID = "CL_00000297"; - - public ReinforcedLamp(Material mat, boolean p_i45421_1_) - { - super(mat); - this.field_150171_a = p_i45421_1_; - - if (p_i45421_1_) - { - this.setLightLevel(1.0F); - } - } - - @Override - public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_) - { - if (!p_149726_1_.isRemote) - { - if (this.field_150171_a && !p_149726_1_.isBlockIndirectlyGettingPowered(p_149726_2_, p_149726_3_, p_149726_4_)) - { - p_149726_1_.scheduleBlockUpdate(p_149726_2_, p_149726_3_, p_149726_4_, this, 4); - } - else if (!this.field_150171_a && p_149726_1_.isBlockIndirectlyGettingPowered(p_149726_2_, p_149726_3_, p_149726_4_)) - { - p_149726_1_.setBlock(p_149726_2_, p_149726_3_, p_149726_4_, ModBlocks.reinforced_lamp_on, 0, 2); - } - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_, Block p_149695_5_) - { - if (!p_149695_1_.isRemote) - { - if (this.field_150171_a && !p_149695_1_.isBlockIndirectlyGettingPowered(p_149695_2_, p_149695_3_, p_149695_4_)) - { - p_149695_1_.scheduleBlockUpdate(p_149695_2_, p_149695_3_, p_149695_4_, this, 4); - } - else if (!this.field_150171_a && p_149695_1_.isBlockIndirectlyGettingPowered(p_149695_2_, p_149695_3_, p_149695_4_)) - { - p_149695_1_.setBlock(p_149695_2_, p_149695_3_, p_149695_4_, ModBlocks.reinforced_lamp_on, 0, 2); - } - } - } - - @Override - public void updateTick(World p_149674_1_, int p_149674_2_, int p_149674_3_, int p_149674_4_, Random p_149674_5_) - { - if (!p_149674_1_.isRemote && this.field_150171_a && !p_149674_1_.isBlockIndirectlyGettingPowered(p_149674_2_, p_149674_3_, p_149674_4_)) - { - p_149674_1_.setBlock(p_149674_2_, p_149674_3_, p_149674_4_, ModBlocks.reinforced_lamp_off, 0, 2); - } - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.reinforced_lamp_off); - } - - @Override - @SideOnly(Side.CLIENT) - public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) - { - return Item.getItemFromBlock(ModBlocks.reinforced_lamp_off); - } - - @Override - protected ItemStack createStackedBlock(int p_149644_1_) - { - return new ItemStack(ModBlocks.reinforced_lamp_off); - } -} +package com.hbm.blocks.generic; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; + +public class ReinforcedLamp extends Block { + + private final boolean field_150171_a; + private static final String __OBFID = "CL_00000297"; + + public ReinforcedLamp(Material mat, boolean p_i45421_1_) + { + super(mat); + this.field_150171_a = p_i45421_1_; + + if (p_i45421_1_) + { + this.setLightLevel(1.0F); + } + } + + @Override + public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_) + { + if (!p_149726_1_.isRemote) + { + if (this.field_150171_a && !p_149726_1_.isBlockIndirectlyGettingPowered(p_149726_2_, p_149726_3_, p_149726_4_)) + { + p_149726_1_.scheduleBlockUpdate(p_149726_2_, p_149726_3_, p_149726_4_, this, 4); + } + else if (!this.field_150171_a && p_149726_1_.isBlockIndirectlyGettingPowered(p_149726_2_, p_149726_3_, p_149726_4_)) + { + p_149726_1_.setBlock(p_149726_2_, p_149726_3_, p_149726_4_, ModBlocks.reinforced_lamp_on, 0, 2); + } + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_, Block p_149695_5_) + { + if (!p_149695_1_.isRemote) + { + if (this.field_150171_a && !p_149695_1_.isBlockIndirectlyGettingPowered(p_149695_2_, p_149695_3_, p_149695_4_)) + { + p_149695_1_.scheduleBlockUpdate(p_149695_2_, p_149695_3_, p_149695_4_, this, 4); + } + else if (!this.field_150171_a && p_149695_1_.isBlockIndirectlyGettingPowered(p_149695_2_, p_149695_3_, p_149695_4_)) + { + p_149695_1_.setBlock(p_149695_2_, p_149695_3_, p_149695_4_, ModBlocks.reinforced_lamp_on, 0, 2); + } + } + } + + @Override + public void updateTick(World p_149674_1_, int p_149674_2_, int p_149674_3_, int p_149674_4_, Random p_149674_5_) + { + if (!p_149674_1_.isRemote && this.field_150171_a && !p_149674_1_.isBlockIndirectlyGettingPowered(p_149674_2_, p_149674_3_, p_149674_4_)) + { + p_149674_1_.setBlock(p_149674_2_, p_149674_3_, p_149674_4_, ModBlocks.reinforced_lamp_off, 0, 2); + } + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.reinforced_lamp_off); + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) + { + return Item.getItemFromBlock(ModBlocks.reinforced_lamp_off); + } + + @Override + protected ItemStack createStackedBlock(int p_149644_1_) + { + return new ItemStack(ModBlocks.reinforced_lamp_off); + } +} diff --git a/com/hbm/blocks/WasteEarth.java b/com/hbm/blocks/generic/WasteEarth.java similarity index 96% rename from com/hbm/blocks/WasteEarth.java rename to com/hbm/blocks/generic/WasteEarth.java index 1db2291b8..11f9353f7 100644 --- a/com/hbm/blocks/WasteEarth.java +++ b/com/hbm/blocks/generic/WasteEarth.java @@ -1,220 +1,221 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.lib.Library; -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockMushroom; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.monster.EntityZombie; -import net.minecraft.entity.passive.EntityCow; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.passive.EntityVillager; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class WasteEarth extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - private IIcon iconBottom; - - protected WasteEarth(Material p_i45394_1_) { - super(p_i45394_1_); - this.setTickRandomly(true); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_earth ? ":waste_earth_top" : (this == ModBlocks.waste_mycelium ? ":waste_mycelium_top" : ":frozen_grass_top"))); - this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_earth ? ":waste_earth_bottom" : (this == ModBlocks.waste_mycelium ? ":waste_earth_bottom" : ":frozen_dirt"))); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_earth ? ":waste_earth_side" : (this == ModBlocks.waste_mycelium ? ":waste_mycelium_side" : ":frozen_grass_side"))); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconBottom : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - if(this == ModBlocks.waste_earth || this == ModBlocks.waste_earth) - { - return Item.getItemFromBlock(Blocks.dirt); - } - - if(this == ModBlocks.frozen_grass) - { - return Items.snowball; - } - - return null; - } - - @Override - public int quantityDropped(Random p_149745_1_) - { - return 1; - } - - @Override - public void onEntityWalking(World p_149724_1_, int p_149724_2_, int p_149724_3_, int p_149724_4_, Entity entity) - { - if (entity instanceof EntityLivingBase && this == ModBlocks.waste_earth) - { - if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) - { - /*Library.damageSuit(((EntityPlayer)entity), 0); - Library.damageSuit(((EntityPlayer)entity), 1); - Library.damageSuit(((EntityPlayer)entity), 2); - Library.damageSuit(((EntityPlayer)entity), 3);*/ - - } else if(entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); - if(!entity.isDead) - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 2 * 60 * 20, 2)); - } - } - - if (entity instanceof EntityLivingBase && this == ModBlocks.frozen_grass) - { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 2 * 60 * 20, 2)); - } - if (entity instanceof EntityLivingBase && this == ModBlocks.waste_mycelium) - { - if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) - { - /*Library.damageSuit(((EntityPlayer)entity), 0); - Library.damageSuit(((EntityPlayer)entity), 1); - Library.damageSuit(((EntityPlayer)entity), 2); - Library.damageSuit(((EntityPlayer)entity), 3);*/ - - } else if(entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); - if(!entity.isDead) - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityCow) { - EntityMooshroom creep = new EntityMooshroom(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCow)entity).rotationYawHead); - if(!entity.isDead) - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(p_149724_1_); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if(!p_149724_1_.isRemote) - p_149724_1_.spawnEntityInWorld(creep); - } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom && !(entity instanceof EntityZombie))) { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 3 * 60 * 20, 4)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.id, 1 * 60 * 20, 2)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 2 * 60 * 20, 2)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 3 * 60 * 20, 2)); - } - } - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int p_149734_2_, int p_149734_3_, int p_149734_4_, Random p_149734_5_) - { - super.randomDisplayTick(p_149734_1_, p_149734_2_, p_149734_3_, p_149734_4_, p_149734_5_); - - if (this == ModBlocks.waste_earth) - { - p_149734_1_.spawnParticle("townaura", p_149734_2_ + p_149734_5_.nextFloat(), p_149734_3_ + 1.1F, p_149734_4_ + p_149734_5_.nextFloat(), 0.0D, 0.0D, 0.0D); - } - if (this == ModBlocks.waste_mycelium) - { - p_149734_1_.spawnParticle("townaura", p_149734_2_ + p_149734_5_.nextFloat(), p_149734_3_ + 1.1F, p_149734_4_ + p_149734_5_.nextFloat(), 0.0D, 0.0D, 0.0D); - } - } - - @Override - public void updateTick(World world, int x, int y, int z, Random rand) - { - if((this == ModBlocks.waste_earth || this == ModBlocks.waste_mycelium) && world.getBlock(x, y + 1, z) == Blocks.air && rand.nextInt(10) == 0 && MainRegistry.enableMycelium) - { - Block b0; - int count = 0; - for(int i = -5; i < 5; i++) { - for(int j = -5; j < 6; j++) { - for(int k = -5; k < 5; k++) { - b0 = world.getBlock(x + i, y + j, z + k); - if((b0 instanceof BlockMushroom) || b0 == ModBlocks.mush) - { - count++; - } - } - } - } - if(count > 0 && count < 5) - world.setBlock(x, y + 1, z, ModBlocks.mush); - } - - if(this == ModBlocks.waste_mycelium && MainRegistry.enableMycelium) - { - for(int i = -1; i < 2; i++) { - for(int j = -1; j < 2; j++) { - for(int k = -1; k < 2; k++) { - Block b0 = world.getBlock(x + i, y + j, z + k); - Block b1 = world.getBlock(x + i, y + j + 1, z + k); - if(!b1.isOpaqueCube() && (b0 == Blocks.dirt || b0 == Blocks.grass || b0 == Blocks.mycelium || b0 == ModBlocks.waste_earth)) - { - world.setBlock(x + i, y + j, z + k, ModBlocks.waste_mycelium); - } - } - } - } - } - - if(this == ModBlocks.waste_earth || this == ModBlocks.waste_mycelium) - { - if (!world.isRemote) - { - if (world.getBlockLightValue(x, y + 1, z) < 4 && world.getBlockLightOpacity(x, y + 1, z) > 2) - { - world.setBlock(x, y, z, Blocks.dirt); - } - } - } - } - -} +package com.hbm.blocks.generic; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.lib.Library; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockMushroom; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityCow; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class WasteEarth extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + private IIcon iconBottom; + + public WasteEarth(Material p_i45394_1_) { + super(p_i45394_1_); + this.setTickRandomly(true); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_earth ? ":waste_earth_top" : (this == ModBlocks.waste_mycelium ? ":waste_mycelium_top" : ":frozen_grass_top"))); + this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_earth ? ":waste_earth_bottom" : (this == ModBlocks.waste_mycelium ? ":waste_earth_bottom" : ":frozen_dirt"))); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_earth ? ":waste_earth_side" : (this == ModBlocks.waste_mycelium ? ":waste_mycelium_side" : ":frozen_grass_side"))); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconBottom : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + if(this == ModBlocks.waste_earth || this == ModBlocks.waste_earth) + { + return Item.getItemFromBlock(Blocks.dirt); + } + + if(this == ModBlocks.frozen_grass) + { + return Items.snowball; + } + + return null; + } + + @Override + public int quantityDropped(Random p_149745_1_) + { + return 1; + } + + @Override + public void onEntityWalking(World p_149724_1_, int p_149724_2_, int p_149724_3_, int p_149724_4_, Entity entity) + { + if (entity instanceof EntityLivingBase && this == ModBlocks.waste_earth) + { + if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) + { + /*Library.damageSuit(((EntityPlayer)entity), 0); + Library.damageSuit(((EntityPlayer)entity), 1); + Library.damageSuit(((EntityPlayer)entity), 2); + Library.damageSuit(((EntityPlayer)entity), 3);*/ + + } else if(entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); + if(!entity.isDead) + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 2 * 60 * 20, 2)); + } + } + + if (entity instanceof EntityLivingBase && this == ModBlocks.frozen_grass) + { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 2 * 60 * 20, 2)); + } + if (entity instanceof EntityLivingBase && this == ModBlocks.waste_mycelium) + { + if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) + { + /*Library.damageSuit(((EntityPlayer)entity), 0); + Library.damageSuit(((EntityPlayer)entity), 1); + Library.damageSuit(((EntityPlayer)entity), 2); + Library.damageSuit(((EntityPlayer)entity), 3);*/ + + } else if(entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); + if(!entity.isDead) + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityCow) { + EntityMooshroom creep = new EntityMooshroom(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCow)entity).rotationYawHead); + if(!entity.isDead) + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(p_149724_1_); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if(!p_149724_1_.isRemote) + p_149724_1_.spawnEntityInWorld(creep); + } else if(!(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom && !(entity instanceof EntityZombie))) { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.id, 3 * 60 * 20, 4)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.id, 1 * 60 * 20, 2)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 2 * 60 * 20, 2)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 3 * 60 * 20, 2)); + } + } + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int p_149734_2_, int p_149734_3_, int p_149734_4_, Random p_149734_5_) + { + super.randomDisplayTick(p_149734_1_, p_149734_2_, p_149734_3_, p_149734_4_, p_149734_5_); + + if (this == ModBlocks.waste_earth) + { + p_149734_1_.spawnParticle("townaura", p_149734_2_ + p_149734_5_.nextFloat(), p_149734_3_ + 1.1F, p_149734_4_ + p_149734_5_.nextFloat(), 0.0D, 0.0D, 0.0D); + } + if (this == ModBlocks.waste_mycelium) + { + p_149734_1_.spawnParticle("townaura", p_149734_2_ + p_149734_5_.nextFloat(), p_149734_3_ + 1.1F, p_149734_4_ + p_149734_5_.nextFloat(), 0.0D, 0.0D, 0.0D); + } + } + + @Override + public void updateTick(World world, int x, int y, int z, Random rand) + { + if((this == ModBlocks.waste_earth || this == ModBlocks.waste_mycelium) && world.getBlock(x, y + 1, z) == Blocks.air && rand.nextInt(10) == 0 && MainRegistry.enableMycelium) + { + Block b0; + int count = 0; + for(int i = -5; i < 5; i++) { + for(int j = -5; j < 6; j++) { + for(int k = -5; k < 5; k++) { + b0 = world.getBlock(x + i, y + j, z + k); + if((b0 instanceof BlockMushroom) || b0 == ModBlocks.mush) + { + count++; + } + } + } + } + if(count > 0 && count < 5) + world.setBlock(x, y + 1, z, ModBlocks.mush); + } + + if(this == ModBlocks.waste_mycelium && MainRegistry.enableMycelium) + { + for(int i = -1; i < 2; i++) { + for(int j = -1; j < 2; j++) { + for(int k = -1; k < 2; k++) { + Block b0 = world.getBlock(x + i, y + j, z + k); + Block b1 = world.getBlock(x + i, y + j + 1, z + k); + if(!b1.isOpaqueCube() && (b0 == Blocks.dirt || b0 == Blocks.grass || b0 == Blocks.mycelium || b0 == ModBlocks.waste_earth)) + { + world.setBlock(x + i, y + j, z + k, ModBlocks.waste_mycelium); + } + } + } + } + } + + if(this == ModBlocks.waste_earth || this == ModBlocks.waste_mycelium) + { + if (!world.isRemote) + { + if (world.getBlockLightValue(x, y + 1, z) < 4 && world.getBlockLightOpacity(x, y + 1, z) > 2) + { + world.setBlock(x, y, z, Blocks.dirt); + } + } + } + } + +} diff --git a/com/hbm/blocks/WasteLog.java b/com/hbm/blocks/generic/WasteLog.java similarity index 89% rename from com/hbm/blocks/WasteLog.java rename to com/hbm/blocks/generic/WasteLog.java index 2079cd0f4..ba2e7042b 100644 --- a/com/hbm/blocks/WasteLog.java +++ b/com/hbm/blocks/generic/WasteLog.java @@ -1,65 +1,66 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.util.IIcon; - -public class WasteLog extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - - protected WasteLog(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_log ? ":waste_log_top" : ":frozen_log_top")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_log ? ":waste_log_side" : ":frozen_log")); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - if(this == ModBlocks.waste_log) - { - return Items.coal; - } - if(this == ModBlocks.frozen_log) - { - return Items.snowball; - } - - return null; - } - - @Override - public int quantityDropped(Random p_149745_1_) - { - return 2 + p_149745_1_.nextInt(3); - } - - @Override - public int damageDropped(int p_149692_1_) - { - return 1; - } - +package com.hbm.blocks.generic; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.util.IIcon; + +public class WasteLog extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + public WasteLog(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_log ? ":waste_log_top" : ":frozen_log_top")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.waste_log ? ":waste_log_side" : ":frozen_log")); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + if(this == ModBlocks.waste_log) + { + return Items.coal; + } + if(this == ModBlocks.frozen_log) + { + return Items.snowball; + } + + return null; + } + + @Override + public int quantityDropped(Random p_149745_1_) + { + return 2 + p_149745_1_.nextInt(3); + } + + @Override + public int damageDropped(int p_149692_1_) + { + return 1; + } + } \ No newline at end of file diff --git a/com/hbm/blocks/YellowBarrel.java b/com/hbm/blocks/generic/YellowBarrel.java similarity index 81% rename from com/hbm/blocks/YellowBarrel.java rename to com/hbm/blocks/generic/YellowBarrel.java index a5c616f0d..038889caa 100644 --- a/com/hbm/blocks/YellowBarrel.java +++ b/com/hbm/blocks/generic/YellowBarrel.java @@ -1,93 +1,101 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.explosion.ExplosionNukeGeneric; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityYellowBarrel; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.Explosion; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; - -public class YellowBarrel extends BlockContainer { - - Random rand = new Random(); - - protected YellowBarrel(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityYellowBarrel(); - } - - @Override - public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) - { - if (!p_149723_1_.isRemote) - { - explode(p_149723_1_, p_149723_2_, p_149723_3_, p_149723_4_); - } - } - - public void explode(World p_149695_1_, int x, int y, int z) { - if(rand.nextInt(5) == 0) { - p_149695_1_.setBlock(x, y, z, ModBlocks.toxic_block); - } else { - p_149695_1_.createExplosion(null, x, y, z, 18.0F, true); - } - ExplosionNukeGeneric.waste(p_149695_1_, x, y, z, 35); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconregister) { - this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":yellow_barrel"); - } - - @Override - public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) - { - float f = 0.0625F; - this.setBlockBounds(2*f, 0.0F, 2*f, 14*f, 1.0F, 14*f); - } - - @Override - public boolean canDropFromExplosion(Explosion p_149659_1_) - { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int p_149734_2_, int p_149734_3_, int p_149734_4_, Random p_149734_5_) - { - super.randomDisplayTick(p_149734_1_, p_149734_2_, p_149734_3_, p_149734_4_, p_149734_5_); - - p_149734_1_.spawnParticle("townaura", p_149734_2_ + p_149734_5_.nextFloat(), p_149734_3_ + 1.1F, p_149734_4_ + p_149734_5_.nextFloat(), 0.0D, 0.0D, 0.0D); - } - -} +package com.hbm.blocks.generic; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.explosion.ExplosionNukeGeneric; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityYellowBarrel; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.Explosion; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +public class YellowBarrel extends BlockContainer { + + Random rand = new Random(); + + public YellowBarrel(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityYellowBarrel(); + } + + @Override + public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) + { + if (!p_149723_1_.isRemote) + { + explode(p_149723_1_, p_149723_2_, p_149723_3_, p_149723_4_); + } + } + + public void explode(World p_149695_1_, int x, int y, int z) { + if(rand.nextInt(5) == 0) { + p_149695_1_.setBlock(x, y, z, ModBlocks.toxic_block); + } else { + p_149695_1_.createExplosion(null, x, y, z, 18.0F, true); + } + ExplosionNukeGeneric.waste(p_149695_1_, x, y, z, 35); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconregister) { + this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":yellow_barrel"); + } + + @Override + public void setBlockBoundsBasedOnState(IBlockAccess p_149719_1_, int p_149719_2_, int p_149719_3_, int p_149719_4_) + { + float f = 0.0625F; + this.setBlockBounds(2*f, 0.0F, 2*f, 14*f, 1.0F, 14*f); + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { + float f = 0.0625F; + this.setBlockBounds(2*f, 0.0F, 2*f, 14*f, 1.0F, 14*f); + return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); + } + + @Override + public boolean canDropFromExplosion(Explosion p_149659_1_) + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int p_149734_2_, int p_149734_3_, int p_149734_4_, Random p_149734_5_) + { + super.randomDisplayTick(p_149734_1_, p_149734_2_, p_149734_3_, p_149734_4_, p_149734_5_); + + p_149734_1_.spawnParticle("townaura", p_149734_2_ + p_149734_5_.nextFloat(), p_149734_3_ + 1.1F, p_149734_4_ + p_149734_5_.nextFloat(), 0.0D, 0.0D, 0.0D); + } + +} diff --git a/com/hbm/blocks/BlockCable.java b/com/hbm/blocks/machine/BlockCable.java similarity index 94% rename from com/hbm/blocks/BlockCable.java rename to com/hbm/blocks/machine/BlockCable.java index 86e0e03a1..ff1f16aa7 100644 --- a/com/hbm/blocks/BlockCable.java +++ b/com/hbm/blocks/machine/BlockCable.java @@ -1,76 +1,76 @@ -package com.hbm.blocks; - -import com.hbm.tileentity.TileEntityCable; - -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.world.IBlockAccess; -import net.minecraft.world.World; - -public class BlockCable extends BlockContainer { - - protected BlockCable(Material p_i45386_1_) { - super(p_i45386_1_); - float p = 1F/16F; - this.setBlockBounds(11 * p / 2, 11 * p / 2, 11 * p / 2, 1 - 11 * p / 2, 1 - 11 * p / 2, 1 - 11 * p / 2); - this.useNeighborBrightness = true; - } - - public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { - TileEntityCable cable = (TileEntityCable)world.getTileEntity(x, y, z); - - if(cable != null) - { - float p = 1F/16F; - float minX = 11 * p / 2 - (cable.connections[5] != null ? (11 * p / 2) : 0); - float minY = 11 * p / 2 - (cable.connections[1] != null ? (11 * p / 2) : 0); - float minZ = 11 * p / 2 - (cable.connections[2] != null ? (11 * p / 2) : 0); - float maxX = 1 - 11 * p / 2 + (cable.connections[3] != null ? (11 * p / 2) : 0); - float maxY = 1 - 11 * p / 2 + (cable.connections[0] != null ? (11 * p / 2) : 0); - float maxZ = 1 - 11 * p / 2 + (cable.connections[4] != null ? (11 * p / 2) : 0); - - this.setBlockBounds(minX, minY, minZ, maxX, maxY, maxZ); - } - return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); - } - - public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) { - TileEntityCable cable = (TileEntityCable)world.getTileEntity(x, y, z); - - if(cable != null) - { - float p = 1F/16F; - float minX = 11 * p / 2 - (cable.connections[5] != null ? (11 * p / 2) : 0); - float minY = 11 * p / 2 - (cable.connections[1] != null ? (11 * p / 2) : 0); - float minZ = 11 * p / 2 - (cable.connections[2] != null ? (11 * p / 2) : 0); - float maxX = 1 - 11 * p / 2 + (cable.connections[3] != null ? (11 * p / 2) : 0); - float maxY = 1 - 11 * p / 2 + (cable.connections[0] != null ? (11 * p / 2) : 0); - float maxZ = 1 - 11 * p / 2 + (cable.connections[4] != null ? (11 * p / 2) : 0); - - this.setBlockBounds(minX, minY, minZ, maxX, maxY, maxZ); - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityCable(); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - -} +package com.hbm.blocks.machine; + +import com.hbm.tileentity.TileEntityCable; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +public class BlockCable extends BlockContainer { + + public BlockCable(Material p_i45386_1_) { + super(p_i45386_1_); + float p = 1F/16F; + this.setBlockBounds(11 * p / 2, 11 * p / 2, 11 * p / 2, 1 - 11 * p / 2, 1 - 11 * p / 2, 1 - 11 * p / 2); + this.useNeighborBrightness = true; + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) { + TileEntityCable cable = (TileEntityCable)world.getTileEntity(x, y, z); + + if(cable != null) + { + float p = 1F/16F; + float minX = 11 * p / 2 - (cable.connections[5] != null ? (11 * p / 2) : 0); + float minY = 11 * p / 2 - (cable.connections[1] != null ? (11 * p / 2) : 0); + float minZ = 11 * p / 2 - (cable.connections[2] != null ? (11 * p / 2) : 0); + float maxX = 1 - 11 * p / 2 + (cable.connections[3] != null ? (11 * p / 2) : 0); + float maxY = 1 - 11 * p / 2 + (cable.connections[0] != null ? (11 * p / 2) : 0); + float maxZ = 1 - 11 * p / 2 + (cable.connections[4] != null ? (11 * p / 2) : 0); + + this.setBlockBounds(minX, minY, minZ, maxX, maxY, maxZ); + } + return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ); + } + + public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) { + TileEntityCable cable = (TileEntityCable)world.getTileEntity(x, y, z); + + if(cable != null) + { + float p = 1F/16F; + float minX = 11 * p / 2 - (cable.connections[5] != null ? (11 * p / 2) : 0); + float minY = 11 * p / 2 - (cable.connections[1] != null ? (11 * p / 2) : 0); + float minZ = 11 * p / 2 - (cable.connections[2] != null ? (11 * p / 2) : 0); + float maxX = 1 - 11 * p / 2 + (cable.connections[3] != null ? (11 * p / 2) : 0); + float maxY = 1 - 11 * p / 2 + (cable.connections[0] != null ? (11 * p / 2) : 0); + float maxZ = 1 - 11 * p / 2 + (cable.connections[4] != null ? (11 * p / 2) : 0); + + this.setBlockBounds(minX, minY, minZ, maxX, maxY, maxZ); + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityCable(); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + +} diff --git a/com/hbm/blocks/BlockConverterHeRf.java b/com/hbm/blocks/machine/BlockConverterHeRf.java similarity index 87% rename from com/hbm/blocks/BlockConverterHeRf.java rename to com/hbm/blocks/machine/BlockConverterHeRf.java index dd15e7dfb..2cd61dccf 100644 --- a/com/hbm/blocks/BlockConverterHeRf.java +++ b/com/hbm/blocks/machine/BlockConverterHeRf.java @@ -1,42 +1,43 @@ -package com.hbm.blocks; - -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityConverterHeRf; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class BlockConverterHeRf extends BlockContainer { - - protected BlockConverterHeRf(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityConverterHeRf(); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityConverterHeRf entity = (TileEntityConverterHeRf) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_converter_he_rf, world, x, y, z); - } - return true; - } else { - return false; - } - } - -} +package com.hbm.blocks.machine; + +import com.hbm.blocks.ModBlocks; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityConverterHeRf; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class BlockConverterHeRf extends BlockContainer { + + public BlockConverterHeRf(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityConverterHeRf(); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityConverterHeRf entity = (TileEntityConverterHeRf) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_converter_he_rf, world, x, y, z); + } + return true; + } else { + return false; + } + } + +} diff --git a/com/hbm/blocks/BlockConverterRfHe.java b/com/hbm/blocks/machine/BlockConverterRfHe.java similarity index 87% rename from com/hbm/blocks/BlockConverterRfHe.java rename to com/hbm/blocks/machine/BlockConverterRfHe.java index 514fdd855..601c7c9c2 100644 --- a/com/hbm/blocks/BlockConverterRfHe.java +++ b/com/hbm/blocks/machine/BlockConverterRfHe.java @@ -1,42 +1,43 @@ -package com.hbm.blocks; - -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityConverterRfHe; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class BlockConverterRfHe extends BlockContainer { - - protected BlockConverterRfHe(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityConverterRfHe(); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityConverterRfHe entity = (TileEntityConverterRfHe) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_converter_rf_he, world, x, y, z); - } - return true; - } else { - return false; - } - } - -} +package com.hbm.blocks.machine; + +import com.hbm.blocks.ModBlocks; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityConverterRfHe; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class BlockConverterRfHe extends BlockContainer { + + public BlockConverterRfHe(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityConverterRfHe(); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityConverterRfHe entity = (TileEntityConverterRfHe) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_converter_rf_he, world, x, y, z); + } + return true; + } else { + return false; + } + } + +} diff --git a/com/hbm/blocks/machine/BlockHatch.java b/com/hbm/blocks/machine/BlockHatch.java new file mode 100644 index 000000000..87a8edaba --- /dev/null +++ b/com/hbm/blocks/machine/BlockHatch.java @@ -0,0 +1,31 @@ +package com.hbm.blocks.machine; + +import com.hbm.tileentity.TileEntityHatch; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class BlockHatch extends BlockContainer { + + public BlockHatch(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityHatch(); + } + + public void setControllerPos(World world, int x, int y, int z, int cX, int cY, int cZ) { + + TileEntity te = world.getTileEntity(x, y, z); + + if(te != null && te instanceof TileEntityHatch) { + ((TileEntityHatch)te).setControllerPos(cX, cY, cZ); + } + + } + +} diff --git a/com/hbm/blocks/BlockReactor.java b/com/hbm/blocks/machine/BlockReactor.java similarity index 94% rename from com/hbm/blocks/BlockReactor.java rename to com/hbm/blocks/machine/BlockReactor.java index e503a5f7a..c4dc2ccb2 100644 --- a/com/hbm/blocks/BlockReactor.java +++ b/com/hbm/blocks/machine/BlockReactor.java @@ -1,102 +1,103 @@ -package com.hbm.blocks; - -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.util.IIcon; - -public class BlockReactor extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - - protected BlockReactor(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - if(this == ModBlocks.reactor_conductor) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":reactor_conductor_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reactor_conductor_side"); - } - if(this == ModBlocks.reactor_control) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":reactor_control_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reactor_control_side"); - } - if(this == ModBlocks.reactor_element) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":reactor_element_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reactor_element_side"); - } - if(this == ModBlocks.fusion_conductor) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + /*":fusion_conductor_top_alt"*/":block_steel"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + /*":fusion_conductor_alt"*/":fusion_conductor_side"); - } - if(this == ModBlocks.fusion_center) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":fusion_center_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_center_side"); - } - if(this == ModBlocks.fusion_motor) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":block_steel"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_motor_side"); - } - if(this == ModBlocks.fusion_heater) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":block_tungsten"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_heater_side"); - } - if(this == ModBlocks.factory_titanium_conductor) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":factory_titanium_conductor"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":factory_titanium_hull"); - } - if(this == ModBlocks.factory_advanced_conductor) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":factory_advanced_conductor"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":factory_advanced_hull"); - } - if(this == ModBlocks.watz_element) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":watz_element_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":watz_element_side"); - } - if(this == ModBlocks.watz_control) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":watz_control_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":watz_control_side"); - } - if(this == ModBlocks.watz_conductor) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":watz_conductor_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":watz_conductor_side"); - } - if(this == ModBlocks.fwatz_conductor) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":block_combine_steel"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_conductor_side"); - } - if(this == ModBlocks.fwatz_cooler) - { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_cooler_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_cooler"); - } - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); - } - -} +package com.hbm.blocks.machine; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.util.IIcon; + +public class BlockReactor extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + public BlockReactor(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + if(this == ModBlocks.reactor_conductor) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":reactor_conductor_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reactor_conductor_side"); + } + if(this == ModBlocks.reactor_control) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":reactor_control_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reactor_control_side"); + } + if(this == ModBlocks.reactor_element) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":reactor_element_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reactor_element_side"); + } + if(this == ModBlocks.fusion_conductor) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + /*":fusion_conductor_top_alt"*/":block_steel"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + /*":fusion_conductor_alt"*/":fusion_conductor_side"); + } + if(this == ModBlocks.fusion_center) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":fusion_center_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_center_side"); + } + if(this == ModBlocks.fusion_motor) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":block_steel"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_motor_side"); + } + if(this == ModBlocks.fusion_heater) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":block_tungsten"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_heater_side"); + } + if(this == ModBlocks.factory_titanium_conductor) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":factory_titanium_conductor"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":factory_titanium_hull"); + } + if(this == ModBlocks.factory_advanced_conductor) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":factory_advanced_conductor"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":factory_advanced_hull"); + } + if(this == ModBlocks.watz_element) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":watz_element_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":watz_element_side"); + } + if(this == ModBlocks.watz_control) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":watz_control_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":watz_control_side"); + } + if(this == ModBlocks.watz_conductor) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":watz_conductor_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":watz_conductor_side"); + } + if(this == ModBlocks.fwatz_conductor) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":block_combine_steel"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_conductor_side"); + } + if(this == ModBlocks.fwatz_cooler) + { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_cooler_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_cooler"); + } + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); + } + +} diff --git a/com/hbm/blocks/machine/BlockSeal.java b/com/hbm/blocks/machine/BlockSeal.java new file mode 100644 index 000000000..4f558ab44 --- /dev/null +++ b/com/hbm/blocks/machine/BlockSeal.java @@ -0,0 +1,278 @@ +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.interfaces.IBomb; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityCoreAdvanced; +import com.hbm.tileentity.TileEntityCoreTitanium; +import com.hbm.tileentity.TileEntityHatch; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class BlockSeal extends Block implements IBomb { + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + public BlockSeal(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":seal_frame"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":seal_controller"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : (metadata == 0 && side == 3 ? this.blockIcon : (side == metadata ? this.blockIcon : this.iconTop))); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(this); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + //this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + int i = this.getFrameSize(world, x, y, z); + + if(i != 0) + if(this.isSealClosed(world, x, y, z, i)) + this.openSeal(world, x, y, z, i); + else + this.closeSeal(world, x, y, z, i); + + return true; + } else { + return false; + } + } + + public static int getFrameSize(World world, int x, int y, int z) { + + int max = 7; + + for(int size = 1; size < max; size ++) { + + boolean valid = true; + + int xOff = 0; + int zOff = 0; + if(world.getBlockMetadata(x, y, z) == 2) + zOff += size; + if(world.getBlockMetadata(x, y, z) == 3) + zOff -= size; + if(world.getBlockMetadata(x, y, z) == 4) + xOff += size; + if(world.getBlockMetadata(x, y, z) == 5) + xOff -= size; + + for(int X = x - size; X <= x + size; X ++) { + if(world.getBlock(X + xOff, y, z + size + zOff) != ModBlocks.seal_frame && + world.getBlock(X + xOff, y, z + size + zOff) != ModBlocks.seal_controller) + valid = false; + } + for(int X = x - size; X <= x + size; X ++) { + if(world.getBlock(X + xOff, y, z - size + zOff) != ModBlocks.seal_frame && + world.getBlock(X + xOff, y, z - size + zOff) != ModBlocks.seal_controller) + valid = false; + } + for(int Z = z - size; Z <= z + size; Z ++) { + if(world.getBlock(x - size + xOff, y, Z + zOff) != ModBlocks.seal_frame && + world.getBlock(x - size + xOff, y, Z + zOff) != ModBlocks.seal_controller) + valid = false; + } + for(int Z = z - size; Z <= z + size; Z ++) { + if(world.getBlock(x + size + xOff, y, Z + zOff) != ModBlocks.seal_frame && + world.getBlock(x + size + xOff, y, Z + zOff) != ModBlocks.seal_controller) + valid = false; + } + /*for(int X = x - size + 1; X <= x + size - 1; X++) { + for(int Z = z - size + 1; Z <= z + size - 1; Z++) { + //if(world.getBlock(X + size + xOff, y, Z + zOff) != ModBlocks.block_steel && + // world.getBlock(X + size + xOff, y, Z + zOff) != Blocks.air) + // valid = false; + world.setBlock(X + xOff, y, Z + zOff, ModBlocks.block_steel); + System.out.println(valid); + } + }*/ + + if(valid) + return size; + } + + return 0; + } + + public static void closeSeal(World world, int x, int y, int z, int size) { + + int xOff = 0; + int zOff = 0; + if(world.getBlockMetadata(x, y, z) == 2) + zOff += size; + if(world.getBlockMetadata(x, y, z) == 3) + zOff -= size; + if(world.getBlockMetadata(x, y, z) == 4) + xOff += size; + if(world.getBlockMetadata(x, y, z) == 5) + xOff -= size; + + for(int X = x - size + 1; X <= x + size - 1; X++) { + for(int Z = z - size + 1; Z <= z + size - 1; Z++) { + if(world.getBlock(X + xOff, y, Z + zOff) == Blocks.air && !world.isRemote) { + world.setBlock(X + xOff, y, Z + zOff, ModBlocks.seal_hatch); + TileEntity te = world.getTileEntity(X + xOff, y, Z + zOff); + if(te != null && te instanceof TileEntityHatch) + ((TileEntityHatch)te).setControllerPos(x, y, z); + + } + } + } + } + + public static void openSeal(World world, int x, int y, int z, int size) { + + int xOff = 0; + int zOff = 0; + if(world.getBlockMetadata(x, y, z) == 2) + zOff += size; + if(world.getBlockMetadata(x, y, z) == 3) + zOff -= size; + if(world.getBlockMetadata(x, y, z) == 4) + xOff += size; + if(world.getBlockMetadata(x, y, z) == 5) + xOff -= size; + + for(int X = x - size + 1; X <= x + size - 1; X++) { + for(int Z = z - size + 1; Z <= z + size - 1; Z++) { + if(world.getBlock(X + xOff, y, Z + zOff) == ModBlocks.seal_hatch && !world.isRemote) { + world.setBlock(X + xOff, y, Z + zOff, Blocks.air); + } + } + } + } + + public static boolean isSealClosed(World world, int x, int y, int z, int size) { + + int xOff = 0; + int zOff = 0; + if(world.getBlockMetadata(x, y, z) == 2) + zOff += size; + if(world.getBlockMetadata(x, y, z) == 3) + zOff -= size; + if(world.getBlockMetadata(x, y, z) == 4) + xOff += size; + if(world.getBlockMetadata(x, y, z) == 5) + xOff -= size; + + for(int X = x - size + 1; X <= x + size - 1; X++) { + for(int Z = z - size + 1; Z <= z + size - 1; Z++) { + if(world.getBlock(X + xOff, y, Z + zOff) == ModBlocks.seal_hatch) { + return true; + } + } + } + + return false; + } + + @Override + public void explode(World world, int x, int y, int z) { + int i = this.getFrameSize(world, x, y, z); + + if(i != 0) + if(this.isSealClosed(world, x, y, z, i)) + this.openSeal(world, x, y, z, i); + else + this.closeSeal(world, x, y, z, i); + + } + +} diff --git a/com/hbm/blocks/machine/DummyBlockCentrifuge.java b/com/hbm/blocks/machine/DummyBlockCentrifuge.java new file mode 100644 index 000000000..d94fa2ccb --- /dev/null +++ b/com/hbm/blocks/machine/DummyBlockCentrifuge.java @@ -0,0 +1,108 @@ +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.interfaces.IDummy; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityDummy; +import com.hbm.tileentity.TileEntityIGenerator; +import com.hbm.tileentity.TileEntityMachineCentrifuge; +import com.hbm.tileentity.TileEntityMachineElectricFurnace; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class DummyBlockCentrifuge extends BlockContainer implements IDummy { + + public static boolean safeBreak = false; + + public DummyBlockCentrifuge(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityDummy(); + } + + public void breakBlock(World world, int x, int y, int z, Block block, int i) + { + if(!safeBreak) { + TileEntity te = world.getTileEntity(x, y, z); + if(te != null && te instanceof TileEntityDummy) { + int a = ((TileEntityDummy)te).targetX; + int b = ((TileEntityDummy)te).targetY; + int c = ((TileEntityDummy)te).targetZ; + + //world.getBlock(a, b, c).breakBlock(world, a, b, c, block, i); + if(!world.isRemote) + world.func_147480_a(a, b, c, true); + } + } + world.removeTileEntity(x, y, z); + } + + @Override + public int getRenderType() { + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return null; + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World world, int x, int y, int z) + { + return Item.getItemFromBlock(ModBlocks.machine_centrifuge); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntity te = world.getTileEntity(x, y, z); + if(te != null && te instanceof TileEntityDummy) { + int a = ((TileEntityDummy)te).targetX; + int b = ((TileEntityDummy)te).targetY; + int c = ((TileEntityDummy)te).targetZ; + + TileEntityMachineCentrifuge entity = (TileEntityMachineCentrifuge) world.getTileEntity(a, b, c); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_centrifuge, world, a, b, c); + } + } + return true; + } else { + return false; + } + } + +} diff --git a/com/hbm/blocks/machine/DummyBlockIGenerator.java b/com/hbm/blocks/machine/DummyBlockIGenerator.java new file mode 100644 index 000000000..8cc120ab2 --- /dev/null +++ b/com/hbm/blocks/machine/DummyBlockIGenerator.java @@ -0,0 +1,107 @@ +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.interfaces.IDummy; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityDummy; +import com.hbm.tileentity.TileEntityIGenerator; +import com.hbm.tileentity.TileEntityMachineElectricFurnace; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class DummyBlockIGenerator extends BlockContainer implements IDummy { + + public static boolean safeBreak = false; + + public DummyBlockIGenerator(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityDummy(); + } + + public void breakBlock(World world, int x, int y, int z, Block block, int i) + { + if(!safeBreak) { + TileEntity te = world.getTileEntity(x, y, z); + if(te != null && te instanceof TileEntityDummy) { + int a = ((TileEntityDummy)te).targetX; + int b = ((TileEntityDummy)te).targetY; + int c = ((TileEntityDummy)te).targetZ; + + //world.getBlock(a, b, c).breakBlock(world, a, b, c, block, i); + if(!world.isRemote) + world.func_147480_a(a, b, c, true); + } + } + world.removeTileEntity(x, y, z); + } + + @Override + public int getRenderType() { + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return null; + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World world, int x, int y, int z) + { + return Item.getItemFromBlock(ModBlocks.machine_industrial_generator); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntity te = world.getTileEntity(x, y, z); + if(te != null && te instanceof TileEntityDummy) { + int a = ((TileEntityDummy)te).targetX; + int b = ((TileEntityDummy)te).targetY; + int c = ((TileEntityDummy)te).targetZ; + + TileEntityIGenerator entity = (TileEntityIGenerator) world.getTileEntity(a, b, c); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_electric_furnace, world, a, b, c); + } + } + return true; + } else { + return false; + } + } + +} diff --git a/com/hbm/blocks/FWatzCore.java b/com/hbm/blocks/machine/FWatzCore.java similarity index 86% rename from com/hbm/blocks/FWatzCore.java rename to com/hbm/blocks/machine/FWatzCore.java index 754a65049..4bc0ea81e 100644 --- a/com/hbm/blocks/FWatzCore.java +++ b/com/hbm/blocks/machine/FWatzCore.java @@ -1,25 +1,25 @@ -package com.hbm.blocks; - -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityFWatzCore; -import com.hbm.tileentity.TileEntityMachineBattery; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class FWatzCore extends BlockContainer { - - protected FWatzCore(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityFWatzCore(); - } - -} +package com.hbm.blocks.machine; + +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityFWatzCore; +import com.hbm.tileentity.TileEntityMachineBattery; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class FWatzCore extends BlockContainer { + + public FWatzCore(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityFWatzCore(); + } + +} diff --git a/com/hbm/blocks/FWatzHatch.java b/com/hbm/blocks/machine/FWatzHatch.java similarity index 95% rename from com/hbm/blocks/FWatzHatch.java rename to com/hbm/blocks/machine/FWatzHatch.java index 9e707566d..8d8ed5bb7 100644 --- a/com/hbm/blocks/FWatzHatch.java +++ b/com/hbm/blocks/machine/FWatzHatch.java @@ -1,182 +1,183 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityFWatzCore; -import com.hbm.tileentity.TileEntityFusionMultiblock; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ChatComponentText; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class FWatzHatch extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - private IIcon iconTop; - - protected FWatzHatch(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_hatch"); - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_scaffold"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_scaffold"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : (metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon))); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(this); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - //this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - if(world.getBlockMetadata(x, y, z) == 2) - { - if(world.getTileEntity(x, y + 11, z + 9) instanceof TileEntityFWatzCore) - { - if(((TileEntityFWatzCore)world.getTileEntity(x, y + 11, z + 9)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fwatz_multiblock, world, x, y + 11, z + 9); - } else { - player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 3) - { - if(world.getTileEntity(x, y + 11, z - 9) instanceof TileEntityFWatzCore) - { - if(((TileEntityFWatzCore)world.getTileEntity(x, y + 11, z - 9)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fwatz_multiblock, world, x, y + 11, z - 9); - } else { - player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 4) - { - if(world.getTileEntity(x + 9, y + 11, z) instanceof TileEntityFWatzCore) - { - if(((TileEntityFWatzCore)world.getTileEntity(x + 9, y + 11, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fwatz_multiblock, world, x + 9, y + 11, z); - } else { - player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 5) - { - if(world.getTileEntity(x - 9, y + 11, z) instanceof TileEntityFWatzCore) - { - if(((TileEntityFWatzCore)world.getTileEntity(x - 9, y + 11, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fwatz_multiblock, world, x - 9, y + 11, z); - } else { - player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Core not found!")); - } - } - return true; - } else { - return false; - } - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityFWatzCore; +import com.hbm.tileentity.TileEntityFusionMultiblock; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class FWatzHatch extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + private IIcon iconTop; + + public FWatzHatch(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_hatch"); + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_scaffold"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fwatz_scaffold"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : (metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon))); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(this); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + //this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + if(world.getBlockMetadata(x, y, z) == 2) + { + if(world.getTileEntity(x, y + 11, z + 9) instanceof TileEntityFWatzCore) + { + if(((TileEntityFWatzCore)world.getTileEntity(x, y + 11, z + 9)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fwatz_multiblock, world, x, y + 11, z + 9); + } else { + player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 3) + { + if(world.getTileEntity(x, y + 11, z - 9) instanceof TileEntityFWatzCore) + { + if(((TileEntityFWatzCore)world.getTileEntity(x, y + 11, z - 9)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fwatz_multiblock, world, x, y + 11, z - 9); + } else { + player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 4) + { + if(world.getTileEntity(x + 9, y + 11, z) instanceof TileEntityFWatzCore) + { + if(((TileEntityFWatzCore)world.getTileEntity(x + 9, y + 11, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fwatz_multiblock, world, x + 9, y + 11, z); + } else { + player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 5) + { + if(world.getTileEntity(x - 9, y + 11, z) instanceof TileEntityFWatzCore) + { + if(((TileEntityFWatzCore)world.getTileEntity(x - 9, y + 11, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fwatz_multiblock, world, x - 9, y + 11, z); + } else { + player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Fusionary Watz Plant] Error: Reactor Core not found!")); + } + } + return true; + } else { + return false; + } + } +} diff --git a/com/hbm/blocks/FactoryCoreAdvanced.java b/com/hbm/blocks/machine/FactoryCoreAdvanced.java similarity index 95% rename from com/hbm/blocks/FactoryCoreAdvanced.java rename to com/hbm/blocks/machine/FactoryCoreAdvanced.java index 386690b2f..65d8f971d 100644 --- a/com/hbm/blocks/FactoryCoreAdvanced.java +++ b/com/hbm/blocks/machine/FactoryCoreAdvanced.java @@ -1,81 +1,81 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.tileentity.TileEntityCoreAdvanced; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class FactoryCoreAdvanced extends BlockContainer { - - private final Random field_149933_a = new Random(); - private static boolean keepInventory; - - protected FactoryCoreAdvanced(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityCoreAdvanced(); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityCoreAdvanced tileentityfurnace = (TileEntityCoreAdvanced)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.tileentity.TileEntityCoreAdvanced; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class FactoryCoreAdvanced extends BlockContainer { + + private final Random field_149933_a = new Random(); + private static boolean keepInventory; + + public FactoryCoreAdvanced(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityCoreAdvanced(); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityCoreAdvanced tileentityfurnace = (TileEntityCoreAdvanced)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } +} diff --git a/com/hbm/blocks/FactoryCoreTitanium.java b/com/hbm/blocks/machine/FactoryCoreTitanium.java similarity index 94% rename from com/hbm/blocks/FactoryCoreTitanium.java rename to com/hbm/blocks/machine/FactoryCoreTitanium.java index c66a08a44..7c0914fe3 100644 --- a/com/hbm/blocks/FactoryCoreTitanium.java +++ b/com/hbm/blocks/machine/FactoryCoreTitanium.java @@ -1,82 +1,82 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.tileentity.TileEntityCoreTitanium; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class FactoryCoreTitanium extends BlockContainer { - - private final Random field_149933_a = new Random(); - private static boolean keepInventory; - - protected FactoryCoreTitanium(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityCoreTitanium(); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityCoreTitanium tileentityfurnace = (TileEntityCoreTitanium)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.tileentity.TileEntityCoreTitanium; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class FactoryCoreTitanium extends BlockContainer { + + private final Random field_149933_a = new Random(); + private static boolean keepInventory; + + public FactoryCoreTitanium(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityCoreTitanium(); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityCoreTitanium tileentityfurnace = (TileEntityCoreTitanium)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + +} diff --git a/com/hbm/blocks/FactoryHatch.java b/com/hbm/blocks/machine/FactoryHatch.java similarity index 95% rename from com/hbm/blocks/FactoryHatch.java rename to com/hbm/blocks/machine/FactoryHatch.java index f4e80c00f..b2a1668a2 100644 --- a/com/hbm/blocks/FactoryHatch.java +++ b/com/hbm/blocks/machine/FactoryHatch.java @@ -1,244 +1,245 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityCoreAdvanced; -import com.hbm.tileentity.TileEntityCoreTitanium; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ChatComponentText; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class FactoryHatch extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - - protected FactoryHatch(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.factory_titanium_furnace ? ":factory_titanium_furnace" : ":factory_advanced_furnace")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.factory_titanium_furnace ? ":factory_titanium_hull" : ":factory_advanced_hull")); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(this); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - //this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - if(this == ModBlocks.factory_titanium_furnace) - { - if(world.getBlockMetadata(x, y, z) == 2) - { - if(world.getTileEntity(x, y, z + 1) instanceof TileEntityCoreTitanium) - { - if(((TileEntityCoreTitanium)world.getTileEntity(x, y, z + 1)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_titanium, world, x, y, z + 1); - } else { - player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 3) - { - if(world.getTileEntity(x, y, z - 1) instanceof TileEntityCoreTitanium) - { - if(((TileEntityCoreTitanium)world.getTileEntity(x, y, z - 1)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_titanium, world, x, y, z - 1); - } else { - player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 4) - { - if(world.getTileEntity(x + 1, y, z) instanceof TileEntityCoreTitanium) - { - if(((TileEntityCoreTitanium)world.getTileEntity(x + 1, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_titanium, world, x + 1, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 5) - { - if(world.getTileEntity(x - 1, y, z) instanceof TileEntityCoreTitanium) - { - if(((TileEntityCoreTitanium)world.getTileEntity(x - 1, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_titanium, world, x - 1, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Core not found!")); - } - } - } - - if(this == ModBlocks.factory_advanced_furnace) - { - if(world.getBlockMetadata(x, y, z) == 2) - { - if(world.getTileEntity(x, y, z + 1) instanceof TileEntityCoreAdvanced) - { - if(((TileEntityCoreAdvanced)world.getTileEntity(x, y, z + 1)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_advanced, world, x, y, z + 1); - } else { - player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 3) - { - if(world.getTileEntity(x, y, z - 1) instanceof TileEntityCoreAdvanced) - { - if(((TileEntityCoreAdvanced)world.getTileEntity(x, y, z - 1)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_advanced, world, x, y, z - 1); - } else { - player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 4) - { - if(world.getTileEntity(x + 1, y, z) instanceof TileEntityCoreAdvanced) - { - if(((TileEntityCoreAdvanced)world.getTileEntity(x + 1, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_advanced, world, x + 1, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 5) - { - if(world.getTileEntity(x - 1, y, z) instanceof TileEntityCoreAdvanced) - { - if(((TileEntityCoreAdvanced)world.getTileEntity(x - 1, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_advanced, world, x - 1, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Core not found!")); - } - } - } - return true; - } else { - return false; - } - } - -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityCoreAdvanced; +import com.hbm.tileentity.TileEntityCoreTitanium; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class FactoryHatch extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + + public FactoryHatch(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.factory_titanium_furnace ? ":factory_titanium_furnace" : ":factory_advanced_furnace")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + (this == ModBlocks.factory_titanium_furnace ? ":factory_titanium_hull" : ":factory_advanced_hull")); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(this); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + //this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + if(this == ModBlocks.factory_titanium_furnace) + { + if(world.getBlockMetadata(x, y, z) == 2) + { + if(world.getTileEntity(x, y, z + 1) instanceof TileEntityCoreTitanium) + { + if(((TileEntityCoreTitanium)world.getTileEntity(x, y, z + 1)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_titanium, world, x, y, z + 1); + } else { + player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 3) + { + if(world.getTileEntity(x, y, z - 1) instanceof TileEntityCoreTitanium) + { + if(((TileEntityCoreTitanium)world.getTileEntity(x, y, z - 1)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_titanium, world, x, y, z - 1); + } else { + player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 4) + { + if(world.getTileEntity(x + 1, y, z) instanceof TileEntityCoreTitanium) + { + if(((TileEntityCoreTitanium)world.getTileEntity(x + 1, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_titanium, world, x + 1, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 5) + { + if(world.getTileEntity(x - 1, y, z) instanceof TileEntityCoreTitanium) + { + if(((TileEntityCoreTitanium)world.getTileEntity(x - 1, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_titanium, world, x - 1, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Basic Factory] Error: Factory Core not found!")); + } + } + } + + if(this == ModBlocks.factory_advanced_furnace) + { + if(world.getBlockMetadata(x, y, z) == 2) + { + if(world.getTileEntity(x, y, z + 1) instanceof TileEntityCoreAdvanced) + { + if(((TileEntityCoreAdvanced)world.getTileEntity(x, y, z + 1)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_advanced, world, x, y, z + 1); + } else { + player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 3) + { + if(world.getTileEntity(x, y, z - 1) instanceof TileEntityCoreAdvanced) + { + if(((TileEntityCoreAdvanced)world.getTileEntity(x, y, z - 1)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_advanced, world, x, y, z - 1); + } else { + player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 4) + { + if(world.getTileEntity(x + 1, y, z) instanceof TileEntityCoreAdvanced) + { + if(((TileEntityCoreAdvanced)world.getTileEntity(x + 1, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_advanced, world, x + 1, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 5) + { + if(world.getTileEntity(x - 1, y, z) instanceof TileEntityCoreAdvanced) + { + if(((TileEntityCoreAdvanced)world.getTileEntity(x - 1, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_factory_advanced, world, x - 1, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Advanced Factory] Error: Factory Core not found!")); + } + } + } + return true; + } else { + return false; + } + } + +} diff --git a/com/hbm/blocks/FusionCore.java b/com/hbm/blocks/machine/FusionCore.java similarity index 90% rename from com/hbm/blocks/FusionCore.java rename to com/hbm/blocks/machine/FusionCore.java index 854f09ff5..9876bf3dd 100644 --- a/com/hbm/blocks/FusionCore.java +++ b/com/hbm/blocks/machine/FusionCore.java @@ -1,42 +1,42 @@ -package com.hbm.blocks; - -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityFusionMultiblock; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class FusionCore extends BlockContainer { - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - - protected FusionCore(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":fusion_center_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_core_side"); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityFusionMultiblock(); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); - } - -} +package com.hbm.blocks.machine; + +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityFusionMultiblock; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class FusionCore extends BlockContainer { + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + public FusionCore(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":fusion_center_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_core_side"); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityFusionMultiblock(); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); + } + +} diff --git a/com/hbm/blocks/FusionHatch.java b/com/hbm/blocks/machine/FusionHatch.java similarity index 95% rename from com/hbm/blocks/FusionHatch.java rename to com/hbm/blocks/machine/FusionHatch.java index dffac4826..b937a265a 100644 --- a/com/hbm/blocks/FusionHatch.java +++ b/com/hbm/blocks/machine/FusionHatch.java @@ -1,181 +1,182 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityFusionMultiblock; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ChatComponentText; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class FusionHatch extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - private IIcon iconTop; - - protected FusionHatch(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":fusion_hatch"); - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":block_tungsten"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_heater_side"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : (metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon))); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(this); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - //this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - if(world.getBlockMetadata(x, y, z) == 2) - { - if(world.getTileEntity(x, y, z + 8) instanceof TileEntityFusionMultiblock) - { - if(((TileEntityFusionMultiblock)world.getTileEntity(x, y, z + 8)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fusion_multiblock, world, x, y, z + 8); - } else { - player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 3) - { - if(world.getTileEntity(x, y, z - 8) instanceof TileEntityFusionMultiblock) - { - if(((TileEntityFusionMultiblock)world.getTileEntity(x, y, z - 8)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fusion_multiblock, world, x, y, z - 8); - } else { - player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 4) - { - if(world.getTileEntity(x + 8, y, z) instanceof TileEntityFusionMultiblock) - { - if(((TileEntityFusionMultiblock)world.getTileEntity(x + 8, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fusion_multiblock, world, x + 8, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 5) - { - if(world.getTileEntity(x - 8, y, z) instanceof TileEntityFusionMultiblock) - { - if(((TileEntityFusionMultiblock)world.getTileEntity(x - 8, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fusion_multiblock, world, x - 8, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Core not found!")); - } - } - return true; - } else { - return false; - } - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityFusionMultiblock; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class FusionHatch extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + private IIcon iconTop; + + public FusionHatch(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":fusion_hatch"); + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":block_tungsten"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":fusion_heater_side"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : (metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon))); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(this); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + //this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + if(world.getBlockMetadata(x, y, z) == 2) + { + if(world.getTileEntity(x, y, z + 8) instanceof TileEntityFusionMultiblock) + { + if(((TileEntityFusionMultiblock)world.getTileEntity(x, y, z + 8)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fusion_multiblock, world, x, y, z + 8); + } else { + player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 3) + { + if(world.getTileEntity(x, y, z - 8) instanceof TileEntityFusionMultiblock) + { + if(((TileEntityFusionMultiblock)world.getTileEntity(x, y, z - 8)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fusion_multiblock, world, x, y, z - 8); + } else { + player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 4) + { + if(world.getTileEntity(x + 8, y, z) instanceof TileEntityFusionMultiblock) + { + if(((TileEntityFusionMultiblock)world.getTileEntity(x + 8, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fusion_multiblock, world, x + 8, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 5) + { + if(world.getTileEntity(x - 8, y, z) instanceof TileEntityFusionMultiblock) + { + if(((TileEntityFusionMultiblock)world.getTileEntity(x - 8, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_fusion_multiblock, world, x - 8, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Fusion Reactor] Error: Reactor Core not found!")); + } + } + return true; + } else { + return false; + } + } +} diff --git a/com/hbm/blocks/MachineBattery.java b/com/hbm/blocks/machine/MachineBattery.java similarity index 95% rename from com/hbm/blocks/MachineBattery.java rename to com/hbm/blocks/machine/MachineBattery.java index 0fd5ac106..544987bb0 100644 --- a/com/hbm/blocks/MachineBattery.java +++ b/com/hbm/blocks/machine/MachineBattery.java @@ -1,213 +1,214 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityDiFurnace; -import com.hbm.tileentity.TileEntityMachineBattery; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class MachineBattery extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - - protected MachineBattery(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":battery_front_alt"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":battery_side_alt"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_battery); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - - if(itemStack.hasDisplayName()) - { - ((TileEntityDiFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineBattery(); - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityMachineBattery entity = (TileEntityMachineBattery) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - entity.conducts = true; - } - else - { - entity.conducts = false; - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineBattery entity = (TileEntityMachineBattery) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_battery, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineBattery tileentityfurnace = (TileEntityMachineBattery)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityDiFurnace; +import com.hbm.tileentity.TileEntityMachineBattery; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineBattery extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + + public MachineBattery(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":battery_front_alt"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":battery_side_alt"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_battery); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + + if(itemStack.hasDisplayName()) + { + ((TileEntityDiFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineBattery(); + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityMachineBattery entity = (TileEntityMachineBattery) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + entity.conducts = true; + } + else + { + entity.conducts = false; + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineBattery entity = (TileEntityMachineBattery) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_battery, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineBattery tileentityfurnace = (TileEntityMachineBattery)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + +} diff --git a/com/hbm/blocks/MachineCMBFactory.java b/com/hbm/blocks/machine/MachineCMBFactory.java similarity index 95% rename from com/hbm/blocks/MachineCMBFactory.java rename to com/hbm/blocks/machine/MachineCMBFactory.java index b6a30b937..96415756e 100644 --- a/com/hbm/blocks/MachineCMBFactory.java +++ b/com/hbm/blocks/machine/MachineCMBFactory.java @@ -1,132 +1,133 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineCMBFactory; -import com.hbm.tileentity.TileEntityMachineDiesel; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class MachineCMBFactory extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":machine_cmb_top"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_cmb_side"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_combine_factory); - } - - protected MachineCMBFactory(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineCMBFactory(); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineCMBFactory entity = (TileEntityMachineCMBFactory) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_combine_factory, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineCMBFactory tileentityfurnace = (TileEntityMachineCMBFactory)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineCMBFactory; +import com.hbm.tileentity.TileEntityMachineDiesel; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class MachineCMBFactory extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":machine_cmb_top"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_cmb_side"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_combine_factory); + } + + public MachineCMBFactory(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineCMBFactory(); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineCMBFactory entity = (TileEntityMachineCMBFactory) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_combine_factory, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineCMBFactory tileentityfurnace = (TileEntityMachineCMBFactory)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } +} diff --git a/com/hbm/blocks/MachineCentrifuge.java b/com/hbm/blocks/machine/MachineCentrifuge.java similarity index 87% rename from com/hbm/blocks/MachineCentrifuge.java rename to com/hbm/blocks/machine/MachineCentrifuge.java index 22d4341c5..72ec201d2 100644 --- a/com/hbm/blocks/MachineCentrifuge.java +++ b/com/hbm/blocks/machine/MachineCentrifuge.java @@ -1,158 +1,168 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineCentrifuge; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class MachineCentrifuge extends BlockContainer { - - private final Random field_149933_a = new Random(); - private static boolean keepInventory; - - protected MachineCentrifuge(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconregister) { - this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":machine_centrifuge"); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineCentrifuge(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_centrifuge); - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineCentrifuge tileentityfurnace = (TileEntityMachineCentrifuge)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineCentrifuge entity = (TileEntityMachineCentrifuge) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_centrifuge, world, x, y, z); - } - return true; - } else { - return false; - } - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.handler.MultiblockHandler; +import com.hbm.interfaces.IMultiblock; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityDummy; +import com.hbm.tileentity.TileEntityMachineCentrifuge; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineCentrifuge extends BlockContainer implements IMultiblock { + + private final Random field_149933_a = new Random(); + private static boolean keepInventory; + + public MachineCentrifuge(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconregister) { + this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":machine_centrifuge"); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineCentrifuge(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_centrifuge); + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + + if(MultiblockHandler.checkSpace(world, x, y, z, MultiblockHandler.centDimension)) { + MultiblockHandler.fillUp(world, x, y, z, MultiblockHandler.centDimension, ModBlocks.dummy_block_centrifuge); + + } else + world.func_147480_a(x, y, z, true); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineCentrifuge tileentityfurnace = (TileEntityMachineCentrifuge)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineCentrifuge entity = (TileEntityMachineCentrifuge) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_centrifuge, world, x, y, z); + } + return true; + } else { + return false; + } + } +} diff --git a/com/hbm/blocks/MachineCoal.java b/com/hbm/blocks/machine/MachineCoal.java similarity index 96% rename from com/hbm/blocks/MachineCoal.java rename to com/hbm/blocks/machine/MachineCoal.java index 2521526c8..966a1ca47 100644 --- a/com/hbm/blocks/MachineCoal.java +++ b/com/hbm/blocks/machine/MachineCoal.java @@ -1,260 +1,261 @@ -package com.hbm.blocks; - -import java.util.Random; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineCoal; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -public class MachineCoal extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private final boolean isActive; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - - public MachineCoal(boolean blockState) { - super(Material.iron); - rand = new Random(); - isActive = blockState; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":machine_coal_front_on" : ":machine_coal_front_off")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_coal_side"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_coal_off); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - - if(itemStack.hasDisplayName()) - { - ((TileEntityMachineCoal)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineCoal entity = (TileEntityMachineCoal) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_coal, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineCoal(); - } - - public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { - int i = world.getBlockMetadata(x, y, z); - TileEntity entity = world.getTileEntity(x, y, z); - keepInventory = true; - - if(isProcessing) - { - world.setBlock(x, y, z, ModBlocks.machine_coal_on); - }else{ - world.setBlock(x, y, z, ModBlocks.machine_coal_off); - } - - keepInventory = false; - world.setBlockMetadataWithNotify(x, y, z, i, 2); - - if(entity != null) { - entity.validate(); - world.setTileEntity(x, y, z, entity); - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineCoal tileentityfurnace = (TileEntityMachineCoal)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) - { - if (isActive) - { - int l = p_149734_1_.getBlockMetadata(x, y, z); - float f = x + 0.5F; - float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; - float f2 = z + 0.5F; - float f3 = 0.52F; - float f4 = rand.nextFloat() * 0.6F - 0.3F; - float f5 = rand.nextFloat(); - float f6 = rand.nextFloat(); - - if (l == 4) - { - p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - } - else if (l == 5) - { - p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - } - else if (l == 2) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - } - else if (l == 3) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - } - } - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineCoal; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +public class MachineCoal extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private final boolean isActive; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + + public MachineCoal(boolean blockState) { + super(Material.iron); + rand = new Random(); + isActive = blockState; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":machine_coal_front_on" : ":machine_coal_front_off")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_coal_side"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_coal_off); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + + if(itemStack.hasDisplayName()) + { + ((TileEntityMachineCoal)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineCoal entity = (TileEntityMachineCoal) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_coal, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineCoal(); + } + + public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { + int i = world.getBlockMetadata(x, y, z); + TileEntity entity = world.getTileEntity(x, y, z); + keepInventory = true; + + if(isProcessing) + { + world.setBlock(x, y, z, ModBlocks.machine_coal_on); + }else{ + world.setBlock(x, y, z, ModBlocks.machine_coal_off); + } + + keepInventory = false; + world.setBlockMetadataWithNotify(x, y, z, i, 2); + + if(entity != null) { + entity.validate(); + world.setTileEntity(x, y, z, entity); + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineCoal tileentityfurnace = (TileEntityMachineCoal)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) + { + if (isActive) + { + int l = p_149734_1_.getBlockMetadata(x, y, z); + float f = x + 0.5F; + float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; + float f2 = z + 0.5F; + float f3 = 0.52F; + float f4 = rand.nextFloat() * 0.6F - 0.3F; + float f5 = rand.nextFloat(); + float f6 = rand.nextFloat(); + + if (l == 4) + { + p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + } + else if (l == 5) + { + p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + } + else if (l == 2) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + } + else if (l == 3) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + } + } + } +} diff --git a/com/hbm/blocks/MachineDeuterium.java b/com/hbm/blocks/machine/MachineDeuterium.java similarity index 95% rename from com/hbm/blocks/MachineDeuterium.java rename to com/hbm/blocks/machine/MachineDeuterium.java index 5cb56a0a5..30ce39343 100644 --- a/com/hbm/blocks/MachineDeuterium.java +++ b/com/hbm/blocks/machine/MachineDeuterium.java @@ -1,147 +1,148 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineDeuterium; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class MachineDeuterium extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconTop; - - protected MachineDeuterium(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":machine_deuterium_side"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_deuterium_front"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineDeuterium(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_deuterium); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineDeuterium entity = (TileEntityMachineDeuterium) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_deuterium, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineDeuterium tileentityfurnace = (TileEntityMachineDeuterium)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) - { - if (((TileEntityMachineDeuterium) p_149734_1_.getTileEntity(x, y, z)).isProcessing()) - { - int l = p_149734_1_.getBlockMetadata(x, y, z); - float f = x + 0.5F; - float f1 = y + 1.0F; - float f2 = z + 0.5F; - - p_149734_1_.spawnParticle("cloud", f, f1, f2, 0.0D, 0.1D, 0.0D); - } - } - -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineDeuterium; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class MachineDeuterium extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + + public MachineDeuterium(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":machine_deuterium_side"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_deuterium_front"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconTop : this.blockIcon); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineDeuterium(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_deuterium); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineDeuterium entity = (TileEntityMachineDeuterium) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_deuterium, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineDeuterium tileentityfurnace = (TileEntityMachineDeuterium)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) + { + if (((TileEntityMachineDeuterium) p_149734_1_.getTileEntity(x, y, z)).isProcessing()) + { + int l = p_149734_1_.getBlockMetadata(x, y, z); + float f = x + 0.5F; + float f1 = y + 1.0F; + float f2 = z + 0.5F; + + p_149734_1_.spawnParticle("cloud", f, f1, f2, 0.0D, 0.1D, 0.0D); + } + } + +} diff --git a/com/hbm/blocks/MachineDiFurnace.java b/com/hbm/blocks/machine/MachineDiFurnace.java similarity index 96% rename from com/hbm/blocks/MachineDiFurnace.java rename to com/hbm/blocks/machine/MachineDiFurnace.java index 8ea8cd44f..7e347c2e7 100644 --- a/com/hbm/blocks/MachineDiFurnace.java +++ b/com/hbm/blocks/machine/MachineDiFurnace.java @@ -1,274 +1,275 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityDiFurnace; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class MachineDiFurnace extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private final boolean isActive; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - private IIcon iconTop; - - public MachineDiFurnace(boolean blockState) { - super(Material.iron); - rand = new Random(); - isActive = blockState; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":test_difurnace_top_on" : ":test_difurnace_top_off")); - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":test_difurnace_front_on" : ":test_difurnace_front_off")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":test_difurnace_side"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - //Reactivate in case of emergency - //return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.iconTop); - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : (side == 1 ? this.iconTop : this.blockIcon)); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_difurnace_off); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - - if(itemStack.hasDisplayName()) - { - ((TileEntityDiFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityDiFurnace entity = (TileEntityDiFurnace) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_test_difurnace, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityDiFurnace(); - } - - public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { - int i = world.getBlockMetadata(x, y, z); - TileEntity entity = world.getTileEntity(x, y, z); - keepInventory = true; - - if(isProcessing) - { - world.setBlock(x, y, z, ModBlocks.machine_difurnace_on); - }else{ - world.setBlock(x, y, z, ModBlocks.machine_difurnace_off); - } - - keepInventory = false; - world.setBlockMetadataWithNotify(x, y, z, i, 2); - - if(entity != null) { - entity.validate(); - world.setTileEntity(x, y, z, entity); - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityDiFurnace tileentityfurnace = (TileEntityDiFurnace)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) - { - if (isActive) - { - int l = p_149734_1_.getBlockMetadata(x, y, z); - float f = x + 0.5F; - float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; - float f2 = z + 0.5F; - float f3 = 0.52F; - float f4 = rand.nextFloat() * 0.6F - 0.3F; - float f5 = rand.nextFloat(); - float f6 = rand.nextFloat(); - - if (l == 4) - { - p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - //p_149734_1_.spawnParticle("flame", (double)(f - f3), (double)f1, (double)(f2 + f4), 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("reddust", x + f5, (double)f1 + 1, z + f6, 0.0D, 0.0D, 0.0D); - } - else if (l == 5) - { - p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - //p_149734_1_.spawnParticle("flame", (double)(f + f3), (double)f1, (double)(f2 + f4), 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("reddust", x + f5, (double)f1 + 1, z + f6, 0.0D, 0.0D, 0.0D); - } - else if (l == 2) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - //p_149734_1_.spawnParticle("flame", (double)(f + f4), (double)f1, (double)(f2 - f3), 0.0D, 0.0D, 0.0D) - p_149734_1_.spawnParticle("reddust", x + f5, (double)f1 + 1, z + f6, 0.0D, 0.0D, 0.0D); - } - else if (l == 3) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - //p_149734_1_.spawnParticle("flame", (double)(f + f4), (double)f1, (double)(f2 + f3), 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("reddust", x + f5, (double)f1 + 1, z + f6, 0.0D, 0.0D, 0.0D); - } - } - } - - @Override - @SideOnly(Side.CLIENT) - public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) - { - return Item.getItemFromBlock(ModBlocks.machine_difurnace_off); - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityDiFurnace; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineDiFurnace extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private final boolean isActive; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + private IIcon iconTop; + + public MachineDiFurnace(boolean blockState) { + super(Material.iron); + rand = new Random(); + isActive = blockState; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":test_difurnace_top_on" : ":test_difurnace_top_off")); + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":test_difurnace_front_on" : ":test_difurnace_front_off")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":test_difurnace_side"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + //Reactivate in case of emergency + //return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.iconTop); + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : (side == 1 ? this.iconTop : this.blockIcon)); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_difurnace_off); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + + if(itemStack.hasDisplayName()) + { + ((TileEntityDiFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityDiFurnace entity = (TileEntityDiFurnace) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_test_difurnace, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityDiFurnace(); + } + + public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { + int i = world.getBlockMetadata(x, y, z); + TileEntity entity = world.getTileEntity(x, y, z); + keepInventory = true; + + if(isProcessing) + { + world.setBlock(x, y, z, ModBlocks.machine_difurnace_on); + }else{ + world.setBlock(x, y, z, ModBlocks.machine_difurnace_off); + } + + keepInventory = false; + world.setBlockMetadataWithNotify(x, y, z, i, 2); + + if(entity != null) { + entity.validate(); + world.setTileEntity(x, y, z, entity); + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityDiFurnace tileentityfurnace = (TileEntityDiFurnace)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) + { + if (isActive) + { + int l = p_149734_1_.getBlockMetadata(x, y, z); + float f = x + 0.5F; + float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; + float f2 = z + 0.5F; + float f3 = 0.52F; + float f4 = rand.nextFloat() * 0.6F - 0.3F; + float f5 = rand.nextFloat(); + float f6 = rand.nextFloat(); + + if (l == 4) + { + p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + //p_149734_1_.spawnParticle("flame", (double)(f - f3), (double)f1, (double)(f2 + f4), 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("reddust", x + f5, (double)f1 + 1, z + f6, 0.0D, 0.0D, 0.0D); + } + else if (l == 5) + { + p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + //p_149734_1_.spawnParticle("flame", (double)(f + f3), (double)f1, (double)(f2 + f4), 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("reddust", x + f5, (double)f1 + 1, z + f6, 0.0D, 0.0D, 0.0D); + } + else if (l == 2) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + //p_149734_1_.spawnParticle("flame", (double)(f + f4), (double)f1, (double)(f2 - f3), 0.0D, 0.0D, 0.0D) + p_149734_1_.spawnParticle("reddust", x + f5, (double)f1 + 1, z + f6, 0.0D, 0.0D, 0.0D); + } + else if (l == 3) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + //p_149734_1_.spawnParticle("flame", (double)(f + f4), (double)f1, (double)(f2 + f3), 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("reddust", x + f5, (double)f1 + 1, z + f6, 0.0D, 0.0D, 0.0D); + } + } + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) + { + return Item.getItemFromBlock(ModBlocks.machine_difurnace_off); + } +} diff --git a/com/hbm/blocks/MachineDiesel.java b/com/hbm/blocks/machine/MachineDiesel.java similarity index 95% rename from com/hbm/blocks/MachineDiesel.java rename to com/hbm/blocks/machine/MachineDiesel.java index c7848f935..70ad6e89d 100644 --- a/com/hbm/blocks/MachineDiesel.java +++ b/com/hbm/blocks/machine/MachineDiesel.java @@ -1,145 +1,146 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineDiesel; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class MachineDiesel extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconBottom; - private IIcon iconTop; - private IIcon iconSide; - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + ":machine_diesel_bottom"); - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":machine_diesel_top"); - this.iconSide = iconRegister.registerIcon(RefStrings.MODID + ":machine_diesel_side"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_diesel_front"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - if(side == 0) - return iconBottom; - if(side == 1) - return iconTop; - if(side == 2 || side == 3) - return blockIcon; - if(side == 4 || side == 5) - return iconSide; - - return null; - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_diesel); - } - - protected MachineDiesel(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineDiesel(); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineDiesel entity = (TileEntityMachineDiesel) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_diesel, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineDiesel tileentityfurnace = (TileEntityMachineDiesel)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineDiesel; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class MachineDiesel extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconBottom; + private IIcon iconTop; + private IIcon iconSide; + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + ":machine_diesel_bottom"); + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":machine_diesel_top"); + this.iconSide = iconRegister.registerIcon(RefStrings.MODID + ":machine_diesel_side"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_diesel_front"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + if(side == 0) + return iconBottom; + if(side == 1) + return iconTop; + if(side == 2 || side == 3) + return blockIcon; + if(side == 4 || side == 5) + return iconSide; + + return null; + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_diesel); + } + + public MachineDiesel(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineDiesel(); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineDiesel entity = (TileEntityMachineDiesel) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_diesel, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineDiesel tileentityfurnace = (TileEntityMachineDiesel)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + +} diff --git a/com/hbm/blocks/MachineElectricFurnace.java b/com/hbm/blocks/machine/MachineElectricFurnace.java similarity index 96% rename from com/hbm/blocks/MachineElectricFurnace.java rename to com/hbm/blocks/machine/MachineElectricFurnace.java index 6e1c385e6..02ccdae8b 100644 --- a/com/hbm/blocks/MachineElectricFurnace.java +++ b/com/hbm/blocks/machine/MachineElectricFurnace.java @@ -1,268 +1,269 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineElectricFurnace; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class MachineElectricFurnace extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private final boolean isActive; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - - public MachineElectricFurnace(boolean blockState) { - super(Material.iron); - rand = new Random(); - isActive = blockState; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":machine_electric_furnace_front_on" : ":machine_electric_furnace_front_off")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_electric_furnace"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - //Reactivate in case of emergency - //return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.iconTop); - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - - if(itemStack.hasDisplayName()) - { - ((TileEntityMachineElectricFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineElectricFurnace entity = (TileEntityMachineElectricFurnace) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_electric_furnace, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineElectricFurnace(); - } - - public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { - int i = world.getBlockMetadata(x, y, z); - TileEntity entity = world.getTileEntity(x, y, z); - keepInventory = true; - - if(isProcessing) - { - world.setBlock(x, y, z, ModBlocks.machine_electric_furnace_on); - }else{ - world.setBlock(x, y, z, ModBlocks.machine_electric_furnace_off); - } - - keepInventory = false; - world.setBlockMetadataWithNotify(x, y, z, i, 2); - - if(entity != null) { - entity.validate(); - world.setTileEntity(x, y, z, entity); - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineElectricFurnace tileentityfurnace = (TileEntityMachineElectricFurnace)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) - { - if (isActive) - { - int l = p_149734_1_.getBlockMetadata(x, y, z); - float f = x + 0.5F; - float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; - float f2 = z + 0.5F; - float f3 = 0.52F; - float f4 = rand.nextFloat() * 0.6F - 0.3F; - float f5 = rand.nextFloat(); - float f6 = rand.nextFloat(); - - if (l == 4) - { - p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - } - else if (l == 5) - { - p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - } - else if (l == 2) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - } - else if (l == 3) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - } - } - } - - @Override - @SideOnly(Side.CLIENT) - public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) - { - return Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off); - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineElectricFurnace; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineElectricFurnace extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private final boolean isActive; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + + public MachineElectricFurnace(boolean blockState) { + super(Material.iron); + rand = new Random(); + isActive = blockState; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":machine_electric_furnace_front_on" : ":machine_electric_furnace_front_off")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_electric_furnace"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + //Reactivate in case of emergency + //return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.iconTop); + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + + if(itemStack.hasDisplayName()) + { + ((TileEntityMachineElectricFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineElectricFurnace entity = (TileEntityMachineElectricFurnace) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_electric_furnace, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineElectricFurnace(); + } + + public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { + int i = world.getBlockMetadata(x, y, z); + TileEntity entity = world.getTileEntity(x, y, z); + keepInventory = true; + + if(isProcessing) + { + world.setBlock(x, y, z, ModBlocks.machine_electric_furnace_on); + }else{ + world.setBlock(x, y, z, ModBlocks.machine_electric_furnace_off); + } + + keepInventory = false; + world.setBlockMetadataWithNotify(x, y, z, i, 2); + + if(entity != null) { + entity.validate(); + world.setTileEntity(x, y, z, entity); + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineElectricFurnace tileentityfurnace = (TileEntityMachineElectricFurnace)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) + { + if (isActive) + { + int l = p_149734_1_.getBlockMetadata(x, y, z); + float f = x + 0.5F; + float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; + float f2 = z + 0.5F; + float f3 = 0.52F; + float f4 = rand.nextFloat() * 0.6F - 0.3F; + float f5 = rand.nextFloat(); + float f6 = rand.nextFloat(); + + if (l == 4) + { + p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + } + else if (l == 5) + { + p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + } + else if (l == 2) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + } + else if (l == 3) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + } + } + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) + { + return Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off); + } +} diff --git a/com/hbm/blocks/MachineGenerator.java b/com/hbm/blocks/machine/MachineGenerator.java similarity index 95% rename from com/hbm/blocks/MachineGenerator.java rename to com/hbm/blocks/machine/MachineGenerator.java index e0e88b4f7..2fc2c4a4f 100644 --- a/com/hbm/blocks/MachineGenerator.java +++ b/com/hbm/blocks/machine/MachineGenerator.java @@ -1,151 +1,151 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.explosion.ExplosionNukeGeneric; -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineGenerator; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.world.Explosion; -import net.minecraft.world.World; - -public class MachineGenerator extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconSide; - - protected MachineGenerator(Material p_i45386_1_) { - super(p_i45386_1_); - rand = new Random(); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconSide = iconRegister.registerIcon(RefStrings.MODID + ":machine_generator_side"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_generator"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 0 ? blockIcon : (side == 1 ? blockIcon : iconSide); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_generator); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineGenerator entity = (TileEntityMachineGenerator) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_generator, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineGenerator(); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineGenerator tileentityfurnace = (TileEntityMachineGenerator)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) - { - if (!p_149723_1_.isRemote) - { - TileEntityMachineGenerator entity = (TileEntityMachineGenerator) p_149723_1_.getTileEntity(p_149723_2_, p_149723_3_, p_149723_4_); - if(entity != null && entity.isLoaded) - { - p_149723_1_.createExplosion(null, p_149723_2_, p_149723_3_, p_149723_4_, 18.0F, true); - ExplosionNukeGeneric.wasteNoSchrab(p_149723_1_, p_149723_2_, p_149723_3_, p_149723_4_, 35); - p_149723_1_.setBlock(p_149723_2_, p_149723_3_, p_149723_4_, Blocks.flowing_lava); - } - } - } - -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.explosion.ExplosionNukeGeneric; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineGenerator; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.world.Explosion; +import net.minecraft.world.World; + +public class MachineGenerator extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconSide; + + public MachineGenerator(Material p_i45386_1_) { + super(p_i45386_1_); + rand = new Random(); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconSide = iconRegister.registerIcon(RefStrings.MODID + ":machine_generator_side"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_generator"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 0 ? blockIcon : (side == 1 ? blockIcon : iconSide); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_generator); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineGenerator entity = (TileEntityMachineGenerator) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_generator, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineGenerator(); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineGenerator tileentityfurnace = (TileEntityMachineGenerator)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) + { + if (!p_149723_1_.isRemote) + { + TileEntityMachineGenerator entity = (TileEntityMachineGenerator) p_149723_1_.getTileEntity(p_149723_2_, p_149723_3_, p_149723_4_); + if(entity != null && entity.isLoaded) + { + p_149723_1_.createExplosion(null, p_149723_2_, p_149723_3_, p_149723_4_, 18.0F, true); + ExplosionNukeGeneric.wasteNoSchrab(p_149723_1_, p_149723_2_, p_149723_3_, p_149723_4_, 35); + p_149723_1_.setBlock(p_149723_2_, p_149723_3_, p_149723_4_, Blocks.flowing_lava); + } + } + } +} diff --git a/com/hbm/blocks/machine/MachineIGenerator.java b/com/hbm/blocks/machine/MachineIGenerator.java new file mode 100644 index 000000000..226372a2f --- /dev/null +++ b/com/hbm/blocks/machine/MachineIGenerator.java @@ -0,0 +1,203 @@ +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.handler.MultiblockHandler; +import com.hbm.interfaces.IMultiblock; +import com.hbm.tileentity.TileEntityDummy; +import com.hbm.tileentity.TileEntityIGenerator; +import com.hbm.tileentity.TileEntityNukeGadget; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineIGenerator extends BlockContainer implements IMultiblock { + + public MachineIGenerator(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityIGenerator(); + + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { + return Item.getItemFromBlock(ModBlocks.machine_industrial_generator); + } + + @Override + public int getRenderType() { + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if (i == 0) { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + if(MultiblockHandler.checkSpace(world, x, y, z, MultiblockHandler.iGenDimensionEast)) { + MultiblockHandler.fillUp(world, x, y, z, MultiblockHandler.iGenDimensionEast, ModBlocks.dummy_block_igenerator); + + // + DummyBlockIGenerator.safeBreak = true; + world.setBlock(x + 2, y, z, ModBlocks.dummy_port_igenerator); + TileEntity te = world.getTileEntity(x + 2, y, z); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + world.setBlock(x - 3, y, z, ModBlocks.dummy_port_igenerator); + TileEntity te2 = world.getTileEntity(x - 3, y, z); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te2; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + DummyBlockIGenerator.safeBreak = false; + // + + } else + world.func_147480_a(x, y, z, true); + } + if (i == 1) { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + if(MultiblockHandler.checkSpace(world, x, y, z, MultiblockHandler.iGenDimensionSouth)) { + MultiblockHandler.fillUp(world, x, y, z, MultiblockHandler.iGenDimensionSouth, ModBlocks.dummy_block_igenerator); + + // + DummyBlockIGenerator.safeBreak = true; + world.setBlock(x, y, z + 2, ModBlocks.dummy_port_igenerator); + TileEntity te = world.getTileEntity(x, y, z + 2); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + world.setBlock(x, y, z - 3, ModBlocks.dummy_port_igenerator); + TileEntity te2 = world.getTileEntity(x, y, z - 3); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te2; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + DummyBlockIGenerator.safeBreak = false; + // + + } else + world.func_147480_a(x, y, z, true); + } + if (i == 2) { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + if(MultiblockHandler.checkSpace(world, x, y, z, MultiblockHandler.iGenDimensionWest)) { + MultiblockHandler.fillUp(world, x, y, z, MultiblockHandler.iGenDimensionWest, ModBlocks.dummy_block_igenerator); + + // + DummyBlockIGenerator.safeBreak = true; + world.setBlock(x + 3, y, z, ModBlocks.dummy_port_igenerator); + TileEntity te = world.getTileEntity(x + 3, y, z); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + world.setBlock(x - 2, y, z, ModBlocks.dummy_port_igenerator); + TileEntity te2 = world.getTileEntity(x - 2, y, z); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te2; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + DummyBlockIGenerator.safeBreak = false; + // + + } else + world.func_147480_a(x, y, z, true); + } + if (i == 3) { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + if(MultiblockHandler.checkSpace(world, x, y, z, MultiblockHandler.iGenDimensionNorth)) { + MultiblockHandler.fillUp(world, x, y, z, MultiblockHandler.iGenDimensionNorth, ModBlocks.dummy_block_igenerator); + + // + DummyBlockIGenerator.safeBreak = true; + world.setBlock(x, y, z + 3, ModBlocks.dummy_port_igenerator); + TileEntity te = world.getTileEntity(x, y, z + 3); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + world.setBlock(x, y, z - 2, ModBlocks.dummy_port_igenerator); + TileEntity te2 = world.getTileEntity(x, y, z - 2); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te2; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + DummyBlockIGenerator.safeBreak = false; + // + + } else + world.func_147480_a(x, y, z, true); + } + } + + @Override + public boolean canPlaceBlockAt(World world, int x, int y, int z) + { + return true; + } + + public void breakBlock(World world, int x, int y, int z, Block block, int i) + { + /*MultiblockHandler.EnumDirection dir = MultiblockHandler.IntToEnum(world.getBlockMetadata(x, y, z)); + + switch(dir) { + case North: + MultiblockHandler.removeAll(world, x, y, z, MultiblockHandler.iGenDimensionNorth); + break; + case East: + MultiblockHandler.removeAll(world, x, y, z, MultiblockHandler.iGenDimensionEast); + break; + case West: + MultiblockHandler.removeAll(world, x, y, z, MultiblockHandler.iGenDimensionWest); + break; + case South: + MultiblockHandler.removeAll(world, x, y, z, MultiblockHandler.iGenDimensionSouth); + break; + default: break; + }*/ + world.removeTileEntity(x, y, z); + } +} diff --git a/com/hbm/blocks/MachineNukeFurnace.java b/com/hbm/blocks/machine/MachineNukeFurnace.java similarity index 96% rename from com/hbm/blocks/MachineNukeFurnace.java rename to com/hbm/blocks/machine/MachineNukeFurnace.java index 638e85d47..e453a9710 100644 --- a/com/hbm/blocks/MachineNukeFurnace.java +++ b/com/hbm/blocks/machine/MachineNukeFurnace.java @@ -1,267 +1,268 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityNukeFurnace; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class MachineNukeFurnace extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private final boolean isActive; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - - public MachineNukeFurnace(boolean blockState) { - super(Material.iron); - rand = new Random(); - isActive = blockState; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":machine_nuke_furnace_front_on" : ":machine_nuke_furnace_front_off")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":block_steel"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_off); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - - if(itemStack.hasDisplayName()) - { - ((TileEntityNukeFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityNukeFurnace entity = (TileEntityNukeFurnace) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_furnace, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityNukeFurnace(); - } - - public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { - int i = world.getBlockMetadata(x, y, z); - TileEntity entity = world.getTileEntity(x, y, z); - keepInventory = true; - - if(isProcessing) - { - world.setBlock(x, y, z, ModBlocks.machine_nuke_furnace_on); - }else{ - world.setBlock(x, y, z, ModBlocks.machine_nuke_furnace_off); - } - - keepInventory = false; - world.setBlockMetadataWithNotify(x, y, z, i, 2); - - if(entity != null) { - entity.validate(); - world.setTileEntity(x, y, z, entity); - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityNukeFurnace tileentityfurnace = (TileEntityNukeFurnace)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) - { - if (isActive) - { - int l = p_149734_1_.getBlockMetadata(x, y, z); - float f = x + 0.5F; - float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; - float f2 = z + 0.5F; - float f3 = 0.52F; - float f4 = rand.nextFloat() * 0.6F - 0.3F; - float f5 = rand.nextFloat(); - float f6 = rand.nextFloat(); - - if (l == 4) - { - p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - } - else if (l == 5) - { - p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - } - else if (l == 2) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - } - else if (l == 3) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - } - } - } - - @Override - @SideOnly(Side.CLIENT) - public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) - { - return Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_off); - } - -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityNukeFurnace; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineNukeFurnace extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private final boolean isActive; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + + public MachineNukeFurnace(boolean blockState) { + super(Material.iron); + rand = new Random(); + isActive = blockState; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":machine_nuke_furnace_front_on" : ":machine_nuke_furnace_front_off")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":block_steel"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_off); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + + if(itemStack.hasDisplayName()) + { + ((TileEntityNukeFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityNukeFurnace entity = (TileEntityNukeFurnace) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_nuke_furnace, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityNukeFurnace(); + } + + public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { + int i = world.getBlockMetadata(x, y, z); + TileEntity entity = world.getTileEntity(x, y, z); + keepInventory = true; + + if(isProcessing) + { + world.setBlock(x, y, z, ModBlocks.machine_nuke_furnace_on); + }else{ + world.setBlock(x, y, z, ModBlocks.machine_nuke_furnace_off); + } + + keepInventory = false; + world.setBlockMetadataWithNotify(x, y, z, i, 2); + + if(entity != null) { + entity.validate(); + world.setTileEntity(x, y, z, entity); + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityNukeFurnace tileentityfurnace = (TileEntityNukeFurnace)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) + { + if (isActive) + { + int l = p_149734_1_.getBlockMetadata(x, y, z); + float f = x + 0.5F; + float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; + float f2 = z + 0.5F; + float f3 = 0.52F; + float f4 = rand.nextFloat() * 0.6F - 0.3F; + float f5 = rand.nextFloat(); + float f6 = rand.nextFloat(); + + if (l == 4) + { + p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + } + else if (l == 5) + { + p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + } + else if (l == 2) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + } + else if (l == 3) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + } + } + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) + { + return Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_off); + } + +} diff --git a/com/hbm/blocks/MachinePuF6Tank.java b/com/hbm/blocks/machine/MachinePuF6Tank.java similarity index 94% rename from com/hbm/blocks/MachinePuF6Tank.java rename to com/hbm/blocks/machine/MachinePuF6Tank.java index 7dc1c813a..5cd0eee56 100644 --- a/com/hbm/blocks/MachinePuF6Tank.java +++ b/com/hbm/blocks/machine/MachinePuF6Tank.java @@ -1,158 +1,159 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachinePuF6Tank; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class MachinePuF6Tank extends BlockContainer { - - private final Random field_149933_a = new Random(); - private static boolean keepInventory; - - protected MachinePuF6Tank(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconregister) { - this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":machine_puf6_tank"); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachinePuF6Tank(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_puf6_tank); - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachinePuF6Tank tileentityfurnace = (TileEntityMachinePuF6Tank)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachinePuF6Tank entity = (TileEntityMachinePuF6Tank) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_puf6_tank, world, x, y, z); - } - return true; - } else { - return false; - } - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachinePuF6Tank; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachinePuF6Tank extends BlockContainer { + + private final Random field_149933_a = new Random(); + private static boolean keepInventory; + + public MachinePuF6Tank(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconregister) { + this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":machine_puf6_tank"); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachinePuF6Tank(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_puf6_tank); + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachinePuF6Tank tileentityfurnace = (TileEntityMachinePuF6Tank)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachinePuF6Tank entity = (TileEntityMachinePuF6Tank) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_puf6_tank, world, x, y, z); + } + return true; + } else { + return false; + } + } +} diff --git a/com/hbm/blocks/machine/MachineRTG.java b/com/hbm/blocks/machine/MachineRTG.java new file mode 100644 index 000000000..7711c4a3d --- /dev/null +++ b/com/hbm/blocks/machine/MachineRTG.java @@ -0,0 +1,64 @@ +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.util.IIcon; + +public class MachineRTG extends Block { + + private final Random field_149933_a = new Random(); + private Random rand; + + @SideOnly(Side.CLIENT) + //private IIcon iconFront; + private IIcon iconTop; + private IIcon iconBottom; + + public MachineRTG(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + + String s; + //if(this == ModBlocks.machine_rtg_blue) + // s = "blue"; + /*else*/ if(this == ModBlocks.machine_rtg_cyan) + s = "cyan"; + //else if(this == ModBlocks.machine_rtg_green) + // s = "green"; + else if(this == ModBlocks.machine_rtg_grey) + s = "grey"; + //else if(this == ModBlocks.machine_rtg_orange) + // s = "orange"; + //else if(this == ModBlocks.machine_rtg_purple) + // s = "purple"; + //else if(this == ModBlocks.machine_rtg_red) + // s = "red"; + //else if(this == ModBlocks.machine_rtg_yellow) + // s = "yellow"; + else + s = "null"; + + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (":machine_rtg_top_" + s)); + //this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (":reactor_front")); + this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (":red_wire_coated")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_rtg_side_" + s); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconBottom : this.blockIcon); + } +} diff --git a/com/hbm/blocks/MachineReactor.java b/com/hbm/blocks/machine/MachineReactor.java similarity index 95% rename from com/hbm/blocks/MachineReactor.java rename to com/hbm/blocks/machine/MachineReactor.java index ca65b80c6..62a67631b 100644 --- a/com/hbm/blocks/MachineReactor.java +++ b/com/hbm/blocks/machine/MachineReactor.java @@ -1,200 +1,201 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineReactor; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class MachineReactor extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - - @SideOnly(Side.CLIENT) - //private IIcon iconFront; - private IIcon iconTop; - private IIcon iconBottom; - - protected MachineReactor(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (":reactor_top")); - //this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (":reactor_front")); - this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (":block_lead")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reactor_side"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconBottom : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_reactor); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - - if(itemStack.hasDisplayName()) - { - ((TileEntityMachineReactor)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineReactor entity = (TileEntityMachineReactor) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineReactor(); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (true) - { - TileEntityMachineReactor tileentityfurnace = (TileEntityMachineReactor)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineReactor; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineReactor extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + + @SideOnly(Side.CLIENT) + //private IIcon iconFront; + private IIcon iconTop; + private IIcon iconBottom; + + public MachineReactor(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (":reactor_top")); + //this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (":reactor_front")); + this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (":block_lead")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reactor_side"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconBottom : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_reactor); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + + if(itemStack.hasDisplayName()) + { + ((TileEntityMachineReactor)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineReactor entity = (TileEntityMachineReactor) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineReactor(); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (true) + { + TileEntityMachineReactor tileentityfurnace = (TileEntityMachineReactor)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } +} diff --git a/com/hbm/blocks/machine/MachineReiXMainframe.java b/com/hbm/blocks/machine/MachineReiXMainframe.java new file mode 100644 index 000000000..2a5ba1927 --- /dev/null +++ b/com/hbm/blocks/machine/MachineReiXMainframe.java @@ -0,0 +1,147 @@ +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineReactor; +import com.hbm.tileentity.TileEntityReiXMainframe; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineReiXMainframe extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + + @SideOnly(Side.CLIENT) + private IIcon iconTop; + private IIcon iconBottom; + + public MachineReiXMainframe(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (":reix_top")); + this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (":reix_bottom")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reix_side"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconBottom : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_reix_mainframe); + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(itemStack.hasDisplayName()) + { + ((TileEntityReiXMainframe)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityReiXMainframe entity = (TileEntityReiXMainframe) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_reix_mainframe, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityReiXMainframe(); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (true) + { + TileEntityReiXMainframe tileentityfurnace = (TileEntityReiXMainframe)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + +} diff --git a/com/hbm/blocks/MachineRtgFurnace.java b/com/hbm/blocks/machine/MachineRtgFurnace.java similarity index 96% rename from com/hbm/blocks/MachineRtgFurnace.java rename to com/hbm/blocks/machine/MachineRtgFurnace.java index e0fd9ce12..c8827f259 100644 --- a/com/hbm/blocks/MachineRtgFurnace.java +++ b/com/hbm/blocks/machine/MachineRtgFurnace.java @@ -1,267 +1,268 @@ -package com.hbm.blocks; - -import java.util.Random; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityRtgFurnace; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -public class MachineRtgFurnace extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private final boolean isActive; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - - public MachineRtgFurnace(boolean blockState) { - super(Material.iron); - rand = new Random(); - isActive = blockState; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":machine_rtg_furnace_on" : ":machine_rtg_furnace_off")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":block_tungsten"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_off); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - - if(itemStack.hasDisplayName()) - { - ((TileEntityRtgFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityRtgFurnace entity = (TileEntityRtgFurnace) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_rtg_furnace, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityRtgFurnace(); - } - - public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { - int i = world.getBlockMetadata(x, y, z); - TileEntity entity = world.getTileEntity(x, y, z); - keepInventory = true; - - if(isProcessing) - { - world.setBlock(x, y, z, ModBlocks.machine_rtg_furnace_on); - }else{ - world.setBlock(x, y, z, ModBlocks.machine_rtg_furnace_off); - } - - keepInventory = false; - world.setBlockMetadataWithNotify(x, y, z, i, 2); - - if(entity != null) { - entity.validate(); - world.setTileEntity(x, y, z, entity); - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityRtgFurnace tileentityfurnace = (TileEntityRtgFurnace)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) - { - if (isActive) - { - int l = p_149734_1_.getBlockMetadata(x, y, z); - float f = x + 0.5F; - float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; - float f2 = z + 0.5F; - float f3 = 0.52F; - float f4 = rand.nextFloat() * 0.6F - 0.3F; - float f5 = rand.nextFloat(); - float f6 = rand.nextFloat(); - - if (l == 4) - { - p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - } - else if (l == 5) - { - p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); - } - else if (l == 2) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); - } - else if (l == 3) - { - p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - p_149734_1_.spawnParticle("flame", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); - } - } - } - - @Override - @SideOnly(Side.CLIENT) - public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) - { - return Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_off); - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityRtgFurnace; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +public class MachineRtgFurnace extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private final boolean isActive; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + + public MachineRtgFurnace(boolean blockState) { + super(Material.iron); + rand = new Random(); + isActive = blockState; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (this.isActive ? ":machine_rtg_furnace_on" : ":machine_rtg_furnace_off")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":block_tungsten"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_off); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + + if(itemStack.hasDisplayName()) + { + ((TileEntityRtgFurnace)world.getTileEntity(x, y, z)).setCustomName(itemStack.getDisplayName()); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityRtgFurnace entity = (TileEntityRtgFurnace) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_rtg_furnace, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityRtgFurnace(); + } + + public static void updateBlockState(boolean isProcessing, World world, int x, int y, int z) { + int i = world.getBlockMetadata(x, y, z); + TileEntity entity = world.getTileEntity(x, y, z); + keepInventory = true; + + if(isProcessing) + { + world.setBlock(x, y, z, ModBlocks.machine_rtg_furnace_on); + }else{ + world.setBlock(x, y, z, ModBlocks.machine_rtg_furnace_off); + } + + keepInventory = false; + world.setBlockMetadataWithNotify(x, y, z, i, 2); + + if(entity != null) { + entity.validate(); + world.setTileEntity(x, y, z, entity); + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityRtgFurnace tileentityfurnace = (TileEntityRtgFurnace)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) + { + if (isActive) + { + int l = p_149734_1_.getBlockMetadata(x, y, z); + float f = x + 0.5F; + float f1 = y + 0.0F + rand.nextFloat() * 6.0F / 16.0F; + float f2 = z + 0.5F; + float f3 = 0.52F; + float f4 = rand.nextFloat() * 0.6F - 0.3F; + float f5 = rand.nextFloat(); + float f6 = rand.nextFloat(); + + if (l == 4) + { + p_149734_1_.spawnParticle("smoke", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f - f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + } + else if (l == 5) + { + p_149734_1_.spawnParticle("smoke", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f3, f1, f2 + f4, 0.0D, 0.0D, 0.0D); + } + else if (l == 2) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f4, f1, f2 - f3, 0.0D, 0.0D, 0.0D); + } + else if (l == 3) + { + p_149734_1_.spawnParticle("smoke", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + p_149734_1_.spawnParticle("flame", f + f4, f1, f2 + f3, 0.0D, 0.0D, 0.0D); + } + } + } + + @Override + @SideOnly(Side.CLIENT) + public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_) + { + return Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_off); + } +} diff --git a/com/hbm/blocks/MachineSchrabidiumTransmutator.java b/com/hbm/blocks/machine/MachineSchrabidiumTransmutator.java similarity index 95% rename from com/hbm/blocks/MachineSchrabidiumTransmutator.java rename to com/hbm/blocks/machine/MachineSchrabidiumTransmutator.java index dc80df786..4ca149b02 100644 --- a/com/hbm/blocks/MachineSchrabidiumTransmutator.java +++ b/com/hbm/blocks/machine/MachineSchrabidiumTransmutator.java @@ -1,135 +1,136 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class MachineSchrabidiumTransmutator extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - //private IIcon iconFront; - private IIcon iconTop; - private IIcon iconBottom; - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (":transmutator_top")); - this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (":transmutator_bottom")); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":transmutator_side"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return side == 1 ? this.iconTop : (side == 0 ? this.iconBottom : this.blockIcon); - } - - protected MachineSchrabidiumTransmutator(Material p_i45386_1_) { - super(p_i45386_1_); - rand = new Random(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_schrabidium_transmutator); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineSchrabidiumTransmutator entity = (TileEntityMachineSchrabidiumTransmutator) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_schrabidium_transmutator, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineSchrabidiumTransmutator(); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineSchrabidiumTransmutator tileentityfurnace = (TileEntityMachineSchrabidiumTransmutator)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class MachineSchrabidiumTransmutator extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + //private IIcon iconFront; + private IIcon iconTop; + private IIcon iconBottom; + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (":transmutator_top")); + this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (":transmutator_bottom")); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":transmutator_side"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return side == 1 ? this.iconTop : (side == 0 ? this.iconBottom : this.blockIcon); + } + + public MachineSchrabidiumTransmutator(Material p_i45386_1_) { + super(p_i45386_1_); + rand = new Random(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_schrabidium_transmutator); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineSchrabidiumTransmutator entity = (TileEntityMachineSchrabidiumTransmutator) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_schrabidium_transmutator, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineSchrabidiumTransmutator(); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineSchrabidiumTransmutator tileentityfurnace = (TileEntityMachineSchrabidiumTransmutator)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } +} diff --git a/com/hbm/blocks/MachineShredder.java b/com/hbm/blocks/machine/MachineShredder.java similarity index 95% rename from com/hbm/blocks/MachineShredder.java rename to com/hbm/blocks/machine/MachineShredder.java index 31de8f43c..337f3a242 100644 --- a/com/hbm/blocks/MachineShredder.java +++ b/com/hbm/blocks/machine/MachineShredder.java @@ -1,144 +1,145 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineShredder; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; - -public class MachineShredder extends BlockContainer { - - private final Random field_149933_a = new Random(); - private Random rand; - private static boolean keepInventory; - - @SideOnly(Side.CLIENT) - private IIcon iconBottom; - private IIcon iconTop; - private IIcon iconSide; - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + ":machine_shredder_bottom_alt"); - this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":machine_shredder_top_alt"); - this.iconSide = iconRegister.registerIcon(RefStrings.MODID + ":machine_shredder_side_alt"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_shredder_front_alt"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - if(side == 0) - return iconBottom; - if(side == 1) - return iconTop; - if(side == 2 || side == 3) - return blockIcon; - if(side == 4 || side == 5) - return iconSide; - - return null; - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_shredder); - } - - protected MachineShredder(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineShredder(); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineShredder entity = (TileEntityMachineShredder) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_shredder, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineShredder tileentityfurnace = (TileEntityMachineShredder)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineShredder; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class MachineShredder extends BlockContainer { + + private final Random field_149933_a = new Random(); + private Random rand; + private static boolean keepInventory; + + @SideOnly(Side.CLIENT) + private IIcon iconBottom; + private IIcon iconTop; + private IIcon iconSide; + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + ":machine_shredder_bottom_alt"); + this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":machine_shredder_top_alt"); + this.iconSide = iconRegister.registerIcon(RefStrings.MODID + ":machine_shredder_side_alt"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_shredder_front_alt"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + if(side == 0) + return iconBottom; + if(side == 1) + return iconTop; + if(side == 2 || side == 3) + return blockIcon; + if(side == 4 || side == 5) + return iconSide; + + return null; + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_shredder); + } + + public MachineShredder(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineShredder(); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineShredder entity = (TileEntityMachineShredder) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_machine_shredder, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineShredder tileentityfurnace = (TileEntityMachineShredder)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } +} diff --git a/com/hbm/blocks/MachineTeleporter.java b/com/hbm/blocks/machine/MachineTeleporter.java similarity index 95% rename from com/hbm/blocks/MachineTeleporter.java rename to com/hbm/blocks/machine/MachineTeleporter.java index 9546602b4..5d469880f 100644 --- a/com/hbm/blocks/MachineTeleporter.java +++ b/com/hbm/blocks/machine/MachineTeleporter.java @@ -1,7 +1,8 @@ -package com.hbm.blocks; +package com.hbm.blocks.machine; import java.util.Random; +import com.hbm.blocks.ModBlocks; import com.hbm.items.ModItems; import com.hbm.lib.RefStrings; import com.hbm.main.MainRegistry; @@ -50,7 +51,7 @@ public class MachineTeleporter extends BlockContainer { return Item.getItemFromBlock(ModBlocks.machine_teleporter); } - protected MachineTeleporter(Material p_i45386_1_) { + public MachineTeleporter(Material p_i45386_1_) { super(p_i45386_1_); } diff --git a/com/hbm/blocks/MachineUF6Tank.java b/com/hbm/blocks/machine/MachineUF6Tank.java similarity index 95% rename from com/hbm/blocks/MachineUF6Tank.java rename to com/hbm/blocks/machine/MachineUF6Tank.java index 9683e8a3e..36d45b17d 100644 --- a/com/hbm/blocks/MachineUF6Tank.java +++ b/com/hbm/blocks/machine/MachineUF6Tank.java @@ -1,158 +1,159 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachineUF6Tank; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class MachineUF6Tank extends BlockContainer { - - private final Random field_149933_a = new Random(); - private static boolean keepInventory; - - protected MachineUF6Tank(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public int getRenderType(){ - return -1; - } - - @Override - public boolean isOpaqueCube() { - return false; - } - - @Override - public boolean renderAsNormalBlock() { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconregister) { - this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":machine_uf6_tank"); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityMachineUF6Tank(); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.machine_uf6_tank); - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityMachineUF6Tank tileentityfurnace = (TileEntityMachineUF6Tank)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityMachineUF6Tank entity = (TileEntityMachineUF6Tank) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_uf6_tank, world, x, y, z); - } - return true; - } else { - return false; - } - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachineUF6Tank; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class MachineUF6Tank extends BlockContainer { + + private final Random field_149933_a = new Random(); + private static boolean keepInventory; + + public MachineUF6Tank(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconregister) { + this.blockIcon = iconregister.registerIcon(RefStrings.MODID + ":machine_uf6_tank"); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityMachineUF6Tank(); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(ModBlocks.machine_uf6_tank); + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityMachineUF6Tank tileentityfurnace = (TileEntityMachineUF6Tank)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityMachineUF6Tank entity = (TileEntityMachineUF6Tank) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_uf6_tank, world, x, y, z); + } + return true; + } else { + return false; + } + } +} diff --git a/com/hbm/blocks/machine/RailBooster.java b/com/hbm/blocks/machine/RailBooster.java new file mode 100644 index 000000000..20048a0a3 --- /dev/null +++ b/com/hbm/blocks/machine/RailBooster.java @@ -0,0 +1,18 @@ +package com.hbm.blocks.machine; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.BlockRailBase; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.item.EntityMinecart; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class RailBooster extends RailHighspeed { + + public void onMinecartPass(World world, EntityMinecart cart, int y, int x, int z) { + cart.motionX *= 1.15F; + cart.motionY *= 1.15F; + cart.motionZ *= 1.15F; + } +} diff --git a/com/hbm/blocks/machine/RailHighspeed.java b/com/hbm/blocks/machine/RailHighspeed.java new file mode 100644 index 000000000..f48a06ca3 --- /dev/null +++ b/com/hbm/blocks/machine/RailHighspeed.java @@ -0,0 +1,44 @@ +package com.hbm.blocks.machine; + +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockRailBase; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.item.EntityMinecart; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; + +public class RailHighspeed extends BlockRailBase { + + @SideOnly(Side.CLIENT) + private IIcon icon; + + public RailHighspeed() + { + super(true); + } + + /** + * Gets the block's texture. Args: side, meta + */ + @SideOnly(Side.CLIENT) + public IIcon getIcon(int p_149691_1_, int p_149691_2_) + { + return p_149691_2_ >= 6 ? this.icon : this.blockIcon; + } + + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister p_149651_1_) + { + super.registerBlockIcons(p_149651_1_); + this.icon = p_149651_1_.registerIcon(this.getTextureName()); + } + + public float getRailMaxSpeed(World world, EntityMinecart cart, int y, int x, int z) + { + return 1.0f; + } +} diff --git a/com/hbm/blocks/ReactorCore.java b/com/hbm/blocks/machine/ReactorCore.java similarity index 95% rename from com/hbm/blocks/ReactorCore.java rename to com/hbm/blocks/machine/ReactorCore.java index fa0028b06..1c6c29ddd 100644 --- a/com/hbm/blocks/ReactorCore.java +++ b/com/hbm/blocks/machine/ReactorCore.java @@ -1,98 +1,98 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.explosion.ExplosionNukeGeneric; -import com.hbm.tileentity.TileEntityReactorMultiblock; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.Explosion; -import net.minecraft.world.World; - -public class ReactorCore extends BlockContainer { - - public boolean keepInventory = false; - public Random field_149933_a = new Random(); - - protected ReactorCore(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityReactorMultiblock(); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityReactorMultiblock tileentityfurnace = (TileEntityReactorMultiblock)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) - { - if (!p_149723_1_.isRemote) - { - TileEntityReactorMultiblock entity = (TileEntityReactorMultiblock) p_149723_1_.getTileEntity(p_149723_2_, p_149723_3_, p_149723_4_); - if(entity != null && entity.isLoaded) - { - entity.explode(); - } - } - } - -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.explosion.ExplosionNukeGeneric; +import com.hbm.tileentity.TileEntityReactorMultiblock; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.Explosion; +import net.minecraft.world.World; + +public class ReactorCore extends BlockContainer { + + public boolean keepInventory = false; + public Random field_149933_a = new Random(); + + public ReactorCore(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityReactorMultiblock(); + } + + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + if (!keepInventory) + { + TileEntityReactorMultiblock tileentityfurnace = (TileEntityReactorMultiblock)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentityfurnace != null) + { + for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; + + while (itemstack.stackSize > 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public void onBlockDestroyedByExplosion(World p_149723_1_, int p_149723_2_, int p_149723_3_, int p_149723_4_, Explosion p_149723_5_) + { + if (!p_149723_1_.isRemote) + { + TileEntityReactorMultiblock entity = (TileEntityReactorMultiblock) p_149723_1_.getTileEntity(p_149723_2_, p_149723_3_, p_149723_4_); + if(entity != null && entity.isLoaded) + { + entity.explode(); + } + } + } + +} diff --git a/com/hbm/blocks/ReactorHatch.java b/com/hbm/blocks/machine/ReactorHatch.java similarity index 95% rename from com/hbm/blocks/ReactorHatch.java rename to com/hbm/blocks/machine/ReactorHatch.java index 20f9b3cd5..87ee4cca1 100644 --- a/com/hbm/blocks/ReactorHatch.java +++ b/com/hbm/blocks/machine/ReactorHatch.java @@ -1,179 +1,180 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityReactorMultiblock; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ChatComponentText; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class ReactorHatch extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - - protected ReactorHatch(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":reactor_hatch"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":brick_concrete"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(this); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - //this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - if(world.getBlockMetadata(x, y, z) == 2) - { - if(world.getTileEntity(x, y, z + 2) instanceof TileEntityReactorMultiblock) - { - if(((TileEntityReactorMultiblock)world.getTileEntity(x, y, z + 2)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor_multiblock, world, x, y, z + 2); - } else { - player.addChatMessage(new ChatComponentText("[Nuclear Reactor] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Nuclear Reactor Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 3) - { - if(world.getTileEntity(x, y, z - 2) instanceof TileEntityReactorMultiblock) - { - if(((TileEntityReactorMultiblock)world.getTileEntity(x, y, z - 2)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor_multiblock, world, x, y, z - 2); - } else { - player.addChatMessage(new ChatComponentText("[Nuclear Reactor] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Nuclear Reactor Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 4) - { - if(world.getTileEntity(x + 2, y, z) instanceof TileEntityReactorMultiblock) - { - if(((TileEntityReactorMultiblock)world.getTileEntity(x + 2, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor_multiblock, world, x + 2, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Nuclear Reactor] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Nuclear Reactor Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 5) - { - if(world.getTileEntity(x - 2, y, z) instanceof TileEntityReactorMultiblock) - { - if(((TileEntityReactorMultiblock)world.getTileEntity(x - 2, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor_multiblock, world, x - 2, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Nuclear Reactor] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Nuclear Reactor Error: Reactor Core not found!")); - } - } - return true; - } else { - return false; - } - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityReactorMultiblock; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class ReactorHatch extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + + public ReactorHatch(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":reactor_hatch"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":brick_concrete"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(this); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + //this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + if(world.getBlockMetadata(x, y, z) == 2) + { + if(world.getTileEntity(x, y, z + 2) instanceof TileEntityReactorMultiblock) + { + if(((TileEntityReactorMultiblock)world.getTileEntity(x, y, z + 2)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor_multiblock, world, x, y, z + 2); + } else { + player.addChatMessage(new ChatComponentText("[Nuclear Reactor] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Nuclear Reactor Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 3) + { + if(world.getTileEntity(x, y, z - 2) instanceof TileEntityReactorMultiblock) + { + if(((TileEntityReactorMultiblock)world.getTileEntity(x, y, z - 2)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor_multiblock, world, x, y, z - 2); + } else { + player.addChatMessage(new ChatComponentText("[Nuclear Reactor] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Nuclear Reactor Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 4) + { + if(world.getTileEntity(x + 2, y, z) instanceof TileEntityReactorMultiblock) + { + if(((TileEntityReactorMultiblock)world.getTileEntity(x + 2, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor_multiblock, world, x + 2, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Nuclear Reactor] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Nuclear Reactor Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 5) + { + if(world.getTileEntity(x - 2, y, z) instanceof TileEntityReactorMultiblock) + { + if(((TileEntityReactorMultiblock)world.getTileEntity(x - 2, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_reactor_multiblock, world, x - 2, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Nuclear Reactor] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Nuclear Reactor Error: Reactor Core not found!")); + } + } + return true; + } else { + return false; + } + } +} diff --git a/com/hbm/blocks/WatzCore.java b/com/hbm/blocks/machine/WatzCore.java similarity index 81% rename from com/hbm/blocks/WatzCore.java rename to com/hbm/blocks/machine/WatzCore.java index 0c26b17bd..3b51cce9a 100644 --- a/com/hbm/blocks/WatzCore.java +++ b/com/hbm/blocks/machine/WatzCore.java @@ -1,20 +1,20 @@ -package com.hbm.blocks; - -import com.hbm.tileentity.TileEntityWatzCore; - -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class WatzCore extends BlockContainer { - - protected WatzCore(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityWatzCore(); - } -} +package com.hbm.blocks.machine; + +import com.hbm.tileentity.TileEntityWatzCore; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class WatzCore extends BlockContainer { + + public WatzCore(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityWatzCore(); + } +} diff --git a/com/hbm/blocks/WatzHatch.java b/com/hbm/blocks/machine/WatzHatch.java similarity index 95% rename from com/hbm/blocks/WatzHatch.java rename to com/hbm/blocks/machine/WatzHatch.java index bbf68549f..056ec5572 100644 --- a/com/hbm/blocks/WatzHatch.java +++ b/com/hbm/blocks/machine/WatzHatch.java @@ -1,179 +1,180 @@ -package com.hbm.blocks; - -import java.util.Random; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityWatzCore; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ChatComponentText; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class WatzHatch extends Block { - - @SideOnly(Side.CLIENT) - private IIcon iconFront; - - protected WatzHatch(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister iconRegister) { - this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":watz_hatch"); - this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reinforced_brick"); - } - - @Override - @SideOnly(Side.CLIENT) - public IIcon getIcon(int side, int metadata) { - return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(this); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) { - super.onBlockAdded(world, x, y, z); - //this.setDefaultDirection(world, x, y, z); - } - - private void setDefaultDirection(World world, int x, int y, int z) { - if(!world.isRemote) - { - Block block1 = world.getBlock(x, y, z - 1); - Block block2 = world.getBlock(x, y, z + 1); - Block block3 = world.getBlock(x - 1, y, z); - Block block4 = world.getBlock(x + 1, y, z); - - byte b0 = 3; - - if(block1.func_149730_j() && !block2.func_149730_j()) - { - b0 = 3; - } - if(block2.func_149730_j() && !block1.func_149730_j()) - { - b0 = 2; - } - if(block3.func_149730_j() && !block4.func_149730_j()) - { - b0 = 5; - } - if(block4.func_149730_j() && !block3.func_149730_j()) - { - b0 = 4; - } - - world.setBlockMetadataWithNotify(x, y, z, b0, 2); - } - } - - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { - int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; - - if(i == 0) - { - world.setBlockMetadataWithNotify(x, y, z, 2, 2); - } - if(i == 1) - { - world.setBlockMetadataWithNotify(x, y, z, 5, 2); - } - if(i == 2) - { - world.setBlockMetadataWithNotify(x, y, z, 3, 2); - } - if(i == 3) - { - world.setBlockMetadataWithNotify(x, y, z, 4, 2); - } - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - if(world.getBlockMetadata(x, y, z) == 2) - { - if(world.getTileEntity(x, y, z + 3) instanceof TileEntityWatzCore) - { - if(((TileEntityWatzCore)world.getTileEntity(x, y, z + 3)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_watz_multiblock, world, x, y, z + 3); - } else { - player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 3) - { - if(world.getTileEntity(x, y, z - 3) instanceof TileEntityWatzCore) - { - if(((TileEntityWatzCore)world.getTileEntity(x, y, z - 3)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_watz_multiblock, world, x, y, z - 3); - } else { - player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 4) - { - if(world.getTileEntity(x + 3, y, z) instanceof TileEntityWatzCore) - { - if(((TileEntityWatzCore)world.getTileEntity(x + 3, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_watz_multiblock, world, x + 3, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Core not found!")); - } - } - if(world.getBlockMetadata(x, y, z) == 5) - { - if(world.getTileEntity(x - 3, y, z) instanceof TileEntityWatzCore) - { - if(((TileEntityWatzCore)world.getTileEntity(x - 3, y, z)).isStructureValid(world)) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_watz_multiblock, world, x - 3, y, z); - } else { - player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Structure not valid!")); - } - } else { - player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Core not found!")); - } - } - return true; - } else { - return false; - } - } -} +package com.hbm.blocks.machine; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityWatzCore; + +import cpw.mods.fml.common.network.internal.FMLNetworkHandler; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class WatzHatch extends Block { + + @SideOnly(Side.CLIENT) + private IIcon iconFront; + + public WatzHatch(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister iconRegister) { + this.iconFront = iconRegister.registerIcon(RefStrings.MODID + ":watz_hatch"); + this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":reinforced_brick"); + } + + @Override + @SideOnly(Side.CLIENT) + public IIcon getIcon(int side, int metadata) { + return metadata == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); + } + + @Override + public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) + { + return Item.getItemFromBlock(this); + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + //this.setDefaultDirection(world, x, y, z); + } + + private void setDefaultDirection(World world, int x, int y, int z) { + if(!world.isRemote) + { + Block block1 = world.getBlock(x, y, z - 1); + Block block2 = world.getBlock(x, y, z + 1); + Block block3 = world.getBlock(x - 1, y, z); + Block block4 = world.getBlock(x + 1, y, z); + + byte b0 = 3; + + if(block1.func_149730_j() && !block2.func_149730_j()) + { + b0 = 3; + } + if(block2.func_149730_j() && !block1.func_149730_j()) + { + b0 = 2; + } + if(block3.func_149730_j() && !block4.func_149730_j()) + { + b0 = 5; + } + if(block4.func_149730_j() && !block3.func_149730_j()) + { + b0 = 4; + } + + world.setBlockMetadataWithNotify(x, y, z, b0, 2); + } + } + + @Override + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemStack) { + int i = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if(i == 0) + { + world.setBlockMetadataWithNotify(x, y, z, 2, 2); + } + if(i == 1) + { + world.setBlockMetadataWithNotify(x, y, z, 5, 2); + } + if(i == 2) + { + world.setBlockMetadataWithNotify(x, y, z, 3, 2); + } + if(i == 3) + { + world.setBlockMetadataWithNotify(x, y, z, 4, 2); + } + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + if(world.getBlockMetadata(x, y, z) == 2) + { + if(world.getTileEntity(x, y, z + 3) instanceof TileEntityWatzCore) + { + if(((TileEntityWatzCore)world.getTileEntity(x, y, z + 3)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_watz_multiblock, world, x, y, z + 3); + } else { + player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 3) + { + if(world.getTileEntity(x, y, z - 3) instanceof TileEntityWatzCore) + { + if(((TileEntityWatzCore)world.getTileEntity(x, y, z - 3)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_watz_multiblock, world, x, y, z - 3); + } else { + player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 4) + { + if(world.getTileEntity(x + 3, y, z) instanceof TileEntityWatzCore) + { + if(((TileEntityWatzCore)world.getTileEntity(x + 3, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_watz_multiblock, world, x + 3, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Core not found!")); + } + } + if(world.getBlockMetadata(x, y, z) == 5) + { + if(world.getTileEntity(x - 3, y, z) instanceof TileEntityWatzCore) + { + if(((TileEntityWatzCore)world.getTileEntity(x - 3, y, z)).isStructureValid(world)) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_watz_multiblock, world, x - 3, y, z); + } else { + player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Structure not valid!")); + } + } else { + player.addChatMessage(new ChatComponentText("[Watz Power Plant] Error: Reactor Core not found!")); + } + } + return true; + } else { + return false; + } + } +} diff --git a/com/hbm/blocks/WireCoated.java b/com/hbm/blocks/machine/WireCoated.java similarity index 81% rename from com/hbm/blocks/WireCoated.java rename to com/hbm/blocks/machine/WireCoated.java index 8833881a8..a9e28af9f 100644 --- a/com/hbm/blocks/WireCoated.java +++ b/com/hbm/blocks/machine/WireCoated.java @@ -1,21 +1,21 @@ -package com.hbm.blocks; - -import com.hbm.tileentity.TileEntityWireCoated; - -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class WireCoated extends BlockContainer { - - protected WireCoated(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityWireCoated(); - } - -} +package com.hbm.blocks.machine; + +import com.hbm.tileentity.TileEntityWireCoated; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class WireCoated extends BlockContainer { + + public WireCoated(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityWireCoated(); + } + +} diff --git a/com/hbm/blocks/TestBomb.java b/com/hbm/blocks/test/TestBomb.java similarity index 95% rename from com/hbm/blocks/TestBomb.java rename to com/hbm/blocks/test/TestBomb.java index e597a6596..377eda42d 100644 --- a/com/hbm/blocks/TestBomb.java +++ b/com/hbm/blocks/test/TestBomb.java @@ -1,83 +1,83 @@ -package com.hbm.blocks; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class TestBomb extends Block { - - int bombStartStrength = 40; - int bombStrengthA = 10; - protected int timer1 = 20; - int timer2 = timer1; - - protected TestBomb(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - public void onBlockAdded(World world, int x, int y, int z) - { - super.onBlockAdded(world, x, y, z); - - if (world.isBlockIndirectlyGettingPowered(x, y, z)) - { - this.onBlockDestroyedByPlayer(world, x, y, z, 1); - world.setBlockToAir(x, y, z); - soos(world, x, y, z, bombStartStrength, bombStrengthA); - } - } - - /** - * Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are - * their own) Args: x, y, z, neighbor Block - */ - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - p_149695_1_.setBlockToAir(x, y, z); - soos(p_149695_1_, x, y, z, bombStartStrength, bombStrengthA); - } - } - - public boolean soos(World world, int x, int y, int z, int bombStartStrength, int bombStrengthA) - { - if (!world.isRemote) - explode(world,x,y,z, bombStartStrength, bombStrengthA); - world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns a huge explosion particle - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); //x,y,z,sound,volume,pitch - return false; - } - - public void explode(World world, int x, int y, int z, int bombStartStrength, int bombStrengthA) - { - int r = bombStartStrength; //radius of explosion (change this to bigger numbers for more epicness) - int r2 = r*r; //radius^2, for faster distance checks. (No sqrt needed for pythagoras) - int r22 = r2/2; //half of r^2, calculations outside the loop only get called once. Always pull out as many things from the loop as possible. - for (int xx = -r; xx < r; xx++) - { - int X = xx+x; //x coordinate we are working on - int XX = xx*xx; //more stuff for a faster distance check - for (int yy = -r; yy < r; yy++) - { - int Y = yy+y; //y coord - //int YY = XX+yy*yy*3; - int YY = XX+yy*yy*3; - for (int zz = -r; zz < r; zz++) - { - int Z = zz+z; //z coord - int ZZ = YY+zz*zz; //final= x*x+y*y+z*z. remind you of anything? - if (ZZ 0; p_149749_1_.spawnEntityInWorld(entityitem)) - { - int j1 = this.field_149955_b.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149955_b.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149955_b.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149955_b.nextGaussian() * f3; - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - //Allgemeine Inventarfunktion - @Override - public IInventory func_149951_m(World p_149951_1_, int p_149951_2_, int p_149951_3_, int p_149951_4_) - { - Object object = p_149951_1_.getTileEntity(p_149951_2_, p_149951_3_, p_149951_4_); - - if (object == null) - { - return null; - } - else if (p_149951_1_.isSideSolid(p_149951_2_, p_149951_3_ + 1, p_149951_4_, DOWN)) - { - return null; - } - else if (func_149953_o(p_149951_1_, p_149951_2_, p_149951_3_, p_149951_4_)) - { - return null; - } - else if (p_149951_1_.getBlock(p_149951_2_ - 1, p_149951_3_, p_149951_4_) == this && (p_149951_1_.isSideSolid(p_149951_2_ - 1, p_149951_3_ + 1, p_149951_4_, DOWN) || func_149953_o(p_149951_1_, p_149951_2_ - 1, p_149951_3_, p_149951_4_))) - { - return null; - } - else if (p_149951_1_.getBlock(p_149951_2_ + 1, p_149951_3_, p_149951_4_) == this && (p_149951_1_.isSideSolid(p_149951_2_ + 1, p_149951_3_ + 1, p_149951_4_, DOWN) || func_149953_o(p_149951_1_, p_149951_2_ + 1, p_149951_3_, p_149951_4_))) - { - return null; - } - else if (p_149951_1_.getBlock(p_149951_2_, p_149951_3_, p_149951_4_ - 1) == this && (p_149951_1_.isSideSolid(p_149951_2_, p_149951_3_ + 1, p_149951_4_ - 1, DOWN) || func_149953_o(p_149951_1_, p_149951_2_, p_149951_3_, p_149951_4_ - 1))) - { - return null; - } - else if (p_149951_1_.getBlock(p_149951_2_, p_149951_3_, p_149951_4_ + 1) == this && (p_149951_1_.isSideSolid(p_149951_2_, p_149951_3_ + 1, p_149951_4_ + 1, DOWN) || func_149953_o(p_149951_1_, p_149951_2_, p_149951_3_, p_149951_4_ + 1))) - { - return null; - } - else - { - if (p_149951_1_.getBlock(p_149951_2_ - 1, p_149951_3_, p_149951_4_) == this) - { - object = new InventoryLargeChest("container.testContainer", (TileEntityTestContainer)p_149951_1_.getTileEntity(p_149951_2_ - 1, p_149951_3_, p_149951_4_), (IInventory)object); - } - - if (p_149951_1_.getBlock(p_149951_2_ + 1, p_149951_3_, p_149951_4_) == this) - { - object = new InventoryLargeChest("container.testContainer", (IInventory)object, (TileEntityTestContainer)p_149951_1_.getTileEntity(p_149951_2_ + 1, p_149951_3_, p_149951_4_)); - } - - if (p_149951_1_.getBlock(p_149951_2_, p_149951_3_, p_149951_4_ - 1) == this) - { - object = new InventoryLargeChest("container.testContainer", (TileEntityTestContainer)p_149951_1_.getTileEntity(p_149951_2_, p_149951_3_, p_149951_4_ - 1), (IInventory)object); - } - - if (p_149951_1_.getBlock(p_149951_2_, p_149951_3_, p_149951_4_ + 1) == this) - { - object = new InventoryLargeChest("container.testContainer", (IInventory)object, (TileEntityTestContainer)p_149951_1_.getTileEntity(p_149951_2_, p_149951_3_, p_149951_4_ + 1)); - } - - return (IInventory)object; - } - } - - //Bewirkt, dass sich Katzen draufsetzen - private static boolean func_149953_o(World p_149953_0_, int p_149953_1_, int p_149953_2_, int p_149953_3_) - { - Iterator iterator = p_149953_0_.getEntitiesWithinAABB(EntityOcelot.class, AxisAlignedBB.getBoundingBox(p_149953_1_, p_149953_2_ + 1, p_149953_3_, p_149953_1_ + 1, p_149953_2_ + 2, p_149953_3_ + 1)).iterator(); - EntityOcelot entityocelot; - - do - { - if (!iterator.hasNext()) - { - return false; - } - - Entity entity = (Entity)iterator.next(); - entityocelot = (EntityOcelot)entity; - } - while (!entityocelot.isSitting()); - - return true; - } - - //Erzeugt ein neues Tileentity - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) - { - TileEntityTestContainer tileentitychest = new TileEntityTestContainer(); - return tileentitychest; - } - - //Registriert das Inventaricon - @Override - @SideOnly(Side.CLIENT) - public void registerBlockIcons(IIconRegister p_149651_1_) - { - this.blockIcon = p_149651_1_.registerIcon(RefStrings.MODID + ":test_container"); - } -} +package com.hbm.blocks.test; + +import static net.minecraftforge.common.util.ForgeDirection.DOWN; + +import java.util.Iterator; +import java.util.Random; + +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityTestContainer; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.BlockChest; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.passive.EntityOcelot; +import net.minecraft.inventory.IInventory; +import net.minecraft.inventory.InventoryLargeChest; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class TestContainer extends BlockChest { + + public TestContainer(int p_i45397_1_) { + super(p_i45397_1_); + } + + private final Random field_149955_b = new Random(); + + //Aktiviert durch: Platzieren. Bewirkt: Rotation des Blockes in Blickrichtung + @Override + public void onBlockPlacedBy(World p_149689_1_, int p_149689_2_, int p_149689_3_, int p_149689_4_, EntityLivingBase p_149689_5_, ItemStack p_149689_6_) + { + Block block = p_149689_1_.getBlock(p_149689_2_, p_149689_3_, p_149689_4_ - 1); + Block block1 = p_149689_1_.getBlock(p_149689_2_, p_149689_3_, p_149689_4_ + 1); + Block block2 = p_149689_1_.getBlock(p_149689_2_ - 1, p_149689_3_, p_149689_4_); + Block block3 = p_149689_1_.getBlock(p_149689_2_ + 1, p_149689_3_, p_149689_4_); + byte b0 = 0; + int l = MathHelper.floor_double(p_149689_5_.rotationYaw * 4.0F / 360.0F + 0.5D) & 3; + + if (l == 0) + { + b0 = 2; + } + + if (l == 1) + { + b0 = 5; + } + + if (l == 2) + { + b0 = 3; + } + + if (l == 3) + { + b0 = 4; + } + + if (block != this && block1 != this && block2 != this && block3 != this) + { + p_149689_1_.setBlockMetadataWithNotify(p_149689_2_, p_149689_3_, p_149689_4_, b0, 3); + } + else + { + if ((block == this || block1 == this) && (b0 == 4 || b0 == 5)) + { + if (block == this) + { + p_149689_1_.setBlockMetadataWithNotify(p_149689_2_, p_149689_3_, p_149689_4_ - 1, b0, 3); + } + else + { + p_149689_1_.setBlockMetadataWithNotify(p_149689_2_, p_149689_3_, p_149689_4_ + 1, b0, 3); + } + + p_149689_1_.setBlockMetadataWithNotify(p_149689_2_, p_149689_3_, p_149689_4_, b0, 3); + } + + if ((block2 == this || block3 == this) && (b0 == 2 || b0 == 3)) + { + if (block2 == this) + { + p_149689_1_.setBlockMetadataWithNotify(p_149689_2_ - 1, p_149689_3_, p_149689_4_, b0, 3); + } + else + { + p_149689_1_.setBlockMetadataWithNotify(p_149689_2_ + 1, p_149689_3_, p_149689_4_, b0, 3); + } + + p_149689_1_.setBlockMetadataWithNotify(p_149689_2_, p_149689_3_, p_149689_4_, b0, 3); + } + } + + if (p_149689_6_.hasDisplayName()) + { + ((TileEntityTestContainer)p_149689_1_.getTileEntity(p_149689_2_, p_149689_3_, p_149689_4_)).func_145976_a(p_149689_6_.getDisplayName()); + } + } + + //Aktiviert durch: Blockupdate. Bewirkt: Verbinden zweier Kisten + @Override + public void onNeighborBlockChange(World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_, Block p_149695_5_) + { + super.onNeighborBlockChange(p_149695_1_, p_149695_2_, p_149695_3_, p_149695_4_, p_149695_5_); + TileEntityTestContainer tileentitychest = (TileEntityTestContainer)p_149695_1_.getTileEntity(p_149695_2_, p_149695_3_, p_149695_4_); + + if (tileentitychest != null) + { + tileentitychest.updateContainingBlockInfo(); + } + } + + //Aktiviert durch: Zerst�rung. Bewirkt: Droppt alle in ihm befindlichen Items + @Override + public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) + { + TileEntityTestContainer tileentitychest = (TileEntityTestContainer)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); + + if (tileentitychest != null) + { + for (int i1 = 0; i1 < tileentitychest.getSizeInventory(); ++i1) + { + ItemStack itemstack = tileentitychest.getStackInSlot(i1); + + if (itemstack != null) + { + float f = this.field_149955_b.nextFloat() * 0.8F + 0.1F; + float f1 = this.field_149955_b.nextFloat() * 0.8F + 0.1F; + EntityItem entityitem; + + for (float f2 = this.field_149955_b.nextFloat() * 0.8F + 0.1F; itemstack.stackSize > 0; p_149749_1_.spawnEntityInWorld(entityitem)) + { + int j1 = this.field_149955_b.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149955_b.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149955_b.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149955_b.nextGaussian() * f3; + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + //Allgemeine Inventarfunktion + @Override + public IInventory func_149951_m(World p_149951_1_, int p_149951_2_, int p_149951_3_, int p_149951_4_) + { + Object object = p_149951_1_.getTileEntity(p_149951_2_, p_149951_3_, p_149951_4_); + + if (object == null) + { + return null; + } + else if (p_149951_1_.isSideSolid(p_149951_2_, p_149951_3_ + 1, p_149951_4_, DOWN)) + { + return null; + } + else if (func_149953_o(p_149951_1_, p_149951_2_, p_149951_3_, p_149951_4_)) + { + return null; + } + else if (p_149951_1_.getBlock(p_149951_2_ - 1, p_149951_3_, p_149951_4_) == this && (p_149951_1_.isSideSolid(p_149951_2_ - 1, p_149951_3_ + 1, p_149951_4_, DOWN) || func_149953_o(p_149951_1_, p_149951_2_ - 1, p_149951_3_, p_149951_4_))) + { + return null; + } + else if (p_149951_1_.getBlock(p_149951_2_ + 1, p_149951_3_, p_149951_4_) == this && (p_149951_1_.isSideSolid(p_149951_2_ + 1, p_149951_3_ + 1, p_149951_4_, DOWN) || func_149953_o(p_149951_1_, p_149951_2_ + 1, p_149951_3_, p_149951_4_))) + { + return null; + } + else if (p_149951_1_.getBlock(p_149951_2_, p_149951_3_, p_149951_4_ - 1) == this && (p_149951_1_.isSideSolid(p_149951_2_, p_149951_3_ + 1, p_149951_4_ - 1, DOWN) || func_149953_o(p_149951_1_, p_149951_2_, p_149951_3_, p_149951_4_ - 1))) + { + return null; + } + else if (p_149951_1_.getBlock(p_149951_2_, p_149951_3_, p_149951_4_ + 1) == this && (p_149951_1_.isSideSolid(p_149951_2_, p_149951_3_ + 1, p_149951_4_ + 1, DOWN) || func_149953_o(p_149951_1_, p_149951_2_, p_149951_3_, p_149951_4_ + 1))) + { + return null; + } + else + { + if (p_149951_1_.getBlock(p_149951_2_ - 1, p_149951_3_, p_149951_4_) == this) + { + object = new InventoryLargeChest("container.testContainer", (TileEntityTestContainer)p_149951_1_.getTileEntity(p_149951_2_ - 1, p_149951_3_, p_149951_4_), (IInventory)object); + } + + if (p_149951_1_.getBlock(p_149951_2_ + 1, p_149951_3_, p_149951_4_) == this) + { + object = new InventoryLargeChest("container.testContainer", (IInventory)object, (TileEntityTestContainer)p_149951_1_.getTileEntity(p_149951_2_ + 1, p_149951_3_, p_149951_4_)); + } + + if (p_149951_1_.getBlock(p_149951_2_, p_149951_3_, p_149951_4_ - 1) == this) + { + object = new InventoryLargeChest("container.testContainer", (TileEntityTestContainer)p_149951_1_.getTileEntity(p_149951_2_, p_149951_3_, p_149951_4_ - 1), (IInventory)object); + } + + if (p_149951_1_.getBlock(p_149951_2_, p_149951_3_, p_149951_4_ + 1) == this) + { + object = new InventoryLargeChest("container.testContainer", (IInventory)object, (TileEntityTestContainer)p_149951_1_.getTileEntity(p_149951_2_, p_149951_3_, p_149951_4_ + 1)); + } + + return (IInventory)object; + } + } + + //Bewirkt, dass sich Katzen draufsetzen + private static boolean func_149953_o(World p_149953_0_, int p_149953_1_, int p_149953_2_, int p_149953_3_) + { + Iterator iterator = p_149953_0_.getEntitiesWithinAABB(EntityOcelot.class, AxisAlignedBB.getBoundingBox(p_149953_1_, p_149953_2_ + 1, p_149953_3_, p_149953_1_ + 1, p_149953_2_ + 2, p_149953_3_ + 1)).iterator(); + EntityOcelot entityocelot; + + do + { + if (!iterator.hasNext()) + { + return false; + } + + Entity entity = (Entity)iterator.next(); + entityocelot = (EntityOcelot)entity; + } + while (!entityocelot.isSitting()); + + return true; + } + + //Erzeugt ein neues Tileentity + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) + { + TileEntityTestContainer tileentitychest = new TileEntityTestContainer(); + return tileentitychest; + } + + //Registriert das Inventaricon + @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister p_149651_1_) + { + this.blockIcon = p_149651_1_.registerIcon(RefStrings.MODID + ":test_container"); + } +} diff --git a/com/hbm/blocks/TestEventTester.java b/com/hbm/blocks/test/TestEventTester.java similarity index 92% rename from com/hbm/blocks/TestEventTester.java rename to com/hbm/blocks/test/TestEventTester.java index 6aeeff308..5999d3db1 100644 --- a/com/hbm/blocks/TestEventTester.java +++ b/com/hbm/blocks/test/TestEventTester.java @@ -1,248 +1,250 @@ -package com.hbm.blocks; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Random; - -<<<<<<< HEAD -import com.hbm.entity.effect.EntityFalloutRain; -import com.hbm.entity.particle.EntitySmokeFX; -======= -import com.hbm.entity.EntityFalloutRain; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.explosion.ExplosionChaos; -import com.hbm.explosion.ExplosionParticle; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentProtection; -import net.minecraft.entity.Entity; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class TestEventTester extends Block { - - public float explosionSize = 1000F; - private Map field_77288_k = new HashMap(); - protected static Random itemRand = new Random(); - public World worldObj; - - protected TestEventTester(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - this.worldObj = p_149695_1_; - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - //The laser thread is too dangerous to use right now - //ThreadLaser laser = new ThreadLaser(p_149695_1_, x, y, z, "north"); - //laser.start(); - //ExplosionChaos.frag(p_149695_1_, x, y + 2, z, 10, false, null); - //EntitySmokeFX smoke = new EntitySmokeFX(p_149695_1_, x + 0.5, y + 1, z + 0.5, 0.0, 0.0, 0.0); - //p_149695_1_.spawnEntityInWorld(smoke); - //ExplosionParticle.spawnMush(p_149695_1_, x, y, z); - //mirv(this.worldObj, x, y + 20, z); - //killEvent(p_149695_1_, x, y, z); - /*EntityNuclearCreeper e = new EntityNuclearCreeper(p_149695_1_); - e.posX = x; - e.posY = y + 1; - e.posZ = z; - if(!p_149695_1_.isRemote) - { - p_149695_1_.spawnEntityInWorld(e); - } - /*if(p_149695_1_.isRemote) - { - ExplosionNukeAdvanced.mush(p_149695_1_, x, y, z); - }*/ - EntityFalloutRain fallout = new EntityFalloutRain(p_149695_1_, 1000); - fallout.posX = x; - fallout.posY = y + 3; - fallout.posZ = z; - fallout.setScale(50); - - p_149695_1_.spawnEntityInWorld(fallout); - } - } - - /*public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - this.worldObj = world; - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - //killEvent(world, x, y, z); - world.spawnParticle("smoke", (double)x, (double)y + 1, (double)z, 0.0D, 1.0D, 0.0D); - - return true; - } else { - return false; - } - }*/ - - @Override - public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) - { - /*double d = (float)par2 + 0.5F; - double d1 = (float)par3 + 0.7F; - double d2 = (float)par4 + 0.5F; - double d3 = 0.2199999988079071D; - double d4 = 0.27000001072883606D; - par1World.spawnParticle("smoke", d - d4, d1 + d3, d2, 0.0D, 0.0D, 0.0D); - par1World.spawnParticle("flame", d - d4, d1 + d3, d2, 0.0D, 0.0D, 0.0D); - //Minecraft.getMinecraft().effectRenderer.addEffect(new NukeSmokeFX(par1World, d - d4, d1 + d3, d2, 0.0D, 0.0D, 0.0D, 100, 100)); - //NukeCloudFX part = new NukeCloudFX(par1World, d - d4, d1 + d3, d2, 0.0D, 0.0D, 0.0D, 100); - //part. - //Minecraft.getMinecraft().effectRenderer.addEffect(part); - { - return super.onBlockActivated(par1World, par2, par3, par4, par5EntityPlayer, par6, par7, par8, par9); - if(par1World.isRemote) - { - ExplosionNukeAdvanced.mush(par1World, par2, par3, par4); - } - }*/ - - //ExplosionThutmose splosion = new ExplosionThutmose(par1World, null, (double) par2 + 0.5D, (double) par3 + 0.5D, (double) par4 + 0.5D, 10); - //splosion.doExplosion(); - - //par1World.setBlock(par2, par3, par4, Blocks.air); - //ExplosionChaos.anvil(par1World, par2, par3 + 2, par4, 1); - - //return true; - System.out.println(par5EntityPlayer.getCommandSenderName()); - System.out.println(par5EntityPlayer.getUniqueID()); - return true; - } - - /*public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int i, float a, float b, float c) - { - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); - entity.posX = x; - entity.posY = y; - entity.posZ = z; - entity.destructionRange = 20; - entity.speed = 25; - entity.coefficient = 3.5F; - - world.spawnEntityInWorld(entity); - - System.out.print("\nCALLED!!"); - - return true; - }*/ - - public void killEvent(World world, int x, int y, int z) { - - world.playSoundEffect(x + 0.5D, y + 0.5D, z + 0.5D, "random.break", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); - float f = this.explosionSize; - HashSet hashset = new HashSet(); - int i; - int j; - int k; - double d5; - double d6; - double d7; - double wat = 20.0D; - - - this.explosionSize *= 2.0F; - i = MathHelper.floor_double(x - wat - 1.0D); - j = MathHelper.floor_double(x + wat + 1.0D); - k = MathHelper.floor_double(y - wat - 1.0D); - int i2 = MathHelper.floor_double(y + wat + 1.0D); - int l = MathHelper.floor_double(z - wat - 1.0D); - int j2 = MathHelper.floor_double(z + wat + 1.0D); - List list = world.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); - Vec3 vec3 = Vec3.createVectorHelper(x, y, z); - Vec3 vec4 = Vec3.createVectorHelper(x, y + 1, z); - - for (int i1 = 0; i1 < list.size(); ++i1) - { - Entity entity = (Entity)list.get(i1); - double d4 = entity.getDistance(x, y, z) / this.explosionSize; - - if (d4 <= 1.0D) - { - d5 = entity.posX - x; - d6 = entity.posY + entity.getEyeHeight() - y; - d7 = entity.posZ - z; - double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); - - if (d9 < wat) - { - d5 /= d9; - d6 /= d9; - d7 /= d9; - double d10 = world.getBlockDensity(vec4, entity.boundingBox); - double d11 = (1.0D - d4) * d10; - //entity.attackEntityFrom(DamageSource.generic, (float)(100 - d9/wat*100/d10)); - - if(!entity.worldObj.isRemote && !entity.isDead) - { - entity.setFire(50); - //entity.setDead(); - } - - //entity.attackEntityFrom(DamageSource.generic, (float)((int)((d11 * d11 + d11) / 2.0D * 8.0D * (double)this.explosionSize + 1.0D))); - double d8 = EnchantmentProtection.func_92092_a(entity, d11); - entity.motionX += d5 * d8; - entity.motionY += d6 * d8; - entity.motionZ += d7 * d8; - - if (entity instanceof EntityPlayer) - { - this.field_77288_k.put(entity, Vec3.createVectorHelper(d5 * d11, d6 * d11, d7 * d11)); - } - } - } - } - - this.explosionSize = f; - } - - /*public void killEvent1(World world, int x, int y, int z) { - double explosionDimension = 20.0D; - float damageDealt = 1000.0F; - world.playSoundEffect((double)x + 0.5D, (double)y + 0.5D, (double)z + 0.5D, "random.break", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); - - List list = world.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(explosionDimension, explosionDimension, explosionDimension, -explosionDimension, -explosionDimension, -explosionDimension)); //Many thanks Pridenauer, it's a fucking cube now, are you proud of yourself now? Oh, yes you are -_- - - for(int i = 0; i < list.size(); i++) - { - Entity entity = (Entity)list.get(i); - entity.attackEntityFrom(DamageSource.generic, damageDealt); - - double d5 = entity.posX - x; - double d6 = entity.posY + (double)entity.getEyeHeight() - y; - double d7 = entity.posZ - z; - double d9 = (double)MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); - double d4 = entity.getDistance(x, y, z) / (double)this.explosionSize; - d5 /= d9; - d6 /= d9; - d7 /= d9; - Vec3 vec3 = Vec3.createVectorHelper(x, y, z); - double d10 = (double)world.getBlockDensity(vec3, entity.boundingBox); - double d11 = (1.0D - d4) * d10; - double d8 = EnchantmentProtection.func_92092_a(entity, d11); - entity.motionX += d5 * d8; - entity.motionY += d6 * d8; - entity.motionZ += d7 * d8; - } - }*/ - /* - @SideOnly(Side.CLIENT) - public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) - { - p_149734_1_.spawnParticle("largesmoke", x + 0.5F, y + 1, z + 0.5F, 0, 0, 0); - }*/ - -} +package com.hbm.blocks.test; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Random; + +import com.hbm.entity.effect.EntityFalloutRain; +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionLarge; +import com.hbm.explosion.ExplosionParticle; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentProtection; +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class TestEventTester extends Block { + + public float explosionSize = 1000F; + private Map field_77288_k = new HashMap(); + protected static Random itemRand = new Random(); + public World worldObj; + + public TestEventTester(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + this.worldObj = p_149695_1_; + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + //The laser thread is too dangerous to use right now + //ThreadLaser laser = new ThreadLaser(p_149695_1_, x, y, z, "north"); + //laser.start(); + //ExplosionChaos.frag(p_149695_1_, x, y + 2, z, 10, false, null); + //EntitySmokeFX smoke = new EntitySmokeFX(p_149695_1_, x + 0.5, y + 1, z + 0.5, 0.0, 0.0, 0.0); + //p_149695_1_.spawnEntityInWorld(smoke); + //ExplosionParticle.spawnMush(p_149695_1_, x, y, z); + //mirv(this.worldObj, x, y + 20, z); + //killEvent(p_149695_1_, x, y, z); + /*EntityNuclearCreeper e = new EntityNuclearCreeper(p_149695_1_); + e.posX = x; + e.posY = y + 1; + e.posZ = z; + if(!p_149695_1_.isRemote) + { + p_149695_1_.spawnEntityInWorld(e); + } + /*if(p_149695_1_.isRemote) + { + ExplosionNukeAdvanced.mush(p_149695_1_, x, y, z); + }*/ + /*EntityFalloutRain fallout = new EntityFalloutRain(p_149695_1_, 1000); + fallout.posX = x; + fallout.posY = y + 3; + fallout.posZ = z; + fallout.setScale(50); + + p_149695_1_.spawnEntityInWorld(fallout);*/ + + worldObj.setBlock(x, y, z, Blocks.air); + ExplosionLarge.explode(worldObj, x + 0.5, y + 0.5, z + 0.5, MainRegistry.x, true, true, true); + } + } + + /*public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + this.worldObj = world; + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + //killEvent(world, x, y, z); + world.spawnParticle("smoke", (double)x, (double)y + 1, (double)z, 0.0D, 1.0D, 0.0D); + + return true; + } else { + return false; + } + }*/ + + @Override + public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) + { + /*double d = (float)par2 + 0.5F; + double d1 = (float)par3 + 0.7F; + double d2 = (float)par4 + 0.5F; + double d3 = 0.2199999988079071D; + double d4 = 0.27000001072883606D; + par1World.spawnParticle("smoke", d - d4, d1 + d3, d2, 0.0D, 0.0D, 0.0D); + par1World.spawnParticle("flame", d - d4, d1 + d3, d2, 0.0D, 0.0D, 0.0D); + //Minecraft.getMinecraft().effectRenderer.addEffect(new NukeSmokeFX(par1World, d - d4, d1 + d3, d2, 0.0D, 0.0D, 0.0D, 100, 100)); + //NukeCloudFX part = new NukeCloudFX(par1World, d - d4, d1 + d3, d2, 0.0D, 0.0D, 0.0D, 100); + //part. + //Minecraft.getMinecraft().effectRenderer.addEffect(part); + { + return super.onBlockActivated(par1World, par2, par3, par4, par5EntityPlayer, par6, par7, par8, par9); + if(par1World.isRemote) + { + ExplosionNukeAdvanced.mush(par1World, par2, par3, par4); + } + }*/ + + //ExplosionThutmose splosion = new ExplosionThutmose(par1World, null, (double) par2 + 0.5D, (double) par3 + 0.5D, (double) par4 + 0.5D, 10); + //splosion.doExplosion(); + + //par1World.setBlock(par2, par3, par4, Blocks.air); + //ExplosionChaos.anvil(par1World, par2, par3 + 2, par4, 1); + + //return true; + System.out.println(par5EntityPlayer.getCommandSenderName()); + System.out.println(par5EntityPlayer.getUniqueID()); + return true; + } + + /*public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int i, float a, float b, float c) + { + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(world); + entity.posX = x; + entity.posY = y; + entity.posZ = z; + entity.destructionRange = 20; + entity.speed = 25; + entity.coefficient = 3.5F; + + world.spawnEntityInWorld(entity); + + System.out.print("\nCALLED!!"); + + return true; + }*/ + + public void killEvent(World world, int x, int y, int z) { + + world.playSoundEffect(x + 0.5D, y + 0.5D, z + 0.5D, "random.break", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); + float f = this.explosionSize; + HashSet hashset = new HashSet(); + int i; + int j; + int k; + double d5; + double d6; + double d7; + double wat = 20.0D; + + + this.explosionSize *= 2.0F; + i = MathHelper.floor_double(x - wat - 1.0D); + j = MathHelper.floor_double(x + wat + 1.0D); + k = MathHelper.floor_double(y - wat - 1.0D); + int i2 = MathHelper.floor_double(y + wat + 1.0D); + int l = MathHelper.floor_double(z - wat - 1.0D); + int j2 = MathHelper.floor_double(z + wat + 1.0D); + List list = world.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); + Vec3 vec3 = Vec3.createVectorHelper(x, y, z); + Vec3 vec4 = Vec3.createVectorHelper(x, y + 1, z); + + for (int i1 = 0; i1 < list.size(); ++i1) + { + Entity entity = (Entity)list.get(i1); + double d4 = entity.getDistance(x, y, z) / this.explosionSize; + + if (d4 <= 1.0D) + { + d5 = entity.posX - x; + d6 = entity.posY + entity.getEyeHeight() - y; + d7 = entity.posZ - z; + double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); + + if (d9 < wat) + { + d5 /= d9; + d6 /= d9; + d7 /= d9; + double d10 = world.getBlockDensity(vec4, entity.boundingBox); + double d11 = (1.0D - d4) * d10; + //entity.attackEntityFrom(DamageSource.generic, (float)(100 - d9/wat*100/d10)); + + if(!entity.worldObj.isRemote && !entity.isDead) + { + entity.setFire(50); + //entity.setDead(); + } + + //entity.attackEntityFrom(DamageSource.generic, (float)((int)((d11 * d11 + d11) / 2.0D * 8.0D * (double)this.explosionSize + 1.0D))); + double d8 = EnchantmentProtection.func_92092_a(entity, d11); + entity.motionX += d5 * d8; + entity.motionY += d6 * d8; + entity.motionZ += d7 * d8; + + if (entity instanceof EntityPlayer) + { + this.field_77288_k.put(entity, Vec3.createVectorHelper(d5 * d11, d6 * d11, d7 * d11)); + } + } + } + } + + this.explosionSize = f; + } + + /*public void killEvent1(World world, int x, int y, int z) { + double explosionDimension = 20.0D; + float damageDealt = 1000.0F; + world.playSoundEffect((double)x + 0.5D, (double)y + 0.5D, (double)z + 0.5D, "random.break", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); + + List list = world.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(explosionDimension, explosionDimension, explosionDimension, -explosionDimension, -explosionDimension, -explosionDimension)); //Many thanks Pridenauer, it's a fucking cube now, are you proud of yourself now? Oh, yes you are -_- + + for(int i = 0; i < list.size(); i++) + { + Entity entity = (Entity)list.get(i); + entity.attackEntityFrom(DamageSource.generic, damageDealt); + + double d5 = entity.posX - x; + double d6 = entity.posY + (double)entity.getEyeHeight() - y; + double d7 = entity.posZ - z; + double d9 = (double)MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); + double d4 = entity.getDistance(x, y, z) / (double)this.explosionSize; + d5 /= d9; + d6 /= d9; + d7 /= d9; + Vec3 vec3 = Vec3.createVectorHelper(x, y, z); + double d10 = (double)world.getBlockDensity(vec3, entity.boundingBox); + double d11 = (1.0D - d4) * d10; + double d8 = EnchantmentProtection.func_92092_a(entity, d11); + entity.motionX += d5 * d8; + entity.motionY += d6 * d8; + entity.motionZ += d7 * d8; + } + }*/ + /* + @SideOnly(Side.CLIENT) + public void randomDisplayTick(World p_149734_1_, int x, int y, int z, Random rand) + { + p_149734_1_.spawnParticle("largesmoke", x + 0.5F, y + 1, z + 0.5F, 0, 0, 0); + }*/ + +} diff --git a/com/hbm/blocks/TestMissile.java b/com/hbm/blocks/test/TestMissile.java similarity index 88% rename from com/hbm/blocks/TestMissile.java rename to com/hbm/blocks/test/TestMissile.java index 5652ab99e..25709634b 100644 --- a/com/hbm/blocks/TestMissile.java +++ b/com/hbm/blocks/test/TestMissile.java @@ -1,27 +1,27 @@ -package com.hbm.blocks; - -import com.hbm.entity.missile.EntityTestMissile; -import com.hbm.tileentity.TileEntityTestNuke; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.world.World; - -public class TestMissile extends Block { - - protected TestMissile(Material p_i45394_1_) { - super(p_i45394_1_); - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityTestNuke entity = (TileEntityTestNuke) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - EntityTestMissile missile = new EntityTestMissile(p_149695_1_, x + 150, z + 150, x + 0.5F, y + 2F, z + 0.5F); - p_149695_1_.spawnEntityInWorld(missile); - } - } - -} +package com.hbm.blocks.test; + +import com.hbm.entity.missile.EntityTestMissile; +import com.hbm.tileentity.TileEntityTestNuke; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.world.World; + +public class TestMissile extends Block { + + public TestMissile(Material p_i45394_1_) { + super(p_i45394_1_); + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityTestNuke entity = (TileEntityTestNuke) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + EntityTestMissile missile = new EntityTestMissile(p_149695_1_, x + 150, z + 150, x + 0.5F, y + 2F, z + 0.5F); + p_149695_1_.spawnEntityInWorld(missile); + } + } + +} diff --git a/com/hbm/blocks/TestNuke.java b/com/hbm/blocks/test/TestNuke.java similarity index 96% rename from com/hbm/blocks/TestNuke.java rename to com/hbm/blocks/test/TestNuke.java index a5e4e5b78..f0a2e603d 100644 --- a/com/hbm/blocks/TestNuke.java +++ b/com/hbm/blocks/test/TestNuke.java @@ -1,268 +1,269 @@ -package com.hbm.blocks; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Random; - -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityTestNuke; - -import cpw.mods.fml.common.network.internal.FMLNetworkHandler; -import net.minecraft.block.Block; -import net.minecraft.block.BlockContainer; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentProtection; -import net.minecraft.entity.Entity; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class TestNuke extends BlockContainer { - - protected int timer1 = 20; - int timer2 = timer1; - public TileEntityTestNuke tetn = new TileEntityTestNuke(); - - private final Random field_149933_a = new Random(); - private static boolean keepInventory = false; - private Map field_77288_k = new HashMap(); - private boolean isExploding = false; - - protected TestNuke(Material p_i45386_1_) { - super(p_i45386_1_); - } - - @Override - public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { - return new TileEntityTestNuke(); - - } - - @Override - public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) - { - return Item.getItemFromBlock(ModBlocks.test_nuke); - } - - @Override - public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_) - { - if (!keepInventory) - { - TileEntityTestNuke tileentityfurnace = (TileEntityTestNuke)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_); - - if (tileentityfurnace != null) - { - for (int i1 = 0; i1 < tileentityfurnace.getSizeInventory(); ++i1) - { - ItemStack itemstack = tileentityfurnace.getStackInSlot(i1); - - if (itemstack != null) - { - float f = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f1 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - float f2 = this.field_149933_a.nextFloat() * 0.8F + 0.1F; - - while (itemstack.stackSize > 0) - { - int j1 = this.field_149933_a.nextInt(21) + 10; - - if (j1 > itemstack.stackSize) - { - j1 = itemstack.stackSize; - } - - itemstack.stackSize -= j1; - EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); - - if (itemstack.hasTagCompound()) - { - entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); - } - - float f3 = 0.05F; - entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; - entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; - entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; - p_149749_1_.spawnEntityInWorld(entityitem); - } - } - } - - p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); - } - } - - super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); - } - - @Override - public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { - if(world.isRemote) - { - return true; - } else if(!player.isSneaking()) - { - TileEntityTestNuke entity = (TileEntityTestNuke) world.getTileEntity(x, y, z); - if(entity != null) - { - FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_test_nuke, world, x, y, z); - } - return true; - } else { - return false; - } - } - - @Override - public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) - { - TileEntityTestNuke entity = (TileEntityTestNuke) p_149695_1_.getTileEntity(x, y, z); - if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) - { - if(entity.getNukeTier() > 0) - { - this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); - int pootis = entity.getNukeTier(); - entity.clearSlots(); - p_149695_1_.setBlockToAir(x, y, z); - switch(pootis) - { - case 1: - igniteTestBomb(p_149695_1_, x, y, z, 20); break; - case 2: - igniteTestBomb(p_149695_1_, x, y, z, 40); break; - case 999: - igniteTestBomb(p_149695_1_, x, y, z, 200); break; - } - } - } - } - - public boolean igniteTestBomb(World world, int x, int y, int z, int bombStartStrength) - { - if (!world.isRemote) - detonateTestBomb(world,x,y,z, bombStartStrength); - world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns a huge explosion particle - world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); //x,y,z,sound,volume,pitch - return false; - } - - public void detonateTestBomb(World world, int x, int y, int z, int bombStartStrength) - { - //Rodol's awesome destruction code - int r = bombStartStrength; //radius of explosion (change this to bigger numbers for more epicness) - int r2 = r*r; //radius^2, for faster distance checks. (No sqrt needed for pythagoras) - int r22 = r2/2; //half of r^2, calculations outside the loop only get called once. Always pull out as many things from the loop as possible. - for (int xx = -r; xx < r; xx++) - { - int X = xx+x; //x coordinate we are working on - int XX = xx*xx; //more stuff for a faster distance check - for (int yy = -r; yy < r; yy++) - { - int Y = yy+y; //y coord - int YY = XX+yy*yy*3; - for (int zz = -r; zz < r; zz++) - { - int Z = zz+z; //z coord - int ZZ = YY+zz*zz; //final= x*x+y*y+z*z. remind you of anything? - if (ZZ 0) + { + int j1 = this.field_149933_a.nextInt(21) + 10; + + if (j1 > itemstack.stackSize) + { + j1 = itemstack.stackSize; + } + + itemstack.stackSize -= j1; + EntityItem entityitem = new EntityItem(p_149749_1_, p_149749_2_ + f, p_149749_3_ + f1, p_149749_4_ + f2, new ItemStack(itemstack.getItem(), j1, itemstack.getItemDamage())); + + if (itemstack.hasTagCompound()) + { + entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy()); + } + + float f3 = 0.05F; + entityitem.motionX = (float)this.field_149933_a.nextGaussian() * f3; + entityitem.motionY = (float)this.field_149933_a.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)this.field_149933_a.nextGaussian() * f3; + p_149749_1_.spawnEntityInWorld(entityitem); + } + } + } + + p_149749_1_.func_147453_f(p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_); + } + } + + super.breakBlock(p_149749_1_, p_149749_2_, p_149749_3_, p_149749_4_, p_149749_5_, p_149749_6_); + } + + @Override + public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { + if(world.isRemote) + { + return true; + } else if(!player.isSneaking()) + { + TileEntityTestNuke entity = (TileEntityTestNuke) world.getTileEntity(x, y, z); + if(entity != null) + { + FMLNetworkHandler.openGui(player, MainRegistry.instance, ModBlocks.guiID_test_nuke, world, x, y, z); + } + return true; + } else { + return false; + } + } + + @Override + public void onNeighborBlockChange(World p_149695_1_, int x, int y, int z, Block p_149695_5_) + { + TileEntityTestNuke entity = (TileEntityTestNuke) p_149695_1_.getTileEntity(x, y, z); + if (p_149695_1_.isBlockIndirectlyGettingPowered(x, y, z)) + { + if(entity.getNukeTier() > 0) + { + this.onBlockDestroyedByPlayer(p_149695_1_, x, y, z, 1); + int pootis = entity.getNukeTier(); + entity.clearSlots(); + p_149695_1_.setBlockToAir(x, y, z); + switch(pootis) + { + case 1: + igniteTestBomb(p_149695_1_, x, y, z, 20); break; + case 2: + igniteTestBomb(p_149695_1_, x, y, z, 40); break; + case 999: + igniteTestBomb(p_149695_1_, x, y, z, 200); break; + } + } + } + } + + public boolean igniteTestBomb(World world, int x, int y, int z, int bombStartStrength) + { + if (!world.isRemote) + detonateTestBomb(world,x,y,z, bombStartStrength); + world.spawnParticle("hugeexplosion", x, y, z, 0, 0, 0); //spawns a huge explosion particle + world.playSoundEffect(x, y, z, "random.explode", 1.0f, world.rand.nextFloat() * 0.1F + 0.9F); //x,y,z,sound,volume,pitch + return false; + } + + public void detonateTestBomb(World world, int x, int y, int z, int bombStartStrength) + { + //Rodol's awesome destruction code + int r = bombStartStrength; //radius of explosion (change this to bigger numbers for more epicness) + int r2 = r*r; //radius^2, for faster distance checks. (No sqrt needed for pythagoras) + int r22 = r2/2; //half of r^2, calculations outside the loop only get called once. Always pull out as many things from the loop as possible. + for (int xx = -r; xx < r; xx++) + { + int X = xx+x; //x coordinate we are working on + int XX = xx*xx; //more stuff for a faster distance check + for (int yy = -r; yy < r; yy++) + { + int Y = yy+y; //y coord + int YY = XX+yy*yy*3; + for (int zz = -r; zz < r; zz++) + { + int Z = zz+z; //z coord + int ZZ = YY+zz*zz; //final= x*x+y*y+z*z. remind you of anything? + if (ZZ= this.maxAge) - { - this.age = 0; - this.setDead(); - } - } - - @Override - protected void entityInit() { - this.dataWatcher.addObject(16, Integer.valueOf((int) 0)); - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - age = p_70037_1_.getShort("age"); - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - p_70014_1_.setShort("age", (short)age); - - } - - public void setScale(int i) { - - this.dataWatcher.updateObject(16, Integer.valueOf((int) i)); - } - - public int getScale() { - - return this.dataWatcher.getWatchableObjectInt(16); - } -} diff --git a/com/hbm/entity/EntityGrenadeASchrab.java b/com/hbm/entity/EntityGrenadeASchrab.java deleted file mode 100644 index e2ff6fde8..000000000 --- a/com/hbm/entity/EntityGrenadeASchrab.java +++ /dev/null @@ -1,75 +0,0 @@ -package com.hbm.entity; - -import com.hbm.explosion.ExplosionChaos; -import com.hbm.main.MainRegistry; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeASchrab extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeASchrab(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeASchrab(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeASchrab(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - if (!this.worldObj.isRemote) { - this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, - "random.explode", 100.0f, this.worldObj.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(this.worldObj); - entity.posX = this.posX; - entity.posY = this.posY; - entity.posZ = this.posZ; - entity.destructionRange = MainRegistry.aSchrabRadius; - entity.speed = 25; - entity.coefficient = 1.0F; - entity.waste = false; - - this.worldObj.spawnEntityInWorld(entity); - - EntityCloudFleija cloud = new EntityCloudFleija(this.worldObj, MainRegistry.aSchrabRadius); - cloud.posX = this.posX; - cloud.posY = this.posY; - cloud.posZ = this.posZ; - this.worldObj.spawnEntityInWorld(cloud); - } - } - } -} diff --git a/com/hbm/entity/EntityNukeCloudNoShroom.java b/com/hbm/entity/EntityNukeCloudNoShroom.java deleted file mode 100644 index d6ef48843..000000000 --- a/com/hbm/entity/EntityNukeCloudNoShroom.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.hbm.entity; - -import net.minecraft.world.World; - -public class EntityNukeCloudNoShroom extends EntityNukeCloudSmall { - - public EntityNukeCloudNoShroom(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityNukeCloudNoShroom(World p_i1582_1_, int maxAge) { - super(p_i1582_1_, maxAge); - } - -} diff --git a/com/hbm/entity/effect/EntityCloudFleija.java b/com/hbm/entity/effect/EntityCloudFleija.java index 2672e2adf..477a77d53 100644 --- a/com/hbm/entity/effect/EntityCloudFleija.java +++ b/com/hbm/entity/effect/EntityCloudFleija.java @@ -1,84 +1,84 @@ -package com.hbm.entity.effect; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.Entity; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.world.World; - -public class EntityCloudFleija extends Entity { - - public int maxAge = 100; - public int age; - public float scale = 0; - - public EntityCloudFleija(World p_i1582_1_) { - super(p_i1582_1_); - this.setSize(1, 4); - this.ignoreFrustumCheck = true; - this.isImmuneToFire = true; - this.age = 0; - scale = 0; - } - - @Override - protected void entityInit() { - this.dataWatcher.addObject(16, Integer.valueOf((int) 0)); - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - return 15728880; - } - - @Override - public float getBrightness(float p_70013_1_) - { - return 1.0F; - } - - public EntityCloudFleija(World p_i1582_1_, int maxAge) { - super(p_i1582_1_); - this.setSize(20, 40); - this.isImmuneToFire = true; - this.setMaxAge(maxAge); - } - - @Override - public void onUpdate() { - this.age++; - this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY + 200, this.posZ)); - - if(this.age >= this.getMaxAge()) - { - this.age = 0; - this.setDead(); - } - - this.scale++; - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - age = p_70037_1_.getShort("age"); - scale = p_70037_1_.getShort("scale"); - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - p_70014_1_.setShort("age", (short)age); - p_70014_1_.setShort("scale", (short)scale); - - } - - public void setMaxAge(int i) { - this.dataWatcher.updateObject(16, Integer.valueOf(i)); - } - - public int getMaxAge() { - return this.dataWatcher.getWatchableObjectInt(16); - } -} +package com.hbm.entity.effect; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.Entity; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; + +public class EntityCloudFleija extends Entity { + + public int maxAge = 100; + public int age; + public float scale = 0; + + public EntityCloudFleija(World p_i1582_1_) { + super(p_i1582_1_); + this.setSize(1, 4); + this.ignoreFrustumCheck = true; + this.isImmuneToFire = true; + this.age = 0; + scale = 0; + } + + @Override + protected void entityInit() { + this.dataWatcher.addObject(16, Integer.valueOf((int) 0)); + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } + + @Override + public float getBrightness(float p_70013_1_) + { + return 1.0F; + } + + public EntityCloudFleija(World p_i1582_1_, int maxAge) { + super(p_i1582_1_); + this.setSize(20, 40); + this.isImmuneToFire = true; + this.setMaxAge(maxAge); + } + + @Override + public void onUpdate() { + this.age++; + this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY + 200, this.posZ)); + + if(this.age >= this.getMaxAge()) + { + this.age = 0; + this.setDead(); + } + + this.scale++; + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + age = p_70037_1_.getShort("age"); + scale = p_70037_1_.getShort("scale"); + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + p_70014_1_.setShort("age", (short)age); + p_70014_1_.setShort("scale", (short)scale); + + } + + public void setMaxAge(int i) { + this.dataWatcher.updateObject(16, Integer.valueOf(i)); + } + + public int getMaxAge() { + return this.dataWatcher.getWatchableObjectInt(16); + } +} diff --git a/com/hbm/entity/effect/EntityEMPBlast.java b/com/hbm/entity/effect/EntityEMPBlast.java index faa0c0e29..59880f14e 100644 --- a/com/hbm/entity/effect/EntityEMPBlast.java +++ b/com/hbm/entity/effect/EntityEMPBlast.java @@ -1,83 +1,83 @@ -package com.hbm.entity.effect; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.Entity; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.world.World; - -public class EntityEMPBlast extends Entity { - - public int maxAge = 100; - public int age; - public float scale = 0; - - public EntityEMPBlast(World p_i1582_1_) { - super(p_i1582_1_); - this.setSize(1.5F, 1.5F); - this.ignoreFrustumCheck = true; - this.isImmuneToFire = true; - this.age = 0; - scale = 0; - } - - @Override - protected void entityInit() { - this.dataWatcher.addObject(16, Integer.valueOf((int) 0)); - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - return 15728880; - } - - @Override - public float getBrightness(float p_70013_1_) - { - return 1.0F; - } - - public EntityEMPBlast(World p_i1582_1_, int maxAge) { - super(p_i1582_1_); - this.setSize(1.5F, 1.5F); - this.isImmuneToFire = true; - this.setMaxAge(maxAge); - } - - @Override - public void onUpdate() { - this.age++; - - if(this.age >= this.getMaxAge()) - { - this.age = 0; - this.setDead(); - } - - this.scale++; - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - age = p_70037_1_.getShort("age"); - scale = p_70037_1_.getShort("scale"); - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - p_70014_1_.setShort("age", (short)age); - p_70014_1_.setShort("scale", (short)scale); - - } - - public void setMaxAge(int i) { - this.dataWatcher.updateObject(16, Integer.valueOf(i)); - } - - public int getMaxAge() { - return this.dataWatcher.getWatchableObjectInt(16); - } -} +package com.hbm.entity.effect; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.Entity; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; + +public class EntityEMPBlast extends Entity { + + public int maxAge = 100; + public int age; + public float scale = 0; + + public EntityEMPBlast(World p_i1582_1_) { + super(p_i1582_1_); + this.setSize(1.5F, 1.5F); + this.ignoreFrustumCheck = true; + this.isImmuneToFire = true; + this.age = 0; + scale = 0; + } + + @Override + protected void entityInit() { + this.dataWatcher.addObject(16, Integer.valueOf((int) 0)); + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } + + @Override + public float getBrightness(float p_70013_1_) + { + return 1.0F; + } + + public EntityEMPBlast(World p_i1582_1_, int maxAge) { + super(p_i1582_1_); + this.setSize(1.5F, 1.5F); + this.isImmuneToFire = true; + this.setMaxAge(maxAge); + } + + @Override + public void onUpdate() { + this.age++; + + if(this.age >= this.getMaxAge()) + { + this.age = 0; + this.setDead(); + } + + this.scale++; + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + age = p_70037_1_.getShort("age"); + scale = p_70037_1_.getShort("scale"); + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + p_70014_1_.setShort("age", (short)age); + p_70014_1_.setShort("scale", (short)scale); + + } + + public void setMaxAge(int i) { + this.dataWatcher.updateObject(16, Integer.valueOf(i)); + } + + public int getMaxAge() { + return this.dataWatcher.getWatchableObjectInt(16); + } +} diff --git a/com/hbm/entity/effect/EntityNukeCloudBig.java b/com/hbm/entity/effect/EntityNukeCloudBig.java index 90bc8c943..f8377f8b0 100644 --- a/com/hbm/entity/effect/EntityNukeCloudBig.java +++ b/com/hbm/entity/effect/EntityNukeCloudBig.java @@ -1,97 +1,97 @@ -package com.hbm.entity.effect; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.Entity; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.world.World; - -public class EntityNukeCloudBig extends Entity { - - public int maxAge = 1000; - public int age; - public float scale = 0; - public float ring = 0; - public float height = 0; - - public EntityNukeCloudBig(World p_i1582_1_) { - super(p_i1582_1_); - this.setSize(1, 80); - this.ignoreFrustumCheck = true; - this.isImmuneToFire = true; - this.age = 0; - scale = 0; - ring = 0; - height = 0; - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - return 15728880; - } - - @Override - public float getBrightness(float p_70013_1_) - { - return 1.0F; - } - - public EntityNukeCloudBig(World p_i1582_1_, int maxAge) { - super(p_i1582_1_); - this.setSize(20, 40); - this.isImmuneToFire = true; - this.maxAge = maxAge; - } - - @Override - public void onUpdate() { - //super.onUpdate(); - this.age++; - this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY + 200, this.posZ)); - - if(this.age >= this.maxAge) - { - this.age = 0; - this.setDead(); - } - ring += 0.1F; - - if(age < 150) - { - height = -60F + ((age - 100) * 60 / 50); - if(scale < 1.5) - { - scale += 0.02; - } - } - - if(age > 100) - { - if(scale < 1.5) - { - scale += 0.02; - } - } else { - scale = 0; - } - } - - @Override - protected void entityInit() { - - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - age = p_70037_1_.getShort("age"); - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - p_70014_1_.setShort("age", (short)age); - - } -} +package com.hbm.entity.effect; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.Entity; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; + +public class EntityNukeCloudBig extends Entity { + + public int maxAge = 1000; + public int age; + public float scale = 0; + public float ring = 0; + public float height = 0; + + public EntityNukeCloudBig(World p_i1582_1_) { + super(p_i1582_1_); + this.setSize(1, 80); + this.ignoreFrustumCheck = true; + this.isImmuneToFire = true; + this.age = 0; + scale = 0; + ring = 0; + height = 0; + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } + + @Override + public float getBrightness(float p_70013_1_) + { + return 1.0F; + } + + public EntityNukeCloudBig(World p_i1582_1_, int maxAge) { + super(p_i1582_1_); + this.setSize(20, 40); + this.isImmuneToFire = true; + this.maxAge = maxAge; + } + + @Override + public void onUpdate() { + //super.onUpdate(); + this.age++; + this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY + 200, this.posZ)); + + if(this.age >= this.maxAge) + { + this.age = 0; + this.setDead(); + } + ring += 0.1F; + + if(age < 150) + { + height = -60F + ((age - 100) * 60 / 50); + if(scale < 1.5) + { + scale += 0.02; + } + } + + if(age > 100) + { + if(scale < 1.5) + { + scale += 0.02; + } + } else { + scale = 0; + } + } + + @Override + protected void entityInit() { + + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + age = p_70037_1_.getShort("age"); + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + p_70014_1_.setShort("age", (short)age); + + } +} diff --git a/com/hbm/entity/effect/EntityNukeCloudSmall.java b/com/hbm/entity/effect/EntityNukeCloudSmall.java index d36ce9344..2343366b6 100644 --- a/com/hbm/entity/effect/EntityNukeCloudSmall.java +++ b/com/hbm/entity/effect/EntityNukeCloudSmall.java @@ -1,100 +1,100 @@ -package com.hbm.entity.effect; - -import org.lwjgl.opengl.GL11; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.Entity; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.world.World; - -public class EntityNukeCloudSmall extends Entity { - - public int maxAge = 1000; - public int age; - public float scale = 0; - public float ring = 0; - public float height = 0; - - public EntityNukeCloudSmall(World p_i1582_1_) { - super(p_i1582_1_); - this.setSize(1, 80); - this.ignoreFrustumCheck = true; - this.isImmuneToFire = true; - this.age = 0; - scale = 0; - ring = 0; - height = 0; - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - return 15728880; - } - - @Override - public float getBrightness(float p_70013_1_) - { - return 1.0F; - } - - public EntityNukeCloudSmall(World p_i1582_1_, int maxAge) { - super(p_i1582_1_); - this.setSize(20, 40); - this.isImmuneToFire = true; - this.maxAge = maxAge; - } - - @Override - public void onUpdate() { - //super.onUpdate(); - this.age++; - this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY + 200, this.posZ)); - - if(this.age >= this.maxAge) - { - this.age = 0; - this.setDead(); - } - ring += 0.1F; - - if(age < 150) - { - height = -60F + ((age - 100) * 60 / 50); - if(scale < 1.5) - { - scale += 0.02; - } - } - - if(age > 100) - { - if(scale < 1.5) - { - scale += 0.02; - } - } else { - scale = 0; - } - } - - @Override - protected void entityInit() { - - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - age = p_70037_1_.getShort("age"); - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - p_70014_1_.setShort("age", (short)age); - - } - -} +package com.hbm.entity.effect; + +import org.lwjgl.opengl.GL11; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.Entity; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; + +public class EntityNukeCloudSmall extends Entity { + + public int maxAge = 1000; + public int age; + public float scale = 0; + public float ring = 0; + public float height = 0; + + public EntityNukeCloudSmall(World p_i1582_1_) { + super(p_i1582_1_); + this.setSize(1, 80); + this.ignoreFrustumCheck = true; + this.isImmuneToFire = true; + this.age = 0; + scale = 0; + ring = 0; + height = 0; + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } + + @Override + public float getBrightness(float p_70013_1_) + { + return 1.0F; + } + + public EntityNukeCloudSmall(World p_i1582_1_, int maxAge) { + super(p_i1582_1_); + this.setSize(20, 40); + this.isImmuneToFire = true; + this.maxAge = maxAge; + } + + @Override + public void onUpdate() { + //super.onUpdate(); + this.age++; + this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY + 200, this.posZ)); + + if(this.age >= this.maxAge) + { + this.age = 0; + this.setDead(); + } + ring += 0.1F; + + if(age < 150) + { + height = -60F + ((age - 100) * 60 / 50); + if(scale < 1.5) + { + scale += 0.02; + } + } + + if(age > 100) + { + if(scale < 1.5) + { + scale += 0.02; + } + } else { + scale = 0; + } + } + + @Override + protected void entityInit() { + + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + age = p_70037_1_.getShort("age"); + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + p_70014_1_.setShort("age", (short)age); + + } + +} diff --git a/com/hbm/entity/grenade/EntityGrenadeCluster.java b/com/hbm/entity/grenade/EntityGrenadeCluster.java index 71ec7b92d..c6a4fbbcf 100644 --- a/com/hbm/entity/grenade/EntityGrenadeCluster.java +++ b/com/hbm/entity/grenade/EntityGrenadeCluster.java @@ -1,53 +1,53 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -import com.hbm.explosion.ExplosionChaos; - -public class EntityGrenadeCluster extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeCluster(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeCluster(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeCluster(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10, 50); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 1.5F, true); - } - } -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +import com.hbm.explosion.ExplosionChaos; + +public class EntityGrenadeCluster extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeCluster(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeCluster(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeCluster(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10, 50); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 1.5F, true); + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeElectric.java b/com/hbm/entity/grenade/EntityGrenadeElectric.java index 8bbb11aed..0e1407a58 100644 --- a/com/hbm/entity/grenade/EntityGrenadeElectric.java +++ b/com/hbm/entity/grenade/EntityGrenadeElectric.java @@ -1,53 +1,53 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeElectric extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeElectric(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeElectric(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeElectric(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); - } - this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY, this.posZ)); - } - -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeElectric extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeElectric(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeElectric(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeElectric(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); + } + this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY, this.posZ)); + } + +} diff --git a/com/hbm/entity/grenade/EntityGrenadeFire.java b/com/hbm/entity/grenade/EntityGrenadeFire.java index ddb41385f..57f73d1eb 100644 --- a/com/hbm/entity/grenade/EntityGrenadeFire.java +++ b/com/hbm/entity/grenade/EntityGrenadeFire.java @@ -1,57 +1,57 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -import com.hbm.explosion.ExplosionChaos; - -public class EntityGrenadeFire extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - public Entity shooter; - - public EntityGrenadeFire(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeFire(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeFire(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - ExplosionChaos.frag(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, true, this.shooter); - ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); - ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 15); - this.worldObj.playSoundEffect((int)this.posX, (int)this.posY, (int)this.posZ, "random.explode", 4.0F, (1.0F + (this.worldObj.rand.nextFloat() - this.worldObj.rand.nextFloat()) * 0.2F) * 0.7F); - } - } -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +import com.hbm.explosion.ExplosionChaos; + +public class EntityGrenadeFire extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + public Entity shooter; + + public EntityGrenadeFire(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeFire(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeFire(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + ExplosionChaos.frag(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, true, this.shooter); + ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); + ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 15); + this.worldObj.playSoundEffect((int)this.posX, (int)this.posY, (int)this.posZ, "random.explode", 4.0F, (1.0F + (this.worldObj.rand.nextFloat() - this.worldObj.rand.nextFloat()) * 0.2F) * 0.7F); + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeFlare.java b/com/hbm/entity/grenade/EntityGrenadeFlare.java index 76017717f..05aff7ad5 100644 --- a/com/hbm/entity/grenade/EntityGrenadeFlare.java +++ b/com/hbm/entity/grenade/EntityGrenadeFlare.java @@ -1,45 +1,45 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeFlare extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - public Entity shooter; - - public EntityGrenadeFlare(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeFlare(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeFlare(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - public void onUpdate() { - super.onUpdate(); - if(this.ticksExisted > 250) - { - this.setDead(); - } - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - this.motionX = 0; - this.motionY = 0; - this.motionZ = 0; - } -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeFlare extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + public Entity shooter; + + public EntityGrenadeFlare(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeFlare(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeFlare(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + public void onUpdate() { + super.onUpdate(); + if(this.ticksExisted > 250) + { + this.setDead(); + } + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + this.motionX = 0; + this.motionY = 0; + this.motionZ = 0; + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeFrag.java b/com/hbm/entity/grenade/EntityGrenadeFrag.java index dd5b565c5..ba78a38ba 100644 --- a/com/hbm/entity/grenade/EntityGrenadeFrag.java +++ b/com/hbm/entity/grenade/EntityGrenadeFrag.java @@ -1,64 +1,64 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -import com.hbm.explosion.ExplosionChaos; - -public class EntityGrenadeFrag extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - public Entity shooter; - - public EntityGrenadeFrag(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeFrag(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeFrag(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - if(this.isBurning()) - { - this.setDead(); - ExplosionChaos.frag(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, true, this.shooter); - ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); - ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 15); - this.worldObj.playSoundEffect((int)this.posX, (int)this.posY, (int)this.posZ, "random.explode", 4.0F, (1.0F + (this.worldObj.rand.nextFloat() - this.worldObj.rand.nextFloat()) * 0.2F) * 0.7F); - } else { - this.setDead(); - ExplosionChaos.frag(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, false, this.shooter); - this.worldObj.playSoundEffect((int)this.posX, (int)this.posY, (int)this.posZ, "random.explode", 4.0F, (1.0F + (this.worldObj.rand.nextFloat() - this.worldObj.rand.nextFloat()) * 0.2F) * 0.7F); - } - } - } -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +import com.hbm.explosion.ExplosionChaos; + +public class EntityGrenadeFrag extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + public Entity shooter; + + public EntityGrenadeFrag(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeFrag(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeFrag(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + if(this.isBurning()) + { + this.setDead(); + ExplosionChaos.frag(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, true, this.shooter); + ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); + ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 15); + this.worldObj.playSoundEffect((int)this.posX, (int)this.posY, (int)this.posZ, "random.explode", 4.0F, (1.0F + (this.worldObj.rand.nextFloat() - this.worldObj.rand.nextFloat()) * 0.2F) * 0.7F); + } else { + this.setDead(); + ExplosionChaos.frag(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, false, this.shooter); + this.worldObj.playSoundEffect((int)this.posX, (int)this.posY, (int)this.posZ, "random.explode", 4.0F, (1.0F + (this.worldObj.rand.nextFloat() - this.worldObj.rand.nextFloat()) * 0.2F) * 0.7F); + } + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeGas.java b/com/hbm/entity/grenade/EntityGrenadeGas.java index fea16156a..76d4e07a0 100644 --- a/com/hbm/entity/grenade/EntityGrenadeGas.java +++ b/com/hbm/entity/grenade/EntityGrenadeGas.java @@ -1,61 +1,61 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -import java.util.Random; - -import com.hbm.explosion.ExplosionChaos; - -public class EntityGrenadeGas extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeGas(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeGas(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeGas(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); - ExplosionChaos.poison(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); - } - - for (int i = 0; i < 10; i++) { - for(int j = 0; j < 10; j++) - this.worldObj.spawnParticle("cloud", this.posX - 2.5D + (((double)i) / 2), this.posY + 0.5D, this.posZ - 2.5D + (((double)j) / 2), 0, rand.nextDouble() * 0.1D, 0); - } - } - -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +import java.util.Random; + +import com.hbm.explosion.ExplosionChaos; + +public class EntityGrenadeGas extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeGas(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeGas(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeGas(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); + ExplosionChaos.poison(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); + } + + for (int i = 0; i < 10; i++) { + for(int j = 0; j < 10; j++) + this.worldObj.spawnParticle("cloud", this.posX - 2.5D + (((double)i) / 2), this.posY + 0.5D, this.posZ - 2.5D + (((double)j) / 2), 0, rand.nextDouble() * 0.1D, 0); + } + } + +} diff --git a/com/hbm/entity/grenade/EntityGrenadeGeneric.java b/com/hbm/entity/grenade/EntityGrenadeGeneric.java index b0076da77..e035c041f 100644 --- a/com/hbm/entity/grenade/EntityGrenadeGeneric.java +++ b/com/hbm/entity/grenade/EntityGrenadeGeneric.java @@ -1,51 +1,51 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeGeneric extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeGeneric(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeGeneric(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeGeneric(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); - } - } - -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeGeneric extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeGeneric(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeGeneric(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeGeneric(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); + } + } + +} diff --git a/com/hbm/entity/grenade/EntityGrenadeLemon.java b/com/hbm/entity/grenade/EntityGrenadeLemon.java index a515f0247..1d20039fc 100644 --- a/com/hbm/entity/grenade/EntityGrenadeLemon.java +++ b/com/hbm/entity/grenade/EntityGrenadeLemon.java @@ -1,54 +1,54 @@ -package com.hbm.entity.grenade; - -import com.hbm.explosion.ExplosionNukeGeneric; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeLemon extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeLemon(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeLemon(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeLemon(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.newExplosion((Entity)null, (float)this.posX, (float)this.posY, (float)this.posZ, 5.0F, true, true); - } - } -} +package com.hbm.entity.grenade; + +import com.hbm.explosion.ExplosionNukeGeneric; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeLemon extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeLemon(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeLemon(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeLemon(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + this.worldObj.newExplosion((Entity)null, (float)this.posX, (float)this.posY, (float)this.posZ, 5.0F, true, true); + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeMk2.java b/com/hbm/entity/grenade/EntityGrenadeMk2.java index aed929aea..6f19fa595 100644 --- a/com/hbm/entity/grenade/EntityGrenadeMk2.java +++ b/com/hbm/entity/grenade/EntityGrenadeMk2.java @@ -1,52 +1,54 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeMk2 extends EntityThrowable { - - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeMk2(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeMk2(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeMk2(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 7.5F, true); - } - } -} +package com.hbm.entity.grenade; + +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeMk2 extends EntityThrowable { + + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeMk2(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeMk2(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeMk2(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + ExplosionLarge.explode(worldObj, posX, posY, posZ, 7.5F, true, false, false); + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeNuclear.java b/com/hbm/entity/grenade/EntityGrenadeNuclear.java index 5566ff097..9e8561c3f 100644 --- a/com/hbm/entity/grenade/EntityGrenadeNuclear.java +++ b/com/hbm/entity/grenade/EntityGrenadeNuclear.java @@ -1,67 +1,67 @@ -package com.hbm.entity.grenade; - -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.explosion.ExplosionParticle; -import com.hbm.explosion.ExplosionParticleB; -import com.hbm.main.MainRegistry; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeNuclear extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeNuclear(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeNuclear(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeNuclear(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - int b0 = 1000; - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(this.worldObj); - entity0.posX = this.posX; - entity0.posY = this.posY; - entity0.posZ = this.posZ; - entity0.destructionRange = MainRegistry.nukaRadius; - entity0.speed = 25; - entity0.coefficient = 10.0F; - - this.worldObj.spawnEntityInWorld(entity0); - if(rand.nextInt(100) == 0) - { - ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 2, (int)this.posZ); - } else { - ExplosionParticle.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 2, (int)this.posZ); - } - } - } -} +package com.hbm.entity.grenade; + +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionParticle; +import com.hbm.explosion.ExplosionParticleB; +import com.hbm.main.MainRegistry; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeNuclear extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeNuclear(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeNuclear(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeNuclear(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + int b0 = 1000; + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(this.worldObj); + entity0.posX = this.posX; + entity0.posY = this.posY; + entity0.posZ = this.posZ; + entity0.destructionRange = MainRegistry.nukaRadius; + entity0.speed = 25; + entity0.coefficient = 10.0F; + + this.worldObj.spawnEntityInWorld(entity0); + if(rand.nextInt(100) == 0) + { + ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 2, (int)this.posZ); + } else { + ExplosionParticle.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 2, (int)this.posZ); + } + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeNuke.java b/com/hbm/entity/grenade/EntityGrenadeNuke.java index 9ed8eab46..8baf42661 100644 --- a/com/hbm/entity/grenade/EntityGrenadeNuke.java +++ b/com/hbm/entity/grenade/EntityGrenadeNuke.java @@ -1,52 +1,52 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeNuke extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - public int count = 2; - - public EntityGrenadeNuke(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeNuke(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeNuke(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - //this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 30F, true); - } - } - -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeNuke extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + public int count = 2; + + public EntityGrenadeNuke(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeNuke(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeNuke(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + //this.setDead(); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 30F, true); + } + } + +} diff --git a/com/hbm/entity/grenade/EntityGrenadePlasma.java b/com/hbm/entity/grenade/EntityGrenadePlasma.java index 141eef4e7..2024bf2a1 100644 --- a/com/hbm/entity/grenade/EntityGrenadePlasma.java +++ b/com/hbm/entity/grenade/EntityGrenadePlasma.java @@ -1,56 +1,56 @@ -package com.hbm.entity.grenade; - -import com.hbm.explosion.ExplosionChaos; -import com.hbm.explosion.ExplosionNukeGeneric; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadePlasma extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadePlasma(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadePlasma(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadePlasma(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); - ExplosionChaos.plasma(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 7 ); - } - } -} +package com.hbm.entity.grenade; + +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionNukeGeneric; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadePlasma extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadePlasma(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadePlasma(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadePlasma(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); + ExplosionChaos.plasma(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 7 ); + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadePoison.java b/com/hbm/entity/grenade/EntityGrenadePoison.java index 5c7c8a552..e75f3f2f5 100644 --- a/com/hbm/entity/grenade/EntityGrenadePoison.java +++ b/com/hbm/entity/grenade/EntityGrenadePoison.java @@ -1,54 +1,54 @@ -package com.hbm.entity.grenade; - -import com.hbm.explosion.ExplosionNukeGeneric; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadePoison extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadePoison(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadePoison(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadePoison(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); - ExplosionNukeGeneric.wasteNoSchrab(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); - } - } - -} +package com.hbm.entity.grenade; + +import com.hbm.explosion.ExplosionNukeGeneric; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadePoison extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadePoison(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadePoison(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadePoison(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); + ExplosionNukeGeneric.wasteNoSchrab(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); + } + } + +} diff --git a/com/hbm/entity/grenade/EntityGrenadePulse.java b/com/hbm/entity/grenade/EntityGrenadePulse.java new file mode 100644 index 000000000..adae42585 --- /dev/null +++ b/com/hbm/entity/grenade/EntityGrenadePulse.java @@ -0,0 +1,48 @@ +package com.hbm.entity.grenade; + +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadePulse extends EntityThrowable { + + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadePulse(World p_i1773_1_) { + super(p_i1773_1_); + } + + public EntityGrenadePulse(World p_i1774_1_, EntityLivingBase p_i1774_2_) { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadePulse(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) { + if (p_70184_1_.entityHit != null) { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) { + this.setDead(); + ExplosionChaos.pulse(this.worldObj, (int) this.posX, (int) this.posY, (int) this.posZ, 7); + this.worldObj.playSoundEffect((int)this.posX, (int)this.posY, (int)this.posZ, "random.explode", 4.0F, (1.0F + (this.worldObj.rand.nextFloat() - this.worldObj.rand.nextFloat()) * 0.2F) * 0.7F); + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeSchrabidium.java b/com/hbm/entity/grenade/EntityGrenadeSchrabidium.java index e1a494cd1..4aa858e50 100644 --- a/com/hbm/entity/grenade/EntityGrenadeSchrabidium.java +++ b/com/hbm/entity/grenade/EntityGrenadeSchrabidium.java @@ -1,54 +1,54 @@ -package com.hbm.entity.grenade; - -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeSchrabidium extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeSchrabidium(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeSchrabidium(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeSchrabidium(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - ExplosionChaos.schrab(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 50, 50); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 1.5F, true); - } - } - -} +package com.hbm.entity.grenade; + +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeSchrabidium extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeSchrabidium(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeSchrabidium(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeSchrabidium(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + ExplosionChaos.schrab(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 50, 50); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 1.5F, true); + } + } + +} diff --git a/com/hbm/entity/EntityGrenadeZOMG.java b/com/hbm/entity/grenade/EntityGrenadeShrapnel.java similarity index 62% rename from com/hbm/entity/EntityGrenadeZOMG.java rename to com/hbm/entity/grenade/EntityGrenadeShrapnel.java index a5743f51d..48d77882c 100644 --- a/com/hbm/entity/EntityGrenadeZOMG.java +++ b/com/hbm/entity/grenade/EntityGrenadeShrapnel.java @@ -1,55 +1,57 @@ -package com.hbm.entity; - -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeZOMG extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeZOMG(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeZOMG(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeZOMG(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - ExplosionChaos.zomgMeSinPi(this.worldObj, this.posX, this.posY, this.posZ, 100, this.getThrower(), this); - } - } - -} +package com.hbm.entity.grenade; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionLarge; + +public class EntityGrenadeShrapnel extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + public Entity shooter; + + public EntityGrenadeShrapnel(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeShrapnel(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeShrapnel(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + for(int i = 0; i < 5; i++) { + ExplosionLarge.spawnShrapnels(worldObj, this.posX, this.posY, this.posZ, 5); + } + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeStrong.java b/com/hbm/entity/grenade/EntityGrenadeStrong.java index 3666983d2..17c819f71 100644 --- a/com/hbm/entity/grenade/EntityGrenadeStrong.java +++ b/com/hbm/entity/grenade/EntityGrenadeStrong.java @@ -1,50 +1,52 @@ -package com.hbm.entity.grenade; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeStrong extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeStrong(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeStrong(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeStrong(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5.0F, true); - } - } -} +package com.hbm.entity.grenade; + +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeStrong extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeStrong(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeStrong(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeStrong(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + ExplosionLarge.explode(worldObj, posX, posY, posZ, 5.0F, true, false, false); + } + } +} diff --git a/com/hbm/entity/grenade/EntityGrenadeTau.java b/com/hbm/entity/grenade/EntityGrenadeTau.java index 1f2b567bf..1c93adefa 100644 --- a/com/hbm/entity/grenade/EntityGrenadeTau.java +++ b/com/hbm/entity/grenade/EntityGrenadeTau.java @@ -1,55 +1,55 @@ -package com.hbm.entity.grenade; - -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityBlaze; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityGrenadeTau extends EntityThrowable -{ - private static final String __OBFID = "CL_00001722"; - - public EntityGrenadeTau(World p_i1773_1_) - { - super(p_i1773_1_); - } - - public EntityGrenadeTau(World p_i1774_1_, EntityLivingBase p_i1774_2_) - { - super(p_i1774_1_, p_i1774_2_); - } - - public EntityGrenadeTau(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) - { - super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) - { - if (p_70184_1_.entityHit != null) - { - byte b0 = 0; - - if (p_70184_1_.entityHit instanceof EntityBlaze) - { - b0 = 3; - } - - p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); - } - - if (!this.worldObj.isRemote) - { - this.setDead(); - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); - ExplosionChaos.tauMeSinPi(this.worldObj, this.posX, this.posY, this.posZ, 100, this.getThrower(), this); - } - } -} +package com.hbm.entity.grenade; + +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityGrenadeTau extends EntityThrowable +{ + private static final String __OBFID = "CL_00001722"; + + public EntityGrenadeTau(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityGrenadeTau(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public EntityGrenadeTau(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 0; + + if (p_70184_1_.entityHit instanceof EntityBlaze) + { + b0 = 3; + } + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if (!this.worldObj.isRemote) + { + this.setDead(); + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.0F, true); + ExplosionChaos.tauMeSinPi(this.worldObj, this.posX, this.posY, this.posZ, 100, this.getThrower(), this); + } + } +} diff --git a/com/hbm/entity/logic/EntityNukeExplosion.java b/com/hbm/entity/logic/EntityNukeExplosion.java index c025b76da..568bda5f7 100644 --- a/com/hbm/entity/logic/EntityNukeExplosion.java +++ b/com/hbm/entity/logic/EntityNukeExplosion.java @@ -1,118 +1,118 @@ -/*package com.hbm.entity; - -import com.hbm.explosion.ExplosionNukeGeneric; - -import net.minecraft.entity.Entity; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.world.World; - -public class EntityNukeExplosion extends Entity { - - public int age = 0; - public int action = 0; - public int rangeOfDestruction = 100; - - public EntityNukeExplosion(World p_i1582_1_) { - super(p_i1582_1_); - } - - public void onUpdate() { - super.onUpdate(); - - if(this.action > this.rangeOfDestruction) - { - this.setDead(); - } - if(this.age % 10 == 0) - { - this.action++; - ExplosionNukeGeneric.detonateTestBomb(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, this.action); - } - - this.age++; - } - - @Override - protected void entityInit() { - - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - - } - -}*/ - -package com.hbm.entity.logic; - -import com.hbm.explosion.ExplosionNukeGeneric; - -import net.minecraft.entity.Entity; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.world.World; - -public class EntityNukeExplosion extends Entity { - - public int age = 0; - public double action = 0; - public int counter = 0; - public int destructionRange = 0; - public int vaporRange = 0; - public int wasteRange = 0; - public int damageRange = 0; - final int steps = 35; - - public EntityNukeExplosion(World p_i1582_1_) { - super(p_i1582_1_); - } - - @Override - public void onUpdate() { - super.onUpdate(); - - if(this.counter >= steps) - { - this.action = this.wasteRange / 20 * this.counter; - ExplosionNukeGeneric.waste(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, (int)this.action); - - this.setDead(); - } - - { - this.counter++; - this.action = this.destructionRange / steps * this.counter; - ExplosionNukeGeneric.detonateTestBomb(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, (int)this.action); - - this.action = this.vaporRange / steps * this.counter; - ExplosionNukeGeneric.vapor(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, (int)this.action); - - this.action = this.damageRange / steps * this.counter; - ExplosionNukeGeneric.dealDamage(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, (int)this.action); - - } - - this.age++; - } - - @Override - protected void entityInit() { - - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - - } - +/*package com.hbm.entity; + +import com.hbm.explosion.ExplosionNukeGeneric; + +import net.minecraft.entity.Entity; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; + +public class EntityNukeExplosion extends Entity { + + public int age = 0; + public int action = 0; + public int rangeOfDestruction = 100; + + public EntityNukeExplosion(World p_i1582_1_) { + super(p_i1582_1_); + } + + public void onUpdate() { + super.onUpdate(); + + if(this.action > this.rangeOfDestruction) + { + this.setDead(); + } + if(this.age % 10 == 0) + { + this.action++; + ExplosionNukeGeneric.detonateTestBomb(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, this.action); + } + + this.age++; + } + + @Override + protected void entityInit() { + + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + + } + +}*/ + +package com.hbm.entity.logic; + +import com.hbm.explosion.ExplosionNukeGeneric; + +import net.minecraft.entity.Entity; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; + +public class EntityNukeExplosion extends Entity { + + public int age = 0; + public double action = 0; + public int counter = 0; + public int destructionRange = 0; + public int vaporRange = 0; + public int wasteRange = 0; + public int damageRange = 0; + final int steps = 35; + + public EntityNukeExplosion(World p_i1582_1_) { + super(p_i1582_1_); + } + + @Override + public void onUpdate() { + super.onUpdate(); + + if(this.counter >= steps) + { + this.action = this.wasteRange / 20 * this.counter; + ExplosionNukeGeneric.waste(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, (int)this.action); + + this.setDead(); + } + + { + this.counter++; + this.action = this.destructionRange / steps * this.counter; + ExplosionNukeGeneric.detonateTestBomb(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, (int)this.action); + + this.action = this.vaporRange / steps * this.counter; + ExplosionNukeGeneric.vapor(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, (int)this.action); + + this.action = this.damageRange / steps * this.counter; + ExplosionNukeGeneric.dealDamage(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, (int)this.action); + + } + + this.age++; + } + + @Override + protected void entityInit() { + + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + + } + } \ No newline at end of file diff --git a/com/hbm/entity/logic/EntityNukeExplosionAdvanced.java b/com/hbm/entity/logic/EntityNukeExplosionAdvanced.java index a70ed632a..e8746093a 100644 --- a/com/hbm/entity/logic/EntityNukeExplosionAdvanced.java +++ b/com/hbm/entity/logic/EntityNukeExplosionAdvanced.java @@ -1,114 +1,114 @@ -package com.hbm.entity.logic; - -import java.util.HashSet; -import java.util.List; - -import net.minecraft.entity.Entity; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -import com.hbm.entity.effect.EntityFalloutRain; -import com.hbm.explosion.ExplosionFleija; -import com.hbm.explosion.ExplosionNukeAdvanced; -import com.hbm.explosion.ExplosionNukeGeneric; - -public class EntityNukeExplosionAdvanced extends Entity { - - public int age = 0; - public int destructionRange = 0; - public ExplosionNukeAdvanced exp; - public ExplosionNukeAdvanced wst; - public ExplosionNukeAdvanced vap; - public ExplosionFleija expl; - public int speed = 1; - public float coefficient = 1; - public float coefficient2 = 1; - public boolean did = false; - public boolean did2 = false; - public boolean waste = true; - - public EntityNukeExplosionAdvanced(World p_i1582_1_) { - super(p_i1582_1_); - } - - @Override - public void onUpdate() { - super.onUpdate(); - - if(!this.did) - { - if(this.waste) - { - exp = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, this.destructionRange, this.coefficient, 0); - wst = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, (int)(this.destructionRange * 1.8), this.coefficient, 2); - vap = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, (int)(this.destructionRange * 2.5), this.coefficient, 1); - } else { - expl = new ExplosionFleija((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, this.destructionRange, this.coefficient, this.coefficient2); - } - - this.did = true; - } - - speed = 160; - - boolean flag = false; - boolean flag2 = false; - boolean flag3 = false; - - for(int i = 0; i < this.speed; i++) - { - if(waste) { - flag = exp.update(); - flag2 = wst.update(); - flag3 = vap.update(); - - if(flag3) { - this.setDead(); - } - } else { - if(expl.update()) { - this.setDead(); - } - } - } - - if(!flag) - { - this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, "ambient.weather.thunder", 10000.0F, 0.8F + this.rand.nextFloat() * 0.2F); - ExplosionNukeGeneric.dealDamage(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, this.destructionRange * 2); - } else { - if (!did2 && waste) { - EntityFalloutRain fallout = new EntityFalloutRain(this.worldObj, (int)(this.destructionRange * 1.8) * 10); - fallout.posX = this.posX; - fallout.posY = this.posY; - fallout.posZ = this.posZ; - fallout.setScale((int)(this.destructionRange * 1.8)); - - this.worldObj.spawnEntityInWorld(fallout); - - did2 = true; - } - } - - age++; - } - - @Override - protected void entityInit() { - - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - - } - +package com.hbm.entity.logic; + +import java.util.HashSet; +import java.util.List; + +import net.minecraft.entity.Entity; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +import com.hbm.entity.effect.EntityFalloutRain; +import com.hbm.explosion.ExplosionFleija; +import com.hbm.explosion.ExplosionNukeAdvanced; +import com.hbm.explosion.ExplosionNukeGeneric; + +public class EntityNukeExplosionAdvanced extends Entity { + + public int age = 0; + public int destructionRange = 0; + public ExplosionNukeAdvanced exp; + public ExplosionNukeAdvanced wst; + public ExplosionNukeAdvanced vap; + public ExplosionFleija expl; + public int speed = 1; + public float coefficient = 1; + public float coefficient2 = 1; + public boolean did = false; + public boolean did2 = false; + public boolean waste = true; + + public EntityNukeExplosionAdvanced(World p_i1582_1_) { + super(p_i1582_1_); + } + + @Override + public void onUpdate() { + super.onUpdate(); + + if(!this.did) + { + if(this.waste) + { + exp = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, this.destructionRange, this.coefficient, 0); + wst = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, (int)(this.destructionRange * 1.8), this.coefficient, 2); + vap = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, (int)(this.destructionRange * 2.5), this.coefficient, 1); + } else { + expl = new ExplosionFleija((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, this.destructionRange, this.coefficient, this.coefficient2); + } + + this.did = true; + } + + speed = 160; + + boolean flag = false; + boolean flag2 = false; + boolean flag3 = false; + + for(int i = 0; i < this.speed; i++) + { + if(waste) { + flag = exp.update(); + flag2 = wst.update(); + flag3 = vap.update(); + + if(flag3) { + this.setDead(); + } + } else { + if(expl.update()) { + this.setDead(); + } + } + } + + if(!flag) + { + this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, "ambient.weather.thunder", 10000.0F, 0.8F + this.rand.nextFloat() * 0.2F); + ExplosionNukeGeneric.dealDamage(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, this.destructionRange * 2); + } else { + if (!did2 && waste) { + EntityFalloutRain fallout = new EntityFalloutRain(this.worldObj, (int)(this.destructionRange * 1.8) * 10); + fallout.posX = this.posX; + fallout.posY = this.posY; + fallout.posZ = this.posZ; + fallout.setScale((int)(this.destructionRange * 1.8)); + + this.worldObj.spawnEntityInWorld(fallout); + + did2 = true; + } + } + + age++; + } + + @Override + protected void entityInit() { + + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + + } + } \ No newline at end of file diff --git a/com/hbm/entity/logic/EntityNukeExplosionPlus.java b/com/hbm/entity/logic/EntityNukeExplosionPlus.java new file mode 100644 index 000000000..e22db5b46 --- /dev/null +++ b/com/hbm/entity/logic/EntityNukeExplosionPlus.java @@ -0,0 +1,108 @@ +package com.hbm.entity.logic; + +import com.hbm.entity.effect.EntityFalloutRain; +import com.hbm.explosion.ExplosionFleija; +import com.hbm.explosion.ExplosionNukeAdvanced; +import com.hbm.explosion.ExplosionNukeGeneric; + +import net.minecraft.entity.Entity; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; + +public class EntityNukeExplosionPlus extends Entity { + + public int age = 0; + public int destructionRange = 0; + public int wasteRange = 0; + public ExplosionNukeAdvanced exp; + public ExplosionNukeAdvanced wst; + public ExplosionNukeAdvanced vap; + public ExplosionFleija expl; + public int speed = 1; + public float coefficient = 1; + public float coefficient2 = 1; + public boolean did = false; + public boolean did2 = false; + public boolean waste = true; + + public EntityNukeExplosionPlus(World p_i1582_1_) { + super(p_i1582_1_); + } + + @Override + public void onUpdate() { + super.onUpdate(); + + if(!this.did) + { + if(this.waste) + { + exp = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, this.destructionRange, this.coefficient, 0); + wst = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, (int)(this.wasteRange), this.coefficient, 2); + vap = new ExplosionNukeAdvanced((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, (int)(this.wasteRange * 1.5), this.coefficient, 1); + } else { + expl = new ExplosionFleija((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, this.destructionRange, this.coefficient, this.coefficient2); + } + + this.did = true; + } + + speed = 160; + + boolean flag = false; + boolean flag2 = false; + boolean flag3 = false; + + for(int i = 0; i < this.speed; i++) + { + if(waste) { + flag = exp.update(); + flag2 = wst.update(); + flag3 = vap.update(); + + if(flag3) { + this.setDead(); + } + } else { + if(expl.update()) { + this.setDead(); + } + } + } + + if(!flag) + { + this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, "ambient.weather.thunder", 10000.0F, 0.8F + this.rand.nextFloat() * 0.2F); + ExplosionNukeGeneric.dealDamage(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, this.destructionRange * 2); + } else { + if (!did2 && waste) { + EntityFalloutRain fallout = new EntityFalloutRain(this.worldObj, (int)(this.wasteRange) * 10); + fallout.posX = this.posX; + fallout.posY = this.posY; + fallout.posZ = this.posZ; + fallout.setScale((int)(this.wasteRange)); + + this.worldObj.spawnEntityInWorld(fallout); + + did2 = true; + } + } + + age++; + } + + @Override + protected void entityInit() { + + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + + } +} diff --git a/com/hbm/entity/missile/EntityMIRV.java b/com/hbm/entity/missile/EntityMIRV.java index 77d851c28..7407e4ff6 100644 --- a/com/hbm/entity/missile/EntityMIRV.java +++ b/com/hbm/entity/missile/EntityMIRV.java @@ -1,100 +1,100 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.init.Blocks; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityMIRV extends EntityThrowable { - - public EntityMIRV(World p_i1582_1_) { - super(p_i1582_1_); - this.ignoreFrustumCheck = true; - } - - @Override - public void onUpdate() { - this.prevPosX = this.posX; - this.prevPosY = this.posY; - this.prevPosZ = this.posZ; - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.motionY -= 0.03; - - this.rotation(); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(this.worldObj); - entity.posX = this.posX; - entity.posY = this.posY; - entity.posZ = this.posZ; - entity.destructionRange = MainRegistry.mirvRadius; - entity.speed = 25; - entity.coefficient = 10.0F; - - this.worldObj.spawnEntityInWorld(entity); - - EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(this.worldObj, 1000); - entity2.posX = this.posX; - entity2.posY = this.posY - 9; - entity2.posZ = this.posZ; - this.worldObj.spawnEntityInWorld(entity2); - } - this.setDead(); - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - } - - protected void rotation() { - float f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - for (this.rotationPitch = (float)(Math.atan2(this.motionY, f2) * 180.0D / Math.PI) - 90; this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) - { - ; - } - - while (this.rotationPitch - this.prevRotationPitch >= 180.0F) - { - this.prevRotationPitch += 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw < -180.0F) - { - this.prevRotationYaw -= 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw >= 180.0F) - { - this.prevRotationYaw += 360.0F; - } - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) { - - } - - @Override - @SideOnly(Side.CLIENT) - public boolean isInRangeToRenderDist(double distance) - { - return distance < 25000; - } - -} +package com.hbm.entity.missile; + +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.init.Blocks; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityMIRV extends EntityThrowable { + + public EntityMIRV(World p_i1582_1_) { + super(p_i1582_1_); + this.ignoreFrustumCheck = true; + } + + @Override + public void onUpdate() { + this.prevPosX = this.posX; + this.prevPosY = this.posY; + this.prevPosZ = this.posZ; + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.motionY -= 0.03; + + this.rotation(); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(this.worldObj); + entity.posX = this.posX; + entity.posY = this.posY; + entity.posZ = this.posZ; + entity.destructionRange = MainRegistry.mirvRadius; + entity.speed = 25; + entity.coefficient = 10.0F; + + this.worldObj.spawnEntityInWorld(entity); + + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(this.worldObj, 1000); + entity2.posX = this.posX; + entity2.posY = this.posY - 9; + entity2.posZ = this.posZ; + this.worldObj.spawnEntityInWorld(entity2); + } + this.setDead(); + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + } + + protected void rotation() { + float f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + for (this.rotationPitch = (float)(Math.atan2(this.motionY, f2) * 180.0D / Math.PI) - 90; this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) + { + ; + } + + while (this.rotationPitch - this.prevRotationPitch >= 180.0F) + { + this.prevRotationPitch += 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw < -180.0F) + { + this.prevRotationYaw -= 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw >= 180.0F) + { + this.prevRotationYaw += 360.0F; + } + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) { + + } + + @Override + @SideOnly(Side.CLIENT) + public boolean isInRangeToRenderDist(double distance) + { + return distance < 25000; + } + +} diff --git a/com/hbm/entity/missile/EntityMissileAntiBallistic.java b/com/hbm/entity/missile/EntityMissileAntiBallistic.java index 3aecbbca7..bd584c559 100644 --- a/com/hbm/entity/missile/EntityMissileAntiBallistic.java +++ b/com/hbm/entity/missile/EntityMissileAntiBallistic.java @@ -1,187 +1,187 @@ -package com.hbm.entity.missile; - -import com.hbm.calc.EasyLocation; -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.entity.Entity; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileAntiBallistic extends EntityMissileBase { - - EasyLocation missile; - Entity missile0; - - public EntityMissileAntiBallistic(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileAntiBallistic(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - } - - @Override - public void onUpdate() - { - this.baseHeight = 35; - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - if(missile0 == null) - { - missile0 = ExplosionChaos.getHomingTarget(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 25, this); - } - if(missile0 != null && missile == null) - { - missile = new EasyLocation(missile0.posX, missile0.posY, missile0.posZ); - this.phase = -1; - } - - this.rotation(); - - switch(phase) - { - case -1: - if(missile0 != null) - { - freePizzaGoddammit(missile); - this.missileSpeed = 3; - if(missile0.posX + 2 > this.posX && missile0.posX - 2 < this.posX && - missile0.posY + 2 > this.posY && missile0.posY - 2 < this.posY && - missile0.posZ + 2 > this.posZ && missile0.posZ - 2 < this.posZ) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); - } - this.setDead(); - missile0.setDead(); - missile0 = null; - //ExplosionChaos.delMissiles(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5, (Entity)this); - } - } - break; - - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); - } - this.setDead(); - } - } - -} +package com.hbm.entity.missile; + +import com.hbm.calc.EasyLocation; +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.entity.Entity; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileAntiBallistic extends EntityMissileBase { + + EasyLocation missile; + Entity missile0; + + public EntityMissileAntiBallistic(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileAntiBallistic(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + } + + @Override + public void onUpdate() + { + this.baseHeight = 35; + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + if(missile0 == null) + { + missile0 = ExplosionChaos.getHomingTarget(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 25, this); + } + if(missile0 != null && missile == null) + { + missile = new EasyLocation(missile0.posX, missile0.posY, missile0.posZ); + this.phase = -1; + } + + this.rotation(); + + switch(phase) + { + case -1: + if(missile0 != null) + { + freePizzaGoddammit(missile); + this.missileSpeed = 3; + if(missile0.posX + 2 > this.posX && missile0.posX - 2 < this.posX && + missile0.posY + 2 > this.posY && missile0.posY - 2 < this.posY && + missile0.posZ + 2 > this.posZ && missile0.posZ - 2 < this.posZ) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); + } + this.setDead(); + missile0.setDead(); + missile0 = null; + //ExplosionChaos.delMissiles(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5, (Entity)this); + } + } + break; + + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); + } + this.setDead(); + } + } + +} diff --git a/com/hbm/entity/missile/EntityMissileBase.java b/com/hbm/entity/missile/EntityMissileBase.java index 66708a150..db8b0f104 100644 --- a/com/hbm/entity/missile/EntityMissileBase.java +++ b/com/hbm/entity/missile/EntityMissileBase.java @@ -1,250 +1,250 @@ -package com.hbm.entity.missile; - -import com.hbm.calc.EasyLocation; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.init.Blocks; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityMissileBase extends EntityThrowable { - - EasyLocation origin; - EasyLocation loc0; - EasyLocation loc1; - EasyLocation loc2; - EasyLocation loc3; - EasyLocation loc4; - EasyLocation loc5; - EasyLocation loc6; - EasyLocation loc7; - EasyLocation target; - - public int phase = 0; - - public int targetPoint = 0; - public int lengthX; - public int lengthZ; - public double lengthFlight; - public int baseHeight = 50; - public double missileSpeed = 1.5; - - public EntityMissileBase(World p_i1776_1_) { - super(p_i1776_1_); - this.ignoreFrustumCheck = true; - } - - public EntityMissileBase(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_); - this.ignoreFrustumCheck = true; - this.posX = a; - this.posY = b; - this.posZ = c; - - this.motionY = 0.1; - - lengthX = (int) (x - this.posX); - lengthZ = (int) (z - this.posZ); - lengthFlight = Math.sqrt(Math.pow(lengthX, 2) + Math.pow(lengthZ, 2)); - - - origin = new EasyLocation(this.posX, this.posY, this.posZ); - - loc0 = new EasyLocation(this.posX, this.posY + baseHeight, this.posZ); - loc1 = new EasyLocation(this.posX + lengthX/lengthFlight * 10, this.posY + baseHeight + 20, this.posZ + lengthZ/lengthFlight * 10); - loc2 = new EasyLocation(this.posX + lengthX/lengthFlight * 30, this.posY + baseHeight + 40, this.posZ + lengthZ/lengthFlight * 30); - loc3 = new EasyLocation(this.posX + lengthX/lengthFlight * 50, this.posY + baseHeight + 50, this.posZ + lengthZ/lengthFlight * 50); - - loc4 = new EasyLocation(x - (lengthX/lengthFlight * 50), this.posY + baseHeight + 50, z - (lengthZ/lengthFlight * 50)); - loc5 = new EasyLocation(x - (lengthX/lengthFlight * 30), this.posY + baseHeight + 40, z - (lengthZ/lengthFlight * 30)); - loc6 = new EasyLocation(x - (lengthX/lengthFlight * 10), this.posY + baseHeight + 20, z - (lengthZ/lengthFlight * 10)); - loc7 = new EasyLocation(x, this.posY + baseHeight, z); - - - target = new EasyLocation(x, 0, z); - } - - protected void freePizzaGoddammit(EasyLocation loc) { - double x = loc.posX - this.posX; - double y = loc.posY - this.posY; - double z = loc.posZ - this.posZ; - lengthFlight = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2) + Math.pow(z, 2)); - - this.motionX = x / this.lengthFlight * missileSpeed; - this.motionY = y / this.lengthFlight * missileSpeed; - this.motionZ = z / this.lengthFlight * missileSpeed; - } - - protected void rotation() { - float f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - for (this.rotationPitch = (float)(Math.atan2(this.motionY, f2) * 180.0D / Math.PI) - 90; this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) - { - ; - } - - while (this.rotationPitch - this.prevRotationPitch >= 180.0F) - { - this.prevRotationPitch += 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw < -180.0F) - { - this.prevRotationYaw -= 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw >= 180.0F) - { - this.prevRotationYaw += 360.0F; - } - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5.0F, true); - } - this.setDead(); - } - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) { - - } - - @Override - @SideOnly(Side.CLIENT) - public boolean isInRangeToRenderDist(double distance) - { - return distance < 25000; - } - -} +package com.hbm.entity.missile; + +import com.hbm.calc.EasyLocation; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.init.Blocks; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityMissileBase extends EntityThrowable { + + EasyLocation origin; + EasyLocation loc0; + EasyLocation loc1; + EasyLocation loc2; + EasyLocation loc3; + EasyLocation loc4; + EasyLocation loc5; + EasyLocation loc6; + EasyLocation loc7; + EasyLocation target; + + public int phase = 0; + + public int targetPoint = 0; + public int lengthX; + public int lengthZ; + public double lengthFlight; + public int baseHeight = 50; + public double missileSpeed = 1.5; + + public EntityMissileBase(World p_i1776_1_) { + super(p_i1776_1_); + this.ignoreFrustumCheck = true; + } + + public EntityMissileBase(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_); + this.ignoreFrustumCheck = true; + this.posX = a; + this.posY = b; + this.posZ = c; + + this.motionY = 0.1; + + lengthX = (int) (x - this.posX); + lengthZ = (int) (z - this.posZ); + lengthFlight = Math.sqrt(Math.pow(lengthX, 2) + Math.pow(lengthZ, 2)); + + + origin = new EasyLocation(this.posX, this.posY, this.posZ); + + loc0 = new EasyLocation(this.posX, this.posY + baseHeight, this.posZ); + loc1 = new EasyLocation(this.posX + lengthX/lengthFlight * 10, this.posY + baseHeight + 20, this.posZ + lengthZ/lengthFlight * 10); + loc2 = new EasyLocation(this.posX + lengthX/lengthFlight * 30, this.posY + baseHeight + 40, this.posZ + lengthZ/lengthFlight * 30); + loc3 = new EasyLocation(this.posX + lengthX/lengthFlight * 50, this.posY + baseHeight + 50, this.posZ + lengthZ/lengthFlight * 50); + + loc4 = new EasyLocation(x - (lengthX/lengthFlight * 50), this.posY + baseHeight + 50, z - (lengthZ/lengthFlight * 50)); + loc5 = new EasyLocation(x - (lengthX/lengthFlight * 30), this.posY + baseHeight + 40, z - (lengthZ/lengthFlight * 30)); + loc6 = new EasyLocation(x - (lengthX/lengthFlight * 10), this.posY + baseHeight + 20, z - (lengthZ/lengthFlight * 10)); + loc7 = new EasyLocation(x, this.posY + baseHeight, z); + + + target = new EasyLocation(x, 0, z); + } + + protected void freePizzaGoddammit(EasyLocation loc) { + double x = loc.posX - this.posX; + double y = loc.posY - this.posY; + double z = loc.posZ - this.posZ; + lengthFlight = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2) + Math.pow(z, 2)); + + this.motionX = x / this.lengthFlight * missileSpeed; + this.motionY = y / this.lengthFlight * missileSpeed; + this.motionZ = z / this.lengthFlight * missileSpeed; + } + + protected void rotation() { + float f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + for (this.rotationPitch = (float)(Math.atan2(this.motionY, f2) * 180.0D / Math.PI) - 90; this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) + { + ; + } + + while (this.rotationPitch - this.prevRotationPitch >= 180.0F) + { + this.prevRotationPitch += 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw < -180.0F) + { + this.prevRotationYaw -= 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw >= 180.0F) + { + this.prevRotationYaw += 360.0F; + } + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5.0F, true); + } + this.setDead(); + } + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) { + + } + + @Override + @SideOnly(Side.CLIENT) + public boolean isInRangeToRenderDist(double distance) + { + return distance < 25000; + } + +} diff --git a/com/hbm/entity/missile/EntityMissileBunkerBuster.java b/com/hbm/entity/missile/EntityMissileBunkerBuster.java index 763b15c24..224b9bbcb 100644 --- a/com/hbm/entity/missile/EntityMissileBunkerBuster.java +++ b/com/hbm/entity/missile/EntityMissileBunkerBuster.java @@ -1,155 +1,160 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileBunkerBuster extends EntityMissileBase { - - public EntityMissileBunkerBuster(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileBunkerBuster(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - for(int i = 0; i < 15; i++) - { - this.worldObj.createExplosion(this, this.posX, this.posY - i, this.posZ, 5F, true); - } - } - this.setDead(); - } - } - -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileBunkerBuster extends EntityMissileBase { + + public EntityMissileBunkerBuster(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileBunkerBuster(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + for(int i = 0; i < 15; i++) + { + this.worldObj.createExplosion(this, this.posX, this.posY - i, this.posZ, 5F, true); + } + + ExplosionLarge.spawnParticles(worldObj, this.posX, this.posY, this.posZ, 5); + ExplosionLarge.spawnShrapnels(worldObj, this.posX, this.posY, this.posZ, 5); + ExplosionLarge.spawnRubble(worldObj, this.posX, this.posY, this.posZ, 5); + } + this.setDead(); + } + } + +} diff --git a/com/hbm/entity/missile/EntityMissileBurst.java b/com/hbm/entity/missile/EntityMissileBurst.java index cb13a595e..51318b166 100644 --- a/com/hbm/entity/missile/EntityMissileBurst.java +++ b/com/hbm/entity/missile/EntityMissileBurst.java @@ -1,153 +1,155 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileBurst extends EntityMissileBase { - - public EntityMissileBurst(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileBurst(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 100; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - for(int i = 0; i < 5; i++) - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 50.0F, true); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileBurst extends EntityMissileBase { + + public EntityMissileBurst(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileBurst(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 100; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + for(int i = 0; i < 4; i++) + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 50.0F, true); + ExplosionLarge.explode(worldObj, posX, posY, posZ, 50.0F, true, true, true); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileBusterStrong.java b/com/hbm/entity/missile/EntityMissileBusterStrong.java index ad6dcae84..7618c1d77 100644 --- a/com/hbm/entity/missile/EntityMissileBusterStrong.java +++ b/com/hbm/entity/missile/EntityMissileBusterStrong.java @@ -1,155 +1,159 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileBusterStrong extends EntityMissileBase { - - public EntityMissileBusterStrong(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileBusterStrong(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 75; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - for(int i = 0; i < 20; i++) - { - this.worldObj.createExplosion(this, this.posX, this.posY - i, this.posZ, 7.5F, true); - } - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileBusterStrong extends EntityMissileBase { + + public EntityMissileBusterStrong(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileBusterStrong(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 75; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + for(int i = 0; i < 20; i++) + { + this.worldObj.createExplosion(this, this.posX, this.posY - i, this.posZ, 7.5F, true); + } + ExplosionLarge.spawnParticles(worldObj, this.posX, this.posY, this.posZ, 8); + ExplosionLarge.spawnShrapnels(worldObj, this.posX, this.posY, this.posZ, 8); + ExplosionLarge.spawnRubble(worldObj, this.posX, this.posY, this.posZ, 8); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileCluster.java b/com/hbm/entity/missile/EntityMissileCluster.java index 908181588..530ce9080 100644 --- a/com/hbm/entity/missile/EntityMissileCluster.java +++ b/com/hbm/entity/missile/EntityMissileCluster.java @@ -1,149 +1,149 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileCluster extends EntityMissileBase { - - public EntityMissileCluster(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileCluster(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); - ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 25, 100); - this.setDead(); - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); - ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 25, 100); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileCluster extends EntityMissileBase { + + public EntityMissileCluster(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileCluster(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); + ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 25, 100); + this.setDead(); + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); + ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 25, 100); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileClusterStrong.java b/com/hbm/entity/missile/EntityMissileClusterStrong.java index 53ed39f3f..ecfa094bb 100644 --- a/com/hbm/entity/missile/EntityMissileClusterStrong.java +++ b/com/hbm/entity/missile/EntityMissileClusterStrong.java @@ -1,150 +1,150 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileClusterStrong extends EntityMissileBase { - - public EntityMissileClusterStrong(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileClusterStrong(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 75; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); - ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 50, 100); - this.setDead(); - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 15F, true); - ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 50, 100); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileClusterStrong extends EntityMissileBase { + + public EntityMissileClusterStrong(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileClusterStrong(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 75; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); + ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 50, 100); + this.setDead(); + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 15F, true); + ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 50, 100); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileDrill.java b/com/hbm/entity/missile/EntityMissileDrill.java index 4ffc78a8e..81fbbc0b2 100644 --- a/com/hbm/entity/missile/EntityMissileDrill.java +++ b/com/hbm/entity/missile/EntityMissileDrill.java @@ -1,155 +1,159 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileDrill extends EntityMissileBase { - - public EntityMissileDrill(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileDrill(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 100; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - for(int i = 0; i < 30; i++) - { - this.worldObj.createExplosion(this, this.posX, this.posY - i, this.posZ, 10F, true); - } - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileDrill extends EntityMissileBase { + + public EntityMissileDrill(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileDrill(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 100; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + for(int i = 0; i < 30; i++) + { + this.worldObj.createExplosion(this, this.posX, this.posY - i, this.posZ, 10F, true); + } + ExplosionLarge.spawnParticles(worldObj, this.posX, this.posY, this.posZ, 25); + ExplosionLarge.spawnShrapnels(worldObj, this.posX, this.posY, this.posZ, 12); + ExplosionLarge.spawnRubble(worldObj, this.posX, this.posY, this.posZ, 12); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileEndo.java b/com/hbm/entity/missile/EntityMissileEndo.java index b0696aaac..ca012f2ca 100644 --- a/com/hbm/entity/missile/EntityMissileEndo.java +++ b/com/hbm/entity/missile/EntityMissileEndo.java @@ -1,155 +1,155 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.explosion.ExplosionThermo; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileEndo extends EntityMissileBase { - - public EntityMissileEndo(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileEndo(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 100; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); - ExplosionThermo.freeze(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 30); - ExplosionThermo.freezer(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 40); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionThermo; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileEndo extends EntityMissileBase { + + public EntityMissileEndo(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileEndo(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 100; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); + ExplosionThermo.freeze(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 30); + ExplosionThermo.freezer(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 40); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileExo.java b/com/hbm/entity/missile/EntityMissileExo.java index 425ce4022..cc5b44797 100644 --- a/com/hbm/entity/missile/EntityMissileExo.java +++ b/com/hbm/entity/missile/EntityMissileExo.java @@ -1,155 +1,155 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.explosion.ExplosionThermo; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileExo extends EntityMissileBase { - - public EntityMissileExo(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileExo(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 100; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); - ExplosionThermo.scorch(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 30); - ExplosionThermo.setEntitiesOnFire(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 40); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionThermo; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileExo extends EntityMissileBase { + + public EntityMissileExo(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileExo(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 100; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); + ExplosionThermo.scorch(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 30); + ExplosionThermo.setEntitiesOnFire(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 40); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileGeneric.java b/com/hbm/entity/missile/EntityMissileGeneric.java index 098bb1643..8963fbdb9 100644 --- a/com/hbm/entity/missile/EntityMissileGeneric.java +++ b/com/hbm/entity/missile/EntityMissileGeneric.java @@ -1,152 +1,153 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileGeneric extends EntityMissileBase { - - public EntityMissileGeneric(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileGeneric(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10.0F, true); - } - this.setDead(); - } - } - -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileGeneric extends EntityMissileBase { + + public EntityMissileGeneric(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileGeneric(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + ExplosionLarge.explode(worldObj, posX, posY, posZ, 10.0F, true, true, true); + } + this.setDead(); + } + } + +} diff --git a/com/hbm/entity/missile/EntityMissileIncendiary.java b/com/hbm/entity/missile/EntityMissileIncendiary.java index 823100bf7..958b01a2c 100644 --- a/com/hbm/entity/missile/EntityMissileIncendiary.java +++ b/com/hbm/entity/missile/EntityMissileIncendiary.java @@ -1,162 +1,163 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.Entity; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileIncendiary extends EntityMissileBase { - - public EntityMissileIncendiary(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileIncendiary(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.newExplosion((Entity)null, (float)this.posX + 0.5F, (float)this.posY + 0.5F, (float)this.posZ + 0.5F, 10.0F, true, true); - } - this.setDead(); - } - } - - @Override - @SideOnly(Side.CLIENT) - public boolean isInRangeToRenderDist(double distance) - { - return distance < 25000; - } - -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionLarge; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.Entity; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileIncendiary extends EntityMissileBase { + + public EntityMissileIncendiary(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileIncendiary(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + ExplosionLarge.explodeFire(worldObj, this.posX + 0.5F, this.posY + 0.5F, this.posZ + 0.5F, 10.0F, true, true, true); + } + this.setDead(); + } + } + + @Override + @SideOnly(Side.CLIENT) + public boolean isInRangeToRenderDist(double distance) + { + return distance < 25000; + } + +} diff --git a/com/hbm/entity/missile/EntityMissileIncendiaryStrong.java b/com/hbm/entity/missile/EntityMissileIncendiaryStrong.java index 4034f411d..ac1d0b5c4 100644 --- a/com/hbm/entity/missile/EntityMissileIncendiaryStrong.java +++ b/com/hbm/entity/missile/EntityMissileIncendiaryStrong.java @@ -1,155 +1,156 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.entity.Entity; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileIncendiaryStrong extends EntityMissileBase { - - public EntityMissileIncendiaryStrong(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileIncendiaryStrong(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 75; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.newExplosion((Entity)null, (float)this.posX + 0.5F, (float)this.posY + 0.5F, (float)this.posZ + 0.5F, 25.0F, true, true); - ExplosionChaos.flameDeath(this.worldObj, (int)((float)this.posX + 0.5F), (int)((float)this.posY + 0.5F), (int)((float)this.posZ + 0.5F), 25); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.entity.Entity; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileIncendiaryStrong extends EntityMissileBase { + + public EntityMissileIncendiaryStrong(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileIncendiaryStrong(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 75; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + ExplosionLarge.explodeFire(worldObj, this.posX + 0.5F, this.posY + 0.5F, this.posZ + 0.5F, 25.0F, true, true, true); + ExplosionChaos.flameDeath(this.worldObj, (int)((float)this.posX + 0.5F), (int)((float)this.posY + 0.5F), (int)((float)this.posZ + 0.5F), 25); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileInferno.java b/com/hbm/entity/missile/EntityMissileInferno.java index b283f3524..bf0fc7f81 100644 --- a/com/hbm/entity/missile/EntityMissileInferno.java +++ b/com/hbm/entity/missile/EntityMissileInferno.java @@ -1,156 +1,157 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.entity.Entity; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileInferno extends EntityMissileBase { - - public EntityMissileInferno(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileInferno(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 100; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.newExplosion((Entity)null, (float)this.posX + 0.5F, (float)this.posY + 0.5F, (float)this.posZ + 0.5F, 35.0F, true, true); - ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); - ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 25); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.entity.Entity; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileInferno extends EntityMissileBase { + + public EntityMissileInferno(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileInferno(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 100; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + ExplosionLarge.explodeFire(worldObj, this.posX + 0.5F, this.posY + 0.5F, this.posZ + 0.5F, 35.0F, true, true, true); + ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); + ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 25); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileMirv.java b/com/hbm/entity/missile/EntityMissileMirv.java index 0e714f27a..a21990d2a 100644 --- a/com/hbm/entity/missile/EntityMissileMirv.java +++ b/com/hbm/entity/missile/EntityMissileMirv.java @@ -1,153 +1,153 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileMirv extends EntityMissileBase { - - public EntityMissileMirv(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileMirv(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 150; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 15.0F, true); - ExplosionChaos.mirv(this.worldObj,this.posX, this.posY, this.posZ); - this.setDead(); - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 15.0F, true); - ExplosionChaos.mirv(this.worldObj,this.posX, this.posY, this.posZ); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileMirv extends EntityMissileBase { + + public EntityMissileMirv(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileMirv(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 150; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 15.0F, true); + ExplosionChaos.mirv(this.worldObj,this.posX, this.posY, this.posZ); + this.setDead(); + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 15.0F, true); + ExplosionChaos.mirv(this.worldObj,this.posX, this.posY, this.posZ); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileNuclear.java b/com/hbm/entity/missile/EntityMissileNuclear.java index 08f2744f3..42b20c1e0 100644 --- a/com/hbm/entity/missile/EntityMissileNuclear.java +++ b/com/hbm/entity/missile/EntityMissileNuclear.java @@ -1,170 +1,170 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.main.MainRegistry; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileNuclear extends EntityMissileBase { - - public EntityMissileNuclear(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileNuclear(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 100; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(this.worldObj); - entity.posX = this.posX; - entity.posY = this.posY; - entity.posZ = this.posZ; - entity.destructionRange = MainRegistry.missileRadius; - entity.speed = 25; - entity.coefficient = 10.0F; - - this.worldObj.spawnEntityInWorld(entity); - - EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(this.worldObj, 1000); - entity2.posX = this.posX; - entity2.posY = this.posY - 9; - entity2.posZ = this.posZ; - this.worldObj.spawnEntityInWorld(entity2); - } - this.setDead(); - } - } - -} +package com.hbm.entity.missile; + +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.main.MainRegistry; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileNuclear extends EntityMissileBase { + + public EntityMissileNuclear(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileNuclear(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 100; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(this.worldObj); + entity.posX = this.posX; + entity.posY = this.posY; + entity.posZ = this.posZ; + entity.destructionRange = MainRegistry.missileRadius; + entity.speed = 25; + entity.coefficient = 10.0F; + + this.worldObj.spawnEntityInWorld(entity); + + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(this.worldObj, 1000); + entity2.posX = this.posX; + entity2.posY = this.posY - 9; + entity2.posZ = this.posZ; + this.worldObj.spawnEntityInWorld(entity2); + } + this.setDead(); + } + } + +} diff --git a/com/hbm/entity/missile/EntityMissileRain.java b/com/hbm/entity/missile/EntityMissileRain.java index e5ca853f1..e9e9ed23a 100644 --- a/com/hbm/entity/missile/EntityMissileRain.java +++ b/com/hbm/entity/missile/EntityMissileRain.java @@ -1,150 +1,150 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.explosion.ExplosionChaos; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileRain extends EntityMissileBase { - - public EntityMissileRain(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileRain(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 100; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); - ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, 100); - this.setDead(); - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 25F, true); - ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, 100); - } - this.setDead(); - } - } -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionChaos; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileRain extends EntityMissileBase { + + public EntityMissileRain(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileRain(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 100; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); + ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, 100); + this.setDead(); + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 25F, true); + ExplosionChaos.cluster(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 100, 100); + } + this.setDead(); + } + } +} diff --git a/com/hbm/entity/missile/EntityMissileStrong.java b/com/hbm/entity/missile/EntityMissileStrong.java index 18659902a..2f6a877e2 100644 --- a/com/hbm/entity/missile/EntityMissileStrong.java +++ b/com/hbm/entity/missile/EntityMissileStrong.java @@ -1,153 +1,154 @@ -package com.hbm.entity.missile; - -import com.hbm.entity.particle.EntitySmokeFX; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class EntityMissileStrong extends EntityMissileBase { - - public EntityMissileStrong(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityMissileStrong(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_, x, z, a, b, c); - this.baseHeight = 75; - } - - @Override - public void onUpdate() - { - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 25.0F, true); - } - this.setDead(); - } - } - -} +package com.hbm.entity.missile; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.explosion.ExplosionLarge; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class EntityMissileStrong extends EntityMissileBase { + + public EntityMissileStrong(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityMissileStrong(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_, x, z, a, b, c); + this.baseHeight = 75; + } + + @Override + public void onUpdate() + { + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(this.worldObj, this.posX, this.posY, this.posZ, 0.0, 0.0, 0.0)); + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + ExplosionLarge.explode(worldObj, posX, posY, posZ, 25.0F, true, true, true); + } + this.setDead(); + } + } + +} diff --git a/com/hbm/entity/missile/EntityTestMissile.java b/com/hbm/entity/missile/EntityTestMissile.java index 9331c37d8..e44151751 100644 --- a/com/hbm/entity/missile/EntityTestMissile.java +++ b/com/hbm/entity/missile/EntityTestMissile.java @@ -1,275 +1,275 @@ -package com.hbm.entity.missile; - -import com.hbm.calc.EasyLocation; -import net.minecraft.entity.projectile.EntityThrowable; -import net.minecraft.init.Blocks; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class EntityTestMissile extends EntityThrowable { - - EasyLocation origin; - EasyLocation loc0; - EasyLocation loc1; - EasyLocation loc2; - EasyLocation loc3; - EasyLocation loc4; - EasyLocation loc5; - EasyLocation loc6; - EasyLocation loc7; - EasyLocation target; - - public int lengthX; - public int lengthZ; - public double lengthFlight; - public int baseHeight = 0; - public double missileSpeed = 3; - - public int phase = 0; - - public EntityTestMissile(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityTestMissile(World p_i1582_1_, int x, int z, double a, double b, double c) { - super(p_i1582_1_); - this.posX = a; - this.posY = b; - this.posZ = c; - - this.motionY = 0.1; - - lengthX = (int) (x - this.posX); - lengthZ = (int) (z - this.posZ); - lengthFlight = Math.sqrt(Math.pow(lengthX, 2) + Math.pow(lengthZ, 2)); - - - origin = new EasyLocation(this.posX, this.posY, this.posZ); - - loc0 = new EasyLocation(this.posX, this.posY + baseHeight, this.posZ); - loc1 = new EasyLocation(this.posX + lengthX/lengthFlight * 10, this.posY + baseHeight + 20, this.posZ + lengthZ/lengthFlight * 10); - loc2 = new EasyLocation(this.posX + lengthX/lengthFlight * 30, this.posY + baseHeight + 40, this.posZ + lengthZ/lengthFlight * 30); - loc3 = new EasyLocation(this.posX + lengthX/lengthFlight * 50, this.posY + baseHeight + 50, this.posZ + lengthZ/lengthFlight * 50); - - loc4 = new EasyLocation(x - (lengthX/lengthFlight * 50), this.posY + baseHeight + 50, z - (lengthZ/lengthFlight * 50)); - loc5 = new EasyLocation(x - (lengthX/lengthFlight * 30), this.posY + baseHeight + 40, z - (lengthZ/lengthFlight * 30)); - loc6 = new EasyLocation(x - (lengthX/lengthFlight * 10), this.posY + baseHeight + 20, z - (lengthZ/lengthFlight * 10)); - loc7 = new EasyLocation(x, this.posY + baseHeight, z); - - - target = new EasyLocation(x, 0, z); - - /*this.worldObj.setBlock((int)loc0.posX, (int)loc0.posY, (int)loc0.posZ, Blocks.dirt); - this.worldObj.setBlock((int)loc1.posX, (int)loc1.posY, (int)loc1.posZ, Blocks.dirt); - this.worldObj.setBlock((int)loc2.posX, (int)loc2.posY, (int)loc2.posZ, Blocks.dirt); - this.worldObj.setBlock((int)loc3.posX, (int)loc3.posY, (int)loc3.posZ, Blocks.dirt); - this.worldObj.setBlock((int)loc4.posX, (int)loc4.posY, (int)loc4.posZ, Blocks.stone); - this.worldObj.setBlock((int)loc5.posX, (int)loc5.posY, (int)loc5.posZ, Blocks.stone); - this.worldObj.setBlock((int)loc6.posX, (int)loc6.posY, (int)loc6.posZ, Blocks.stone); - this.worldObj.setBlock((int)loc7.posX, (int)loc7.posY, (int)loc7.posZ, Blocks.stone);*/ - - /*System.out.print("\n" + loc0.posX + " " + loc0.posY + " " + loc0.posZ); - System.out.print("\n" + loc1.posX + " " + loc1.posY + " " + loc1.posZ); - System.out.print("\n" + loc2.posX + " " + loc2.posY + " " + loc2.posZ); - System.out.print("\n" + loc3.posX + " " + loc3.posY + " " + loc3.posZ); - System.out.print("\n"); - System.out.print("\n" + loc4.posX + " " + loc4.posY + " " + loc4.posZ); - System.out.print("\n" + loc5.posX + " " + loc5.posY + " " + loc5.posZ); - System.out.print("\n" + loc6.posX + " " + loc6.posY + " " + loc6.posZ); - System.out.print("\n" + loc7.posX + " " + loc7.posY + " " + loc7.posZ);*/ - } - - @Override - protected void entityInit() { - - } - - @Override - public void onUpdate() - { - //super.onUpdate(); - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - this.rotation(); - - switch(phase) - { - case 0: - if(loc0 != null) - { - freePizzaGoddammit(loc0); - if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && - loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && - loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) - { - this.phase = 1; - } - } - break; - case 1: - if(loc1 != null) - { - freePizzaGoddammit(loc1); - if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && - loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && - loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) - { - this.phase = 2; - } - } - break; - case 2: - if(loc2 != null) - { - freePizzaGoddammit(loc2); - if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && - loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && - loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) - { - this.phase = 3; - } - } - break; - case 3: - if(loc3 != null) - { - freePizzaGoddammit(loc3); - if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && - loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && - loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) - { - this.phase = 4; - } - } - break; - case 4: - if(loc4 != null) - { - freePizzaGoddammit(loc4); - if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && - loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && - loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) - { - this.phase = 5; - } - } - break; - case 5: - if(loc5 != null) - { - freePizzaGoddammit(loc5); - if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && - loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && - loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) - { - this.phase = 6; - } - } - break; - case 6: - if(loc6 != null) - { - freePizzaGoddammit(loc6); - if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && - loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && - loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) - { - this.phase = 7; - } - } - break; - case 7: - if(loc7 != null) - { - freePizzaGoddammit(loc7); - if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && - loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && - loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) - { - this.phase = 8; - } - } - break; - case 8: - if(target != null) - { - freePizzaGoddammit(target); - if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && - target.posY + 2 > this.posY && target.posY - 2 < this.posY && - target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) - { - this.phase = -1; - } - } - break; - } - - if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) - { - if(!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5.0F, true); - } - this.setDead(); - } - } - - @Override - protected void onImpact(MovingObjectPosition p_70184_1_) { - } - - private void freePizzaGoddammit(EasyLocation loc) { - double x = loc.posX - this.posX; - double y = loc.posY - this.posY; - double z = loc.posZ - this.posZ; - lengthFlight = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2) + Math.pow(z, 2)); - - this.motionX = x / this.lengthFlight * missileSpeed; - this.motionY = y / this.lengthFlight * missileSpeed; - this.motionZ = z / this.lengthFlight * missileSpeed; - } - - private void rotation() { - /*EasyVector vec0 = new EasyVector(this.motionX, this.motionZ); - - EasyVector vec1 = new EasyVector(this.motionY, vec0.getResult()); - - this.rotationYaw = (float)Math.acos((vec0.a * 0 + vec0.b * 1) / (vec0.getResult() * 1)); - //this.rotationPitch = (float)Math.acos((vec0.a * vec1.a + vec0.b * vec1.b) / (vec0.getResult() * vec1.getResult())) * 10; - - this.rotationPitch = (float)Math.acos((vec0.a * vec1.a + vec0.b * vec1.b) / (vec0.getResult() * vec1.getResult())) * 100 - 90; - if(this.rotationPitch < 0) - this.rotationPitch += 180; - - System.out.print("\n" + this.rotationYaw); - System.out.print("\n" + this.rotationPitch);*/ - float f2; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - for (this.rotationPitch = (float)(Math.atan2(this.motionY, f2) * 180.0D / Math.PI) - 90; this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) - { - ; - } - - while (this.rotationPitch - this.prevRotationPitch >= 180.0F) - { - this.prevRotationPitch += 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw < -180.0F) - { - this.prevRotationYaw -= 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw >= 180.0F) - { - this.prevRotationYaw += 360.0F; - } - } - -} +package com.hbm.entity.missile; + +import com.hbm.calc.EasyLocation; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.init.Blocks; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityTestMissile extends EntityThrowable { + + EasyLocation origin; + EasyLocation loc0; + EasyLocation loc1; + EasyLocation loc2; + EasyLocation loc3; + EasyLocation loc4; + EasyLocation loc5; + EasyLocation loc6; + EasyLocation loc7; + EasyLocation target; + + public int lengthX; + public int lengthZ; + public double lengthFlight; + public int baseHeight = 0; + public double missileSpeed = 3; + + public int phase = 0; + + public EntityTestMissile(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityTestMissile(World p_i1582_1_, int x, int z, double a, double b, double c) { + super(p_i1582_1_); + this.posX = a; + this.posY = b; + this.posZ = c; + + this.motionY = 0.1; + + lengthX = (int) (x - this.posX); + lengthZ = (int) (z - this.posZ); + lengthFlight = Math.sqrt(Math.pow(lengthX, 2) + Math.pow(lengthZ, 2)); + + + origin = new EasyLocation(this.posX, this.posY, this.posZ); + + loc0 = new EasyLocation(this.posX, this.posY + baseHeight, this.posZ); + loc1 = new EasyLocation(this.posX + lengthX/lengthFlight * 10, this.posY + baseHeight + 20, this.posZ + lengthZ/lengthFlight * 10); + loc2 = new EasyLocation(this.posX + lengthX/lengthFlight * 30, this.posY + baseHeight + 40, this.posZ + lengthZ/lengthFlight * 30); + loc3 = new EasyLocation(this.posX + lengthX/lengthFlight * 50, this.posY + baseHeight + 50, this.posZ + lengthZ/lengthFlight * 50); + + loc4 = new EasyLocation(x - (lengthX/lengthFlight * 50), this.posY + baseHeight + 50, z - (lengthZ/lengthFlight * 50)); + loc5 = new EasyLocation(x - (lengthX/lengthFlight * 30), this.posY + baseHeight + 40, z - (lengthZ/lengthFlight * 30)); + loc6 = new EasyLocation(x - (lengthX/lengthFlight * 10), this.posY + baseHeight + 20, z - (lengthZ/lengthFlight * 10)); + loc7 = new EasyLocation(x, this.posY + baseHeight, z); + + + target = new EasyLocation(x, 0, z); + + /*this.worldObj.setBlock((int)loc0.posX, (int)loc0.posY, (int)loc0.posZ, Blocks.dirt); + this.worldObj.setBlock((int)loc1.posX, (int)loc1.posY, (int)loc1.posZ, Blocks.dirt); + this.worldObj.setBlock((int)loc2.posX, (int)loc2.posY, (int)loc2.posZ, Blocks.dirt); + this.worldObj.setBlock((int)loc3.posX, (int)loc3.posY, (int)loc3.posZ, Blocks.dirt); + this.worldObj.setBlock((int)loc4.posX, (int)loc4.posY, (int)loc4.posZ, Blocks.stone); + this.worldObj.setBlock((int)loc5.posX, (int)loc5.posY, (int)loc5.posZ, Blocks.stone); + this.worldObj.setBlock((int)loc6.posX, (int)loc6.posY, (int)loc6.posZ, Blocks.stone); + this.worldObj.setBlock((int)loc7.posX, (int)loc7.posY, (int)loc7.posZ, Blocks.stone);*/ + + /*System.out.print("\n" + loc0.posX + " " + loc0.posY + " " + loc0.posZ); + System.out.print("\n" + loc1.posX + " " + loc1.posY + " " + loc1.posZ); + System.out.print("\n" + loc2.posX + " " + loc2.posY + " " + loc2.posZ); + System.out.print("\n" + loc3.posX + " " + loc3.posY + " " + loc3.posZ); + System.out.print("\n"); + System.out.print("\n" + loc4.posX + " " + loc4.posY + " " + loc4.posZ); + System.out.print("\n" + loc5.posX + " " + loc5.posY + " " + loc5.posZ); + System.out.print("\n" + loc6.posX + " " + loc6.posY + " " + loc6.posZ); + System.out.print("\n" + loc7.posX + " " + loc7.posY + " " + loc7.posZ);*/ + } + + @Override + protected void entityInit() { + + } + + @Override + public void onUpdate() + { + //super.onUpdate(); + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + this.rotation(); + + switch(phase) + { + case 0: + if(loc0 != null) + { + freePizzaGoddammit(loc0); + if(loc0.posX + 2 > this.posX && loc0.posX - 2 < this.posX && + loc0.posY + 2 > this.posY && loc0.posY - 2 < this.posY && + loc0.posZ + 2 > this.posZ && loc0.posZ - 2 < this.posZ) + { + this.phase = 1; + } + } + break; + case 1: + if(loc1 != null) + { + freePizzaGoddammit(loc1); + if(loc1.posX + 2 > this.posX && loc1.posX - 2 < this.posX && + loc1.posY + 2 > this.posY && loc1.posY - 2 < this.posY && + loc1.posZ + 2 > this.posZ && loc1.posZ - 2 < this.posZ) + { + this.phase = 2; + } + } + break; + case 2: + if(loc2 != null) + { + freePizzaGoddammit(loc2); + if(loc2.posX + 2 > this.posX && loc2.posX - 2 < this.posX && + loc2.posY + 2 > this.posY && loc2.posY - 2 < this.posY && + loc2.posZ + 2 > this.posZ && loc2.posZ - 2 < this.posZ) + { + this.phase = 3; + } + } + break; + case 3: + if(loc3 != null) + { + freePizzaGoddammit(loc3); + if(loc3.posX + 2 > this.posX && loc3.posX - 2 < this.posX && + loc3.posY + 2 > this.posY && loc3.posY - 2 < this.posY && + loc3.posZ + 2 > this.posZ && loc3.posZ - 2 < this.posZ) + { + this.phase = 4; + } + } + break; + case 4: + if(loc4 != null) + { + freePizzaGoddammit(loc4); + if(loc4.posX + 2 > this.posX && loc4.posX - 2 < this.posX && + loc4.posY + 2 > this.posY && loc4.posY - 2 < this.posY && + loc4.posZ + 2 > this.posZ && loc4.posZ - 2 < this.posZ) + { + this.phase = 5; + } + } + break; + case 5: + if(loc5 != null) + { + freePizzaGoddammit(loc5); + if(loc5.posX + 2 > this.posX && loc5.posX - 2 < this.posX && + loc5.posY + 2 > this.posY && loc5.posY - 2 < this.posY && + loc5.posZ + 2 > this.posZ && loc5.posZ - 2 < this.posZ) + { + this.phase = 6; + } + } + break; + case 6: + if(loc6 != null) + { + freePizzaGoddammit(loc6); + if(loc6.posX + 2 > this.posX && loc6.posX - 2 < this.posX && + loc6.posY + 2 > this.posY && loc6.posY - 2 < this.posY && + loc6.posZ + 2 > this.posZ && loc6.posZ - 2 < this.posZ) + { + this.phase = 7; + } + } + break; + case 7: + if(loc7 != null) + { + freePizzaGoddammit(loc7); + if(loc7.posX + 2 > this.posX && loc7.posX - 2 < this.posX && + loc7.posY + 2 > this.posY && loc7.posY - 2 < this.posY && + loc7.posZ + 2 > this.posZ && loc7.posZ - 2 < this.posZ) + { + this.phase = 8; + } + } + break; + case 8: + if(target != null) + { + freePizzaGoddammit(target); + if(target.posX + 2 > this.posX && target.posX - 2 < this.posX && + target.posY + 2 > this.posY && target.posY - 2 < this.posY && + target.posZ + 2 > this.posZ && target.posZ - 2 < this.posZ) + { + this.phase = -1; + } + } + break; + } + + if(this.worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ) != Blocks.air) + { + if(!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5.0F, true); + } + this.setDead(); + } + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) { + } + + private void freePizzaGoddammit(EasyLocation loc) { + double x = loc.posX - this.posX; + double y = loc.posY - this.posY; + double z = loc.posZ - this.posZ; + lengthFlight = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2) + Math.pow(z, 2)); + + this.motionX = x / this.lengthFlight * missileSpeed; + this.motionY = y / this.lengthFlight * missileSpeed; + this.motionZ = z / this.lengthFlight * missileSpeed; + } + + private void rotation() { + /*EasyVector vec0 = new EasyVector(this.motionX, this.motionZ); + + EasyVector vec1 = new EasyVector(this.motionY, vec0.getResult()); + + this.rotationYaw = (float)Math.acos((vec0.a * 0 + vec0.b * 1) / (vec0.getResult() * 1)); + //this.rotationPitch = (float)Math.acos((vec0.a * vec1.a + vec0.b * vec1.b) / (vec0.getResult() * vec1.getResult())) * 10; + + this.rotationPitch = (float)Math.acos((vec0.a * vec1.a + vec0.b * vec1.b) / (vec0.getResult() * vec1.getResult())) * 100 - 90; + if(this.rotationPitch < 0) + this.rotationPitch += 180; + + System.out.print("\n" + this.rotationYaw); + System.out.print("\n" + this.rotationPitch);*/ + float f2; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + for (this.rotationPitch = (float)(Math.atan2(this.motionY, f2) * 180.0D / Math.PI) - 90; this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) + { + ; + } + + while (this.rotationPitch - this.prevRotationPitch >= 180.0F) + { + this.prevRotationPitch += 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw < -180.0F) + { + this.prevRotationYaw -= 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw >= 180.0F) + { + this.prevRotationYaw += 360.0F; + } + } + +} diff --git a/com/hbm/entity/mob/EntityAINuclearCreeperSwell.java b/com/hbm/entity/mob/EntityAINuclearCreeperSwell.java index 342eca743..aad95091c 100644 --- a/com/hbm/entity/mob/EntityAINuclearCreeperSwell.java +++ b/com/hbm/entity/mob/EntityAINuclearCreeperSwell.java @@ -1,71 +1,71 @@ -package com.hbm.entity.mob; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.ai.EntityAIBase; - -public class EntityAINuclearCreeperSwell extends EntityAIBase { - /** The creeper that is swelling. */ - EntityNuclearCreeper swellingCreeper; - /** The creeper's attack target. This is used for the changing of the creeper's state. */ - EntityLivingBase creeperAttackTarget; - private static final String __OBFID = "CL_00001614"; - - public EntityAINuclearCreeperSwell(EntityNuclearCreeper p_i1655_1_) - { - this.swellingCreeper = p_i1655_1_; - this.setMutexBits(1); - } - - /** - * Returns whether the EntityAIBase should begin execution. - */ - @Override - public boolean shouldExecute() - { - EntityLivingBase entitylivingbase = this.swellingCreeper.getAttackTarget(); - return this.swellingCreeper.getCreeperState() > 0 || entitylivingbase != null && this.swellingCreeper.getDistanceSqToEntity(entitylivingbase) < 9.0D; - } - - /** - * Execute a one shot task or start executing a continuous task - */ - @Override - public void startExecuting() - { - this.swellingCreeper.getNavigator().clearPathEntity(); - this.creeperAttackTarget = this.swellingCreeper.getAttackTarget(); - } - - /** - * Resets the task - */ - @Override - public void resetTask() - { - this.creeperAttackTarget = null; - } - - /** - * Updates the task - */ - @Override - public void updateTask() - { - if (this.creeperAttackTarget == null) - { - this.swellingCreeper.setCreeperState(-1); - } - else if (this.swellingCreeper.getDistanceSqToEntity(this.creeperAttackTarget) > 49.0D) - { - this.swellingCreeper.setCreeperState(-1); - } - else if (!this.swellingCreeper.getEntitySenses().canSee(this.creeperAttackTarget)) - { - this.swellingCreeper.setCreeperState(-1); - } - else - { - this.swellingCreeper.setCreeperState(1); - } - } -} +package com.hbm.entity.mob; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.ai.EntityAIBase; + +public class EntityAINuclearCreeperSwell extends EntityAIBase { + /** The creeper that is swelling. */ + EntityNuclearCreeper swellingCreeper; + /** The creeper's attack target. This is used for the changing of the creeper's state. */ + EntityLivingBase creeperAttackTarget; + private static final String __OBFID = "CL_00001614"; + + public EntityAINuclearCreeperSwell(EntityNuclearCreeper p_i1655_1_) + { + this.swellingCreeper = p_i1655_1_; + this.setMutexBits(1); + } + + /** + * Returns whether the EntityAIBase should begin execution. + */ + @Override + public boolean shouldExecute() + { + EntityLivingBase entitylivingbase = this.swellingCreeper.getAttackTarget(); + return this.swellingCreeper.getCreeperState() > 0 || entitylivingbase != null && this.swellingCreeper.getDistanceSqToEntity(entitylivingbase) < 9.0D; + } + + /** + * Execute a one shot task or start executing a continuous task + */ + @Override + public void startExecuting() + { + this.swellingCreeper.getNavigator().clearPathEntity(); + this.creeperAttackTarget = this.swellingCreeper.getAttackTarget(); + } + + /** + * Resets the task + */ + @Override + public void resetTask() + { + this.creeperAttackTarget = null; + } + + /** + * Updates the task + */ + @Override + public void updateTask() + { + if (this.creeperAttackTarget == null) + { + this.swellingCreeper.setCreeperState(-1); + } + else if (this.swellingCreeper.getDistanceSqToEntity(this.creeperAttackTarget) > 49.0D) + { + this.swellingCreeper.setCreeperState(-1); + } + else if (!this.swellingCreeper.getEntitySenses().canSee(this.creeperAttackTarget)) + { + this.swellingCreeper.setCreeperState(-1); + } + else + { + this.swellingCreeper.setCreeperState(1); + } + } +} diff --git a/com/hbm/entity/mob/EntityHunterChopper.java b/com/hbm/entity/mob/EntityHunterChopper.java index e9c4ef86b..2bed63bd5 100644 --- a/com/hbm/entity/mob/EntityHunterChopper.java +++ b/com/hbm/entity/mob/EntityHunterChopper.java @@ -1,440 +1,436 @@ -package com.hbm.entity.mob; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityChopperMine; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityFlying; -import net.minecraft.entity.EntityLiving; -import net.minecraft.entity.SharedMonsterAttributes; -import net.minecraft.entity.ai.EntityAILookIdle; -import net.minecraft.entity.ai.EntityAINearestAttackableTarget; -import net.minecraft.entity.boss.IBossDisplayData; -import net.minecraft.entity.monster.IMob; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.projectile.EntityLargeFireball; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.stats.AchievementList; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.EnumDifficulty; -import net.minecraft.world.World; - -public class EntityHunterChopper extends EntityFlying implements IMob, IBossDisplayData { - public int courseChangeCooldown; - public double waypointX; - public double waypointY; - public double waypointZ; - private Entity targetedEntity; - private int aggroCooldown; - public int prevAttackCounter; - public int attackCounter; - public int mineDropCounter; - public boolean isDying = false; - - public EntityHunterChopper(World p_i1735_1_) { - super(p_i1735_1_); - this.setSize(8.25F, 3.0F); - this.isImmuneToFire = true; - this.experienceValue = 500; - this.ignoreFrustumCheck = true; - } - - @SideOnly(Side.CLIENT) - public boolean func_110182_bF() { - return this.dataWatcher.getWatchableObjectByte(16) != 0; - } - - /** - * Called when the entity is attacked. - */ - public boolean attackEntityFrom(DamageSource source, float amount) { -<<<<<<< HEAD:com/hbm/entity/mob/EntityHunterChopper.java - if (this.isEntityInvulnerable() || !(source == ModDamageSource.nuclearBlast || source.isExplosion() || ModDamageSource.getIsTau(source) || ModDamageSource.getIsSubatomic(source) || ModDamageSource.getIsDischarge(source))) { -======= - if (this.isEntityInvulnerable() || !(source == ModDamageSource.nuclearBlast || source.isExplosion() || ModDamageSource.getIsTau(source) || ModDamageSource.getIsSubatomic(source))) { ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/entity/EntityHunterChopper.java - return false; - } else if(amount >= this.getHealth()) { - this.initDeath(); - this.setIsDying(true); - this.setHealth(0.1F); - return false; - } - - if(rand.nextInt(15) == 0) - { - if(!worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); - this.dropDamageItem(); - } - } - - for (int j = 0; j < 3; j++) { - double d0 = rand.nextDouble() / 20 * rand.nextInt(2) == 0 ? -1 : 1; - double d1 = rand.nextDouble() / 20 * rand.nextInt(2) == 0 ? -1 : 1; - double d2 = rand.nextDouble() / 20 * rand.nextInt(2) == 0 ? -1 : 1; - - for (int i = 0; i < 8; i++) - if(this.worldObj.isRemote) - worldObj.spawnParticle("fireworksSpark", this.posX, this.posY, this.posZ, d0 * i * 0.25, d1 * i * 0.25, d2 * i * 0.25); - } - - return super.attackEntityFrom(source, amount); - } - - protected void entityInit() { - super.entityInit(); - this.dataWatcher.addObject(16, Byte.valueOf((byte) 0)); - this.dataWatcher.addObject(21, Float.valueOf((float) 0)); - this.dataWatcher.addObject(22, Float.valueOf((float) 0)); - this.dataWatcher.addObject(23, Byte.valueOf((byte) 0)); - } - - protected void applyEntityAttributes() { - super.applyEntityAttributes(); - this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(750.0D); - } - - protected void updateEntityActionState() { - if (!this.worldObj.isRemote && this.worldObj.difficultySetting == EnumDifficulty.PEACEFUL) { - this.setDead(); - } - - if (!isDying) { - this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, "hbm:misc.nullChopper", 10.0F, 0.5F); - - this.prevAttackCounter = this.attackCounter; - double d0 = this.waypointX - this.posX; - double d1 = this.waypointY - this.posY; - double d2 = this.waypointZ - this.posZ; - double d3 = d0 * d0 + d1 * d1 + d2 * d2; - - if (d3 < 1.0D || d3 > 3600.0D) { - if (this.targetedEntity != null) { - this.waypointX = targetedEntity.posX + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); - this.waypointZ = targetedEntity.posZ + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); - this.waypointY = this.worldObj.getHeightValue((int) waypointX, (int) waypointZ) + 10 - + rand.nextInt(15); - } else { - this.waypointX = this.posX + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); - this.waypointZ = this.posZ + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); - this.waypointY = this.worldObj.getHeightValue((int) waypointX, (int) waypointZ) + 10 - + rand.nextInt(15); - } - } - - if (this.courseChangeCooldown-- <= 0) { - this.courseChangeCooldown += this.rand.nextInt(5) + 2; - d3 = (double) MathHelper.sqrt_double(d3); - - if (this.isCourseTraversable(this.waypointX, this.waypointY, this.waypointZ, d3)) { - this.motionX += d0 / d3 * 0.1D; - this.motionY += d1 / d3 * 0.1D; - this.motionZ += d2 / d3 * 0.1D; - } else { - this.waypointX = this.posX + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); - this.waypointZ = this.posZ + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); - this.waypointY = this.worldObj.getHeightValue((int) waypointX, (int) waypointZ) + 10 - + rand.nextInt(15); - } - } - - if (this.targetedEntity != null && this.targetedEntity.isDead) { - this.targetedEntity = null; - } - - if (this.targetedEntity == null || this.attackCounter <= 0) { - // this.targetedEntity = - // this.worldObj.getClosestVulnerablePlayerToEntity(this, - // 100.0D); - this.targetedEntity = Library.getClosestEntityForChopper(worldObj, this.posX, this.posY, this.posZ, 250); - - if (this.targetedEntity != null) { - this.aggroCooldown = 20; - } - } - - double d4 = 64.0D; - - if (this.targetedEntity != null && this.targetedEntity.getDistanceSqToEntity(this) < d4 * d4) { - double d8 = 2.0D; - Vec3 vec3 = this.getLook(1.0F); - double xStart = this.posX + vec3.xCoord * d8; - double yStart = this.posY - 0.5; - double zStart = this.posZ + vec3.zCoord * d8; - double d5 = this.targetedEntity.posX - xStart; - double d6 = this.targetedEntity.boundingBox.minY + (double) (this.targetedEntity.height / 2.0F) - - yStart; - double d7 = this.targetedEntity.posZ - zStart; - - ++this.attackCounter; - if (attackCounter >= 200) { - attackCounter -= 200; - } - - if (this.attackCounter % 2 == 0 && attackCounter >= 120) { - worldObj.playSoundAtEntity(this, "hbm:weapon.osiprShoot", 10.0F, 1.0F); - // EntityLargeFireball entitylargefireball = new - // EntityLargeFireball(this.worldObj, this, d5, d6, d7); - EntityBullet entityarrow = new EntityBullet(this.worldObj, this, 3.0F, 35, 45, false, "chopper"); - Vec3 vec2 = Vec3.createVectorHelper(d5 - 1 + rand.nextInt(3), d6 - 1 + rand.nextInt(3), - d7 - 1 + rand.nextInt(3)).normalize(); - double motion = 3; - entityarrow.motionX = vec2.xCoord * motion; - entityarrow.motionY = vec2.yCoord * motion; - entityarrow.motionZ = vec2.zCoord * motion; - // entitylargefireball.field_92057_e = - // this.explosionStrength; - entityarrow.setDamage(3 + rand.nextInt(5)); - // entitylargefireball.posX = this.posX + vec3.xCoord * d8; - // entitylargefireball.posY = this.posY + - // (double)(this.height / - // 2.0F) + 0.5D; - // entitylargefireball.posZ = this.posZ + vec3.zCoord * d8; - entityarrow.posX = xStart; - entityarrow.posY = yStart; - entityarrow.posZ = zStart; - // this.worldObj.spawnEntityInWorld(entitylargefireball); - this.worldObj.spawnEntityInWorld(entityarrow); - } - if (this.attackCounter == 80) { - worldObj.playSoundAtEntity(this, "hbm:entity.chopperCharge", 5.0F, 1.0F); - } - - this.mineDropCounter++; - if (mineDropCounter > 100 && rand.nextInt(15) == 0) { - worldObj.playSoundAtEntity(this, "hbm:entity.chopperDrop", 15.0F, 1.0F); - EntityChopperMine mine = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, 0, -0.3, 0, this); - this.mineDropCounter = 0; - this.worldObj.spawnEntityInWorld(mine); - - if(rand.nextInt(3) == 0) - { - EntityChopperMine mine1 = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, 1, -0.3, 0, this); - EntityChopperMine mine2 = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, 0, -0.3, 1, this); - EntityChopperMine mine3 = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, -1, -0.3, 0, this); - EntityChopperMine mine4 = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, 0, -0.3, -1, this); - this.worldObj.spawnEntityInWorld(mine1); - this.worldObj.spawnEntityInWorld(mine2); - this.worldObj.spawnEntityInWorld(mine3); - this.worldObj.spawnEntityInWorld(mine4); - } - } - - } else { - - if (this.attackCounter > 0) { - this.attackCounter = 0; - } - } - - if (!this.worldObj.isRemote) { - byte b1 = this.dataWatcher.getWatchableObjectByte(16); - byte b0 = (byte) (this.attackCounter > 10 ? 1 : 0); - - if (b1 != b0) { - this.dataWatcher.updateObject(16, Byte.valueOf(b0)); - } - } - } else { - motionY -= 0.08; - if(Math.sqrt(Math.pow(this.motionX, 2) + Math.pow(this.motionZ, 2)) * 1.2 < 1.8) - { - this.motionX *= 1.2; - this.motionZ *= 1.2; - } - - if(rand.nextInt(20) == 0) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); - } - - this.worldObj.spawnEntityInWorld(new EntitySmokeFX(worldObj, this.posX, this.posY, this.posZ, 0, 0, 0)); - - rotationYaw += 20; - - if(this.onGround) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 15F, true); - this.dropItems(); - this.setDead(); - } - if (this.ticksExisted % 2 == 0) - this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, "hbm:misc.nullCrashing", 10.0F, 0.5F); - } - - if (this.targetedEntity == null) { - float f3 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - if (this.rotationYaw - (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI) >= 10) - this.prevRotationYaw = this.rotationYaw -= 10; - if (this.rotationYaw - (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI) <= -10) - this.prevRotationYaw = this.rotationYaw += 10; - if (this.rotationYaw - (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI) < 10 && this.rotationYaw - (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI) > 10) - this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(this.motionY, f3) * 180.0D / Math.PI); - } else { - float f3 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - if (this.rotationYaw - (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI) >= 10) - this.prevRotationYaw = this.rotationYaw -= 10; - if (this.rotationYaw - (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI) <= -10) - this.prevRotationYaw = this.rotationYaw += 10; - if (this.rotationYaw - (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI) < 10 && this.rotationYaw - (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI) > 10) - this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI); - - this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(this.motionY, f3) * 180.0D / Math.PI); - - double d8 = 2.0D; - Vec3 vec3 = this.getLook(1.0F); - double xStart = this.posX + vec3.xCoord * d8; - double yStart = this.posY - 0.5; - double zStart = this.posZ + vec3.zCoord * d8; - double d5 = this.targetedEntity.posX - xStart; - double d6 = this.targetedEntity.boundingBox.minY + (double) (this.targetedEntity.height / 2.0F) - yStart; - double d7 = this.targetedEntity.posZ - zStart; - } - - if(rotationPitch <= 330 && rotationPitch >= 30) - { - if(rotationPitch < 180) - rotationPitch = 30; - if(rotationPitch >= 180) - rotationPitch = 330; - } - } - - /** - * True if the ghast has an unobstructed line of travel to the waypoint. - */ - private boolean isCourseTraversable(double p_70790_1_, double p_70790_3_, double p_70790_5_, double p_70790_7_) { - double d4 = (this.waypointX - this.posX) / p_70790_7_; - double d5 = (this.waypointY - this.posY) / p_70790_7_; - double d6 = (this.waypointZ - this.posZ) / p_70790_7_; - AxisAlignedBB axisalignedbb = this.boundingBox.copy(); - - for (int i = 1; (double) i < p_70790_7_; ++i) { - axisalignedbb.offset(d4, d5, d6); - - if (!this.worldObj.getCollidingBoundingBoxes(this, axisalignedbb).isEmpty()) { - return false; - } - } - - return true; - } - - protected String getHurtSound() { - return null; - } - - protected String getDeathSound() { - return null; - } - - /** - * Drop 0-2 items of this living's type. @param par1 - Whether this entity - * has recently been hit by a player. @param par2 - Level of Looting used to - * kill this mob. - */ - protected void dropItems() { - - if(rand.nextInt(2) == 0) - this.dropItem(ModItems.chopper_head, 1); - if(rand.nextInt(2) == 0) - this.dropItem(ModItems.chopper_torso, 1); - if(rand.nextInt(2) == 0) - this.dropItem(ModItems.chopper_wing, 1); - if(rand.nextInt(3) == 0) - this.dropItem(ModItems.chopper_tail, 1); - if(rand.nextInt(3) == 0) - this.dropItem(ModItems.chopper_gun, 1); - if(rand.nextInt(3) == 0) - this.dropItem(ModItems.chopper_blades, 1); - - this.dropItem(ModItems.combine_scrap, rand.nextInt(8) + 1); - this.dropItem(ModItems.plate_combine_steel, rand.nextInt(5) + 1); - this.dropItem(ModItems.wire_magnetized_tungsten, rand.nextInt(3) + 1); - } - - /** - * Returns the volume for the sounds this mob makes. - */ - protected float getSoundVolume() { - return 10.0F; - } - - /** - * Checks if the entity's current position is a valid location to spawn this - * entity. - */ - public boolean getCanSpawnHere() { - return this.rand.nextInt(20) == 0 && super.getCanSpawnHere() - && this.worldObj.difficultySetting != EnumDifficulty.PEACEFUL; - } - - /** - * Will return how many at most can spawn in a chunk at once. - */ - public int getMaxSpawnedInChunk() { - return 1; - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - public void writeEntityToNBT(NBTTagCompound p_70014_1_) { - super.writeEntityToNBT(p_70014_1_); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - public void readEntityFromNBT(NBTTagCompound p_70037_1_) { - super.readEntityFromNBT(p_70037_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public boolean isInRangeToRenderDist(double distance) - { - return distance < 25000; - } - - public void initDeath() { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10F, true); - if(!this.isDying) - worldObj.playSoundAtEntity(this, "hbm:entity.chopperDamage", 10.0F, 1.0F); - isDying = true; - } - - public void dropDamageItem() { - int i = rand.nextInt(10); - - if(i < 6) - this.dropItem(ModItems.combine_scrap, 1); - else if(i > 7) - this.dropItem(ModItems.plate_combine_steel, 1); - else - this.dropItem(ModItems.wire_magnetized_tungsten, 1); - } - - public void setIsDying(boolean b) { - this.dataWatcher.updateObject(23, Byte.valueOf((byte) (b ? 1 : 0))); - } - - public boolean getIsDying() { - return this.dataWatcher.getWatchableObjectByte(23) == 1; - } -} +package com.hbm.entity.mob; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityChopperMine; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityFlying; +import net.minecraft.entity.EntityLiving; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.EntityAILookIdle; +import net.minecraft.entity.ai.EntityAINearestAttackableTarget; +import net.minecraft.entity.boss.IBossDisplayData; +import net.minecraft.entity.monster.IMob; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.projectile.EntityLargeFireball; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.stats.AchievementList; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; +import net.minecraft.world.EnumDifficulty; +import net.minecraft.world.World; + +public class EntityHunterChopper extends EntityFlying implements IMob, IBossDisplayData { + public int courseChangeCooldown; + public double waypointX; + public double waypointY; + public double waypointZ; + private Entity targetedEntity; + private int aggroCooldown; + public int prevAttackCounter; + public int attackCounter; + public int mineDropCounter; + public boolean isDying = false; + + public EntityHunterChopper(World p_i1735_1_) { + super(p_i1735_1_); + this.setSize(8.25F, 3.0F); + this.isImmuneToFire = true; + this.experienceValue = 500; + this.ignoreFrustumCheck = true; + } + + @SideOnly(Side.CLIENT) + public boolean func_110182_bF() { + return this.dataWatcher.getWatchableObjectByte(16) != 0; + } + + /** + * Called when the entity is attacked. + */ + public boolean attackEntityFrom(DamageSource source, float amount) { + if (this.isEntityInvulnerable() || !(source == ModDamageSource.nuclearBlast || source.isExplosion() || ModDamageSource.getIsTau(source) || ModDamageSource.getIsSubatomic(source) || ModDamageSource.getIsDischarge(source))) { + return false; + } else if(amount >= this.getHealth()) { + this.initDeath(); + this.setIsDying(true); + this.setHealth(0.1F); + return false; + } + + if(rand.nextInt(15) == 0) + { + if(!worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); + this.dropDamageItem(); + } + } + + for (int j = 0; j < 3; j++) { + double d0 = rand.nextDouble() / 20 * rand.nextInt(2) == 0 ? -1 : 1; + double d1 = rand.nextDouble() / 20 * rand.nextInt(2) == 0 ? -1 : 1; + double d2 = rand.nextDouble() / 20 * rand.nextInt(2) == 0 ? -1 : 1; + + for (int i = 0; i < 8; i++) + if(this.worldObj.isRemote) + worldObj.spawnParticle("fireworksSpark", this.posX, this.posY, this.posZ, d0 * i * 0.25, d1 * i * 0.25, d2 * i * 0.25); + } + + return super.attackEntityFrom(source, amount); + } + + protected void entityInit() { + super.entityInit(); + this.dataWatcher.addObject(16, Byte.valueOf((byte) 0)); + this.dataWatcher.addObject(21, Float.valueOf((float) 0)); + this.dataWatcher.addObject(22, Float.valueOf((float) 0)); + this.dataWatcher.addObject(23, Byte.valueOf((byte) 0)); + } + + protected void applyEntityAttributes() { + super.applyEntityAttributes(); + this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(750.0D); + } + + protected void updateEntityActionState() { + if (!this.worldObj.isRemote && this.worldObj.difficultySetting == EnumDifficulty.PEACEFUL) { + this.setDead(); + } + + if (!isDying) { + this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, "hbm:misc.nullChopper", 10.0F, 0.5F); + + this.prevAttackCounter = this.attackCounter; + double d0 = this.waypointX - this.posX; + double d1 = this.waypointY - this.posY; + double d2 = this.waypointZ - this.posZ; + double d3 = d0 * d0 + d1 * d1 + d2 * d2; + + if (d3 < 1.0D || d3 > 3600.0D) { + if (this.targetedEntity != null) { + this.waypointX = targetedEntity.posX + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); + this.waypointZ = targetedEntity.posZ + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); + this.waypointY = this.worldObj.getHeightValue((int) waypointX, (int) waypointZ) + 10 + + rand.nextInt(15); + } else { + this.waypointX = this.posX + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); + this.waypointZ = this.posZ + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); + this.waypointY = this.worldObj.getHeightValue((int) waypointX, (int) waypointZ) + 10 + + rand.nextInt(15); + } + } + + if (this.courseChangeCooldown-- <= 0) { + this.courseChangeCooldown += this.rand.nextInt(5) + 2; + d3 = (double) MathHelper.sqrt_double(d3); + + if (this.isCourseTraversable(this.waypointX, this.waypointY, this.waypointZ, d3)) { + this.motionX += d0 / d3 * 0.1D; + this.motionY += d1 / d3 * 0.1D; + this.motionZ += d2 / d3 * 0.1D; + } else { + this.waypointX = this.posX + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); + this.waypointZ = this.posZ + (double) ((this.rand.nextFloat() * 2.0F - 1.0F) * 16.0F); + this.waypointY = this.worldObj.getHeightValue((int) waypointX, (int) waypointZ) + 10 + + rand.nextInt(15); + } + } + + if (this.targetedEntity != null && this.targetedEntity.isDead) { + this.targetedEntity = null; + } + + if (this.targetedEntity == null || this.attackCounter <= 0) { + // this.targetedEntity = + // this.worldObj.getClosestVulnerablePlayerToEntity(this, + // 100.0D); + this.targetedEntity = Library.getClosestEntityForChopper(worldObj, this.posX, this.posY, this.posZ, 250); + + if (this.targetedEntity != null) { + this.aggroCooldown = 20; + } + } + + double d4 = 64.0D; + + if (this.targetedEntity != null && this.targetedEntity.getDistanceSqToEntity(this) < d4 * d4) { + double d8 = 2.0D; + Vec3 vec3 = this.getLook(1.0F); + double xStart = this.posX + vec3.xCoord * d8; + double yStart = this.posY - 0.5; + double zStart = this.posZ + vec3.zCoord * d8; + double d5 = this.targetedEntity.posX - xStart; + double d6 = this.targetedEntity.boundingBox.minY + (double) (this.targetedEntity.height / 2.0F) + - yStart; + double d7 = this.targetedEntity.posZ - zStart; + + ++this.attackCounter; + if (attackCounter >= 200) { + attackCounter -= 200; + } + + if (this.attackCounter % 2 == 0 && attackCounter >= 120) { + worldObj.playSoundAtEntity(this, "hbm:weapon.osiprShoot", 10.0F, 1.0F); + // EntityLargeFireball entitylargefireball = new + // EntityLargeFireball(this.worldObj, this, d5, d6, d7); + EntityBullet entityarrow = new EntityBullet(this.worldObj, this, 3.0F, 35, 45, false, "chopper"); + Vec3 vec2 = Vec3.createVectorHelper(d5 - 1 + rand.nextInt(3), d6 - 1 + rand.nextInt(3), + d7 - 1 + rand.nextInt(3)).normalize(); + double motion = 3; + entityarrow.motionX = vec2.xCoord * motion; + entityarrow.motionY = vec2.yCoord * motion; + entityarrow.motionZ = vec2.zCoord * motion; + // entitylargefireball.field_92057_e = + // this.explosionStrength; + entityarrow.setDamage(3 + rand.nextInt(5)); + // entitylargefireball.posX = this.posX + vec3.xCoord * d8; + // entitylargefireball.posY = this.posY + + // (double)(this.height / + // 2.0F) + 0.5D; + // entitylargefireball.posZ = this.posZ + vec3.zCoord * d8; + entityarrow.posX = xStart; + entityarrow.posY = yStart; + entityarrow.posZ = zStart; + // this.worldObj.spawnEntityInWorld(entitylargefireball); + this.worldObj.spawnEntityInWorld(entityarrow); + } + if (this.attackCounter == 80) { + worldObj.playSoundAtEntity(this, "hbm:entity.chopperCharge", 5.0F, 1.0F); + } + + this.mineDropCounter++; + if (mineDropCounter > 100 && rand.nextInt(15) == 0) { + worldObj.playSoundAtEntity(this, "hbm:entity.chopperDrop", 15.0F, 1.0F); + EntityChopperMine mine = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, 0, -0.3, 0, this); + this.mineDropCounter = 0; + this.worldObj.spawnEntityInWorld(mine); + + if(rand.nextInt(3) == 0) + { + EntityChopperMine mine1 = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, 1, -0.3, 0, this); + EntityChopperMine mine2 = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, 0, -0.3, 1, this); + EntityChopperMine mine3 = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, -1, -0.3, 0, this); + EntityChopperMine mine4 = new EntityChopperMine(worldObj, this.posX, this.posY - 0.5, this.posZ, 0, -0.3, -1, this); + this.worldObj.spawnEntityInWorld(mine1); + this.worldObj.spawnEntityInWorld(mine2); + this.worldObj.spawnEntityInWorld(mine3); + this.worldObj.spawnEntityInWorld(mine4); + } + } + + } else { + + if (this.attackCounter > 0) { + this.attackCounter = 0; + } + } + + if (!this.worldObj.isRemote) { + byte b1 = this.dataWatcher.getWatchableObjectByte(16); + byte b0 = (byte) (this.attackCounter > 10 ? 1 : 0); + + if (b1 != b0) { + this.dataWatcher.updateObject(16, Byte.valueOf(b0)); + } + } + } else { + motionY -= 0.08; + if(Math.sqrt(Math.pow(this.motionX, 2) + Math.pow(this.motionZ, 2)) * 1.2 < 1.8) + { + this.motionX *= 1.2; + this.motionZ *= 1.2; + } + + if(rand.nextInt(20) == 0) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 5F, true); + } + + this.worldObj.spawnEntityInWorld(new EntitySmokeFX(worldObj, this.posX, this.posY, this.posZ, 0, 0, 0)); + + rotationYaw += 20; + + if(this.onGround) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 15F, true); + this.dropItems(); + this.setDead(); + } + if (this.ticksExisted % 2 == 0) + this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, "hbm:misc.nullCrashing", 10.0F, 0.5F); + } + + if (this.targetedEntity == null) { + float f3 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + if (this.rotationYaw - (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI) >= 10) + this.prevRotationYaw = this.rotationYaw -= 10; + if (this.rotationYaw - (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI) <= -10) + this.prevRotationYaw = this.rotationYaw += 10; + if (this.rotationYaw - (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI) < 10 && this.rotationYaw - (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI) > 10) + this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(this.motionY, f3) * 180.0D / Math.PI); + } else { + float f3 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + if (this.rotationYaw - (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI) >= 10) + this.prevRotationYaw = this.rotationYaw -= 10; + if (this.rotationYaw - (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI) <= -10) + this.prevRotationYaw = this.rotationYaw += 10; + if (this.rotationYaw - (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI) < 10 && this.rotationYaw - (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI) > 10) + this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(this.posX - targetedEntity.posX, this.posZ - targetedEntity.posZ) * 180.0D / Math.PI); + + this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(this.motionY, f3) * 180.0D / Math.PI); + + double d8 = 2.0D; + Vec3 vec3 = this.getLook(1.0F); + double xStart = this.posX + vec3.xCoord * d8; + double yStart = this.posY - 0.5; + double zStart = this.posZ + vec3.zCoord * d8; + double d5 = this.targetedEntity.posX - xStart; + double d6 = this.targetedEntity.boundingBox.minY + (double) (this.targetedEntity.height / 2.0F) - yStart; + double d7 = this.targetedEntity.posZ - zStart; + } + + if(rotationPitch <= 330 && rotationPitch >= 30) + { + if(rotationPitch < 180) + rotationPitch = 30; + if(rotationPitch >= 180) + rotationPitch = 330; + } + } + + /** + * True if the ghast has an unobstructed line of travel to the waypoint. + */ + private boolean isCourseTraversable(double p_70790_1_, double p_70790_3_, double p_70790_5_, double p_70790_7_) { + double d4 = (this.waypointX - this.posX) / p_70790_7_; + double d5 = (this.waypointY - this.posY) / p_70790_7_; + double d6 = (this.waypointZ - this.posZ) / p_70790_7_; + AxisAlignedBB axisalignedbb = this.boundingBox.copy(); + + for (int i = 1; (double) i < p_70790_7_; ++i) { + axisalignedbb.offset(d4, d5, d6); + + if (!this.worldObj.getCollidingBoundingBoxes(this, axisalignedbb).isEmpty()) { + return false; + } + } + + return true; + } + + protected String getHurtSound() { + return null; + } + + protected String getDeathSound() { + return null; + } + + /** + * Drop 0-2 items of this living's type. @param par1 - Whether this entity + * has recently been hit by a player. @param par2 - Level of Looting used to + * kill this mob. + */ + protected void dropItems() { + + if(rand.nextInt(2) == 0) + this.dropItem(ModItems.chopper_head, 1); + if(rand.nextInt(2) == 0) + this.dropItem(ModItems.chopper_torso, 1); + if(rand.nextInt(2) == 0) + this.dropItem(ModItems.chopper_wing, 1); + if(rand.nextInt(3) == 0) + this.dropItem(ModItems.chopper_tail, 1); + if(rand.nextInt(3) == 0) + this.dropItem(ModItems.chopper_gun, 1); + if(rand.nextInt(3) == 0) + this.dropItem(ModItems.chopper_blades, 1); + + this.dropItem(ModItems.combine_scrap, rand.nextInt(8) + 1); + this.dropItem(ModItems.plate_combine_steel, rand.nextInt(5) + 1); + this.dropItem(ModItems.wire_magnetized_tungsten, rand.nextInt(3) + 1); + } + + /** + * Returns the volume for the sounds this mob makes. + */ + protected float getSoundVolume() { + return 10.0F; + } + + /** + * Checks if the entity's current position is a valid location to spawn this + * entity. + */ + public boolean getCanSpawnHere() { + return this.rand.nextInt(20) == 0 && super.getCanSpawnHere() + && this.worldObj.difficultySetting != EnumDifficulty.PEACEFUL; + } + + /** + * Will return how many at most can spawn in a chunk at once. + */ + public int getMaxSpawnedInChunk() { + return 1; + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + public void writeEntityToNBT(NBTTagCompound p_70014_1_) { + super.writeEntityToNBT(p_70014_1_); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + public void readEntityFromNBT(NBTTagCompound p_70037_1_) { + super.readEntityFromNBT(p_70037_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public boolean isInRangeToRenderDist(double distance) + { + return distance < 25000; + } + + public void initDeath() { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 10F, true); + if(!this.isDying) + worldObj.playSoundAtEntity(this, "hbm:entity.chopperDamage", 10.0F, 1.0F); + isDying = true; + } + + public void dropDamageItem() { + int i = rand.nextInt(10); + + if(i < 6) + this.dropItem(ModItems.combine_scrap, 1); + else if(i > 7) + this.dropItem(ModItems.plate_combine_steel, 1); + else + this.dropItem(ModItems.wire_magnetized_tungsten, 1); + } + + public void setIsDying(boolean b) { + this.dataWatcher.updateObject(23, Byte.valueOf((byte) (b ? 1 : 0))); + } + + public boolean getIsDying() { + return this.dataWatcher.getWatchableObjectByte(23) == 1; + } +} diff --git a/com/hbm/entity/mob/EntityNuclearCreeper.java b/com/hbm/entity/mob/EntityNuclearCreeper.java index f991772fd..d55a95a3a 100644 --- a/com/hbm/entity/mob/EntityNuclearCreeper.java +++ b/com/hbm/entity/mob/EntityNuclearCreeper.java @@ -1,498 +1,498 @@ -package com.hbm.entity.mob; - -import java.util.HashSet; -import java.util.List; - -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.explosion.ExplosionParticle; -import com.hbm.explosion.ExplosionParticleB; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.SharedMonsterAttributes; -import net.minecraft.entity.ai.EntityAIAttackOnCollide; -import net.minecraft.entity.ai.EntityAIHurtByTarget; -import net.minecraft.entity.ai.EntityAILookIdle; -import net.minecraft.entity.ai.EntityAINearestAttackableTarget; -import net.minecraft.entity.ai.EntityAISwimming; -import net.minecraft.entity.ai.EntityAIWander; -import net.minecraft.entity.ai.EntityAIWatchClosest; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.monster.EntityMob; -import net.minecraft.entity.monster.EntitySkeleton; -import net.minecraft.entity.monster.EntityZombie; -import net.minecraft.entity.passive.EntityCow; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.passive.EntityOcelot; -import net.minecraft.entity.passive.EntityVillager; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.projectile.EntityArrow; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class EntityNuclearCreeper extends EntityMob { - /** - * Time when this creeper was last in an active state (Messed up code here, probably causes creeper animation to go - * weird) - */ - private int lastActiveTime; - /** The amount of time since the creeper was close enough to the player to ignite */ - private int timeSinceIgnited; - private int fuseTime = 75; - /** Explosion radius for this creeper. */ - private int explosionRadius = 20; - private static final String __OBFID = "CL_00001684"; - - public EntityNuclearCreeper(World p_i1733_1_) - { - super(p_i1733_1_); - this.tasks.addTask(1, new EntityAISwimming(this)); - this.tasks.addTask(2, new EntityAINuclearCreeperSwell(this)); - this.tasks.addTask(3, new EntityAIAttackOnCollide(this, 1.0D, false)); - this.tasks.addTask(4, new EntityAIWander(this, 0.8D)); - this.tasks.addTask(5, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); - this.tasks.addTask(6, new EntityAILookIdle(this)); - this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true)); - this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false)); - this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityOcelot.class, 0, true)); - } - - @Override - protected void applyEntityAttributes() - { - super.applyEntityAttributes(); - this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50.0D); - this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.3D); - } - - @Override - public boolean attackEntityFrom(DamageSource source, float amount) { - - if(source == ModDamageSource.radiation || source == ModDamageSource.mudPoisoning) { - this.heal(amount); - return false; - } - - return super.attackEntityFrom(source, amount); - } - - /** - * Returns true if the newer Entity AI code should be run - */ - @Override - public boolean isAIEnabled() - { - return true; - } - - /** - * The number of iterations PathFinder.getSafePoint will execute before giving up. - */ - @Override - public int getMaxSafePointTries() - { - return this.getAttackTarget() == null ? 3 : 3 + (int)(this.getHealth() - 1.0F); - } - - /** - * Called when the mob is falling. Calculates and applies fall damage. - */ - @Override - protected void fall(float p_70069_1_) - { - super.fall(p_70069_1_); - this.timeSinceIgnited = (int)(this.timeSinceIgnited + p_70069_1_ * 1.5F); - - if (this.timeSinceIgnited > this.fuseTime - 5) - { - this.timeSinceIgnited = this.fuseTime - 5; - } - } - - @Override - protected void entityInit() - { - super.entityInit(); - this.dataWatcher.addObject(16, Byte.valueOf((byte) - 1)); - this.dataWatcher.addObject(17, Byte.valueOf((byte)0)); - this.dataWatcher.addObject(18, Byte.valueOf((byte)0)); - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) - { - super.writeEntityToNBT(p_70014_1_); - - if (this.dataWatcher.getWatchableObjectByte(17) == 1) - { - p_70014_1_.setBoolean("powered", true); - } - - p_70014_1_.setShort("Fuse", (short)this.fuseTime); - p_70014_1_.setByte("ExplosionRadius", (byte)this.explosionRadius); - p_70014_1_.setBoolean("ignited", this.func_146078_ca()); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) - { - super.readEntityFromNBT(p_70037_1_); - this.dataWatcher.updateObject(17, Byte.valueOf((byte)(p_70037_1_.getBoolean("powered") ? 1 : 0))); - - if (p_70037_1_.hasKey("Fuse", 99)) - { - this.fuseTime = p_70037_1_.getShort("Fuse"); - } - - if (p_70037_1_.hasKey("ExplosionRadius", 99)) - { - this.explosionRadius = p_70037_1_.getByte("ExplosionRadius"); - } - - if (p_70037_1_.getBoolean("ignited")) - { - this.func_146079_cb(); - } - } - - /** - * Called to update the entity's position/logic. - */ - @Override - public void onUpdate() - { - if(this.isDead) - { - this.isDead = false; - this.heal(10.0F); - } - - if (this.isEntityAlive()) - { - this.lastActiveTime = this.timeSinceIgnited; - - if (this.func_146078_ca()) - { - this.setCreeperState(1); - } - - int i = this.getCreeperState(); - - if (i > 0 && this.timeSinceIgnited == 0) - { - this.playSound("creeper.primed", 1.0F * 30 / 75, 0.5F); - } - - this.timeSinceIgnited += i; - - if (this.timeSinceIgnited < 0) - { - this.timeSinceIgnited = 0; - } - - if (this.timeSinceIgnited >= this.fuseTime) - { - this.timeSinceIgnited = this.fuseTime; - this.func_146077_cc(); - } - } - int strength = 1; - float f = strength; - HashSet hashset = new HashSet(); - int i; - int j; - int k; - double d5; - double d6; - double d7; - double wat = f*2; - boolean isOccupied = false; - - - strength *= 2.0F; - i = MathHelper.floor_double(this.posX - wat - 1.0D); - j = MathHelper.floor_double(this.posX + wat + 1.0D); - k = MathHelper.floor_double(this.posY - wat - 1.0D); - int i2 = MathHelper.floor_double(this.posY + wat + 1.0D); - int l = MathHelper.floor_double(this.posZ - wat - 1.0D); - int j2 = MathHelper.floor_double(this.posZ + wat + 1.0D); - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); - Vec3 vec3 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - - for (int i1 = 0; i1 < list.size(); ++i1) - { - Entity entity = (Entity)list.get(i1); - double d4 = entity.getDistance(this.posX, this.posY, this.posZ) / 4; - - if (d4 <= 1.0D) - { - d5 = entity.posX - this.posX; - d6 = entity.posY + entity.getEyeHeight() - this.posY; - d7 = entity.posZ - this.posZ; - double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); - if (d9 < wat) - { - if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) - { - /*Library.damageSuit(((EntityPlayer)entity), 0); - Library.damageSuit(((EntityPlayer)entity), 1); - Library.damageSuit(((EntityPlayer)entity), 2); - Library.damageSuit(((EntityPlayer)entity), 3);*/ - - } else if(entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(this.worldObj); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); - if(!entity.isDead) - if(!worldObj.isRemote) - worldObj.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(this.worldObj); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if(!this.worldObj.isRemote) - this.worldObj.spawnEntityInWorld(creep); - } else if(entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) - { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.getId(), 5 * 20, 1)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 15 * 20, 0)); - } - } - } - } - - strength = (int)f; - - super.onUpdate(); - - if(this.getHealth() < this.getMaxHealth() && this.ticksExisted % 10 == 0) - { - this.heal(1.0F); - } - } - - /** - * Returns the sound this mob makes when it is hurt. - */ - @Override - protected String getHurtSound() - { - return "mob.creeper.say"; - } - - /** - * Returns the sound this mob makes on death. - */ - @Override - protected String getDeathSound() - { - return "mob.creeper.death"; - } - - /** - * Called when the mob's health reaches 0. - */ - @Override - public void onDeath(DamageSource p_70645_1_) - { - super.onDeath(p_70645_1_); - - if (p_70645_1_.getEntity() instanceof EntitySkeleton || (p_70645_1_.isProjectile() && p_70645_1_.getEntity() instanceof EntityArrow && ((EntityArrow)(p_70645_1_.getEntity())).shootingEntity == null)) - { - int i = rand.nextInt(11); - int j = rand.nextInt(3); - if(i == 0) - this.dropItem(ModItems.nugget_u235, j); - if(i == 1) - this.dropItem(ModItems.nugget_pu238, j); - if(i == 2) - this.dropItem(ModItems.nugget_pu239, j); - if(i == 3) - this.dropItem(ModItems.nugget_neptunium, j); - if(i == 4) - this.dropItem(ModItems.man_core, 1); - if(i == 5) - { - this.dropItem(ModItems.sulfur, j * 2); - this.dropItem(ModItems.niter, j * 2); - } - if(i == 6) - this.dropItem(ModItems.syringe_awesome, 1); - if(i == 7) - this.dropItem(ModItems.fusion_core, 1); - if(i == 8) - this.dropItem(ModItems.syringe_metal_stimpak, 1); - if(i == 9) - { - switch(rand.nextInt(4)) - { - case 0: this.dropItem(ModItems.t45_helmet, 1); break; - case 1: this.dropItem(ModItems.t45_plate, 1); break; - case 2: this.dropItem(ModItems.t45_legs, 1); break; - case 3: this.dropItem(ModItems.t45_boots, 1); break; - } - this.dropItem(ModItems.fusion_core, 1); - } - if(i == 10) - this.dropItem(ModItems.gun_fatman_ammo, 1); - } - } - - @Override - public boolean attackEntityAsMob(Entity p_70652_1_) - { - return true; - } - - /** - * Returns true if the creeper is powered by a lightning bolt. - */ - public boolean getPowered() - { - return this.dataWatcher.getWatchableObjectByte(17) == 1; - } - - /** - * Params: (Float)Render tick. Returns the intensity of the creeper's flash when it is ignited. - */ - @SideOnly(Side.CLIENT) - public float getCreeperFlashIntensity(float p_70831_1_) - { - return (this.lastActiveTime + (this.timeSinceIgnited - this.lastActiveTime) * p_70831_1_) / (this.fuseTime - 2); - } - - @Override - protected Item getDropItem() - { - return Item.getItemFromBlock(Blocks.tnt); - } - - /** - * Returns the current state of creeper, -1 is idle, 1 is 'in fuse' - */ - public int getCreeperState() - { - return this.dataWatcher.getWatchableObjectByte(16); - } - - /** - * Sets the state of creeper, -1 to idle and 1 to be 'in fuse' - */ - public void setCreeperState(int p_70829_1_) - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)p_70829_1_)); - } - - /** - * Called when a lightning bolt hits the entity. - */ - @Override - public void onStruckByLightning(EntityLightningBolt p_70077_1_) - { - super.onStruckByLightning(p_70077_1_); - this.dataWatcher.updateObject(17, Byte.valueOf((byte)1)); - } - - /** - * Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig. - */ - @Override - protected boolean interact(EntityPlayer p_70085_1_) - { - ItemStack itemstack = p_70085_1_.inventory.getCurrentItem(); - - if (itemstack != null && itemstack.getItem() == Items.flint_and_steel) - { - this.worldObj.playSoundEffect(this.posX + 0.5D, this.posY + 0.5D, this.posZ + 0.5D, "fire.ignite", 1.0F, this.rand.nextFloat() * 0.4F + 0.8F); - p_70085_1_.swingItem(); - - if (!this.worldObj.isRemote) - { - this.func_146079_cb(); - itemstack.damageItem(1, p_70085_1_); - return true; - } - } - - return super.interact(p_70085_1_); - } - - private void func_146077_cc() - { - if (!this.worldObj.isRemote) - { - boolean flag = this.worldObj.getGameRules().getGameRuleBooleanValue("mobGriefing"); - - if (this.getPowered()) - { - //this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, (float)(this.explosionRadius * 2), flag); - this.explosionRadius *= 3; - } - - EntityNukeExplosionAdvanced explosion = new EntityNukeExplosionAdvanced(this.worldObj); - explosion.speed = 25; - explosion.coefficient = 5.0F; - explosion.destructionRange = this.explosionRadius; - explosion.posX = this.posX; - explosion.posY = this.posY; - explosion.posZ = this.posZ; - this.worldObj.spawnEntityInWorld(explosion); - - if(this.getPowered()) - { - EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(this.worldObj, 1000); - entity2.posX = this.posX; - entity2.posY = this.posY - 11; - entity2.posZ = this.posZ; - this.worldObj.spawnEntityInWorld(entity2); - } else { - if(rand.nextInt(100) == 0) - { - ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); - } else { - ExplosionParticle.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); - } - } - - this.setDead(); - } - } - - public boolean func_146078_ca() - { - return this.dataWatcher.getWatchableObjectByte(18) != 0; - } - - public void func_146079_cb() - { - this.dataWatcher.updateObject(18, Byte.valueOf((byte)1)); - } - - public void setPowered(int power) { - this.dataWatcher.updateObject(17, power); - } -} +package com.hbm.entity.mob; + +import java.util.HashSet; +import java.util.List; + +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionParticle; +import com.hbm.explosion.ExplosionParticleB; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.EntityAIAttackOnCollide; +import net.minecraft.entity.ai.EntityAIHurtByTarget; +import net.minecraft.entity.ai.EntityAILookIdle; +import net.minecraft.entity.ai.EntityAINearestAttackableTarget; +import net.minecraft.entity.ai.EntityAISwimming; +import net.minecraft.entity.ai.EntityAIWander; +import net.minecraft.entity.ai.EntityAIWatchClosest; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityMob; +import net.minecraft.entity.monster.EntitySkeleton; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityCow; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityOcelot; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.projectile.EntityArrow; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityNuclearCreeper extends EntityMob { + /** + * Time when this creeper was last in an active state (Messed up code here, probably causes creeper animation to go + * weird) + */ + private int lastActiveTime; + /** The amount of time since the creeper was close enough to the player to ignite */ + private int timeSinceIgnited; + private int fuseTime = 75; + /** Explosion radius for this creeper. */ + private int explosionRadius = 20; + private static final String __OBFID = "CL_00001684"; + + public EntityNuclearCreeper(World p_i1733_1_) + { + super(p_i1733_1_); + this.tasks.addTask(1, new EntityAISwimming(this)); + this.tasks.addTask(2, new EntityAINuclearCreeperSwell(this)); + this.tasks.addTask(3, new EntityAIAttackOnCollide(this, 1.0D, false)); + this.tasks.addTask(4, new EntityAIWander(this, 0.8D)); + this.tasks.addTask(5, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); + this.tasks.addTask(6, new EntityAILookIdle(this)); + this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true)); + this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false)); + this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityOcelot.class, 0, true)); + } + + @Override + protected void applyEntityAttributes() + { + super.applyEntityAttributes(); + this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50.0D); + this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.3D); + } + + @Override + public boolean attackEntityFrom(DamageSource source, float amount) { + + if(source == ModDamageSource.radiation || source == ModDamageSource.mudPoisoning) { + this.heal(amount); + return false; + } + + return super.attackEntityFrom(source, amount); + } + + /** + * Returns true if the newer Entity AI code should be run + */ + @Override + public boolean isAIEnabled() + { + return true; + } + + /** + * The number of iterations PathFinder.getSafePoint will execute before giving up. + */ + @Override + public int getMaxSafePointTries() + { + return this.getAttackTarget() == null ? 3 : 3 + (int)(this.getHealth() - 1.0F); + } + + /** + * Called when the mob is falling. Calculates and applies fall damage. + */ + @Override + protected void fall(float p_70069_1_) + { + super.fall(p_70069_1_); + this.timeSinceIgnited = (int)(this.timeSinceIgnited + p_70069_1_ * 1.5F); + + if (this.timeSinceIgnited > this.fuseTime - 5) + { + this.timeSinceIgnited = this.fuseTime - 5; + } + } + + @Override + protected void entityInit() + { + super.entityInit(); + this.dataWatcher.addObject(16, Byte.valueOf((byte) - 1)); + this.dataWatcher.addObject(17, Byte.valueOf((byte)0)); + this.dataWatcher.addObject(18, Byte.valueOf((byte)0)); + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + super.writeEntityToNBT(p_70014_1_); + + if (this.dataWatcher.getWatchableObjectByte(17) == 1) + { + p_70014_1_.setBoolean("powered", true); + } + + p_70014_1_.setShort("Fuse", (short)this.fuseTime); + p_70014_1_.setByte("ExplosionRadius", (byte)this.explosionRadius); + p_70014_1_.setBoolean("ignited", this.func_146078_ca()); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + super.readEntityFromNBT(p_70037_1_); + this.dataWatcher.updateObject(17, Byte.valueOf((byte)(p_70037_1_.getBoolean("powered") ? 1 : 0))); + + if (p_70037_1_.hasKey("Fuse", 99)) + { + this.fuseTime = p_70037_1_.getShort("Fuse"); + } + + if (p_70037_1_.hasKey("ExplosionRadius", 99)) + { + this.explosionRadius = p_70037_1_.getByte("ExplosionRadius"); + } + + if (p_70037_1_.getBoolean("ignited")) + { + this.func_146079_cb(); + } + } + + /** + * Called to update the entity's position/logic. + */ + @Override + public void onUpdate() + { + if(this.isDead) + { + this.isDead = false; + this.heal(10.0F); + } + + if (this.isEntityAlive()) + { + this.lastActiveTime = this.timeSinceIgnited; + + if (this.func_146078_ca()) + { + this.setCreeperState(1); + } + + int i = this.getCreeperState(); + + if (i > 0 && this.timeSinceIgnited == 0) + { + this.playSound("creeper.primed", 1.0F * 30 / 75, 0.5F); + } + + this.timeSinceIgnited += i; + + if (this.timeSinceIgnited < 0) + { + this.timeSinceIgnited = 0; + } + + if (this.timeSinceIgnited >= this.fuseTime) + { + this.timeSinceIgnited = this.fuseTime; + this.func_146077_cc(); + } + } + int strength = 1; + float f = strength; + HashSet hashset = new HashSet(); + int i; + int j; + int k; + double d5; + double d6; + double d7; + double wat = f*2; + boolean isOccupied = false; + + + strength *= 2.0F; + i = MathHelper.floor_double(this.posX - wat - 1.0D); + j = MathHelper.floor_double(this.posX + wat + 1.0D); + k = MathHelper.floor_double(this.posY - wat - 1.0D); + int i2 = MathHelper.floor_double(this.posY + wat + 1.0D); + int l = MathHelper.floor_double(this.posZ - wat - 1.0D); + int j2 = MathHelper.floor_double(this.posZ + wat + 1.0D); + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); + Vec3 vec3 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + + for (int i1 = 0; i1 < list.size(); ++i1) + { + Entity entity = (Entity)list.get(i1); + double d4 = entity.getDistance(this.posX, this.posY, this.posZ) / 4; + + if (d4 <= 1.0D) + { + d5 = entity.posX - this.posX; + d6 = entity.posY + entity.getEyeHeight() - this.posY; + d7 = entity.posZ - this.posZ; + double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); + if (d9 < wat) + { + if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) + { + /*Library.damageSuit(((EntityPlayer)entity), 0); + Library.damageSuit(((EntityPlayer)entity), 1); + Library.damageSuit(((EntityPlayer)entity), 2); + Library.damageSuit(((EntityPlayer)entity), 3);*/ + + } else if(entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(this.worldObj); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); + if(!entity.isDead) + if(!worldObj.isRemote) + worldObj.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(this.worldObj); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if(!this.worldObj.isRemote) + this.worldObj.spawnEntityInWorld(creep); + } else if(entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) + { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.getId(), 5 * 20, 1)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 15 * 20, 0)); + } + } + } + } + + strength = (int)f; + + super.onUpdate(); + + if(this.getHealth() < this.getMaxHealth() && this.ticksExisted % 10 == 0) + { + this.heal(1.0F); + } + } + + /** + * Returns the sound this mob makes when it is hurt. + */ + @Override + protected String getHurtSound() + { + return "mob.creeper.say"; + } + + /** + * Returns the sound this mob makes on death. + */ + @Override + protected String getDeathSound() + { + return "mob.creeper.death"; + } + + /** + * Called when the mob's health reaches 0. + */ + @Override + public void onDeath(DamageSource p_70645_1_) + { + super.onDeath(p_70645_1_); + + if (p_70645_1_.getEntity() instanceof EntitySkeleton || (p_70645_1_.isProjectile() && p_70645_1_.getEntity() instanceof EntityArrow && ((EntityArrow)(p_70645_1_.getEntity())).shootingEntity == null)) + { + int i = rand.nextInt(11); + int j = rand.nextInt(3); + if(i == 0) + this.dropItem(ModItems.nugget_u235, j); + if(i == 1) + this.dropItem(ModItems.nugget_pu238, j); + if(i == 2) + this.dropItem(ModItems.nugget_pu239, j); + if(i == 3) + this.dropItem(ModItems.nugget_neptunium, j); + if(i == 4) + this.dropItem(ModItems.man_core, 1); + if(i == 5) + { + this.dropItem(ModItems.sulfur, j * 2); + this.dropItem(ModItems.niter, j * 2); + } + if(i == 6) + this.dropItem(ModItems.syringe_awesome, 1); + if(i == 7) + this.dropItem(ModItems.fusion_core, 1); + if(i == 8) + this.dropItem(ModItems.syringe_metal_stimpak, 1); + if(i == 9) + { + switch(rand.nextInt(4)) + { + case 0: this.dropItem(ModItems.t45_helmet, 1); break; + case 1: this.dropItem(ModItems.t45_plate, 1); break; + case 2: this.dropItem(ModItems.t45_legs, 1); break; + case 3: this.dropItem(ModItems.t45_boots, 1); break; + } + this.dropItem(ModItems.fusion_core, 1); + } + if(i == 10) + this.dropItem(ModItems.gun_fatman_ammo, 1); + } + } + + @Override + public boolean attackEntityAsMob(Entity p_70652_1_) + { + return true; + } + + /** + * Returns true if the creeper is powered by a lightning bolt. + */ + public boolean getPowered() + { + return this.dataWatcher.getWatchableObjectByte(17) == 1; + } + + /** + * Params: (Float)Render tick. Returns the intensity of the creeper's flash when it is ignited. + */ + @SideOnly(Side.CLIENT) + public float getCreeperFlashIntensity(float p_70831_1_) + { + return (this.lastActiveTime + (this.timeSinceIgnited - this.lastActiveTime) * p_70831_1_) / (this.fuseTime - 2); + } + + @Override + protected Item getDropItem() + { + return Item.getItemFromBlock(Blocks.tnt); + } + + /** + * Returns the current state of creeper, -1 is idle, 1 is 'in fuse' + */ + public int getCreeperState() + { + return this.dataWatcher.getWatchableObjectByte(16); + } + + /** + * Sets the state of creeper, -1 to idle and 1 to be 'in fuse' + */ + public void setCreeperState(int p_70829_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)p_70829_1_)); + } + + /** + * Called when a lightning bolt hits the entity. + */ + @Override + public void onStruckByLightning(EntityLightningBolt p_70077_1_) + { + super.onStruckByLightning(p_70077_1_); + this.dataWatcher.updateObject(17, Byte.valueOf((byte)1)); + } + + /** + * Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig. + */ + @Override + protected boolean interact(EntityPlayer p_70085_1_) + { + ItemStack itemstack = p_70085_1_.inventory.getCurrentItem(); + + if (itemstack != null && itemstack.getItem() == Items.flint_and_steel) + { + this.worldObj.playSoundEffect(this.posX + 0.5D, this.posY + 0.5D, this.posZ + 0.5D, "fire.ignite", 1.0F, this.rand.nextFloat() * 0.4F + 0.8F); + p_70085_1_.swingItem(); + + if (!this.worldObj.isRemote) + { + this.func_146079_cb(); + itemstack.damageItem(1, p_70085_1_); + return true; + } + } + + return super.interact(p_70085_1_); + } + + private void func_146077_cc() + { + if (!this.worldObj.isRemote) + { + boolean flag = this.worldObj.getGameRules().getGameRuleBooleanValue("mobGriefing"); + + if (this.getPowered()) + { + //this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, (float)(this.explosionRadius * 2), flag); + this.explosionRadius *= 3; + } + + EntityNukeExplosionAdvanced explosion = new EntityNukeExplosionAdvanced(this.worldObj); + explosion.speed = 25; + explosion.coefficient = 5.0F; + explosion.destructionRange = this.explosionRadius; + explosion.posX = this.posX; + explosion.posY = this.posY; + explosion.posZ = this.posZ; + this.worldObj.spawnEntityInWorld(explosion); + + if(this.getPowered()) + { + EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(this.worldObj, 1000); + entity2.posX = this.posX; + entity2.posY = this.posY - 11; + entity2.posZ = this.posZ; + this.worldObj.spawnEntityInWorld(entity2); + } else { + if(rand.nextInt(100) == 0) + { + ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); + } else { + ExplosionParticle.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); + } + } + + this.setDead(); + } + } + + public boolean func_146078_ca() + { + return this.dataWatcher.getWatchableObjectByte(18) != 0; + } + + public void func_146079_cb() + { + this.dataWatcher.updateObject(18, Byte.valueOf((byte)1)); + } + + public void setPowered(int power) { + this.dataWatcher.updateObject(17, power); + } +} diff --git a/com/hbm/entity/particle/EntityBSmokeFX.java b/com/hbm/entity/particle/EntityBSmokeFX.java index ae080ec16..3c293822a 100644 --- a/com/hbm/entity/particle/EntityBSmokeFX.java +++ b/com/hbm/entity/particle/EntityBSmokeFX.java @@ -1,81 +1,81 @@ -package com.hbm.entity.particle; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.world.World; - -public class EntityBSmokeFX extends EntityModFX -{ - float smokeParticleScale; - public int particleAge; - public int maxAge; - private static final String __OBFID = "CL_00000924"; - - public EntityBSmokeFX(World world) { - super(world, 0, 0, 0); - } - - public EntityBSmokeFX(World p_i1225_1_, double p_i1225_2_, double p_i1225_4_, double p_i1225_6_, double p_i1225_8_, double p_i1225_10_, double p_i1225_12_) - { - this(p_i1225_1_, p_i1225_2_, p_i1225_4_, p_i1225_6_, p_i1225_8_, p_i1225_10_, p_i1225_12_, 1.0F); - } - - public EntityBSmokeFX(World p_i1226_1_, double p_i1226_2_, double p_i1226_4_, double p_i1226_6_, double p_i1226_8_, double p_i1226_10_, double p_i1226_12_, float p_i1226_14_) - { - super(p_i1226_1_, p_i1226_2_, p_i1226_4_, p_i1226_6_, 0.0D, 0.0D, 0.0D); - this.motionX *= 0.10000000149011612D; - this.motionY *= 0.10000000149011612D; - this.motionZ *= 0.10000000149011612D; - this.motionX += p_i1226_8_; - this.motionY += p_i1226_10_; - this.motionZ += p_i1226_12_; - this.particleRed = this.particleGreen = this.particleBlue = (float)(Math.random() * 0.30000001192092896D); - this.particleScale *= 0.75F; - this.particleScale *= p_i1226_14_; - this.smokeParticleScale = this.particleScale; - //this.particleMaxAge = (int)(8.0D / (Math.random() * 0.8D + 0.2D)); - //this.particleMaxAge = (int)((float)this.particleMaxAge * p_i1226_14_); - this.noClip = false; - } - - /** - * Called to update the entity's position/logic. - */ - - @Override - public void onUpdate() - { - this.prevPosX = this.posX; - this.prevPosY = this.posY; - this.prevPosZ = this.posZ; - - if(maxAge < 100) - { - maxAge = rand.nextInt(21) + 65; - } - - this.particleAge++; - - if (this.particleAge >= maxAge) - { - this.setDead(); - } - - this.motionX *= 0.9599999785423279D; - this.motionY *= 0.9599999785423279D; - this.motionZ *= 0.9599999785423279D; - - if (this.onGround) - { - this.motionX *= 0.699999988079071D; - this.motionZ *= 0.699999988079071D; - } - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - return 15728880; - } -} +package com.hbm.entity.particle; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.world.World; + +public class EntityBSmokeFX extends EntityModFX +{ + float smokeParticleScale; + public int particleAge; + public int maxAge; + private static final String __OBFID = "CL_00000924"; + + public EntityBSmokeFX(World world) { + super(world, 0, 0, 0); + } + + public EntityBSmokeFX(World p_i1225_1_, double p_i1225_2_, double p_i1225_4_, double p_i1225_6_, double p_i1225_8_, double p_i1225_10_, double p_i1225_12_) + { + this(p_i1225_1_, p_i1225_2_, p_i1225_4_, p_i1225_6_, p_i1225_8_, p_i1225_10_, p_i1225_12_, 1.0F); + } + + public EntityBSmokeFX(World p_i1226_1_, double p_i1226_2_, double p_i1226_4_, double p_i1226_6_, double p_i1226_8_, double p_i1226_10_, double p_i1226_12_, float p_i1226_14_) + { + super(p_i1226_1_, p_i1226_2_, p_i1226_4_, p_i1226_6_, 0.0D, 0.0D, 0.0D); + this.motionX *= 0.10000000149011612D; + this.motionY *= 0.10000000149011612D; + this.motionZ *= 0.10000000149011612D; + this.motionX += p_i1226_8_; + this.motionY += p_i1226_10_; + this.motionZ += p_i1226_12_; + this.particleRed = this.particleGreen = this.particleBlue = (float)(Math.random() * 0.30000001192092896D); + this.particleScale *= 0.75F; + this.particleScale *= p_i1226_14_; + this.smokeParticleScale = this.particleScale; + //this.particleMaxAge = (int)(8.0D / (Math.random() * 0.8D + 0.2D)); + //this.particleMaxAge = (int)((float)this.particleMaxAge * p_i1226_14_); + this.noClip = false; + } + + /** + * Called to update the entity's position/logic. + */ + + @Override + public void onUpdate() + { + this.prevPosX = this.posX; + this.prevPosY = this.posY; + this.prevPosZ = this.posZ; + + if(maxAge < 100) + { + maxAge = rand.nextInt(21) + 65; + } + + this.particleAge++; + + if (this.particleAge >= maxAge) + { + this.setDead(); + } + + this.motionX *= 0.9599999785423279D; + this.motionY *= 0.9599999785423279D; + this.motionZ *= 0.9599999785423279D; + + if (this.onGround) + { + this.motionX *= 0.699999988079071D; + this.motionZ *= 0.699999988079071D; + } + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } +} diff --git a/com/hbm/entity/particle/EntityDSmokeFX.java b/com/hbm/entity/particle/EntityDSmokeFX.java new file mode 100644 index 000000000..533e11f64 --- /dev/null +++ b/com/hbm/entity/particle/EntityDSmokeFX.java @@ -0,0 +1,81 @@ +package com.hbm.entity.particle; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.util.IIcon; +import net.minecraft.util.ResourceLocation; +import net.minecraft.world.World; + +public class EntityDSmokeFX extends EntityModFX +{ + float smokeParticleScale; + public int particleAge; + public int maxAge; + private static final String __OBFID = "CL_00000924"; + + public EntityDSmokeFX(World world) { + super(world, 0, 0, 0); + } + + public EntityDSmokeFX(World p_i1225_1_, double p_i1225_2_, double p_i1225_4_, double p_i1225_6_, double p_i1225_8_, double p_i1225_10_, double p_i1225_12_) + { + this(p_i1225_1_, p_i1225_2_, p_i1225_4_, p_i1225_6_, p_i1225_8_, p_i1225_10_, p_i1225_12_, 1.0F); + } + + public EntityDSmokeFX(World p_i1226_1_, double p_i1226_2_, double p_i1226_4_, double p_i1226_6_, double p_i1226_8_, double p_i1226_10_, double p_i1226_12_, float p_i1226_14_) + { + super(p_i1226_1_, p_i1226_2_, p_i1226_4_, p_i1226_6_, 0.0D, 0.0D, 0.0D); + this.motionX *= 0.10000000149011612D; + this.motionY *= 0.10000000149011612D; + this.motionZ *= 0.10000000149011612D; + this.motionX += p_i1226_8_; + this.motionY += p_i1226_10_; + this.motionZ += p_i1226_12_; + this.particleRed = this.particleGreen = this.particleBlue = (float)(Math.random() * 0.30000001192092896D); + this.particleScale *= 0.75F; + this.particleScale *= p_i1226_14_; + this.smokeParticleScale = this.particleScale; + //this.particleMaxAge = (int)(8.0D / (Math.random() * 0.8D + 0.2D)); + //this.particleMaxAge = (int)((float)this.particleMaxAge * p_i1226_14_); + this.noClip = false; + } + + /** + * Called to update the entity's position/logic. + */ + + @Override + public void onUpdate() + { + this.prevPosX = this.posX; + this.prevPosY = this.posY; + this.prevPosZ = this.posZ; + + if(maxAge < 100) + { + maxAge = rand.nextInt(21) + 65; + } + + this.particleAge++; + + if (this.particleAge >= maxAge) + { + this.setDead(); + } + + this.motionX *= 0.7599999785423279D; + this.motionY *= 0.7599999785423279D; + this.motionZ *= 0.7599999785423279D; + + if (this.onGround) + { + this.motionX *= 0.699999988079071D; + this.motionZ *= 0.699999988079071D; + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + } +} diff --git a/com/hbm/entity/particle/EntityModFX.java b/com/hbm/entity/particle/EntityModFX.java index 6657fc09b..ca05c0db0 100644 --- a/com/hbm/entity/particle/EntityModFX.java +++ b/com/hbm/entity/particle/EntityModFX.java @@ -1,258 +1,258 @@ -package com.hbm.entity.particle; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.entity.Entity; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; - -public class EntityModFX extends Entity -{ - public int particleTextureIndexX; - public int particleTextureIndexY; - public float particleTextureJitterX; - public float particleTextureJitterY; - public int particleAge; - public int particleMaxAge; - public float particleScale; - public float particleGravity; - /** The red amount of color. Used as a percentage, 1.0 = 255 and 0.0 = 0. */ - public float particleRed; - /** The green amount of color. Used as a percentage, 1.0 = 255 and 0.0 = 0. */ - public float particleGreen; - /** The blue amount of color. Used as a percentage, 1.0 = 255 and 0.0 = 0. */ - public float particleBlue; - /** Particle alpha */ - public float particleAlpha; - /** The icon field from which the given particle pulls its texture. */ - public IIcon particleIcon; - public static double interpPosX; - public static double interpPosY; - public static double interpPosZ; - public static final String __OBFID = "CL_00000914"; - - public EntityModFX(World world) { - super(world); - } - - protected EntityModFX(World p_i1218_1_, double p_i1218_2_, double p_i1218_4_, double p_i1218_6_) - { - super(p_i1218_1_); - this.particleAlpha = 1.0F; - this.setSize(0.2F, 0.2F); - this.yOffset = this.height / 2.0F; - this.setPosition(p_i1218_2_, p_i1218_4_, p_i1218_6_); - this.lastTickPosX = p_i1218_2_; - this.lastTickPosY = p_i1218_4_; - this.lastTickPosZ = p_i1218_6_; - this.particleRed = this.particleGreen = this.particleBlue = 1.0F; - this.particleTextureJitterX = this.rand.nextFloat() * 3.0F; - this.particleTextureJitterY = this.rand.nextFloat() * 3.0F; - this.particleScale = (this.rand.nextFloat() * 0.5F + 0.5F) * 2.0F; - //this.particleMaxAge = (int)(4.0F / (this.rand.nextFloat() * 0.9F + 0.1F)); - this.particleAge = 0; - this.ignoreFrustumCheck = true; - } - - public EntityModFX(World p_i1219_1_, double p_i1219_2_, double p_i1219_4_, double p_i1219_6_, double p_i1219_8_, double p_i1219_10_, double p_i1219_12_) - { - this(p_i1219_1_, p_i1219_2_, p_i1219_4_, p_i1219_6_); - this.motionX = p_i1219_8_ + (double)((float)(Math.random() * 2.0D - 1.0D) * 0.4F); - this.motionY = p_i1219_10_ + (double)((float)(Math.random() * 2.0D - 1.0D) * 0.4F); - this.motionZ = p_i1219_12_ + (double)((float)(Math.random() * 2.0D - 1.0D) * 0.4F); - float f = (float)(Math.random() + Math.random() + 1.0D) * 0.15F; - float f1 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - this.motionX = this.motionX / (double)f1 * (double)f * 0.4000000059604645D; - this.motionY = this.motionY / (double)f1 * (double)f * 0.4000000059604645D + 0.10000000149011612D; - this.motionZ = this.motionZ / (double)f1 * (double)f * 0.4000000059604645D; - } - - public EntityModFX multiplyVelocity(float p_70543_1_) - { - this.motionX *= (double)p_70543_1_; - this.motionY = (this.motionY - 0.10000000149011612D) * (double)p_70543_1_ + 0.10000000149011612D; - this.motionZ *= (double)p_70543_1_; - return this; - } - - public EntityModFX multipleParticleScaleBy(float p_70541_1_) - { - this.setSize(0.2F * p_70541_1_, 0.2F * p_70541_1_); - this.particleScale *= p_70541_1_; - return this; - } - - public void setRBGColorF(float p_70538_1_, float p_70538_2_, float p_70538_3_) - { - this.particleRed = p_70538_1_; - this.particleGreen = p_70538_2_; - this.particleBlue = p_70538_3_; - } - - /** - * Sets the particle alpha (float) - */ - public void setAlphaF(float p_82338_1_) - { - this.particleAlpha = p_82338_1_; - } - - public float getRedColorF() - { - return this.particleRed; - } - - public float getGreenColorF() - { - return this.particleGreen; - } - - public float getBlueColorF() - { - return this.particleBlue; - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to - * prevent them from trampling crops - */ - protected boolean canTriggerWalking() - { - return false; - } - - protected void entityInit() {} - - /** - * Called to update the entity's position/logic. - */ - public void onUpdate() - { - this.prevPosX = this.posX; - this.prevPosY = this.posY; - this.prevPosZ = this.posZ; - - //if (this.particleAge++ >= this.particleMaxAge) - //{ - // this.setDead(); - //} - - this.motionY -= 0.04D * (double)this.particleGravity; - this.moveEntity(this.motionX, this.motionY, this.motionZ); - this.motionX *= 0.9800000190734863D; - this.motionY *= 0.9800000190734863D; - this.motionZ *= 0.9800000190734863D; - - if (this.onGround) - { - this.motionX *= 0.699999988079071D; - this.motionZ *= 0.699999988079071D; - } - } - - public void renderParticle(Tessellator p_70539_1_, float p_70539_2_, float p_70539_3_, float p_70539_4_, float p_70539_5_, float p_70539_6_, float p_70539_7_) - { - float f6 = (float)this.particleTextureIndexX / 16.0F; - float f7 = f6 + 0.0624375F; - float f8 = (float)this.particleTextureIndexY / 16.0F; - float f9 = f8 + 0.0624375F; - float f10 = 0.1F * this.particleScale; - - if (this.particleIcon != null) - { - f6 = this.particleIcon.getMinU(); - f7 = this.particleIcon.getMaxU(); - f8 = this.particleIcon.getMinV(); - f9 = this.particleIcon.getMaxV(); - } - - float f11 = (float)(this.prevPosX + (this.posX - this.prevPosX) * (double)p_70539_2_ - interpPosX); - float f12 = (float)(this.prevPosY + (this.posY - this.prevPosY) * (double)p_70539_2_ - interpPosY); - float f13 = (float)(this.prevPosZ + (this.posZ - this.prevPosZ) * (double)p_70539_2_ - interpPosZ); - p_70539_1_.setColorRGBA_F(this.particleRed, this.particleGreen, this.particleBlue, this.particleAlpha); - p_70539_1_.addVertexWithUV((double)(f11 - p_70539_3_ * f10 - p_70539_6_ * f10), (double)(f12 - p_70539_4_ * f10), (double)(f13 - p_70539_5_ * f10 - p_70539_7_ * f10), (double)f7, (double)f9); - p_70539_1_.addVertexWithUV((double)(f11 - p_70539_3_ * f10 + p_70539_6_ * f10), (double)(f12 + p_70539_4_ * f10), (double)(f13 - p_70539_5_ * f10 + p_70539_7_ * f10), (double)f7, (double)f8); - p_70539_1_.addVertexWithUV((double)(f11 + p_70539_3_ * f10 + p_70539_6_ * f10), (double)(f12 + p_70539_4_ * f10), (double)(f13 + p_70539_5_ * f10 + p_70539_7_ * f10), (double)f6, (double)f8); - p_70539_1_.addVertexWithUV((double)(f11 + p_70539_3_ * f10 - p_70539_6_ * f10), (double)(f12 - p_70539_4_ * f10), (double)(f13 + p_70539_5_ * f10 - p_70539_7_ * f10), (double)f6, (double)f9); - } - - public int getFXLayer() - { - return 0; - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - public void writeEntityToNBT(NBTTagCompound p_70014_1_) { - p_70014_1_.setShort("age", (short)this.particleAge); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - public void readEntityFromNBT(NBTTagCompound p_70037_1_) { - this.particleAge = p_70037_1_.getShort("age"); - } - - public void setParticleIcon(IIcon p_110125_1_) - { - if (this.getFXLayer() == 1) - { - this.particleIcon = p_110125_1_; - } - else - { - if (this.getFXLayer() != 2) - { - throw new RuntimeException("Invalid call to Particle.setTex, use coordinate methods"); - } - - this.particleIcon = p_110125_1_; - } - } - - /** - * Public method to set private field particleTextureIndex. - */ - public void setParticleTextureIndex(int p_70536_1_) - { - if (this.getFXLayer() != 0) - { - throw new RuntimeException("Invalid call to Particle.setMiscTex"); - } - else - { - this.particleTextureIndexX = p_70536_1_ % 16; - this.particleTextureIndexY = p_70536_1_ / 16; - } - } - - public void nextTextureIndexX() - { - ++this.particleTextureIndexX; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - public boolean canAttackWithItem() - { - return false; - } - - public String toString() - { - return this.getClass().getSimpleName() + ", Pos (" + this.posX + "," + this.posY + "," + this.posZ + "), RGBA (" + this.particleRed + "," + this.particleGreen + "," + this.particleBlue + "," + this.particleAlpha + "), Age " + this.particleAge; - } - - @Override - @SideOnly(Side.CLIENT) - public boolean isInRangeToRenderDist(double distance) - { - return distance < 25000; - } -} +package com.hbm.entity.particle; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.entity.Entity; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; + +public class EntityModFX extends Entity +{ + public int particleTextureIndexX; + public int particleTextureIndexY; + public float particleTextureJitterX; + public float particleTextureJitterY; + public int particleAge; + public int particleMaxAge; + public float particleScale; + public float particleGravity; + /** The red amount of color. Used as a percentage, 1.0 = 255 and 0.0 = 0. */ + public float particleRed; + /** The green amount of color. Used as a percentage, 1.0 = 255 and 0.0 = 0. */ + public float particleGreen; + /** The blue amount of color. Used as a percentage, 1.0 = 255 and 0.0 = 0. */ + public float particleBlue; + /** Particle alpha */ + public float particleAlpha; + /** The icon field from which the given particle pulls its texture. */ + public IIcon particleIcon; + public static double interpPosX; + public static double interpPosY; + public static double interpPosZ; + public static final String __OBFID = "CL_00000914"; + + public EntityModFX(World world) { + super(world); + } + + protected EntityModFX(World p_i1218_1_, double p_i1218_2_, double p_i1218_4_, double p_i1218_6_) + { + super(p_i1218_1_); + this.particleAlpha = 1.0F; + this.setSize(0.2F, 0.2F); + this.yOffset = this.height / 2.0F; + this.setPosition(p_i1218_2_, p_i1218_4_, p_i1218_6_); + this.lastTickPosX = p_i1218_2_; + this.lastTickPosY = p_i1218_4_; + this.lastTickPosZ = p_i1218_6_; + this.particleRed = this.particleGreen = this.particleBlue = 1.0F; + this.particleTextureJitterX = this.rand.nextFloat() * 3.0F; + this.particleTextureJitterY = this.rand.nextFloat() * 3.0F; + this.particleScale = (this.rand.nextFloat() * 0.5F + 0.5F) * 2.0F; + //this.particleMaxAge = (int)(4.0F / (this.rand.nextFloat() * 0.9F + 0.1F)); + this.particleAge = 0; + this.ignoreFrustumCheck = true; + } + + public EntityModFX(World p_i1219_1_, double p_i1219_2_, double p_i1219_4_, double p_i1219_6_, double p_i1219_8_, double p_i1219_10_, double p_i1219_12_) + { + this(p_i1219_1_, p_i1219_2_, p_i1219_4_, p_i1219_6_); + this.motionX = p_i1219_8_ + (double)((float)(Math.random() * 2.0D - 1.0D) * 0.4F); + this.motionY = p_i1219_10_ + (double)((float)(Math.random() * 2.0D - 1.0D) * 0.4F); + this.motionZ = p_i1219_12_ + (double)((float)(Math.random() * 2.0D - 1.0D) * 0.4F); + float f = (float)(Math.random() + Math.random() + 1.0D) * 0.15F; + float f1 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + this.motionX = this.motionX / (double)f1 * (double)f * 0.4000000059604645D; + this.motionY = this.motionY / (double)f1 * (double)f * 0.4000000059604645D + 0.10000000149011612D; + this.motionZ = this.motionZ / (double)f1 * (double)f * 0.4000000059604645D; + } + + public EntityModFX multiplyVelocity(float p_70543_1_) + { + this.motionX *= (double)p_70543_1_; + this.motionY = (this.motionY - 0.10000000149011612D) * (double)p_70543_1_ + 0.10000000149011612D; + this.motionZ *= (double)p_70543_1_; + return this; + } + + public EntityModFX multipleParticleScaleBy(float p_70541_1_) + { + this.setSize(0.2F * p_70541_1_, 0.2F * p_70541_1_); + this.particleScale *= p_70541_1_; + return this; + } + + public void setRBGColorF(float p_70538_1_, float p_70538_2_, float p_70538_3_) + { + this.particleRed = p_70538_1_; + this.particleGreen = p_70538_2_; + this.particleBlue = p_70538_3_; + } + + /** + * Sets the particle alpha (float) + */ + public void setAlphaF(float p_82338_1_) + { + this.particleAlpha = p_82338_1_; + } + + public float getRedColorF() + { + return this.particleRed; + } + + public float getGreenColorF() + { + return this.particleGreen; + } + + public float getBlueColorF() + { + return this.particleBlue; + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + protected boolean canTriggerWalking() + { + return false; + } + + protected void entityInit() {} + + /** + * Called to update the entity's position/logic. + */ + public void onUpdate() + { + this.prevPosX = this.posX; + this.prevPosY = this.posY; + this.prevPosZ = this.posZ; + + //if (this.particleAge++ >= this.particleMaxAge) + //{ + // this.setDead(); + //} + + this.motionY -= 0.04D * (double)this.particleGravity; + this.moveEntity(this.motionX, this.motionY, this.motionZ); + this.motionX *= 0.9800000190734863D; + this.motionY *= 0.9800000190734863D; + this.motionZ *= 0.9800000190734863D; + + if (this.onGround) + { + this.motionX *= 0.699999988079071D; + this.motionZ *= 0.699999988079071D; + } + } + + public void renderParticle(Tessellator p_70539_1_, float p_70539_2_, float p_70539_3_, float p_70539_4_, float p_70539_5_, float p_70539_6_, float p_70539_7_) + { + float f6 = (float)this.particleTextureIndexX / 16.0F; + float f7 = f6 + 0.0624375F; + float f8 = (float)this.particleTextureIndexY / 16.0F; + float f9 = f8 + 0.0624375F; + float f10 = 0.1F * this.particleScale; + + if (this.particleIcon != null) + { + f6 = this.particleIcon.getMinU(); + f7 = this.particleIcon.getMaxU(); + f8 = this.particleIcon.getMinV(); + f9 = this.particleIcon.getMaxV(); + } + + float f11 = (float)(this.prevPosX + (this.posX - this.prevPosX) * (double)p_70539_2_ - interpPosX); + float f12 = (float)(this.prevPosY + (this.posY - this.prevPosY) * (double)p_70539_2_ - interpPosY); + float f13 = (float)(this.prevPosZ + (this.posZ - this.prevPosZ) * (double)p_70539_2_ - interpPosZ); + p_70539_1_.setColorRGBA_F(this.particleRed, this.particleGreen, this.particleBlue, this.particleAlpha); + p_70539_1_.addVertexWithUV((double)(f11 - p_70539_3_ * f10 - p_70539_6_ * f10), (double)(f12 - p_70539_4_ * f10), (double)(f13 - p_70539_5_ * f10 - p_70539_7_ * f10), (double)f7, (double)f9); + p_70539_1_.addVertexWithUV((double)(f11 - p_70539_3_ * f10 + p_70539_6_ * f10), (double)(f12 + p_70539_4_ * f10), (double)(f13 - p_70539_5_ * f10 + p_70539_7_ * f10), (double)f7, (double)f8); + p_70539_1_.addVertexWithUV((double)(f11 + p_70539_3_ * f10 + p_70539_6_ * f10), (double)(f12 + p_70539_4_ * f10), (double)(f13 + p_70539_5_ * f10 + p_70539_7_ * f10), (double)f6, (double)f8); + p_70539_1_.addVertexWithUV((double)(f11 + p_70539_3_ * f10 - p_70539_6_ * f10), (double)(f12 - p_70539_4_ * f10), (double)(f13 + p_70539_5_ * f10 - p_70539_7_ * f10), (double)f6, (double)f9); + } + + public int getFXLayer() + { + return 0; + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + public void writeEntityToNBT(NBTTagCompound p_70014_1_) { + p_70014_1_.setShort("age", (short)this.particleAge); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + public void readEntityFromNBT(NBTTagCompound p_70037_1_) { + this.particleAge = p_70037_1_.getShort("age"); + } + + public void setParticleIcon(IIcon p_110125_1_) + { + if (this.getFXLayer() == 1) + { + this.particleIcon = p_110125_1_; + } + else + { + if (this.getFXLayer() != 2) + { + throw new RuntimeException("Invalid call to Particle.setTex, use coordinate methods"); + } + + this.particleIcon = p_110125_1_; + } + } + + /** + * Public method to set private field particleTextureIndex. + */ + public void setParticleTextureIndex(int p_70536_1_) + { + if (this.getFXLayer() != 0) + { + throw new RuntimeException("Invalid call to Particle.setMiscTex"); + } + else + { + this.particleTextureIndexX = p_70536_1_ % 16; + this.particleTextureIndexY = p_70536_1_ / 16; + } + } + + public void nextTextureIndexX() + { + ++this.particleTextureIndexX; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + public boolean canAttackWithItem() + { + return false; + } + + public String toString() + { + return this.getClass().getSimpleName() + ", Pos (" + this.posX + "," + this.posY + "," + this.posZ + "), RGBA (" + this.particleRed + "," + this.particleGreen + "," + this.particleBlue + "," + this.particleAlpha + "), Age " + this.particleAge; + } + + @Override + @SideOnly(Side.CLIENT) + public boolean isInRangeToRenderDist(double distance) + { + return distance < 25000; + } +} diff --git a/com/hbm/entity/particle/EntitySSmokeFX.java b/com/hbm/entity/particle/EntitySSmokeFX.java new file mode 100644 index 000000000..31d66dfdb --- /dev/null +++ b/com/hbm/entity/particle/EntitySSmokeFX.java @@ -0,0 +1,84 @@ +package com.hbm.entity.particle; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.util.IIcon; +import net.minecraft.util.ResourceLocation; +import net.minecraft.world.World; + +public class EntitySSmokeFX extends EntityModFX +{ + float smokeParticleScale; + public int particleAge; + public int maxAge; + private static final String __OBFID = "CL_00000924"; + + public EntitySSmokeFX(World world) { + super(world, 0, 0, 0); + } + + public EntitySSmokeFX(World p_i1225_1_, double p_i1225_2_, double p_i1225_4_, double p_i1225_6_, double p_i1225_8_, double p_i1225_10_, double p_i1225_12_) + { + this(p_i1225_1_, p_i1225_2_, p_i1225_4_, p_i1225_6_, p_i1225_8_, p_i1225_10_, p_i1225_12_, 1.0F); + } + + public EntitySSmokeFX(World p_i1226_1_, double p_i1226_2_, double p_i1226_4_, double p_i1226_6_, double p_i1226_8_, double p_i1226_10_, double p_i1226_12_, float p_i1226_14_) + { + super(p_i1226_1_, p_i1226_2_, p_i1226_4_, p_i1226_6_, 0.0D, 0.0D, 0.0D); + this.motionX *= 0.10000000149011612D; + this.motionY *= 0.10000000149011612D; + this.motionZ *= 0.10000000149011612D; + this.motionX += p_i1226_8_; + this.motionY += p_i1226_10_; + this.motionZ += p_i1226_12_; + this.particleRed = this.particleGreen = this.particleBlue = (float)(Math.random() * 0.30000001192092896D); + this.particleScale *= 0.75F; + this.particleScale *= p_i1226_14_; + this.smokeParticleScale = this.particleScale; + //this.particleMaxAge = (int)(8.0D / (Math.random() * 0.8D + 0.2D)); + //this.particleMaxAge = (int)((float)this.particleMaxAge * p_i1226_14_); + this.noClip = false; + } + + /** + * Called to update the entity's position/logic. + */ + + @Override + public void onUpdate() + { + this.prevPosX = this.posX; + this.prevPosY = this.posY; + this.prevPosZ = this.posZ; + + if(maxAge < 100) + { + maxAge = rand.nextInt(21) + 65; + } + + this.particleAge++; + + if (this.particleAge >= maxAge) + { + this.setDead(); + } + + this.motionX *= 0.9599999785423279D; + this.motionY *= 0.9599999785423279D; + this.motionZ *= 0.9599999785423279D; + + if (this.onGround) + { + this.motionX *= 0.699999988079071D; + this.motionZ *= 0.699999988079071D; + } + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } +} diff --git a/com/hbm/entity/particle/EntitySmokeFX.java b/com/hbm/entity/particle/EntitySmokeFX.java index 64d1a0c4b..74242c127 100644 --- a/com/hbm/entity/particle/EntitySmokeFX.java +++ b/com/hbm/entity/particle/EntitySmokeFX.java @@ -1,84 +1,84 @@ -package com.hbm.entity.particle; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.util.IIcon; -import net.minecraft.util.ResourceLocation; -import net.minecraft.world.World; - -public class EntitySmokeFX extends EntityModFX -{ - float smokeParticleScale; - public int particleAge; - public int maxAge; - private static final String __OBFID = "CL_00000924"; - - public EntitySmokeFX(World world) { - super(world, 0, 0, 0); - } - - public EntitySmokeFX(World p_i1225_1_, double p_i1225_2_, double p_i1225_4_, double p_i1225_6_, double p_i1225_8_, double p_i1225_10_, double p_i1225_12_) - { - this(p_i1225_1_, p_i1225_2_, p_i1225_4_, p_i1225_6_, p_i1225_8_, p_i1225_10_, p_i1225_12_, 1.0F); - } - - public EntitySmokeFX(World p_i1226_1_, double p_i1226_2_, double p_i1226_4_, double p_i1226_6_, double p_i1226_8_, double p_i1226_10_, double p_i1226_12_, float p_i1226_14_) - { - super(p_i1226_1_, p_i1226_2_, p_i1226_4_, p_i1226_6_, 0.0D, 0.0D, 0.0D); - this.motionX *= 0.10000000149011612D; - this.motionY *= 0.10000000149011612D; - this.motionZ *= 0.10000000149011612D; - this.motionX += p_i1226_8_; - this.motionY += p_i1226_10_; - this.motionZ += p_i1226_12_; - this.particleRed = this.particleGreen = this.particleBlue = (float)(Math.random() * 0.30000001192092896D); - this.particleScale *= 0.75F; - this.particleScale *= p_i1226_14_; - this.smokeParticleScale = this.particleScale; - //this.particleMaxAge = (int)(8.0D / (Math.random() * 0.8D + 0.2D)); - //this.particleMaxAge = (int)((float)this.particleMaxAge * p_i1226_14_); - this.noClip = false; - } - - /** - * Called to update the entity's position/logic. - */ - - @Override - public void onUpdate() - { - this.prevPosX = this.posX; - this.prevPosY = this.posY; - this.prevPosZ = this.posZ; - - if(maxAge < 100) - { - maxAge = rand.nextInt(21) + 65; - } - - this.particleAge++; - - if (this.particleAge >= maxAge) - { - this.setDead(); - } - - this.motionX *= 0.9599999785423279D; - this.motionY *= 0.9599999785423279D; - this.motionZ *= 0.9599999785423279D; - - if (this.onGround) - { - this.motionX *= 0.699999988079071D; - this.motionZ *= 0.699999988079071D; - } - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - return 15728880; - } -} +package com.hbm.entity.particle; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.util.IIcon; +import net.minecraft.util.ResourceLocation; +import net.minecraft.world.World; + +public class EntitySmokeFX extends EntityModFX +{ + float smokeParticleScale; + public int particleAge; + public int maxAge; + private static final String __OBFID = "CL_00000924"; + + public EntitySmokeFX(World world) { + super(world, 0, 0, 0); + } + + public EntitySmokeFX(World p_i1225_1_, double p_i1225_2_, double p_i1225_4_, double p_i1225_6_, double p_i1225_8_, double p_i1225_10_, double p_i1225_12_) + { + this(p_i1225_1_, p_i1225_2_, p_i1225_4_, p_i1225_6_, p_i1225_8_, p_i1225_10_, p_i1225_12_, 1.0F); + } + + public EntitySmokeFX(World p_i1226_1_, double p_i1226_2_, double p_i1226_4_, double p_i1226_6_, double p_i1226_8_, double p_i1226_10_, double p_i1226_12_, float p_i1226_14_) + { + super(p_i1226_1_, p_i1226_2_, p_i1226_4_, p_i1226_6_, 0.0D, 0.0D, 0.0D); + this.motionX *= 0.10000000149011612D; + this.motionY *= 0.10000000149011612D; + this.motionZ *= 0.10000000149011612D; + this.motionX += p_i1226_8_; + this.motionY += p_i1226_10_; + this.motionZ += p_i1226_12_; + this.particleRed = this.particleGreen = this.particleBlue = (float)(Math.random() * 0.30000001192092896D); + this.particleScale *= 0.75F; + this.particleScale *= p_i1226_14_; + this.smokeParticleScale = this.particleScale; + //this.particleMaxAge = (int)(8.0D / (Math.random() * 0.8D + 0.2D)); + //this.particleMaxAge = (int)((float)this.particleMaxAge * p_i1226_14_); + this.noClip = false; + } + + /** + * Called to update the entity's position/logic. + */ + + @Override + public void onUpdate() + { + this.prevPosX = this.posX; + this.prevPosY = this.posY; + this.prevPosZ = this.posZ; + + if(maxAge < 100) + { + maxAge = rand.nextInt(21) + 65; + } + + this.particleAge++; + + if (this.particleAge >= maxAge) + { + this.setDead(); + } + + this.motionX *= 0.9599999785423279D; + this.motionY *= 0.9599999785423279D; + this.motionZ *= 0.9599999785423279D; + + if (this.onGround) + { + this.motionX *= 0.699999988079071D; + this.motionZ *= 0.699999988079071D; + } + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } +} diff --git a/com/hbm/entity/projectile/EntityBaleflare.java b/com/hbm/entity/projectile/EntityBaleflare.java index d059580dc..982579d62 100644 --- a/com/hbm/entity/projectile/EntityBaleflare.java +++ b/com/hbm/entity/projectile/EntityBaleflare.java @@ -1,578 +1,578 @@ -package com.hbm.entity.projectile; - -import java.util.List; - -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.explosion.ExplosionParticle; -import com.hbm.explosion.ExplosionParticleB; -import com.hbm.items.ModItems; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.monster.EntityEnderman; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.network.play.server.S2BPacketChangeGameState; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class EntityBaleflare extends Entity implements IProjectile { - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - public double gravity = 0.0D; - private Block field_145790_g; - private int inData; - private boolean inGround; - /** 1 if the player can pick up the arrow */ - public int canBePickedUp; - /** Seems to be some sort of timer for animating an arrow. */ - public int arrowShake; - /** The owner of this arrow. */ - public Entity shootingEntity; - private int ticksInGround; - private int ticksInAir; - private double damage = 2.0D; - /** The amount of knockback an arrow applies when it hits a mob. */ - private int knockbackStrength; - private static final String __OBFID = "CL_00001715"; - - public EntityBaleflare(World p_i1753_1_) - { - super(p_i1753_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - } - - public EntityBaleflare(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) - { - super(p_i1754_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); - this.yOffset = 0.0F; - } - - public EntityBaleflare(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) - { - super(p_i1755_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1755_2_; - - if (p_i1755_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; - double d0 = p_i1755_3_.posX - p_i1755_2_.posX; - double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; - double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; - double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); - - if (d3 >= 1.0E-7D) - { - float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; - float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); - double d4 = d0 / d3; - double d5 = d2 / d3; - this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); - this.yOffset = 0.0F; - float f4 = (float)d3 * 0.2F; - this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); - } - } - - public EntityBaleflare(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) - { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - if (p_i1756_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - } - - public EntityBaleflare(World world, int x, int y, int z, double mx, double my, double mz, double grav) { - super(world); - this.posX = x + 0.5F; - this.posY = y + 0.5F; - this.posZ = z + 0.5F; - - this.motionX = mx; - this.motionY = my; - this.motionZ = mz; - - this.gravity = grav; - } - - @Override - protected void entityInit() { - this.dataWatcher.addObject(16, Byte.valueOf((byte) 0)); - } - - /** - * Similar to setArrowHeading, it's point the throwable entity to a x, y, z - * direction. - */ - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, - float p_70186_8_) { - float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); - p_70186_1_ /= f2; - p_70186_3_ /= f2; - p_70186_5_ /= f2; - p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D - * p_70186_8_; - p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D - * p_70186_8_; - p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D - * p_70186_8_; - p_70186_1_ *= p_70186_7_; - p_70186_3_ *= p_70186_7_; - p_70186_5_ *= p_70186_7_; - this.motionX = p_70186_1_; - this.motionY = p_70186_3_; - this.motionZ = p_70186_5_; - float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); - this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); - this.ticksInGround = 0; - } - - /** - * Sets the position and rotation. Only difference from the other one is no - * bounding on the rotation. Args: posX, posY, posZ, yaw, pitch - */ - @Override - @SideOnly(Side.CLIENT) - public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, - float p_70056_8_, int p_70056_9_) { - this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); - this.setRotation(p_70056_7_, p_70056_8_); - } - - /** - * Sets the velocity to the args. Args: x, y, z - */ - @Override - @SideOnly(Side.CLIENT) - public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) { - this.motionX = p_70016_1_; - this.motionY = p_70016_3_; - this.motionZ = p_70016_5_; - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) { - float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); - this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch; - this.prevRotationYaw = this.rotationYaw; - this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - this.ticksInGround = 0; - } - } - - /** - * Called to update the entity's position/logic. - */ - public void onUpdate() - { - super.onUpdate(); - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); - } - - Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block.getMaterial() != Material.air) - { - block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) - { - this.inGround = true; - } - } - - if (this.arrowShake > 0) - { - --this.arrowShake; - } - - if (this.inGround) - { - int j = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block == this.field_145790_g && j == this.inData) - { - ++this.ticksInGround; - - if (this.ticksInGround == 300) - { - if (!this.worldObj.isRemote) - { - EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(this.worldObj); - entity0.posX = this.posX; - entity0.posY = this.posY; - entity0.posZ = this.posZ; - entity0.destructionRange = MainRegistry.fatmanRadius; - entity0.speed = 25; - entity0.coefficient = 10.0F; - - this.worldObj.spawnEntityInWorld(entity0); - - ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); - } - this.setDead(); - } - } - else - { - this.inGround = false; - this.motionX *= (double)(this.rand.nextFloat() * 0.2F); - this.motionY *= (double)(this.rand.nextFloat() * 0.2F); - this.motionZ *= (double)(this.rand.nextFloat() * 0.2F); - this.ticksInGround = 0; - this.ticksInAir = 0; - } - } - else - { - ++this.ticksInAir; - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - - if (movingobjectposition != null) - { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) - { - Entity entity1 = (Entity)list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) - { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand((double)f1, (double)f1, (double)f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) - { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) - { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) - { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) - { - EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; - - if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) - { - movingobjectposition = null; - } - } - - float f2; - float f4; - - if (movingobjectposition != null) - { - if (movingobjectposition.entityHit != null) - { - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - int k = MathHelper.ceiling_double_int((double)f2 * this.damage); - - if (this.getIsCritical()) - { - k += this.rand.nextInt(k / 2 + 2); - } - - DamageSource damagesource = null; - - if (this.shootingEntity == null) - { - damagesource = DamageSource.generic; - } - else - { - damagesource = DamageSource.generic; - } - - if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) - { - movingobjectposition.entityHit.setFire(5); - } - - if (movingobjectposition.entityHit.attackEntityFrom(damagesource, (float)k)) - { - if (movingobjectposition.entityHit instanceof EntityLivingBase) - { - EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; - - if (this.knockbackStrength > 0) - { - f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - - if (f4 > 0.0F) - { - movingobjectposition.entityHit.addVelocity(this.motionX * (double)this.knockbackStrength * 0.6000000238418579D / (double)f4, 0.1D, this.motionZ * (double)this.knockbackStrength * 0.6000000238418579D / (double)f4); - } - } - - if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) - { - EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); - EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); - } - - if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) - { - ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); - } - } - } - } - else - { - this.field_145791_d = movingobjectposition.blockX; - this.field_145792_e = movingobjectposition.blockY; - this.field_145789_f = movingobjectposition.blockZ; - this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.motionX = (double)((float)(movingobjectposition.hitVec.xCoord - this.posX)); - this.motionY = (double)((float)(movingobjectposition.hitVec.yCoord - this.posY)); - this.motionZ = (double)((float)(movingobjectposition.hitVec.zCoord - this.posZ)); - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - this.posX -= this.motionX / (double)f2 * 0.05000000074505806D; - this.posY -= this.motionY / (double)f2 * 0.05000000074505806D; - this.posZ -= this.motionZ / (double)f2 * 0.05000000074505806D; - this.playSound("random.bowhit", 1.0F, 1.2F / (this.rand.nextFloat() * 0.2F + 0.9F)); - this.inGround = true; - this.arrowShake = 7; - this.setIsCritical(false); - - if (this.field_145790_g.getMaterial() != Material.air) - { - this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); - } - } - } - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - for (this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f2) * 180.0D / Math.PI); this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) - { - ; - } - - while (this.rotationPitch - this.prevRotationPitch >= 180.0F) - { - this.prevRotationPitch += 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw < -180.0F) - { - this.prevRotationYaw -= 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw >= 180.0F) - { - this.prevRotationYaw += 360.0F; - } - - this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - this.prevRotationPitch) * 0.2F; - this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - this.prevRotationYaw) * 0.2F; - float f3 = 0.99F; - f1 = 0.05F; - - if (this.isInWater()) - { - for (int l = 0; l < 4; ++l) - { - f4 = 0.25F; - this.worldObj.spawnParticle("bubble", this.posX - this.motionX * (double)f4, this.posY - this.motionY * (double)f4, this.posZ - this.motionZ * (double)f4, this.motionX, this.motionY, this.motionZ); - } - - f3 = 0.8F; - } - - if (this.isWet()) - { - this.extinguish(); - } - - // - f1 *= 0.25F; - // - this.motionX *= (double)f3; - this.motionY *= (double)f3; - this.motionZ *= (double)f3; - this.motionY -= (double)f1; - this.setPosition(this.posX, this.posY, this.posZ); - this.func_145775_I(); - } - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) { - p_70014_1_.setShort("xTile", (short) this.field_145791_d); - p_70014_1_.setShort("yTile", (short) this.field_145792_e); - p_70014_1_.setShort("zTile", (short) this.field_145789_f); - p_70014_1_.setShort("life", (short) this.ticksInGround); - p_70014_1_.setByte("inTile", (byte) Block.getIdFromBlock(this.field_145790_g)); - p_70014_1_.setByte("inData", (byte) this.inData); - p_70014_1_.setByte("shake", (byte) this.arrowShake); - p_70014_1_.setByte("inGround", (byte) (this.inGround ? 1 : 0)); - p_70014_1_.setByte("pickup", (byte) this.canBePickedUp); - p_70014_1_.setDouble("damage", this.damage); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) { - this.field_145791_d = p_70037_1_.getShort("xTile"); - this.field_145792_e = p_70037_1_.getShort("yTile"); - this.field_145789_f = p_70037_1_.getShort("zTile"); - this.ticksInGround = p_70037_1_.getShort("life"); - this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); - this.inData = p_70037_1_.getByte("inData") & 255; - this.arrowShake = p_70037_1_.getByte("shake") & 255; - this.inGround = p_70037_1_.getByte("inGround") == 1; - - if (p_70037_1_.hasKey("damage", 99)) { - this.damage = p_70037_1_.getDouble("damage"); - } - - if (p_70037_1_.hasKey("pickup", 99)) { - this.canBePickedUp = p_70037_1_.getByte("pickup"); - } else if (p_70037_1_.hasKey("player", 99)) { - this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; - } - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they - * walk on. used for spiders and wolves to prevent them from trampling crops - */ - @Override - protected boolean canTriggerWalking() { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public float getShadowSize() { - return 0.0F; - } - - public void setDamage(double p_70239_1_) { - this.damage = p_70239_1_; - } - - public double getDamage() { - return this.damage; - } - - /** - * Sets the amount of knockback the arrow applies when it hits a mob. - */ - public void setKnockbackStrength(int p_70240_1_) { - this.knockbackStrength = p_70240_1_; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - @Override - public boolean canAttackWithItem() { - return false; - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind - * it. - */ - public void setIsCritical(boolean p_70243_1_) { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - - if (p_70243_1_) { - this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 | 1))); - } else { - this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 & -2))); - } - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind - * it. - */ - public boolean getIsCritical() { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - return (b0 & 1) != 0; - } -} +package com.hbm.entity.projectile; + +import java.util.List; + +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionParticle; +import com.hbm.explosion.ExplosionParticleB; +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityBaleflare extends Entity implements IProjectile { + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + public EntityBaleflare(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityBaleflare(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityBaleflare(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityBaleflare(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityBaleflare(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() { + this.dataWatcher.addObject(16, Byte.valueOf((byte) 0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z + * direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, + float p_70186_8_) { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D + * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D + * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D + * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no + * bounding on the rotation. Args: posX, posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, + float p_70056_8_, int p_70056_9_) { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + public void onUpdate() + { + super.onUpdate(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) + { + this.inGround = true; + } + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + + if (this.inGround) + { + int j = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block == this.field_145790_g && j == this.inData) + { + ++this.ticksInGround; + + if (this.ticksInGround == 300) + { + if (!this.worldObj.isRemote) + { + EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(this.worldObj); + entity0.posX = this.posX; + entity0.posY = this.posY; + entity0.posZ = this.posZ; + entity0.destructionRange = MainRegistry.fatmanRadius; + entity0.speed = 25; + entity0.coefficient = 10.0F; + + this.worldObj.spawnEntityInWorld(entity0); + + ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); + } + this.setDead(); + } + } + else + { + this.inGround = false; + this.motionX *= (double)(this.rand.nextFloat() * 0.2F); + this.motionY *= (double)(this.rand.nextFloat() * 0.2F); + this.motionZ *= (double)(this.rand.nextFloat() * 0.2F); + this.ticksInGround = 0; + this.ticksInAir = 0; + } + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand((double)f1, (double)f1, (double)f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int((double)f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.generic; + } + else + { + damagesource = DamageSource.generic; + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, (float)k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * (double)this.knockbackStrength * 0.6000000238418579D / (double)f4, 0.1D, this.motionZ * (double)this.knockbackStrength * 0.6000000238418579D / (double)f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.motionX = (double)((float)(movingobjectposition.hitVec.xCoord - this.posX)); + this.motionY = (double)((float)(movingobjectposition.hitVec.yCoord - this.posY)); + this.motionZ = (double)((float)(movingobjectposition.hitVec.zCoord - this.posZ)); + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + this.posX -= this.motionX / (double)f2 * 0.05000000074505806D; + this.posY -= this.motionY / (double)f2 * 0.05000000074505806D; + this.posZ -= this.motionZ / (double)f2 * 0.05000000074505806D; + this.playSound("random.bowhit", 1.0F, 1.2F / (this.rand.nextFloat() * 0.2F + 0.9F)); + this.inGround = true; + this.arrowShake = 7; + this.setIsCritical(false); + + if (this.field_145790_g.getMaterial() != Material.air) + { + this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); + } + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + for (this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f2) * 180.0D / Math.PI); this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) + { + ; + } + + while (this.rotationPitch - this.prevRotationPitch >= 180.0F) + { + this.prevRotationPitch += 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw < -180.0F) + { + this.prevRotationYaw -= 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw >= 180.0F) + { + this.prevRotationYaw += 360.0F; + } + + this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - this.prevRotationPitch) * 0.2F; + this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - this.prevRotationYaw) * 0.2F; + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + for (int l = 0; l < 4; ++l) + { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * (double)f4, this.posY - this.motionY * (double)f4, this.posZ - this.motionZ * (double)f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) + { + this.extinguish(); + } + + // + f1 *= 0.25F; + // + this.motionX *= (double)f3; + this.motionY *= (double)f3; + this.motionZ *= (double)f3; + this.motionY -= (double)f1; + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) { + p_70014_1_.setShort("xTile", (short) this.field_145791_d); + p_70014_1_.setShort("yTile", (short) this.field_145792_e); + p_70014_1_.setShort("zTile", (short) this.field_145789_f); + p_70014_1_.setShort("life", (short) this.ticksInGround); + p_70014_1_.setByte("inTile", (byte) Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte) this.inData); + p_70014_1_.setByte("shake", (byte) this.arrowShake); + p_70014_1_.setByte("inGround", (byte) (this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte) this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } else if (p_70037_1_.hasKey("player", 99)) { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they + * walk on. used for spiders and wolves to prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() { + return 0.0F; + } + + public void setDamage(double p_70239_1_) { + this.damage = p_70239_1_; + } + + public double getDamage() { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind + * it. + */ + public void setIsCritical(boolean p_70243_1_) { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) { + this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 | 1))); + } else { + this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind + * it. + */ + public boolean getIsCritical() { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } +} diff --git a/com/hbm/entity/projectile/EntityBullet.java b/com/hbm/entity/projectile/EntityBullet.java index 3ef382651..48b82b030 100644 --- a/com/hbm/entity/projectile/EntityBullet.java +++ b/com/hbm/entity/projectile/EntityBullet.java @@ -1,789 +1,838 @@ -package com.hbm.entity.projectile; - -import java.util.List; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.item.EntityItemFrame; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.monster.EntityEnderman; -import net.minecraft.entity.monster.EntityZombie; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.passive.EntityVillager; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.network.play.server.S2BPacketChangeGameState; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -import com.hbm.blocks.DecoBlockAlt; -import com.hbm.blocks.ModBlocks; -import com.hbm.blocks.RedBarrel; -import com.hbm.entity.grenade.EntityGrenadeTau; -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -public class EntityBullet extends Entity implements IProjectile { - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - public double gravity = 0.0D; - private Block field_145790_g; - private int inData; - private boolean inGround; - /** 1 if the player can pick up the arrow */ - public int canBePickedUp; - /** Seems to be some sort of timer for animating an arrow. */ - public int arrowShake; - /** The owner of this arrow. */ - public Entity shootingEntity; - private int ticksInGround; - private int ticksInAir; - public double damage; - /** The amount of knockback an arrow applies when it hits a mob. */ - private int knockbackStrength; - private static final String __OBFID = "CL_00001715"; - private int dmgMin = 0; - private int dmgMax = 1; - private boolean isTau = false; - private boolean instakill = false; - private boolean rad = false; - - public EntityBullet(World p_i1753_1_) { - super(p_i1753_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - } - - public EntityBullet(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) { - super(p_i1754_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); - this.yOffset = 0.0F; - } - - public EntityBullet(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, - float p_i1755_5_) { - super(p_i1755_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1755_2_; - - if (p_i1755_2_ instanceof EntityPlayer) { - this.canBePickedUp = 1; - } - - this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; - double d0 = p_i1755_3_.posX - p_i1755_2_.posX; - double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; - double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; - double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); - - if (d3 >= 1.0E-7D) { - float f2 = (float) (Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; - float f3 = (float) (-(Math.atan2(d1, d3) * 180.0D / Math.PI)); - double d4 = d0 / d3; - double d5 = d2 / d3; - this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); - this.yOffset = 0.0F; - float f4 = (float) d3 * 0.2F; - this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); - } - } - - public EntityBullet(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, - boolean instakill, boolean rad) { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - if (p_i1756_2_ instanceof EntityPlayer) { - this.canBePickedUp = 1; - } - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, - p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) - * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) - * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - - // this.dmgMin = dmgMin; - // this.dmgMax = dmgMax; - this.instakill = instakill; - this.rad = rad; - } - - public EntityBullet(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, - boolean instakill, String isTau) { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - if (p_i1756_2_ instanceof EntityPlayer) { - this.canBePickedUp = 1; - } - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, - p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) - * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) - * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - this.setTau(isTau == "tauDay"); - this.setChopper(isTau == "chopper"); - this.setIsCritical(isTau != "chopper"); - } - - public EntityBullet(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, - boolean instakill, String isTau, EntityGrenadeTau grenade) { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(grenade.posX, grenade.posY + grenade.getEyeHeight(), grenade.posZ, - grenade.rotationYaw, grenade.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) - * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) - * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - this.setTau(isTau == "tauDay"); - this.setIsCritical(true); - } - - public EntityBullet(World world, int x, int y, int z, double mx, double my, double mz, double grav) { - super(world); - this.posX = x + 0.5F; - this.posY = y + 0.5F; - this.posZ = z + 0.5F; - - this.motionX = mx; - this.motionY = my; - this.motionZ = mz; - - this.gravity = grav; - } - - @Override - protected void entityInit() { - this.dataWatcher.addObject(16, Byte.valueOf((byte) 0)); - this.dataWatcher.addObject(17, Byte.valueOf((byte) 0)); - this.dataWatcher.addObject(18, Byte.valueOf((byte) 0)); - } - - /** - * Similar to setArrowHeading, it's point the throwable entity to a x, y, z - * direction. - */ - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, - float p_70186_8_) { - float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); - p_70186_1_ /= f2; - p_70186_3_ /= f2; - p_70186_5_ /= f2; - p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D - * p_70186_8_; - p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D - * p_70186_8_; - p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D - * p_70186_8_; - p_70186_1_ *= p_70186_7_; - p_70186_3_ *= p_70186_7_; - p_70186_5_ *= p_70186_7_; - this.motionX = p_70186_1_; - this.motionY = p_70186_3_; - this.motionZ = p_70186_5_; - float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); - this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); - this.ticksInGround = 0; - } - - /** - * Sets the position and rotation. Only difference from the other one is no - * bounding on the rotation. Args: posX, posY, posZ, yaw, pitch - */ - @Override - @SideOnly(Side.CLIENT) - public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, - float p_70056_8_, int p_70056_9_) { - this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); - this.setRotation(p_70056_7_, p_70056_8_); - } - - /** - * Sets the velocity to the args. Args: x, y, z - */ - @Override - @SideOnly(Side.CLIENT) - public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) { - this.motionX = p_70016_1_; - this.motionY = p_70016_3_; - this.motionZ = p_70016_5_; - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) { - float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); - this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch; - this.prevRotationYaw = this.rotationYaw; - this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - this.ticksInGround = 0; - } - } - - /** - * Called to update the entity's position/logic. - */ - @Override - public void onUpdate() { - super.onUpdate(); - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) { - float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D - / Math.PI); - // this.prevRotationPitch = this.rotationPitch = - // (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); - } - - Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block.getMaterial() != Material.air) { - block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, - this.field_145789_f); - AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, - this.field_145792_e, this.field_145789_f); - - if (axisalignedbb != null - && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ)) - && !this.getIsCritical()) { - this.inGround = true; - } - - if (block == ModBlocks.red_barrel) { - ((RedBarrel) block).explode(worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - } - - if (block == Blocks.glass || block == Blocks.stained_glass || block == Blocks.glass_pane - || block == Blocks.stained_glass_pane) { - this.worldObj.setBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f, Blocks.air); - this.worldObj.playSound(this.field_145791_d, this.field_145792_e, this.field_145789_f, "dig.glass", - 1.0F, 1.0F, true); - } - } - - if (this.arrowShake > 0) { - --this.arrowShake; - } - - if (this.inGround && !this.getIsCritical()) { - this.setDead(); - } else { - ++this.ticksInAir; - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, - this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, - this.posZ + this.motionZ); - - if (movingobjectposition != null) { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, - movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, - this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) { - Entity entity1 = (Entity) list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null - && movingobjectposition.entityHit instanceof EntityPlayer) { - EntityPlayer entityplayer = (EntityPlayer) movingobjectposition.entityHit; - - if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer - && !((EntityPlayer) this.shootingEntity).canAttackPlayer(entityplayer)) { - movingobjectposition = null; - } - } - - float f2; - float f4; - - if (movingobjectposition != null) { - if (movingobjectposition.entityHit != null) { - //TODO: Remove test feature in retail version - if (!(movingobjectposition.entityHit instanceof EntityItemFrame) - || movingobjectposition.entityHit instanceof EntityItemFrame - && (((EntityItemFrame) movingobjectposition.entityHit).getDisplayedItem() == null - || ((EntityItemFrame) movingobjectposition.entityHit) - .getDisplayedItem() != null - && ((EntityItemFrame) movingobjectposition.entityHit) - .getDisplayedItem().getItem() != ModItems.flame_pony)) { - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY - + this.motionZ * this.motionZ); - int k = MathHelper.ceiling_double_int(f2 * this.damage); - - if (this.getIsCritical()) { - k += this.rand.nextInt(k / 2 + 2); - } - - DamageSource damagesource = null; - - //L: Crit - //R: Chop - //X: NOT - //O: Direct - - // X X Bullet - // \ | - // O-X Tau - // | / - // X-O Displacer - - if (!this.getIsCritical() && !this.getIsChopper()) { - if (this.shootingEntity == null) { - damagesource = ModDamageSource.causeBulletDamage(this, this); - } else { - damagesource = ModDamageSource.causeBulletDamage(this, shootingEntity); - } - } else if(!this.getIsChopper()) { - if (this.shootingEntity == null) { - damagesource = ModDamageSource.causeTauDamage(this, this); - } else { - damagesource = ModDamageSource.causeTauDamage(this, shootingEntity); - } - } else if(!this.getIsCritical()) { - if (this.shootingEntity == null) { - damagesource = ModDamageSource.causeDisplacementDamage(this, this); - } else { - damagesource = ModDamageSource.causeDisplacementDamage(this, shootingEntity); - } - } - - if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) { - movingobjectposition.entityHit.setFire(5); - } - - if (movingobjectposition.entityHit.attackEntityFrom(damagesource, (float) damage)) { - if (movingobjectposition.entityHit instanceof EntityLivingBase) { - EntityLivingBase entitylivingbase = (EntityLivingBase) movingobjectposition.entityHit; - - if (rad) { - if (entitylivingbase instanceof EntityPlayer - && Library.checkForHazmat((EntityPlayer) entitylivingbase)) { - } else if (entitylivingbase instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(this.worldObj); - creep.setLocationAndAngles(entitylivingbase.posX, entitylivingbase.posY, entitylivingbase.posZ, - entitylivingbase.rotationYaw, entitylivingbase.rotationPitch); - if (!entitylivingbase.isDead) - if (!worldObj.isRemote) - worldObj.spawnEntityInWorld(creep); - entitylivingbase.setDead(); - } else if (entitylivingbase instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(this.worldObj); - creep.setLocationAndAngles(entitylivingbase.posX, entitylivingbase.posY, entitylivingbase.posZ, - entitylivingbase.rotationYaw, entitylivingbase.rotationPitch); - entitylivingbase.setDead(); - if (!this.worldObj.isRemote) - this.worldObj.spawnEntityInWorld(creep); - } else if (entitylivingbase instanceof EntityLivingBase - && !(entitylivingbase instanceof EntityNuclearCreeper) - && !(entitylivingbase instanceof EntityMooshroom) - && !(entitylivingbase instanceof EntityZombie)) { - entitylivingbase.addPotionEffect(new PotionEffect(Potion.poison.getId(), 2 * 60 * 20, 2)); - entitylivingbase.addPotionEffect(new PotionEffect(Potion.wither.getId(), 20, 4)); - entitylivingbase.addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 1 * 60 * 20, 1)); - } - } - - if (this.knockbackStrength > 0) { - f4 = MathHelper - .sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - - if (f4 > 0.0F) { - movingobjectposition.entityHit.addVelocity( - this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, - this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); - } - } - - if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) { - EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); - EnchantmentHelper.func_151385_b((EntityLivingBase) this.shootingEntity, - entitylivingbase); - } - - if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity - && movingobjectposition.entityHit instanceof EntityPlayer - && this.shootingEntity instanceof EntityPlayerMP) { - ((EntityPlayerMP) this.shootingEntity).playerNetServerHandler - .sendPacket(new S2BPacketChangeGameState(6, 0.0F)); - } - } - - if (!(movingobjectposition.entityHit instanceof EntityEnderman)) { - if (!this.worldObj.isRemote) { - if (!instakill || movingobjectposition.entityHit instanceof EntityPlayer) { - // movingobjectposition.entityHit.attackEntityFrom(DamageSource.generic, - // dmgMin + rand.nextInt(dmgMax - - // dmgMin)); - } else if (movingobjectposition.entityHit instanceof EntityLivingBase) { - ((EntityLivingBase) movingobjectposition.entityHit).setHealth(0.0F); - } - } - if (!this.getIsCritical()) - //this.setDead(); - ; - } - } else if (!this.getIsCritical()) { - /*this.motionX *= -0.10000000149011612D; - this.motionY *= -0.10000000149011612D; - this.motionZ *= -0.10000000149011612D; - this.rotationYaw += 180.0F; - this.prevRotationYaw += 180.0F; - this.ticksInAir = 0;*/ - //this.setDead(); - } - } - } else if (!this.getIsCritical()) { - this.field_145791_d = movingobjectposition.blockX; - this.field_145792_e = movingobjectposition.blockY; - this.field_145789_f = movingobjectposition.blockZ; - this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, - this.field_145789_f); - this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, - this.field_145789_f); - this.motionX = ((float) (movingobjectposition.hitVec.xCoord - this.posX)); - this.motionY = ((float) (movingobjectposition.hitVec.yCoord - this.posY)); - this.motionZ = ((float) (movingobjectposition.hitVec.zCoord - this.posZ)); - f2 = MathHelper.sqrt_double( - this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - this.posX -= this.motionX / f2 * 0.05000000074505806D; - this.posY -= this.motionY / f2 * 0.05000000074505806D; - this.posZ -= this.motionZ / f2 * 0.05000000074505806D; - this.inGround = true; - this.arrowShake = 7; - - if (this.field_145790_g.getMaterial() != Material.air) { - this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, - this.field_145792_e, this.field_145789_f, this); - } - } - } - - if (this.getIsCritical()) { - for (i = 0; i < 8; ++i) { - if (!this.getIsTau()) - this.worldObj.spawnParticle("fireworksSpark", this.posX + this.motionX * (double) i / 8.0D, - this.posY + this.motionY * (double) i / 8.0D, - this.posZ + this.motionZ * (double) i / 8.0D, 0, 0, - 0/*-this.motionX, -this.motionY + 0.2D, -this.motionZ*/); - else - this.worldObj.spawnParticle("reddust", this.posX + this.motionX * (double) i / 8.0D, - this.posY + this.motionY * (double) i / 8.0D, - this.posZ + this.motionZ * (double) i / 8.0D, 0, 0, - 0/*-this.motionX, -this.motionY + 0.2D, -this.motionZ*/); - } - } - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - // for (this.rotationPitch = (float)(Math.atan2(this.motionY, - // (double)f2) * 180.0D / Math.PI); this.rotationPitch - - // this.prevRotationPitch < -180.0F; this.prevRotationPitch -= - // 360.0F) - { - ; - } - - /* - * while (this.rotationPitch - this.prevRotationPitch >= 180.0F) { - * this.prevRotationPitch += 360.0F; } - * - * while (this.rotationYaw - this.prevRotationYaw < -180.0F) { - * this.prevRotationYaw -= 360.0F; } - * - * while (this.rotationYaw - this.prevRotationYaw >= 180.0F) { - * this.prevRotationYaw += 360.0F; } - */ - - // this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - // - this.prevRotationPitch) * 0.2F; - // this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - - // this.prevRotationYaw) * 0.2F; - float f3 = 0.99F; - f1 = 0.05F; - - if (this.isInWater()) { - for (int l = 0; l < 4; ++l) { - f4 = 0.25F; - this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, - this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); - } - - f3 = 0.8F; - } - - if (this.isWet()) { - this.extinguish(); - } - - this.motionX *= f3; - this.motionY *= f3; - this.motionZ *= f3; - this.motionY -= gravity; - this.setPosition(this.posX, this.posY, this.posZ); - this.func_145775_I(); - } - - if (this.ticksExisted > 250) - this.setDead(); - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) { - p_70014_1_.setShort("xTile", (short) this.field_145791_d); - p_70014_1_.setShort("yTile", (short) this.field_145792_e); - p_70014_1_.setShort("zTile", (short) this.field_145789_f); - p_70014_1_.setShort("life", (short) this.ticksInGround); - p_70014_1_.setByte("inTile", (byte) Block.getIdFromBlock(this.field_145790_g)); - p_70014_1_.setByte("inData", (byte) this.inData); - p_70014_1_.setByte("shake", (byte) this.arrowShake); - p_70014_1_.setByte("inGround", (byte) (this.inGround ? 1 : 0)); - p_70014_1_.setByte("pickup", (byte) this.canBePickedUp); - p_70014_1_.setDouble("damage", this.damage); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) { - this.field_145791_d = p_70037_1_.getShort("xTile"); - this.field_145792_e = p_70037_1_.getShort("yTile"); - this.field_145789_f = p_70037_1_.getShort("zTile"); - this.ticksInGround = p_70037_1_.getShort("life"); - this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); - this.inData = p_70037_1_.getByte("inData") & 255; - this.arrowShake = p_70037_1_.getByte("shake") & 255; - this.inGround = p_70037_1_.getByte("inGround") == 1; - - if (p_70037_1_.hasKey("damage", 99)) { - this.damage = p_70037_1_.getDouble("damage"); - } - - if (p_70037_1_.hasKey("pickup", 99)) { - this.canBePickedUp = p_70037_1_.getByte("pickup"); - } else if (p_70037_1_.hasKey("player", 99)) { - this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; - } - } - - /** - * Called by a player entity when they collide with an entity - */ - @Override - public void onCollideWithPlayer(EntityPlayer p_70100_1_) { - if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) { - boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; - - if (this.canBePickedUp == 1 - && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) { - flag = false; - } - - if (flag) { - p_70100_1_.onItemPickup(this, 1); - this.setDead(); - } - } - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they - * walk on. used for spiders and wolves to prevent them from trampling crops - */ - @Override - protected boolean canTriggerWalking() { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public float getShadowSize() { - return 0.0F; - } - - public void setDamage(double p_70239_1_) { - this.damage = p_70239_1_; - } - - public double getDamage() { - return this.damage; - } - - /** - * Sets the amount of knockback the arrow applies when it hits a mob. - */ - public void setKnockbackStrength(int p_70240_1_) { - this.knockbackStrength = p_70240_1_; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - @Override - public boolean canAttackWithItem() { - return false; - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind - * it. - */ - public void setIsCritical(boolean p_70243_1_) { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - - if (p_70243_1_) { - this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 | 1))); - } else { - this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 & -2))); - } - } - - public void setTau(boolean p_70243_1_) { - byte b0 = this.dataWatcher.getWatchableObjectByte(17); - - if (p_70243_1_) { - this.dataWatcher.updateObject(17, Byte.valueOf((byte) (b0 | 1))); - } else { - this.dataWatcher.updateObject(17, Byte.valueOf((byte) (b0 & -2))); - } - } - - public void setChopper(boolean p_70243_1_) { - byte b0 = this.dataWatcher.getWatchableObjectByte(18); - - if (p_70243_1_) { - this.dataWatcher.updateObject(18, Byte.valueOf((byte) (b0 | 1))); - } else { - this.dataWatcher.updateObject(18, Byte.valueOf((byte) (b0 & -2))); - } - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind - * it. - */ - public boolean getIsCritical() { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - return (b0 & 1) != 0; - } - - public boolean getIsTau() { - byte b0 = this.dataWatcher.getWatchableObjectByte(17); - return (b0 & 1) != 0; - } - - public boolean getIsChopper() { - byte b0 = this.dataWatcher.getWatchableObjectByte(18); - return (b0 & 1) != 0; - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - if(this.getIsCritical() || this.getIsChopper()) - return 15728880; - else - return super.getBrightnessForRender(p_70070_1_); - } - - @Override - public float getBrightness(float p_70013_1_) - { - if(this.getIsCritical() || this.getIsChopper()) - return 1.0F; - else - return super.getBrightness(p_70013_1_); - } -} +package com.hbm.entity.projectile; + +import java.util.List; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.item.EntityItemFrame; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +import com.hbm.blocks.ModBlocks; +import com.hbm.blocks.generic.DecoBlockAlt; +import com.hbm.blocks.generic.RedBarrel; +import com.hbm.entity.grenade.EntityGrenadeTau; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +public class EntityBullet extends Entity implements IProjectile { + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + public double damage; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + private int dmgMin = 0; + private int dmgMax = 1; + private boolean isTau = false; + private boolean instakill = false; + private boolean rad = false; + + public EntityBullet(World p_i1753_1_) { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityBullet(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityBullet(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, + float p_i1755_5_) { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) { + float f2 = (float) (Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float) (-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float) d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityBullet(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, + boolean instakill, boolean rad) { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) { + this.canBePickedUp = 1; + } + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, + p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + + // this.dmgMin = dmgMin; + // this.dmgMax = dmgMax; + this.instakill = instakill; + this.rad = rad; + } + + public EntityBullet(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) { + this.canBePickedUp = 1; + } + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, + p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); + this.setThrowableHeading2(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityBullet(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, + boolean instakill, String isTau) { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) { + this.canBePickedUp = 1; + } + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, + p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + this.setTau(isTau == "tauDay"); + this.setChopper(isTau == "chopper"); + this.setIsCritical(isTau != "chopper"); + } + + public EntityBullet(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, + boolean instakill, String isTau, EntityGrenadeTau grenade) { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(grenade.posX, grenade.posY + grenade.getEyeHeight(), grenade.posZ, + grenade.rotationYaw, grenade.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + this.setTau(isTau == "tauDay"); + this.setIsCritical(true); + } + + public EntityBullet(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() { + this.dataWatcher.addObject(16, Byte.valueOf((byte) 0)); + this.dataWatcher.addObject(17, Byte.valueOf((byte) 0)); + this.dataWatcher.addObject(18, Byte.valueOf((byte) 0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z + * direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, + float p_70186_8_) { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D + * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D + * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D + * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + public void setThrowableHeading2(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, + float p_70186_8_) { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.042499999832361937D + * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.042499999832361937D + * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.042499999832361937D + * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no + * bounding on the rotation. Args: posX, posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, + float p_70056_8_, int p_70056_9_) { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float) (Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + @Override + public void onUpdate() { + super.onUpdate(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D + / Math.PI); + // this.prevRotationPitch = this.rotationPitch = + // (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, + this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, + this.field_145792_e, this.field_145789_f); + + if (axisalignedbb != null + && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ)) + && !this.getIsCritical()) { + this.inGround = true; + } + + if (block == ModBlocks.red_barrel) { + ((RedBarrel) block).explode(worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + } + + if (block == Blocks.glass || block == Blocks.stained_glass || block == Blocks.glass_pane + || block == Blocks.stained_glass_pane) { + this.worldObj.setBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f, Blocks.air); + this.worldObj.playSound(this.field_145791_d, this.field_145792_e, this.field_145789_f, "dig.glass", + 1.0F, 1.0F, true); + } + } + + if (this.arrowShake > 0) { + --this.arrowShake; + } + + if (this.inGround && !this.getIsCritical()) { + this.setDead(); + } else { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, + this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, + this.posZ + this.motionZ); + + if (movingobjectposition != null) { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, + movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, + this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) { + Entity entity1 = (Entity) list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null + && movingobjectposition.entityHit instanceof EntityPlayer) { + EntityPlayer entityplayer = (EntityPlayer) movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer + && !((EntityPlayer) this.shootingEntity).canAttackPlayer(entityplayer)) { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) { + if (movingobjectposition.entityHit != null) { + //TODO: Remove test feature in retail version + if (!(movingobjectposition.entityHit instanceof EntityItemFrame) + || movingobjectposition.entityHit instanceof EntityItemFrame + && (((EntityItemFrame) movingobjectposition.entityHit).getDisplayedItem() == null + || ((EntityItemFrame) movingobjectposition.entityHit) + .getDisplayedItem() != null + && ((EntityItemFrame) movingobjectposition.entityHit) + .getDisplayedItem().getItem() != ModItems.flame_pony)) { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + //L: Crit + //R: Chop + //X: NOT + //O: Direct + + // X X Bullet + // \ | + // O-X Tau + // | / + // X-O Displacer + + if (!this.getIsCritical() && !this.getIsChopper()) { + if (this.shootingEntity == null) { + damagesource = ModDamageSource.causeBulletDamage(this, this); + } else { + damagesource = ModDamageSource.causeBulletDamage(this, shootingEntity); + } + } else if(!this.getIsChopper()) { + if (this.shootingEntity == null) { + damagesource = ModDamageSource.causeTauDamage(this, this); + } else { + damagesource = ModDamageSource.causeTauDamage(this, shootingEntity); + } + } else if(!this.getIsCritical()) { + if (this.shootingEntity == null) { + damagesource = ModDamageSource.causeDisplacementDamage(this, this); + } else { + damagesource = ModDamageSource.causeDisplacementDamage(this, shootingEntity); + } + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, (float) damage)) { + if (movingobjectposition.entityHit instanceof EntityLivingBase) { + EntityLivingBase entitylivingbase = (EntityLivingBase) movingobjectposition.entityHit; + + if (rad) { + if (entitylivingbase instanceof EntityPlayer + && Library.checkForHazmat((EntityPlayer) entitylivingbase)) { + } else if (entitylivingbase instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(this.worldObj); + creep.setLocationAndAngles(entitylivingbase.posX, entitylivingbase.posY, entitylivingbase.posZ, + entitylivingbase.rotationYaw, entitylivingbase.rotationPitch); + if (!entitylivingbase.isDead) + if (!worldObj.isRemote) + worldObj.spawnEntityInWorld(creep); + entitylivingbase.setDead(); + } else if (entitylivingbase instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(this.worldObj); + creep.setLocationAndAngles(entitylivingbase.posX, entitylivingbase.posY, entitylivingbase.posZ, + entitylivingbase.rotationYaw, entitylivingbase.rotationPitch); + entitylivingbase.setDead(); + if (!this.worldObj.isRemote) + this.worldObj.spawnEntityInWorld(creep); + } else if (entitylivingbase instanceof EntityLivingBase + && !(entitylivingbase instanceof EntityNuclearCreeper) + && !(entitylivingbase instanceof EntityMooshroom) + && !(entitylivingbase instanceof EntityZombie)) { + entitylivingbase.addPotionEffect(new PotionEffect(Potion.poison.getId(), 2 * 60 * 20, 2)); + entitylivingbase.addPotionEffect(new PotionEffect(Potion.wither.getId(), 20, 4)); + entitylivingbase.addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 1 * 60 * 20, 1)); + } + } + + if (this.knockbackStrength > 0) { + f4 = MathHelper + .sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) { + movingobjectposition.entityHit.addVelocity( + this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, + this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase) this.shootingEntity, + entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity + && movingobjectposition.entityHit instanceof EntityPlayer + && this.shootingEntity instanceof EntityPlayerMP) { + ((EntityPlayerMP) this.shootingEntity).playerNetServerHandler + .sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) { + if (!this.worldObj.isRemote) { + if (!instakill || movingobjectposition.entityHit instanceof EntityPlayer) { + // movingobjectposition.entityHit.attackEntityFrom(DamageSource.generic, + // dmgMin + rand.nextInt(dmgMax - + // dmgMin)); + } else if (movingobjectposition.entityHit instanceof EntityLivingBase) { + ((EntityLivingBase) movingobjectposition.entityHit).setHealth(0.0F); + } + } + if (!this.getIsCritical()) + //this.setDead(); + ; + } + } else if (!this.getIsCritical()) { + /*this.motionX *= -0.10000000149011612D; + this.motionY *= -0.10000000149011612D; + this.motionZ *= -0.10000000149011612D; + this.rotationYaw += 180.0F; + this.prevRotationYaw += 180.0F; + this.ticksInAir = 0;*/ + //this.setDead(); + } + } + } else if (!this.getIsCritical()) { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, + this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, + this.field_145789_f); + this.motionX = ((float) (movingobjectposition.hitVec.xCoord - this.posX)); + this.motionY = ((float) (movingobjectposition.hitVec.yCoord - this.posY)); + this.motionZ = ((float) (movingobjectposition.hitVec.zCoord - this.posZ)); + f2 = MathHelper.sqrt_double( + this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + this.posX -= this.motionX / f2 * 0.05000000074505806D; + this.posY -= this.motionY / f2 * 0.05000000074505806D; + this.posZ -= this.motionZ / f2 * 0.05000000074505806D; + this.inGround = true; + this.arrowShake = 7; + + if (this.field_145790_g.getMaterial() != Material.air) { + this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, + this.field_145792_e, this.field_145789_f, this); + } + } + } + + if (this.getIsCritical()) { + for (i = 0; i < 8; ++i) { + if (!this.getIsTau()) + this.worldObj.spawnParticle("fireworksSpark", this.posX + this.motionX * (double) i / 8.0D, + this.posY + this.motionY * (double) i / 8.0D, + this.posZ + this.motionZ * (double) i / 8.0D, 0, 0, + 0/*-this.motionX, -this.motionY + 0.2D, -this.motionZ*/); + else + this.worldObj.spawnParticle("reddust", this.posX + this.motionX * (double) i / 8.0D, + this.posY + this.motionY * (double) i / 8.0D, + this.posZ + this.motionZ * (double) i / 8.0D, 0, 0, + 0/*-this.motionX, -this.motionY + 0.2D, -this.motionZ*/); + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float) (Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + // for (this.rotationPitch = (float)(Math.atan2(this.motionY, + // (double)f2) * 180.0D / Math.PI); this.rotationPitch - + // this.prevRotationPitch < -180.0F; this.prevRotationPitch -= + // 360.0F) + { + ; + } + + /* + * while (this.rotationPitch - this.prevRotationPitch >= 180.0F) { + * this.prevRotationPitch += 360.0F; } + * + * while (this.rotationYaw - this.prevRotationYaw < -180.0F) { + * this.prevRotationYaw -= 360.0F; } + * + * while (this.rotationYaw - this.prevRotationYaw >= 180.0F) { + * this.prevRotationYaw += 360.0F; } + */ + + // this.rotationPitch = this.prevRotationPitch + (this.rotationPitch + // - this.prevRotationPitch) * 0.2F; + // this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - + // this.prevRotationYaw) * 0.2F; + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) { + for (int l = 0; l < 4; ++l) { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, + this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) { + this.extinguish(); + } + + this.motionX *= f3; + this.motionY *= f3; + this.motionZ *= f3; + this.motionY -= gravity; + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + + if (this.ticksExisted > 250) + this.setDead(); + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) { + p_70014_1_.setShort("xTile", (short) this.field_145791_d); + p_70014_1_.setShort("yTile", (short) this.field_145792_e); + p_70014_1_.setShort("zTile", (short) this.field_145789_f); + p_70014_1_.setShort("life", (short) this.ticksInGround); + p_70014_1_.setByte("inTile", (byte) Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte) this.inData); + p_70014_1_.setByte("shake", (byte) this.arrowShake); + p_70014_1_.setByte("inGround", (byte) (this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte) this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } else if (p_70037_1_.hasKey("player", 99)) { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * Called by a player entity when they collide with an entity + */ + @Override + public void onCollideWithPlayer(EntityPlayer p_70100_1_) { + if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) { + boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; + + if (this.canBePickedUp == 1 + && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) { + flag = false; + } + + if (flag) { + p_70100_1_.onItemPickup(this, 1); + this.setDead(); + } + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they + * walk on. used for spiders and wolves to prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() { + return 0.0F; + } + + public void setDamage(double p_70239_1_) { + this.damage = p_70239_1_; + } + + public double getDamage() { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind + * it. + */ + public void setIsCritical(boolean p_70243_1_) { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) { + this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 | 1))); + } else { + this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 & -2))); + } + } + + public void setTau(boolean p_70243_1_) { + byte b0 = this.dataWatcher.getWatchableObjectByte(17); + + if (p_70243_1_) { + this.dataWatcher.updateObject(17, Byte.valueOf((byte) (b0 | 1))); + } else { + this.dataWatcher.updateObject(17, Byte.valueOf((byte) (b0 & -2))); + } + } + + public void setChopper(boolean p_70243_1_) { + byte b0 = this.dataWatcher.getWatchableObjectByte(18); + + if (p_70243_1_) { + this.dataWatcher.updateObject(18, Byte.valueOf((byte) (b0 | 1))); + } else { + this.dataWatcher.updateObject(18, Byte.valueOf((byte) (b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind + * it. + */ + public boolean getIsCritical() { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } + + public boolean getIsTau() { + byte b0 = this.dataWatcher.getWatchableObjectByte(17); + return (b0 & 1) != 0; + } + + public boolean getIsChopper() { + byte b0 = this.dataWatcher.getWatchableObjectByte(18); + return (b0 & 1) != 0; + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + if(this.getIsCritical() || this.getIsChopper()) + return 15728880; + else + return super.getBrightnessForRender(p_70070_1_); + } + + @Override + public float getBrightness(float p_70013_1_) + { + if(this.getIsCritical() || this.getIsChopper()) + return 1.0F; + else + return super.getBrightness(p_70013_1_); + } +} diff --git a/com/hbm/entity/projectile/EntityChopperMine.java b/com/hbm/entity/projectile/EntityChopperMine.java index c85eb2339..475bdcdef 100644 --- a/com/hbm/entity/projectile/EntityChopperMine.java +++ b/com/hbm/entity/projectile/EntityChopperMine.java @@ -1,148 +1,148 @@ -package com.hbm.entity.projectile; - -import java.util.List; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.entity.Entity; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class EntityChopperMine extends Entity implements IProjectile { - - public int timer = 0; - public Entity shooter; - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - private boolean inGround; - - public EntityChopperMine(World p_i1582_1_) { - super(p_i1582_1_); - } - - public EntityChopperMine(World p_i1582_1_, double x, double y, double z, double moX, double moY, double moZ, Entity shooter) { - super(p_i1582_1_); - this.posX = x; - this.posY = y; - this.posZ = z; - - this.motionX = moX; - this.motionY = moY; - this.motionZ = moZ; - - this.shooter = shooter; - - this.setSize(12, 12); - - this.isImmuneToFire = true; - } - - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, - float p_70186_8_) { - - } - - @Override - protected void entityInit() { - - } - - @Override - protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { - - } - - @Override - protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { - - } - - @Override - public void onUpdate() { - super.onUpdate(); - - - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, - this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, - this.posZ + this.motionZ); - - if (movingobjectposition != null) { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, - movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, - this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) { - Entity entity1 = (Entity) list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shooter)) { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null - && movingobjectposition.entityHit instanceof EntityPlayer) { - - worldObj.createExplosion(shooter, this.posX, this.posY, this.posZ, 5F, false); - this.setDead(); - } - - //if(timer % 10 == 0 && timer % 20 != 0) - // worldObj.playSoundAtEntity(this, "random.click", 10.0F, 1F); - //if(timer % 20 == 0) - // worldObj.playSoundAtEntity(this, "random.click", 10.0F, 1.5F); - - worldObj.playSoundAtEntity(this, "hbm:misc.nullMine", 10.0F, 1F); - - if(timer >= 100 || worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ).getMaterial() != Material.air) - { - worldObj.createExplosion(shooter, this.posX, this.posY, this.posZ, 5F, false); - this.setDead(); - } - - if(motionY > -0.85) - this.motionY -= 0.05; - - this.motionX *= 0.9; - this.motionZ *= 0.9; - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - - timer++; - } - -} +package com.hbm.entity.projectile; + +import java.util.List; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityChopperMine extends Entity implements IProjectile { + + public int timer = 0; + public Entity shooter; + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + private boolean inGround; + + public EntityChopperMine(World p_i1582_1_) { + super(p_i1582_1_); + } + + public EntityChopperMine(World p_i1582_1_, double x, double y, double z, double moX, double moY, double moZ, Entity shooter) { + super(p_i1582_1_); + this.posX = x; + this.posY = y; + this.posZ = z; + + this.motionX = moX; + this.motionY = moY; + this.motionZ = moZ; + + this.shooter = shooter; + + this.setSize(12, 12); + + this.isImmuneToFire = true; + } + + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, + float p_70186_8_) { + + } + + @Override + protected void entityInit() { + + } + + @Override + protected void readEntityFromNBT(NBTTagCompound p_70037_1_) { + + } + + @Override + protected void writeEntityToNBT(NBTTagCompound p_70014_1_) { + + } + + @Override + public void onUpdate() { + super.onUpdate(); + + + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, + this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, + this.posZ + this.motionZ); + + if (movingobjectposition != null) { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, + movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, + this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) { + Entity entity1 = (Entity) list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shooter)) { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null + && movingobjectposition.entityHit instanceof EntityPlayer) { + + worldObj.createExplosion(shooter, this.posX, this.posY, this.posZ, 5F, false); + this.setDead(); + } + + //if(timer % 10 == 0 && timer % 20 != 0) + // worldObj.playSoundAtEntity(this, "random.click", 10.0F, 1F); + //if(timer % 20 == 0) + // worldObj.playSoundAtEntity(this, "random.click", 10.0F, 1.5F); + + worldObj.playSoundAtEntity(this, "hbm:misc.nullMine", 10.0F, 1F); + + if(timer >= 100 || worldObj.getBlock((int)this.posX, (int)this.posY, (int)this.posZ).getMaterial() != Material.air) + { + worldObj.createExplosion(shooter, this.posX, this.posY, this.posZ, 5F, false); + this.setDead(); + } + + if(motionY > -0.85) + this.motionY -= 0.05; + + this.motionX *= 0.9; + this.motionZ *= 0.9; + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + + timer++; + } + +} diff --git a/com/hbm/entity/projectile/EntityCombineBall.java b/com/hbm/entity/projectile/EntityCombineBall.java index ed824bdcd..43a9835d8 100644 --- a/com/hbm/entity/projectile/EntityCombineBall.java +++ b/com/hbm/entity/projectile/EntityCombineBall.java @@ -1,581 +1,581 @@ -package com.hbm.entity.projectile; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -import java.util.List; - -import com.hbm.items.ModItems; -import com.hbm.lib.ModDamageSource; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.monster.EntityEnderman; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.network.play.server.S2BPacketChangeGameState; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class EntityCombineBall extends Entity implements IProjectile -{ - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - public double gravity = 0.0D; - private Block field_145790_g; - private int inData; - private boolean inGround; - /** 1 if the player can pick up the arrow */ - public int canBePickedUp; - /** Seems to be some sort of timer for animating an arrow. */ - public int arrowShake; - /** The owner of this arrow. */ - public Entity shootingEntity; - private int ticksInGround; - private int ticksInAir; - private double damage = 2.0D; - /** The amount of knockback an arrow applies when it hits a mob. */ - private int knockbackStrength; - private static final String __OBFID = "CL_00001715"; - - - public EntityCombineBall(World p_i1753_1_) - { - super(p_i1753_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - } - - public EntityCombineBall(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) - { - super(p_i1754_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); - this.yOffset = 0.0F; - } - - public EntityCombineBall(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) - { - super(p_i1755_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1755_2_; - - if (p_i1755_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; - double d0 = p_i1755_3_.posX - p_i1755_2_.posX; - double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; - double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; - double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); - - if (d3 >= 1.0E-7D) - { - float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; - float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); - double d4 = d0 / d3; - double d5 = d2 / d3; - this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); - this.yOffset = 0.0F; - float f4 = (float)d3 * 0.2F; - this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); - } - } - - public EntityCombineBall(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) - { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - if (p_i1756_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - } - - public EntityCombineBall(World world, int x, int y, int z, double mx, double my, double mz, double grav) { - super(world); - this.posX = x + 0.5F; - this.posY = y + 0.5F; - this.posZ = z + 0.5F; - - this.motionX = mx; - this.motionY = my; - this.motionZ = mz; - - this.gravity = grav; - } - - @Override - protected void entityInit() - { - this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); - } - - /** - * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. - */ - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) - { - float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); - p_70186_1_ /= f2; - p_70186_3_ /= f2; - p_70186_5_ /= f2; - p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_1_ *= p_70186_7_; - p_70186_3_ *= p_70186_7_; - p_70186_5_ *= p_70186_7_; - this.motionX = p_70186_1_; - this.motionY = p_70186_3_; - this.motionZ = p_70186_5_; - float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); - this.ticksInGround = 0; - } - - /** - * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, - * posY, posZ, yaw, pitch - */ - @Override - @SideOnly(Side.CLIENT) - public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) - { - this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); - this.setRotation(p_70056_7_, p_70056_8_); - } - - /** - * Sets the velocity to the args. Args: x, y, z - */ - @Override - @SideOnly(Side.CLIENT) - public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) - { - this.motionX = p_70016_1_; - this.motionY = p_70016_3_; - this.motionZ = p_70016_5_; - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch; - this.prevRotationYaw = this.rotationYaw; - this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - this.ticksInGround = 0; - } - } - - /** - * Called to update the entity's position/logic. - */ - //@Override - @Override - public void onUpdate() - { - super.onUpdate(); - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); - } - - Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block.getMaterial() != Material.air) - { - block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) - { - this.inGround = true; - } - } - - if (this.arrowShake > 0) - { - --this.arrowShake; - } - - if (this.inGround) - { - this.setDead(); - } - else - { - ++this.ticksInAir; - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - - if (movingobjectposition != null) - { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) - { - Entity entity1 = (Entity)list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) - { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) - { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) - { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) - { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) - { - EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; - - if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) - { - movingobjectposition = null; - } - } - - float f2; - float f4; - - if (movingobjectposition != null) - { - if (movingobjectposition.entityHit != null) - { - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - int k = MathHelper.ceiling_double_int(f2 * this.damage); - - if (this.getIsCritical()) - { - k += this.rand.nextInt(k / 2 + 2); - } - - DamageSource damagesource = null; - - if (this.shootingEntity == null) - { - damagesource = DamageSource.generic; - } - else - { - damagesource = ModDamageSource.causeCombineDamage(this, this); - } - - if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) - { - movingobjectposition.entityHit.setFire(5); - } - - if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) - { - if (movingobjectposition.entityHit instanceof EntityLivingBase) - { - EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; - - if (this.knockbackStrength > 0) - { - f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - - if (f4 > 0.0F) - { - movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); - } - } - - if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) - { - EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); - EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); - } - - if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) - { - ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); - } - } - - if (!(movingobjectposition.entityHit instanceof EntityEnderman)) - { - if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) - { - movingobjectposition.entityHit.attackEntityFrom(damagesource, 1000F); - } - } - } - } - else - { - this.field_145791_d = movingobjectposition.blockX; - this.field_145792_e = movingobjectposition.blockY; - this.field_145789_f = movingobjectposition.blockZ; - this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); - this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); - this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - this.posX -= this.motionX / f2 * 0.05000000074505806D; - this.posY -= this.motionY / f2 * 0.05000000074505806D; - this.posZ -= this.motionZ / f2 * 0.05000000074505806D; - this.inGround = true; - this.arrowShake = 7; - this.setIsCritical(false); - - if (this.field_145790_g.getMaterial() != Material.air) - { - this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); - } - } - } - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - float f3 = 0.99F; - f1 = 0.05F; - - if (this.isInWater()) - { - for (int l = 0; l < 4; ++l) - { - f4 = 0.25F; - this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); - } - - f3 = 0.8F; - } - - if (this.isWet()) - { - this.extinguish(); - } - - this.motionX *= f3; - this.motionY *= f3; - this.motionZ *= f3; - this.motionY -= gravity; - this.setPosition(this.posX, this.posY, this.posZ); - this.func_145775_I(); - } - - if (this.ticksExisted > 250) - this.setDead(); - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) - { - p_70014_1_.setShort("xTile", (short)this.field_145791_d); - p_70014_1_.setShort("yTile", (short)this.field_145792_e); - p_70014_1_.setShort("zTile", (short)this.field_145789_f); - p_70014_1_.setShort("life", (short)this.ticksInGround); - p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); - p_70014_1_.setByte("inData", (byte)this.inData); - p_70014_1_.setByte("shake", (byte)this.arrowShake); - p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); - p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); - p_70014_1_.setDouble("damage", this.damage); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) - { - this.field_145791_d = p_70037_1_.getShort("xTile"); - this.field_145792_e = p_70037_1_.getShort("yTile"); - this.field_145789_f = p_70037_1_.getShort("zTile"); - this.ticksInGround = p_70037_1_.getShort("life"); - this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); - this.inData = p_70037_1_.getByte("inData") & 255; - this.arrowShake = p_70037_1_.getByte("shake") & 255; - this.inGround = p_70037_1_.getByte("inGround") == 1; - - if (p_70037_1_.hasKey("damage", 99)) - { - this.damage = p_70037_1_.getDouble("damage"); - } - - if (p_70037_1_.hasKey("pickup", 99)) - { - this.canBePickedUp = p_70037_1_.getByte("pickup"); - } - else if (p_70037_1_.hasKey("player", 99)) - { - this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; - } - } - - /** - * Called by a player entity when they collide with an entity - */ - @Override - public void onCollideWithPlayer(EntityPlayer p_70100_1_) - { - if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) - { - boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; - - if (this.canBePickedUp == 1 && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) - { - flag = false; - } - - if (flag) - { - p_70100_1_.onItemPickup(this, 1); - this.setDead(); - } - } - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to - * prevent them from trampling crops - */ - @Override - protected boolean canTriggerWalking() - { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public float getShadowSize() - { - return 0.0F; - } - - public void setDamage(double p_70239_1_) - { - this.damage = p_70239_1_; - } - - public double getDamage() - { - return this.damage; - } - - /** - * Sets the amount of knockback the arrow applies when it hits a mob. - */ - public void setKnockbackStrength(int p_70240_1_) - { - this.knockbackStrength = p_70240_1_; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - @Override - public boolean canAttackWithItem() - { - return false; - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public void setIsCritical(boolean p_70243_1_) - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - - if (p_70243_1_) - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); - } - else - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); - } - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public boolean getIsCritical() - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - return (b0 & 1) != 0; - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - return 15728880; - } - - @Override - public float getBrightness(float p_70013_1_) - { - return 1.0F; - } +package com.hbm.entity.projectile; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +import java.util.List; + +import com.hbm.items.ModItems; +import com.hbm.lib.ModDamageSource; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityCombineBall extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntityCombineBall(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityCombineBall(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityCombineBall(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityCombineBall(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityCombineBall(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) + { + this.inGround = true; + } + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + + if (this.inGround) + { + this.setDead(); + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.generic; + } + else + { + damagesource = ModDamageSource.causeCombineDamage(this, this); + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) + { + movingobjectposition.entityHit.attackEntityFrom(damagesource, 1000F); + } + } + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); + this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); + this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + this.posX -= this.motionX / f2 * 0.05000000074505806D; + this.posY -= this.motionY / f2 * 0.05000000074505806D; + this.posZ -= this.motionZ / f2 * 0.05000000074505806D; + this.inGround = true; + this.arrowShake = 7; + this.setIsCritical(false); + + if (this.field_145790_g.getMaterial() != Material.air) + { + this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); + } + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + for (int l = 0; l < 4; ++l) + { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.motionX *= f3; + this.motionY *= f3; + this.motionZ *= f3; + this.motionY -= gravity; + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + + if (this.ticksExisted > 250) + this.setDead(); + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * Called by a player entity when they collide with an entity + */ + @Override + public void onCollideWithPlayer(EntityPlayer p_70100_1_) + { + if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) + { + boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; + + if (this.canBePickedUp == 1 && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) + { + flag = false; + } + + if (flag) + { + p_70100_1_.onItemPickup(this, 1); + this.setDead(); + } + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } + + @Override + public float getBrightness(float p_70013_1_) + { + return 1.0F; + } } \ No newline at end of file diff --git a/com/hbm/entity/projectile/EntityDischarge.java b/com/hbm/entity/projectile/EntityDischarge.java index c4522db7a..d6ff7f784 100644 --- a/com/hbm/entity/projectile/EntityDischarge.java +++ b/com/hbm/entity/projectile/EntityDischarge.java @@ -1,605 +1,605 @@ -package com.hbm.entity.projectile; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -import java.util.List; - -import com.hbm.entity.effect.EntityEMPBlast; -import com.hbm.explosion.ExplosionNukeGeneric; -import com.hbm.items.ModItems; -import com.hbm.lib.ModDamageSource; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.monster.EntityEnderman; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.network.play.server.S2BPacketChangeGameState; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class EntityDischarge extends Entity implements IProjectile -{ - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - public double gravity = 0.0D; - private Block field_145790_g; - private int inData; - private boolean inGround; - /** 1 if the player can pick up the arrow */ - public int canBePickedUp; - /** Seems to be some sort of timer for animating an arrow. */ - public int arrowShake; - /** The owner of this arrow. */ - public Entity shootingEntity; - private int ticksInGround; - private int ticksInAir; - private double damage = 2.0D; - /** The amount of knockback an arrow applies when it hits a mob. */ - private int knockbackStrength; - private static final String __OBFID = "CL_00001715"; - - - public EntityDischarge(World p_i1753_1_) - { - super(p_i1753_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(1.5F, 1.5F); - } - - public EntityDischarge(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) - { - super(p_i1754_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(1.5F, 1.5F); - this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); - this.yOffset = 0.0F; - } - - public EntityDischarge(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) - { - super(p_i1755_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1755_2_; - - if (p_i1755_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; - double d0 = p_i1755_3_.posX - p_i1755_2_.posX; - double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; - double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; - double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); - - if (d3 >= 1.0E-7D) - { - float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; - float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); - double d4 = d0 / d3; - double d5 = d2 / d3; - this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); - this.yOffset = 0.0F; - float f4 = (float)d3 * 0.2F; - this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); - } - } - - public EntityDischarge(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) - { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - if (p_i1756_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.setSize(1.5F, 1.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - } - - public EntityDischarge(World world, int x, int y, int z, double mx, double my, double mz, double grav) { - super(world); - this.posX = x + 0.5F; - this.posY = y + 0.5F; - this.posZ = z + 0.5F; - - this.motionX = mx; - this.motionY = my; - this.motionZ = mz; - - this.gravity = grav; - } - - @Override - protected void entityInit() - { - this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); - } - - /** - * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. - */ - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) - { - float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); - p_70186_1_ /= f2; - p_70186_3_ /= f2; - p_70186_5_ /= f2; - p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_1_ *= p_70186_7_; - p_70186_3_ *= p_70186_7_; - p_70186_5_ *= p_70186_7_; - this.motionX = p_70186_1_; - this.motionY = p_70186_3_; - this.motionZ = p_70186_5_; - float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); - this.ticksInGround = 0; - } - - /** - * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, - * posY, posZ, yaw, pitch - */ - @Override - @SideOnly(Side.CLIENT) - public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) - { - this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); - this.setRotation(p_70056_7_, p_70056_8_); - } - - /** - * Sets the velocity to the args. Args: x, y, z - */ - @Override - @SideOnly(Side.CLIENT) - public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) - { - this.motionX = p_70016_1_; - this.motionY = p_70016_3_; - this.motionZ = p_70016_5_; - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch; - this.prevRotationYaw = this.rotationYaw; - this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - this.ticksInGround = 0; - } - } - - /** - * Called to update the entity's position/logic. - */ - //@Override - @Override - public void onUpdate() - { - super.onUpdate(); - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); - } - - Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block.getMaterial() != Material.air) - { - block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) - { - this.inGround = true; - } - } - - if (this.arrowShake > 0) - { - --this.arrowShake; - } - - if (this.inGround) - { - this.setDead(); - - EntityEMPBlast cloud = new EntityEMPBlast(this.worldObj, 10); - cloud.posX = this.posX; - cloud.posY = this.posY + 0.5F; - cloud.posZ = this.posZ; - if (!this.worldObj.isRemote) { - this.worldObj.spawnEntityInWorld(cloud); - } - - ExplosionNukeGeneric.empBlast(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); - } - else - { - ++this.ticksInAir; - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - - if (movingobjectposition != null) - { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) - { - Entity entity1 = (Entity)list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) - { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) - { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) - { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) - { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) - { - EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; - - if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) - { - movingobjectposition = null; - } - } - - float f2; - float f4; - - if (movingobjectposition != null) - { - if (movingobjectposition.entityHit != null) - { - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - int k = MathHelper.ceiling_double_int(f2 * this.damage); - - if (this.getIsCritical()) - { - k += this.rand.nextInt(k / 2 + 2); - } - - DamageSource damagesource = null; - - if (this.shootingEntity == null) - { - damagesource = DamageSource.generic; - } - else - { - damagesource = ModDamageSource.causeDischargeDamage(this, this); - } - - if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) - { - movingobjectposition.entityHit.setFire(5); - } - - if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) - { - if (movingobjectposition.entityHit instanceof EntityLivingBase) - { - EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; - - if (this.knockbackStrength > 0) - { - f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - - if (f4 > 0.0F) - { - movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); - } - } - - if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) - { - EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); - EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); - } - - if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) - { - ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); - } - } - - if (!(movingobjectposition.entityHit instanceof EntityEnderman)) - { - if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) - { - movingobjectposition.entityHit.attackEntityFrom(damagesource, 24 + rand.nextInt(11)); - } - } - } - } - else - { - this.field_145791_d = movingobjectposition.blockX; - this.field_145792_e = movingobjectposition.blockY; - this.field_145789_f = movingobjectposition.blockZ; - this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); - this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); - this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - this.posX -= this.motionX / f2 * 0.05000000074505806D; - this.posY -= this.motionY / f2 * 0.05000000074505806D; - this.posZ -= this.motionZ / f2 * 0.05000000074505806D; - this.inGround = true; - this.arrowShake = 7; - this.setIsCritical(false); - - if (this.field_145790_g.getMaterial() != Material.air) - { - this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); - } - } - } - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - float f3 = 0.99F; - f1 = 0.05F; - - if (this.isInWater()) - { - for (int l = 0; l < 4; ++l) - { - f4 = 0.25F; - this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); - } - - f3 = 0.8F; - } - - if (this.isWet()) - { - this.extinguish(); - } - - this.motionX *= f3; - this.motionY *= f3; - this.motionZ *= f3; - this.motionY -= gravity; - this.setPosition(this.posX, this.posY, this.posZ); - this.func_145775_I(); - } - - if (this.ticksExisted > 250) { - - EntityEMPBlast cloud = new EntityEMPBlast(this.worldObj, 10); - cloud.posX = this.posX; - cloud.posY = this.posY + 0.5F; - cloud.posZ = this.posZ; - if (!this.worldObj.isRemote) { - this.worldObj.spawnEntityInWorld(cloud); - } - - ExplosionNukeGeneric.empBlast(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); - - this.setDead(); - } - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) - { - p_70014_1_.setShort("xTile", (short)this.field_145791_d); - p_70014_1_.setShort("yTile", (short)this.field_145792_e); - p_70014_1_.setShort("zTile", (short)this.field_145789_f); - p_70014_1_.setShort("life", (short)this.ticksInGround); - p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); - p_70014_1_.setByte("inData", (byte)this.inData); - p_70014_1_.setByte("shake", (byte)this.arrowShake); - p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); - p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); - p_70014_1_.setDouble("damage", this.damage); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) - { - this.field_145791_d = p_70037_1_.getShort("xTile"); - this.field_145792_e = p_70037_1_.getShort("yTile"); - this.field_145789_f = p_70037_1_.getShort("zTile"); - this.ticksInGround = p_70037_1_.getShort("life"); - this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); - this.inData = p_70037_1_.getByte("inData") & 255; - this.arrowShake = p_70037_1_.getByte("shake") & 255; - this.inGround = p_70037_1_.getByte("inGround") == 1; - - if (p_70037_1_.hasKey("damage", 99)) - { - this.damage = p_70037_1_.getDouble("damage"); - } - - if (p_70037_1_.hasKey("pickup", 99)) - { - this.canBePickedUp = p_70037_1_.getByte("pickup"); - } - else if (p_70037_1_.hasKey("player", 99)) - { - this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; - } - } - - /** - * Called by a player entity when they collide with an entity - */ - @Override - public void onCollideWithPlayer(EntityPlayer p_70100_1_) - { - if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) - { - boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; - - if (this.canBePickedUp == 1 && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) - { - flag = false; - } - - if (flag) - { - p_70100_1_.onItemPickup(this, 1); - this.setDead(); - } - } - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to - * prevent them from trampling crops - */ - @Override - protected boolean canTriggerWalking() - { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public float getShadowSize() - { - return 0.0F; - } - - public void setDamage(double p_70239_1_) - { - this.damage = p_70239_1_; - } - - public double getDamage() - { - return this.damage; - } - - /** - * Sets the amount of knockback the arrow applies when it hits a mob. - */ - public void setKnockbackStrength(int p_70240_1_) - { - this.knockbackStrength = p_70240_1_; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - @Override - public boolean canAttackWithItem() - { - return false; - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public void setIsCritical(boolean p_70243_1_) - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - - if (p_70243_1_) - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); - } - else - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); - } - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public boolean getIsCritical() - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - return (b0 & 1) != 0; - } - - @Override - @SideOnly(Side.CLIENT) - public int getBrightnessForRender(float p_70070_1_) - { - return 15728880; - } - - @Override - public float getBrightness(float p_70013_1_) - { - return 1.0F; - } +package com.hbm.entity.projectile; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +import java.util.List; + +import com.hbm.entity.effect.EntityEMPBlast; +import com.hbm.explosion.ExplosionNukeGeneric; +import com.hbm.items.ModItems; +import com.hbm.lib.ModDamageSource; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityDischarge extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntityDischarge(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(1.5F, 1.5F); + } + + public EntityDischarge(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(1.5F, 1.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityDischarge(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityDischarge(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.setSize(1.5F, 1.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityDischarge(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) + { + this.inGround = true; + } + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + + if (this.inGround) + { + this.setDead(); + + EntityEMPBlast cloud = new EntityEMPBlast(this.worldObj, 10); + cloud.posX = this.posX; + cloud.posY = this.posY + 0.5F; + cloud.posZ = this.posZ; + if (!this.worldObj.isRemote) { + this.worldObj.spawnEntityInWorld(cloud); + } + + ExplosionNukeGeneric.empBlast(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.generic; + } + else + { + damagesource = ModDamageSource.causeDischargeDamage(this, this); + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) + { + movingobjectposition.entityHit.attackEntityFrom(damagesource, 24 + rand.nextInt(11)); + } + } + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); + this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); + this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + this.posX -= this.motionX / f2 * 0.05000000074505806D; + this.posY -= this.motionY / f2 * 0.05000000074505806D; + this.posZ -= this.motionZ / f2 * 0.05000000074505806D; + this.inGround = true; + this.arrowShake = 7; + this.setIsCritical(false); + + if (this.field_145790_g.getMaterial() != Material.air) + { + this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); + } + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + for (int l = 0; l < 4; ++l) + { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.motionX *= f3; + this.motionY *= f3; + this.motionZ *= f3; + this.motionY -= gravity; + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + + if (this.ticksExisted > 250) { + + EntityEMPBlast cloud = new EntityEMPBlast(this.worldObj, 10); + cloud.posX = this.posX; + cloud.posY = this.posY + 0.5F; + cloud.posZ = this.posZ; + if (!this.worldObj.isRemote) { + this.worldObj.spawnEntityInWorld(cloud); + } + + ExplosionNukeGeneric.empBlast(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); + + this.setDead(); + } + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * Called by a player entity when they collide with an entity + */ + @Override + public void onCollideWithPlayer(EntityPlayer p_70100_1_) + { + if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) + { + boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; + + if (this.canBePickedUp == 1 && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) + { + flag = false; + } + + if (flag) + { + p_70100_1_.onItemPickup(this, 1); + this.setDead(); + } + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } + + @Override + @SideOnly(Side.CLIENT) + public int getBrightnessForRender(float p_70070_1_) + { + return 15728880; + } + + @Override + public float getBrightness(float p_70013_1_) + { + return 1.0F; + } } \ No newline at end of file diff --git a/com/hbm/entity/projectile/EntityFire.java b/com/hbm/entity/projectile/EntityFire.java index 854a3544c..0d226047c 100644 --- a/com/hbm/entity/projectile/EntityFire.java +++ b/com/hbm/entity/projectile/EntityFire.java @@ -325,7 +325,7 @@ public class EntityFire extends Entity implements IProjectile } else { - damagesource = ModDamageSource.causeFireDamage(this, this); + damagesource = ModDamageSource.causeFireDamage(this, this.shootingEntity); } if (!(movingobjectposition.entityHit instanceof EntityEnderman) && this.ticksExisted >= 5) diff --git a/com/hbm/entity/projectile/EntityLN2.java b/com/hbm/entity/projectile/EntityLN2.java index f87d9c678..9e3191c14 100644 --- a/com/hbm/entity/projectile/EntityLN2.java +++ b/com/hbm/entity/projectile/EntityLN2.java @@ -325,7 +325,7 @@ public class EntityLN2 extends Entity implements IProjectile } else { - damagesource = ModDamageSource.causeIceDamage(this, this); + damagesource = ModDamageSource.causeIceDamage(this, this.shootingEntity); } if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) diff --git a/com/hbm/entity/projectile/EntityLaserBeam.java b/com/hbm/entity/projectile/EntityLaserBeam.java new file mode 100644 index 000000000..d49f91a33 --- /dev/null +++ b/com/hbm/entity/projectile/EntityLaserBeam.java @@ -0,0 +1,537 @@ +package com.hbm.entity.projectile; + +import java.util.List; + +import com.hbm.entity.grenade.EntityGrenadeZOMG; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionThermo; +import com.hbm.lib.ModDamageSource; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLiving; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityLaserBeam extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntityLaserBeam(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityLaserBeam(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityLaserBeam(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityLaserBeam(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, EntityGrenadeZOMG grenade) { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(grenade.posX, grenade.posY + grenade.getEyeHeight(), grenade.posZ, + grenade.rotationYaw, grenade.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityLaserBeam(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityLaserBeam(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.002499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.002499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.002499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if(this.ticksExisted > 100) + this.setDead(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + if(!worldObj.isRemote) { + ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 2); + ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); + } + this.setDead(); + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.generic; + } + else + { + damagesource = ModDamageSource.causeLaserDamage(this, this.shootingEntity); + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) + { + movingobjectposition.entityHit.attackEntityFrom(damagesource, 25 + rand.nextInt(20)); + if(!worldObj.isRemote) { + ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 2); + ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); + } + this.setDead(); + } + } + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + this.setDead(); + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } +} diff --git a/com/hbm/entity/projectile/EntityMinerBeam.java b/com/hbm/entity/projectile/EntityMinerBeam.java new file mode 100644 index 000000000..957325b01 --- /dev/null +++ b/com/hbm/entity/projectile/EntityMinerBeam.java @@ -0,0 +1,565 @@ +package com.hbm.entity.projectile; + +import java.util.List; + +import com.hbm.entity.grenade.EntityGrenadeZOMG; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionThermo; +import com.hbm.lib.ModDamageSource; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLiving; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityMinerBeam extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntityMinerBeam(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityMinerBeam(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityMinerBeam(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityMinerBeam(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, EntityGrenadeZOMG grenade) { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(grenade.posX, grenade.posY + grenade.getEyeHeight(), grenade.posZ, + grenade.rotationYaw, grenade.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityMinerBeam(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityMinerBeam(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.002499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.002499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.002499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if(this.ticksExisted > 100) + this.setDead(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + if(!worldObj.isRemote) { + this.dropMinedItem(this.worldObj, field_145791_d, field_145792_e, field_145789_f); + } + this.setDead(); + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.generic; + } + else + { + damagesource = ModDamageSource.causeLaserDamage(this, this.shootingEntity); + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) + { + movingobjectposition.entityHit.attackEntityFrom(damagesource, 25 + rand.nextInt(20)); + movingobjectposition.entityHit.setFire(5); + if(!worldObj.isRemote) { + this.dropMinedItem(this.worldObj, field_145791_d, field_145792_e, field_145789_f); + } + this.setDead(); + } + } + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + this.setDead(); + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } + + public void dropMinedItem(World world, int x, int y, int z) { + Block b = world.getBlock(x, y, z); + ItemStack s = FurnaceRecipes.smelting().getSmeltingResult(new ItemStack(Item.getItemFromBlock(b), 1, world.getBlockMetadata(x, y, z))); + if(s != null) { + ItemStack t = s.copy(); + if(!world.isRemote) + world.setBlock(x, y, z, Blocks.air); + + float f = rand.nextFloat() * 0.8F + 0.1F; + float f1 = rand.nextFloat() * 0.8F + 0.1F; + float f2 = rand.nextFloat() * 0.8F + 0.1F; + EntityItem entityitem = new EntityItem(world, x + f, y + f1, z + f2, t); + + float f3 = 0.05F; + entityitem.motionX = (float)rand.nextGaussian() * f3; + entityitem.motionY = (float)rand.nextGaussian() * f3 + 0.2F; + entityitem.motionZ = (float)rand.nextGaussian() * f3; + + if(!world.isRemote) { + world.spawnEntityInWorld(entityitem); + } + } + } +} diff --git a/com/hbm/entity/projectile/EntityMiniNuke.java b/com/hbm/entity/projectile/EntityMiniNuke.java index 9721b6858..e60412f9d 100644 --- a/com/hbm/entity/projectile/EntityMiniNuke.java +++ b/com/hbm/entity/projectile/EntityMiniNuke.java @@ -1,608 +1,608 @@ -package com.hbm.entity.projectile; - -import java.util.List; - -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.explosion.ExplosionParticle; -import com.hbm.explosion.ExplosionParticleB; -import com.hbm.items.ModItems; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.monster.EntityEnderman; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.network.play.server.S2BPacketChangeGameState; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class EntityMiniNuke extends Entity implements IProjectile -{ - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - public double gravity = 0.0D; - private Block field_145790_g; - private int inData; - private boolean inGround; - /** 1 if the player can pick up the arrow */ - public int canBePickedUp; - /** Seems to be some sort of timer for animating an arrow. */ - public int arrowShake; - /** The owner of this arrow. */ - public Entity shootingEntity; - private int ticksInGround; - private int ticksInAir; - private double damage = 2.0D; - /** The amount of knockback an arrow applies when it hits a mob. */ - private int knockbackStrength; - private static final String __OBFID = "CL_00001715"; - - - public EntityMiniNuke(World p_i1753_1_) - { - super(p_i1753_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - } - - public EntityMiniNuke(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) - { - super(p_i1754_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); - this.yOffset = 0.0F; - } - - public EntityMiniNuke(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) - { - super(p_i1755_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1755_2_; - - if (p_i1755_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; - double d0 = p_i1755_3_.posX - p_i1755_2_.posX; - double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; - double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; - double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); - - if (d3 >= 1.0E-7D) - { - float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; - float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); - double d4 = d0 / d3; - double d5 = d2 / d3; - this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); - this.yOffset = 0.0F; - float f4 = (float)d3 * 0.2F; - this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); - } - } - - public EntityMiniNuke(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) - { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - if (p_i1756_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - } - - public EntityMiniNuke(World world, int x, int y, int z, double mx, double my, double mz, double grav) { - super(world); - this.posX = x + 0.5F; - this.posY = y + 0.5F; - this.posZ = z + 0.5F; - - this.motionX = mx; - this.motionY = my; - this.motionZ = mz; - - this.gravity = grav; - } - - @Override - protected void entityInit() - { - this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); - } - - /** - * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. - */ - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) - { - float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); - p_70186_1_ /= f2; - p_70186_3_ /= f2; - p_70186_5_ /= f2; - p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_1_ *= p_70186_7_; - p_70186_3_ *= p_70186_7_; - p_70186_5_ *= p_70186_7_; - this.motionX = p_70186_1_; - this.motionY = p_70186_3_; - this.motionZ = p_70186_5_; - float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); - this.ticksInGround = 0; - } - - /** - * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, - * posY, posZ, yaw, pitch - */ - @Override - @SideOnly(Side.CLIENT) - public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) - { - this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); - this.setRotation(p_70056_7_, p_70056_8_); - } - - /** - * Sets the velocity to the args. Args: x, y, z - */ - @Override - @SideOnly(Side.CLIENT) - public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) - { - this.motionX = p_70016_1_; - this.motionY = p_70016_3_; - this.motionZ = p_70016_5_; - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch; - this.prevRotationYaw = this.rotationYaw; - this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - this.ticksInGround = 0; - } - } - - /** - * Called to update the entity's position/logic. - */ - //@Override - @Override - public void onUpdate() - { - super.onUpdate(); - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); - } - - Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block.getMaterial() != Material.air) - { - block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) - { - this.inGround = true; - } - } - - if (this.arrowShake > 0) - { - --this.arrowShake; - } - - if (this.inGround) - { - if (!this.worldObj.isRemote) - { - EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(this.worldObj); - entity0.posX = this.posX; - entity0.posY = this.posY; - entity0.posZ = this.posZ; - entity0.destructionRange = MainRegistry.fatmanRadius; - entity0.speed = 25; - entity0.coefficient = 10.0F; - - this.worldObj.spawnEntityInWorld(entity0); - if(rand.nextInt(100) == 0) - { - ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); - } else { - ExplosionParticle.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); - } - } - this.setDead(); - } - else - { - ++this.ticksInAir; - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - - if (movingobjectposition != null) - { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) - { - Entity entity1 = (Entity)list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) - { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) - { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) - { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) - { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) - { - EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; - - if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) - { - movingobjectposition = null; - } - } - - float f2; - float f4; - - if (movingobjectposition != null) - { - if (movingobjectposition.entityHit != null) - { - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - int k = MathHelper.ceiling_double_int(f2 * this.damage); - - if (this.getIsCritical()) - { - k += this.rand.nextInt(k / 2 + 2); - } - - DamageSource damagesource = null; - - if (this.shootingEntity == null) - { - damagesource = DamageSource.causeIndirectMagicDamage(this, this); - } - else - { - damagesource = DamageSource.causeIndirectMagicDamage(this, this); - } - - if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) - { - movingobjectposition.entityHit.setFire(5); - } - - if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) - { - if (movingobjectposition.entityHit instanceof EntityLivingBase) - { - EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; - - if (this.knockbackStrength > 0) - { - f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - - if (f4 > 0.0F) - { - movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); - } - } - - if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) - { - EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); - EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); - } - - if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) - { - ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); - } - } - - if (!(movingobjectposition.entityHit instanceof EntityEnderman)) - { - if (!this.worldObj.isRemote) - { - EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(this.worldObj); - entity0.posX = this.posX; - entity0.posY = this.posY; - entity0.posZ = this.posZ; - entity0.destructionRange = MainRegistry.fatmanRadius; - entity0.speed = 25; - entity0.coefficient = 10.0F; - - this.worldObj.spawnEntityInWorld(entity0); - if(rand.nextInt(100) == 0) - { - ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); - } else { - ExplosionParticle.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); - } - } - this.setDead(); - } - } - else - { - this.motionX *= -0.10000000149011612D; - this.motionY *= -0.10000000149011612D; - this.motionZ *= -0.10000000149011612D; - this.rotationYaw += 180.0F; - this.prevRotationYaw += 180.0F; - this.ticksInAir = 0; - } - } - else - { - this.field_145791_d = movingobjectposition.blockX; - this.field_145792_e = movingobjectposition.blockY; - this.field_145789_f = movingobjectposition.blockZ; - this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); - this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); - this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - this.posX -= this.motionX / f2 * 0.05000000074505806D; - this.posY -= this.motionY / f2 * 0.05000000074505806D; - this.posZ -= this.motionZ / f2 * 0.05000000074505806D; - this.inGround = true; - this.arrowShake = 7; - this.setIsCritical(false); - - if (this.field_145790_g.getMaterial() != Material.air) - { - this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); - } - } - } - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - for (this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f2) * 180.0D / Math.PI); this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) - { - ; - } - - while (this.rotationPitch - this.prevRotationPitch >= 180.0F) - { - this.prevRotationPitch += 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw < -180.0F) - { - this.prevRotationYaw -= 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw >= 180.0F) - { - this.prevRotationYaw += 360.0F; - } - - this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - this.prevRotationPitch) * 0.2F; - this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - this.prevRotationYaw) * 0.2F; - float f3 = 0.99F; - f1 = 0.05F; - - if (this.isInWater()) - { - for (int l = 0; l < 4; ++l) - { - f4 = 0.25F; - this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); - } - - f3 = 0.8F; - } - - if (this.isWet()) - { - this.extinguish(); - } - - this.motionX *= f3; - this.motionY *= f3; - this.motionZ *= f3; - this.motionY -= 0.15D; - this.setPosition(this.posX, this.posY, this.posZ); - this.func_145775_I(); - } - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) - { - p_70014_1_.setShort("xTile", (short)this.field_145791_d); - p_70014_1_.setShort("yTile", (short)this.field_145792_e); - p_70014_1_.setShort("zTile", (short)this.field_145789_f); - p_70014_1_.setShort("life", (short)this.ticksInGround); - p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); - p_70014_1_.setByte("inData", (byte)this.inData); - p_70014_1_.setByte("shake", (byte)this.arrowShake); - p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); - p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); - p_70014_1_.setDouble("damage", this.damage); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) - { - this.field_145791_d = p_70037_1_.getShort("xTile"); - this.field_145792_e = p_70037_1_.getShort("yTile"); - this.field_145789_f = p_70037_1_.getShort("zTile"); - this.ticksInGround = p_70037_1_.getShort("life"); - this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); - this.inData = p_70037_1_.getByte("inData") & 255; - this.arrowShake = p_70037_1_.getByte("shake") & 255; - this.inGround = p_70037_1_.getByte("inGround") == 1; - - if (p_70037_1_.hasKey("damage", 99)) - { - this.damage = p_70037_1_.getDouble("damage"); - } - - if (p_70037_1_.hasKey("pickup", 99)) - { - this.canBePickedUp = p_70037_1_.getByte("pickup"); - } - else if (p_70037_1_.hasKey("player", 99)) - { - this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; - } - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to - * prevent them from trampling crops - */ - @Override - protected boolean canTriggerWalking() - { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public float getShadowSize() - { - return 0.0F; - } - - public void setDamage(double p_70239_1_) - { - this.damage = p_70239_1_; - } - - public double getDamage() - { - return this.damage; - } - - /** - * Sets the amount of knockback the arrow applies when it hits a mob. - */ - public void setKnockbackStrength(int p_70240_1_) - { - this.knockbackStrength = p_70240_1_; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - @Override - public boolean canAttackWithItem() - { - return false; - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public void setIsCritical(boolean p_70243_1_) - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - - if (p_70243_1_) - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); - } - else - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); - } - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public boolean getIsCritical() - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - return (b0 & 1) != 0; - } -} +package com.hbm.entity.projectile; + +import java.util.List; + +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionParticle; +import com.hbm.explosion.ExplosionParticleB; +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityMiniNuke extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntityMiniNuke(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityMiniNuke(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityMiniNuke(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityMiniNuke(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityMiniNuke(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) + { + this.inGround = true; + } + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + + if (this.inGround) + { + if (!this.worldObj.isRemote) + { + EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(this.worldObj); + entity0.posX = this.posX; + entity0.posY = this.posY; + entity0.posZ = this.posZ; + entity0.destructionRange = MainRegistry.fatmanRadius; + entity0.speed = 25; + entity0.coefficient = 10.0F; + + this.worldObj.spawnEntityInWorld(entity0); + if(rand.nextInt(100) == 0) + { + ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); + } else { + ExplosionParticle.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); + } + } + this.setDead(); + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.causeIndirectMagicDamage(this, this); + } + else + { + damagesource = DamageSource.causeIndirectMagicDamage(this, this); + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote) + { + EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(this.worldObj); + entity0.posX = this.posX; + entity0.posY = this.posY; + entity0.posZ = this.posZ; + entity0.destructionRange = MainRegistry.fatmanRadius; + entity0.speed = 25; + entity0.coefficient = 10.0F; + + this.worldObj.spawnEntityInWorld(entity0); + if(rand.nextInt(100) == 0) + { + ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); + } else { + ExplosionParticle.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ); + } + } + this.setDead(); + } + } + else + { + this.motionX *= -0.10000000149011612D; + this.motionY *= -0.10000000149011612D; + this.motionZ *= -0.10000000149011612D; + this.rotationYaw += 180.0F; + this.prevRotationYaw += 180.0F; + this.ticksInAir = 0; + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); + this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); + this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + this.posX -= this.motionX / f2 * 0.05000000074505806D; + this.posY -= this.motionY / f2 * 0.05000000074505806D; + this.posZ -= this.motionZ / f2 * 0.05000000074505806D; + this.inGround = true; + this.arrowShake = 7; + this.setIsCritical(false); + + if (this.field_145790_g.getMaterial() != Material.air) + { + this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); + } + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + for (this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f2) * 180.0D / Math.PI); this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) + { + ; + } + + while (this.rotationPitch - this.prevRotationPitch >= 180.0F) + { + this.prevRotationPitch += 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw < -180.0F) + { + this.prevRotationYaw -= 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw >= 180.0F) + { + this.prevRotationYaw += 360.0F; + } + + this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - this.prevRotationPitch) * 0.2F; + this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - this.prevRotationYaw) * 0.2F; + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + for (int l = 0; l < 4; ++l) + { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.motionX *= f3; + this.motionY *= f3; + this.motionZ *= f3; + this.motionY -= 0.15D; + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } +} diff --git a/com/hbm/entity/projectile/EntityNightmareBlast.java b/com/hbm/entity/projectile/EntityNightmareBlast.java new file mode 100644 index 000000000..cdf0a1c13 --- /dev/null +++ b/com/hbm/entity/projectile/EntityNightmareBlast.java @@ -0,0 +1,541 @@ +package com.hbm.entity.projectile; + +import java.util.List; + +import com.hbm.entity.grenade.EntityGrenadeZOMG; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.items.ModItems; +import com.hbm.lib.ModDamageSource; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityNightmareBlast extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntityNightmareBlast(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityNightmareBlast(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityNightmareBlast(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityNightmareBlast(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, EntityGrenadeZOMG grenade) { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(grenade.posX, grenade.posY + grenade.getEyeHeight(), grenade.posZ, + grenade.rotationYaw, grenade.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityNightmareBlast(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityNightmareBlast(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if(this.ticksExisted > 100) + this.setDead(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + if(!worldObj.isRemote) { + this.worldObj.setBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f, Blocks.air); + this.setDead(); + } + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.generic; + } + else + { + damagesource = ModDamageSource.generic; + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) + { + movingobjectposition.entityHit.attackEntityFrom(damagesource, (float) this.damage); + if(!worldObj.isRemote) + this.worldObj.setBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f, Blocks.air); + this.setDead(); + } + } + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + for (int l = 0; l < 4; ++l) + { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } +} diff --git a/com/hbm/entity/projectile/EntityRainbow.java b/com/hbm/entity/projectile/EntityRainbow.java index d89429dc2..81b571841 100644 --- a/com/hbm/entity/projectile/EntityRainbow.java +++ b/com/hbm/entity/projectile/EntityRainbow.java @@ -1,560 +1,560 @@ -package com.hbm.entity.projectile; - -import java.util.List; - -import com.hbm.entity.grenade.EntityGrenadeZOMG; -import com.hbm.explosion.ExplosionChaos; -import com.hbm.items.ModItems; -import com.hbm.lib.ModDamageSource; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.monster.EntityEnderman; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.network.play.server.S2BPacketChangeGameState; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class EntityRainbow extends Entity implements IProjectile -{ - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - public double gravity = 0.0D; - private Block field_145790_g; - private int inData; - private boolean inGround; - /** 1 if the player can pick up the arrow */ - public int canBePickedUp; - /** Seems to be some sort of timer for animating an arrow. */ - public int arrowShake; - /** The owner of this arrow. */ - public Entity shootingEntity; - private int ticksInGround; - private int ticksInAir; - private double damage = 2.0D; - /** The amount of knockback an arrow applies when it hits a mob. */ - private int knockbackStrength; - private static final String __OBFID = "CL_00001715"; - - - public EntityRainbow(World p_i1753_1_) - { - super(p_i1753_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - } - - public EntityRainbow(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) - { - super(p_i1754_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); - this.yOffset = 0.0F; - } - - public EntityRainbow(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) - { - super(p_i1755_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1755_2_; - - if (p_i1755_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; - double d0 = p_i1755_3_.posX - p_i1755_2_.posX; - double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; - double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; - double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); - - if (d3 >= 1.0E-7D) - { - float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; - float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); - double d4 = d0 / d3; - double d5 = d2 / d3; - this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); - this.yOffset = 0.0F; - float f4 = (float)d3 * 0.2F; - this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); - } - } - - public EntityRainbow(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, EntityGrenadeZOMG grenade) { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(grenade.posX, grenade.posY + grenade.getEyeHeight(), grenade.posZ, - grenade.rotationYaw, grenade.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) - * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) - * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - } - - public EntityRainbow(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) - { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - } - - public EntityRainbow(World world, int x, int y, int z, double mx, double my, double mz, double grav) { - super(world); - this.posX = x + 0.5F; - this.posY = y + 0.5F; - this.posZ = z + 0.5F; - - this.motionX = mx; - this.motionY = my; - this.motionZ = mz; - - this.gravity = grav; - } - - @Override - protected void entityInit() - { - this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); - this.dataWatcher.addObject(20, Byte.valueOf((byte)0)); - this.dataWatcher.addObject(21, Byte.valueOf((byte)0)); - this.dataWatcher.addObject(22, Byte.valueOf((byte)0)); - } - - /** - * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. - */ - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) - { - float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); - p_70186_1_ /= f2; - p_70186_3_ /= f2; - p_70186_5_ /= f2; - p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; - p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; - p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; - p_70186_1_ *= p_70186_7_; - p_70186_3_ *= p_70186_7_; - p_70186_5_ *= p_70186_7_; - this.motionX = p_70186_1_; - this.motionY = p_70186_3_; - this.motionZ = p_70186_5_; - float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); - this.ticksInGround = 0; - this.randomizeColor(); - } - - /** - * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, - * posY, posZ, yaw, pitch - */ - @Override - @SideOnly(Side.CLIENT) - public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) - { - this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); - this.setRotation(p_70056_7_, p_70056_8_); - } - - /** - * Sets the velocity to the args. Args: x, y, z - */ - @Override - @SideOnly(Side.CLIENT) - public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) - { - this.motionX = p_70016_1_; - this.motionY = p_70016_3_; - this.motionZ = p_70016_5_; - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch; - this.prevRotationYaw = this.rotationYaw; - this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - this.ticksInGround = 0; - } - } - - /** - * Called to update the entity's position/logic. - */ - //@Override - @Override - public void onUpdate() - { - super.onUpdate(); - - if(this.ticksExisted > 100) - this.setDead(); - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); - } - - Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block.getMaterial() != Material.air) - { - block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - if(!worldObj.isRemote) - ExplosionChaos.explodeZOMG(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); - } - - if (this.arrowShake > 0) - { - --this.arrowShake; - } - else - { - ++this.ticksInAir; - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - - if (movingobjectposition != null) - { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) - { - Entity entity1 = (Entity)list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) - { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) - { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) - { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) - { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) - { - EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; - - if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) - { - movingobjectposition = null; - } - } - - float f2; - float f4; - - if (movingobjectposition != null) - { - if (movingobjectposition.entityHit != null) - { - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - int k = MathHelper.ceiling_double_int(f2 * this.damage); - - if (this.getIsCritical()) - { - k += this.rand.nextInt(k / 2 + 2); - } - - DamageSource damagesource = null; - - if (this.shootingEntity == null) - { - damagesource = DamageSource.generic; - } - else - { - int j = rand.nextInt(5); - - if(j == 0) - damagesource = ModDamageSource.causeSubatomicDamage(this, this.shootingEntity); - else if(j == 1) - damagesource = ModDamageSource.causeSubatomicDamage2(this, this.shootingEntity); - else if(j == 2) - damagesource = ModDamageSource.causeSubatomicDamage3(this, this.shootingEntity); - else if(j == 3) - damagesource = ModDamageSource.causeSubatomicDamage4(this, this.shootingEntity); - else - damagesource = ModDamageSource.causeSubatomicDamage5(this, this.shootingEntity); - } - - if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) - { - movingobjectposition.entityHit.setFire(5); - } - - if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) - { - if (movingobjectposition.entityHit instanceof EntityLivingBase) - { - EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; - - if (this.knockbackStrength > 0) - { - f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - - if (f4 > 0.0F) - { - movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); - } - } - - if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) - { - EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); - EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); - } - - if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) - { - ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); - } - } - - if (!(movingobjectposition.entityHit instanceof EntityEnderman)) - { - if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) - { - movingobjectposition.entityHit.attackEntityFrom(damagesource, 100000F); - if(!worldObj.isRemote) - ExplosionChaos.explodeZOMG(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); - } - } - } - } - else - { - this.field_145791_d = movingobjectposition.blockX; - this.field_145792_e = movingobjectposition.blockY; - this.field_145789_f = movingobjectposition.blockZ; - this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - } - } - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - float f3 = 0.99F; - f1 = 0.05F; - - if (this.isInWater()) - { - for (int l = 0; l < 4; ++l) - { - f4 = 0.25F; - this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); - } - - f3 = 0.8F; - } - - if (this.isWet()) - { - this.extinguish(); - } - - this.setPosition(this.posX, this.posY, this.posZ); - this.func_145775_I(); - } - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) - { - p_70014_1_.setShort("xTile", (short)this.field_145791_d); - p_70014_1_.setShort("yTile", (short)this.field_145792_e); - p_70014_1_.setShort("zTile", (short)this.field_145789_f); - p_70014_1_.setShort("life", (short)this.ticksInGround); - p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); - p_70014_1_.setByte("inData", (byte)this.inData); - p_70014_1_.setByte("shake", (byte)this.arrowShake); - p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); - p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); - p_70014_1_.setDouble("damage", this.damage); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) - { - this.field_145791_d = p_70037_1_.getShort("xTile"); - this.field_145792_e = p_70037_1_.getShort("yTile"); - this.field_145789_f = p_70037_1_.getShort("zTile"); - this.ticksInGround = p_70037_1_.getShort("life"); - this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); - this.inData = p_70037_1_.getByte("inData") & 255; - this.arrowShake = p_70037_1_.getByte("shake") & 255; - this.inGround = p_70037_1_.getByte("inGround") == 1; - - if (p_70037_1_.hasKey("damage", 99)) - { - this.damage = p_70037_1_.getDouble("damage"); - } - - if (p_70037_1_.hasKey("pickup", 99)) - { - this.canBePickedUp = p_70037_1_.getByte("pickup"); - } - else if (p_70037_1_.hasKey("player", 99)) - { - this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; - } - - this.randomizeColor(); - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to - * prevent them from trampling crops - */ - @Override - protected boolean canTriggerWalking() - { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public float getShadowSize() - { - return 0.0F; - } - - public void setDamage(double p_70239_1_) - { - this.damage = p_70239_1_; - } - - public double getDamage() - { - return this.damage; - } - - /** - * Sets the amount of knockback the arrow applies when it hits a mob. - */ - public void setKnockbackStrength(int p_70240_1_) - { - this.knockbackStrength = p_70240_1_; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - @Override - public boolean canAttackWithItem() - { - return false; - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public void setIsCritical(boolean p_70243_1_) - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - - if (p_70243_1_) - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); - } - else - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); - } - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public boolean getIsCritical() - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - return (b0 & 1) != 0; - } - - public void randomizeColor() { - this.dataWatcher.updateObject(20, (byte)rand.nextInt(2)); - this.dataWatcher.updateObject(21, (byte)rand.nextInt(2)); - this.dataWatcher.updateObject(22, (byte)rand.nextInt(2)); - } -} +package com.hbm.entity.projectile; + +import java.util.List; + +import com.hbm.entity.grenade.EntityGrenadeZOMG; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.items.ModItems; +import com.hbm.lib.ModDamageSource; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityRainbow extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntityRainbow(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityRainbow(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityRainbow(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityRainbow(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_, int dmgMin, int dmgMax, EntityGrenadeZOMG grenade) { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(grenade.posX, grenade.posY + grenade.getEyeHeight(), grenade.posZ, + grenade.rotationYaw, grenade.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float) Math.PI) + * MathHelper.cos(this.rotationPitch / 180.0F * (float) Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float) Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityRainbow(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityRainbow(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + this.dataWatcher.addObject(20, Byte.valueOf((byte)0)); + this.dataWatcher.addObject(21, Byte.valueOf((byte)0)); + this.dataWatcher.addObject(22, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.054499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + this.randomizeColor(); + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if(this.ticksExisted > 100) + this.setDead(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + if(!worldObj.isRemote) + ExplosionChaos.explodeZOMG(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.generic; + } + else + { + int j = rand.nextInt(5); + + if(j == 0) + damagesource = ModDamageSource.causeSubatomicDamage(this, this.shootingEntity); + else if(j == 1) + damagesource = ModDamageSource.causeSubatomicDamage2(this, this.shootingEntity); + else if(j == 2) + damagesource = ModDamageSource.causeSubatomicDamage3(this, this.shootingEntity); + else if(j == 3) + damagesource = ModDamageSource.causeSubatomicDamage4(this, this.shootingEntity); + else + damagesource = ModDamageSource.causeSubatomicDamage5(this, this.shootingEntity); + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote && movingobjectposition.entityHit instanceof EntityLivingBase) + { + movingobjectposition.entityHit.attackEntityFrom(damagesource, 100000F); + if(!worldObj.isRemote) + ExplosionChaos.explodeZOMG(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 5); + } + } + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + for (int l = 0; l < 4; ++l) + { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + + this.randomizeColor(); + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } + + public void randomizeColor() { + this.dataWatcher.updateObject(20, (byte)rand.nextInt(2)); + this.dataWatcher.updateObject(21, (byte)rand.nextInt(2)); + this.dataWatcher.updateObject(22, (byte)rand.nextInt(2)); + } +} diff --git a/com/hbm/entity/projectile/EntityRocket.java b/com/hbm/entity/projectile/EntityRocket.java index e453e1c79..54d2102b8 100644 --- a/com/hbm/entity/projectile/EntityRocket.java +++ b/com/hbm/entity/projectile/EntityRocket.java @@ -1,640 +1,644 @@ -package com.hbm.entity.projectile; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -import java.util.List; - -import com.hbm.items.ModItems; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.monster.EntityEnderman; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.network.play.server.S2BPacketChangeGameState; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class EntityRocket extends Entity implements IProjectile -{ - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - public double gravity = 0.0D; - private Block field_145790_g; - private int inData; - private boolean inGround; - /** 1 if the player can pick up the arrow */ - public int canBePickedUp; - /** Seems to be some sort of timer for animating an arrow. */ - public int arrowShake; - /** The owner of this arrow. */ - public Entity shootingEntity; - private int ticksInGround; - private int ticksInAir; - private double damage = 2.0D; - /** The amount of knockback an arrow applies when it hits a mob. */ - private int knockbackStrength; - private static final String __OBFID = "CL_00001715"; - - - public EntityRocket(World p_i1753_1_) - { - super(p_i1753_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - } - - public EntityRocket(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) - { - super(p_i1754_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); - this.yOffset = 0.0F; - } - - public EntityRocket(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) - { - super(p_i1755_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1755_2_; - - if (p_i1755_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; - double d0 = p_i1755_3_.posX - p_i1755_2_.posX; - double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; - double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; - double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); - - if (d3 >= 1.0E-7D) - { - float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; - float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); - double d4 = d0 / d3; - double d5 = d2 / d3; - this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); - this.yOffset = 0.0F; - float f4 = (float)d3 * 0.2F; - this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); - } - } - - public EntityRocket(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) - { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - if (p_i1756_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - } - - public EntityRocket(World world, int x, int y, int z, double mx, double my, double mz, double grav) { - super(world); - this.posX = x + 0.5F; - this.posY = y + 0.5F; - this.posZ = z + 0.5F; - - this.motionX = mx; - this.motionY = my; - this.motionZ = mz; - - this.gravity = grav; - } - - @Override - protected void entityInit() - { - this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); - } - - /** - * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. - */ - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) - { - float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); - p_70186_1_ /= f2; - p_70186_3_ /= f2; - p_70186_5_ /= f2; - p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_1_ *= p_70186_7_; - p_70186_3_ *= p_70186_7_; - p_70186_5_ *= p_70186_7_; - this.motionX = p_70186_1_; - this.motionY = p_70186_3_; - this.motionZ = p_70186_5_; - float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); - this.ticksInGround = 0; - } - - /** - * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, - * posY, posZ, yaw, pitch - */ - @Override - @SideOnly(Side.CLIENT) - public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) - { - this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); - this.setRotation(p_70056_7_, p_70056_8_); - } - - /** - * Sets the velocity to the args. Args: x, y, z - */ - @Override - @SideOnly(Side.CLIENT) - public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) - { - this.motionX = p_70016_1_; - this.motionY = p_70016_3_; - this.motionZ = p_70016_5_; - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch; - this.prevRotationYaw = this.rotationYaw; - this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - this.ticksInGround = 0; - } - } - - /** - * Called to update the entity's position/logic. - */ - //@Override - @Override - public void onUpdate() - { - super.onUpdate(); - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); - } - - Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block.getMaterial() != Material.air) - { - block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) - { - this.inGround = true; - } - } - - if (this.arrowShake > 0) - { - --this.arrowShake; - } - - if (this.inGround) - { - /*int j = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block == this.field_145790_g && j == this.inData) - { - ++this.ticksInGround; - - if (this.ticksInGround == 1200) - { - this.setDead(); - } - } - else - { - this.inGround = false; - this.motionX *= (double)(this.rand.nextFloat() * 0.2F); - this.motionY *= (double)(this.rand.nextFloat() * 0.2F); - this.motionZ *= (double)(this.rand.nextFloat() * 0.2F); - this.ticksInGround = 0; - this.ticksInAir = 0; - }*/ - - - if (!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); - /*EntityNukeExplosionAdvanced explosion = new EntityNukeExplosionAdvanced(this.worldObj); - explosion.speed = 25; - explosion.coefficient = 5.0F; - explosion.destructionRange = 20; - explosion.posX = this.posX; - explosion.posY = this.posY; - explosion.posZ = this.posZ; - this.worldObj.spawnEntityInWorld(explosion);*/ - } - this.setDead(); - } - else - { - ++this.ticksInAir; - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - - if (movingobjectposition != null) - { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) - { - Entity entity1 = (Entity)list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) - { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) - { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) - { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) - { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) - { - EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; - - if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) - { - movingobjectposition = null; - } - } - - float f2; - float f4; - - if (movingobjectposition != null) - { - if (movingobjectposition.entityHit != null) - { - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - int k = MathHelper.ceiling_double_int(f2 * this.damage); - - if (this.getIsCritical()) - { - k += this.rand.nextInt(k / 2 + 2); - } - - DamageSource damagesource = null; - - if (this.shootingEntity == null) - { - damagesource = DamageSource.causeIndirectMagicDamage(this, this); - } - else - { - damagesource = DamageSource.causeIndirectMagicDamage(this, this); - } - - if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) - { - movingobjectposition.entityHit.setFire(5); - } - - if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) - { - if (movingobjectposition.entityHit instanceof EntityLivingBase) - { - EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; - - if (this.knockbackStrength > 0) - { - f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - - if (f4 > 0.0F) - { - movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); - } - } - - if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) - { - EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); - EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); - } - - if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) - { - ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); - } - } - - if (!(movingobjectposition.entityHit instanceof EntityEnderman)) - { - if (!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); - } - this.setDead(); - } - } - else - { - if (!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); - } - this.setDead(); - } - } - else - { - this.field_145791_d = movingobjectposition.blockX; - this.field_145792_e = movingobjectposition.blockY; - this.field_145789_f = movingobjectposition.blockZ; - this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); - this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); - this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - this.posX -= this.motionX / f2 * 0.05000000074505806D; - this.posY -= this.motionY / f2 * 0.05000000074505806D; - this.posZ -= this.motionZ / f2 * 0.05000000074505806D; - this.inGround = true; - this.arrowShake = 7; - this.setIsCritical(false); - - if (this.field_145790_g.getMaterial() != Material.air) - { - this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); - } - } - } - - if (true) - { - for (i = 0; i < 4; ++i) - { - this.worldObj.spawnParticle("smoke", this.posX, this.posY, this.posZ, /*0, 0, 0 this.posX + this.motionX * (double)i / 4.0D, this.posY + this.motionY * (double)i / 4.0D, this.posZ + this.motionZ * (double)i / 4.0D,*/ -this.motionX/4, -this.motionY/4, -this.motionZ/4); - } - } - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - //for (this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f2) * 180.0D / Math.PI); this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) - { - ; - } - - /*while (this.rotationPitch - this.prevRotationPitch >= 180.0F) - { - this.prevRotationPitch += 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw < -180.0F) - { - this.prevRotationYaw -= 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw >= 180.0F) - { - this.prevRotationYaw += 360.0F; - }*/ - - //this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - this.prevRotationPitch) * 0.2F; - //this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - this.prevRotationYaw) * 0.2F; - float f3 = 0.99F; - f1 = 0.05F; - - if (this.isInWater()) - { - for (int l = 0; l < 4; ++l) - { - f4 = 0.25F; - this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); - } - - f3 = 0.8F; - } - - if (this.isWet()) - { - this.extinguish(); - } - - this.motionX *= f3; - this.motionY *= f3; - this.motionZ *= f3; - this.motionY -= gravity; - this.setPosition(this.posX, this.posY, this.posZ); - this.func_145775_I(); - } - - if (this.ticksExisted > 250) - this.setDead(); - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) - { - p_70014_1_.setShort("xTile", (short)this.field_145791_d); - p_70014_1_.setShort("yTile", (short)this.field_145792_e); - p_70014_1_.setShort("zTile", (short)this.field_145789_f); - p_70014_1_.setShort("life", (short)this.ticksInGround); - p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); - p_70014_1_.setByte("inData", (byte)this.inData); - p_70014_1_.setByte("shake", (byte)this.arrowShake); - p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); - p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); - p_70014_1_.setDouble("damage", this.damage); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) - { - this.field_145791_d = p_70037_1_.getShort("xTile"); - this.field_145792_e = p_70037_1_.getShort("yTile"); - this.field_145789_f = p_70037_1_.getShort("zTile"); - this.ticksInGround = p_70037_1_.getShort("life"); - this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); - this.inData = p_70037_1_.getByte("inData") & 255; - this.arrowShake = p_70037_1_.getByte("shake") & 255; - this.inGround = p_70037_1_.getByte("inGround") == 1; - - if (p_70037_1_.hasKey("damage", 99)) - { - this.damage = p_70037_1_.getDouble("damage"); - } - - if (p_70037_1_.hasKey("pickup", 99)) - { - this.canBePickedUp = p_70037_1_.getByte("pickup"); - } - else if (p_70037_1_.hasKey("player", 99)) - { - this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; - } - } - - /** - * Called by a player entity when they collide with an entity - */ - @Override - public void onCollideWithPlayer(EntityPlayer p_70100_1_) - { - if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) - { - boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; - - if (this.canBePickedUp == 1 && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) - { - flag = false; - } - - if (flag) - { - p_70100_1_.onItemPickup(this, 1); - this.setDead(); - } - } - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to - * prevent them from trampling crops - */ - @Override - protected boolean canTriggerWalking() - { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public float getShadowSize() - { - return 0.0F; - } - - public void setDamage(double p_70239_1_) - { - this.damage = p_70239_1_; - } - - public double getDamage() - { - return this.damage; - } - - /** - * Sets the amount of knockback the arrow applies when it hits a mob. - */ - public void setKnockbackStrength(int p_70240_1_) - { - this.knockbackStrength = p_70240_1_; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - @Override - public boolean canAttackWithItem() - { - return false; - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public void setIsCritical(boolean p_70243_1_) - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - - if (p_70243_1_) - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); - } - else - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); - } - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public boolean getIsCritical() - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - return (b0 & 1) != 0; - } +package com.hbm.entity.projectile; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +import java.util.List; + +import com.hbm.explosion.ExplosionLarge; +import com.hbm.items.ModItems; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class EntityRocket extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntityRocket(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntityRocket(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntityRocket(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntityRocket(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntityRocket(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) + { + this.inGround = true; + } + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + + if (this.inGround) + { + /*int j = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block == this.field_145790_g && j == this.inData) + { + ++this.ticksInGround; + + if (this.ticksInGround == 1200) + { + this.setDead(); + } + } + else + { + this.inGround = false; + this.motionX *= (double)(this.rand.nextFloat() * 0.2F); + this.motionY *= (double)(this.rand.nextFloat() * 0.2F); + this.motionZ *= (double)(this.rand.nextFloat() * 0.2F); + this.ticksInGround = 0; + this.ticksInAir = 0; + }*/ + + + if (!this.worldObj.isRemote) + { + //this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); + ExplosionLarge.explode(worldObj, posX, posY, posZ, 5, true, false, true); + /*EntityNukeExplosionAdvanced explosion = new EntityNukeExplosionAdvanced(this.worldObj); + explosion.speed = 25; + explosion.coefficient = 5.0F; + explosion.destructionRange = 20; + explosion.posX = this.posX; + explosion.posY = this.posY; + explosion.posZ = this.posZ; + this.worldObj.spawnEntityInWorld(explosion);*/ + } + this.setDead(); + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.causeIndirectMagicDamage(this, this); + } + else + { + damagesource = DamageSource.causeIndirectMagicDamage(this, this); + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote) + { + //this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); + ExplosionLarge.explode(worldObj, posX, posY, posZ, 5, true, false, true); + } + this.setDead(); + } + } + else + { + if (!this.worldObj.isRemote) + { + //this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); + ExplosionLarge.explode(worldObj, posX, posY, posZ, 5, true, false, true); + } + this.setDead(); + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); + this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); + this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + this.posX -= this.motionX / f2 * 0.05000000074505806D; + this.posY -= this.motionY / f2 * 0.05000000074505806D; + this.posZ -= this.motionZ / f2 * 0.05000000074505806D; + this.inGround = true; + this.arrowShake = 7; + this.setIsCritical(false); + + if (this.field_145790_g.getMaterial() != Material.air) + { + this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); + } + } + } + + if (true) + { + for (i = 0; i < 4; ++i) + { + this.worldObj.spawnParticle("smoke", this.posX, this.posY, this.posZ, /*0, 0, 0 this.posX + this.motionX * (double)i / 4.0D, this.posY + this.motionY * (double)i / 4.0D, this.posZ + this.motionZ * (double)i / 4.0D,*/ -this.motionX/4, -this.motionY/4, -this.motionZ/4); + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + //for (this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f2) * 180.0D / Math.PI); this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) + { + ; + } + + /*while (this.rotationPitch - this.prevRotationPitch >= 180.0F) + { + this.prevRotationPitch += 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw < -180.0F) + { + this.prevRotationYaw -= 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw >= 180.0F) + { + this.prevRotationYaw += 360.0F; + }*/ + + //this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - this.prevRotationPitch) * 0.2F; + //this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - this.prevRotationYaw) * 0.2F; + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + for (int l = 0; l < 4; ++l) + { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.motionX *= f3; + this.motionY *= f3; + this.motionZ *= f3; + this.motionY -= gravity; + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + + if (this.ticksExisted > 250) + this.setDead(); + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * Called by a player entity when they collide with an entity + */ + @Override + public void onCollideWithPlayer(EntityPlayer p_70100_1_) + { + if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) + { + boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; + + if (this.canBePickedUp == 1 && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) + { + flag = false; + } + + if (flag) + { + p_70100_1_.onItemPickup(this, 1); + this.setDead(); + } + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } } \ No newline at end of file diff --git a/com/hbm/entity/projectile/EntityRubble.java b/com/hbm/entity/projectile/EntityRubble.java new file mode 100644 index 000000000..139166112 --- /dev/null +++ b/com/hbm/entity/projectile/EntityRubble.java @@ -0,0 +1,72 @@ +package com.hbm.entity.projectile; + +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityRubble extends EntityThrowable { + + public EntityRubble(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityRubble(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public void entityInit() { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + public EntityRubble(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 15; + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if(this.ticksExisted > 5) { + this.setDead(); + if(!this.worldObj.isRemote) + worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 0.1F, true); + } + } + + public void setMetaBasedOnMat(Material mat) { + if(mat == Material.anvil || mat == Material.iron) + this.dataWatcher.updateObject(16, (byte)0); + else if(mat == Material.rock || mat == Material.piston || mat == Material.redstoneLight) + this.dataWatcher.updateObject(16, (byte)1); + else if(mat == Material.cactus || mat == Material.coral || mat == Material.gourd || mat == Material.leaves || mat == Material.plants || mat == Material.sponge) + this.dataWatcher.updateObject(16, (byte)2); + else if(mat == Material.clay || mat == Material.sand) + this.dataWatcher.updateObject(16, (byte)3); + else if(mat == Material.ground || mat == Material.grass) + this.dataWatcher.updateObject(16, (byte)4); + else if(mat == Material.wood) + this.dataWatcher.updateObject(16, (byte)5); + else + this.dataWatcher.updateObject(16, (byte)6); + } +} diff --git a/com/hbm/entity/projectile/EntitySchrab.java b/com/hbm/entity/projectile/EntitySchrab.java index bbad604cd..e198b3009 100644 --- a/com/hbm/entity/projectile/EntitySchrab.java +++ b/com/hbm/entity/projectile/EntitySchrab.java @@ -1,643 +1,643 @@ -package com.hbm.entity.projectile; - -import java.util.List; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IProjectile; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.entity.monster.EntityEnderman; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.network.play.server.S2BPacketChangeGameState; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -import com.hbm.explosion.ExplosionChaos; -import com.hbm.explosion.ExplosionNukeGeneric; -import com.hbm.items.ModItems; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -public class EntitySchrab extends Entity implements IProjectile -{ - private int field_145791_d = -1; - private int field_145792_e = -1; - private int field_145789_f = -1; - public double gravity = 0.0D; - private Block field_145790_g; - private int inData; - private boolean inGround; - /** 1 if the player can pick up the arrow */ - public int canBePickedUp; - /** Seems to be some sort of timer for animating an arrow. */ - public int arrowShake; - /** The owner of this arrow. */ - public Entity shootingEntity; - private int ticksInGround; - private int ticksInAir; - private double damage = 2.0D; - /** The amount of knockback an arrow applies when it hits a mob. */ - private int knockbackStrength; - private static final String __OBFID = "CL_00001715"; - - - public EntitySchrab(World p_i1753_1_) - { - super(p_i1753_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - } - - public EntitySchrab(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) - { - super(p_i1754_1_); - this.renderDistanceWeight = 10.0D; - this.setSize(0.5F, 0.5F); - this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); - this.yOffset = 0.0F; - } - - public EntitySchrab(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) - { - super(p_i1755_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1755_2_; - - if (p_i1755_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; - double d0 = p_i1755_3_.posX - p_i1755_2_.posX; - double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; - double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; - double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); - - if (d3 >= 1.0E-7D) - { - float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; - float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); - double d4 = d0 / d3; - double d5 = d2 / d3; - this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); - this.yOffset = 0.0F; - float f4 = (float)d3 * 0.2F; - this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); - } - } - - public EntitySchrab(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) - { - super(p_i1756_1_); - this.renderDistanceWeight = 10.0D; - this.shootingEntity = p_i1756_2_; - - if (p_i1756_2_ instanceof EntityPlayer) - { - this.canBePickedUp = 1; - } - - this.setSize(0.5F, 0.5F); - this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); - this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.posY -= 0.10000000149011612D; - this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; - this.setPosition(this.posX, this.posY, this.posZ); - this.yOffset = 0.0F; - this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); - this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); - this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); - } - - public EntitySchrab(World world, int x, int y, int z, double mx, double my, double mz, double grav) { - super(world); - this.posX = x + 0.5F; - this.posY = y + 0.5F; - this.posZ = z + 0.5F; - - this.motionX = mx; - this.motionY = my; - this.motionZ = mz; - - this.gravity = grav; - } - - @Override - protected void entityInit() - { - this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); - } - - /** - * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. - */ - @Override - public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) - { - float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); - p_70186_1_ /= f2; - p_70186_3_ /= f2; - p_70186_5_ /= f2; - p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; - p_70186_1_ *= p_70186_7_; - p_70186_3_ *= p_70186_7_; - p_70186_5_ *= p_70186_7_; - this.motionX = p_70186_1_; - this.motionY = p_70186_3_; - this.motionZ = p_70186_5_; - float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); - this.ticksInGround = 0; - } - - /** - * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, - * posY, posZ, yaw, pitch - */ - @Override - @SideOnly(Side.CLIENT) - public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) - { - this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); - this.setRotation(p_70056_7_, p_70056_8_); - } - - /** - * Sets the velocity to the args. Args: x, y, z - */ - @Override - @SideOnly(Side.CLIENT) - public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) - { - this.motionX = p_70016_1_; - this.motionY = p_70016_3_; - this.motionZ = p_70016_5_; - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); - this.prevRotationPitch = this.rotationPitch; - this.prevRotationYaw = this.rotationYaw; - this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); - this.ticksInGround = 0; - } - } - - /** - * Called to update the entity's position/logic. - */ - //@Override - @Override - public void onUpdate() - { - super.onUpdate(); - - if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) - { - float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); - } - - Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block.getMaterial() != Material.air) - { - block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) - { - this.inGround = true; - } - } - - if (this.arrowShake > 0) - { - --this.arrowShake; - } - - if (this.inGround) - { - /*int j = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - - if (block == this.field_145790_g && j == this.inData) - { - ++this.ticksInGround; - - if (this.ticksInGround == 1200) - { - this.setDead(); - } - } - else - { - this.inGround = false; - this.motionX *= (double)(this.rand.nextFloat() * 0.2F); - this.motionY *= (double)(this.rand.nextFloat() * 0.2F); - this.motionZ *= (double)(this.rand.nextFloat() * 0.2F); - this.ticksInGround = 0; - this.ticksInAir = 0; - }*/ - - - if (!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); - ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); - ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 20); - ExplosionNukeGeneric.waste(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 20); - ExplosionChaos.poison(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 20); - } - this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY, this.posZ)); - this.setDead(); - } - else - { - ++this.ticksInAir; - Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); - vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); - vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - - if (movingobjectposition != null) - { - vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); - } - - Entity entity = null; - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); - double d0 = 0.0D; - int i; - float f1; - - for (i = 0; i < list.size(); ++i) - { - Entity entity1 = (Entity)list.get(i); - - if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) - { - f1 = 0.3F; - AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); - MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); - - if (movingobjectposition1 != null) - { - double d1 = vec31.distanceTo(movingobjectposition1.hitVec); - - if (d1 < d0 || d0 == 0.0D) - { - entity = entity1; - d0 = d1; - } - } - } - } - - if (entity != null) - { - movingobjectposition = new MovingObjectPosition(entity); - } - - if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) - { - EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; - - if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) - { - movingobjectposition = null; - } - } - - float f2; - float f4; - - if (movingobjectposition != null) - { - if (movingobjectposition.entityHit != null) - { - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - int k = MathHelper.ceiling_double_int(f2 * this.damage); - - if (this.getIsCritical()) - { - k += this.rand.nextInt(k / 2 + 2); - } - - DamageSource damagesource = null; - - if (this.shootingEntity == null) - { - damagesource = DamageSource.causeIndirectMagicDamage(this, this); - } - else - { - damagesource = DamageSource.causeIndirectMagicDamage(this, this); - } - - if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) - { - movingobjectposition.entityHit.setFire(5); - } - - if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) - { - if (movingobjectposition.entityHit instanceof EntityLivingBase) - { - EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; - - if (this.knockbackStrength > 0) - { - f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - - if (f4 > 0.0F) - { - movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); - } - } - - if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) - { - EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); - EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); - } - - if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) - { - ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); - } - } - - if (!(movingobjectposition.entityHit instanceof EntityEnderman)) - { - if (!this.worldObj.isRemote) - { - this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); - } - this.setDead(); - } - } - else - { - this.motionX *= -0.10000000149011612D; - this.motionY *= -0.10000000149011612D; - this.motionZ *= -0.10000000149011612D; - this.rotationYaw += 180.0F; - this.prevRotationYaw += 180.0F; - this.ticksInAir = 0; - } - } - else - { - this.field_145791_d = movingobjectposition.blockX; - this.field_145792_e = movingobjectposition.blockY; - this.field_145789_f = movingobjectposition.blockZ; - this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); - this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); - this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); - this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); - this.posX -= this.motionX / f2 * 0.05000000074505806D; - this.posY -= this.motionY / f2 * 0.05000000074505806D; - this.posZ -= this.motionZ / f2 * 0.05000000074505806D; - this.playSound("random.bowhit", 1.0F, 1.2F / (this.rand.nextFloat() * 0.2F + 0.9F)); - this.inGround = true; - this.arrowShake = 7; - this.setIsCritical(false); - - if (this.field_145790_g.getMaterial() != Material.air) - { - this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); - } - } - } - - if (true) - { - for (i = 0; i < 4; ++i) - { - this.worldObj.spawnParticle("smoke", this.posX, this.posY, this.posZ, 0, 0, 0 /*this.posX + this.motionX * (double)i / 4.0D, this.posY + this.motionY * (double)i / 4.0D, this.posZ + this.motionZ * (double)i / 4.0D, -this.motionX, -this.motionY + 0.2D, -this.motionZ*/); - } - } - - this.posX += this.motionX; - this.posY += this.motionY; - this.posZ += this.motionZ; - f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); - this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); - - //for (this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f2) * 180.0D / Math.PI); this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) - { - ; - } - - /*while (this.rotationPitch - this.prevRotationPitch >= 180.0F) - { - this.prevRotationPitch += 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw < -180.0F) - { - this.prevRotationYaw -= 360.0F; - } - - while (this.rotationYaw - this.prevRotationYaw >= 180.0F) - { - this.prevRotationYaw += 360.0F; - }*/ - - //this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - this.prevRotationPitch) * 0.2F; - //this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - this.prevRotationYaw) * 0.2F; - float f3 = 0.99F; - f1 = 0.05F; - - if (this.isInWater()) - { - for (int l = 0; l < 4; ++l) - { - f4 = 0.25F; - this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); - } - - f3 = 0.8F; - } - - if (this.isWet()) - { - this.extinguish(); - } - - this.motionX *= f3; - this.motionY *= f3; - this.motionZ *= f3; - this.motionY -= gravity; - this.setPosition(this.posX, this.posY, this.posZ); - this.func_145775_I(); - } - - if (this.ticksExisted > 250) - this.setDead(); - } - - /** - * (abstract) Protected helper method to write subclass entity data to NBT. - */ - @Override - public void writeEntityToNBT(NBTTagCompound p_70014_1_) - { - p_70014_1_.setShort("xTile", (short)this.field_145791_d); - p_70014_1_.setShort("yTile", (short)this.field_145792_e); - p_70014_1_.setShort("zTile", (short)this.field_145789_f); - p_70014_1_.setShort("life", (short)this.ticksInGround); - p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); - p_70014_1_.setByte("inData", (byte)this.inData); - p_70014_1_.setByte("shake", (byte)this.arrowShake); - p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); - p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); - p_70014_1_.setDouble("damage", this.damage); - } - - /** - * (abstract) Protected helper method to read subclass entity data from NBT. - */ - @Override - public void readEntityFromNBT(NBTTagCompound p_70037_1_) - { - this.field_145791_d = p_70037_1_.getShort("xTile"); - this.field_145792_e = p_70037_1_.getShort("yTile"); - this.field_145789_f = p_70037_1_.getShort("zTile"); - this.ticksInGround = p_70037_1_.getShort("life"); - this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); - this.inData = p_70037_1_.getByte("inData") & 255; - this.arrowShake = p_70037_1_.getByte("shake") & 255; - this.inGround = p_70037_1_.getByte("inGround") == 1; - - if (p_70037_1_.hasKey("damage", 99)) - { - this.damage = p_70037_1_.getDouble("damage"); - } - - if (p_70037_1_.hasKey("pickup", 99)) - { - this.canBePickedUp = p_70037_1_.getByte("pickup"); - } - else if (p_70037_1_.hasKey("player", 99)) - { - this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; - } - } - - /** - * Called by a player entity when they collide with an entity - */ - @Override - public void onCollideWithPlayer(EntityPlayer p_70100_1_) - { - if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) - { - boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; - - if (this.canBePickedUp == 1 && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) - { - flag = false; - } - - if (flag) - { - this.playSound("random.pop", 0.2F, ((this.rand.nextFloat() - this.rand.nextFloat()) * 0.7F + 1.0F) * 2.0F); - p_70100_1_.onItemPickup(this, 1); - this.setDead(); - } - } - } - - /** - * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to - * prevent them from trampling crops - */ - @Override - protected boolean canTriggerWalking() - { - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public float getShadowSize() - { - return 0.0F; - } - - public void setDamage(double p_70239_1_) - { - this.damage = p_70239_1_; - } - - public double getDamage() - { - return this.damage; - } - - /** - * Sets the amount of knockback the arrow applies when it hits a mob. - */ - public void setKnockbackStrength(int p_70240_1_) - { - this.knockbackStrength = p_70240_1_; - } - - /** - * If returns false, the item will not inflict any damage against entities. - */ - @Override - public boolean canAttackWithItem() - { - return false; - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public void setIsCritical(boolean p_70243_1_) - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - - if (p_70243_1_) - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); - } - else - { - this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); - } - } - - /** - * Whether the arrow has a stream of critical hit particles flying behind it. - */ - public boolean getIsCritical() - { - byte b0 = this.dataWatcher.getWatchableObjectByte(16); - return (b0 & 1) != 0; - } -} +package com.hbm.entity.projectile; + +import java.util.List; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.IProjectile; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.entity.monster.EntityEnderman; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.play.server.S2BPacketChangeGameState; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionNukeGeneric; +import com.hbm.items.ModItems; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +public class EntitySchrab extends Entity implements IProjectile +{ + private int field_145791_d = -1; + private int field_145792_e = -1; + private int field_145789_f = -1; + public double gravity = 0.0D; + private Block field_145790_g; + private int inData; + private boolean inGround; + /** 1 if the player can pick up the arrow */ + public int canBePickedUp; + /** Seems to be some sort of timer for animating an arrow. */ + public int arrowShake; + /** The owner of this arrow. */ + public Entity shootingEntity; + private int ticksInGround; + private int ticksInAir; + private double damage = 2.0D; + /** The amount of knockback an arrow applies when it hits a mob. */ + private int knockbackStrength; + private static final String __OBFID = "CL_00001715"; + + + public EntitySchrab(World p_i1753_1_) + { + super(p_i1753_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + } + + public EntitySchrab(World p_i1754_1_, double p_i1754_2_, double p_i1754_4_, double p_i1754_6_) + { + super(p_i1754_1_); + this.renderDistanceWeight = 10.0D; + this.setSize(0.5F, 0.5F); + this.setPosition(p_i1754_2_, p_i1754_4_, p_i1754_6_); + this.yOffset = 0.0F; + } + + public EntitySchrab(World p_i1755_1_, EntityLivingBase p_i1755_2_, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_) + { + super(p_i1755_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1755_2_; + + if (p_i1755_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.posY = p_i1755_2_.posY + p_i1755_2_.getEyeHeight() - 0.10000000149011612D; + double d0 = p_i1755_3_.posX - p_i1755_2_.posX; + double d1 = p_i1755_3_.boundingBox.minY + p_i1755_3_.height / 3.0F - this.posY; + double d2 = p_i1755_3_.posZ - p_i1755_2_.posZ; + double d3 = MathHelper.sqrt_double(d0 * d0 + d2 * d2); + + if (d3 >= 1.0E-7D) + { + float f2 = (float)(Math.atan2(d2, d0) * 180.0D / Math.PI) - 90.0F; + float f3 = (float)(-(Math.atan2(d1, d3) * 180.0D / Math.PI)); + double d4 = d0 / d3; + double d5 = d2 / d3; + this.setLocationAndAngles(p_i1755_2_.posX + d4, this.posY, p_i1755_2_.posZ + d5, f2, f3); + this.yOffset = 0.0F; + float f4 = (float)d3 * 0.2F; + this.setThrowableHeading(d0, d1 + f4, d2, p_i1755_4_, p_i1755_5_); + } + } + + public EntitySchrab(World p_i1756_1_, EntityLivingBase p_i1756_2_, float p_i1756_3_) + { + super(p_i1756_1_); + this.renderDistanceWeight = 10.0D; + this.shootingEntity = p_i1756_2_; + + if (p_i1756_2_ instanceof EntityPlayer) + { + this.canBePickedUp = 1; + } + + this.setSize(0.5F, 0.5F); + this.setLocationAndAngles(p_i1756_2_.posX, p_i1756_2_.posY + p_i1756_2_.getEyeHeight(), p_i1756_2_.posZ, p_i1756_2_.rotationYaw, p_i1756_2_.rotationPitch); + this.posX -= MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.posY -= 0.10000000149011612D; + this.posZ -= MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * 0.16F; + this.setPosition(this.posX, this.posY, this.posZ); + this.yOffset = 0.0F; + this.motionX = -MathHelper.sin(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionZ = MathHelper.cos(this.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(this.rotationPitch / 180.0F * (float)Math.PI); + this.motionY = (-MathHelper.sin(this.rotationPitch / 180.0F * (float)Math.PI)); + this.setThrowableHeading(this.motionX, this.motionY, this.motionZ, p_i1756_3_ * 1.5F, 1.0F); + } + + public EntitySchrab(World world, int x, int y, int z, double mx, double my, double mz, double grav) { + super(world); + this.posX = x + 0.5F; + this.posY = y + 0.5F; + this.posZ = z + 0.5F; + + this.motionX = mx; + this.motionY = my; + this.motionZ = mz; + + this.gravity = grav; + } + + @Override + protected void entityInit() + { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + /** + * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. + */ + @Override + public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_) + { + float f2 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_3_ * p_70186_3_ + p_70186_5_ * p_70186_5_); + p_70186_1_ /= f2; + p_70186_3_ /= f2; + p_70186_5_ /= f2; + p_70186_1_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_3_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_5_ += this.rand.nextGaussian() * (this.rand.nextBoolean() ? -1 : 1) * 0.007499999832361937D * p_70186_8_; + p_70186_1_ *= p_70186_7_; + p_70186_3_ *= p_70186_7_; + p_70186_5_ *= p_70186_7_; + this.motionX = p_70186_1_; + this.motionY = p_70186_3_; + this.motionZ = p_70186_5_; + float f3 = MathHelper.sqrt_double(p_70186_1_ * p_70186_1_ + p_70186_5_ * p_70186_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70186_1_, p_70186_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70186_3_, f3) * 180.0D / Math.PI); + this.ticksInGround = 0; + } + + /** + * Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, + * posY, posZ, yaw, pitch + */ + @Override + @SideOnly(Side.CLIENT) + public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_) + { + this.setPosition(p_70056_1_, p_70056_3_, p_70056_5_); + this.setRotation(p_70056_7_, p_70056_8_); + } + + /** + * Sets the velocity to the args. Args: x, y, z + */ + @Override + @SideOnly(Side.CLIENT) + public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) + { + this.motionX = p_70016_1_; + this.motionY = p_70016_3_; + this.motionZ = p_70016_5_; + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(p_70016_1_ * p_70016_1_ + p_70016_5_ * p_70016_5_); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(p_70016_1_, p_70016_5_) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(p_70016_3_, f) * 180.0D / Math.PI); + this.prevRotationPitch = this.rotationPitch; + this.prevRotationYaw = this.rotationYaw; + this.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch); + this.ticksInGround = 0; + } + } + + /** + * Called to update the entity's position/logic. + */ + //@Override + @Override + public void onUpdate() + { + super.onUpdate(); + + if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F) + { + float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.prevRotationYaw = this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + //this.prevRotationPitch = this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f) * 180.0D / Math.PI); + } + + Block block = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block.getMaterial() != Material.air) + { + block.setBlockBoundsBasedOnState(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + AxisAlignedBB axisalignedbb = block.getCollisionBoundingBoxFromPool(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (axisalignedbb != null && axisalignedbb.isVecInside(Vec3.createVectorHelper(this.posX, this.posY, this.posZ))) + { + this.inGround = true; + } + } + + if (this.arrowShake > 0) + { + --this.arrowShake; + } + + if (this.inGround) + { + /*int j = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + + if (block == this.field_145790_g && j == this.inData) + { + ++this.ticksInGround; + + if (this.ticksInGround == 1200) + { + this.setDead(); + } + } + else + { + this.inGround = false; + this.motionX *= (double)(this.rand.nextFloat() * 0.2F); + this.motionY *= (double)(this.rand.nextFloat() * 0.2F); + this.motionZ *= (double)(this.rand.nextFloat() * 0.2F); + this.ticksInGround = 0; + this.ticksInAir = 0; + }*/ + + + if (!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); + ExplosionChaos.burn(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 10); + ExplosionChaos.flameDeath(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 20); + ExplosionNukeGeneric.waste(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 20); + ExplosionChaos.poison(this.worldObj, (int)this.posX, (int)this.posY, (int)this.posZ, 20); + } + this.worldObj.spawnEntityInWorld(new EntityLightningBolt(this.worldObj, this.posX, this.posY, this.posZ)); + this.setDead(); + } + else + { + ++this.ticksInAir; + Vec3 vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + Vec3 vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + MovingObjectPosition movingobjectposition = this.worldObj.func_147447_a(vec31, vec3, false, true, false); + vec31 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ); + vec3 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); + + if (movingobjectposition != null) + { + vec3 = Vec3.createVectorHelper(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord); + } + + Entity entity = null; + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D)); + double d0 = 0.0D; + int i; + float f1; + + for (i = 0; i < list.size(); ++i) + { + Entity entity1 = (Entity)list.get(i); + + if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) + { + f1 = 0.3F; + AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f1, f1, f1); + MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec31, vec3); + + if (movingobjectposition1 != null) + { + double d1 = vec31.distanceTo(movingobjectposition1.hitVec); + + if (d1 < d0 || d0 == 0.0D) + { + entity = entity1; + d0 = d1; + } + } + } + } + + if (entity != null) + { + movingobjectposition = new MovingObjectPosition(entity); + } + + if (movingobjectposition != null && movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityPlayer) + { + EntityPlayer entityplayer = (EntityPlayer)movingobjectposition.entityHit; + + if (entityplayer.capabilities.disableDamage || this.shootingEntity instanceof EntityPlayer && !((EntityPlayer)this.shootingEntity).canAttackPlayer(entityplayer)) + { + movingobjectposition = null; + } + } + + float f2; + float f4; + + if (movingobjectposition != null) + { + if (movingobjectposition.entityHit != null) + { + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + int k = MathHelper.ceiling_double_int(f2 * this.damage); + + if (this.getIsCritical()) + { + k += this.rand.nextInt(k / 2 + 2); + } + + DamageSource damagesource = null; + + if (this.shootingEntity == null) + { + damagesource = DamageSource.causeIndirectMagicDamage(this, this); + } + else + { + damagesource = DamageSource.causeIndirectMagicDamage(this, this); + } + + if (this.isBurning() && !(movingobjectposition.entityHit instanceof EntityEnderman)) + { + movingobjectposition.entityHit.setFire(5); + } + + if (movingobjectposition.entityHit.attackEntityFrom(damagesource, k)) + { + if (movingobjectposition.entityHit instanceof EntityLivingBase) + { + EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; + + if (this.knockbackStrength > 0) + { + f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + + if (f4 > 0.0F) + { + movingobjectposition.entityHit.addVelocity(this.motionX * this.knockbackStrength * 0.6000000238418579D / f4, 0.1D, this.motionZ * this.knockbackStrength * 0.6000000238418579D / f4); + } + } + + if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) + { + EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); + EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); + } + + if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) + { + ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); + } + } + + if (!(movingobjectposition.entityHit instanceof EntityEnderman)) + { + if (!this.worldObj.isRemote) + { + this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 2.5F, true); + } + this.setDead(); + } + } + else + { + this.motionX *= -0.10000000149011612D; + this.motionY *= -0.10000000149011612D; + this.motionZ *= -0.10000000149011612D; + this.rotationYaw += 180.0F; + this.prevRotationYaw += 180.0F; + this.ticksInAir = 0; + } + } + else + { + this.field_145791_d = movingobjectposition.blockX; + this.field_145792_e = movingobjectposition.blockY; + this.field_145789_f = movingobjectposition.blockZ; + this.field_145790_g = this.worldObj.getBlock(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.inData = this.worldObj.getBlockMetadata(this.field_145791_d, this.field_145792_e, this.field_145789_f); + this.motionX = ((float)(movingobjectposition.hitVec.xCoord - this.posX)); + this.motionY = ((float)(movingobjectposition.hitVec.yCoord - this.posY)); + this.motionZ = ((float)(movingobjectposition.hitVec.zCoord - this.posZ)); + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ); + this.posX -= this.motionX / f2 * 0.05000000074505806D; + this.posY -= this.motionY / f2 * 0.05000000074505806D; + this.posZ -= this.motionZ / f2 * 0.05000000074505806D; + this.playSound("random.bowhit", 1.0F, 1.2F / (this.rand.nextFloat() * 0.2F + 0.9F)); + this.inGround = true; + this.arrowShake = 7; + this.setIsCritical(false); + + if (this.field_145790_g.getMaterial() != Material.air) + { + this.field_145790_g.onEntityCollidedWithBlock(this.worldObj, this.field_145791_d, this.field_145792_e, this.field_145789_f, this); + } + } + } + + if (true) + { + for (i = 0; i < 4; ++i) + { + this.worldObj.spawnParticle("smoke", this.posX, this.posY, this.posZ, 0, 0, 0 /*this.posX + this.motionX * (double)i / 4.0D, this.posY + this.motionY * (double)i / 4.0D, this.posZ + this.motionZ * (double)i / 4.0D, -this.motionX, -this.motionY + 0.2D, -this.motionZ*/); + } + } + + this.posX += this.motionX; + this.posY += this.motionY; + this.posZ += this.motionZ; + f2 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); + this.rotationYaw = (float)(Math.atan2(this.motionX, this.motionZ) * 180.0D / Math.PI); + + //for (this.rotationPitch = (float)(Math.atan2(this.motionY, (double)f2) * 180.0D / Math.PI); this.rotationPitch - this.prevRotationPitch < -180.0F; this.prevRotationPitch -= 360.0F) + { + ; + } + + /*while (this.rotationPitch - this.prevRotationPitch >= 180.0F) + { + this.prevRotationPitch += 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw < -180.0F) + { + this.prevRotationYaw -= 360.0F; + } + + while (this.rotationYaw - this.prevRotationYaw >= 180.0F) + { + this.prevRotationYaw += 360.0F; + }*/ + + //this.rotationPitch = this.prevRotationPitch + (this.rotationPitch - this.prevRotationPitch) * 0.2F; + //this.rotationYaw = this.prevRotationYaw + (this.rotationYaw - this.prevRotationYaw) * 0.2F; + float f3 = 0.99F; + f1 = 0.05F; + + if (this.isInWater()) + { + for (int l = 0; l < 4; ++l) + { + f4 = 0.25F; + this.worldObj.spawnParticle("bubble", this.posX - this.motionX * f4, this.posY - this.motionY * f4, this.posZ - this.motionZ * f4, this.motionX, this.motionY, this.motionZ); + } + + f3 = 0.8F; + } + + if (this.isWet()) + { + this.extinguish(); + } + + this.motionX *= f3; + this.motionY *= f3; + this.motionZ *= f3; + this.motionY -= gravity; + this.setPosition(this.posX, this.posY, this.posZ); + this.func_145775_I(); + } + + if (this.ticksExisted > 250) + this.setDead(); + } + + /** + * (abstract) Protected helper method to write subclass entity data to NBT. + */ + @Override + public void writeEntityToNBT(NBTTagCompound p_70014_1_) + { + p_70014_1_.setShort("xTile", (short)this.field_145791_d); + p_70014_1_.setShort("yTile", (short)this.field_145792_e); + p_70014_1_.setShort("zTile", (short)this.field_145789_f); + p_70014_1_.setShort("life", (short)this.ticksInGround); + p_70014_1_.setByte("inTile", (byte)Block.getIdFromBlock(this.field_145790_g)); + p_70014_1_.setByte("inData", (byte)this.inData); + p_70014_1_.setByte("shake", (byte)this.arrowShake); + p_70014_1_.setByte("inGround", (byte)(this.inGround ? 1 : 0)); + p_70014_1_.setByte("pickup", (byte)this.canBePickedUp); + p_70014_1_.setDouble("damage", this.damage); + } + + /** + * (abstract) Protected helper method to read subclass entity data from NBT. + */ + @Override + public void readEntityFromNBT(NBTTagCompound p_70037_1_) + { + this.field_145791_d = p_70037_1_.getShort("xTile"); + this.field_145792_e = p_70037_1_.getShort("yTile"); + this.field_145789_f = p_70037_1_.getShort("zTile"); + this.ticksInGround = p_70037_1_.getShort("life"); + this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255); + this.inData = p_70037_1_.getByte("inData") & 255; + this.arrowShake = p_70037_1_.getByte("shake") & 255; + this.inGround = p_70037_1_.getByte("inGround") == 1; + + if (p_70037_1_.hasKey("damage", 99)) + { + this.damage = p_70037_1_.getDouble("damage"); + } + + if (p_70037_1_.hasKey("pickup", 99)) + { + this.canBePickedUp = p_70037_1_.getByte("pickup"); + } + else if (p_70037_1_.hasKey("player", 99)) + { + this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0; + } + } + + /** + * Called by a player entity when they collide with an entity + */ + @Override + public void onCollideWithPlayer(EntityPlayer p_70100_1_) + { + if (!this.worldObj.isRemote && this.inGround && this.arrowShake <= 0) + { + boolean flag = this.canBePickedUp == 1 || this.canBePickedUp == 2 && p_70100_1_.capabilities.isCreativeMode; + + if (this.canBePickedUp == 1 && !p_70100_1_.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 1))) + { + flag = false; + } + + if (flag) + { + this.playSound("random.pop", 0.2F, ((this.rand.nextFloat() - this.rand.nextFloat()) * 0.7F + 1.0F) * 2.0F); + p_70100_1_.onItemPickup(this, 1); + this.setDead(); + } + } + } + + /** + * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to + * prevent them from trampling crops + */ + @Override + protected boolean canTriggerWalking() + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public float getShadowSize() + { + return 0.0F; + } + + public void setDamage(double p_70239_1_) + { + this.damage = p_70239_1_; + } + + public double getDamage() + { + return this.damage; + } + + /** + * Sets the amount of knockback the arrow applies when it hits a mob. + */ + public void setKnockbackStrength(int p_70240_1_) + { + this.knockbackStrength = p_70240_1_; + } + + /** + * If returns false, the item will not inflict any damage against entities. + */ + @Override + public boolean canAttackWithItem() + { + return false; + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public void setIsCritical(boolean p_70243_1_) + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + + if (p_70243_1_) + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 1))); + } + else + { + this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -2))); + } + } + + /** + * Whether the arrow has a stream of critical hit particles flying behind it. + */ + public boolean getIsCritical() + { + byte b0 = this.dataWatcher.getWatchableObjectByte(16); + return (b0 & 1) != 0; + } +} diff --git a/com/hbm/entity/projectile/EntityShrapnel.java b/com/hbm/entity/projectile/EntityShrapnel.java new file mode 100644 index 000000000..6b7cba554 --- /dev/null +++ b/com/hbm/entity/projectile/EntityShrapnel.java @@ -0,0 +1,70 @@ +package com.hbm.entity.projectile; + +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.entity.particle.EntitySSmokeFX; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityBlaze; +import net.minecraft.entity.projectile.EntityThrowable; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; + +public class EntityShrapnel extends EntityThrowable { + + public EntityShrapnel(World p_i1773_1_) + { + super(p_i1773_1_); + } + + public EntityShrapnel(World p_i1774_1_, EntityLivingBase p_i1774_2_) + { + super(p_i1774_1_, p_i1774_2_); + } + + public void entityInit() { + this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); + } + + public EntityShrapnel(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) + { + super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_); + } + + @Override + public void onUpdate() { + super.onUpdate(); + if(!worldObj.isRemote) + if(this.dataWatcher.getWatchableObjectByte(16) == 1) { + worldObj.spawnEntityInWorld(new EntitySSmokeFX(worldObj, this.posX, this.posY - 0.5, this.posZ, 0.0, 0.0, 0.0)); + worldObj.spawnEntityInWorld(new EntitySSmokeFX(worldObj, this.posX - this.motionX, this.posY - 0.5 - this.motionY, this.posZ - this.motionZ, 0.0, 0.0, 0.0)); + } + } + + @Override + protected void onImpact(MovingObjectPosition p_70184_1_) + { + if (p_70184_1_.entityHit != null) + { + byte b0 = 15; + + p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), b0); + } + + if(this.ticksExisted > 5) { + this.setDead(); + if(!this.worldObj.isRemote) + worldObj.createExplosion(this, this.posX, this.posY, this.posZ, 0.1F, true); + } + } + + public void setTrail(boolean b) { + this.dataWatcher.updateObject(16, (byte)(b ? 1 : 0)); + } +} diff --git a/com/hbm/explosion/ExplosionChaos.java b/com/hbm/explosion/ExplosionChaos.java index 93ea7ea1c..bfbf7ae2a 100644 --- a/com/hbm/explosion/ExplosionChaos.java +++ b/com/hbm/explosion/ExplosionChaos.java @@ -1,977 +1,1132 @@ -package com.hbm.explosion; - -import java.util.HashSet; -import java.util.List; -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -<<<<<<< HEAD -import com.hbm.entity.grenade.EntityGrenadeTau; -import com.hbm.entity.grenade.EntityGrenadeZOMG; -import com.hbm.entity.missile.EntityMIRV; -import com.hbm.entity.missile.EntityMissileBase; -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityMiniNuke; -import com.hbm.entity.projectile.EntityRainbow; -import com.hbm.entity.projectile.EntityRocket; -import com.hbm.entity.projectile.EntitySchrab; -======= -import com.hbm.entity.EntityBullet; -import com.hbm.entity.EntityGrenadeTau; -import com.hbm.entity.EntityGrenadeZOMG; -import com.hbm.entity.EntityMirv; -import com.hbm.entity.EntityMissileBase; -import com.hbm.entity.EntityRainbow; -import com.hbm.entity.EntityRocket; -import com.hbm.entity.EntitySchrab; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.lib.Library; - -import net.minecraft.block.Block; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLiving; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.item.EntityFallingBlock; -import net.minecraft.entity.item.EntityTNTPrimed; -import net.minecraft.entity.passive.EntitySheep; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.projectile.EntityArrow; -import net.minecraft.init.Blocks; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; -import net.minecraftforge.common.util.ForgeDirection; - -public class ExplosionChaos { - - private final static Random random = new Random(); - private static Random rand = new Random(); - - public static void explode(World world, int x, int y, int z, int bombStartStrength) { - - int r = bombStartStrength; - int r2 = r*r; - int r22 = r2/2; - for (int xx = -r; xx < r; xx++) - { - int X = xx+x; - int XX = xx*xx; - for (int yy = -r; yy < r; yy++) - { - int Y = yy+y; - int YY = XX+yy*yy; - for (int zz = -r; zz < r; zz++) - { - int Z = zz+z; - int ZZ = YY+zz*zz; - if (ZZ this.nlimit; - } - - private void breakColumn(int x, int z) - { - int dist = this.radius2 - (x * x + z * z); - if (dist > 0) - { - dist = (int) Math.sqrt(dist); - for (int y = (int)(dist / this.explosionCoefficient2); y > -dist / this.explosionCoefficient; y--) - { - if(!(this.worldObj.getBlock(this.posX+x, this.posY+y, this.posZ+z) == Blocks.bedrock && this.posY+y <= 0) && !(this.worldObj.getBlock(this.posX+x, this.posY+y, this.posZ+z) instanceof DecoBlockAlt))this.worldObj.setBlock(this.posX+x, this.posY+y, this.posZ+z, Blocks.air); - } - } - } -} +package com.hbm.explosion; + +import com.hbm.blocks.generic.DecoBlockAlt; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class ExplosionFleija +{ + public int posX; + public int posY; + public int posZ; + public int lastposX = 0; + public int lastposZ = 0; + public int radius; + public int radius2; + public World worldObj; + private int n = 1; + private int nlimit; + private int shell; + private int leg; + private int element; + public float explosionCoefficient = 1.0F; + public float explosionCoefficient2 = 1.0F; + + public ExplosionFleija(int x, int y, int z, World world, int rad, float coefficient, float coefficient2) + { + this.posX = x; + this.posY = y; + this.posZ = z; + + this.worldObj = world; + + this.radius = rad; + this.radius2 = this.radius * this.radius; + + this.explosionCoefficient = coefficient; + this.explosionCoefficient2 = coefficient2; + + this.nlimit = this.radius2 * 4; + } + + public boolean update() + { + breakColumn(this.lastposX, this.lastposZ); + this.shell = (int) Math.floor((Math.sqrt(n) + 1) / 2); + int shell2 = this.shell * 2; + this.leg = (int) Math.floor((this.n - (shell2 - 1) * (shell2 - 1)) / shell2); + this.element = (this.n - (shell2 - 1) * (shell2 - 1)) - shell2 * this.leg - this.shell + 1; + this.lastposX = this.leg == 0 ? this.shell : this.leg == 1 ? -this.element : this.leg == 2 ? -this.shell : this.element; + this.lastposZ = this.leg == 0 ? this.element : this.leg == 1 ? this.shell : this.leg == 2 ? -this.element : -this.shell; + this.n++; + return this.n > this.nlimit; + } + + private void breakColumn(int x, int z) + { + int dist = this.radius2 - (x * x + z * z); + if (dist > 0) + { + dist = (int) Math.sqrt(dist); + for (int y = (int)(dist / this.explosionCoefficient2); y > -dist / this.explosionCoefficient; y--) + { + if(!(this.worldObj.getBlock(this.posX+x, this.posY+y, this.posZ+z) == Blocks.bedrock && this.posY+y <= 0) && !(this.worldObj.getBlock(this.posX+x, this.posY+y, this.posZ+z) instanceof DecoBlockAlt))this.worldObj.setBlock(this.posX+x, this.posY+y, this.posZ+z, Blocks.air); + } + } + } +} diff --git a/com/hbm/explosion/ExplosionLarge.java b/com/hbm/explosion/ExplosionLarge.java new file mode 100644 index 000000000..8712beae5 --- /dev/null +++ b/com/hbm/explosion/ExplosionLarge.java @@ -0,0 +1,94 @@ +package com.hbm.explosion; + +import java.util.Random; + +import com.hbm.entity.particle.EntityDSmokeFX; +import com.hbm.entity.projectile.EntityRubble; +import com.hbm.entity.projectile.EntityShrapnel; + +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.world.World; + +public class ExplosionLarge { + + static Random rand = new Random(); + + public static void spawnParticles(World world, double x, double y, double z, int count) { + + for(int i = 0; i < count; i++) { + EntityDSmokeFX fx = new EntityDSmokeFX(world, x, y, z, 0.0, 0.0, 0.0); + //fx.posX = x; + //fx.posY = y; + //fx.posZ = z; + fx.motionY = rand.nextGaussian() * (1 + (count / 50)); + fx.motionX = rand.nextGaussian() * (1 + (count / 150)); + fx.motionZ = rand.nextGaussian() * (1 + (count / 150)); + world.spawnEntityInWorld(fx); + } + } + + public static void spawnRubble(World world, double x, double y, double z, int count) { + + for(int i = 0; i < count; i++) { + EntityRubble rubble = new EntityRubble(world); + rubble.posX = x; + rubble.posY = y; + rubble.posZ = z; + rubble.motionY = 0.75 * (1 + ((count + rand.nextInt(count * 5))) / 25); + rubble.motionX = rand.nextGaussian() * 0.75 * (1 + (count / 50)); + rubble.motionZ = rand.nextGaussian() * 0.75 * (1 + (count / 50)); + rubble.getDataWatcher().updateObject(16, (byte)rand.nextInt(7)); + world.spawnEntityInWorld(rubble); + } + } + + public static void spawnShrapnels(World world, double x, double y, double z, int count) { + + for(int i = 0; i < count; i++) { + EntityShrapnel shrapnel = new EntityShrapnel(world); + shrapnel.posX = x; + shrapnel.posY = y; + shrapnel.posZ = z; + shrapnel.motionY = ((rand.nextFloat() * 0.5) + 0.5) * (1 + (count / (15 + rand.nextInt(21)))) + (rand.nextFloat() / 50 * count); + shrapnel.motionX = rand.nextGaussian() * 1 * (1 + (count / 50)); + shrapnel.motionZ = rand.nextGaussian() * 1 * (1 + (count / 50)); + shrapnel.setTrail(rand.nextInt(3) == 0); + world.spawnEntityInWorld(shrapnel); + } + } + + public static void explode(World world, double x, double y, double z, float strength, boolean cloud, boolean rubble, boolean shrapnel) { + world.createExplosion(null, x, y, z, strength, true); + if(cloud) + spawnParticles(world, x, y, z, cloudFunction((int)strength)); + if(rubble) + spawnRubble(world, x, y, z, rubbleFunction((int)strength)); + if(shrapnel) + spawnShrapnels(world, x, y, z, shrapnelFunction((int)strength)); + } + + public static void explodeFire(World world, double x, double y, double z, float strength, boolean cloud, boolean rubble, boolean shrapnel) { + world.newExplosion((Entity)null, (float)x, (float)y, (float)z, strength, true, true); + if(cloud) + spawnParticles(world, x, y, z, cloudFunction((int)strength)); + if(rubble) + spawnRubble(world, x, y, z, rubbleFunction((int)strength)); + if(shrapnel) + spawnShrapnels(world, x, y, z, shrapnelFunction((int)strength)); + } + + public static int cloudFunction(int i) { + //return (int)(345 * (1 - Math.pow(Math.E, -i/15)) + 15); + return (int)(545 * (1 - Math.pow(Math.E, -i/15)) + 15); + } + + public static int rubbleFunction(int i) { + return (int)(i/10); + } + + public static int shrapnelFunction(int i) { + return (int)(i/3); + } + +} diff --git a/com/hbm/explosion/ExplosionNukeAdvanced.java b/com/hbm/explosion/ExplosionNukeAdvanced.java index e623c97a8..cfef4262f 100644 --- a/com/hbm/explosion/ExplosionNukeAdvanced.java +++ b/com/hbm/explosion/ExplosionNukeAdvanced.java @@ -1,169 +1,169 @@ -package com.hbm.explosion; - -import net.minecraft.world.World; - -public class ExplosionNukeAdvanced -{ - public int posX; - public int posY; - public int posZ; - public int lastposX = 0; - public int lastposZ = 0; - public int radius; - public int radius2; - public World worldObj; - private int n = 1; - private int nlimit; - private int shell; - private int leg; - private int element; - public float explosionCoefficient = 1.0F; - public int type = 0; - - public ExplosionNukeAdvanced(int x, int y, int z, World world, int rad, float coefficient, int typ) - { - this.posX = x; - this.posY = y; - this.posZ = z; - - this.worldObj = world; - - this.radius = rad; - this.radius2 = this.radius * this.radius; - - this.explosionCoefficient = coefficient; - this.type = typ; - - this.nlimit = this.radius2 * 4; //How many total columns should be broken (radius ^ 2 is one quadrant, there are 4 quadrants) - } - - public boolean update() - { - switch(this.type) - { - case 0: - breakColumn(this.lastposX, this.lastposZ); break; - case 1: - vapor(this.lastposX, this.lastposZ); break; - case 2: - waste(this.lastposX, this.lastposZ); break; - } - this.shell = (int) Math.floor((Math.sqrt(n) + 1) / 2); //crazy stuff I can't explain - int shell2 = this.shell * 2; - this.leg = (int) Math.floor((this.n - (shell2 - 1) * (shell2 - 1)) / shell2); - this.element = (this.n - (shell2 - 1) * (shell2 - 1)) - shell2 * this.leg - this.shell + 1; - this.lastposX = this.leg == 0 ? this.shell : this.leg == 1 ? -this.element : this.leg == 2 ? -this.shell : this.element; - this.lastposZ = this.leg == 0 ? this.element : this.leg == 1 ? this.shell : this.leg == 2 ? -this.element : -this.shell; - this.n++; - return this.n > this.nlimit; //return whether we are done or not - } - - private void breakColumn(int x, int z) - { - int dist = this.radius2 - (x * x + z * z); //we have two sides of the triangle (hypotenuse is radius, one leg is (x*x+z*z)) this calculates the third one - if (dist > 0) //check if any blocks have to be broken here - { - dist = (int) Math.sqrt(dist); //calculate sphere height at this (x,z) coordinate - for (int y = dist; y > -dist / this.explosionCoefficient; y--) //go from top to bottom to favor light updates - { - //this.worldObj.setBlock(this.posX+x, this.posY+y, this.posZ+z, Blocks.air); //set block to air relative to epicenter - - ExplosionNukeGeneric.destruction(this.worldObj, this.posX + x, this.posY + y, this.posZ + z); - } - } - } - - private void vapor(int x, int z) - { - int dist = this.radius2 - (x * x + z * z); - if (dist > 0) - { - dist = (int) Math.sqrt(dist); - for (int y = dist; y > -dist; y--) - { - - ExplosionNukeGeneric.vaporDest(this.worldObj, this.posX + x, this.posY + y, this.posZ + z); - } - } - } - - private void waste(int x, int z) - { - int dist = this.radius2 - (x * x + z * z); - if (dist > 0) - { - dist = (int) Math.sqrt(dist); - for (int y = dist; y > -dist; y--) - { - if(radius >= 95) - ExplosionNukeGeneric.wasteDest(this.worldObj, this.posX + x, this.posY + y, this.posZ + z); - else - ExplosionNukeGeneric.wasteDestNoSchrab(this.worldObj, this.posX + x, this.posY + y, this.posZ + z); - } - } - } - - /*public static void mush(World world, double x, double y, double z) - { - double d = (float)x + 0.5F; - double d1 = (float)y + 0.5F; - double d2 = (float)z + 0.5F; - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 15, d1, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2 + 15, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 15, d1, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2 - 15, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 25, d1, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2 + 25, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 25, d1, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2 - 25, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 10, d1, d2 + 10, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 10, d1, d2 - 10, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 10, d1, d2 + 10, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 10, d1, d2 - 10, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 15, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 30, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 45, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 60, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 75, d2, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 15, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2 + 15, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 15, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2 - 15, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 40, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2 + 40, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 40, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2 - 40, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 30, d1 + 90, d2 + 30, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 30, d1 + 90, d2 - 30, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 30, d1 + 90, d2 + 30, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 30, d1 + 90, d2 - 30, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 105, d2, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 30, d1 + 105, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 105, d2 + 30, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 30, d1 + 105, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 105, d2 - 30, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 20, d1 + 105, d2 + 20, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 20, d1 + 105, d2 - 20, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 20, d1 + 105, d2 + 20, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 20, d1 + 105, d2 - 20, 0.0D, 0.0D, 0.0D, 100)); - - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 10, d1 + 120, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 120, d2 + 10, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 10, d1 + 120, d2, 0.0D, 0.0D, 0.0D, 100)); - Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 120, d2 - 10, 0.0D, 0.0D, 0.0D, 100)); - }*/ -} +package com.hbm.explosion; + +import net.minecraft.world.World; + +public class ExplosionNukeAdvanced +{ + public int posX; + public int posY; + public int posZ; + public int lastposX = 0; + public int lastposZ = 0; + public int radius; + public int radius2; + public World worldObj; + private int n = 1; + private int nlimit; + private int shell; + private int leg; + private int element; + public float explosionCoefficient = 1.0F; + public int type = 0; + + public ExplosionNukeAdvanced(int x, int y, int z, World world, int rad, float coefficient, int typ) + { + this.posX = x; + this.posY = y; + this.posZ = z; + + this.worldObj = world; + + this.radius = rad; + this.radius2 = this.radius * this.radius; + + this.explosionCoefficient = coefficient; + this.type = typ; + + this.nlimit = this.radius2 * 4; //How many total columns should be broken (radius ^ 2 is one quadrant, there are 4 quadrants) + } + + public boolean update() + { + switch(this.type) + { + case 0: + breakColumn(this.lastposX, this.lastposZ); break; + case 1: + vapor(this.lastposX, this.lastposZ); break; + case 2: + waste(this.lastposX, this.lastposZ); break; + } + this.shell = (int) Math.floor((Math.sqrt(n) + 1) / 2); //crazy stuff I can't explain + int shell2 = this.shell * 2; + this.leg = (int) Math.floor((this.n - (shell2 - 1) * (shell2 - 1)) / shell2); + this.element = (this.n - (shell2 - 1) * (shell2 - 1)) - shell2 * this.leg - this.shell + 1; + this.lastposX = this.leg == 0 ? this.shell : this.leg == 1 ? -this.element : this.leg == 2 ? -this.shell : this.element; + this.lastposZ = this.leg == 0 ? this.element : this.leg == 1 ? this.shell : this.leg == 2 ? -this.element : -this.shell; + this.n++; + return this.n > this.nlimit; //return whether we are done or not + } + + private void breakColumn(int x, int z) + { + int dist = this.radius2 - (x * x + z * z); //we have two sides of the triangle (hypotenuse is radius, one leg is (x*x+z*z)) this calculates the third one + if (dist > 0) //check if any blocks have to be broken here + { + dist = (int) Math.sqrt(dist); //calculate sphere height at this (x,z) coordinate + for (int y = dist; y > -dist / this.explosionCoefficient; y--) //go from top to bottom to favor light updates + { + //this.worldObj.setBlock(this.posX+x, this.posY+y, this.posZ+z, Blocks.air); //set block to air relative to epicenter + + ExplosionNukeGeneric.destruction(this.worldObj, this.posX + x, this.posY + y, this.posZ + z); + } + } + } + + private void vapor(int x, int z) + { + int dist = this.radius2 - (x * x + z * z); + if (dist > 0) + { + dist = (int) Math.sqrt(dist); + for (int y = dist; y > -dist; y--) + { + + ExplosionNukeGeneric.vaporDest(this.worldObj, this.posX + x, this.posY + y, this.posZ + z); + } + } + } + + private void waste(int x, int z) + { + int dist = this.radius2 - (x * x + z * z); + if (dist > 0) + { + dist = (int) Math.sqrt(dist); + for (int y = dist; y > -dist; y--) + { + if(radius >= 95) + ExplosionNukeGeneric.wasteDest(this.worldObj, this.posX + x, this.posY + y, this.posZ + z); + else + ExplosionNukeGeneric.wasteDestNoSchrab(this.worldObj, this.posX + x, this.posY + y, this.posZ + z); + } + } + } + + /*public static void mush(World world, double x, double y, double z) + { + double d = (float)x + 0.5F; + double d1 = (float)y + 0.5F; + double d2 = (float)z + 0.5F; + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 15, d1, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2 + 15, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 15, d1, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2 - 15, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 25, d1, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2 + 25, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 25, d1, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1, d2 - 25, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 10, d1, d2 + 10, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 10, d1, d2 - 10, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 10, d1, d2 + 10, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 10, d1, d2 - 10, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 15, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 30, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 45, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 60, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 75, d2, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 15, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2 + 15, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 15, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2 - 15, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 40, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2 + 40, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 40, d1 + 90, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 90, d2 - 40, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 30, d1 + 90, d2 + 30, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 30, d1 + 90, d2 - 30, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 30, d1 + 90, d2 + 30, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 30, d1 + 90, d2 - 30, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 105, d2, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 30, d1 + 105, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 105, d2 + 30, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 30, d1 + 105, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 105, d2 - 30, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 20, d1 + 105, d2 + 20, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 20, d1 + 105, d2 - 20, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 20, d1 + 105, d2 + 20, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 20, d1 + 105, d2 - 20, 0.0D, 0.0D, 0.0D, 100)); + + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d + 10, d1 + 120, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 120, d2 + 10, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d - 10, d1 + 120, d2, 0.0D, 0.0D, 0.0D, 100)); + Minecraft.getMinecraft().effectRenderer.addEffect(new NukeCloudFX(world, d, d1 + 120, d2 - 10, 0.0D, 0.0D, 0.0D, 100)); + }*/ +} diff --git a/com/hbm/explosion/ExplosionNukeGeneric.java b/com/hbm/explosion/ExplosionNukeGeneric.java index eafffcea2..59834e02d 100644 --- a/com/hbm/explosion/ExplosionNukeGeneric.java +++ b/com/hbm/explosion/ExplosionNukeGeneric.java @@ -1,627 +1,510 @@ -package com.hbm.explosion; - -import java.util.HashSet; -import java.util.List; -import java.util.Random; - -import net.minecraft.enchantment.EnchantmentProtection; -import net.minecraft.entity.Entity; -import net.minecraft.entity.passive.EntityOcelot; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.init.Blocks; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; -import net.minecraft.world.WorldSettings.GameType; -import net.minecraftforge.common.util.ForgeDirection; - -import com.hbm.blocks.DecoBlockAlt; -import com.hbm.blocks.ModBlocks; -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.grenade.EntityGrenadeASchrab; -import com.hbm.entity.grenade.EntityGrenadeNuclear; -import com.hbm.entity.missile.EntityMIRV; -import com.hbm.entity.projectile.EntityMiniMIRV; -import com.hbm.entity.projectile.EntityMiniNuke; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; - -public class ExplosionNukeGeneric { - - private final static Random field_149933_a = new Random(); - - public static void detonateTestBomb(World world, int x, int y, int z, int bombStartStrength) { - int r = bombStartStrength; - int r2 = r * r; - int r22 = r2 / 2; - for (int xx = -r; xx < r; xx++) { - int X = xx + x; - int XX = xx * xx; - for (int yy = -r; yy < r; yy++) { - int Y = yy + y; - int YY = XX + yy * yy; - for (int zz = -r; zz < r; zz++) { - int Z = zz + z; - int ZZ = YY + zz * zz; - if (r22 >= 25) { - if (ZZ < r22 + world.rand.nextInt(r22 / 25)) { - if (Y >= y) - destruction(world, X, Y, Z); - } - } else { - if (ZZ < r22) { - if (Y >= y) - destruction(world, X, Y, Z); - } - } - } - } - } - - for (int xx = -r; xx < r; xx++) { - int X = xx + x; - int XX = xx * xx; - for (int yy = -r; yy < r; yy++) { - int Y = yy + y; - int YY = XX + yy * yy * 50; - for (int zz = -r; zz < r; zz++) { - int Z = zz + z; - int ZZ = YY + zz * zz; - if (ZZ < r22/* +world.rand.nextInt(r22) */) { - if (Y < y) - destruction(world, X, Y, Z); - } - } - } - } - } - - public static void empBlast(World world, int x, int y, int z, int bombStartStrength) { - int r = bombStartStrength; - int r2 = r * r; - int r22 = r2 / 2; - for (int xx = -r; xx < r; xx++) { - int X = xx + x; - int XX = xx * xx; - for (int yy = -r; yy < r; yy++) { - int Y = yy + y; - int YY = XX + yy * yy; - for (int zz = -r; zz < r; zz++) { - int Z = zz + z; - int ZZ = YY + zz * zz; - if (ZZ < r22) { - emp(world, X, Y, Z); - } - } - } - } - } - - public static void dealDamage(World world, int x, int y, int z, int bombStartStrength) { -<<<<<<< HEAD - float f = bombStartStrength; - HashSet hashset = new HashSet(); - int i; - int j; - int k; - double d5; - double d6; - double d7; - double wat = bombStartStrength/** 2 */ - ; - boolean isOccupied = false; - - // bombStartStrength *= 2.0F; - i = MathHelper.floor_double(x - wat - 1.0D); - j = MathHelper.floor_double(x + wat + 1.0D); - k = MathHelper.floor_double(y - wat - 1.0D); - int i2 = MathHelper.floor_double(y + wat + 1.0D); - int l = MathHelper.floor_double(z - wat - 1.0D); - int j2 = MathHelper.floor_double(z + wat + 1.0D); - List list = world.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); - Vec3 vec3 = Vec3.createVectorHelper(x, y, z); - - for (int i1 = 0; i1 < list.size(); ++i1) { - Entity entity = (Entity) list.get(i1); - double d4 = entity.getDistance(x, y, z) / bombStartStrength; - - if (d4 <= 1.0D) { - d5 = entity.posX - x; - d6 = entity.posY + entity.getEyeHeight() - y; - d7 = entity.posZ - z; - double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); - if (d9 < wat && !(entity instanceof EntityOcelot) && !(entity instanceof EntityNukeCloudSmall) - && !(entity instanceof EntityMIRV) && !(entity instanceof EntityMiniNuke) - && !(entity instanceof EntityMiniMIRV) && !(entity instanceof EntityGrenadeASchrab) - && !(entity instanceof EntityGrenadeNuclear) - && !(entity instanceof EntityPlayer - && Library.checkArmor((EntityPlayer) entity, ModItems.euphemium_helmet, - ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots))) { - d5 /= d9; - d6 /= d9; - d7 /= d9; - // double d10 = (double)world.getBlockDensity(vec3, - // entity.boundingBox); - // if(d10 > 0) isOccupied = true; - double d11 = (1.0D - d4);// * d10; - if (!(entity instanceof EntityPlayerMP) || (entity instanceof EntityPlayerMP - && ((EntityPlayerMP) entity).theItemInWorldManager.getGameType() != GameType.CREATIVE)) { - // entity.attackEntityFrom(DamageSource.generic, - // ((int)((d11 * d11 + d11) / 2.0D * 8.0D * - // bombStartStrength + 1.0D))); - entity.attackEntityFrom(ModDamageSource.nuclearBlast, 10F); - entity.setFire(5); - double d8 = EnchantmentProtection.func_92092_a(entity, d11); - entity.motionX += d5 * d8; - entity.motionY += d6 * d8; - entity.motionZ += d7 * d8; - } - } - } - } - - bombStartStrength = (int) f; -======= - float f = bombStartStrength; - HashSet hashset = new HashSet(); - int i; - int j; - int k; - double d5; - double d6; - double d7; - double wat = bombStartStrength/**2*/; - boolean isOccupied = false; - - - //bombStartStrength *= 2.0F; - i = MathHelper.floor_double(x - wat - 1.0D); - j = MathHelper.floor_double(x + wat + 1.0D); - k = MathHelper.floor_double(y - wat - 1.0D); - int i2 = MathHelper.floor_double(y + wat + 1.0D); - int l = MathHelper.floor_double(z - wat - 1.0D); - int j2 = MathHelper.floor_double(z + wat + 1.0D); - List list = world.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); - Vec3 vec3 = Vec3.createVectorHelper(x, y, z); - - for (int i1 = 0; i1 < list.size(); ++i1) - { - Entity entity = (Entity)list.get(i1); - double d4 = entity.getDistance(x, y, z) / bombStartStrength; - - if (d4 <= 1.0D) - { - d5 = entity.posX - x; - d6 = entity.posY + entity.getEyeHeight() - y; - d7 = entity.posZ - z; - double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); - if (d9 < wat && !(entity instanceof EntityOcelot) && !(entity instanceof EntityNukeCloudSmall) && !(entity instanceof EntityMirv) && !(entity instanceof EntityMiniNuke) && !(entity instanceof EntityGrenadeNuclear) && !(entity instanceof EntityPlayer && Library.checkArmor((EntityPlayer)entity, ModItems.euphemium_helmet, ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots))) - { - d5 /= d9; - d6 /= d9; - d7 /= d9; - //double d10 = (double)world.getBlockDensity(vec3, entity.boundingBox); - //if(d10 > 0) isOccupied = true; - double d11 = (1.0D - d4);// * d10; - if(!(entity instanceof EntityPlayerMP) || (entity instanceof EntityPlayerMP && ((EntityPlayerMP)entity).theItemInWorldManager.getGameType() != GameType.CREATIVE)) - { - //entity.attackEntityFrom(DamageSource.generic, ((int)((d11 * d11 + d11) / 2.0D * 8.0D * bombStartStrength + 1.0D))); - entity.attackEntityFrom(ModDamageSource.nuclearBlast, 10F); - entity.setFire(5); - double d8 = EnchantmentProtection.func_92092_a(entity, d11); - entity.motionX += d5 * d8; - entity.motionY += d6 * d8; - entity.motionZ += d7 * d8; - } - } - } - } - - bombStartStrength = (int)f; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - } - - public static void vapor(World world, int x, int y, int z, int bombStartStrength) { - int r = bombStartStrength * 2; - int r2 = r * r; - int r22 = r2 / 2; - for (int xx = -r; xx < r; xx++) { - int X = xx + x; - int XX = xx * xx; - for (int yy = -r; yy < r; yy++) { - int Y = yy + y; - int YY = XX + yy * yy; - for (int zz = -r; zz < r; zz++) { - int Z = zz + z; - int ZZ = YY + zz * zz; - if (ZZ < r22) - vaporDest(world, X, Y, Z); - } - } - } - } - - public static void destruction(World world, int x, int y, int z) { - int rand; -<<<<<<< HEAD -======= -<<<<<<< HEAD ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - if (!world.isRemote) { - if (world.getBlock(x, y, z) != Blocks.bedrock && world.getBlock(x, y, z) != ModBlocks.reinforced_brick - && world.getBlock(x, y, z) != ModBlocks.reinforced_glass - && world.getBlock(x, y, z) != ModBlocks.reinforced_light - && world.getBlock(x, y, z) != ModBlocks.reinforced_sand - && world.getBlock(x, y, z) != ModBlocks.reinforced_lamp_off - && world.getBlock(x, y, z) != ModBlocks.reinforced_lamp_on - && world.getBlock(x, y, z) != ModBlocks.cmb_brick - && world.getBlock(x, y, z) != ModBlocks.cmb_brick_reinforced - && !(world.getBlock(x, y, z) instanceof DecoBlockAlt)) { - if (world.getBlock(x, y, z) == ModBlocks.brick_concrete) { - rand = field_149933_a.nextInt(8); - if (rand == 0) { - world.setBlock(x, y, z, Blocks.gravel, 0, 3); - } - } else if (world.getBlock(x, y, z) == ModBlocks.brick_light) { - rand = field_149933_a.nextInt(2); - if (rand == 0) { - world.setBlock(x, y, z, ModBlocks.waste_planks, 0, 3); - } - } else if (world.getBlock(x, y, z) == ModBlocks.brick_obsidian) { - rand = field_149933_a.nextInt(20); - if (rand == 0) { - world.setBlock(x, y, z, Blocks.obsidian, 0, 3); - } -<<<<<<< HEAD - } else if (world.getBlock(x, y, z) == Blocks.obsidian) { - world.setBlock(x, y, z, ModBlocks.gravel_obsidian, 0, 3); - } else { - world.setBlock(x, y, z, Blocks.air, 0, 3); -======= - } else if (world.getBlock(x, y, z) == ModBlocks.brick_obsidian) { - world.setBlock(x, y, z, ModBlocks.gravel_obsidian, 0, 3); - } else { - world.setBlock(x, y, z, Blocks.air, 0, 3); -======= - if(!world.isRemote) - { - if(world.getBlock(x, y, z) != Blocks.bedrock && world.getBlock(x, y, z) != ModBlocks.reinforced_brick && world.getBlock(x, y, z) != ModBlocks.reinforced_glass && world.getBlock(x, y, z) != ModBlocks.reinforced_light && world.getBlock(x, y, z) != ModBlocks.reinforced_sand && world.getBlock(x, y, z) != ModBlocks.reinforced_lamp_off && world.getBlock(x, y, z) != ModBlocks.reinforced_lamp_on && world.getBlock(x, y, z) != ModBlocks.cmb_brick && world.getBlock(x, y, z) != ModBlocks.cmb_brick_reinforced && !(world.getBlock(x, y, z) instanceof DecoBlockAlt)) - { - if(world.getBlock(x, y, z) == ModBlocks.brick_concrete) - { - rand = field_149933_a.nextInt(8); - if(rand == 0) - { - world.setBlock(x, y, z, Blocks.gravel, 0, 3); - } - }else if(world.getBlock(x, y, z) == ModBlocks.brick_light) - { - rand = field_149933_a.nextInt(2); - if(rand == 0) - { - world.setBlock(x, y, z, ModBlocks.waste_planks, 0, 3); - } - }else if(world.getBlock(x, y, z) == ModBlocks.brick_obsidian) - { - rand = field_149933_a.nextInt(20); - if(rand == 0) - { - world.setBlock(x, y, z, Blocks.obsidian, 0, 3); ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - } - } - } - } - - public static void vaporDest(World world, int x, int y, int z) { - if (!world.isRemote) { - if (world.getBlock(x, y, z) == Blocks.water || world.getBlock(x, y, z) == Blocks.flowing_water - || world.getBlock(x, y, z) == Blocks.tallgrass || world.getBlock(x, y, z) == Blocks.leaves - || world.getBlock(x, y, z) == Blocks.leaves2 || world.getBlock(x, y, z) == Blocks.double_plant - || world.getBlock(x, y, z) == Blocks.cactus || world.getBlock(x, y, z) == Blocks.snow_layer - || world.getBlock(x, y, z) == Blocks.reeds || world.getBlock(x, y, z) == Blocks.glass_pane - || world.getBlock(x, y, z) == Blocks.stained_glass_pane || world.getBlock(x, y, z) == Blocks.carrots - || world.getBlock(x, y, z) == Blocks.potatoes || world.getBlock(x, y, z) == Blocks.wheat - || world.getBlock(x, y, z) == Blocks.ladder || world.getBlock(x, y, z) == Blocks.torch - || world.getBlock(x, y, z) == Blocks.redstone_torch - || world.getBlock(x, y, z) == Blocks.unlit_redstone_torch - || world.getBlock(x, y, z) == Blocks.redstone_wire - || world.getBlock(x, y, z) == Blocks.unpowered_repeater - || world.getBlock(x, y, z) == Blocks.powered_repeater - || world.getBlock(x, y, z) == Blocks.wooden_pressure_plate - || world.getBlock(x, y, z) == Blocks.stone_pressure_plate - || world.getBlock(x, y, z) == Blocks.wooden_button || world.getBlock(x, y, z) == Blocks.stone_button - || world.getBlock(x, y, z) == Blocks.lever || world.getBlock(x, y, z) == Blocks.deadbush - || world.getBlock(x, y, z) == ModBlocks.red_cable) { - world.setBlock(x, y, z, Blocks.air); - } - - if (world.getBlock(x, y, z).isFlammable(world, x, y, z, ForgeDirection.UP) - && world.getBlock(x, y + 1, z) == Blocks.air) { - world.setBlock(x, y + 1, z, Blocks.fire); - } - } - } - - public static void waste(World world, int x, int y, int z, int radius) { - int r = radius; - int r2 = r * r; - int r22 = r2 / 2; - for (int xx = -r; xx < r; xx++) { - int X = xx + x; - int XX = xx * xx; - for (int yy = -r; yy < r; yy++) { - int Y = yy + y; - int YY = XX + yy * yy; - for (int zz = -r; zz < r; zz++) { - int Z = zz + z; - int ZZ = YY + zz * zz; - if (ZZ < r22 + world.rand.nextInt(r22 / 5)) { - if (world.getBlock(X, Y, Z) != Blocks.air) - wasteDest(world, X, Y, Z); - } - } - } - } - } - - public static void wasteDest(World world, int x, int y, int z) { - if (!world.isRemote) { - int rand; - - if (world.getBlock(x, y, z) == Blocks.glass || world.getBlock(x, y, z) == Blocks.stained_glass - || world.getBlock(x, y, z) == Blocks.wooden_door || world.getBlock(x, y, z) == Blocks.iron_door) { - world.setBlock(x, y, z, Blocks.air); - } - - else if (world.getBlock(x, y, z) == Blocks.grass) { - world.setBlock(x, y, z, ModBlocks.waste_earth); - } - - else if (world.getBlock(x, y, z) == Blocks.mycelium) { - world.setBlock(x, y, z, ModBlocks.waste_mycelium); - } -<<<<<<< HEAD - - else if (world.getBlock(x, y, z) == Blocks.sand) { - rand = field_149933_a.nextInt(20); - if (rand == 1 && world.getBlockMetadata(x, y, z) == 0) { - world.setBlock(x, y, z, ModBlocks.waste_trinitite); - } - if (rand == 1 && world.getBlockMetadata(x, y, z) == 1) { - world.setBlock(x, y, z, ModBlocks.waste_trinitite_red); - } -======= - } - - else if(world.getBlock(x, y, z) == ModBlocks.ore_nether_uranium) - { - rand = field_149933_a.nextInt(30); - if(rand == 1) - { - world.setBlock(x, y, z, ModBlocks.ore_nether_schrabidium); - } - } - - else if(world.getBlock(x, y, z) == Blocks.brown_mushroom_block) - { - if(world.getBlockMetadata(x, y, z) == 10) - { - world.setBlock(x, y, z, ModBlocks.waste_log); - } else { - world.setBlock(x, y, z, Blocks.air); ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - } - - else if (world.getBlock(x, y, z) == Blocks.clay) { - world.setBlock(x, y, z, Blocks.hardened_clay); - } - - else if (world.getBlock(x, y, z) == Blocks.mossy_cobblestone) { - world.setBlock(x, y, z, Blocks.coal_ore); - } - - else if (world.getBlock(x, y, z) == Blocks.coal_ore) { - rand = field_149933_a.nextInt(10); - if (rand == 1 || rand == 2 || rand == 3) { - world.setBlock(x, y, z, Blocks.diamond_ore); - } - if (rand == 9) { - world.setBlock(x, y, z, Blocks.emerald_ore); - } - } - - else if (world.getBlock(x, y, z) == Blocks.log || world.getBlock(x, y, z) == Blocks.log2) { - world.setBlock(x, y, z, ModBlocks.waste_log); - } - - else if (world.getBlock(x, y, z) == Blocks.planks) { - world.setBlock(x, y, z, ModBlocks.waste_planks); - } - - else if (world.getBlock(x, y, z) == ModBlocks.ore_uranium) { - rand = field_149933_a.nextInt(30); - if (rand == 1) { - world.setBlock(x, y, z, ModBlocks.ore_schrabidium); - } - } - - else if (world.getBlock(x, y, z) == ModBlocks.ore_nether_uranium) { - rand = field_149933_a.nextInt(30); - if (rand == 1) { - world.setBlock(x, y, z, ModBlocks.ore_nether_schrabidium); - } - } - - else if (world.getBlock(x, y, z) == Blocks.brown_mushroom_block) { - if (world.getBlockMetadata(x, y, z) == 10) { - world.setBlock(x, y, z, ModBlocks.waste_log); - } else { - world.setBlock(x, y, z, Blocks.air); - } - } - - else if (world.getBlock(x, y, z) == Blocks.red_mushroom_block) { - if (world.getBlockMetadata(x, y, z) == 10) { - world.setBlock(x, y, z, ModBlocks.waste_log); - } else { - world.setBlock(x, y, z, Blocks.air); - } - } - } - } - - public static void wasteNoSchrab(World world, int x, int y, int z, int radius) { - int r = radius; - int r2 = r * r; - int r22 = r2 / 2; - for (int xx = -r; xx < r; xx++) { - int X = xx + x; - int XX = xx * xx; - for (int yy = -r; yy < r; yy++) { - int Y = yy + y; - int YY = XX + yy * yy; - for (int zz = -r; zz < r; zz++) { - int Z = zz + z; - int ZZ = YY + zz * zz; - if (ZZ < r22 + world.rand.nextInt(r22 / 5)) { - if (world.getBlock(X, Y, Z) != Blocks.air) - wasteDestNoSchrab(world, X, Y, Z); - } - } - } - } - } - - public static void wasteDestNoSchrab(World world, int x, int y, int z) { - if (!world.isRemote) { - int rand; - - if (world.getBlock(x, y, z) == Blocks.glass || world.getBlock(x, y, z) == Blocks.stained_glass - || world.getBlock(x, y, z) == Blocks.wooden_door || world.getBlock(x, y, z) == Blocks.iron_door - || world.getBlock(x, y, z) == Blocks.leaves || world.getBlock(x, y, z) == Blocks.leaves2) { - world.setBlock(x, y, z, Blocks.air); - } - - else if (world.getBlock(x, y, z) == Blocks.grass) { - world.setBlock(x, y, z, ModBlocks.waste_earth); - } - - else if (world.getBlock(x, y, z) == Blocks.mycelium) { - world.setBlock(x, y, z, ModBlocks.waste_mycelium); - } - - else if (world.getBlock(x, y, z) == Blocks.sand) { - rand = field_149933_a.nextInt(20); - if (rand == 1 && world.getBlockMetadata(x, y, z) == 0) { - world.setBlock(x, y, z, ModBlocks.waste_trinitite); - } - if (rand == 1 && world.getBlockMetadata(x, y, z) == 1) { - world.setBlock(x, y, z, ModBlocks.waste_trinitite_red); - } - } - - else if (world.getBlock(x, y, z) == Blocks.clay) { - world.setBlock(x, y, z, Blocks.hardened_clay); - } - - else if (world.getBlock(x, y, z) == Blocks.mossy_cobblestone) { - world.setBlock(x, y, z, Blocks.coal_ore); - } - - else if (world.getBlock(x, y, z) == Blocks.coal_ore) { - rand = field_149933_a.nextInt(30); - if (rand == 1 || rand == 2 || rand == 3) { - world.setBlock(x, y, z, Blocks.diamond_ore); - } - if (rand == 29) { - world.setBlock(x, y, z, Blocks.emerald_ore); - } - } - - else if (world.getBlock(x, y, z) == Blocks.log || world.getBlock(x, y, z) == Blocks.log2) { - world.setBlock(x, y, z, ModBlocks.waste_log); - } - - else if (world.getBlock(x, y, z) == Blocks.planks) { - world.setBlock(x, y, z, ModBlocks.waste_planks); - } - - else if (world.getBlock(x, y, z) == Blocks.brown_mushroom_block) { - if (world.getBlockMetadata(x, y, z) == 10) { - world.setBlock(x, y, z, ModBlocks.waste_log); - } else { - world.setBlock(x, y, z, Blocks.air); - } - } - - else if (world.getBlock(x, y, z) == Blocks.red_mushroom_block) { - if (world.getBlockMetadata(x, y, z) == 10) { - world.setBlock(x, y, z, ModBlocks.waste_log); - } else { - world.setBlock(x, y, z, Blocks.air); - } - } - } - } - - public static void emp(World world, int x, int y, int z) { - if (!world.isRemote) { - - if (world.getTileEntity(x, y, z) != null && (world.getTileEntity(x, y, z) instanceof ISource - || world.getTileEntity(x, y, z) instanceof IConsumer)) { - world.setBlock(x, y, z, ModBlocks.block_electrical_scrap); - } - - else if (world.getBlock(x, y, z) == ModBlocks.red_wire_coated || - world.getBlock(x, y, z) == ModBlocks.factory_titanium_furnace || - world.getBlock(x, y, z) == ModBlocks.factory_titanium_conductor || - world.getBlock(x, y, z) == ModBlocks.factory_advanced_furnace || - world.getBlock(x, y, z) == ModBlocks.factory_advanced_conductor || - world.getBlock(x, y, z) == ModBlocks.reactor_conductor || - world.getBlock(x, y, z) == ModBlocks.fusion_conductor || - world.getBlock(x, y, z) == ModBlocks.fusion_center || - world.getBlock(x, y, z) == ModBlocks.fusion_motor || - world.getBlock(x, y, z) == ModBlocks.watz_conductor || - world.getBlock(x, y, z) == ModBlocks.fwatz_conductor || - world.getBlock(x, y, z) == ModBlocks.fwatz_hatch || - world.getBlock(x, y, z) == ModBlocks.fwatz_computer) { - world.setBlock(x, y, z, ModBlocks.block_electrical_scrap); - } - - else if (world.getBlock(x, y, z) == ModBlocks.red_cable || - world.getBlock(x, y, z) == Blocks.redstone_wire || - world.getBlock(x, y, z) == Blocks.powered_repeater || - world.getBlock(x, y, z) == Blocks.unpowered_repeater || - world.getBlock(x, y, z) == Blocks.activator_rail || - world.getBlock(x, y, z) == Blocks.detector_rail || - world.getBlock(x, y, z) == Blocks.golden_rail || - world.getBlock(x, y, z) == Blocks.redstone_block || - world.getBlock(x, y, z) == Blocks.redstone_lamp || - world.getBlock(x, y, z) == Blocks.redstone_ore || - world.getBlock(x, y, z) == Blocks.redstone_torch || - world.getBlock(x, y, z) == Blocks.unlit_redstone_torch || - world.getBlock(x, y, z) == Blocks.powered_comparator || - world.getBlock(x, y, z) == Blocks.unpowered_comparator) { - world.setBlock(x, y, z, Blocks.air); - } - - else if (world.getBlock(x, y, z) == Blocks.dispenser || - world.getBlock(x, y, z) == Blocks.dropper || - world.getBlock(x, y, z) == Blocks.piston || - world.getBlock(x, y, z) == Blocks.piston_extension || - world.getBlock(x, y, z) == Blocks.piston_head || - world.getBlock(x, y, z) == Blocks.sticky_piston) { - world.setBlock(x, y, z, Blocks.gravel); - } - } - //world.setBlock(x, y, z, Blocks.air); - } -} +package com.hbm.explosion; + +import java.util.HashSet; +import java.util.List; +import java.util.Random; + +import net.minecraft.enchantment.EnchantmentProtection; +import net.minecraft.entity.Entity; +import net.minecraft.entity.passive.EntityOcelot; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.init.Blocks; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; +import net.minecraft.world.WorldSettings.GameType; +import net.minecraftforge.common.util.ForgeDirection; + +import com.hbm.blocks.ModBlocks; +import com.hbm.blocks.generic.DecoBlockAlt; +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.grenade.EntityGrenadeASchrab; +import com.hbm.entity.grenade.EntityGrenadeNuclear; +import com.hbm.entity.missile.EntityMIRV; +import com.hbm.entity.projectile.EntityMiniMIRV; +import com.hbm.entity.projectile.EntityMiniNuke; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; + +public class ExplosionNukeGeneric { + + private final static Random field_149933_a = new Random(); + + public static void detonateTestBomb(World world, int x, int y, int z, int bombStartStrength) { + int r = bombStartStrength; + int r2 = r * r; + int r22 = r2 / 2; + for (int xx = -r; xx < r; xx++) { + int X = xx + x; + int XX = xx * xx; + for (int yy = -r; yy < r; yy++) { + int Y = yy + y; + int YY = XX + yy * yy; + for (int zz = -r; zz < r; zz++) { + int Z = zz + z; + int ZZ = YY + zz * zz; + if (r22 >= 25) { + if (ZZ < r22 + world.rand.nextInt(r22 / 25)) { + if (Y >= y) + destruction(world, X, Y, Z); + } + } else { + if (ZZ < r22) { + if (Y >= y) + destruction(world, X, Y, Z); + } + } + } + } + } + + for (int xx = -r; xx < r; xx++) { + int X = xx + x; + int XX = xx * xx; + for (int yy = -r; yy < r; yy++) { + int Y = yy + y; + int YY = XX + yy * yy * 50; + for (int zz = -r; zz < r; zz++) { + int Z = zz + z; + int ZZ = YY + zz * zz; + if (ZZ < r22/* +world.rand.nextInt(r22) */) { + if (Y < y) + destruction(world, X, Y, Z); + } + } + } + } + } + + public static void empBlast(World world, int x, int y, int z, int bombStartStrength) { + int r = bombStartStrength; + int r2 = r * r; + int r22 = r2 / 2; + for (int xx = -r; xx < r; xx++) { + int X = xx + x; + int XX = xx * xx; + for (int yy = -r; yy < r; yy++) { + int Y = yy + y; + int YY = XX + yy * yy; + for (int zz = -r; zz < r; zz++) { + int Z = zz + z; + int ZZ = YY + zz * zz; + if (ZZ < r22) { + emp(world, X, Y, Z); + } + } + } + } + } + + public static void dealDamage(World world, int x, int y, int z, int bombStartStrength) { + float f = bombStartStrength; + HashSet hashset = new HashSet(); + int i; + int j; + int k; + double d5; + double d6; + double d7; + double wat = bombStartStrength/** 2 */ + ; + boolean isOccupied = false; + + // bombStartStrength *= 2.0F; + i = MathHelper.floor_double(x - wat - 1.0D); + j = MathHelper.floor_double(x + wat + 1.0D); + k = MathHelper.floor_double(y - wat - 1.0D); + int i2 = MathHelper.floor_double(y + wat + 1.0D); + int l = MathHelper.floor_double(z - wat - 1.0D); + int j2 = MathHelper.floor_double(z + wat + 1.0D); + List list = world.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); + Vec3 vec3 = Vec3.createVectorHelper(x, y, z); + + for (int i1 = 0; i1 < list.size(); ++i1) { + Entity entity = (Entity) list.get(i1); + double d4 = entity.getDistance(x, y, z) / bombStartStrength; + + if (d4 <= 1.0D) { + d5 = entity.posX - x; + d6 = entity.posY + entity.getEyeHeight() - y; + d7 = entity.posZ - z; + double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); + if (d9 < wat && !(entity instanceof EntityOcelot) && !(entity instanceof EntityNukeCloudSmall) + && !(entity instanceof EntityMIRV) && !(entity instanceof EntityMiniNuke) + && !(entity instanceof EntityMiniMIRV) && !(entity instanceof EntityGrenadeASchrab) + && !(entity instanceof EntityGrenadeNuclear) + && !(entity instanceof EntityPlayer + && Library.checkArmor((EntityPlayer) entity, ModItems.euphemium_helmet, + ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots))) { + d5 /= d9; + d6 /= d9; + d7 /= d9; + // double d10 = (double)world.getBlockDensity(vec3, + // entity.boundingBox); + // if(d10 > 0) isOccupied = true; + double d11 = (1.0D - d4);// * d10; + if (!(entity instanceof EntityPlayerMP) || (entity instanceof EntityPlayerMP + && ((EntityPlayerMP) entity).theItemInWorldManager.getGameType() != GameType.CREATIVE)) { + // entity.attackEntityFrom(DamageSource.generic, + // ((int)((d11 * d11 + d11) / 2.0D * 8.0D * + // bombStartStrength + 1.0D))); + entity.attackEntityFrom(ModDamageSource.nuclearBlast, 10F); + entity.setFire(5); + double d8 = EnchantmentProtection.func_92092_a(entity, d11); + entity.motionX += d5 * d8; + entity.motionY += d6 * d8; + entity.motionZ += d7 * d8; + } + } + } + } + + bombStartStrength = (int) f; + } + + public static void vapor(World world, int x, int y, int z, int bombStartStrength) { + int r = bombStartStrength * 2; + int r2 = r * r; + int r22 = r2 / 2; + for (int xx = -r; xx < r; xx++) { + int X = xx + x; + int XX = xx * xx; + for (int yy = -r; yy < r; yy++) { + int Y = yy + y; + int YY = XX + yy * yy; + for (int zz = -r; zz < r; zz++) { + int Z = zz + z; + int ZZ = YY + zz * zz; + if (ZZ < r22) + vaporDest(world, X, Y, Z); + } + } + } + } + + public static void destruction(World world, int x, int y, int z) { + int rand; + if (!world.isRemote) { + if (world.getBlock(x, y, z) != Blocks.bedrock && world.getBlock(x, y, z) != ModBlocks.reinforced_brick + && world.getBlock(x, y, z) != ModBlocks.reinforced_glass + && world.getBlock(x, y, z) != ModBlocks.reinforced_light + && world.getBlock(x, y, z) != ModBlocks.reinforced_sand + && world.getBlock(x, y, z) != ModBlocks.reinforced_lamp_off + && world.getBlock(x, y, z) != ModBlocks.reinforced_lamp_on + && world.getBlock(x, y, z) != ModBlocks.cmb_brick + && world.getBlock(x, y, z) != ModBlocks.cmb_brick_reinforced + && !(world.getBlock(x, y, z) instanceof DecoBlockAlt)) { + if (world.getBlock(x, y, z) == ModBlocks.brick_concrete) { + rand = field_149933_a.nextInt(8); + if (rand == 0) { + world.setBlock(x, y, z, Blocks.gravel, 0, 3); + } + } else if (world.getBlock(x, y, z) == ModBlocks.brick_light) { + rand = field_149933_a.nextInt(2); + if (rand == 0) { + world.setBlock(x, y, z, ModBlocks.waste_planks, 0, 3); + } + } else if (world.getBlock(x, y, z) == ModBlocks.brick_obsidian) { + rand = field_149933_a.nextInt(20); + if (rand == 0) { + world.setBlock(x, y, z, Blocks.obsidian, 0, 3); + } + } else if (world.getBlock(x, y, z) == Blocks.obsidian) { + world.setBlock(x, y, z, ModBlocks.gravel_obsidian, 0, 3); + } else { + world.setBlock(x, y, z, Blocks.air, 0, 3); + } + } + } + } + + public static void vaporDest(World world, int x, int y, int z) { + if (!world.isRemote) { + if (world.getBlock(x, y, z) == Blocks.water || world.getBlock(x, y, z) == Blocks.flowing_water + || world.getBlock(x, y, z) == Blocks.tallgrass || world.getBlock(x, y, z) == Blocks.leaves + || world.getBlock(x, y, z) == Blocks.leaves2 || world.getBlock(x, y, z) == Blocks.double_plant + || world.getBlock(x, y, z) == Blocks.cactus || world.getBlock(x, y, z) == Blocks.snow_layer + || world.getBlock(x, y, z) == Blocks.reeds || world.getBlock(x, y, z) == Blocks.glass_pane + || world.getBlock(x, y, z) == Blocks.stained_glass_pane || world.getBlock(x, y, z) == Blocks.carrots + || world.getBlock(x, y, z) == Blocks.potatoes || world.getBlock(x, y, z) == Blocks.wheat + || world.getBlock(x, y, z) == Blocks.ladder || world.getBlock(x, y, z) == Blocks.torch + || world.getBlock(x, y, z) == Blocks.redstone_torch + || world.getBlock(x, y, z) == Blocks.unlit_redstone_torch + || world.getBlock(x, y, z) == Blocks.redstone_wire + || world.getBlock(x, y, z) == Blocks.unpowered_repeater + || world.getBlock(x, y, z) == Blocks.powered_repeater + || world.getBlock(x, y, z) == Blocks.wooden_pressure_plate + || world.getBlock(x, y, z) == Blocks.stone_pressure_plate + || world.getBlock(x, y, z) == Blocks.wooden_button || world.getBlock(x, y, z) == Blocks.stone_button + || world.getBlock(x, y, z) == Blocks.lever || world.getBlock(x, y, z) == Blocks.deadbush + || world.getBlock(x, y, z) == ModBlocks.red_cable) { + world.setBlock(x, y, z, Blocks.air); + } + + if (world.getBlock(x, y, z).isFlammable(world, x, y, z, ForgeDirection.UP) + && world.getBlock(x, y + 1, z) == Blocks.air) { + world.setBlock(x, y + 1, z, Blocks.fire); + } + } + } + + public static void waste(World world, int x, int y, int z, int radius) { + int r = radius; + int r2 = r * r; + int r22 = r2 / 2; + for (int xx = -r; xx < r; xx++) { + int X = xx + x; + int XX = xx * xx; + for (int yy = -r; yy < r; yy++) { + int Y = yy + y; + int YY = XX + yy * yy; + for (int zz = -r; zz < r; zz++) { + int Z = zz + z; + int ZZ = YY + zz * zz; + if (ZZ < r22 + world.rand.nextInt(r22 / 5)) { + if (world.getBlock(X, Y, Z) != Blocks.air) + wasteDest(world, X, Y, Z); + } + } + } + } + } + + public static void wasteDest(World world, int x, int y, int z) { + if (!world.isRemote) { + int rand; + + if (world.getBlock(x, y, z) == Blocks.glass || world.getBlock(x, y, z) == Blocks.stained_glass + || world.getBlock(x, y, z) == Blocks.wooden_door || world.getBlock(x, y, z) == Blocks.iron_door) { + world.setBlock(x, y, z, Blocks.air); + } + + else if (world.getBlock(x, y, z) == Blocks.grass) { + world.setBlock(x, y, z, ModBlocks.waste_earth); + } + + else if (world.getBlock(x, y, z) == Blocks.mycelium) { + world.setBlock(x, y, z, ModBlocks.waste_mycelium); + } + + else if (world.getBlock(x, y, z) == Blocks.sand) { + rand = field_149933_a.nextInt(20); + if (rand == 1 && world.getBlockMetadata(x, y, z) == 0) { + world.setBlock(x, y, z, ModBlocks.waste_trinitite); + } + if (rand == 1 && world.getBlockMetadata(x, y, z) == 1) { + world.setBlock(x, y, z, ModBlocks.waste_trinitite_red); + } + } + + else if (world.getBlock(x, y, z) == Blocks.clay) { + world.setBlock(x, y, z, Blocks.hardened_clay); + } + + else if (world.getBlock(x, y, z) == Blocks.mossy_cobblestone) { + world.setBlock(x, y, z, Blocks.coal_ore); + } + + else if (world.getBlock(x, y, z) == Blocks.coal_ore) { + rand = field_149933_a.nextInt(10); + if (rand == 1 || rand == 2 || rand == 3) { + world.setBlock(x, y, z, Blocks.diamond_ore); + } + if (rand == 9) { + world.setBlock(x, y, z, Blocks.emerald_ore); + } + } + + else if (world.getBlock(x, y, z) == Blocks.log || world.getBlock(x, y, z) == Blocks.log2) { + world.setBlock(x, y, z, ModBlocks.waste_log); + } + + else if (world.getBlock(x, y, z) == Blocks.planks) { + world.setBlock(x, y, z, ModBlocks.waste_planks); + } + + else if (world.getBlock(x, y, z) == ModBlocks.ore_uranium) { + rand = field_149933_a.nextInt(30); + if (rand == 1) { + world.setBlock(x, y, z, ModBlocks.ore_schrabidium); + } + } + + else if (world.getBlock(x, y, z) == ModBlocks.ore_nether_uranium) { + rand = field_149933_a.nextInt(30); + if (rand == 1) { + world.setBlock(x, y, z, ModBlocks.ore_nether_schrabidium); + } + } + + else if (world.getBlock(x, y, z) == Blocks.brown_mushroom_block) { + if (world.getBlockMetadata(x, y, z) == 10) { + world.setBlock(x, y, z, ModBlocks.waste_log); + } else { + world.setBlock(x, y, z, Blocks.air); + } + } + + else if (world.getBlock(x, y, z) == Blocks.red_mushroom_block) { + if (world.getBlockMetadata(x, y, z) == 10) { + world.setBlock(x, y, z, ModBlocks.waste_log); + } else { + world.setBlock(x, y, z, Blocks.air); + } + } + } + } + + public static void wasteNoSchrab(World world, int x, int y, int z, int radius) { + int r = radius; + int r2 = r * r; + int r22 = r2 / 2; + for (int xx = -r; xx < r; xx++) { + int X = xx + x; + int XX = xx * xx; + for (int yy = -r; yy < r; yy++) { + int Y = yy + y; + int YY = XX + yy * yy; + for (int zz = -r; zz < r; zz++) { + int Z = zz + z; + int ZZ = YY + zz * zz; + if (ZZ < r22 + world.rand.nextInt(r22 / 5)) { + if (world.getBlock(X, Y, Z) != Blocks.air) + wasteDestNoSchrab(world, X, Y, Z); + } + } + } + } + } + + public static void wasteDestNoSchrab(World world, int x, int y, int z) { + if (!world.isRemote) { + int rand; + + if (world.getBlock(x, y, z) == Blocks.glass || world.getBlock(x, y, z) == Blocks.stained_glass + || world.getBlock(x, y, z) == Blocks.wooden_door || world.getBlock(x, y, z) == Blocks.iron_door + || world.getBlock(x, y, z) == Blocks.leaves || world.getBlock(x, y, z) == Blocks.leaves2) { + world.setBlock(x, y, z, Blocks.air); + } + + else if (world.getBlock(x, y, z) == Blocks.grass) { + world.setBlock(x, y, z, ModBlocks.waste_earth); + } + + else if (world.getBlock(x, y, z) == Blocks.mycelium) { + world.setBlock(x, y, z, ModBlocks.waste_mycelium); + } + + else if (world.getBlock(x, y, z) == Blocks.sand) { + rand = field_149933_a.nextInt(20); + if (rand == 1 && world.getBlockMetadata(x, y, z) == 0) { + world.setBlock(x, y, z, ModBlocks.waste_trinitite); + } + if (rand == 1 && world.getBlockMetadata(x, y, z) == 1) { + world.setBlock(x, y, z, ModBlocks.waste_trinitite_red); + } + } + + else if (world.getBlock(x, y, z) == Blocks.clay) { + world.setBlock(x, y, z, Blocks.hardened_clay); + } + + else if (world.getBlock(x, y, z) == Blocks.mossy_cobblestone) { + world.setBlock(x, y, z, Blocks.coal_ore); + } + + else if (world.getBlock(x, y, z) == Blocks.coal_ore) { + rand = field_149933_a.nextInt(30); + if (rand == 1 || rand == 2 || rand == 3) { + world.setBlock(x, y, z, Blocks.diamond_ore); + } + if (rand == 29) { + world.setBlock(x, y, z, Blocks.emerald_ore); + } + } + + else if (world.getBlock(x, y, z) == Blocks.log || world.getBlock(x, y, z) == Blocks.log2) { + world.setBlock(x, y, z, ModBlocks.waste_log); + } + + else if (world.getBlock(x, y, z) == Blocks.planks) { + world.setBlock(x, y, z, ModBlocks.waste_planks); + } + + else if (world.getBlock(x, y, z) == Blocks.brown_mushroom_block) { + if (world.getBlockMetadata(x, y, z) == 10) { + world.setBlock(x, y, z, ModBlocks.waste_log); + } else { + world.setBlock(x, y, z, Blocks.air); + } + } + + else if (world.getBlock(x, y, z) == Blocks.red_mushroom_block) { + if (world.getBlockMetadata(x, y, z) == 10) { + world.setBlock(x, y, z, ModBlocks.waste_log); + } else { + world.setBlock(x, y, z, Blocks.air); + } + } + } + } + + public static void emp(World world, int x, int y, int z) { + if (!world.isRemote) { + + if (world.getTileEntity(x, y, z) != null && (world.getTileEntity(x, y, z) instanceof ISource + || world.getTileEntity(x, y, z) instanceof IConsumer)) { + world.setBlock(x, y, z, ModBlocks.block_electrical_scrap); + } + + else if (world.getBlock(x, y, z) == ModBlocks.red_wire_coated || + world.getBlock(x, y, z) == ModBlocks.factory_titanium_furnace || + world.getBlock(x, y, z) == ModBlocks.factory_titanium_conductor || + world.getBlock(x, y, z) == ModBlocks.factory_advanced_furnace || + world.getBlock(x, y, z) == ModBlocks.factory_advanced_conductor || + world.getBlock(x, y, z) == ModBlocks.reactor_conductor || + world.getBlock(x, y, z) == ModBlocks.fusion_conductor || + world.getBlock(x, y, z) == ModBlocks.fusion_center || + world.getBlock(x, y, z) == ModBlocks.fusion_motor || + world.getBlock(x, y, z) == ModBlocks.watz_conductor || + world.getBlock(x, y, z) == ModBlocks.fwatz_conductor || + world.getBlock(x, y, z) == ModBlocks.fwatz_hatch || + world.getBlock(x, y, z) == ModBlocks.fwatz_computer) { + world.setBlock(x, y, z, ModBlocks.block_electrical_scrap); + } + + else if (world.getBlock(x, y, z) == ModBlocks.red_cable || + world.getBlock(x, y, z) == Blocks.redstone_wire || + world.getBlock(x, y, z) == Blocks.powered_repeater || + world.getBlock(x, y, z) == Blocks.unpowered_repeater || + world.getBlock(x, y, z) == Blocks.activator_rail || + world.getBlock(x, y, z) == Blocks.detector_rail || + world.getBlock(x, y, z) == Blocks.golden_rail || + world.getBlock(x, y, z) == Blocks.redstone_block || + world.getBlock(x, y, z) == Blocks.redstone_lamp || + world.getBlock(x, y, z) == Blocks.redstone_ore || + world.getBlock(x, y, z) == Blocks.redstone_torch || + world.getBlock(x, y, z) == Blocks.unlit_redstone_torch || + world.getBlock(x, y, z) == Blocks.powered_comparator || + world.getBlock(x, y, z) == Blocks.unpowered_comparator) { + world.setBlock(x, y, z, Blocks.air); + } + + else if (world.getBlock(x, y, z) == Blocks.dispenser || + world.getBlock(x, y, z) == Blocks.dropper || + world.getBlock(x, y, z) == Blocks.piston || + world.getBlock(x, y, z) == Blocks.piston_extension || + world.getBlock(x, y, z) == Blocks.piston_head || + world.getBlock(x, y, z) == Blocks.sticky_piston) { + world.setBlock(x, y, z, Blocks.gravel); + } + } + //world.setBlock(x, y, z, Blocks.air); + } +} diff --git a/com/hbm/explosion/ExplosionParticle.java b/com/hbm/explosion/ExplosionParticle.java index cc8f02518..5441056dd 100644 --- a/com/hbm/explosion/ExplosionParticle.java +++ b/com/hbm/explosion/ExplosionParticle.java @@ -1,676 +1,676 @@ -package com.hbm.explosion; - -import com.hbm.entity.particle.EntitySmokeFX; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class ExplosionParticle { - - public static void spawnMush(World world, int x, int y, int z) - { - x -= 6; - z -= 6; - - /*world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 0, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 1, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 1, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 1, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 1, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 0, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 14, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 13, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 13, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 13, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 13, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 14, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 1, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 1, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 1, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 1, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 1, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 1, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 1, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 1, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 1, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 1, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 1, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 1, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 1, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 1, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 1, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 1, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 2, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 2, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 2, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 2, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 2, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 2, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 2, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 2, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 2, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 2, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 2, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 2, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 3, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 3, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 3, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 3, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 3, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 4, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 4, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 4, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 4, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 5, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 5, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 5, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 5, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 5, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 6, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 6, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 6, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 6, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 6, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 6, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 6, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 6, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 6, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 6, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 6, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 6, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 6, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 6, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 6, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 6, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 6, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 6, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 6, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 6, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 6, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 6, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 6, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 6, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 7, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 7, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 7, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 7, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 7, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 8, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 8, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 8, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 8, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 9, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 9, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 9, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 9, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 9, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 9, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 9, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 9, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 9, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 9, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 9, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 9, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 9, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 9, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 9, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 9, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 9, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 9, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 9, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 9, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 10, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 10, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 10, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 1, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 11, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 11, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 11, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 11, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 13, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 1, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 13, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 13, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 13, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 13, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 13, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 2, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 12, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 3, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 15, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 15, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 15, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 15, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 15, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 15, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 15, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 15, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 15, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 15, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 15, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 15, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 15, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 15, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 15, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 15, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 11, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 16, (double) z + 4, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 16, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 16, (double) z + 5, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 16, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 16, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 16, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 16, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 16, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 16, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 16, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 16, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 16, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 16, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 16, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 16, (double) z + 9, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 16, (double) z + 10, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 17, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 17, (double) z + 6, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 17, (double) z + 7, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 17, (double) z + 8, 0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 17, (double) z + 8, 0.0, 0.0, 0.0));*/ - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 0, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 0, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 0, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 0, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 0, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 0, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 0, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 0, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 0, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 0, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 0, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 0, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 0, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 0, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 0, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 0, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 0, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 0, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 0, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 0, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 0, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 0, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 0, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 0, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 1, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 1, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 1, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 1, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 1, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 1, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 1, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 1, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 1, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 1, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 1, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 1, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 1, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 2, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 2, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 2, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 2, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 2, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 2, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 2, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 2, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 4, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 4, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 4, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 4, z + 7,0.0, 0.0, 0.0)); - y += 2; - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 4, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 4, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 4, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 4, z + 7,0.0, 0.0, 0.0)); - - /*world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 6, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 6, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 6, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 6, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 6, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 6, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 6, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 6, z + 9,0.0, 0.0, 0.0));*/ - y--; - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 7, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 7, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 7, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 7, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 8, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 9, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 9, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 9, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 9, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 9, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 9, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 9, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 9, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 9, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 10, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 10, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 10, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 10, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 10, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 10, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 10, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 10, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 10, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 11, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 11, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 11, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 11, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 11, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 11, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 11, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 11, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 10,0.0, 0.0, 0.0)); - // - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - // - y -= 2; - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - y += 2; - // - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 13, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 13, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 13, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 13, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 14, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 14, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 14, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 14, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 14, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 14, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 14, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 14, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 14, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 14, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 14, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 14, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 15, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 15, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 15, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 15, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 15, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 15, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 15, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 15, z + 10,0.0, 0.0, 0.0)); - /*world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 17, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 17, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 17, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 17, z + 7,0.0, 0.0, 0.0));*/ - - - - } - -} +package com.hbm.explosion; + +import com.hbm.entity.particle.EntitySmokeFX; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class ExplosionParticle { + + public static void spawnMush(World world, int x, int y, int z) + { + x -= 6; + z -= 6; + + /*world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 0, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 1, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 1, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 1, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 1, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 0, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 0, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 0, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 14, (double) y + 0, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 0, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 0, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 0, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 0, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 0, (double) z + 13, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 0, (double) z + 13, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 0, (double) z + 13, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 0, (double) z + 13, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 0, (double) z + 14, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 1, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 1, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 1, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 1, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 1, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 1, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 1, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 1, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 1, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 1, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 1, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 1, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 1, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 1, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 1, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 1, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 1, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 1, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 1, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 1, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 1, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 1, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 2, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 2, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 2, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 2, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 2, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 2, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 2, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 2, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 2, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 2, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 2, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 2, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 3, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 3, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 3, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 3, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 3, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 4, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 4, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 4, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 4, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 5, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 5, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 5, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 5, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 5, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 6, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 6, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 6, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 6, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 6, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 6, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 6, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 6, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 6, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 6, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 6, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 6, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 6, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 6, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 6, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 6, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 6, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 6, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 6, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 6, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 6, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 6, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 6, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 6, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 7, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 7, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 7, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 7, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 7, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 8, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 8, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 8, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 8, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 9, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 9, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 9, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 9, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 9, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 9, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 9, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 9, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 9, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 9, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 9, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 9, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 9, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 9, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 9, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 9, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 9, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 9, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 9, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 9, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 9, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 9, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 10, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 10, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 10, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 10, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 10, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 10, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 10, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 10, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 10, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 10, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 10, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 10, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 1, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 11, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 11, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 11, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 11, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 11, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 11, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 11, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 11, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 11, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 11, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 11, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 11, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 11, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 11, (double) z + 13, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 12, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 12, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 12, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 12, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 12, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 12, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 12, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 12, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 12, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 12, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 1, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 13, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 13, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 13, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 13, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 1, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 13, (double) y + 13, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 13, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 13, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 13, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 13, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 13, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 13, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 13, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 13, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 13, (double) z + 13, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 2, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 14, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 14, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 2, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 12, (double) y + 14, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 14, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 14, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 14, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 14, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 14, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 14, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 14, (double) z + 12, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 3, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 15, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 15, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 15, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 15, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 15, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 15, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 15, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 15, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 3, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 11, (double) y + 15, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 15, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 15, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 15, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 15, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 15, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 15, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 15, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 15, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 15, (double) z + 11, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 16, (double) z + 4, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 16, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 16, (double) z + 5, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 16, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 16, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 16, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 4, (double) y + 16, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 16, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 16, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 10, (double) y + 16, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 5, (double) y + 16, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 16, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 9, (double) y + 16, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 16, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 16, (double) z + 9, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 16, (double) z + 10, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 17, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 17, (double) z + 6, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 7, (double) y + 17, (double) z + 7, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 6, (double) y + 17, (double) z + 8, 0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, (double)x + 8, (double) y + 17, (double) z + 8, 0.0, 0.0, 0.0));*/ + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 0, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 0, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 0, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 0, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 0, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 0, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 0, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 0, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 0, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 0, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 0, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 0, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 0, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 0, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 0, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 0, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 0, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 0, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 0, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 0, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 0, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 0, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 0, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 0, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 1, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 1, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 1, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 1, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 1, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 1, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 1, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 1, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 1, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 1, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 1, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 1, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 1, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 2, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 2, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 2, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 2, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 2, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 2, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 2, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 2, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 4, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 4, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 4, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 4, z + 7,0.0, 0.0, 0.0)); + y += 2; + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 4, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 4, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 4, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 4, z + 7,0.0, 0.0, 0.0)); + + /*world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 6, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 6, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 6, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 6, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 6, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 6, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 6, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 6, z + 9,0.0, 0.0, 0.0));*/ + y--; + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 7, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 7, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 7, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 7, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 8, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 9, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 9, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 9, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 9, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 9, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 9, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 9, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 9, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 9, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 10, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 10, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 10, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 10, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 10, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 10, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 10, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 10, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 10, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 11, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 11, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 11, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 11, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 11, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 11, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 11, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 11, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 10,0.0, 0.0, 0.0)); + // + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + // + y -= 2; + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2 - 3, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10 + 3, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + y += 2; + // + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 13, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 0, y + 13, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 12, y + 13, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 13, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 14, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 14, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 14, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 14, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 14, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 14, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 14, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 14, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 14, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 14, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 3, y + 14, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 9, y + 14, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 15, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 15, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 15, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 2, y + 15, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 10, y + 15, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 4, y + 15, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 8, y + 15, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 6, y + 15, z + 10,0.0, 0.0, 0.0)); + /*world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 17, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 17, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 5, y + 17, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntitySmokeFX(world, x + 7, y + 17, z + 7,0.0, 0.0, 0.0));*/ + + + + } + +} diff --git a/com/hbm/explosion/ExplosionParticleB.java b/com/hbm/explosion/ExplosionParticleB.java index 80a62ced2..c2ad1c320 100644 --- a/com/hbm/explosion/ExplosionParticleB.java +++ b/com/hbm/explosion/ExplosionParticleB.java @@ -1,183 +1,183 @@ -package com.hbm.explosion; - -import com.hbm.entity.particle.EntityBSmokeFX; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class ExplosionParticleB { - - public static void spawnMush(World world, int x, int y, int z) - { - x -= 6; - z -= 6; - - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 0, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 0, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 0, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 0, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 0, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 0, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 0, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 0, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 0, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 0, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 0, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 0, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 0, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 0, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 0, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 0, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 0, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 0, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 0, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 0, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 0, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 0, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 0, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 0, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 1, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 1, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 1, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 1, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 1, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 1, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 1, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 1, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 1, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 1, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 1, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 1, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 1, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 2, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 2, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 2, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 2, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 2, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 2, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 2, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 2, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 4, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 4, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 4, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 4, z + 7,0.0, 0.0, 0.0)); - y += 2; - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 4, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 4, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 4, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 4, z + 7,0.0, 0.0, 0.0)); - y--; - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 7, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 7, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 7, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 7, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 8, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 9, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 9, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 9, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 9, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 9, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 9, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 9, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 9, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 9, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 10, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 10, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 10, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 10, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 10, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 10, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 10, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 10, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 10, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 11, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 11, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 11, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 11, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 11, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 11, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 11, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 11, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 10,0.0, 0.0, 0.0)); - // - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - // - y -= 2; - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); - y += 2; - // - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 13, z + 0,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 13, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 13, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 13, z + 12,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 14, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 14, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 14, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 14, z + 3,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 14, z + 5,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 14, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 14, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 14, z + 7,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 14, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 14, z + 9,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 14, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 14, z + 10,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 15, z + 2,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 15, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 15, z + 4,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 15, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 15, z + 6,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 15, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 15, z + 8,0.0, 0.0, 0.0)); - world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 15, z + 10,0.0, 0.0, 0.0)); - - - - } - -} +package com.hbm.explosion; + +import com.hbm.entity.particle.EntityBSmokeFX; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class ExplosionParticleB { + + public static void spawnMush(World world, int x, int y, int z) + { + x -= 6; + z -= 6; + + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 0, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 0, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 0, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 0, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 0, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 0, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 0, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 0, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 0, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 0, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 0, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 0, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 0, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 0, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 0, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 0, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 0, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 0, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 0, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 0, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 0, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 0, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 0, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 0, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 1, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 1, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 1, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 1, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 1, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 1, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 1, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 1, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 1, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 1, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 1, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 1, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 1, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 2, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 2, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 2, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 2, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 2, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 2, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 2, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 2, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 4, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 4, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 4, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 4, z + 7,0.0, 0.0, 0.0)); + y += 2; + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 4, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 4, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 4, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 4, z + 7,0.0, 0.0, 0.0)); + y--; + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 7, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 7, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 7, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 7, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 8, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 9, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 9, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 9, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 9, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 9, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 9, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 9, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 9, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 9, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 10, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 10, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 10, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 10, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 10, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 10, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 10, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 10, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 10, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 11, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 11, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 11, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 11, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 11, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 11, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 11, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 11, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 10,0.0, 0.0, 0.0)); + // + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + // + y -= 2; + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 2 - 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2 - 3, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10 + 3, y + 12, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 12, z + 10 + 3,0.0, 0.0, 0.0)); + y += 2; + // + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 13, z + 0,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 0, y + 13, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 12, y + 13, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 13, z + 12,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 14, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 14, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 14, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 14, z + 3,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 14, z + 5,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 5, y + 14, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 7, y + 14, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 14, z + 7,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 14, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 14, z + 9,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 3, y + 14, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 9, y + 14, z + 10,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 15, z + 2,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 15, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 15, z + 4,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 2, y + 15, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 10, y + 15, z + 6,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 4, y + 15, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 8, y + 15, z + 8,0.0, 0.0, 0.0)); + world.spawnEntityInWorld(new EntityBSmokeFX(world, x + 6, y + 15, z + 10,0.0, 0.0, 0.0)); + + + + } + +} diff --git a/com/hbm/explosion/ExplosionThermo.java b/com/hbm/explosion/ExplosionThermo.java index 8b75ccbb8..191d1b3ea 100644 --- a/com/hbm/explosion/ExplosionThermo.java +++ b/com/hbm/explosion/ExplosionThermo.java @@ -1,511 +1,511 @@ -package com.hbm.explosion; - -import java.util.HashSet; -import java.util.List; - -import com.hbm.blocks.ModBlocks; - -import net.minecraft.block.Block; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.passive.EntityOcelot; -import net.minecraft.init.Blocks; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; -import net.minecraftforge.common.util.ForgeDirection; - -public class ExplosionThermo { - - public static void freeze(World world, int x, int y, int z, int bombStartStrength) { - int r = bombStartStrength * 2; - int r2 = r*r; - int r22 = r2/2; - for (int xx = -r; xx < r; xx++) - { - int X = xx+x; - int XX = xx*xx; - for (int yy = -r; yy < r; yy++) - { - int Y = yy+y; - int YY = XX+yy*yy; - for (int zz = -r; zz < r; zz++) - { - int Z = zz+z; - int ZZ = YY+zz*zz; - if (ZZ getAlloyRecipes() { - Map recipes = new HashMap(); - if (MainRegistry.enableDebugMode) { - recipes.put(new ItemStack[] { new ItemStack(Items.iron_ingot), new ItemStack(Items.quartz) }, - new ItemStack(Item.getItemFromBlock(ModBlocks.test_render))); - } - recipes.put(new ItemStack[] { new ItemStack(Items.iron_ingot), new ItemStack(Items.coal) }, - new ItemStack(ModItems.ingot_steel)); - recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_lead), new ItemStack(ModItems.ingot_copper) }, - new ItemStack(ModItems.neutron_reflector, 2)); - recipes.put(new ItemStack[] { new ItemStack(ModItems.plate_lead), new ItemStack(ModItems.plate_copper) }, - new ItemStack(ModItems.neutron_reflector)); - recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_tungsten), new ItemStack(Items.coal) }, - new ItemStack(ModItems.neutron_reflector, 2)); - recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_copper), new ItemStack(Items.redstone) }, - new ItemStack(ModItems.ingot_red_copper, 2)); - recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_red_copper), new ItemStack(ModItems.ingot_steel) }, - new ItemStack(ModItems.ingot_advanced_alloy, 2)); - recipes.put(new ItemStack[] { new ItemStack(ModItems.canister_empty), new ItemStack(Items.coal) }, - new ItemStack(ModItems.canister_fuel, 1)); - recipes.put(new ItemStack[] { new ItemStack(ModItems.canister_fuel), new ItemStack(Items.slime_ball) }, - new ItemStack(ModItems.canister_napalm, 1)); - recipes.put( - new ItemStack[] { new ItemStack(ModItems.ingot_tungsten), new ItemStack(ModItems.nugget_schrabidium) }, - new ItemStack(ModItems.ingot_magnetized_tungsten, 1)); - recipes.put( - new ItemStack[] { new ItemStack(ModItems.plate_mixed), new ItemStack(ModItems.plate_gold) }, - new ItemStack(ModItems.plate_paa, 2)); - return recipes; - } - - public ArrayList getAlloyFuels() { - ArrayList fuels = new ArrayList(); - fuels.add(new ItemStack(Items.coal)); - fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.coal_block))); - fuels.add(new ItemStack(Items.lava_bucket)); - fuels.add(new ItemStack(Items.redstone)); - fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.redstone_block))); - fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.netherrack))); - fuels.add(new ItemStack(Items.blaze_rod)); - fuels.add(new ItemStack(Items.blaze_powder)); - return fuels; - } - - public Map getCentrifugeRecipes() { - Map recipes = new HashMap(); - recipes.put(new ItemStack(ModItems.cell_uf6), getCentrifugeOutput(ModItems.cell_uf6)); - recipes.put(new ItemStack(ModItems.cell_puf6), getCentrifugeOutput(ModItems.cell_puf6)); - if (MainRegistry.enableDebugMode) { - recipes.put(new ItemStack(Item.getItemFromBlock(ModBlocks.test_render)), - getCentrifugeOutput(Item.getItemFromBlock(ModBlocks.test_render))); - } - // [REDACTED] - // recipes.put(new ItemStack(ModItems.rod_quad_euphemium), - // getCentrifugeOutput(ModItems.rod_quad_euphemium)); - recipes.put(new ItemStack(ModItems.cell_sas3), getCentrifugeOutput(ModItems.cell_sas3)); - recipes.put(new ItemStack(ModItems.rod_uranium_fuel_depleted), - getCentrifugeOutput(ModItems.rod_uranium_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_dual_uranium_fuel_depleted), - getCentrifugeOutput(ModItems.rod_dual_uranium_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_quad_uranium_fuel_depleted), - getCentrifugeOutput(ModItems.rod_quad_uranium_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_plutonium_fuel_depleted), - getCentrifugeOutput(ModItems.rod_plutonium_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_dual_plutonium_fuel_depleted), - getCentrifugeOutput(ModItems.rod_dual_plutonium_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_quad_plutonium_fuel_depleted), - getCentrifugeOutput(ModItems.rod_quad_plutonium_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_mox_fuel_depleted), getCentrifugeOutput(ModItems.rod_mox_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_dual_mox_fuel_depleted), - getCentrifugeOutput(ModItems.rod_dual_mox_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_quad_mox_fuel_depleted), - getCentrifugeOutput(ModItems.rod_quad_mox_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_schrabidium_fuel_depleted), - getCentrifugeOutput(ModItems.rod_schrabidium_fuel_depleted)); - recipes.put(new ItemStack(ModItems.rod_dual_schrabidium_fuel_depleted), - getCentrifugeOutput(ModItems.rod_dual_schrabidium_fuel_depleted)); - // [REDACTED] - // recipes.put(new - // ItemStack(ModItems.rod_quad_schrabidium_fuel_depleted), - // getCentrifugeOutput(ModItems.rod_quad_schrabidium_fuel_depleted)); - recipes.put(new ItemStack(Item.getItemFromBlock(Blocks.quartz_block)), - getCentrifugeOutput(Item.getItemFromBlock(Blocks.quartz_block))); - recipes.put(new ItemStack(Items.quartz), getCentrifugeOutput(Items.quartz)); - return recipes; - } - - public ArrayList getCentrifugeFuels() { - ArrayList fuels = new ArrayList(); - fuels.add(new ItemStack(Items.coal)); - fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.coal_block))); - fuels.add(new ItemStack(Items.lava_bucket)); - fuels.add(new ItemStack(Items.redstone)); - fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.redstone_block))); - fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.netherrack))); - fuels.add(new ItemStack(Items.blaze_rod)); - fuels.add(new ItemStack(Items.blaze_powder)); - return fuels; - } - - public Map getReactorRecipes() { - Map recipes = new HashMap(); - recipes.put(new ItemStack(ModItems.rod_uranium), getReactorOutput(ModItems.rod_uranium)); - recipes.put(new ItemStack(ModItems.rod_dual_uranium), getReactorOutput(ModItems.rod_dual_uranium)); - recipes.put(new ItemStack(ModItems.rod_quad_uranium), getReactorOutput(ModItems.rod_quad_uranium)); - recipes.put(new ItemStack(ModItems.rod_u235), getReactorOutput(ModItems.rod_u235)); - recipes.put(new ItemStack(ModItems.rod_dual_u235), getReactorOutput(ModItems.rod_dual_u235)); - recipes.put(new ItemStack(ModItems.rod_quad_u235), getReactorOutput(ModItems.rod_quad_u235)); - recipes.put(new ItemStack(ModItems.rod_u238), getReactorOutput(ModItems.rod_u238)); - recipes.put(new ItemStack(ModItems.rod_dual_u238), getReactorOutput(ModItems.rod_dual_u238)); - recipes.put(new ItemStack(ModItems.rod_quad_u238), getReactorOutput(ModItems.rod_quad_u238)); - recipes.put(new ItemStack(ModItems.rod_plutonium), getReactorOutput(ModItems.rod_plutonium)); - recipes.put(new ItemStack(ModItems.rod_dual_plutonium), getReactorOutput(ModItems.rod_dual_plutonium)); - recipes.put(new ItemStack(ModItems.rod_quad_plutonium), getReactorOutput(ModItems.rod_quad_plutonium)); - recipes.put(new ItemStack(ModItems.rod_pu238), getReactorOutput(ModItems.rod_pu238)); - recipes.put(new ItemStack(ModItems.rod_dual_pu238), getReactorOutput(ModItems.rod_dual_pu238)); - recipes.put(new ItemStack(ModItems.rod_quad_pu238), getReactorOutput(ModItems.rod_quad_pu238)); - recipes.put(new ItemStack(ModItems.rod_pu239), getReactorOutput(ModItems.rod_pu239)); - recipes.put(new ItemStack(ModItems.rod_dual_pu239), getReactorOutput(ModItems.rod_dual_pu239)); - recipes.put(new ItemStack(ModItems.rod_quad_pu239), getReactorOutput(ModItems.rod_quad_pu239)); - recipes.put(new ItemStack(ModItems.rod_pu240), getReactorOutput(ModItems.rod_pu240)); - recipes.put(new ItemStack(ModItems.rod_dual_pu240), getReactorOutput(ModItems.rod_dual_pu240)); - recipes.put(new ItemStack(ModItems.rod_quad_pu240), getReactorOutput(ModItems.rod_quad_pu240)); - recipes.put(new ItemStack(ModItems.rod_neptunium), getReactorOutput(ModItems.rod_neptunium)); - recipes.put(new ItemStack(ModItems.rod_dual_neptunium), getReactorOutput(ModItems.rod_dual_neptunium)); - recipes.put(new ItemStack(ModItems.rod_quad_neptunium), getReactorOutput(ModItems.rod_quad_neptunium)); - // [REDACTED] - // recipes.put(new ItemStack(ModItems.rod_quad_schrabidium), - // getReactorOutput(ModItems.rod_quad_schrabidium)); - recipes.put(new ItemStack(ModItems.rod_lithium), getReactorOutput(ModItems.rod_lithium)); - recipes.put(new ItemStack(ModItems.rod_dual_lithium), getReactorOutput(ModItems.rod_dual_lithium)); - recipes.put(new ItemStack(ModItems.rod_quad_lithium), getReactorOutput(ModItems.rod_quad_lithium)); - return recipes; - } - - public ArrayList getReactorFuels() { - ArrayList fuels = new ArrayList(); - fuels.add(new ItemStack(ModItems.rod_u238)); - fuels.add(new ItemStack(ModItems.rod_dual_u238)); - fuels.add(new ItemStack(ModItems.rod_quad_u238)); - fuels.add(new ItemStack(ModItems.rod_u235)); - fuels.add(new ItemStack(ModItems.rod_dual_u235)); - fuels.add(new ItemStack(ModItems.rod_quad_u235)); - fuels.add(new ItemStack(ModItems.rod_pu238)); - fuels.add(new ItemStack(ModItems.rod_dual_pu238)); - fuels.add(new ItemStack(ModItems.rod_quad_pu238)); - fuels.add(new ItemStack(ModItems.rod_pu239)); - fuels.add(new ItemStack(ModItems.rod_dual_pu239)); - fuels.add(new ItemStack(ModItems.rod_quad_pu239)); - fuels.add(new ItemStack(ModItems.rod_pu240)); - fuels.add(new ItemStack(ModItems.rod_dual_pu240)); - fuels.add(new ItemStack(ModItems.rod_quad_pu240)); - fuels.add(new ItemStack(ModItems.rod_neptunium)); - fuels.add(new ItemStack(ModItems.rod_dual_neptunium)); - fuels.add(new ItemStack(ModItems.rod_quad_neptunium)); - fuels.add(new ItemStack(ModItems.rod_schrabidium)); - fuels.add(new ItemStack(ModItems.rod_dual_schrabidium)); - fuels.add(new ItemStack(ModItems.rod_quad_schrabidium)); - fuels.add(new ItemStack(ModItems.pellet_rtg)); - return fuels; - } - - public class ShredderRecipe { - - public ItemStack input; - public ItemStack output; - - public void registerEverythingImSrs() { - - //Makes the OreDict easily accessible. Neat. - - //You see that guy up there? He's a liar. "easily accessible" may be true, but the detection is bullshit. - - /*System.out.println("Loading all items and blocks, please wait..."); - System.out.println("This process normally takes very long due to the incompetence of other modders I have to compensate for. Sorry for the inconvenience."); - - for (Object item : GameData.getItemRegistry()) { - - List list = new ArrayList(); - int[] array; - - if (item instanceof Item) { - - int x = 1; - //if(((Item)item).getHasSubtypes()) - // x = 126; - - for(int j = 0; j < x; j++) - { - ItemStack stack = new ItemStack((Item) item, 1, j); - array = OreDictionary.getOreIDs(stack); - - for (int i = 0; i < array.length; i++) { - // if - // (!OreDictionary.getOreName(array[i]).equals("Unknown")) - // { - list.add(OreDictionary.getOreName(array[i])); - // } - } - // if(list.size() > 0) - theWholeThing.add(new DictCouple(stack, list)); - } - } - } - - for (Object block : GameData.getBlockRegistry()) { - - List list = new ArrayList(); - int[] array; - - if (block instanceof Block) { - Item item = Item.getItemFromBlock((Block)block); - - int x = 1; - //if(item != null && item.getHasSubtypes()) - // x = 16; - - for(int j = 0; j < x; j++) - { - ItemStack stack = new ItemStack((Block) block, 1, j); - array = OreDictionary.getOreIDs(stack); - - for (int i = 0; i < array.length; i++) { - // if - // (!OreDictionary.getOreName(array[i]).equals("Unknown")) - // { - list.add(OreDictionary.getOreName(array[i])); - // } - } - - // if(list.size() > 0) - if(!doesExist(stack)) - theWholeThing.add(new DictCouple(stack, list)); - } - } - } - - System.out.println("Added " + theWholeThing.size() + " elements from the Ore Dict!");*/ - - String[] names = OreDictionary.getOreNames(); - List stacks = new ArrayList(); - - for(int i = 0; i < names.length; i++) { - stacks.addAll(OreDictionary.getOres(names[i])); - } - - for(int i = 0; i < stacks.size(); i++) { - - int[] ids = OreDictionary.getOreIDs(stacks.get(i)); - - List oreNames = new ArrayList(); - - for(int j = 0; j < ids.length; j++) { - oreNames.add(OreDictionary.getOreName(ids[j])); - } - - theWholeThing.add(new DictCouple(stacks.get(i), oreNames)); - } - - System.out.println("Added " + theWholeThing.size() + " elements from the Ore Dict!"); - } - - public boolean doesExist(ItemStack stack) { - - for(DictCouple dic : theWholeThing) { - if(dic.item.getItem() == stack.getItem()) - return true; - } - - return false; - } - - public void addRecipes() { - - // Not very efficient, I know, but at least it works AND it's - // somewhat smart! - - for(int i = 0; i < theWholeThing.size(); i++) - { - for(int j = 0; j < theWholeThing.get(i).list.size(); j++) - { - String s = theWholeThing.get(i).list.get(j); - - if (s.length() > 5 && s.substring(0, 5).equals("ingot")) { - ItemStack stack = canFindDustByName(s.substring(5)); - if (stack != null) { - setRecipe(theWholeThing.get(i).item, stack); - } else { - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); - } - } else if (s.length() > 3 && s.substring(0, 3).equals("ore")) { - ItemStack stack = canFindDustByName(s.substring(3)); - if (stack != null) { - setRecipe(theWholeThing.get(i).item, new ItemStack(stack.getItem(), 2)); - } else { - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); - } - } else if (s.length() > 3 && s.substring(0, 3).equals("rod")) { - ItemStack stack = canFindDustByName(s.substring(3)); - if (stack != null) { - setRecipe(theWholeThing.get(i).item, new ItemStack(stack.getItem(), 2)); - } else { - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); - } - } else if (s.length() > 5 && s.substring(0, 5).equals("block")) { - ItemStack stack = canFindDustByName(s.substring(5)); - if (stack != null) { - setRecipe(theWholeThing.get(i).item, new ItemStack(stack.getItem(), 9)); - } else { - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); - } - } else if (s.length() > 3 && s.substring(0, 3).equals("gem")) { - ItemStack stack = canFindDustByName(s.substring(3)); - if (stack != null) { - setRecipe(theWholeThing.get(i).item, new ItemStack(stack.getItem(), 1)); - } else { - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); - } - } else if (s.length() > 4 && s.substring(0, 4).equals("dust")) { - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.dust)); - } else if (s.length() > 6 && s.substring(0, 6).equals("powder")) { - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.dust)); - } else { - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); - } - } - - if(theWholeThing.get(i).list.isEmpty()) - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); - if(!theWholeThing.get(i).list.isEmpty() && theWholeThing.get(i).list.get(0).equals("Unknown")) - setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); - } - - System.out.println("Added " + recipes.size() + " in total."); - System.out.println("Added " + dustCount + " ore dust recipes."); - } - - public ItemStack canFindDustByName(String s) { - - for(DictCouple d : theWholeThing) - { - for(String s1 : d.list) - { - if(s1.length() > 4 && s1.substring(0, 4).equals("dust") && s1.substring(4).equals(s)) - { - dustCount++; - return d.item; - } - } - } - - return null; - } - - public void setRecipe(ItemStack inp, ItemStack outp) { - ShredderRecipe recipe = new ShredderRecipe(); - - recipe.input = inp; - recipe.output = outp; - - recipes.add(recipe); - } - - public void overridePreSetRecipe(ItemStack inp, ItemStack outp) { - - boolean flag = false; - - for(int i = 0; i < recipes.size(); i++) - { - if(recipes.get(i) != null && - recipes.get(i).input != null && - recipes.get(i).output != null && - inp != null && - outp != null && - recipes.get(i).input.getItem() == inp.getItem() && - recipes.get(i).input.getItemDamage() == inp.getItemDamage()) { - recipes.get(i).output = outp; - flag = true; - } - } - - if(!flag) { - ShredderRecipe rec = new ShredderRecipe(); - rec.input = inp; - rec.output = outp; - recipes.add(rec); - } - } - - public void removeDuplicates() { - List newList = new ArrayList(); - - for(ShredderRecipe piv : recipes) - { - boolean flag = false; - - if(newList.size() == 0) - { - newList.add(piv); - } else { - for(ShredderRecipe rec : newList) { - if(piv != null && rec != null && piv.input != null && rec.input != null && rec.input.getItem() != null && piv.input.getItem() != null && rec.input.getItemDamage() == piv.input.getItemDamage() && rec.input.getItem() == piv.input.getItem()) - flag = true; - if(piv == null || rec == null || piv.input == null || rec.input == null) - flag = true; - } - } - - if(!flag) - { - newList.add(piv); - } - } - } - - public void PrintRecipes() { - /*for(int i = 0; i < recipes.size(); i++) { - System.out.println("Recipe #" + i + ", " + recipes.get(i).input + " - " + recipes.get(i).output); - }*/ - /*for(int i = 0; i < theWholeThing.size(); i++) { - System.out.println(theWholeThing.get(i).item); - }*/ - /*for(int i = 0; i < theWholeThing.size(); i++) { - //for(int j = 0; j < theWholeThing.get(i).list.size(); j++) - { - //System.out.println(theWholeThing.get(i).item + " | " + getShredderResult(theWholeThing.get(i).item)); - } - - - }*/ - - /*for (int j = 0; j < recipes.size(); j++) { - if (recipes.get(j) != null && recipes.get(j).input != null && recipes.get(j).output != null && - recipes.get(j).input.getItem() != null && recipes.get(j).output.getItem() != null) - System.out.println(recipes.get(j).input + " | " + recipes.get(j).output); - else - System.out.println(recipes.get(j)); - }*/ - - System.out.println("TWT: " + theWholeThing.size() + ", REC: " + recipes.size()); - } - } - - public static class DictCouple { - - public ItemStack item; - public List list; - - public DictCouple(ItemStack item, List list) { - this.item = item; - this.list = list; - } - - public static List findWithStack(ItemStack stack) { - for(DictCouple couple : theWholeThing) { - if(couple.item == stack); - return couple.list; - } - - return null; - } - } - - public static List recipes = new ArrayList(); - public static List theWholeThing = new ArrayList(); - public static int dustCount = 0; - - public static ItemStack getShredderResult(ItemStack stack) { - for(ShredderRecipe rec : recipes) - { - if(stack != null && - rec.input.getItem() == stack.getItem() && - rec.input.getItemDamage() == stack.getItemDamage()) - return rec.output.copy(); - } - - return new ItemStack(ModItems.scrap); - } - - public Map getShredderRecipes() { - Map recipes = new HashMap(); - - for(int i = 0; i < this.recipes.size(); i++) { - if(this.recipes.get(i) != null && this.recipes.get(i).output.getItem() != ModItems.scrap) - recipes.put(((ShredderRecipe)this.recipes.get(i)).input, getShredderResult(((ShredderRecipe)this.recipes.get(i)).input)); - } - - return recipes; - } - - public ArrayList getBatteries() { - ArrayList fuels = new ArrayList(); - fuels.add(new ItemStack(ModItems.battery_generic)); - fuels.add(new ItemStack(ModItems.battery_advanced)); - fuels.add(new ItemStack(ModItems.battery_schrabidium)); - fuels.add(new ItemStack(ModItems.fusion_core)); - fuels.add(new ItemStack(ModItems.energy_core)); - return fuels; - } - - public ArrayList getBlades() { - ArrayList fuels = new ArrayList(); - fuels.add(new ItemStack(ModItems.blades_advanced_alloy)); - fuels.add(new ItemStack(ModItems.blades_aluminium)); - fuels.add(new ItemStack(ModItems.blades_combine_steel)); - fuels.add(new ItemStack(ModItems.blades_gold)); - fuels.add(new ItemStack(ModItems.blades_iron)); - fuels.add(new ItemStack(ModItems.blades_steel)); - fuels.add(new ItemStack(ModItems.blades_titanium)); - fuels.add(new ItemStack(ModItems.blades_schrabidium)); - return fuels; - } -} +package com.hbm.gui; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import com.hbm.blocks.ModBlocks; +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.common.registry.GameData; +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraftforge.oredict.OreDictionary; + +public class MachineRecipes { + + public MachineRecipes() { + + } + + public static MachineRecipes instance() { + return new MachineRecipes(); + } + + public static ItemStack getFurnaceProcessingResult(Item item, Item item2) { + return getFurnaceOutput(item, item2); + } + + public static ItemStack getFurnaceOutput(Item item, Item item2) { + if (MainRegistry.enableDebugMode) { + if (item == Items.iron_ingot && item2 == Items.quartz + || item == Items.quartz && item2 == Items.iron_ingot) { + return new ItemStack(ModBlocks.test_render, 1); + } + } + + if (item == ModItems.ingot_tungsten && item2 == Items.coal + || item == Items.coal && item2 == ModItems.ingot_tungsten) { + return new ItemStack(ModItems.neutron_reflector, 2); + } + + if (item == ModItems.ingot_lead && item2 == ModItems.ingot_copper + || item == ModItems.ingot_copper && item2 == ModItems.ingot_lead) { + return new ItemStack(ModItems.neutron_reflector, 2); + } + + if (item == ModItems.plate_lead && item2 == ModItems.plate_copper + || item == ModItems.plate_copper && item2 == ModItems.plate_lead) { + return new ItemStack(ModItems.neutron_reflector, 1); + } + + if (item == Items.iron_ingot && item2 == Items.coal || item == Items.coal && item2 == Items.iron_ingot) { + return new ItemStack(ModItems.ingot_steel, 2); + } + + if (item == ModItems.ingot_copper && item2 == Items.redstone + || item == Items.redstone && item2 == ModItems.ingot_copper) { + return new ItemStack(ModItems.ingot_red_copper, 2); + } + + if (item == ModItems.canister_empty && item2 == Items.coal + || item == Items.coal && item2 == ModItems.canister_empty) { + return new ItemStack(ModItems.canister_fuel, 1); + } + + if (item == ModItems.canister_fuel && item2 == Items.slime_ball + || item == Items.slime_ball && item2 == ModItems.canister_fuel) { + return new ItemStack(ModItems.canister_napalm, 1); + } + + if (item == ModItems.ingot_red_copper && item2 == ModItems.ingot_steel + || item == ModItems.ingot_steel && item2 == ModItems.ingot_red_copper) { + return new ItemStack(ModItems.ingot_advanced_alloy, 2); + } + + if (item == ModItems.ingot_tungsten && item2 == ModItems.nugget_schrabidium + || item == ModItems.nugget_schrabidium && item2 == ModItems.ingot_tungsten) { + return new ItemStack(ModItems.ingot_magnetized_tungsten, 1); + } + + if (item == ModItems.plate_mixed && item2 == ModItems.plate_gold + || item == ModItems.plate_gold && item2 == ModItems.plate_mixed) { + return new ItemStack(ModItems.plate_paa, 2); + } + + if (item == ModItems.rod_quad_euphemium && item2 == ModItems.powder_caesium + || item == ModItems.powder_caesium && item2 == ModItems.rod_quad_euphemium) { + return new ItemStack(ModItems.nugget_euphemium, 2, 34); + } + + if (item == ModItems.rod_quad_euphemium && item2 == ModItems.powder_astatine + || item == ModItems.powder_astatine && item2 == ModItems.rod_quad_euphemium) { + return new ItemStack(ModItems.nugget_euphemium, 2, 34); + } + + if (item == ModItems.oil_canola && item2 == ModItems.canister_empty + || item == ModItems.canister_empty && item2 == ModItems.oil_canola) { + return new ItemStack(ModItems.canister_canola); + } + + return null; + } + + // Arrays! + + public static ItemStack[] getCentrifugeProcessingResult(Item item) { + return getCentrifugeOutput(item); + } + + public static ItemStack[] getCentrifugeOutput(Item item) { + + ItemStack[] uranium = new ItemStack[] { new ItemStack(ModItems.nugget_u238, 4), + new ItemStack(ModItems.nugget_u238, 4), new ItemStack(ModItems.nugget_u235, 1), + new ItemStack(ModItems.cell_empty, 1) }; + ItemStack[] plutonium = new ItemStack[] { new ItemStack(ModItems.nugget_pu238, 3), + new ItemStack(ModItems.nugget_pu239, 1), new ItemStack(ModItems.nugget_pu240, 5), + new ItemStack(ModItems.cell_empty, 1) }; + ItemStack[] test = new ItemStack[] { new ItemStack(Items.apple, 3), new ItemStack(Items.leather, 1), + new ItemStack(Items.sugar, 3), new ItemStack(Items.blaze_powder, 2) }; + ItemStack[] euphemium = new ItemStack[] { new ItemStack(ModItems.nugget_euphemium, 1), + new ItemStack(ModItems.nugget_euphemium, 1), new ItemStack(ModItems.nugget_euphemium, 1), + new ItemStack(ModItems.rod_quad_empty, 1) }; + ItemStack[] schrabidium = new ItemStack[] { new ItemStack(ModItems.ingot_schrabidium, 1), + new ItemStack(ModItems.sulfur, 1), new ItemStack(ModItems.sulfur, 1), + new ItemStack(ModItems.cell_empty, 1) }; + ItemStack[] lithium2 = new ItemStack[] { new ItemStack(ModItems.lithium, 1), new ItemStack(ModItems.lithium, 1), + new ItemStack(ModItems.lithium, 1), new ItemStack(ModItems.lithium, 1) }; + ItemStack[] lithium3 = new ItemStack[] { new ItemStack(ModItems.lithium, 4), new ItemStack(ModItems.lithium, 4), + new ItemStack(ModItems.lithium, 4), new ItemStack(ModItems.lithium, 4) }; + + ItemStack[] uran1 = new ItemStack[] { new ItemStack(ModItems.nugget_u235, 1), + new ItemStack(ModItems.nugget_u238, 3), new ItemStack(ModItems.nugget_pu239, 2), + new ItemStack(ModItems.rod_waste, 1) }; + ItemStack[] uran2 = new ItemStack[] { new ItemStack(ModItems.nugget_u235, 2), + new ItemStack(ModItems.nugget_u238, 6), new ItemStack(ModItems.nugget_pu239, 4), + new ItemStack(ModItems.rod_dual_waste, 1) }; + ItemStack[] uran3 = new ItemStack[] { new ItemStack(ModItems.nugget_u235, 4), + new ItemStack(ModItems.nugget_u238, 12), new ItemStack(ModItems.nugget_pu239, 8), + new ItemStack(ModItems.rod_quad_waste, 1) }; + ItemStack[] plutonium1 = new ItemStack[] { new ItemStack(ModItems.nugget_pu239, 1), + new ItemStack(ModItems.nugget_pu240, 3), new ItemStack(ModItems.nugget_lead, 2), + new ItemStack(ModItems.rod_waste, 1) }; + ItemStack[] plutonium2 = new ItemStack[] { new ItemStack(ModItems.nugget_pu239, 2), + new ItemStack(ModItems.nugget_pu240, 6), new ItemStack(ModItems.nugget_lead, 4), + new ItemStack(ModItems.rod_dual_waste, 1) }; + ItemStack[] plutonium3 = new ItemStack[] { new ItemStack(ModItems.nugget_pu239, 4), + new ItemStack(ModItems.nugget_pu240, 12), new ItemStack(ModItems.nugget_lead, 8), + new ItemStack(ModItems.rod_quad_waste, 1) }; + ItemStack[] mox1 = new ItemStack[] { new ItemStack(ModItems.nugget_mox_fuel, 1), + new ItemStack(ModItems.nugget_neptunium, 3), new ItemStack(ModItems.nugget_u238, 2), + new ItemStack(ModItems.rod_waste, 1) }; + ItemStack[] mox2 = new ItemStack[] { new ItemStack(ModItems.nugget_mox_fuel, 2), + new ItemStack(ModItems.nugget_neptunium, 6), new ItemStack(ModItems.nugget_u238, 4), + new ItemStack(ModItems.rod_dual_waste, 1) }; + ItemStack[] mox3 = new ItemStack[] { new ItemStack(ModItems.nugget_mox_fuel, 4), + new ItemStack(ModItems.nugget_neptunium, 12), new ItemStack(ModItems.nugget_u238, 8), + new ItemStack(ModItems.rod_quad_waste, 1) }; + ItemStack[] schrabidium1 = new ItemStack[] { new ItemStack(ModItems.nugget_schrabidium_fuel, 1), + new ItemStack(ModItems.nugget_lead, 3), new ItemStack(ModItems.nugget_schrabidium, 2), + new ItemStack(ModItems.rod_waste, 1) }; + ItemStack[] schrabidium2 = new ItemStack[] { new ItemStack(ModItems.nugget_schrabidium_fuel, 2), + new ItemStack(ModItems.nugget_lead, 6), new ItemStack(ModItems.nugget_schrabidium, 4), + new ItemStack(ModItems.rod_dual_waste, 1) }; + ItemStack[] schrabidium3 = new ItemStack[] { new ItemStack(ModItems.nugget_schrabidium_fuel, 4), + new ItemStack(ModItems.nugget_lead, 19), new ItemStack(ModItems.nugget_neptunium, 1), + new ItemStack(ModItems.rod_quad_euphemium, 1, 34) }; + + if (item == ModItems.cell_uf6) { + return uranium; + } + + if (item == ModItems.cell_puf6) { + return plutonium; + } + + if (MainRegistry.enableDebugMode) { + if (item == Item.getItemFromBlock(ModBlocks.test_render)) { + return test; + } + } + + if (item == ModItems.rod_quad_euphemium) { + return euphemium; + } + + if (item == ModItems.cell_sas3) { + return schrabidium; + } + + if (item == ModItems.rod_uranium_fuel_depleted) { + return uran1; + } + + if (item == ModItems.rod_dual_uranium_fuel_depleted) { + return uran2; + } + + if (item == ModItems.rod_quad_uranium_fuel_depleted) { + return uran3; + } + + if (item == ModItems.rod_plutonium_fuel_depleted) { + return plutonium1; + } + + if (item == ModItems.rod_dual_plutonium_fuel_depleted) { + return plutonium2; + } + + if (item == ModItems.rod_quad_plutonium_fuel_depleted) { + return plutonium3; + } + + if (item == ModItems.rod_mox_fuel_depleted) { + return mox1; + } + + if (item == ModItems.rod_dual_mox_fuel_depleted) { + return mox2; + } + + if (item == ModItems.rod_quad_mox_fuel_depleted) { + return mox3; + } + + if (item == ModItems.rod_schrabidium_fuel_depleted) { + return schrabidium1; + } + + if (item == ModItems.rod_dual_schrabidium_fuel_depleted) { + return schrabidium2; + } + + if (item == ModItems.rod_quad_schrabidium_fuel_depleted) { + return schrabidium3; + } + + if (item == item.getItemFromBlock(Blocks.quartz_block) || item == item.getItemFromBlock(Blocks.quartz_stairs)) { + return lithium3; + } + + if (item == Items.quartz) { + return lithium2; + } + + return null; + } + + public static ItemStack getReactorProcessingResult(Item item) { + return getReactorOutput(item); + } + + public static ItemStack getReactorOutput(Item item) { + + if (item == ModItems.rod_uranium) { + return new ItemStack(ModItems.rod_plutonium, 1); + } + + if (item == ModItems.rod_u235) { + return new ItemStack(ModItems.rod_neptunium, 1); + } + + if (item == ModItems.rod_u238) { + return new ItemStack(ModItems.rod_pu239, 1); + } + + if (item == ModItems.rod_neptunium) { + return new ItemStack(ModItems.rod_pu238, 1); + } + + if (item == ModItems.rod_plutonium) { + return new ItemStack(ModItems.rod_lead, 1); + } + + if (item == ModItems.rod_pu238) { + return new ItemStack(ModItems.rod_pu239, 1); + } + + if (item == ModItems.rod_pu239) { + return new ItemStack(ModItems.rod_pu240, 1); + } + + if (item == ModItems.rod_pu240) { + return new ItemStack(ModItems.rod_lead, 1); + } + + if (item == ModItems.rod_dual_uranium) { + return new ItemStack(ModItems.rod_dual_plutonium, 1); + } + + if (item == ModItems.rod_dual_u235) { + return new ItemStack(ModItems.rod_dual_neptunium, 1); + } + + if (item == ModItems.rod_dual_u238) { + return new ItemStack(ModItems.rod_dual_pu239, 1); + } + + if (item == ModItems.rod_dual_neptunium) { + return new ItemStack(ModItems.rod_dual_pu238, 1); + } + + if (item == ModItems.rod_dual_plutonium) { + return new ItemStack(ModItems.rod_dual_lead, 1); + } + + if (item == ModItems.rod_dual_pu238) { + return new ItemStack(ModItems.rod_dual_pu239, 1); + } + + if (item == ModItems.rod_dual_pu239) { + return new ItemStack(ModItems.rod_dual_pu240, 1); + } + + if (item == ModItems.rod_dual_pu240) { + return new ItemStack(ModItems.rod_dual_lead, 1); + } + + if (item == ModItems.rod_quad_uranium) { + return new ItemStack(ModItems.rod_quad_plutonium, 1); + } + + if (item == ModItems.rod_quad_u235) { + return new ItemStack(ModItems.rod_quad_neptunium, 1); + } + + if (item == ModItems.rod_quad_u238) { + return new ItemStack(ModItems.rod_quad_pu239, 1); + } + + if (item == ModItems.rod_quad_neptunium) { + return new ItemStack(ModItems.rod_quad_pu238, 1); + } + + if (item == ModItems.rod_quad_plutonium) { + return new ItemStack(ModItems.rod_quad_lead, 1); + } + + if (item == ModItems.rod_quad_pu238) { + return new ItemStack(ModItems.rod_quad_pu239, 1); + } + + if (item == ModItems.rod_quad_pu239) { + return new ItemStack(ModItems.rod_quad_pu240, 1); + } + + if (item == ModItems.rod_quad_pu240) { + return new ItemStack(ModItems.rod_quad_lead, 1); + } + + if (item == ModItems.rod_quad_schrabidium) { + return new ItemStack(ModItems.rod_quad_euphemium, 1); + } + + if (item == ModItems.rod_lithium) { + return new ItemStack(ModItems.rod_tritium, 1); + } + + if (item == ModItems.rod_dual_lithium) { + return new ItemStack(ModItems.rod_dual_tritium, 1); + } + + if (item == ModItems.rod_quad_lithium) { + return new ItemStack(ModItems.rod_quad_tritium, 1); + } + + return null; + } + + public Map getAlloyRecipes() { + Map recipes = new HashMap(); + if (MainRegistry.enableDebugMode) { + recipes.put(new ItemStack[] { new ItemStack(Items.iron_ingot), new ItemStack(Items.quartz) }, + new ItemStack(Item.getItemFromBlock(ModBlocks.test_render))); + } + recipes.put(new ItemStack[] { new ItemStack(Items.iron_ingot), new ItemStack(Items.coal) }, + new ItemStack(ModItems.ingot_steel)); + recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_lead), new ItemStack(ModItems.ingot_copper) }, + new ItemStack(ModItems.neutron_reflector, 2)); + recipes.put(new ItemStack[] { new ItemStack(ModItems.plate_lead), new ItemStack(ModItems.plate_copper) }, + new ItemStack(ModItems.neutron_reflector)); + recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_tungsten), new ItemStack(Items.coal) }, + new ItemStack(ModItems.neutron_reflector, 2)); + recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_copper), new ItemStack(Items.redstone) }, + new ItemStack(ModItems.ingot_red_copper, 2)); + recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_red_copper), new ItemStack(ModItems.ingot_steel) }, + new ItemStack(ModItems.ingot_advanced_alloy, 2)); + recipes.put(new ItemStack[] { new ItemStack(ModItems.canister_empty), new ItemStack(Items.coal) }, + new ItemStack(ModItems.canister_fuel, 1)); + recipes.put(new ItemStack[] { new ItemStack(ModItems.canister_fuel), new ItemStack(Items.slime_ball) }, + new ItemStack(ModItems.canister_napalm, 1)); + recipes.put( + new ItemStack[] { new ItemStack(ModItems.ingot_tungsten), new ItemStack(ModItems.nugget_schrabidium) }, + new ItemStack(ModItems.ingot_magnetized_tungsten, 1)); + recipes.put( + new ItemStack[] { new ItemStack(ModItems.plate_mixed), new ItemStack(ModItems.plate_gold) }, + new ItemStack(ModItems.plate_paa, 2)); + recipes.put( + new ItemStack[] { new ItemStack(ModItems.canister_empty), new ItemStack(ModItems.oil_canola) }, + new ItemStack(ModItems.canister_canola, 1)); + return recipes; + } + + public ArrayList getAlloyFuels() { + ArrayList fuels = new ArrayList(); + fuels.add(new ItemStack(Items.coal)); + fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.coal_block))); + fuels.add(new ItemStack(Items.lava_bucket)); + fuels.add(new ItemStack(Items.redstone)); + fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.redstone_block))); + fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.netherrack))); + fuels.add(new ItemStack(Items.blaze_rod)); + fuels.add(new ItemStack(Items.blaze_powder)); + return fuels; + } + + public Map getCentrifugeRecipes() { + Map recipes = new HashMap(); + recipes.put(new ItemStack(ModItems.cell_uf6), getCentrifugeOutput(ModItems.cell_uf6)); + recipes.put(new ItemStack(ModItems.cell_puf6), getCentrifugeOutput(ModItems.cell_puf6)); + if (MainRegistry.enableDebugMode) { + recipes.put(new ItemStack(Item.getItemFromBlock(ModBlocks.test_render)), + getCentrifugeOutput(Item.getItemFromBlock(ModBlocks.test_render))); + } + // [REDACTED] + // recipes.put(new ItemStack(ModItems.rod_quad_euphemium), + // getCentrifugeOutput(ModItems.rod_quad_euphemium)); + recipes.put(new ItemStack(ModItems.cell_sas3), getCentrifugeOutput(ModItems.cell_sas3)); + recipes.put(new ItemStack(ModItems.rod_uranium_fuel_depleted), + getCentrifugeOutput(ModItems.rod_uranium_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_dual_uranium_fuel_depleted), + getCentrifugeOutput(ModItems.rod_dual_uranium_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_quad_uranium_fuel_depleted), + getCentrifugeOutput(ModItems.rod_quad_uranium_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_plutonium_fuel_depleted), + getCentrifugeOutput(ModItems.rod_plutonium_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_dual_plutonium_fuel_depleted), + getCentrifugeOutput(ModItems.rod_dual_plutonium_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_quad_plutonium_fuel_depleted), + getCentrifugeOutput(ModItems.rod_quad_plutonium_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_mox_fuel_depleted), getCentrifugeOutput(ModItems.rod_mox_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_dual_mox_fuel_depleted), + getCentrifugeOutput(ModItems.rod_dual_mox_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_quad_mox_fuel_depleted), + getCentrifugeOutput(ModItems.rod_quad_mox_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_schrabidium_fuel_depleted), + getCentrifugeOutput(ModItems.rod_schrabidium_fuel_depleted)); + recipes.put(new ItemStack(ModItems.rod_dual_schrabidium_fuel_depleted), + getCentrifugeOutput(ModItems.rod_dual_schrabidium_fuel_depleted)); + // [REDACTED] + // recipes.put(new + // ItemStack(ModItems.rod_quad_schrabidium_fuel_depleted), + // getCentrifugeOutput(ModItems.rod_quad_schrabidium_fuel_depleted)); + recipes.put(new ItemStack(Item.getItemFromBlock(Blocks.quartz_block)), + getCentrifugeOutput(Item.getItemFromBlock(Blocks.quartz_block))); + recipes.put(new ItemStack(Items.quartz), getCentrifugeOutput(Items.quartz)); + return recipes; + } + + public ArrayList getCentrifugeFuels() { + ArrayList fuels = new ArrayList(); + fuels.add(new ItemStack(Items.coal)); + fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.coal_block))); + fuels.add(new ItemStack(Items.lava_bucket)); + fuels.add(new ItemStack(Items.redstone)); + fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.redstone_block))); + fuels.add(new ItemStack(Item.getItemFromBlock(Blocks.netherrack))); + fuels.add(new ItemStack(Items.blaze_rod)); + fuels.add(new ItemStack(Items.blaze_powder)); + return fuels; + } + + public Map getReactorRecipes() { + Map recipes = new HashMap(); + recipes.put(new ItemStack(ModItems.rod_uranium), getReactorOutput(ModItems.rod_uranium)); + recipes.put(new ItemStack(ModItems.rod_dual_uranium), getReactorOutput(ModItems.rod_dual_uranium)); + recipes.put(new ItemStack(ModItems.rod_quad_uranium), getReactorOutput(ModItems.rod_quad_uranium)); + recipes.put(new ItemStack(ModItems.rod_u235), getReactorOutput(ModItems.rod_u235)); + recipes.put(new ItemStack(ModItems.rod_dual_u235), getReactorOutput(ModItems.rod_dual_u235)); + recipes.put(new ItemStack(ModItems.rod_quad_u235), getReactorOutput(ModItems.rod_quad_u235)); + recipes.put(new ItemStack(ModItems.rod_u238), getReactorOutput(ModItems.rod_u238)); + recipes.put(new ItemStack(ModItems.rod_dual_u238), getReactorOutput(ModItems.rod_dual_u238)); + recipes.put(new ItemStack(ModItems.rod_quad_u238), getReactorOutput(ModItems.rod_quad_u238)); + recipes.put(new ItemStack(ModItems.rod_plutonium), getReactorOutput(ModItems.rod_plutonium)); + recipes.put(new ItemStack(ModItems.rod_dual_plutonium), getReactorOutput(ModItems.rod_dual_plutonium)); + recipes.put(new ItemStack(ModItems.rod_quad_plutonium), getReactorOutput(ModItems.rod_quad_plutonium)); + recipes.put(new ItemStack(ModItems.rod_pu238), getReactorOutput(ModItems.rod_pu238)); + recipes.put(new ItemStack(ModItems.rod_dual_pu238), getReactorOutput(ModItems.rod_dual_pu238)); + recipes.put(new ItemStack(ModItems.rod_quad_pu238), getReactorOutput(ModItems.rod_quad_pu238)); + recipes.put(new ItemStack(ModItems.rod_pu239), getReactorOutput(ModItems.rod_pu239)); + recipes.put(new ItemStack(ModItems.rod_dual_pu239), getReactorOutput(ModItems.rod_dual_pu239)); + recipes.put(new ItemStack(ModItems.rod_quad_pu239), getReactorOutput(ModItems.rod_quad_pu239)); + recipes.put(new ItemStack(ModItems.rod_pu240), getReactorOutput(ModItems.rod_pu240)); + recipes.put(new ItemStack(ModItems.rod_dual_pu240), getReactorOutput(ModItems.rod_dual_pu240)); + recipes.put(new ItemStack(ModItems.rod_quad_pu240), getReactorOutput(ModItems.rod_quad_pu240)); + recipes.put(new ItemStack(ModItems.rod_neptunium), getReactorOutput(ModItems.rod_neptunium)); + recipes.put(new ItemStack(ModItems.rod_dual_neptunium), getReactorOutput(ModItems.rod_dual_neptunium)); + recipes.put(new ItemStack(ModItems.rod_quad_neptunium), getReactorOutput(ModItems.rod_quad_neptunium)); + // [REDACTED] + // recipes.put(new ItemStack(ModItems.rod_quad_schrabidium), + // getReactorOutput(ModItems.rod_quad_schrabidium)); + recipes.put(new ItemStack(ModItems.rod_lithium), getReactorOutput(ModItems.rod_lithium)); + recipes.put(new ItemStack(ModItems.rod_dual_lithium), getReactorOutput(ModItems.rod_dual_lithium)); + recipes.put(new ItemStack(ModItems.rod_quad_lithium), getReactorOutput(ModItems.rod_quad_lithium)); + return recipes; + } + + public ArrayList getReactorFuels() { + ArrayList fuels = new ArrayList(); + fuels.add(new ItemStack(ModItems.rod_u238)); + fuels.add(new ItemStack(ModItems.rod_dual_u238)); + fuels.add(new ItemStack(ModItems.rod_quad_u238)); + fuels.add(new ItemStack(ModItems.rod_u235)); + fuels.add(new ItemStack(ModItems.rod_dual_u235)); + fuels.add(new ItemStack(ModItems.rod_quad_u235)); + fuels.add(new ItemStack(ModItems.rod_pu238)); + fuels.add(new ItemStack(ModItems.rod_dual_pu238)); + fuels.add(new ItemStack(ModItems.rod_quad_pu238)); + fuels.add(new ItemStack(ModItems.rod_pu239)); + fuels.add(new ItemStack(ModItems.rod_dual_pu239)); + fuels.add(new ItemStack(ModItems.rod_quad_pu239)); + fuels.add(new ItemStack(ModItems.rod_pu240)); + fuels.add(new ItemStack(ModItems.rod_dual_pu240)); + fuels.add(new ItemStack(ModItems.rod_quad_pu240)); + fuels.add(new ItemStack(ModItems.rod_neptunium)); + fuels.add(new ItemStack(ModItems.rod_dual_neptunium)); + fuels.add(new ItemStack(ModItems.rod_quad_neptunium)); + fuels.add(new ItemStack(ModItems.rod_schrabidium)); + fuels.add(new ItemStack(ModItems.rod_dual_schrabidium)); + fuels.add(new ItemStack(ModItems.rod_quad_schrabidium)); + fuels.add(new ItemStack(ModItems.pellet_rtg)); + return fuels; + } + + public class ShredderRecipe { + + public ItemStack input; + public ItemStack output; + + public void registerEverythingImSrs() { + + //Makes the OreDict easily accessible. Neat. + + //You see that guy up there? He's a liar. "easily accessible" may be true, but the detection is bullshit. + + /*System.out.println("Loading all items and blocks, please wait..."); + System.out.println("This process normally takes very long due to the incompetence of other modders I have to compensate for. Sorry for the inconvenience."); + + for (Object item : GameData.getItemRegistry()) { + + List list = new ArrayList(); + int[] array; + + if (item instanceof Item) { + + int x = 1; + //if(((Item)item).getHasSubtypes()) + // x = 126; + + for(int j = 0; j < x; j++) + { + ItemStack stack = new ItemStack((Item) item, 1, j); + array = OreDictionary.getOreIDs(stack); + + for (int i = 0; i < array.length; i++) { + // if + // (!OreDictionary.getOreName(array[i]).equals("Unknown")) + // { + list.add(OreDictionary.getOreName(array[i])); + // } + } + // if(list.size() > 0) + theWholeThing.add(new DictCouple(stack, list)); + } + } + } + + for (Object block : GameData.getBlockRegistry()) { + + List list = new ArrayList(); + int[] array; + + if (block instanceof Block) { + Item item = Item.getItemFromBlock((Block)block); + + int x = 1; + //if(item != null && item.getHasSubtypes()) + // x = 16; + + for(int j = 0; j < x; j++) + { + ItemStack stack = new ItemStack((Block) block, 1, j); + array = OreDictionary.getOreIDs(stack); + + for (int i = 0; i < array.length; i++) { + // if + // (!OreDictionary.getOreName(array[i]).equals("Unknown")) + // { + list.add(OreDictionary.getOreName(array[i])); + // } + } + + // if(list.size() > 0) + if(!doesExist(stack)) + theWholeThing.add(new DictCouple(stack, list)); + } + } + } + + System.out.println("Added " + theWholeThing.size() + " elements from the Ore Dict!");*/ + + String[] names = OreDictionary.getOreNames(); + List stacks = new ArrayList(); + + for(int i = 0; i < names.length; i++) { + stacks.addAll(OreDictionary.getOres(names[i])); + } + + for(int i = 0; i < stacks.size(); i++) { + + int[] ids = OreDictionary.getOreIDs(stacks.get(i)); + + List oreNames = new ArrayList(); + + for(int j = 0; j < ids.length; j++) { + oreNames.add(OreDictionary.getOreName(ids[j])); + } + + theWholeThing.add(new DictCouple(stacks.get(i), oreNames)); + } + + System.out.println("Added " + theWholeThing.size() + " elements from the Ore Dict!"); + } + + public boolean doesExist(ItemStack stack) { + + for(DictCouple dic : theWholeThing) { + if(dic.item.getItem() == stack.getItem()) + return true; + } + + return false; + } + + public void addRecipes() { + + // Not very efficient, I know, but at least it works AND it's + // somewhat smart! + + for(int i = 0; i < theWholeThing.size(); i++) + { + for(int j = 0; j < theWholeThing.get(i).list.size(); j++) + { + String s = theWholeThing.get(i).list.get(j); + + if (s.length() > 5 && s.substring(0, 5).equals("ingot")) { + ItemStack stack = canFindDustByName(s.substring(5)); + if (stack != null) { + setRecipe(theWholeThing.get(i).item, stack); + } else { + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); + } + } else if (s.length() > 3 && s.substring(0, 3).equals("ore")) { + ItemStack stack = canFindDustByName(s.substring(3)); + if (stack != null) { + setRecipe(theWholeThing.get(i).item, new ItemStack(stack.getItem(), 2)); + } else { + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); + } + } else if (s.length() > 3 && s.substring(0, 3).equals("rod")) { + ItemStack stack = canFindDustByName(s.substring(3)); + if (stack != null) { + setRecipe(theWholeThing.get(i).item, new ItemStack(stack.getItem(), 2)); + } else { + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); + } + } else if (s.length() > 5 && s.substring(0, 5).equals("block")) { + ItemStack stack = canFindDustByName(s.substring(5)); + if (stack != null) { + setRecipe(theWholeThing.get(i).item, new ItemStack(stack.getItem(), 9)); + } else { + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); + } + } else if (s.length() > 3 && s.substring(0, 3).equals("gem")) { + ItemStack stack = canFindDustByName(s.substring(3)); + if (stack != null) { + setRecipe(theWholeThing.get(i).item, new ItemStack(stack.getItem(), 1)); + } else { + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); + } + } else if (s.length() > 4 && s.substring(0, 4).equals("dust")) { + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.dust)); + } else if (s.length() > 6 && s.substring(0, 6).equals("powder")) { + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.dust)); + } else { + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); + } + } + + if(theWholeThing.get(i).list.isEmpty()) + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); + if(!theWholeThing.get(i).list.isEmpty() && theWholeThing.get(i).list.get(0).equals("Unknown")) + setRecipe(theWholeThing.get(i).item, new ItemStack(ModItems.scrap)); + } + + System.out.println("Added " + recipes.size() + " in total."); + System.out.println("Added " + dustCount + " ore dust recipes."); + } + + public ItemStack canFindDustByName(String s) { + + for(DictCouple d : theWholeThing) + { + for(String s1 : d.list) + { + if(s1.length() > 4 && s1.substring(0, 4).equals("dust") && s1.substring(4).equals(s)) + { + dustCount++; + return d.item; + } + } + } + + return null; + } + + public void setRecipe(ItemStack inp, ItemStack outp) { + ShredderRecipe recipe = new ShredderRecipe(); + + recipe.input = inp; + recipe.output = outp; + + recipes.add(recipe); + } + + public void overridePreSetRecipe(ItemStack inp, ItemStack outp) { + + boolean flag = false; + + for(int i = 0; i < recipes.size(); i++) + { + if(recipes.get(i) != null && + recipes.get(i).input != null && + recipes.get(i).output != null && + inp != null && + outp != null && + recipes.get(i).input.getItem() == inp.getItem() && + recipes.get(i).input.getItemDamage() == inp.getItemDamage()) { + recipes.get(i).output = outp; + flag = true; + } + } + + if(!flag) { + ShredderRecipe rec = new ShredderRecipe(); + rec.input = inp; + rec.output = outp; + recipes.add(rec); + } + } + + public void removeDuplicates() { + List newList = new ArrayList(); + + for(ShredderRecipe piv : recipes) + { + boolean flag = false; + + if(newList.size() == 0) + { + newList.add(piv); + } else { + for(ShredderRecipe rec : newList) { + if(piv != null && rec != null && piv.input != null && rec.input != null && rec.input.getItem() != null && piv.input.getItem() != null && rec.input.getItemDamage() == piv.input.getItemDamage() && rec.input.getItem() == piv.input.getItem()) + flag = true; + if(piv == null || rec == null || piv.input == null || rec.input == null) + flag = true; + } + } + + if(!flag) + { + newList.add(piv); + } + } + } + + public void PrintRecipes() { + /*for(int i = 0; i < recipes.size(); i++) { + System.out.println("Recipe #" + i + ", " + recipes.get(i).input + " - " + recipes.get(i).output); + }*/ + /*for(int i = 0; i < theWholeThing.size(); i++) { + System.out.println(theWholeThing.get(i).item); + }*/ + /*for(int i = 0; i < theWholeThing.size(); i++) { + //for(int j = 0; j < theWholeThing.get(i).list.size(); j++) + { + //System.out.println(theWholeThing.get(i).item + " | " + getShredderResult(theWholeThing.get(i).item)); + } + + + }*/ + + /*for (int j = 0; j < recipes.size(); j++) { + if (recipes.get(j) != null && recipes.get(j).input != null && recipes.get(j).output != null && + recipes.get(j).input.getItem() != null && recipes.get(j).output.getItem() != null) + System.out.println(recipes.get(j).input + " | " + recipes.get(j).output); + else + System.out.println(recipes.get(j)); + }*/ + + System.out.println("TWT: " + theWholeThing.size() + ", REC: " + recipes.size()); + } + } + + public static class DictCouple { + + public ItemStack item; + public List list; + + public DictCouple(ItemStack item, List list) { + this.item = item; + this.list = list; + } + + public static List findWithStack(ItemStack stack) { + for(DictCouple couple : theWholeThing) { + if(couple.item == stack); + return couple.list; + } + + return null; + } + } + + public static List recipes = new ArrayList(); + public static List theWholeThing = new ArrayList(); + public static int dustCount = 0; + + public static ItemStack getShredderResult(ItemStack stack) { + for(ShredderRecipe rec : recipes) + { + if(stack != null && + rec.input.getItem() == stack.getItem() && + rec.input.getItemDamage() == stack.getItemDamage()) + return rec.output.copy(); + } + + return new ItemStack(ModItems.scrap); + } + + public Map getShredderRecipes() { + Map recipes = new HashMap(); + + for(int i = 0; i < this.recipes.size(); i++) { + if(this.recipes.get(i) != null && this.recipes.get(i).output.getItem() != ModItems.scrap) + recipes.put(((ShredderRecipe)this.recipes.get(i)).input, getShredderResult(((ShredderRecipe)this.recipes.get(i)).input)); + } + + return recipes; + } + + public ArrayList getBatteries() { + ArrayList fuels = new ArrayList(); + fuels.add(new ItemStack(ModItems.battery_generic)); + fuels.add(new ItemStack(ModItems.battery_advanced)); + fuels.add(new ItemStack(ModItems.battery_schrabidium)); + fuels.add(new ItemStack(ModItems.fusion_core)); + fuels.add(new ItemStack(ModItems.energy_core)); + return fuels; + } + + public ArrayList getBlades() { + ArrayList fuels = new ArrayList(); + fuels.add(new ItemStack(ModItems.blades_advanced_alloy)); + fuels.add(new ItemStack(ModItems.blades_aluminium)); + fuels.add(new ItemStack(ModItems.blades_combine_steel)); + fuels.add(new ItemStack(ModItems.blades_gold)); + fuels.add(new ItemStack(ModItems.blades_iron)); + fuels.add(new ItemStack(ModItems.blades_steel)); + fuels.add(new ItemStack(ModItems.blades_titanium)); + fuels.add(new ItemStack(ModItems.blades_schrabidium)); + return fuels; + } +} diff --git a/com/hbm/gui/SlotDiFurnace.java b/com/hbm/gui/SlotDiFurnace.java index 5fc32b9c4..19a9bab95 100644 --- a/com/hbm/gui/SlotDiFurnace.java +++ b/com/hbm/gui/SlotDiFurnace.java @@ -1,19 +1,19 @@ -package com.hbm.gui; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.inventory.IInventory; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class SlotDiFurnace extends Slot { - - public SlotDiFurnace(EntityPlayer player, IInventory inventory, int i, int j, int k) { - super(inventory, i, j, k); - } - - @Override - public boolean isItemValid(ItemStack p_75214_1_) - { - return false; - } -} +package com.hbm.gui; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.inventory.IInventory; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class SlotDiFurnace extends Slot { + + public SlotDiFurnace(EntityPlayer player, IInventory inventory, int i, int j, int k) { + super(inventory, i, j, k); + } + + @Override + public boolean isItemValid(ItemStack p_75214_1_) + { + return false; + } +} diff --git a/com/hbm/gui/container/ContainerBombMulti.java b/com/hbm/gui/container/ContainerBombMulti.java index 00617f7b4..f5d797b1f 100644 --- a/com/hbm/gui/container/ContainerBombMulti.java +++ b/com/hbm/gui/container/ContainerBombMulti.java @@ -1,78 +1,78 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityBombMulti; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerBombMulti extends Container { - -private TileEntityBombMulti bombMulti; - - public ContainerBombMulti(InventoryPlayer invPlayer, TileEntityBombMulti tedf) { - - bombMulti = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 44, 26)); - this.addSlotToContainer(new Slot(tedf, 1, 62, 26)); - this.addSlotToContainer(new Slot(tedf, 2, 80, 26)); - this.addSlotToContainer(new Slot(tedf, 3, 44, 44)); - this.addSlotToContainer(new Slot(tedf, 4, 62, 44)); - this.addSlotToContainer(new Slot(tedf, 5, 80, 44)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 5) { - if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return bombMulti.isUseableByPlayer(player); - } - -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityBombMulti; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerBombMulti extends Container { + +private TileEntityBombMulti bombMulti; + + public ContainerBombMulti(InventoryPlayer invPlayer, TileEntityBombMulti tedf) { + + bombMulti = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 44, 26)); + this.addSlotToContainer(new Slot(tedf, 1, 62, 26)); + this.addSlotToContainer(new Slot(tedf, 2, 80, 26)); + this.addSlotToContainer(new Slot(tedf, 3, 44, 44)); + this.addSlotToContainer(new Slot(tedf, 4, 62, 44)); + this.addSlotToContainer(new Slot(tedf, 5, 80, 44)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 5) { + if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return bombMulti.isUseableByPlayer(player); + } + +} diff --git a/com/hbm/gui/container/ContainerCentrifuge.java b/com/hbm/gui/container/ContainerCentrifuge.java index 1949cb4b2..7dd6874d3 100644 --- a/com/hbm/gui/container/ContainerCentrifuge.java +++ b/com/hbm/gui/container/ContainerCentrifuge.java @@ -1,119 +1,119 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineCentrifuge; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerCentrifuge extends Container { - - private TileEntityMachineCentrifuge diFurnace; - private int dualCookTime; - private int dualPower; - - public ContainerCentrifuge(InventoryPlayer invPlayer, TileEntityMachineCentrifuge tedf) { - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 17)); - this.addSlotToContainer(new Slot(tedf, 1, 26, 53)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 2, 134, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 3, 152, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 4, 134, 53)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 5, 152, 53)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 5) { - if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 2, false)) - { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.dualCookTime != this.diFurnace.dualCookTime) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - } - - if(this.dualPower != this.diFurnace.dualPower) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); - } - } - - this.dualCookTime = this.diFurnace.dualCookTime; - this.dualPower = this.diFurnace.dualPower; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.dualCookTime = j; - } - if(i == 1) - { - diFurnace.dualPower = j; - } - } - +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineCentrifuge; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerCentrifuge extends Container { + + private TileEntityMachineCentrifuge diFurnace; + private int dualCookTime; + private int dualPower; + + public ContainerCentrifuge(InventoryPlayer invPlayer, TileEntityMachineCentrifuge tedf) { + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 17)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 53)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 2, 134, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 3, 152, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 4, 134, 53)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 5, 152, 53)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 5) { + if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 2, false)) + { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.dualCookTime != this.diFurnace.dualCookTime) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + } + + if(this.dualPower != this.diFurnace.dualPower) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); + } + } + + this.dualCookTime = this.diFurnace.dualCookTime; + this.dualPower = this.diFurnace.dualPower; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.dualCookTime = j; + } + if(i == 1) + { + diFurnace.dualPower = j; + } + } + } \ No newline at end of file diff --git a/com/hbm/gui/container/ContainerConverterHeRf.java b/com/hbm/gui/container/ContainerConverterHeRf.java index 400ba0cda..2e8197d1a 100644 --- a/com/hbm/gui/container/ContainerConverterHeRf.java +++ b/com/hbm/gui/container/ContainerConverterHeRf.java @@ -1,76 +1,76 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityConverterHeRf; -import com.hbm.tileentity.TileEntityConverterRfHe; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.item.ItemStack; - -public class ContainerConverterHeRf extends Container { - - private TileEntityConverterHeRf diFurnace; - - private int water; - private int flux; - - public ContainerConverterHeRf(InventoryPlayer invPlayer, TileEntityConverterHeRf tedf) { - - diFurnace = tedf; - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.storage.getEnergyStored()); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_) - { - return null; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return true; - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.water != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); - } - - if(this.flux != this.diFurnace.storage.getEnergyStored()) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.storage.getEnergyStored()); - } - } - - this.water = this.diFurnace.power; - this.flux = this.diFurnace.storage.getEnergyStored(); - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.power = j; - } - if(i == 1) - { - diFurnace.storage.setEnergyStored(j); - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityConverterHeRf; +import com.hbm.tileentity.TileEntityConverterRfHe; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.item.ItemStack; + +public class ContainerConverterHeRf extends Container { + + private TileEntityConverterHeRf diFurnace; + + private int water; + private int flux; + + public ContainerConverterHeRf(InventoryPlayer invPlayer, TileEntityConverterHeRf tedf) { + + diFurnace = tedf; + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.storage.getEnergyStored()); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_) + { + return null; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return true; + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.water != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + + if(this.flux != this.diFurnace.storage.getEnergyStored()) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.storage.getEnergyStored()); + } + } + + this.water = this.diFurnace.power; + this.flux = this.diFurnace.storage.getEnergyStored(); + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.power = j; + } + if(i == 1) + { + diFurnace.storage.setEnergyStored(j); + } + } +} diff --git a/com/hbm/gui/container/ContainerConverterRfHe.java b/com/hbm/gui/container/ContainerConverterRfHe.java index 968c624c1..a65ca2a17 100644 --- a/com/hbm/gui/container/ContainerConverterRfHe.java +++ b/com/hbm/gui/container/ContainerConverterRfHe.java @@ -1,78 +1,78 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityConverterRfHe; -import com.hbm.tileentity.TileEntityReactorMultiblock; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerConverterRfHe extends Container { - - private TileEntityConverterRfHe diFurnace; - - private int water; - private int flux; - - public ContainerConverterRfHe(InventoryPlayer invPlayer, TileEntityConverterRfHe tedf) { - - diFurnace = tedf; - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.storage.getEnergyStored()); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_) - { - return null; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return true; - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.water != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); - } - - if(this.flux != this.diFurnace.storage.getEnergyStored()) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.storage.getEnergyStored()); - } - } - - this.water = this.diFurnace.power; - this.flux = this.diFurnace.storage.getEnergyStored(); - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.power = j; - } - if(i == 1) - { - diFurnace.storage.setEnergyStored(j); - } - } - -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityConverterRfHe; +import com.hbm.tileentity.TileEntityReactorMultiblock; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerConverterRfHe extends Container { + + private TileEntityConverterRfHe diFurnace; + + private int water; + private int flux; + + public ContainerConverterRfHe(InventoryPlayer invPlayer, TileEntityConverterRfHe tedf) { + + diFurnace = tedf; + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.storage.getEnergyStored()); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_) + { + return null; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return true; + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.water != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + + if(this.flux != this.diFurnace.storage.getEnergyStored()) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.storage.getEnergyStored()); + } + } + + this.water = this.diFurnace.power; + this.flux = this.diFurnace.storage.getEnergyStored(); + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.power = j; + } + if(i == 1) + { + diFurnace.storage.setEnergyStored(j); + } + } + +} diff --git a/com/hbm/gui/container/ContainerCoreAdvanced.java b/com/hbm/gui/container/ContainerCoreAdvanced.java index a09059a00..cc1d20752 100644 --- a/com/hbm/gui/container/ContainerCoreAdvanced.java +++ b/com/hbm/gui/container/ContainerCoreAdvanced.java @@ -1,157 +1,157 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityCoreAdvanced; -import com.hbm.tileentity.TileEntityCoreTitanium; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerCoreAdvanced extends Container { - - private TileEntityCoreAdvanced diFurnace; - private int progress; - private int power; - - public ContainerCoreAdvanced(InventoryPlayer invPlayer, TileEntityCoreAdvanced tedf) { - - diFurnace = tedf; - - //Input Storage - this.addSlotToContainer(new Slot(tedf, 0, 8, 18)); - this.addSlotToContainer(new Slot(tedf, 1, 26, 18)); - this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); - this.addSlotToContainer(new Slot(tedf, 3, 62, 18)); - this.addSlotToContainer(new Slot(tedf, 4, 80, 18)); - this.addSlotToContainer(new Slot(tedf, 5, 98, 18)); - this.addSlotToContainer(new Slot(tedf, 6, 116, 18)); - this.addSlotToContainer(new Slot(tedf, 7, 134, 18)); - this.addSlotToContainer(new Slot(tedf, 8, 152, 18)); - //Inputs - this.addSlotToContainer(new Slot(tedf, 9, 8, 54)); - this.addSlotToContainer(new Slot(tedf, 10, 8, 72)); - //Outputs - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 11, 134, 54)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 12, 134, 72)); - //Output Storage - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 13, 8, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 14, 26, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 15, 44, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 16, 62, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 17, 80, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 18, 98, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 19, 116, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 20, 134, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 21, 152, 108)); - //Power Cell - this.addSlotToContainer(new Slot(tedf, 22, 44, 72)); - //More Inputs - this.addSlotToContainer(new Slot(tedf, 23, 26, 54)); - this.addSlotToContainer(new Slot(tedf, 24, 26, 72)); - //More Outputs - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 25, 152, 54)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 26, 152, 72)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.progress); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 26) { - if (!this.mergeItemStack(var5, 27, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 22, 23, false)) - { - if (!this.mergeItemStack(var5, 9, 11, false)) - if (!this.mergeItemStack(var5, 23, 25, false)) - if (!this.mergeItemStack(var5, 0, 9, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.progress != this.diFurnace.progress) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.progress); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - } - - this.progress = this.diFurnace.progress; - this.power = this.diFurnace.power; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.progress = j; - } - if(i == 1) - { - diFurnace.power = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityCoreAdvanced; +import com.hbm.tileentity.TileEntityCoreTitanium; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerCoreAdvanced extends Container { + + private TileEntityCoreAdvanced diFurnace; + private int progress; + private int power; + + public ContainerCoreAdvanced(InventoryPlayer invPlayer, TileEntityCoreAdvanced tedf) { + + diFurnace = tedf; + + //Input Storage + this.addSlotToContainer(new Slot(tedf, 0, 8, 18)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 18)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 62, 18)); + this.addSlotToContainer(new Slot(tedf, 4, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 5, 98, 18)); + this.addSlotToContainer(new Slot(tedf, 6, 116, 18)); + this.addSlotToContainer(new Slot(tedf, 7, 134, 18)); + this.addSlotToContainer(new Slot(tedf, 8, 152, 18)); + //Inputs + this.addSlotToContainer(new Slot(tedf, 9, 8, 54)); + this.addSlotToContainer(new Slot(tedf, 10, 8, 72)); + //Outputs + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 11, 134, 54)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 12, 134, 72)); + //Output Storage + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 13, 8, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 14, 26, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 15, 44, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 16, 62, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 17, 80, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 18, 98, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 19, 116, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 20, 134, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 21, 152, 108)); + //Power Cell + this.addSlotToContainer(new Slot(tedf, 22, 44, 72)); + //More Inputs + this.addSlotToContainer(new Slot(tedf, 23, 26, 54)); + this.addSlotToContainer(new Slot(tedf, 24, 26, 72)); + //More Outputs + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 25, 152, 54)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 26, 152, 72)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.progress); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 26) { + if (!this.mergeItemStack(var5, 27, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 22, 23, false)) + { + if (!this.mergeItemStack(var5, 9, 11, false)) + if (!this.mergeItemStack(var5, 23, 25, false)) + if (!this.mergeItemStack(var5, 0, 9, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.progress != this.diFurnace.progress) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.progress); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + } + + this.progress = this.diFurnace.progress; + this.power = this.diFurnace.power; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.progress = j; + } + if(i == 1) + { + diFurnace.power = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerCoreTitanium.java b/com/hbm/gui/container/ContainerCoreTitanium.java index 4d724c5a6..9f6d34859 100644 --- a/com/hbm/gui/container/ContainerCoreTitanium.java +++ b/com/hbm/gui/container/ContainerCoreTitanium.java @@ -1,151 +1,151 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityCoreTitanium; -import com.hbm.tileentity.TileEntityMachineGenerator; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerCoreTitanium extends Container { - - private TileEntityCoreTitanium diFurnace; - private int progress; - private int power; - - public ContainerCoreTitanium(InventoryPlayer invPlayer, TileEntityCoreTitanium tedf) { - - diFurnace = tedf; - - //Input Storage - this.addSlotToContainer(new Slot(tedf, 0, 8, 18)); - this.addSlotToContainer(new Slot(tedf, 1, 26, 18)); - this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); - this.addSlotToContainer(new Slot(tedf, 3, 62, 18)); - this.addSlotToContainer(new Slot(tedf, 4, 80, 18)); - this.addSlotToContainer(new Slot(tedf, 5, 98, 18)); - this.addSlotToContainer(new Slot(tedf, 6, 116, 18)); - this.addSlotToContainer(new Slot(tedf, 7, 134, 18)); - this.addSlotToContainer(new Slot(tedf, 8, 152, 18)); - //Inputs - this.addSlotToContainer(new Slot(tedf, 9, 8, 54)); - this.addSlotToContainer(new Slot(tedf, 10, 8, 72)); - //Outputs - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 11, 152, 54)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 12, 152, 72)); - //Output Storage - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 13, 8, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 14, 26, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 15, 44, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 16, 62, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 17, 80, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 18, 98, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 19, 116, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 20, 134, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 21, 152, 108)); - //Power Cell - this.addSlotToContainer(new Slot(tedf, 22, 44, 72)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.progress); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 22) { - if (!this.mergeItemStack(var5, 23, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 22, 23, false)) - { - if (!this.mergeItemStack(var5, 9, 11, false)) - if (!this.mergeItemStack(var5, 0, 9, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.progress != this.diFurnace.progress) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.progress); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - } - - this.progress = this.diFurnace.progress; - this.power = this.diFurnace.power; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.progress = j; - } - if(i == 1) - { - diFurnace.power = j; - } - } - -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityCoreTitanium; +import com.hbm.tileentity.TileEntityMachineGenerator; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerCoreTitanium extends Container { + + private TileEntityCoreTitanium diFurnace; + private int progress; + private int power; + + public ContainerCoreTitanium(InventoryPlayer invPlayer, TileEntityCoreTitanium tedf) { + + diFurnace = tedf; + + //Input Storage + this.addSlotToContainer(new Slot(tedf, 0, 8, 18)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 18)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 62, 18)); + this.addSlotToContainer(new Slot(tedf, 4, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 5, 98, 18)); + this.addSlotToContainer(new Slot(tedf, 6, 116, 18)); + this.addSlotToContainer(new Slot(tedf, 7, 134, 18)); + this.addSlotToContainer(new Slot(tedf, 8, 152, 18)); + //Inputs + this.addSlotToContainer(new Slot(tedf, 9, 8, 54)); + this.addSlotToContainer(new Slot(tedf, 10, 8, 72)); + //Outputs + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 11, 152, 54)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 12, 152, 72)); + //Output Storage + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 13, 8, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 14, 26, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 15, 44, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 16, 62, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 17, 80, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 18, 98, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 19, 116, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 20, 134, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 21, 152, 108)); + //Power Cell + this.addSlotToContainer(new Slot(tedf, 22, 44, 72)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.progress); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 22) { + if (!this.mergeItemStack(var5, 23, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 22, 23, false)) + { + if (!this.mergeItemStack(var5, 9, 11, false)) + if (!this.mergeItemStack(var5, 0, 9, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.progress != this.diFurnace.progress) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.progress); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + } + + this.progress = this.diFurnace.progress; + this.power = this.diFurnace.power; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.progress = j; + } + if(i == 1) + { + diFurnace.power = j; + } + } + +} diff --git a/com/hbm/gui/container/ContainerDiFurnace.java b/com/hbm/gui/container/ContainerDiFurnace.java index c94838ee8..e5c094f40 100644 --- a/com/hbm/gui/container/ContainerDiFurnace.java +++ b/com/hbm/gui/container/ContainerDiFurnace.java @@ -1,132 +1,132 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityDiFurnace; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; -import net.minecraft.item.crafting.FurnaceRecipes; -import net.minecraft.tileentity.TileEntityFurnace; - -public class ContainerDiFurnace extends Container { - - private TileEntityDiFurnace diFurnace; - private int dualCookTime; - private int dualPower; - private int lastItemBurnTime; - - public ContainerDiFurnace(InventoryPlayer invPlayer, TileEntityDiFurnace tedf) { - dualCookTime = 0; - dualPower = 0; - lastItemBurnTime = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 80, 18)); - this.addSlotToContainer(new Slot(tedf, 1, 80, 54)); - this.addSlotToContainer(new Slot(tedf, 2, 8, 36)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 3, 134, 36)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); - /**=====We are entering the magic realm of broken shit.=====**/ - } - - //What is this!? - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 3) { - if (!this.mergeItemStack(var5, 4, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 3, false)) - { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.dualCookTime != this.diFurnace.dualCookTime) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - } - - if(this.dualPower != this.diFurnace.dualPower) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); - } - } - - this.dualCookTime = this.diFurnace.dualCookTime; - this.dualPower = this.diFurnace.dualPower; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.dualCookTime = j; - } - if(i == 1) - { - diFurnace.dualPower = j; - } - } - -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityDiFurnace; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.tileentity.TileEntityFurnace; + +public class ContainerDiFurnace extends Container { + + private TileEntityDiFurnace diFurnace; + private int dualCookTime; + private int dualPower; + private int lastItemBurnTime; + + public ContainerDiFurnace(InventoryPlayer invPlayer, TileEntityDiFurnace tedf) { + dualCookTime = 0; + dualPower = 0; + lastItemBurnTime = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 1, 80, 54)); + this.addSlotToContainer(new Slot(tedf, 2, 8, 36)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 3, 134, 36)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); + /**=====We are entering the magic realm of broken shit.=====**/ + } + + //What is this!? + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 3) { + if (!this.mergeItemStack(var5, 4, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 3, false)) + { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.dualCookTime != this.diFurnace.dualCookTime) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + } + + if(this.dualPower != this.diFurnace.dualPower) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); + } + } + + this.dualCookTime = this.diFurnace.dualCookTime; + this.dualPower = this.diFurnace.dualPower; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.dualCookTime = j; + } + if(i == 1) + { + diFurnace.dualPower = j; + } + } + +} diff --git a/com/hbm/gui/container/ContainerElectricFurnace.java b/com/hbm/gui/container/ContainerElectricFurnace.java index f7ec2e135..3277fc5a2 100644 --- a/com/hbm/gui/container/ContainerElectricFurnace.java +++ b/com/hbm/gui/container/ContainerElectricFurnace.java @@ -1,127 +1,127 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineElectricFurnace; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerElectricFurnace extends Container { - - private TileEntityMachineElectricFurnace diFurnace; - private int dualCookTime; - private int dualPower; - private int lastItemBurnTime; - - public ContainerElectricFurnace(InventoryPlayer invPlayer, TileEntityMachineElectricFurnace tedf) { - dualCookTime = 0; - dualPower = 0; - lastItemBurnTime = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 56, 53)); - this.addSlotToContainer(new Slot(tedf, 1, 56, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 2, 116, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 2) { - if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 1, 2, false)) - { - if (!this.mergeItemStack(var5, 0, 1, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.dualCookTime != this.diFurnace.dualCookTime) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - } - - if(this.dualPower != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - } - - this.dualCookTime = this.diFurnace.dualCookTime; - this.dualPower = this.diFurnace.power; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.dualCookTime = j; - } - if(i == 1) - { - diFurnace.power = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineElectricFurnace; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerElectricFurnace extends Container { + + private TileEntityMachineElectricFurnace diFurnace; + private int dualCookTime; + private int dualPower; + private int lastItemBurnTime; + + public ContainerElectricFurnace(InventoryPlayer invPlayer, TileEntityMachineElectricFurnace tedf) { + dualCookTime = 0; + dualPower = 0; + lastItemBurnTime = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 56, 53)); + this.addSlotToContainer(new Slot(tedf, 1, 56, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 2, 116, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 2) { + if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 1, 2, false)) + { + if (!this.mergeItemStack(var5, 0, 1, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.dualCookTime != this.diFurnace.dualCookTime) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + } + + if(this.dualPower != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + } + + this.dualCookTime = this.diFurnace.dualCookTime; + this.dualPower = this.diFurnace.power; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.dualCookTime = j; + } + if(i == 1) + { + diFurnace.power = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerFWatzCore.java b/com/hbm/gui/container/ContainerFWatzCore.java index 711ec5439..c2cd21759 100644 --- a/com/hbm/gui/container/ContainerFWatzCore.java +++ b/com/hbm/gui/container/ContainerFWatzCore.java @@ -1,172 +1,172 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityFWatzCore; -import com.hbm.tileentity.TileEntityFusionMultiblock; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerFWatzCore extends Container { - - private TileEntityFWatzCore diFurnace; - - private int cool; - private int power; - private int amat; - private int aSchrab; - private boolean isRunning; - private int singularityType; - - public ContainerFWatzCore(InventoryPlayer invPlayer, TileEntityFWatzCore tedf) { - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 108)); - this.addSlotToContainer(new Slot(tedf, 1, 62, 90)); - this.addSlotToContainer(new Slot(tedf, 2, 98, 90)); - this.addSlotToContainer(new Slot(tedf, 3, 134, 108)); - this.addSlotToContainer(new Slot(tedf, 4, 152, 108)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.cool); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 2, this.diFurnace.amat); - crafting.sendProgressBarUpdate(this, 3, this.diFurnace.aSchrab); - crafting.sendProgressBarUpdate(this, 4, isRunning ? 1 : 0); - crafting.sendProgressBarUpdate(this, 5, singularityType); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 4) { - if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.cool != this.diFurnace.cool) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.cool); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - - if(this.amat != this.diFurnace.amat) - { - par1.sendProgressBarUpdate(this, 2, this.diFurnace.amat); - } - - if(this.aSchrab != this.diFurnace.aSchrab) - { - par1.sendProgressBarUpdate(this, 3, this.diFurnace.aSchrab); - } - - if(this.isRunning != this.diFurnace.isRunning()) - { - par1.sendProgressBarUpdate(this, 4, this.diFurnace.isRunning() ? 1 : 0); - } - - if(this.singularityType != this.diFurnace.getSingularityType()) - { - par1.sendProgressBarUpdate(this, 5, this.diFurnace.getSingularityType()); - } - } - - this.cool = this.diFurnace.cool; - this.power = this.diFurnace.power; - this.amat = this.diFurnace.amat; - this.aSchrab = this.diFurnace.aSchrab; - this.isRunning = this.diFurnace.isRunning(); - this.singularityType = this.diFurnace.getSingularityType(); - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.cool = j; - } - if(i == 1) - { - diFurnace.power = j; - } - if(i == 2) - { - diFurnace.amat = j; - } - if(i == 3) - { - diFurnace.aSchrab = j; - } - if(i == 4) - { - if(j == 0) - { - diFurnace.emptyPlasma(); - } else { - diFurnace.fillPlasma(); - } - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityFWatzCore; +import com.hbm.tileentity.TileEntityFusionMultiblock; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerFWatzCore extends Container { + + private TileEntityFWatzCore diFurnace; + + private int cool; + private int power; + private int amat; + private int aSchrab; + private boolean isRunning; + private int singularityType; + + public ContainerFWatzCore(InventoryPlayer invPlayer, TileEntityFWatzCore tedf) { + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 108)); + this.addSlotToContainer(new Slot(tedf, 1, 62, 90)); + this.addSlotToContainer(new Slot(tedf, 2, 98, 90)); + this.addSlotToContainer(new Slot(tedf, 3, 134, 108)); + this.addSlotToContainer(new Slot(tedf, 4, 152, 108)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.cool); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 2, this.diFurnace.amat); + crafting.sendProgressBarUpdate(this, 3, this.diFurnace.aSchrab); + crafting.sendProgressBarUpdate(this, 4, isRunning ? 1 : 0); + crafting.sendProgressBarUpdate(this, 5, singularityType); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 4) { + if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.cool != this.diFurnace.cool) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.cool); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + + if(this.amat != this.diFurnace.amat) + { + par1.sendProgressBarUpdate(this, 2, this.diFurnace.amat); + } + + if(this.aSchrab != this.diFurnace.aSchrab) + { + par1.sendProgressBarUpdate(this, 3, this.diFurnace.aSchrab); + } + + if(this.isRunning != this.diFurnace.isRunning()) + { + par1.sendProgressBarUpdate(this, 4, this.diFurnace.isRunning() ? 1 : 0); + } + + if(this.singularityType != this.diFurnace.getSingularityType()) + { + par1.sendProgressBarUpdate(this, 5, this.diFurnace.getSingularityType()); + } + } + + this.cool = this.diFurnace.cool; + this.power = this.diFurnace.power; + this.amat = this.diFurnace.amat; + this.aSchrab = this.diFurnace.aSchrab; + this.isRunning = this.diFurnace.isRunning(); + this.singularityType = this.diFurnace.getSingularityType(); + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.cool = j; + } + if(i == 1) + { + diFurnace.power = j; + } + if(i == 2) + { + diFurnace.amat = j; + } + if(i == 3) + { + diFurnace.aSchrab = j; + } + if(i == 4) + { + if(j == 0) + { + diFurnace.emptyPlasma(); + } else { + diFurnace.fillPlasma(); + } + } + } +} diff --git a/com/hbm/gui/container/ContainerFusionMultiblock.java b/com/hbm/gui/container/ContainerFusionMultiblock.java index 00085dbd5..75ec5a19e 100644 --- a/com/hbm/gui/container/ContainerFusionMultiblock.java +++ b/com/hbm/gui/container/ContainerFusionMultiblock.java @@ -1,168 +1,168 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityFusionMultiblock; -import com.hbm.tileentity.TileEntityReactorMultiblock; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerFusionMultiblock extends Container { - - private TileEntityFusionMultiblock diFurnace; - - private int water; - private int deut; - private int power; - private int trit; - private boolean isRunning; - - public ContainerFusionMultiblock(InventoryPlayer invPlayer, TileEntityFusionMultiblock tedf) { - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 8, 108)); - this.addSlotToContainer(new Slot(tedf, 1, 26, 108)); - this.addSlotToContainer(new Slot(tedf, 2, 134, 108)); - this.addSlotToContainer(new Slot(tedf, 3, 152, 108)); - this.addSlotToContainer(new Slot(tedf, 4, 53, 45)); - this.addSlotToContainer(new Slot(tedf, 5, 107, 45)); - this.addSlotToContainer(new Slot(tedf, 6, 53, 81)); - this.addSlotToContainer(new Slot(tedf, 7, 107, 81)); - this.addSlotToContainer(new Slot(tedf, 8, 80, 63)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.water); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.deut); - crafting.sendProgressBarUpdate(this, 2, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 3, this.diFurnace.trit); - crafting.sendProgressBarUpdate(this, 4, isRunning ? 1 : 0); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 8) { - if (!this.mergeItemStack(var5, 9, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.water != this.diFurnace.water) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.water); - } - - if(this.deut != this.diFurnace.deut) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.deut); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 2, this.diFurnace.power); - } - - if(this.trit != this.diFurnace.trit) - { - par1.sendProgressBarUpdate(this, 3, this.diFurnace.trit); - } - - if(this.isRunning != this.diFurnace.isRunning()) - { - par1.sendProgressBarUpdate(this, 4, this.diFurnace.isRunning() ? 1 : 0); - } - } - - this.water = this.diFurnace.water; - this.deut = this.diFurnace.deut; - this.power = this.diFurnace.power; - this.trit = this.diFurnace.trit; - this.isRunning = this.diFurnace.isRunning(); - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.water = j; - } - if(i == 1) - { - diFurnace.deut = j; - } - if(i == 2) - { - diFurnace.power = j; - } - if(i == 3) - { - diFurnace.trit = j; - } - if(i == 4) - { - if(j == 0) - { - diFurnace.emptyPlasma(); - } else { - diFurnace.fillPlasma(); - } - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityFusionMultiblock; +import com.hbm.tileentity.TileEntityReactorMultiblock; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerFusionMultiblock extends Container { + + private TileEntityFusionMultiblock diFurnace; + + private int water; + private int deut; + private int power; + private int trit; + private boolean isRunning; + + public ContainerFusionMultiblock(InventoryPlayer invPlayer, TileEntityFusionMultiblock tedf) { + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 8, 108)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 108)); + this.addSlotToContainer(new Slot(tedf, 2, 134, 108)); + this.addSlotToContainer(new Slot(tedf, 3, 152, 108)); + this.addSlotToContainer(new Slot(tedf, 4, 53, 45)); + this.addSlotToContainer(new Slot(tedf, 5, 107, 45)); + this.addSlotToContainer(new Slot(tedf, 6, 53, 81)); + this.addSlotToContainer(new Slot(tedf, 7, 107, 81)); + this.addSlotToContainer(new Slot(tedf, 8, 80, 63)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.water); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.deut); + crafting.sendProgressBarUpdate(this, 2, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 3, this.diFurnace.trit); + crafting.sendProgressBarUpdate(this, 4, isRunning ? 1 : 0); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 8) { + if (!this.mergeItemStack(var5, 9, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.water != this.diFurnace.water) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.water); + } + + if(this.deut != this.diFurnace.deut) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.deut); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 2, this.diFurnace.power); + } + + if(this.trit != this.diFurnace.trit) + { + par1.sendProgressBarUpdate(this, 3, this.diFurnace.trit); + } + + if(this.isRunning != this.diFurnace.isRunning()) + { + par1.sendProgressBarUpdate(this, 4, this.diFurnace.isRunning() ? 1 : 0); + } + } + + this.water = this.diFurnace.water; + this.deut = this.diFurnace.deut; + this.power = this.diFurnace.power; + this.trit = this.diFurnace.trit; + this.isRunning = this.diFurnace.isRunning(); + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.water = j; + } + if(i == 1) + { + diFurnace.deut = j; + } + if(i == 2) + { + diFurnace.power = j; + } + if(i == 3) + { + diFurnace.trit = j; + } + if(i == 4) + { + if(j == 0) + { + diFurnace.emptyPlasma(); + } else { + diFurnace.fillPlasma(); + } + } + } +} diff --git a/com/hbm/gui/container/ContainerGenerator.java b/com/hbm/gui/container/ContainerGenerator.java index e0fde15b0..4c2fa1b86 100644 --- a/com/hbm/gui/container/ContainerGenerator.java +++ b/com/hbm/gui/container/ContainerGenerator.java @@ -1,155 +1,155 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityMachineGenerator; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerGenerator extends Container { - - private TileEntityMachineGenerator diFurnace; - - private int water; - private int cool; - private int power; - private int heat; - - public ContainerGenerator(InventoryPlayer invPlayer, TileEntityMachineGenerator tedf) { - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 116, 36)); - this.addSlotToContainer(new Slot(tedf, 1, 134, 36)); - this.addSlotToContainer(new Slot(tedf, 2, 152, 36)); - this.addSlotToContainer(new Slot(tedf, 3, 116, 54)); - this.addSlotToContainer(new Slot(tedf, 4, 134, 54)); - this.addSlotToContainer(new Slot(tedf, 5, 152, 54)); - this.addSlotToContainer(new Slot(tedf, 6, 116, 72)); - this.addSlotToContainer(new Slot(tedf, 7, 134, 72)); - this.addSlotToContainer(new Slot(tedf, 8, 152, 72)); - this.addSlotToContainer(new Slot(tedf, 9, 8, 90)); - this.addSlotToContainer(new Slot(tedf, 10, 26, 90)); - this.addSlotToContainer(new Slot(tedf, 11, 62, 90)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.water); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.cool); - crafting.sendProgressBarUpdate(this, 2, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 3, this.diFurnace.heat); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 11) { - if (!this.mergeItemStack(var5, 12, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 12, false)) - { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.water != this.diFurnace.water) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.water); - } - - if(this.cool != this.diFurnace.cool) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.cool); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 2, this.diFurnace.power); - } - - if(this.heat != this.diFurnace.heat) - { - par1.sendProgressBarUpdate(this, 3, this.diFurnace.heat); - } - } - - this.water = this.diFurnace.water; - this.cool = this.diFurnace.cool; - this.power = this.diFurnace.power; - this.heat = this.diFurnace.heat; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.water = j; - } - if(i == 1) - { - diFurnace.cool = j; - } - if(i == 2) - { - diFurnace.power = j; - } - if(i == 3) - { - diFurnace.heat = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityMachineGenerator; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerGenerator extends Container { + + private TileEntityMachineGenerator diFurnace; + + private int water; + private int cool; + private int power; + private int heat; + + public ContainerGenerator(InventoryPlayer invPlayer, TileEntityMachineGenerator tedf) { + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 116, 36)); + this.addSlotToContainer(new Slot(tedf, 1, 134, 36)); + this.addSlotToContainer(new Slot(tedf, 2, 152, 36)); + this.addSlotToContainer(new Slot(tedf, 3, 116, 54)); + this.addSlotToContainer(new Slot(tedf, 4, 134, 54)); + this.addSlotToContainer(new Slot(tedf, 5, 152, 54)); + this.addSlotToContainer(new Slot(tedf, 6, 116, 72)); + this.addSlotToContainer(new Slot(tedf, 7, 134, 72)); + this.addSlotToContainer(new Slot(tedf, 8, 152, 72)); + this.addSlotToContainer(new Slot(tedf, 9, 8, 90)); + this.addSlotToContainer(new Slot(tedf, 10, 26, 90)); + this.addSlotToContainer(new Slot(tedf, 11, 62, 90)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.water); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.cool); + crafting.sendProgressBarUpdate(this, 2, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 3, this.diFurnace.heat); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 11) { + if (!this.mergeItemStack(var5, 12, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 12, false)) + { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.water != this.diFurnace.water) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.water); + } + + if(this.cool != this.diFurnace.cool) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.cool); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 2, this.diFurnace.power); + } + + if(this.heat != this.diFurnace.heat) + { + par1.sendProgressBarUpdate(this, 3, this.diFurnace.heat); + } + } + + this.water = this.diFurnace.water; + this.cool = this.diFurnace.cool; + this.power = this.diFurnace.power; + this.heat = this.diFurnace.heat; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.water = j; + } + if(i == 1) + { + diFurnace.cool = j; + } + if(i == 2) + { + diFurnace.power = j; + } + if(i == 3) + { + diFurnace.heat = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerIGenerator.java b/com/hbm/gui/container/ContainerIGenerator.java new file mode 100644 index 000000000..0ecc66718 --- /dev/null +++ b/com/hbm/gui/container/ContainerIGenerator.java @@ -0,0 +1,193 @@ +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityIGenerator; +import com.hbm.tileentity.TileEntityReiXMainframe; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerIGenerator extends Container { + + private TileEntityIGenerator diFurnace; + + private int power; + private int torque; + private int heat; + private int water; + private int lubricant; + private int fuel; + private int burn; + + public ContainerIGenerator(InventoryPlayer invPlayer, TileEntityIGenerator tedf) { + + diFurnace = tedf; + + //Multi Purpose Slots + this.addSlotToContainer(new Slot(tedf, 0, 8, 18)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 18)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 62, 18)); + this.addSlotToContainer(new Slot(tedf, 4, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 5, 98, 18)); + this.addSlotToContainer(new Slot(tedf, 6, 8, 36)); + this.addSlotToContainer(new Slot(tedf, 7, 26, 36)); + this.addSlotToContainer(new Slot(tedf, 8, 44, 36)); + this.addSlotToContainer(new Slot(tedf, 9, 62, 36)); + this.addSlotToContainer(new Slot(tedf, 10, 80, 36)); + this.addSlotToContainer(new Slot(tedf, 11, 98, 36)); + //Solid Fuel Slot + this.addSlotToContainer(new Slot(tedf, 12, 62, 108)); + //Fluid Slot + this.addSlotToContainer(new Slot(tedf, 13, 98, 108)); + //Container Slot + this.addSlotToContainer(new Slot(tedf, 14, 98, 72)); + //Battery Slot + this.addSlotToContainer(new Slot(tedf, 15, 152, 108)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.torque); + crafting.sendProgressBarUpdate(this, 2, this.diFurnace.heat); + crafting.sendProgressBarUpdate(this, 3, this.diFurnace.water); + crafting.sendProgressBarUpdate(this, 4, this.diFurnace.lubricant); + crafting.sendProgressBarUpdate(this, 5, this.diFurnace.fuel); + crafting.sendProgressBarUpdate(this, 6, this.diFurnace.burn); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 4) { + if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + if(this.torque != this.diFurnace.torque) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.torque); + } + if(this.heat != this.diFurnace.heat) + { + par1.sendProgressBarUpdate(this, 2, this.diFurnace.heat); + } + if(this.water != this.diFurnace.water) + { + par1.sendProgressBarUpdate(this, 3, this.diFurnace.water); + } + if(this.lubricant != this.diFurnace.lubricant) + { + par1.sendProgressBarUpdate(this, 4, this.diFurnace.lubricant); + } + if(this.fuel != this.diFurnace.fuel) + { + par1.sendProgressBarUpdate(this, 5, this.diFurnace.fuel); + } + if(this.burn != this.diFurnace.burn) + { + par1.sendProgressBarUpdate(this, 6, this.diFurnace.burn); + } + } + + this.power = this.diFurnace.power; + this.torque = this.diFurnace.torque; + this.heat = this.diFurnace.heat; + this.water = this.diFurnace.water; + this.lubricant = this.diFurnace.lubricant; + this.fuel = this.diFurnace.fuel; + this.burn = this.diFurnace.burn; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.power = j; + } + if(i == 1) + { + diFurnace.torque = j; + } + if(i == 2) + { + diFurnace.heat = j; + } + if(i == 3) + { + diFurnace.water = j; + } + if(i == 4) + { + diFurnace.lubricant = j; + } + if(i == 5) + { + diFurnace.fuel = j; + } + if(i == 6) + { + diFurnace.burn = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerLaunchPadTier1.java b/com/hbm/gui/container/ContainerLaunchPadTier1.java index 9c5abbcd4..47fcc018b 100644 --- a/com/hbm/gui/container/ContainerLaunchPadTier1.java +++ b/com/hbm/gui/container/ContainerLaunchPadTier1.java @@ -1,108 +1,108 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityLaunchPad; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerLaunchPadTier1 extends Container { - - private TileEntityLaunchPad diFurnace; - private int power; - - public ContainerLaunchPadTier1(InventoryPlayer invPlayer, TileEntityLaunchPad tedf) { - power = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 17)); - this.addSlotToContainer(new Slot(tedf, 1, 80, 17)); - this.addSlotToContainer(new Slot(tedf, 2, 134, 17)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 2) { - if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); - } - } - - this.power = this.diFurnace.power; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.power = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityLaunchPad; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerLaunchPadTier1 extends Container { + + private TileEntityLaunchPad diFurnace; + private int power; + + public ContainerLaunchPadTier1(InventoryPlayer invPlayer, TileEntityLaunchPad tedf) { + power = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 17)); + this.addSlotToContainer(new Slot(tedf, 1, 80, 17)); + this.addSlotToContainer(new Slot(tedf, 2, 134, 17)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 2) { + if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + } + + this.power = this.diFurnace.power; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.power = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerMachineBattery.java b/com/hbm/gui/container/ContainerMachineBattery.java index f8a285d74..7afb9a048 100644 --- a/com/hbm/gui/container/ContainerMachineBattery.java +++ b/com/hbm/gui/container/ContainerMachineBattery.java @@ -1,109 +1,109 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityMachineBattery; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerMachineBattery extends Container { - - private TileEntityMachineBattery diFurnace; - private int power; - - public ContainerMachineBattery(InventoryPlayer invPlayer, TileEntityMachineBattery tedf) { - power = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 35)); - this.addSlotToContainer(new Slot(tedf, 1, 134, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 1) { - if (!this.mergeItemStack(var5, 2, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 2, false)) - { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); - } - } - - this.power = this.diFurnace.power; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.power = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityMachineBattery; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerMachineBattery extends Container { + + private TileEntityMachineBattery diFurnace; + private int power; + + public ContainerMachineBattery(InventoryPlayer invPlayer, TileEntityMachineBattery tedf) { + power = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 35)); + this.addSlotToContainer(new Slot(tedf, 1, 134, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 1) { + if (!this.mergeItemStack(var5, 2, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 2, false)) + { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + } + + this.power = this.diFurnace.power; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.power = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerMachineCMBFactory.java b/com/hbm/gui/container/ContainerMachineCMBFactory.java index 94c6b90bd..069ec57c6 100644 --- a/com/hbm/gui/container/ContainerMachineCMBFactory.java +++ b/com/hbm/gui/container/ContainerMachineCMBFactory.java @@ -1,140 +1,140 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineCMBFactory; -import com.hbm.tileentity.TileEntityMachineShredder; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerMachineCMBFactory extends Container { - - private TileEntityMachineCMBFactory diFurnace; - private int power; - private int progress; - private int waste; - - public ContainerMachineCMBFactory(InventoryPlayer invPlayer, TileEntityMachineCMBFactory tedf) { - power = 0; - waste = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 62, 17)); - this.addSlotToContainer(new Slot(tedf, 1, 80, 17)); - this.addSlotToContainer(new Slot(tedf, 2, 62, 53)); - this.addSlotToContainer(new Slot(tedf, 3, 80, 53)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 4, 134, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.process); - crafting.sendProgressBarUpdate(this, 2, this.diFurnace.waste); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 4) { - if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) - { - return null; - } - } - else - { - if (!this.mergeItemStack(var5, 0, 4, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); - } - - if(this.progress != this.diFurnace.process) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.process); - } - - if(this.progress != this.diFurnace.waste) - { - par1.sendProgressBarUpdate(this, 2, this.diFurnace.waste); - } - } - - this.power = this.diFurnace.power; - this.progress = this.diFurnace.process; - this.waste = this.diFurnace.waste; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.power = j; - } - if(i == 1) - { - diFurnace.process = j; - } - if(i == 2) - { - diFurnace.waste = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineCMBFactory; +import com.hbm.tileentity.TileEntityMachineShredder; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerMachineCMBFactory extends Container { + + private TileEntityMachineCMBFactory diFurnace; + private int power; + private int progress; + private int waste; + + public ContainerMachineCMBFactory(InventoryPlayer invPlayer, TileEntityMachineCMBFactory tedf) { + power = 0; + waste = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 62, 17)); + this.addSlotToContainer(new Slot(tedf, 1, 80, 17)); + this.addSlotToContainer(new Slot(tedf, 2, 62, 53)); + this.addSlotToContainer(new Slot(tedf, 3, 80, 53)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 4, 134, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.process); + crafting.sendProgressBarUpdate(this, 2, this.diFurnace.waste); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 4) { + if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) + { + return null; + } + } + else + { + if (!this.mergeItemStack(var5, 0, 4, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + + if(this.progress != this.diFurnace.process) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.process); + } + + if(this.progress != this.diFurnace.waste) + { + par1.sendProgressBarUpdate(this, 2, this.diFurnace.waste); + } + } + + this.power = this.diFurnace.power; + this.progress = this.diFurnace.process; + this.waste = this.diFurnace.waste; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.power = j; + } + if(i == 1) + { + diFurnace.process = j; + } + if(i == 2) + { + diFurnace.waste = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerMachineCoal.java b/com/hbm/gui/container/ContainerMachineCoal.java index be614ab46..1a5622782 100644 --- a/com/hbm/gui/container/ContainerMachineCoal.java +++ b/com/hbm/gui/container/ContainerMachineCoal.java @@ -1,138 +1,138 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityMachineCoal; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerMachineCoal extends Container { - - private TileEntityMachineCoal diFurnace; - private int power; - private int water; - private int burnTime; - - public ContainerMachineCoal(InventoryPlayer invPlayer, TileEntityMachineCoal tedf) { - power = 0; - water = 0; - burnTime = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 44, 53)); - this.addSlotToContainer(new Slot(tedf, 1, 80, 53)); - this.addSlotToContainer(new Slot(tedf, 2, 116, 53)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.water); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 2, this.diFurnace.burnTime); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 2) { - if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 1, 2, false)) - { - if (!this.mergeItemStack(var5, 0, 1, false)) - if (!this.mergeItemStack(var5, 2, 3, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.water != this.diFurnace.water) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.water); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - - if(this.power != this.diFurnace.burnTime) - { - par1.sendProgressBarUpdate(this, 2, this.diFurnace.burnTime); - } - } - - this.water = this.diFurnace.water; - this.power = this.diFurnace.power; - this.burnTime = this.diFurnace.burnTime; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.water = j; - } - if(i == 1) - { - diFurnace.power = j; - } - if(i == 2) - { - diFurnace.burnTime = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityMachineCoal; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerMachineCoal extends Container { + + private TileEntityMachineCoal diFurnace; + private int power; + private int water; + private int burnTime; + + public ContainerMachineCoal(InventoryPlayer invPlayer, TileEntityMachineCoal tedf) { + power = 0; + water = 0; + burnTime = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 44, 53)); + this.addSlotToContainer(new Slot(tedf, 1, 80, 53)); + this.addSlotToContainer(new Slot(tedf, 2, 116, 53)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.water); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 2, this.diFurnace.burnTime); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 2) { + if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 1, 2, false)) + { + if (!this.mergeItemStack(var5, 0, 1, false)) + if (!this.mergeItemStack(var5, 2, 3, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.water != this.diFurnace.water) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.water); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + + if(this.power != this.diFurnace.burnTime) + { + par1.sendProgressBarUpdate(this, 2, this.diFurnace.burnTime); + } + } + + this.water = this.diFurnace.water; + this.power = this.diFurnace.power; + this.burnTime = this.diFurnace.burnTime; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.water = j; + } + if(i == 1) + { + diFurnace.power = j; + } + if(i == 2) + { + diFurnace.burnTime = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerMachineDeuterium.java b/com/hbm/gui/container/ContainerMachineDeuterium.java index a1ad1a167..c4ee3bd70 100644 --- a/com/hbm/gui/container/ContainerMachineDeuterium.java +++ b/com/hbm/gui/container/ContainerMachineDeuterium.java @@ -1,141 +1,141 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineDeuterium; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerMachineDeuterium extends Container { - -private TileEntityMachineDeuterium nukeBoy; - - private int power; - private int water; - private int sulfur; - private int progress; - - public ContainerMachineDeuterium(InventoryPlayer invPlayer, TileEntityMachineDeuterium tedf) { - - nukeBoy = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 8, 90)); - this.addSlotToContainer(new Slot(tedf, 1, 26, 90)); - this.addSlotToContainer(new Slot(tedf, 2, 44, 90)); - this.addSlotToContainer(new Slot(tedf, 3, 80, 54)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 4, 140, 54)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 4) { - if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 3, 4, false)) - { - if (!this.mergeItemStack(var5, 0, 3, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeBoy.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.power != this.nukeBoy.process) - { - par1.sendProgressBarUpdate(this, 0, this.nukeBoy.process); - } - - if(this.water != this.nukeBoy.water) - { - par1.sendProgressBarUpdate(this, 1, this.nukeBoy.water); - } - - if(this.sulfur != this.nukeBoy.sulfur) - { - par1.sendProgressBarUpdate(this, 2, this.nukeBoy.sulfur); - } - - if(this.power != this.nukeBoy.power) - { - par1.sendProgressBarUpdate(this, 3, this.nukeBoy.power); - } - } - - this.power = this.nukeBoy.power; - this.progress = this.nukeBoy.process; - this.water = this.nukeBoy.water; - this.sulfur = this.nukeBoy.sulfur; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - nukeBoy.process = j; - } - if(i == 1) - { - nukeBoy.water = j; - } - if(i == 2) - { - nukeBoy.sulfur = j; - } - if(i == 3) - { - nukeBoy.power = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineDeuterium; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerMachineDeuterium extends Container { + +private TileEntityMachineDeuterium nukeBoy; + + private int power; + private int water; + private int sulfur; + private int progress; + + public ContainerMachineDeuterium(InventoryPlayer invPlayer, TileEntityMachineDeuterium tedf) { + + nukeBoy = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 8, 90)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 90)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 90)); + this.addSlotToContainer(new Slot(tedf, 3, 80, 54)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 4, 140, 54)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 4) { + if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 3, 4, false)) + { + if (!this.mergeItemStack(var5, 0, 3, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeBoy.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.power != this.nukeBoy.process) + { + par1.sendProgressBarUpdate(this, 0, this.nukeBoy.process); + } + + if(this.water != this.nukeBoy.water) + { + par1.sendProgressBarUpdate(this, 1, this.nukeBoy.water); + } + + if(this.sulfur != this.nukeBoy.sulfur) + { + par1.sendProgressBarUpdate(this, 2, this.nukeBoy.sulfur); + } + + if(this.power != this.nukeBoy.power) + { + par1.sendProgressBarUpdate(this, 3, this.nukeBoy.power); + } + } + + this.power = this.nukeBoy.power; + this.progress = this.nukeBoy.process; + this.water = this.nukeBoy.water; + this.sulfur = this.nukeBoy.sulfur; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + nukeBoy.process = j; + } + if(i == 1) + { + nukeBoy.water = j; + } + if(i == 2) + { + nukeBoy.sulfur = j; + } + if(i == 3) + { + nukeBoy.power = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerMachineDiesel.java b/com/hbm/gui/container/ContainerMachineDiesel.java index ebbc44a99..137360894 100644 --- a/com/hbm/gui/container/ContainerMachineDiesel.java +++ b/com/hbm/gui/container/ContainerMachineDiesel.java @@ -1,128 +1,128 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineCoal; -import com.hbm.tileentity.TileEntityMachineDiesel; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerMachineDiesel extends Container { - - private TileEntityMachineDiesel diFurnace; - private int power; - private int diesel; - private int burnTime; - - public ContainerMachineDiesel(InventoryPlayer invPlayer, TileEntityMachineDiesel tedf) { - power = 0; - diesel = 0; - burnTime = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 44, 53)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 1, 80, 53)); - this.addSlotToContainer(new Slot(tedf, 2, 116, 53)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.diesel); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 2) { - if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 1, false)) - { - if (!this.mergeItemStack(var5, 2, 3, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.diesel != this.diFurnace.diesel) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.diesel); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - } - - this.diesel = this.diFurnace.diesel; - this.power = this.diFurnace.power; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.diesel = j; - } - if(i == 1) - { - diFurnace.power = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineCoal; +import com.hbm.tileentity.TileEntityMachineDiesel; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerMachineDiesel extends Container { + + private TileEntityMachineDiesel diFurnace; + private int power; + private int diesel; + private int burnTime; + + public ContainerMachineDiesel(InventoryPlayer invPlayer, TileEntityMachineDiesel tedf) { + power = 0; + diesel = 0; + burnTime = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 44, 53)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 1, 80, 53)); + this.addSlotToContainer(new Slot(tedf, 2, 116, 53)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.diesel); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 2) { + if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 1, false)) + { + if (!this.mergeItemStack(var5, 2, 3, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.diesel != this.diFurnace.diesel) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.diesel); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + } + + this.diesel = this.diFurnace.diesel; + this.power = this.diFurnace.power; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.diesel = j; + } + if(i == 1) + { + diFurnace.power = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerMachineSchrabidiumTransmutator.java b/com/hbm/gui/container/ContainerMachineSchrabidiumTransmutator.java index 56e438bff..2f9cfa878 100644 --- a/com/hbm/gui/container/ContainerMachineSchrabidiumTransmutator.java +++ b/com/hbm/gui/container/ContainerMachineSchrabidiumTransmutator.java @@ -1,122 +1,122 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineDeuterium; -import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerMachineSchrabidiumTransmutator extends Container { - -private TileEntityMachineSchrabidiumTransmutator nukeBoy; - - private int power; - private int water; - private int sulfur; - private int progress; - - public ContainerMachineSchrabidiumTransmutator(InventoryPlayer invPlayer, TileEntityMachineSchrabidiumTransmutator tedf) { - - nukeBoy = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 44, 63)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 1, 134, 63)); - this.addSlotToContainer(new Slot(tedf, 2, 26, 18)); - this.addSlotToContainer(new Slot(tedf, 3, 8, 108)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 3) { - if (!this.mergeItemStack(var5, 4, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 1, false)) - { - if (!this.mergeItemStack(var5, 3, 4, false)) - if (!this.mergeItemStack(var5, 2, 3, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeBoy.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.power != this.nukeBoy.process) - { - par1.sendProgressBarUpdate(this, 0, this.nukeBoy.process); - } - - if(this.power != this.nukeBoy.power) - { - par1.sendProgressBarUpdate(this, 1, this.nukeBoy.power); - } - } - - this.power = this.nukeBoy.power; - this.progress = this.nukeBoy.process; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - nukeBoy.process = j; - } - if(i == 1) - { - nukeBoy.power = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineDeuterium; +import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerMachineSchrabidiumTransmutator extends Container { + +private TileEntityMachineSchrabidiumTransmutator nukeBoy; + + private int power; + private int water; + private int sulfur; + private int progress; + + public ContainerMachineSchrabidiumTransmutator(InventoryPlayer invPlayer, TileEntityMachineSchrabidiumTransmutator tedf) { + + nukeBoy = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 44, 63)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 1, 134, 63)); + this.addSlotToContainer(new Slot(tedf, 2, 26, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 8, 108)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 3) { + if (!this.mergeItemStack(var5, 4, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 1, false)) + { + if (!this.mergeItemStack(var5, 3, 4, false)) + if (!this.mergeItemStack(var5, 2, 3, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeBoy.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.power != this.nukeBoy.process) + { + par1.sendProgressBarUpdate(this, 0, this.nukeBoy.process); + } + + if(this.power != this.nukeBoy.power) + { + par1.sendProgressBarUpdate(this, 1, this.nukeBoy.power); + } + } + + this.power = this.nukeBoy.power; + this.progress = this.nukeBoy.process; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + nukeBoy.process = j; + } + if(i == 1) + { + nukeBoy.power = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerMachineShredder.java b/com/hbm/gui/container/ContainerMachineShredder.java index bd0cbaf4a..6067aa463 100644 --- a/com/hbm/gui/container/ContainerMachineShredder.java +++ b/com/hbm/gui/container/ContainerMachineShredder.java @@ -1,153 +1,153 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineDiesel; -import com.hbm.tileentity.TileEntityMachineShredder; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerMachineShredder extends Container { - - private TileEntityMachineShredder diFurnace; - private int power; - private int progress; - - public ContainerMachineShredder(InventoryPlayer invPlayer, TileEntityMachineShredder tedf) { - power = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 44, 18)); - this.addSlotToContainer(new Slot(tedf, 1, 62, 18)); - this.addSlotToContainer(new Slot(tedf, 2, 80, 18)); - this.addSlotToContainer(new Slot(tedf, 3, 44, 36)); - this.addSlotToContainer(new Slot(tedf, 4, 62, 36)); - this.addSlotToContainer(new Slot(tedf, 5, 80, 36)); - this.addSlotToContainer(new Slot(tedf, 6, 44, 54)); - this.addSlotToContainer(new Slot(tedf, 7, 62, 54)); - this.addSlotToContainer(new Slot(tedf, 8, 80, 54)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 9, 116, 18)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 10, 134, 18)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 11, 152, 18)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 12, 116, 36)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 13, 134, 36)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 14, 152, 36)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 15, 116, 54)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 16, 134, 54)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 17, 152, 54)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 18, 116, 72)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 19, 134, 72)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 20, 152, 72)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 21, 116, 90)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 22, 134, 90)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 23, 152, 90)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 24, 116, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 25, 134, 108)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 26, 152, 108)); - this.addSlotToContainer(new Slot(tedf, 27, 44, 108)); - this.addSlotToContainer(new Slot(tedf, 28, 80, 108)); - this.addSlotToContainer(new Slot(tedf, 29, 8, 108)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.progress); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 29) { - if (!this.mergeItemStack(var5, 30, this.inventorySlots.size(), true)) - { - return null; - } - } - else - { - if (!this.mergeItemStack(var5, 0, 9, false)) - if (!this.mergeItemStack(var5, 27, 30, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); - } - - if(this.progress != this.diFurnace.progress) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.progress); - } - } - - this.power = this.diFurnace.power; - this.progress = this.diFurnace.progress; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.power = j; - } - if(i == 1) - { - diFurnace.progress = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineDiesel; +import com.hbm.tileentity.TileEntityMachineShredder; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerMachineShredder extends Container { + + private TileEntityMachineShredder diFurnace; + private int power; + private int progress; + + public ContainerMachineShredder(InventoryPlayer invPlayer, TileEntityMachineShredder tedf) { + power = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 44, 18)); + this.addSlotToContainer(new Slot(tedf, 1, 62, 18)); + this.addSlotToContainer(new Slot(tedf, 2, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 44, 36)); + this.addSlotToContainer(new Slot(tedf, 4, 62, 36)); + this.addSlotToContainer(new Slot(tedf, 5, 80, 36)); + this.addSlotToContainer(new Slot(tedf, 6, 44, 54)); + this.addSlotToContainer(new Slot(tedf, 7, 62, 54)); + this.addSlotToContainer(new Slot(tedf, 8, 80, 54)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 9, 116, 18)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 10, 134, 18)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 11, 152, 18)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 12, 116, 36)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 13, 134, 36)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 14, 152, 36)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 15, 116, 54)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 16, 134, 54)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 17, 152, 54)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 18, 116, 72)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 19, 134, 72)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 20, 152, 72)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 21, 116, 90)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 22, 134, 90)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 23, 152, 90)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 24, 116, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 25, 134, 108)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 26, 152, 108)); + this.addSlotToContainer(new Slot(tedf, 27, 44, 108)); + this.addSlotToContainer(new Slot(tedf, 28, 80, 108)); + this.addSlotToContainer(new Slot(tedf, 29, 8, 108)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.progress); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 29) { + if (!this.mergeItemStack(var5, 30, this.inventorySlots.size(), true)) + { + return null; + } + } + else + { + if (!this.mergeItemStack(var5, 0, 9, false)) + if (!this.mergeItemStack(var5, 27, 30, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + + if(this.progress != this.diFurnace.progress) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.progress); + } + } + + this.power = this.diFurnace.power; + this.progress = this.diFurnace.progress; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.power = j; + } + if(i == 1) + { + diFurnace.progress = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerNukeBoy.java b/com/hbm/gui/container/ContainerNukeBoy.java index 1f23c6811..6511aec54 100644 --- a/com/hbm/gui/container/ContainerNukeBoy.java +++ b/com/hbm/gui/container/ContainerNukeBoy.java @@ -1,77 +1,77 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityNukeBoy; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerNukeBoy extends Container { - -private TileEntityNukeBoy nukeBoy; - - public ContainerNukeBoy(InventoryPlayer invPlayer, TileEntityNukeBoy tedf) { - - nukeBoy = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 36)); - this.addSlotToContainer(new Slot(tedf, 1, 44, 36)); - this.addSlotToContainer(new Slot(tedf, 2, 62, 36)); - this.addSlotToContainer(new Slot(tedf, 3, 80, 36)); - this.addSlotToContainer(new Slot(tedf, 4, 98, 36)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 4) { - if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeBoy.isUseableByPlayer(player); - } - -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityNukeBoy; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukeBoy extends Container { + +private TileEntityNukeBoy nukeBoy; + + public ContainerNukeBoy(InventoryPlayer invPlayer, TileEntityNukeBoy tedf) { + + nukeBoy = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 36)); + this.addSlotToContainer(new Slot(tedf, 1, 44, 36)); + this.addSlotToContainer(new Slot(tedf, 2, 62, 36)); + this.addSlotToContainer(new Slot(tedf, 3, 80, 36)); + this.addSlotToContainer(new Slot(tedf, 4, 98, 36)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 4) { + if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeBoy.isUseableByPlayer(player); + } + +} diff --git a/com/hbm/gui/container/ContainerNukeCustom.java b/com/hbm/gui/container/ContainerNukeCustom.java new file mode 100644 index 000000000..1ec7f73f5 --- /dev/null +++ b/com/hbm/gui/container/ContainerNukeCustom.java @@ -0,0 +1,98 @@ +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityNukeCustom; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukeCustom extends Container { + +private TileEntityNukeCustom nukeBoy; + + public ContainerNukeCustom(InventoryPlayer invPlayer, TileEntityNukeCustom tedf) { + + nukeBoy = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 8, 18)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 18)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 62, 18)); + this.addSlotToContainer(new Slot(tedf, 4, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 5, 98, 18)); + this.addSlotToContainer(new Slot(tedf, 6, 116, 18)); + this.addSlotToContainer(new Slot(tedf, 7, 134, 18)); + this.addSlotToContainer(new Slot(tedf, 8, 152, 18)); + this.addSlotToContainer(new Slot(tedf, 9, 8, 36)); + this.addSlotToContainer(new Slot(tedf, 10, 26, 36)); + this.addSlotToContainer(new Slot(tedf, 11, 44, 36)); + this.addSlotToContainer(new Slot(tedf, 12, 62, 36)); + this.addSlotToContainer(new Slot(tedf, 13, 80, 36)); + this.addSlotToContainer(new Slot(tedf, 14, 98, 36)); + this.addSlotToContainer(new Slot(tedf, 15, 116, 36)); + this.addSlotToContainer(new Slot(tedf, 16, 134, 36)); + this.addSlotToContainer(new Slot(tedf, 17, 152, 36)); + this.addSlotToContainer(new Slot(tedf, 18, 8, 54)); + this.addSlotToContainer(new Slot(tedf, 19, 26, 54)); + this.addSlotToContainer(new Slot(tedf, 20, 44, 54)); + this.addSlotToContainer(new Slot(tedf, 21, 62, 54)); + this.addSlotToContainer(new Slot(tedf, 22, 80, 54)); + this.addSlotToContainer(new Slot(tedf, 23, 98, 54)); + this.addSlotToContainer(new Slot(tedf, 24, 116, 54)); + this.addSlotToContainer(new Slot(tedf, 25, 134, 54)); + this.addSlotToContainer(new Slot(tedf, 26, 152, 54)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 26) { + if (!this.mergeItemStack(var5, 27, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeBoy.isUseableByPlayer(player); + } +} diff --git a/com/hbm/gui/container/ContainerNukeFleija.java b/com/hbm/gui/container/ContainerNukeFleija.java index ed02646e6..2ecbedb8a 100644 --- a/com/hbm/gui/container/ContainerNukeFleija.java +++ b/com/hbm/gui/container/ContainerNukeFleija.java @@ -1,82 +1,82 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityNukeFleija; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerNukeFleija extends Container { - -private TileEntityNukeFleija nukeTsar; - - public ContainerNukeFleija(InventoryPlayer invPlayer, TileEntityNukeFleija tedf) { - - nukeTsar = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 8, 36)); - this.addSlotToContainer(new Slot(tedf, 1, 152, 36)); - this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); - this.addSlotToContainer(new Slot(tedf, 3, 44, 36)); - this.addSlotToContainer(new Slot(tedf, 4, 44, 54)); - this.addSlotToContainer(new Slot(tedf, 5, 80, 18)); - this.addSlotToContainer(new Slot(tedf, 6, 98, 18)); - this.addSlotToContainer(new Slot(tedf, 7, 80, 36)); - this.addSlotToContainer(new Slot(tedf, 8, 98, 36)); - this.addSlotToContainer(new Slot(tedf, 9, 80, 54)); - this.addSlotToContainer(new Slot(tedf, 10, 98, 54)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 10) { - if (!this.mergeItemStack(var5, 11, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeTsar.isUseableByPlayer(player); - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityNukeFleija; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukeFleija extends Container { + +private TileEntityNukeFleija nukeTsar; + + public ContainerNukeFleija(InventoryPlayer invPlayer, TileEntityNukeFleija tedf) { + + nukeTsar = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 8, 36)); + this.addSlotToContainer(new Slot(tedf, 1, 152, 36)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 44, 36)); + this.addSlotToContainer(new Slot(tedf, 4, 44, 54)); + this.addSlotToContainer(new Slot(tedf, 5, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 6, 98, 18)); + this.addSlotToContainer(new Slot(tedf, 7, 80, 36)); + this.addSlotToContainer(new Slot(tedf, 8, 98, 36)); + this.addSlotToContainer(new Slot(tedf, 9, 80, 54)); + this.addSlotToContainer(new Slot(tedf, 10, 98, 54)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 10) { + if (!this.mergeItemStack(var5, 11, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeTsar.isUseableByPlayer(player); + } +} diff --git a/com/hbm/gui/container/ContainerNukeFurnace.java b/com/hbm/gui/container/ContainerNukeFurnace.java index 43aa3b5dd..483688c53 100644 --- a/com/hbm/gui/container/ContainerNukeFurnace.java +++ b/com/hbm/gui/container/ContainerNukeFurnace.java @@ -1,127 +1,127 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityNukeFurnace; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerNukeFurnace extends Container { - - private TileEntityNukeFurnace diFurnace; - private int dualCookTime; - private int dualPower; - private int lastItemBurnTime; - - public ContainerNukeFurnace(InventoryPlayer invPlayer, TileEntityNukeFurnace tedf) { - dualCookTime = 0; - dualPower = 0; - lastItemBurnTime = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 56, 53)); - this.addSlotToContainer(new Slot(tedf, 1, 56, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 2, 116, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 2) { - if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 1, 2, false)) - { - if (!this.mergeItemStack(var5, 0, 1, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.dualCookTime != this.diFurnace.dualCookTime) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - } - - if(this.dualPower != this.diFurnace.dualPower) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); - } - } - - this.dualCookTime = this.diFurnace.dualCookTime; - this.dualPower = this.diFurnace.dualPower; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.dualCookTime = j; - } - if(i == 1) - { - diFurnace.dualPower = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityNukeFurnace; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukeFurnace extends Container { + + private TileEntityNukeFurnace diFurnace; + private int dualCookTime; + private int dualPower; + private int lastItemBurnTime; + + public ContainerNukeFurnace(InventoryPlayer invPlayer, TileEntityNukeFurnace tedf) { + dualCookTime = 0; + dualPower = 0; + lastItemBurnTime = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 56, 53)); + this.addSlotToContainer(new Slot(tedf, 1, 56, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 2, 116, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 2) { + if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 1, 2, false)) + { + if (!this.mergeItemStack(var5, 0, 1, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.dualCookTime != this.diFurnace.dualCookTime) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + } + + if(this.dualPower != this.diFurnace.dualPower) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); + } + } + + this.dualCookTime = this.diFurnace.dualCookTime; + this.dualPower = this.diFurnace.dualPower; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.dualCookTime = j; + } + if(i == 1) + { + diFurnace.dualPower = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerNukeGadget.java b/com/hbm/gui/container/ContainerNukeGadget.java index f7ac206de..4e1cb48f8 100644 --- a/com/hbm/gui/container/ContainerNukeGadget.java +++ b/com/hbm/gui/container/ContainerNukeGadget.java @@ -1,78 +1,78 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityNukeGadget; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerNukeGadget extends Container { - -private TileEntityNukeGadget nukeGadget; - - public ContainerNukeGadget(InventoryPlayer invPlayer, TileEntityNukeGadget tedf) { - - nukeGadget = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 35)); - this.addSlotToContainer(new Slot(tedf, 1, 8, 17)); - this.addSlotToContainer(new Slot(tedf, 2, 44, 17)); - this.addSlotToContainer(new Slot(tedf, 3, 8, 53)); - this.addSlotToContainer(new Slot(tedf, 4, 44, 53)); - this.addSlotToContainer(new Slot(tedf, 5, 98, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 5) { - if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeGadget.isUseableByPlayer(player); - } - -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityNukeGadget; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukeGadget extends Container { + +private TileEntityNukeGadget nukeGadget; + + public ContainerNukeGadget(InventoryPlayer invPlayer, TileEntityNukeGadget tedf) { + + nukeGadget = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 35)); + this.addSlotToContainer(new Slot(tedf, 1, 8, 17)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 17)); + this.addSlotToContainer(new Slot(tedf, 3, 8, 53)); + this.addSlotToContainer(new Slot(tedf, 4, 44, 53)); + this.addSlotToContainer(new Slot(tedf, 5, 98, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 5) { + if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeGadget.isUseableByPlayer(player); + } + +} diff --git a/com/hbm/gui/container/ContainerNukeMan.java b/com/hbm/gui/container/ContainerNukeMan.java index d9df8cfa3..463003ecd 100644 --- a/com/hbm/gui/container/ContainerNukeMan.java +++ b/com/hbm/gui/container/ContainerNukeMan.java @@ -1,78 +1,78 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityNukeMan; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerNukeMan extends Container { - -private TileEntityNukeMan nukeMan; - - public ContainerNukeMan(InventoryPlayer invPlayer, TileEntityNukeMan tedf) { - - nukeMan = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 35)); - this.addSlotToContainer(new Slot(tedf, 1, 8, 17)); - this.addSlotToContainer(new Slot(tedf, 2, 44, 17)); - this.addSlotToContainer(new Slot(tedf, 3, 8, 53)); - this.addSlotToContainer(new Slot(tedf, 4, 44, 53)); - this.addSlotToContainer(new Slot(tedf, 5, 98, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 5) { - if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeMan.isUseableByPlayer(player); - } - -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityNukeMan; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukeMan extends Container { + +private TileEntityNukeMan nukeMan; + + public ContainerNukeMan(InventoryPlayer invPlayer, TileEntityNukeMan tedf) { + + nukeMan = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 35)); + this.addSlotToContainer(new Slot(tedf, 1, 8, 17)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 17)); + this.addSlotToContainer(new Slot(tedf, 3, 8, 53)); + this.addSlotToContainer(new Slot(tedf, 4, 44, 53)); + this.addSlotToContainer(new Slot(tedf, 5, 98, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 5) { + if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeMan.isUseableByPlayer(player); + } + +} diff --git a/com/hbm/gui/container/ContainerNukeMike.java b/com/hbm/gui/container/ContainerNukeMike.java index f1ee519f7..1367e3c2f 100644 --- a/com/hbm/gui/container/ContainerNukeMike.java +++ b/com/hbm/gui/container/ContainerNukeMike.java @@ -1,80 +1,80 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityNukeMike; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerNukeMike extends Container { - -private TileEntityNukeMike nukeMike; - - public ContainerNukeMike(InventoryPlayer invPlayer, TileEntityNukeMike tedf) { - - nukeMike = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 17)); - this.addSlotToContainer(new Slot(tedf, 1, 62, 17)); - this.addSlotToContainer(new Slot(tedf, 2, 26, 53)); - this.addSlotToContainer(new Slot(tedf, 3, 62, 53)); - this.addSlotToContainer(new Slot(tedf, 4, 44, 35)); - this.addSlotToContainer(new Slot(tedf, 5, 80, 35)); - this.addSlotToContainer(new Slot(tedf, 6, 98, 35)); - this.addSlotToContainer(new Slot(tedf, 7, 116, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 7) { - if (!this.mergeItemStack(var5, 8, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeMike.isUseableByPlayer(player); - } - -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityNukeMike; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukeMike extends Container { + +private TileEntityNukeMike nukeMike; + + public ContainerNukeMike(InventoryPlayer invPlayer, TileEntityNukeMike tedf) { + + nukeMike = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 17)); + this.addSlotToContainer(new Slot(tedf, 1, 62, 17)); + this.addSlotToContainer(new Slot(tedf, 2, 26, 53)); + this.addSlotToContainer(new Slot(tedf, 3, 62, 53)); + this.addSlotToContainer(new Slot(tedf, 4, 44, 35)); + this.addSlotToContainer(new Slot(tedf, 5, 80, 35)); + this.addSlotToContainer(new Slot(tedf, 6, 98, 35)); + this.addSlotToContainer(new Slot(tedf, 7, 116, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 7) { + if (!this.mergeItemStack(var5, 8, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeMike.isUseableByPlayer(player); + } + +} diff --git a/com/hbm/gui/container/ContainerNukePrototype.java b/com/hbm/gui/container/ContainerNukePrototype.java index 4ebb41520..b58752cf5 100644 --- a/com/hbm/gui/container/ContainerNukePrototype.java +++ b/com/hbm/gui/container/ContainerNukePrototype.java @@ -1,85 +1,85 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityNukePrototype; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerNukePrototype extends Container { - -private TileEntityNukePrototype nukeTsar; - - public ContainerNukePrototype(InventoryPlayer invPlayer, TileEntityNukePrototype tedf) { - - nukeTsar = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 8, 35)); - this.addSlotToContainer(new Slot(tedf, 1, 26, 35)); - this.addSlotToContainer(new Slot(tedf, 2, 44, 26)); - this.addSlotToContainer(new Slot(tedf, 3, 44, 44)); - this.addSlotToContainer(new Slot(tedf, 4, 62, 26)); - this.addSlotToContainer(new Slot(tedf, 5, 62, 44)); - this.addSlotToContainer(new Slot(tedf, 6, 80, 26)); - this.addSlotToContainer(new Slot(tedf, 7, 80, 44)); - this.addSlotToContainer(new Slot(tedf, 8, 98, 26)); - this.addSlotToContainer(new Slot(tedf, 9, 98, 44)); - this.addSlotToContainer(new Slot(tedf, 10, 116, 26)); - this.addSlotToContainer(new Slot(tedf, 11, 116, 44)); - this.addSlotToContainer(new Slot(tedf, 12, 134, 35)); - this.addSlotToContainer(new Slot(tedf, 13, 152, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 13) { - if (!this.mergeItemStack(var5, 14, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeTsar.isUseableByPlayer(player); - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityNukePrototype; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukePrototype extends Container { + +private TileEntityNukePrototype nukeTsar; + + public ContainerNukePrototype(InventoryPlayer invPlayer, TileEntityNukePrototype tedf) { + + nukeTsar = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 8, 35)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 35)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 26)); + this.addSlotToContainer(new Slot(tedf, 3, 44, 44)); + this.addSlotToContainer(new Slot(tedf, 4, 62, 26)); + this.addSlotToContainer(new Slot(tedf, 5, 62, 44)); + this.addSlotToContainer(new Slot(tedf, 6, 80, 26)); + this.addSlotToContainer(new Slot(tedf, 7, 80, 44)); + this.addSlotToContainer(new Slot(tedf, 8, 98, 26)); + this.addSlotToContainer(new Slot(tedf, 9, 98, 44)); + this.addSlotToContainer(new Slot(tedf, 10, 116, 26)); + this.addSlotToContainer(new Slot(tedf, 11, 116, 44)); + this.addSlotToContainer(new Slot(tedf, 12, 134, 35)); + this.addSlotToContainer(new Slot(tedf, 13, 152, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 13) { + if (!this.mergeItemStack(var5, 14, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeTsar.isUseableByPlayer(player); + } +} diff --git a/com/hbm/gui/container/ContainerNukeTsar.java b/com/hbm/gui/container/ContainerNukeTsar.java index 54b45d840..6caff5624 100644 --- a/com/hbm/gui/container/ContainerNukeTsar.java +++ b/com/hbm/gui/container/ContainerNukeTsar.java @@ -1,77 +1,77 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityNukeTsar; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerNukeTsar extends Container { - -private TileEntityNukeTsar nukeTsar; - - public ContainerNukeTsar(InventoryPlayer invPlayer, TileEntityNukeTsar tedf) { - - nukeTsar = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 35, 17)); - this.addSlotToContainer(new Slot(tedf, 1, 71, 17)); - this.addSlotToContainer(new Slot(tedf, 2, 35, 53)); - this.addSlotToContainer(new Slot(tedf, 3, 71, 53)); - this.addSlotToContainer(new Slot(tedf, 4, 53, 35)); - this.addSlotToContainer(new Slot(tedf, 5, 98, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 5) { - if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return nukeTsar.isUseableByPlayer(player); - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityNukeTsar; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerNukeTsar extends Container { + +private TileEntityNukeTsar nukeTsar; + + public ContainerNukeTsar(InventoryPlayer invPlayer, TileEntityNukeTsar tedf) { + + nukeTsar = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 35, 17)); + this.addSlotToContainer(new Slot(tedf, 1, 71, 17)); + this.addSlotToContainer(new Slot(tedf, 2, 35, 53)); + this.addSlotToContainer(new Slot(tedf, 3, 71, 53)); + this.addSlotToContainer(new Slot(tedf, 4, 53, 35)); + this.addSlotToContainer(new Slot(tedf, 5, 98, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 5) { + if (!this.mergeItemStack(var5, 6, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return nukeTsar.isUseableByPlayer(player); + } +} diff --git a/com/hbm/gui/container/ContainerPuF6Tank.java b/com/hbm/gui/container/ContainerPuF6Tank.java index 860ebfa14..239c66ba8 100644 --- a/com/hbm/gui/container/ContainerPuF6Tank.java +++ b/com/hbm/gui/container/ContainerPuF6Tank.java @@ -1,114 +1,114 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachinePuF6Tank; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerPuF6Tank extends Container { - - private TileEntityMachinePuF6Tank testNuke; - private int fillState; - - public ContainerPuF6Tank(InventoryPlayer invPlayer, TileEntityMachinePuF6Tank tedf) { - fillState = 0; - - testNuke = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 44, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 1, 44, 53)); - this.addSlotToContainer(new Slot(tedf, 2, 116, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 3, 116, 53)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.testNuke.fillState); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 3) { - if (!this.mergeItemStack(var5, 4, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 1, false)) - { - if (!this.mergeItemStack(var5, 2, 3, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return testNuke.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.fillState != this.testNuke.fillState) - { - par1.sendProgressBarUpdate(this, 0, this.testNuke.fillState); - } - } - - this.fillState = this.testNuke.fillState; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - testNuke.fillState = j; - } - } - +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachinePuF6Tank; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerPuF6Tank extends Container { + + private TileEntityMachinePuF6Tank testNuke; + private int fillState; + + public ContainerPuF6Tank(InventoryPlayer invPlayer, TileEntityMachinePuF6Tank tedf) { + fillState = 0; + + testNuke = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 44, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 1, 44, 53)); + this.addSlotToContainer(new Slot(tedf, 2, 116, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 3, 116, 53)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.testNuke.fillState); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 3) { + if (!this.mergeItemStack(var5, 4, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 1, false)) + { + if (!this.mergeItemStack(var5, 2, 3, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return testNuke.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.fillState != this.testNuke.fillState) + { + par1.sendProgressBarUpdate(this, 0, this.testNuke.fillState); + } + } + + this.fillState = this.testNuke.fillState; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + testNuke.fillState = j; + } + } + } \ No newline at end of file diff --git a/com/hbm/gui/container/ContainerReactor.java b/com/hbm/gui/container/ContainerReactor.java index b20e0b379..1ec7b3e20 100644 --- a/com/hbm/gui/container/ContainerReactor.java +++ b/com/hbm/gui/container/ContainerReactor.java @@ -1,130 +1,130 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineReactor; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerReactor extends Container { - - private TileEntityMachineReactor diFurnace; - private int dualCookTime; - private int dualPower; - private int lastItemBurnTime; - - public ContainerReactor(InventoryPlayer invPlayer, TileEntityMachineReactor tedf) { - dualCookTime = 0; - dualPower = 0; - lastItemBurnTime = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 56, 53)); - this.addSlotToContainer(new Slot(tedf, 1, 56, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 2, 116, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 2) { - if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) - { - return null; - } - } - - //Changing priorities without swapping the actual slots - else if (!this.mergeItemStack(var5, 1, 2, false)) - { - if (!this.mergeItemStack(var5, 0, 1, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.dualCookTime != this.diFurnace.dualCookTime) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - } - - if(this.dualPower != this.diFurnace.dualPower) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); - } - } - - this.dualCookTime = this.diFurnace.dualCookTime; - this.dualPower = this.diFurnace.dualPower; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.dualCookTime = j; - } - if(i == 1) - { - diFurnace.dualPower = j; - } - } - -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineReactor; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerReactor extends Container { + + private TileEntityMachineReactor diFurnace; + private int dualCookTime; + private int dualPower; + private int lastItemBurnTime; + + public ContainerReactor(InventoryPlayer invPlayer, TileEntityMachineReactor tedf) { + dualCookTime = 0; + dualPower = 0; + lastItemBurnTime = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 56, 53)); + this.addSlotToContainer(new Slot(tedf, 1, 56, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 2, 116, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 2) { + if (!this.mergeItemStack(var5, 3, this.inventorySlots.size(), true)) + { + return null; + } + } + + //Changing priorities without swapping the actual slots + else if (!this.mergeItemStack(var5, 1, 2, false)) + { + if (!this.mergeItemStack(var5, 0, 1, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.dualCookTime != this.diFurnace.dualCookTime) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + } + + if(this.dualPower != this.diFurnace.dualPower) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.dualPower); + } + } + + this.dualCookTime = this.diFurnace.dualCookTime; + this.dualPower = this.diFurnace.dualPower; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.dualCookTime = j; + } + if(i == 1) + { + diFurnace.dualPower = j; + } + } + +} diff --git a/com/hbm/gui/container/ContainerReactorMultiblock.java b/com/hbm/gui/container/ContainerReactorMultiblock.java index f4f6406ad..eec3971ff 100644 --- a/com/hbm/gui/container/ContainerReactorMultiblock.java +++ b/com/hbm/gui/container/ContainerReactorMultiblock.java @@ -1,180 +1,180 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityMachineGenerator; -import com.hbm.tileentity.TileEntityReactorMultiblock; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerReactorMultiblock extends Container { - - private TileEntityReactorMultiblock diFurnace; - - private int water; - private int cool; - private int power; - private int heat; - - public ContainerReactorMultiblock(InventoryPlayer invPlayer, TileEntityReactorMultiblock tedf) { - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 62, 18)); - this.addSlotToContainer(new Slot(tedf, 1, 80, 18)); - this.addSlotToContainer(new Slot(tedf, 2, 98, 18)); - this.addSlotToContainer(new Slot(tedf, 3, 116, 18)); - this.addSlotToContainer(new Slot(tedf, 4, 134, 18)); - this.addSlotToContainer(new Slot(tedf, 5, 152, 18)); - this.addSlotToContainer(new Slot(tedf, 6, 62, 36)); - this.addSlotToContainer(new Slot(tedf, 7, 80, 36)); - this.addSlotToContainer(new Slot(tedf, 8, 98, 36)); - this.addSlotToContainer(new Slot(tedf, 9, 116, 36)); - this.addSlotToContainer(new Slot(tedf, 10, 134, 36)); - this.addSlotToContainer(new Slot(tedf, 11, 152, 36)); - this.addSlotToContainer(new Slot(tedf, 12, 62, 54)); - this.addSlotToContainer(new Slot(tedf, 13, 80, 54)); - this.addSlotToContainer(new Slot(tedf, 14, 98, 54)); - this.addSlotToContainer(new Slot(tedf, 15, 116, 54)); - this.addSlotToContainer(new Slot(tedf, 16, 134, 54)); - this.addSlotToContainer(new Slot(tedf, 17, 152, 54)); - this.addSlotToContainer(new Slot(tedf, 18, 62, 72)); - this.addSlotToContainer(new Slot(tedf, 19, 80, 72)); - this.addSlotToContainer(new Slot(tedf, 20, 98, 72)); - this.addSlotToContainer(new Slot(tedf, 21, 116, 72)); - this.addSlotToContainer(new Slot(tedf, 22, 134, 72)); - this.addSlotToContainer(new Slot(tedf, 23, 152, 72)); - this.addSlotToContainer(new Slot(tedf, 24, 62, 90)); - this.addSlotToContainer(new Slot(tedf, 25, 80, 90)); - this.addSlotToContainer(new Slot(tedf, 26, 98, 90)); - this.addSlotToContainer(new Slot(tedf, 27, 116, 90)); - this.addSlotToContainer(new Slot(tedf, 28, 134, 90)); - this.addSlotToContainer(new Slot(tedf, 29, 152, 90)); - //Water - this.addSlotToContainer(new Slot(tedf, 30, 8, 90)); - //Coolant - this.addSlotToContainer(new Slot(tedf, 31, 26, 90)); - //Batteries - this.addSlotToContainer(new Slot(tedf, 32, 44, 90)); - //Fuse - this.addSlotToContainer(new Slot(tedf, 33, 8, 108)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.water); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.cool); - crafting.sendProgressBarUpdate(this, 2, this.diFurnace.power); - crafting.sendProgressBarUpdate(this, 3, this.diFurnace.heat); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 33) { - if (!this.mergeItemStack(var5, 34, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.water != this.diFurnace.water) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.water); - } - - if(this.cool != this.diFurnace.cool) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.cool); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 2, this.diFurnace.power); - } - - if(this.heat != this.diFurnace.heat) - { - par1.sendProgressBarUpdate(this, 3, this.diFurnace.heat); - } - } - - this.water = this.diFurnace.water; - this.cool = this.diFurnace.cool; - this.power = this.diFurnace.power; - this.heat = this.diFurnace.heat; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.water = j; - } - if(i == 1) - { - diFurnace.cool = j; - } - if(i == 2) - { - diFurnace.power = j; - } - if(i == 3) - { - diFurnace.heat = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityMachineGenerator; +import com.hbm.tileentity.TileEntityReactorMultiblock; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerReactorMultiblock extends Container { + + private TileEntityReactorMultiblock diFurnace; + + private int water; + private int cool; + private int power; + private int heat; + + public ContainerReactorMultiblock(InventoryPlayer invPlayer, TileEntityReactorMultiblock tedf) { + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 62, 18)); + this.addSlotToContainer(new Slot(tedf, 1, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 2, 98, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 116, 18)); + this.addSlotToContainer(new Slot(tedf, 4, 134, 18)); + this.addSlotToContainer(new Slot(tedf, 5, 152, 18)); + this.addSlotToContainer(new Slot(tedf, 6, 62, 36)); + this.addSlotToContainer(new Slot(tedf, 7, 80, 36)); + this.addSlotToContainer(new Slot(tedf, 8, 98, 36)); + this.addSlotToContainer(new Slot(tedf, 9, 116, 36)); + this.addSlotToContainer(new Slot(tedf, 10, 134, 36)); + this.addSlotToContainer(new Slot(tedf, 11, 152, 36)); + this.addSlotToContainer(new Slot(tedf, 12, 62, 54)); + this.addSlotToContainer(new Slot(tedf, 13, 80, 54)); + this.addSlotToContainer(new Slot(tedf, 14, 98, 54)); + this.addSlotToContainer(new Slot(tedf, 15, 116, 54)); + this.addSlotToContainer(new Slot(tedf, 16, 134, 54)); + this.addSlotToContainer(new Slot(tedf, 17, 152, 54)); + this.addSlotToContainer(new Slot(tedf, 18, 62, 72)); + this.addSlotToContainer(new Slot(tedf, 19, 80, 72)); + this.addSlotToContainer(new Slot(tedf, 20, 98, 72)); + this.addSlotToContainer(new Slot(tedf, 21, 116, 72)); + this.addSlotToContainer(new Slot(tedf, 22, 134, 72)); + this.addSlotToContainer(new Slot(tedf, 23, 152, 72)); + this.addSlotToContainer(new Slot(tedf, 24, 62, 90)); + this.addSlotToContainer(new Slot(tedf, 25, 80, 90)); + this.addSlotToContainer(new Slot(tedf, 26, 98, 90)); + this.addSlotToContainer(new Slot(tedf, 27, 116, 90)); + this.addSlotToContainer(new Slot(tedf, 28, 134, 90)); + this.addSlotToContainer(new Slot(tedf, 29, 152, 90)); + //Water + this.addSlotToContainer(new Slot(tedf, 30, 8, 90)); + //Coolant + this.addSlotToContainer(new Slot(tedf, 31, 26, 90)); + //Batteries + this.addSlotToContainer(new Slot(tedf, 32, 44, 90)); + //Fuse + this.addSlotToContainer(new Slot(tedf, 33, 8, 108)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.water); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.cool); + crafting.sendProgressBarUpdate(this, 2, this.diFurnace.power); + crafting.sendProgressBarUpdate(this, 3, this.diFurnace.heat); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 33) { + if (!this.mergeItemStack(var5, 34, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.water != this.diFurnace.water) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.water); + } + + if(this.cool != this.diFurnace.cool) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.cool); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 2, this.diFurnace.power); + } + + if(this.heat != this.diFurnace.heat) + { + par1.sendProgressBarUpdate(this, 3, this.diFurnace.heat); + } + } + + this.water = this.diFurnace.water; + this.cool = this.diFurnace.cool; + this.power = this.diFurnace.power; + this.heat = this.diFurnace.heat; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.water = j; + } + if(i == 1) + { + diFurnace.cool = j; + } + if(i == 2) + { + diFurnace.power = j; + } + if(i == 3) + { + diFurnace.heat = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerReiXMainframe.java b/com/hbm/gui/container/ContainerReiXMainframe.java new file mode 100644 index 000000000..5c2e08b2c --- /dev/null +++ b/com/hbm/gui/container/ContainerReiXMainframe.java @@ -0,0 +1,103 @@ +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityReactorMultiblock; +import com.hbm.tileentity.TileEntityReiXMainframe; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerReiXMainframe extends Container { + + private TileEntityReiXMainframe diFurnace; + + private int power; + + public ContainerReiXMainframe(InventoryPlayer invPlayer, TileEntityReiXMainframe tedf) { + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 8, 158)); + this.addSlotToContainer(new Slot(tedf, 1, 44, 158)); + this.addSlotToContainer(new Slot(tedf, 2, 80, 158)); + this.addSlotToContainer(new Slot(tedf, 3, 116, 158)); + this.addSlotToContainer(new Slot(tedf, 4, 152, 158)); + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 4) { + if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.power); + } + } + + this.power = this.diFurnace.power; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.power = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerRtgFurnace.java b/com/hbm/gui/container/ContainerRtgFurnace.java index 326c3640a..3fbf1b04d 100644 --- a/com/hbm/gui/container/ContainerRtgFurnace.java +++ b/com/hbm/gui/container/ContainerRtgFurnace.java @@ -1,115 +1,115 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityRtgFurnace; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerRtgFurnace extends Container { - - private TileEntityRtgFurnace diFurnace; - private int dualCookTime; - private int lastItemBurnTime; - - public ContainerRtgFurnace(InventoryPlayer invPlayer, TileEntityRtgFurnace tedf) { - dualCookTime = 0; - lastItemBurnTime = 0; - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 56, 17)); - this.addSlotToContainer(new Slot(tedf, 1, 38, 53)); - this.addSlotToContainer(new Slot(tedf, 2, 56, 53)); - this.addSlotToContainer(new Slot(tedf, 3, 74, 53)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 4, 116, 35)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 4) { - if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 4, false)) - { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.dualCookTime != this.diFurnace.dualCookTime) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); - } - } - - this.dualCookTime = this.diFurnace.dualCookTime; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.dualCookTime = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityRtgFurnace; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerRtgFurnace extends Container { + + private TileEntityRtgFurnace diFurnace; + private int dualCookTime; + private int lastItemBurnTime; + + public ContainerRtgFurnace(InventoryPlayer invPlayer, TileEntityRtgFurnace tedf) { + dualCookTime = 0; + lastItemBurnTime = 0; + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 56, 17)); + this.addSlotToContainer(new Slot(tedf, 1, 38, 53)); + this.addSlotToContainer(new Slot(tedf, 2, 56, 53)); + this.addSlotToContainer(new Slot(tedf, 3, 74, 53)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 4, 116, 35)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 4) { + if (!this.mergeItemStack(var5, 5, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 4, false)) + { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.dualCookTime != this.diFurnace.dualCookTime) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.dualCookTime); + } + } + + this.dualCookTime = this.diFurnace.dualCookTime; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.dualCookTime = j; + } + } +} diff --git a/com/hbm/gui/container/ContainerTestNuke.java b/com/hbm/gui/container/ContainerTestNuke.java index 71601941e..ce875e883 100644 --- a/com/hbm/gui/container/ContainerTestNuke.java +++ b/com/hbm/gui/container/ContainerTestNuke.java @@ -1,50 +1,50 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityTestNuke; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerTestNuke extends Container { - - private TileEntityTestNuke testNuke; - - public ContainerTestNuke(InventoryPlayer invPlayer, TileEntityTestNuke tedf) { - - testNuke = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 26, 36)); - this.addSlotToContainer(new Slot(tedf, 1, 44, 36)); - this.addSlotToContainer(new Slot(tedf, 2, 62, 36)); - this.addSlotToContainer(new Slot(tedf, 3, 80, 36)); - this.addSlotToContainer(new Slot(tedf, 4, 98, 36)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_) - { - return null; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return testNuke.isUseableByPlayer(player); - } - -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityTestNuke; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerTestNuke extends Container { + + private TileEntityTestNuke testNuke; + + public ContainerTestNuke(InventoryPlayer invPlayer, TileEntityTestNuke tedf) { + + testNuke = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 26, 36)); + this.addSlotToContainer(new Slot(tedf, 1, 44, 36)); + this.addSlotToContainer(new Slot(tedf, 2, 62, 36)); + this.addSlotToContainer(new Slot(tedf, 3, 80, 36)); + this.addSlotToContainer(new Slot(tedf, 4, 98, 36)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_) + { + return null; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return testNuke.isUseableByPlayer(player); + } + +} diff --git a/com/hbm/gui/container/ContainerUF6Tank.java b/com/hbm/gui/container/ContainerUF6Tank.java index 2058249b4..9585fbb6a 100644 --- a/com/hbm/gui/container/ContainerUF6Tank.java +++ b/com/hbm/gui/container/ContainerUF6Tank.java @@ -1,114 +1,114 @@ -package com.hbm.gui.container; - -import com.hbm.gui.SlotDiFurnace; -import com.hbm.tileentity.TileEntityMachineUF6Tank; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerUF6Tank extends Container { - - private TileEntityMachineUF6Tank testNuke; - private int fillState; - - public ContainerUF6Tank(InventoryPlayer invPlayer, TileEntityMachineUF6Tank tedf) { - fillState = 0; - - testNuke = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 44, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 1, 44, 53)); - this.addSlotToContainer(new Slot(tedf, 2, 116, 17)); - this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 3, 116, 53)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.testNuke.fillState); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 3) { - if (!this.mergeItemStack(var5, 4, this.inventorySlots.size(), true)) - { - return null; - } - } - else if (!this.mergeItemStack(var5, 0, 1, false)) - { - if (!this.mergeItemStack(var5, 2, 3, false)) - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return testNuke.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.fillState != this.testNuke.fillState) - { - par1.sendProgressBarUpdate(this, 0, this.testNuke.fillState); - } - } - - this.fillState = this.testNuke.fillState; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - testNuke.fillState = j; - } - } - +package com.hbm.gui.container; + +import com.hbm.gui.SlotDiFurnace; +import com.hbm.tileentity.TileEntityMachineUF6Tank; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerUF6Tank extends Container { + + private TileEntityMachineUF6Tank testNuke; + private int fillState; + + public ContainerUF6Tank(InventoryPlayer invPlayer, TileEntityMachineUF6Tank tedf) { + fillState = 0; + + testNuke = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 44, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 1, 44, 53)); + this.addSlotToContainer(new Slot(tedf, 2, 116, 17)); + this.addSlotToContainer(new SlotDiFurnace(invPlayer.player, tedf, 3, 116, 53)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.testNuke.fillState); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 3) { + if (!this.mergeItemStack(var5, 4, this.inventorySlots.size(), true)) + { + return null; + } + } + else if (!this.mergeItemStack(var5, 0, 1, false)) + { + if (!this.mergeItemStack(var5, 2, 3, false)) + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return testNuke.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.fillState != this.testNuke.fillState) + { + par1.sendProgressBarUpdate(this, 0, this.testNuke.fillState); + } + } + + this.fillState = this.testNuke.fillState; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + testNuke.fillState = j; + } + } + } \ No newline at end of file diff --git a/com/hbm/gui/container/ContainerWatzCore.java b/com/hbm/gui/container/ContainerWatzCore.java index edb57f0d1..9b91c8891 100644 --- a/com/hbm/gui/container/ContainerWatzCore.java +++ b/com/hbm/gui/container/ContainerWatzCore.java @@ -1,158 +1,158 @@ -package com.hbm.gui.container; - -import com.hbm.tileentity.TileEntityFusionMultiblock; -import com.hbm.tileentity.TileEntityWatzCore; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; - -public class ContainerWatzCore extends Container { - - private TileEntityWatzCore diFurnace; - - private int water; - private int power; - private int trit; - - public ContainerWatzCore(InventoryPlayer invPlayer, TileEntityWatzCore tedf) { - - diFurnace = tedf; - - this.addSlotToContainer(new Slot(tedf, 0, 8, 18)); - this.addSlotToContainer(new Slot(tedf, 1, 26, 18)); - this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); - this.addSlotToContainer(new Slot(tedf, 3, 62, 18)); - this.addSlotToContainer(new Slot(tedf, 4, 80, 18)); - this.addSlotToContainer(new Slot(tedf, 5, 98, 18)); - this.addSlotToContainer(new Slot(tedf, 6, 8, 36)); - this.addSlotToContainer(new Slot(tedf, 7, 26, 36)); - this.addSlotToContainer(new Slot(tedf, 8, 44, 36)); - this.addSlotToContainer(new Slot(tedf, 9, 62, 36)); - this.addSlotToContainer(new Slot(tedf, 10, 80, 36)); - this.addSlotToContainer(new Slot(tedf, 11, 98, 36)); - this.addSlotToContainer(new Slot(tedf, 12, 8, 54)); - this.addSlotToContainer(new Slot(tedf, 13, 26, 54)); - this.addSlotToContainer(new Slot(tedf, 14, 44, 54)); - this.addSlotToContainer(new Slot(tedf, 15, 62, 54)); - this.addSlotToContainer(new Slot(tedf, 16, 80, 54)); - this.addSlotToContainer(new Slot(tedf, 17, 98, 54)); - this.addSlotToContainer(new Slot(tedf, 18, 8, 72)); - this.addSlotToContainer(new Slot(tedf, 19, 26, 72)); - this.addSlotToContainer(new Slot(tedf, 20, 44, 72)); - this.addSlotToContainer(new Slot(tedf, 21, 62, 72)); - this.addSlotToContainer(new Slot(tedf, 22, 80, 72)); - this.addSlotToContainer(new Slot(tedf, 23, 98, 72)); - this.addSlotToContainer(new Slot(tedf, 24, 8, 90)); - this.addSlotToContainer(new Slot(tedf, 25, 26, 90)); - this.addSlotToContainer(new Slot(tedf, 26, 44, 90)); - this.addSlotToContainer(new Slot(tedf, 27, 62, 90)); - this.addSlotToContainer(new Slot(tedf, 28, 80, 90)); - this.addSlotToContainer(new Slot(tedf, 29, 98, 90)); - this.addSlotToContainer(new Slot(tedf, 30, 8, 108)); - this.addSlotToContainer(new Slot(tedf, 31, 26, 108)); - this.addSlotToContainer(new Slot(tedf, 32, 44, 108)); - this.addSlotToContainer(new Slot(tedf, 33, 62, 108)); - this.addSlotToContainer(new Slot(tedf, 34, 80, 108)); - this.addSlotToContainer(new Slot(tedf, 35, 98, 108)); - this.addSlotToContainer(new Slot(tedf, 36, 134, 108)); - this.addSlotToContainer(new Slot(tedf, 37, 152, 108)); - this.addSlotToContainer(new Slot(tedf, 38, 116, 63)); - - for(int i = 0; i < 3; i++) - { - for(int j = 0; j < 9; j++) - { - this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); - } - } - - for(int i = 0; i < 9; i++) - { - this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); - } - } - - @Override - public void addCraftingToCrafters(ICrafting crafting) { - super.addCraftingToCrafters(crafting); - crafting.sendProgressBarUpdate(this, 0, this.diFurnace.waste); - crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - - @Override - public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) - { - ItemStack var3 = null; - Slot var4 = (Slot) this.inventorySlots.get(par2); - - if (var4 != null && var4.getHasStack()) - { - ItemStack var5 = var4.getStack(); - var3 = var5.copy(); - - if (par2 <= 38) { - if (!this.mergeItemStack(var5, 39, this.inventorySlots.size(), true)) - { - return null; - } - } else { - return null; - } - - if (var5.stackSize == 0) - { - var4.putStack((ItemStack) null); - } - else - { - var4.onSlotChanged(); - } - } - - return var3; - } - - @Override - public boolean canInteractWith(EntityPlayer player) { - return diFurnace.isUseableByPlayer(player); - } - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - for(int i = 0; i < this.crafters.size(); i++) - { - ICrafting par1 = (ICrafting)this.crafters.get(i); - - if(this.water != this.diFurnace.waste) - { - par1.sendProgressBarUpdate(this, 0, this.diFurnace.waste); - } - - if(this.power != this.diFurnace.power) - { - par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); - } - } - - this.water = this.diFurnace.waste; - this.power = this.diFurnace.power; - } - - @Override - public void updateProgressBar(int i, int j) { - if(i == 0) - { - diFurnace.waste = j; - } - if(i == 1) - { - diFurnace.power = j; - } - } -} +package com.hbm.gui.container; + +import com.hbm.tileentity.TileEntityFusionMultiblock; +import com.hbm.tileentity.TileEntityWatzCore; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.inventory.ICrafting; +import net.minecraft.inventory.Slot; +import net.minecraft.item.ItemStack; + +public class ContainerWatzCore extends Container { + + private TileEntityWatzCore diFurnace; + + private int water; + private int power; + private int trit; + + public ContainerWatzCore(InventoryPlayer invPlayer, TileEntityWatzCore tedf) { + + diFurnace = tedf; + + this.addSlotToContainer(new Slot(tedf, 0, 8, 18)); + this.addSlotToContainer(new Slot(tedf, 1, 26, 18)); + this.addSlotToContainer(new Slot(tedf, 2, 44, 18)); + this.addSlotToContainer(new Slot(tedf, 3, 62, 18)); + this.addSlotToContainer(new Slot(tedf, 4, 80, 18)); + this.addSlotToContainer(new Slot(tedf, 5, 98, 18)); + this.addSlotToContainer(new Slot(tedf, 6, 8, 36)); + this.addSlotToContainer(new Slot(tedf, 7, 26, 36)); + this.addSlotToContainer(new Slot(tedf, 8, 44, 36)); + this.addSlotToContainer(new Slot(tedf, 9, 62, 36)); + this.addSlotToContainer(new Slot(tedf, 10, 80, 36)); + this.addSlotToContainer(new Slot(tedf, 11, 98, 36)); + this.addSlotToContainer(new Slot(tedf, 12, 8, 54)); + this.addSlotToContainer(new Slot(tedf, 13, 26, 54)); + this.addSlotToContainer(new Slot(tedf, 14, 44, 54)); + this.addSlotToContainer(new Slot(tedf, 15, 62, 54)); + this.addSlotToContainer(new Slot(tedf, 16, 80, 54)); + this.addSlotToContainer(new Slot(tedf, 17, 98, 54)); + this.addSlotToContainer(new Slot(tedf, 18, 8, 72)); + this.addSlotToContainer(new Slot(tedf, 19, 26, 72)); + this.addSlotToContainer(new Slot(tedf, 20, 44, 72)); + this.addSlotToContainer(new Slot(tedf, 21, 62, 72)); + this.addSlotToContainer(new Slot(tedf, 22, 80, 72)); + this.addSlotToContainer(new Slot(tedf, 23, 98, 72)); + this.addSlotToContainer(new Slot(tedf, 24, 8, 90)); + this.addSlotToContainer(new Slot(tedf, 25, 26, 90)); + this.addSlotToContainer(new Slot(tedf, 26, 44, 90)); + this.addSlotToContainer(new Slot(tedf, 27, 62, 90)); + this.addSlotToContainer(new Slot(tedf, 28, 80, 90)); + this.addSlotToContainer(new Slot(tedf, 29, 98, 90)); + this.addSlotToContainer(new Slot(tedf, 30, 8, 108)); + this.addSlotToContainer(new Slot(tedf, 31, 26, 108)); + this.addSlotToContainer(new Slot(tedf, 32, 44, 108)); + this.addSlotToContainer(new Slot(tedf, 33, 62, 108)); + this.addSlotToContainer(new Slot(tedf, 34, 80, 108)); + this.addSlotToContainer(new Slot(tedf, 35, 98, 108)); + this.addSlotToContainer(new Slot(tedf, 36, 134, 108)); + this.addSlotToContainer(new Slot(tedf, 37, 152, 108)); + this.addSlotToContainer(new Slot(tedf, 38, 116, 63)); + + for(int i = 0; i < 3; i++) + { + for(int j = 0; j < 9; j++) + { + this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18 + 56)); + } + } + + for(int i = 0; i < 9; i++) + { + this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142 + 56)); + } + } + + @Override + public void addCraftingToCrafters(ICrafting crafting) { + super.addCraftingToCrafters(crafting); + crafting.sendProgressBarUpdate(this, 0, this.diFurnace.waste); + crafting.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + + @Override + public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2) + { + ItemStack var3 = null; + Slot var4 = (Slot) this.inventorySlots.get(par2); + + if (var4 != null && var4.getHasStack()) + { + ItemStack var5 = var4.getStack(); + var3 = var5.copy(); + + if (par2 <= 38) { + if (!this.mergeItemStack(var5, 39, this.inventorySlots.size(), true)) + { + return null; + } + } else { + return null; + } + + if (var5.stackSize == 0) + { + var4.putStack((ItemStack) null); + } + else + { + var4.onSlotChanged(); + } + } + + return var3; + } + + @Override + public boolean canInteractWith(EntityPlayer player) { + return diFurnace.isUseableByPlayer(player); + } + + @Override + public void detectAndSendChanges() { + super.detectAndSendChanges(); + + for(int i = 0; i < this.crafters.size(); i++) + { + ICrafting par1 = (ICrafting)this.crafters.get(i); + + if(this.water != this.diFurnace.waste) + { + par1.sendProgressBarUpdate(this, 0, this.diFurnace.waste); + } + + if(this.power != this.diFurnace.power) + { + par1.sendProgressBarUpdate(this, 1, this.diFurnace.power); + } + } + + this.water = this.diFurnace.waste; + this.power = this.diFurnace.power; + } + + @Override + public void updateProgressBar(int i, int j) { + if(i == 0) + { + diFurnace.waste = j; + } + if(i == 1) + { + diFurnace.power = j; + } + } +} diff --git a/com/hbm/gui/gui/GUIBombMulti.java b/com/hbm/gui/gui/GUIBombMulti.java index f58f2b727..99f48b37a 100644 --- a/com/hbm/gui/gui/GUIBombMulti.java +++ b/com/hbm/gui/gui/GUIBombMulti.java @@ -1,64 +1,64 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerBombMulti; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityBombMulti; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIBombMulti extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/bombGeneric.png"); - private TileEntityBombMulti testNuke; - - public GUIBombMulti(InventoryPlayer invPlayer, TileEntityBombMulti tedf) { - super(new ContainerBombMulti(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(testNuke.return2type() == testNuke.return5type()) - switch(testNuke.return2type()) - { - case 1: - drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 0 * 18, 18, 18); break; - case 2: - drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 1 * 18, 18, 18); break; - case 3: - drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 2 * 18, 18, 18); break; - case 4: - drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 3 * 18, 18, 18); break; - case 5: - drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 4 * 18, 18, 18); break; - case 6: - drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 5 * 18, 18, 18); break; - } - - if(testNuke.return2type() != testNuke.return5type()) - { - drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 7 * 18, 18, 18); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerBombMulti; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityBombMulti; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIBombMulti extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/bombGeneric.png"); + private TileEntityBombMulti testNuke; + + public GUIBombMulti(InventoryPlayer invPlayer, TileEntityBombMulti tedf) { + super(new ContainerBombMulti(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(testNuke.return2type() == testNuke.return5type()) + switch(testNuke.return2type()) + { + case 1: + drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 0 * 18, 18, 18); break; + case 2: + drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 1 * 18, 18, 18); break; + case 3: + drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 2 * 18, 18, 18); break; + case 4: + drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 3 * 18, 18, 18); break; + case 5: + drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 4 * 18, 18, 18); break; + case 6: + drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 5 * 18, 18, 18); break; + } + + if(testNuke.return2type() != testNuke.return5type()) + { + drawTexturedModalRect(guiLeft + 124, guiTop + 34, 176, 7 * 18, 18, 18); + } + } +} diff --git a/com/hbm/gui/gui/GUIConverterHeRf.java b/com/hbm/gui/gui/GUIConverterHeRf.java index b63cc0d1c..0a25a42fa 100644 --- a/com/hbm/gui/gui/GUIConverterHeRf.java +++ b/com/hbm/gui/gui/GUIConverterHeRf.java @@ -1,48 +1,48 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerConverterHeRf; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityConverterHeRf; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIConverterHeRf extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_he_rf_converter.png"); - private TileEntityConverterHeRf diFurnace; - - public GUIConverterHeRf(InventoryPlayer invPlayer, TileEntityConverterHeRf tedf) { - super(new ContainerConverterHeRf(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 86; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 28, guiTop + 69 - i, 176, 52 - i, 12, i); - } - - if(diFurnace.storage.getEnergyStored() > 0) { - int i = diFurnace.getFluxScaled(52); - drawTexturedModalRect(guiLeft + 136, guiTop + 69 - i, 188, 52 - i, 12, i); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerConverterHeRf; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityConverterHeRf; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIConverterHeRf extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_he_rf_converter.png"); + private TileEntityConverterHeRf diFurnace; + + public GUIConverterHeRf(InventoryPlayer invPlayer, TileEntityConverterHeRf tedf) { + super(new ContainerConverterHeRf(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 86; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 28, guiTop + 69 - i, 176, 52 - i, 12, i); + } + + if(diFurnace.storage.getEnergyStored() > 0) { + int i = diFurnace.getFluxScaled(52); + drawTexturedModalRect(guiLeft + 136, guiTop + 69 - i, 188, 52 - i, 12, i); + } + } +} diff --git a/com/hbm/gui/gui/GUIConverterRfHe.java b/com/hbm/gui/gui/GUIConverterRfHe.java index b95ee279e..1d35dc709 100644 --- a/com/hbm/gui/gui/GUIConverterRfHe.java +++ b/com/hbm/gui/gui/GUIConverterRfHe.java @@ -1,48 +1,48 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerConverterRfHe; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityConverterRfHe; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIConverterRfHe extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_rf_he_converter.png"); - private TileEntityConverterRfHe diFurnace; - - public GUIConverterRfHe(InventoryPlayer invPlayer, TileEntityConverterRfHe tedf) { - super(new ContainerConverterRfHe(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 86; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 136, guiTop + 69 - i, 188, 52 - i, 12, i); - } - - if(diFurnace.storage.getEnergyStored() > 0) { - int i = diFurnace.getFluxScaled(52); - drawTexturedModalRect(guiLeft + 28, guiTop + 69 - i, 176, 52 - i, 12, i); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerConverterRfHe; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityConverterRfHe; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIConverterRfHe extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_rf_he_converter.png"); + private TileEntityConverterRfHe diFurnace; + + public GUIConverterRfHe(InventoryPlayer invPlayer, TileEntityConverterRfHe tedf) { + super(new ContainerConverterRfHe(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 86; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 136, guiTop + 69 - i, 188, 52 - i, 12, i); + } + + if(diFurnace.storage.getEnergyStored() > 0) { + int i = diFurnace.getFluxScaled(52); + drawTexturedModalRect(guiLeft + 28, guiTop + 69 - i, 176, 52 - i, 12, i); + } + } +} diff --git a/com/hbm/gui/gui/GUICoreAdvanced.java b/com/hbm/gui/gui/GUICoreAdvanced.java index 364abe2eb..4d21a1b39 100644 --- a/com/hbm/gui/gui/GUICoreAdvanced.java +++ b/com/hbm/gui/gui/GUICoreAdvanced.java @@ -1,53 +1,53 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerCoreAdvanced; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityCoreAdvanced; -import com.hbm.tileentity.TileEntityCoreTitanium; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUICoreAdvanced extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/factory_advanced.png"); - private TileEntityCoreAdvanced diFurnace; - - public GUICoreAdvanced(InventoryPlayer invPlayer, TileEntityCoreAdvanced tedf) { - super(new ContainerCoreAdvanced(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 62, guiTop + 72, 0, 240, i, 16); - } - - if(diFurnace.progress > 0) { - int j = diFurnace.getProgressScaled(90); - drawTexturedModalRect(guiLeft + 43, guiTop + 53, 0, 222, j, 18); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerCoreAdvanced; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityCoreAdvanced; +import com.hbm.tileentity.TileEntityCoreTitanium; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUICoreAdvanced extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/factory_advanced.png"); + private TileEntityCoreAdvanced diFurnace; + + public GUICoreAdvanced(InventoryPlayer invPlayer, TileEntityCoreAdvanced tedf) { + super(new ContainerCoreAdvanced(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 62, guiTop + 72, 0, 240, i, 16); + } + + if(diFurnace.progress > 0) { + int j = diFurnace.getProgressScaled(90); + drawTexturedModalRect(guiLeft + 43, guiTop + 53, 0, 222, j, 18); + } + } +} diff --git a/com/hbm/gui/gui/GUICoreTitanium.java b/com/hbm/gui/gui/GUICoreTitanium.java index 363f9311e..719ffb312 100644 --- a/com/hbm/gui/gui/GUICoreTitanium.java +++ b/com/hbm/gui/gui/GUICoreTitanium.java @@ -1,54 +1,54 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerCoreTitanium; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityCoreTitanium; -import com.hbm.tileentity.TileEntityMachineGenerator; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.util.ResourceLocation; - -public class GUICoreTitanium extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/factory_titanium.png"); - private TileEntityCoreTitanium diFurnace; - - public GUICoreTitanium(InventoryPlayer invPlayer, TileEntityCoreTitanium tedf) { - super(new ContainerCoreTitanium(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 62, guiTop + 72, 0, 240, i, 16); - } - - if(diFurnace.progress > 0) { - int j = diFurnace.getProgressScaled(90); - drawTexturedModalRect(guiLeft + 43, guiTop + 53, 0, 222, j, 18); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerCoreTitanium; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityCoreTitanium; +import com.hbm.tileentity.TileEntityMachineGenerator; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.util.ResourceLocation; + +public class GUICoreTitanium extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/factory_titanium.png"); + private TileEntityCoreTitanium diFurnace; + + public GUICoreTitanium(InventoryPlayer invPlayer, TileEntityCoreTitanium tedf) { + super(new ContainerCoreTitanium(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 62, guiTop + 72, 0, 240, i, 16); + } + + if(diFurnace.progress > 0) { + int j = diFurnace.getProgressScaled(90); + drawTexturedModalRect(guiLeft + 43, guiTop + 53, 0, 222, j, 18); + } + } +} diff --git a/com/hbm/gui/gui/GUIFWatzCore.java b/com/hbm/gui/gui/GUIFWatzCore.java index c3b758587..e2108f592 100644 --- a/com/hbm/gui/gui/GUIFWatzCore.java +++ b/com/hbm/gui/gui/GUIFWatzCore.java @@ -1,61 +1,61 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerFWatzCore; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityFWatzCore; -import com.hbm.tileentity.TileEntityFusionMultiblock; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIFWatzCore extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_fwatz_multiblock.png"); - private TileEntityFWatzCore diFurnace; - - public GUIFWatzCore(InventoryPlayer invPlayer, TileEntityFWatzCore tedf) { - super(new ContainerFWatzCore(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - int i = diFurnace.getWaterScaled(88); - drawTexturedModalRect(guiLeft + 134, guiTop + 106 - i, 208, 88 - i, 16, i); - - int j = diFurnace.getCoolantScaled(88); - drawTexturedModalRect(guiLeft + 8, guiTop + 106 - j, 176, 88 - j, 16, j); - - int k = diFurnace.getPowerScaled(88); - drawTexturedModalRect(guiLeft + 26, guiTop + 106 - k, 192, 88 - k, 16, k); - - int l = diFurnace.getHeatScaled(88); - drawTexturedModalRect(guiLeft + 152, guiTop + 106 - l, 224, 88 - l, 16, l); - - if(diFurnace.isRunning()) - drawTexturedModalRect(guiLeft + 64, guiTop + 29, 176, 88, 48, 48); - - int m = diFurnace.getSingularityType(); - drawTexturedModalRect(guiLeft + 98, guiTop + 109, 240, 4 * m, 16, 4); - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerFWatzCore; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityFWatzCore; +import com.hbm.tileentity.TileEntityFusionMultiblock; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIFWatzCore extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_fwatz_multiblock.png"); + private TileEntityFWatzCore diFurnace; + + public GUIFWatzCore(InventoryPlayer invPlayer, TileEntityFWatzCore tedf) { + super(new ContainerFWatzCore(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + int i = diFurnace.getWaterScaled(88); + drawTexturedModalRect(guiLeft + 134, guiTop + 106 - i, 208, 88 - i, 16, i); + + int j = diFurnace.getCoolantScaled(88); + drawTexturedModalRect(guiLeft + 8, guiTop + 106 - j, 176, 88 - j, 16, j); + + int k = diFurnace.getPowerScaled(88); + drawTexturedModalRect(guiLeft + 26, guiTop + 106 - k, 192, 88 - k, 16, k); + + int l = diFurnace.getHeatScaled(88); + drawTexturedModalRect(guiLeft + 152, guiTop + 106 - l, 224, 88 - l, 16, l); + + if(diFurnace.isRunning()) + drawTexturedModalRect(guiLeft + 64, guiTop + 29, 176, 88, 48, 48); + + int m = diFurnace.getSingularityType(); + drawTexturedModalRect(guiLeft + 98, guiTop + 109, 240, 4 * m, 16, 4); + } +} diff --git a/com/hbm/gui/gui/GUIFusionMultiblock.java b/com/hbm/gui/gui/GUIFusionMultiblock.java index de46fc640..cba5baf86 100644 --- a/com/hbm/gui/gui/GUIFusionMultiblock.java +++ b/com/hbm/gui/gui/GUIFusionMultiblock.java @@ -1,58 +1,58 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerFusionMultiblock; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityFusionMultiblock; -import com.hbm.tileentity.TileEntityReactorMultiblock; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIFusionMultiblock extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_fusion_multiblock.png"); - private TileEntityFusionMultiblock diFurnace; - - public GUIFusionMultiblock(InventoryPlayer invPlayer, TileEntityFusionMultiblock tedf) { - super(new ContainerFusionMultiblock(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - int i = diFurnace.getWaterScaled(88); - drawTexturedModalRect(guiLeft + 8, guiTop + 106 - i, 176, 88 - i, 16, i); - - int j = diFurnace.getCoolantScaled(88); - drawTexturedModalRect(guiLeft + 134, guiTop + 106 - j, 208, 88 - j, 16, j); - - int k = diFurnace.getPowerScaled(88); - drawTexturedModalRect(guiLeft + 26, guiTop + 106 - k, 192, 88 - k, 16, k); - - int l = diFurnace.getHeatScaled(88); - drawTexturedModalRect(guiLeft + 152, guiTop + 106 - l, 224, 88 - l, 16, l); - - if(diFurnace.isRunning()) - drawTexturedModalRect(guiLeft + 80, guiTop + 18, 240, 0, 16, 16); - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerFusionMultiblock; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityFusionMultiblock; +import com.hbm.tileentity.TileEntityReactorMultiblock; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIFusionMultiblock extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_fusion_multiblock.png"); + private TileEntityFusionMultiblock diFurnace; + + public GUIFusionMultiblock(InventoryPlayer invPlayer, TileEntityFusionMultiblock tedf) { + super(new ContainerFusionMultiblock(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + int i = diFurnace.getWaterScaled(88); + drawTexturedModalRect(guiLeft + 8, guiTop + 106 - i, 176, 88 - i, 16, i); + + int j = diFurnace.getCoolantScaled(88); + drawTexturedModalRect(guiLeft + 134, guiTop + 106 - j, 208, 88 - j, 16, j); + + int k = diFurnace.getPowerScaled(88); + drawTexturedModalRect(guiLeft + 26, guiTop + 106 - k, 192, 88 - k, 16, k); + + int l = diFurnace.getHeatScaled(88); + drawTexturedModalRect(guiLeft + 152, guiTop + 106 - l, 224, 88 - l, 16, l); + + if(diFurnace.isRunning()) + drawTexturedModalRect(guiLeft + 80, guiTop + 18, 240, 0, 16, 16); + } +} diff --git a/com/hbm/gui/gui/GUIIGenerator.java b/com/hbm/gui/gui/GUIIGenerator.java new file mode 100644 index 000000000..f3d189bbd --- /dev/null +++ b/com/hbm/gui/gui/GUIIGenerator.java @@ -0,0 +1,96 @@ +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerIGenerator; +import com.hbm.gui.container.ContainerReiXMainframe; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityIGenerator; +import com.hbm.tileentity.TileEntityReiXMainframe; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIIGenerator extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_igenerator.png"); + private TileEntityIGenerator diFurnace; + + public GUIIGenerator(InventoryPlayer invPlayer, TileEntityIGenerator tedf) { + super(new ContainerIGenerator(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.fuel > 0) + { + int j = diFurnace.getFuelScaled(88); + drawTexturedModalRect(guiLeft + 122, guiTop + 106 - j, 176, 88 - j, 4, j); + } + if(diFurnace.lubricant > 0) + { + int j = diFurnace.getLubeScaled(88); + drawTexturedModalRect(guiLeft + 128, guiTop + 106 - j, 180, 88 - j, 4, j); + } + if(diFurnace.water > 0) + { + int j = diFurnace.getWaterScaled(88); + drawTexturedModalRect(guiLeft + 134, guiTop + 106 - j, 184, 88 - j, 4, j); + } + if(diFurnace.heat > 0) + { + int j = diFurnace.getHeatScaled(88); + drawTexturedModalRect(guiLeft + 140, guiTop + 106 - j, 188, 88 - j, 4, j); + } + if(diFurnace.torque > 0) + { + int j = diFurnace.getTorqueScaled(88); + drawTexturedModalRect(guiLeft + 146, guiTop + 106 - j, 192, 88 - j, 4, j); + } + if(diFurnace.power > 0) + { + int j = diFurnace.getPowerScaled(88); + drawTexturedModalRect(guiLeft + 152, guiTop + 106 - j, 196, 88 - j, 16, j); + } + if(diFurnace.burn > 0) + { + drawTexturedModalRect(guiLeft + 62, guiTop + 90, 212, 0, 18, 18); + } + if(diFurnace.getHeatScaled(100) < 90 && diFurnace.fuel > 0) { + drawTexturedModalRect(guiLeft + 62 + 18 + 18, guiTop + 90 - 18 - 18, 212, 0, 18, 18); + } + if(diFurnace.water <= 0) { + drawTexturedModalRect(guiLeft + 12, guiTop + 59, 230, 0, 6, 6); + } else { + drawTexturedModalRect(guiLeft + 12, guiTop + 59 + 24, 230, 0, 6, 6); + } + if(diFurnace.canLocateThermalElement() > 0) { + drawTexturedModalRect(guiLeft + 12, guiTop + 59 + 12, 230, 0, 6, 6); + } + if(diFurnace.lubricant > 0) { + drawTexturedModalRect(guiLeft + 12, guiTop + 59 + 36, 230, 0, 6, 6); + } + if(diFurnace.hasLimiter()) { + drawTexturedModalRect(guiLeft + 12, guiTop + 59 + 48, 230, 0, 6, 6); + } + } +} diff --git a/com/hbm/gui/gui/GUILaunchPadTier1.java b/com/hbm/gui/gui/GUILaunchPadTier1.java index 91dc91151..f350747e2 100644 --- a/com/hbm/gui/gui/GUILaunchPadTier1.java +++ b/com/hbm/gui/gui/GUILaunchPadTier1.java @@ -1,45 +1,45 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerLaunchPadTier1; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityLaunchPad; - -public class GUILaunchPadTier1 extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_launch_pad.png"); - private TileEntityLaunchPad diFurnace; - - public GUILaunchPadTier1(InventoryPlayer invPlayer, TileEntityLaunchPad tedf) { - super(new ContainerLaunchPadTier1(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - int j1 = diFurnace.getPowerScaled(160); - drawTexturedModalRect(guiLeft + 8, guiTop + 53, 8, 166, j1, 16); - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerLaunchPadTier1; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityLaunchPad; + +public class GUILaunchPadTier1 extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_launch_pad.png"); + private TileEntityLaunchPad diFurnace; + + public GUILaunchPadTier1(InventoryPlayer invPlayer, TileEntityLaunchPad tedf) { + super(new ContainerLaunchPadTier1(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + int j1 = diFurnace.getPowerScaled(160); + drawTexturedModalRect(guiLeft + 8, guiTop + 53, 8, 166, j1, 16); + } +} diff --git a/com/hbm/gui/gui/GUIMachineBattery.java b/com/hbm/gui/gui/GUIMachineBattery.java index 6e04a4e6d..21d8abbf9 100644 --- a/com/hbm/gui/gui/GUIMachineBattery.java +++ b/com/hbm/gui/gui/GUIMachineBattery.java @@ -1,48 +1,48 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerMachineBattery; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineBattery; - -public class GUIMachineBattery extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_battery.png"); - private TileEntityMachineBattery diFurnace; - - public GUIMachineBattery(InventoryPlayer invPlayer, TileEntityMachineBattery tedf) { - super(new ContainerMachineBattery(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - name += (" (" + this.diFurnace.power + " HE)"); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerRemainingScaled(52); - drawTexturedModalRect(guiLeft + 62, guiTop + 69 - i, 176, 52 - i, 52, i); - } - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerMachineBattery; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineBattery; + +public class GUIMachineBattery extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_battery.png"); + private TileEntityMachineBattery diFurnace; + + public GUIMachineBattery(InventoryPlayer invPlayer, TileEntityMachineBattery tedf) { + super(new ContainerMachineBattery(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + name += (" (" + this.diFurnace.power + " HE)"); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerRemainingScaled(52); + drawTexturedModalRect(guiLeft + 62, guiTop + 69 - i, 176, 52 - i, 52, i); + } + } +} diff --git a/com/hbm/gui/gui/GUIMachineCMBFactory.java b/com/hbm/gui/gui/GUIMachineCMBFactory.java index ca502d3e3..4b5b06c16 100644 --- a/com/hbm/gui/gui/GUIMachineCMBFactory.java +++ b/com/hbm/gui/gui/GUIMachineCMBFactory.java @@ -1,55 +1,55 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerMachineCMBFactory; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineCMBFactory; -import com.hbm.tileentity.TileEntityMachineShredder; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIMachineCMBFactory extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_cmb_manufactory.png"); - private TileEntityMachineCMBFactory diFurnace; - - public GUIMachineCMBFactory(InventoryPlayer invPlayer, TileEntityMachineCMBFactory tedf) { - super(new ContainerMachineCMBFactory(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 8, guiTop + 69 - i, 176, 52 - i, 16, i); - } - if(diFurnace.waste > 0) { - int i = diFurnace.getWasteScaled(52); - drawTexturedModalRect(guiLeft + 26, guiTop + 69 - i, 192, 52 - i, 16, i); - } - - int j1 = diFurnace.getProgressScaled(24); - drawTexturedModalRect(guiLeft + 101, guiTop + 34, 208, 0, j1 + 1, 16); - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerMachineCMBFactory; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineCMBFactory; +import com.hbm.tileentity.TileEntityMachineShredder; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIMachineCMBFactory extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_cmb_manufactory.png"); + private TileEntityMachineCMBFactory diFurnace; + + public GUIMachineCMBFactory(InventoryPlayer invPlayer, TileEntityMachineCMBFactory tedf) { + super(new ContainerMachineCMBFactory(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 8, guiTop + 69 - i, 176, 52 - i, 16, i); + } + if(diFurnace.waste > 0) { + int i = diFurnace.getWasteScaled(52); + drawTexturedModalRect(guiLeft + 26, guiTop + 69 - i, 192, 52 - i, 16, i); + } + + int j1 = diFurnace.getProgressScaled(24); + drawTexturedModalRect(guiLeft + 101, guiTop + 34, 208, 0, j1 + 1, 16); + } +} diff --git a/com/hbm/gui/gui/GUIMachineCentrifuge.java b/com/hbm/gui/gui/GUIMachineCentrifuge.java index c276771dc..12ec61785 100644 --- a/com/hbm/gui/gui/GUIMachineCentrifuge.java +++ b/com/hbm/gui/gui/GUIMachineCentrifuge.java @@ -1,58 +1,58 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerCentrifuge; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineCentrifuge; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIMachineCentrifuge extends GuiContainer { - - public static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/centrifuge.png"); - private TileEntityMachineCentrifuge centrifuge; - - public GUIMachineCentrifuge(InventoryPlayer invPlayer, TileEntityMachineCentrifuge tedf) { - super(new ContainerCentrifuge(invPlayer, tedf)); - centrifuge = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.centrifuge.hasCustomInventoryName() ? this.centrifuge.getInventoryName() : I18n.format(this.centrifuge.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(centrifuge.hasPower()) - { - int i1 = centrifuge.getPowerRemainingScaled(54); - drawTexturedModalRect(guiLeft + 8, guiTop + 69 - i1, 177, 107 - i1, 16, i1); - } - - if(centrifuge.isProcessing()) - { - int j1 = centrifuge.getCentrifugeProgressScaled(55); - drawTexturedModalRect(guiLeft + 61, guiTop + 16, 176, 0, j1, 54); - } - - if(centrifuge.hasPower() && centrifuge.canProcess()) { - drawTexturedModalRect(guiLeft + 25, guiTop + 34, 194, 54, 18, 18); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerCentrifuge; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineCentrifuge; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIMachineCentrifuge extends GuiContainer { + + public static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/centrifuge.png"); + private TileEntityMachineCentrifuge centrifuge; + + public GUIMachineCentrifuge(InventoryPlayer invPlayer, TileEntityMachineCentrifuge tedf) { + super(new ContainerCentrifuge(invPlayer, tedf)); + centrifuge = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.centrifuge.hasCustomInventoryName() ? this.centrifuge.getInventoryName() : I18n.format(this.centrifuge.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(centrifuge.hasPower()) + { + int i1 = centrifuge.getPowerRemainingScaled(54); + drawTexturedModalRect(guiLeft + 8, guiTop + 69 - i1, 177, 107 - i1, 16, i1); + } + + if(centrifuge.isProcessing()) + { + int j1 = centrifuge.getCentrifugeProgressScaled(55); + drawTexturedModalRect(guiLeft + 61, guiTop + 16, 176, 0, j1, 54); + } + + if(centrifuge.hasPower() && centrifuge.canProcess()) { + drawTexturedModalRect(guiLeft + 25, guiTop + 34, 194, 54, 18, 18); + } + } +} diff --git a/com/hbm/gui/gui/GUIMachineCoal.java b/com/hbm/gui/gui/GUIMachineCoal.java index 8b9f4d7a6..f62673a59 100644 --- a/com/hbm/gui/gui/GUIMachineCoal.java +++ b/com/hbm/gui/gui/GUIMachineCoal.java @@ -1,58 +1,58 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerMachineCoal; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineCoal; - -public class GUIMachineCoal extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUICoal.png"); - private TileEntityMachineCoal diFurnace; - - public GUIMachineCoal(InventoryPlayer invPlayer, TileEntityMachineCoal tedf) { - super(new ContainerMachineCoal(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 152, guiTop + 69 - i, 176, 52 - i, 16, i); - } - - if(diFurnace.burnTime > 0) - { - drawTexturedModalRect(guiLeft + 79, guiTop + 34, 208, 0, 18, 18); - } - - if(diFurnace.water > 0) - { - int j = diFurnace.getWaterScaled(52); - drawTexturedModalRect(guiLeft + 8, guiTop + 69 - j, 192, 52 - j, 16, j); - } - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerMachineCoal; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineCoal; + +public class GUIMachineCoal extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUICoal.png"); + private TileEntityMachineCoal diFurnace; + + public GUIMachineCoal(InventoryPlayer invPlayer, TileEntityMachineCoal tedf) { + super(new ContainerMachineCoal(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 152, guiTop + 69 - i, 176, 52 - i, 16, i); + } + + if(diFurnace.burnTime > 0) + { + drawTexturedModalRect(guiLeft + 79, guiTop + 34, 208, 0, 18, 18); + } + + if(diFurnace.water > 0) + { + int j = diFurnace.getWaterScaled(52); + drawTexturedModalRect(guiLeft + 8, guiTop + 69 - j, 192, 52 - j, 16, j); + } + } +} diff --git a/com/hbm/gui/gui/GUIMachineDeuterium.java b/com/hbm/gui/gui/GUIMachineDeuterium.java index 6ce26e60e..77b99a8bb 100644 --- a/com/hbm/gui/gui/GUIMachineDeuterium.java +++ b/com/hbm/gui/gui/GUIMachineDeuterium.java @@ -1,65 +1,65 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerMachineDeuterium; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineDeuterium; - -public class GUIMachineDeuterium extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_deuterium.png"); - private TileEntityMachineDeuterium diFurnace; - - public GUIMachineDeuterium(InventoryPlayer invPlayer, TileEntityMachineDeuterium tedf) { - super(new ContainerMachineDeuterium(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.water > 0) { - int i = diFurnace.getWaterScaled(52); - drawTexturedModalRect(guiLeft + 26, guiTop + 88 - i, 192, 52 - i, 16, i); - } - - if(diFurnace.sulfur > 0) { - int i = diFurnace.getSulfurScaled(52); - drawTexturedModalRect(guiLeft + 44, guiTop + 88 - i, 208, 52 - i, 16, i); - } - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 8, guiTop + 88 - i, 176, 52 - i, 16, i); - } - - int j1 = diFurnace.getProgressScaled(24); - drawTexturedModalRect(guiLeft + 103, guiTop + 53, 224, 14, j1 + 1, 17); - - if(diFurnace.canProcess()) - { - drawTexturedModalRect(guiLeft + 81, guiTop + 73, 224, 0, 14, 14); - } - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerMachineDeuterium; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineDeuterium; + +public class GUIMachineDeuterium extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_deuterium.png"); + private TileEntityMachineDeuterium diFurnace; + + public GUIMachineDeuterium(InventoryPlayer invPlayer, TileEntityMachineDeuterium tedf) { + super(new ContainerMachineDeuterium(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.water > 0) { + int i = diFurnace.getWaterScaled(52); + drawTexturedModalRect(guiLeft + 26, guiTop + 88 - i, 192, 52 - i, 16, i); + } + + if(diFurnace.sulfur > 0) { + int i = diFurnace.getSulfurScaled(52); + drawTexturedModalRect(guiLeft + 44, guiTop + 88 - i, 208, 52 - i, 16, i); + } + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 8, guiTop + 88 - i, 176, 52 - i, 16, i); + } + + int j1 = diFurnace.getProgressScaled(24); + drawTexturedModalRect(guiLeft + 103, guiTop + 53, 224, 14, j1 + 1, 17); + + if(diFurnace.canProcess()) + { + drawTexturedModalRect(guiLeft + 81, guiTop + 73, 224, 0, 14, 14); + } + } +} diff --git a/com/hbm/gui/gui/GUIMachineDiesel.java b/com/hbm/gui/gui/GUIMachineDiesel.java index d611a0c69..d48664b20 100644 --- a/com/hbm/gui/gui/GUIMachineDiesel.java +++ b/com/hbm/gui/gui/GUIMachineDiesel.java @@ -1,55 +1,55 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerMachineDiesel; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineCoal; -import com.hbm.tileentity.TileEntityMachineDiesel; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIMachineDiesel extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIDiesel.png"); - private TileEntityMachineDiesel diFurnace; - - public GUIMachineDiesel(InventoryPlayer invPlayer, TileEntityMachineDiesel tedf) { - super(new ContainerMachineDiesel(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 152, guiTop + 69 - i, 176, 52 - i, 16, i); - } - - if(diFurnace.diesel > 0) - { - int j = diFurnace.getDieselScaled(52); - drawTexturedModalRect(guiLeft + 8, guiTop + 69 - j, 192, 52 - j, 16, j); - drawTexturedModalRect(guiLeft + 43, guiTop + 34, 208, 0, 18, 18); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerMachineDiesel; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineCoal; +import com.hbm.tileentity.TileEntityMachineDiesel; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIMachineDiesel extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIDiesel.png"); + private TileEntityMachineDiesel diFurnace; + + public GUIMachineDiesel(InventoryPlayer invPlayer, TileEntityMachineDiesel tedf) { + super(new ContainerMachineDiesel(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 152, guiTop + 69 - i, 176, 52 - i, 16, i); + } + + if(diFurnace.diesel > 0) + { + int j = diFurnace.getDieselScaled(52); + drawTexturedModalRect(guiLeft + 8, guiTop + 69 - j, 192, 52 - j, 16, j); + drawTexturedModalRect(guiLeft + 43, guiTop + 34, 208, 0, 18, 18); + } + } +} diff --git a/com/hbm/gui/gui/GUIMachineElectricFurnace.java b/com/hbm/gui/gui/GUIMachineElectricFurnace.java index 2abe8f705..a3ccba7be 100644 --- a/com/hbm/gui/gui/GUIMachineElectricFurnace.java +++ b/com/hbm/gui/gui/GUIMachineElectricFurnace.java @@ -1,56 +1,56 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerElectricFurnace; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineElectricFurnace; - -public class GUIMachineElectricFurnace extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIElectricFurnace.png"); - private TileEntityMachineElectricFurnace diFurnace; - - public GUIMachineElectricFurnace(InventoryPlayer invPlayer, TileEntityMachineElectricFurnace tedf) { - super(new ContainerElectricFurnace(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.hasPower()) { - int i = diFurnace.getPowerRemainingScaled(52); - drawTexturedModalRect(guiLeft + 20, guiTop + 69 - i, 200, 52 - i, 16, i); - } - - if(diFurnace.canProcess() && diFurnace.hasPower()) - { - drawTexturedModalRect(guiLeft + 56, guiTop + 36, 176, 0, 15, 16); - } - - int j1 = diFurnace.getDiFurnaceProgressScaled(24); - drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 14, j1 + 1, 17); - } - -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerElectricFurnace; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineElectricFurnace; + +public class GUIMachineElectricFurnace extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIElectricFurnace.png"); + private TileEntityMachineElectricFurnace diFurnace; + + public GUIMachineElectricFurnace(InventoryPlayer invPlayer, TileEntityMachineElectricFurnace tedf) { + super(new ContainerElectricFurnace(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.hasPower()) { + int i = diFurnace.getPowerRemainingScaled(52); + drawTexturedModalRect(guiLeft + 20, guiTop + 69 - i, 200, 52 - i, 16, i); + } + + if(diFurnace.canProcess() && diFurnace.hasPower()) + { + drawTexturedModalRect(guiLeft + 56, guiTop + 36, 176, 0, 15, 16); + } + + int j1 = diFurnace.getDiFurnaceProgressScaled(24); + drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 14, j1 + 1, 17); + } + +} diff --git a/com/hbm/gui/gui/GUIMachineGenerator.java b/com/hbm/gui/gui/GUIMachineGenerator.java index 70e27d1f1..8d611fdf4 100644 --- a/com/hbm/gui/gui/GUIMachineGenerator.java +++ b/com/hbm/gui/gui/GUIMachineGenerator.java @@ -1,62 +1,62 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerGenerator; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineGenerator; - -public class GUIMachineGenerator extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_generator.png"); - private TileEntityMachineGenerator diFurnace; - - public GUIMachineGenerator(InventoryPlayer invPlayer, TileEntityMachineGenerator tedf) { - super(new ContainerGenerator(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.hasWater()) { - int i = diFurnace.getWaterScaled(52); - drawTexturedModalRect(guiLeft + 8, guiTop + 88 - i, 176, 52 - i, 16, i); - } - - if(diFurnace.hasCoolant()) { - int i = diFurnace.getCoolantScaled(52); - drawTexturedModalRect(guiLeft + 26, guiTop + 88 - i, 192, 52 - i, 16, i); - } - - if(diFurnace.hasPower()) { - int i = diFurnace.getPowerScaled(52); - drawTexturedModalRect(guiLeft + 62, guiTop + 88 - i, 224, 52 - i, 16, i); - } - - if(diFurnace.hasHeat()) { - int i = diFurnace.getHeatScaled(52); - drawTexturedModalRect(guiLeft + 98, guiTop + 88 - i, 208, 52 - i, 16, i); - } - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerGenerator; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineGenerator; + +public class GUIMachineGenerator extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_generator.png"); + private TileEntityMachineGenerator diFurnace; + + public GUIMachineGenerator(InventoryPlayer invPlayer, TileEntityMachineGenerator tedf) { + super(new ContainerGenerator(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.hasWater()) { + int i = diFurnace.getWaterScaled(52); + drawTexturedModalRect(guiLeft + 8, guiTop + 88 - i, 176, 52 - i, 16, i); + } + + if(diFurnace.hasCoolant()) { + int i = diFurnace.getCoolantScaled(52); + drawTexturedModalRect(guiLeft + 26, guiTop + 88 - i, 192, 52 - i, 16, i); + } + + if(diFurnace.hasPower()) { + int i = diFurnace.getPowerScaled(52); + drawTexturedModalRect(guiLeft + 62, guiTop + 88 - i, 224, 52 - i, 16, i); + } + + if(diFurnace.hasHeat()) { + int i = diFurnace.getHeatScaled(52); + drawTexturedModalRect(guiLeft + 98, guiTop + 88 - i, 208, 52 - i, 16, i); + } + } +} diff --git a/com/hbm/gui/gui/GUIMachinePuF6Tank.java b/com/hbm/gui/gui/GUIMachinePuF6Tank.java index 0c066be5c..74034a6e2 100644 --- a/com/hbm/gui/gui/GUIMachinePuF6Tank.java +++ b/com/hbm/gui/gui/GUIMachinePuF6Tank.java @@ -1,48 +1,48 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerPuF6Tank; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachinePuF6Tank; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIMachinePuF6Tank extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/puf6Tank.png"); - private TileEntityMachinePuF6Tank tank; - - public GUIMachinePuF6Tank(InventoryPlayer invPlayer, TileEntityMachinePuF6Tank tedf) { - super(new ContainerPuF6Tank(invPlayer, tedf)); - tank = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.tank.hasCustomInventoryName() ? this.tank.getInventoryName() : I18n.format(this.tank.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(tank.fillState > 0) - { - int i1 = tank.getFillStateScaled(52); - drawTexturedModalRect(guiLeft + 80, guiTop + 69 - i1, 177, 52 - i1, 16, i1); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerPuF6Tank; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachinePuF6Tank; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIMachinePuF6Tank extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/puf6Tank.png"); + private TileEntityMachinePuF6Tank tank; + + public GUIMachinePuF6Tank(InventoryPlayer invPlayer, TileEntityMachinePuF6Tank tedf) { + super(new ContainerPuF6Tank(invPlayer, tedf)); + tank = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.tank.hasCustomInventoryName() ? this.tank.getInventoryName() : I18n.format(this.tank.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(tank.fillState > 0) + { + int i1 = tank.getFillStateScaled(52); + drawTexturedModalRect(guiLeft + 80, guiTop + 69 - i1, 177, 52 - i1, 16, i1); + } + } +} diff --git a/com/hbm/gui/gui/GUIMachineReactor.java b/com/hbm/gui/gui/GUIMachineReactor.java index ad52158c7..793da2ed6 100644 --- a/com/hbm/gui/gui/GUIMachineReactor.java +++ b/com/hbm/gui/gui/GUIMachineReactor.java @@ -1,51 +1,51 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerReactor; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineReactor; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIMachineReactor extends GuiContainer { - - public static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIReactor.png"); - private TileEntityMachineReactor diFurnace; - - public GUIMachineReactor(InventoryPlayer invPlayer, TileEntityMachineReactor tedf) { - super(new ContainerReactor(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.hasPower()) - { - drawTexturedModalRect(guiLeft + 55, guiTop + 35, 176, 0, 18, 16); - } - - int j1 = diFurnace.getDiFurnaceProgressScaled(24); - drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 16, j1 + 1, 17); - } - +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerReactor; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineReactor; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIMachineReactor extends GuiContainer { + + public static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIReactor.png"); + private TileEntityMachineReactor diFurnace; + + public GUIMachineReactor(InventoryPlayer invPlayer, TileEntityMachineReactor tedf) { + super(new ContainerReactor(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.hasPower()) + { + drawTexturedModalRect(guiLeft + 55, guiTop + 35, 176, 0, 18, 16); + } + + int j1 = diFurnace.getDiFurnaceProgressScaled(24); + drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 16, j1 + 1, 17); + } + } \ No newline at end of file diff --git a/com/hbm/gui/gui/GUIMachineSchrabidiumTransmutator.java b/com/hbm/gui/gui/GUIMachineSchrabidiumTransmutator.java index 4cf72ee6c..14f62bae9 100644 --- a/com/hbm/gui/gui/GUIMachineSchrabidiumTransmutator.java +++ b/com/hbm/gui/gui/GUIMachineSchrabidiumTransmutator.java @@ -1,55 +1,55 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerMachineSchrabidiumTransmutator; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineGenerator; -import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIMachineSchrabidiumTransmutator extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_transmutator.png"); - private TileEntityMachineSchrabidiumTransmutator diFurnace; - - public GUIMachineSchrabidiumTransmutator(InventoryPlayer invPlayer, TileEntityMachineSchrabidiumTransmutator tedf) { - super(new ContainerMachineSchrabidiumTransmutator(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format(String.valueOf(diFurnace.getPower()) + " HE"), this.xSize / 2 - this.fontRendererObj.getStringWidth(String.valueOf(diFurnace.getPower()) + " HE") / 2, 16, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.getPower() > 0) { - int i = diFurnace.getPowerScaled(88); - drawTexturedModalRect(guiLeft + 8, guiTop + 106 - i, 176, 88 - i, 16, i); - } - - if(diFurnace.isProcessing()) - { - int j1 = diFurnace.getProgressScaled(66); - drawTexturedModalRect(guiLeft + 64, guiTop + 55, 176, 88, j1, 66); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerMachineSchrabidiumTransmutator; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineGenerator; +import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIMachineSchrabidiumTransmutator extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_transmutator.png"); + private TileEntityMachineSchrabidiumTransmutator diFurnace; + + public GUIMachineSchrabidiumTransmutator(InventoryPlayer invPlayer, TileEntityMachineSchrabidiumTransmutator tedf) { + super(new ContainerMachineSchrabidiumTransmutator(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format(String.valueOf(diFurnace.getPower()) + " HE"), this.xSize / 2 - this.fontRendererObj.getStringWidth(String.valueOf(diFurnace.getPower()) + " HE") / 2, 16, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.getPower() > 0) { + int i = diFurnace.getPowerScaled(88); + drawTexturedModalRect(guiLeft + 8, guiTop + 106 - i, 176, 88 - i, 16, i); + } + + if(diFurnace.isProcessing()) + { + int j1 = diFurnace.getProgressScaled(66); + drawTexturedModalRect(guiLeft + 64, guiTop + 55, 176, 88, j1, 66); + } + } +} diff --git a/com/hbm/gui/gui/GUIMachineShredder.java b/com/hbm/gui/gui/GUIMachineShredder.java index 207a2e4eb..7d068e466 100644 --- a/com/hbm/gui/gui/GUIMachineShredder.java +++ b/com/hbm/gui/gui/GUIMachineShredder.java @@ -1,85 +1,85 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerMachineShredder; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineDiesel; -import com.hbm.tileentity.TileEntityMachineShredder; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIMachineShredder extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_shredder.png"); - private TileEntityMachineShredder diFurnace; - - public GUIMachineShredder(InventoryPlayer invPlayer, TileEntityMachineShredder tedf) { - super(new ContainerMachineShredder(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.power > 0) { - int i = diFurnace.getPowerScaled(88); - drawTexturedModalRect(guiLeft + 8, guiTop + 106 - i, 176, 160 - i, 16, i); - } - - if(diFurnace.getGearLeft() != 0) - { - int i = diFurnace.getGearLeft(); - if(i == 1) - { - drawTexturedModalRect(guiLeft + 43, guiTop + 71, 176, 0, 18, 18); - } - if(i == 2) - { - drawTexturedModalRect(guiLeft + 43, guiTop + 71, 176, 18, 18, 18); - } - if(i == 3) - { - drawTexturedModalRect(guiLeft + 43, guiTop + 71, 176, 36, 18, 18); - } - } - - if(diFurnace.getGearRight() != 0) - { - int i = diFurnace.getGearRight(); - if(i == 1) - { - drawTexturedModalRect(guiLeft + 79, guiTop + 71, 194, 0, 18, 18); - } - if(i == 2) - { - drawTexturedModalRect(guiLeft + 79, guiTop + 71, 194, 18, 18, 18); - } - if(i == 3) - { - drawTexturedModalRect(guiLeft + 79, guiTop + 71, 194, 36, 18, 18); - } - } - - int j1 = diFurnace.getDiFurnaceProgressScaled(34); - drawTexturedModalRect(guiLeft + 63, guiTop + 89, 176, 54, j1 + 1, 18); - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerMachineShredder; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineDiesel; +import com.hbm.tileentity.TileEntityMachineShredder; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIMachineShredder extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_shredder.png"); + private TileEntityMachineShredder diFurnace; + + public GUIMachineShredder(InventoryPlayer invPlayer, TileEntityMachineShredder tedf) { + super(new ContainerMachineShredder(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.power > 0) { + int i = diFurnace.getPowerScaled(88); + drawTexturedModalRect(guiLeft + 8, guiTop + 106 - i, 176, 160 - i, 16, i); + } + + if(diFurnace.getGearLeft() != 0) + { + int i = diFurnace.getGearLeft(); + if(i == 1) + { + drawTexturedModalRect(guiLeft + 43, guiTop + 71, 176, 0, 18, 18); + } + if(i == 2) + { + drawTexturedModalRect(guiLeft + 43, guiTop + 71, 176, 18, 18, 18); + } + if(i == 3) + { + drawTexturedModalRect(guiLeft + 43, guiTop + 71, 176, 36, 18, 18); + } + } + + if(diFurnace.getGearRight() != 0) + { + int i = diFurnace.getGearRight(); + if(i == 1) + { + drawTexturedModalRect(guiLeft + 79, guiTop + 71, 194, 0, 18, 18); + } + if(i == 2) + { + drawTexturedModalRect(guiLeft + 79, guiTop + 71, 194, 18, 18, 18); + } + if(i == 3) + { + drawTexturedModalRect(guiLeft + 79, guiTop + 71, 194, 36, 18, 18); + } + } + + int j1 = diFurnace.getDiFurnaceProgressScaled(34); + drawTexturedModalRect(guiLeft + 63, guiTop + 89, 176, 54, j1 + 1, 18); + } +} diff --git a/com/hbm/gui/gui/GUIMachineUF6Tank.java b/com/hbm/gui/gui/GUIMachineUF6Tank.java index 5b5573ee9..37470fb64 100644 --- a/com/hbm/gui/gui/GUIMachineUF6Tank.java +++ b/com/hbm/gui/gui/GUIMachineUF6Tank.java @@ -1,48 +1,48 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerUF6Tank; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineUF6Tank; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIMachineUF6Tank extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/uf6Tank.png"); - private TileEntityMachineUF6Tank tank; - - public GUIMachineUF6Tank(InventoryPlayer invPlayer, TileEntityMachineUF6Tank tedf) { - super(new ContainerUF6Tank(invPlayer, tedf)); - tank = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.tank.hasCustomInventoryName() ? this.tank.getInventoryName() : I18n.format(this.tank.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(tank.fillState > 0) - { - int i1 = tank.getFillStateScaled(52); - drawTexturedModalRect(guiLeft + 80, guiTop + 69 - i1, 177, 52 - i1, 16, i1); - } - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerUF6Tank; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineUF6Tank; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIMachineUF6Tank extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/uf6Tank.png"); + private TileEntityMachineUF6Tank tank; + + public GUIMachineUF6Tank(InventoryPlayer invPlayer, TileEntityMachineUF6Tank tedf) { + super(new ContainerUF6Tank(invPlayer, tedf)); + tank = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.tank.hasCustomInventoryName() ? this.tank.getInventoryName() : I18n.format(this.tank.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(tank.fillState > 0) + { + int i1 = tank.getFillStateScaled(52); + drawTexturedModalRect(guiLeft + 80, guiTop + 69 - i1, 177, 52 - i1, 16, i1); + } + } +} diff --git a/com/hbm/gui/gui/GUINukeBoy.java b/com/hbm/gui/gui/GUINukeBoy.java index 347c8000f..d5581627b 100644 --- a/com/hbm/gui/gui/GUINukeBoy.java +++ b/com/hbm/gui/gui/GUINukeBoy.java @@ -1,48 +1,48 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerNukeBoy; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityNukeBoy; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUINukeBoy extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/lilBoySchematic.png"); - private TileEntityNukeBoy testNuke; - - public GUINukeBoy(InventoryPlayer invPlayer, TileEntityNukeBoy tedf) { - super(new ContainerNukeBoy(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(testNuke.isReady()) - { - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 0, 16, 16); - } - } - -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukeBoy; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukeBoy; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUINukeBoy extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/lilBoySchematic.png"); + private TileEntityNukeBoy testNuke; + + public GUINukeBoy(InventoryPlayer invPlayer, TileEntityNukeBoy tedf) { + super(new ContainerNukeBoy(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(testNuke.isReady()) + { + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 0, 16, 16); + } + } + +} diff --git a/com/hbm/gui/gui/GUINukeCustom.java b/com/hbm/gui/gui/GUINukeCustom.java new file mode 100644 index 000000000..04fa68f01 --- /dev/null +++ b/com/hbm/gui/gui/GUINukeCustom.java @@ -0,0 +1,73 @@ +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukeCustom; +import com.hbm.gui.container.ContainerNukeFleija; +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukeCustom; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUINukeCustom extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gunBombSchematic.png"); + private TileEntityNukeCustom testNuke; + + public GUINukeCustom(InventoryPlayer invPlayer, TileEntityNukeCustom tedf) { + super(new ContainerNukeCustom(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(this.testNuke.tntStrength > 0) + { + drawTexturedModalRect(guiLeft + 16, guiTop + 89, 176, 0, 18, 18); + } + if(this.testNuke.nukeStrength > 0) + { + drawTexturedModalRect(guiLeft + 34, guiTop + 89, 176, 18, 18, 18); + } + if(this.testNuke.hydroStrength > 0) + { + drawTexturedModalRect(guiLeft + 52, guiTop + 89, 176, 36, 18, 18); + } + if(this.testNuke.amatStrength > 0) + { + drawTexturedModalRect(guiLeft + 70, guiTop + 89, 176, 54, 18, 18); + } + if(this.testNuke.dirtyStrength > 0) + { + drawTexturedModalRect(guiLeft + 88, guiTop + 89, 176, 72, 18, 18); + } + if(this.testNuke.schrabStrength > 0) + { + drawTexturedModalRect(guiLeft + 106, guiTop + 89, 176, 90, 18, 18); + } + if(this.testNuke.euphStrength > 0) + { + drawTexturedModalRect(guiLeft + 142, guiTop + 89, 176, 108, 18, 18); + } + } +} diff --git a/com/hbm/gui/gui/GUINukeFleija.java b/com/hbm/gui/gui/GUINukeFleija.java index 78b9396c6..e30e7ae48 100644 --- a/com/hbm/gui/gui/GUINukeFleija.java +++ b/com/hbm/gui/gui/GUINukeFleija.java @@ -1,98 +1,98 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerNukeFleija; -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityNukeFleija; - -public class GUINukeFleija extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/fleijaSchematic.png"); - private TileEntityNukeFleija testNuke; - - public GUINukeFleija(InventoryPlayer invPlayer, TileEntityNukeFleija tedf) { - super(new ContainerNukeFleija(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(this.testNuke.slots[0] != null && this.testNuke.slots[0].getItem() == ModItems.fleija_igniter) - { - drawTexturedModalRect(guiLeft + 7, guiTop + 88, 176, 0, 30, 20); - } - - if(this.testNuke.slots[1] != null && this.testNuke.slots[1].getItem() == ModItems.fleija_igniter) - { - drawTexturedModalRect(guiLeft + 139, guiTop + 88, 206, 0, 30, 20); - } - - if(this.testNuke.slots[2] != null && this.testNuke.slots[2].getItem() == ModItems.fleija_propellant) - { - drawTexturedModalRect(guiLeft + 57, guiTop + 77, 176, 62, 18, 14); - } - - if(this.testNuke.slots[3] != null && this.testNuke.slots[3].getItem() == ModItems.fleija_propellant) - { - drawTexturedModalRect(guiLeft + 57, guiTop + 91, 176, 76, 18, 14); - } - - if(this.testNuke.slots[4] != null && this.testNuke.slots[4].getItem() == ModItems.fleija_propellant) - { - drawTexturedModalRect(guiLeft + 57, guiTop + 105, 176, 90, 18, 14); - } - - if(this.testNuke.slots[5] != null && this.testNuke.slots[5].getItem() == ModItems.fleija_core) - { - drawTexturedModalRect(guiLeft + 85, guiTop + 77, 176, 20, 18, 15); - } - - if(this.testNuke.slots[6] != null && this.testNuke.slots[6].getItem() == ModItems.fleija_core) - { - drawTexturedModalRect(guiLeft + 103, guiTop + 77, 194, 20, 18, 15); - } - - if(this.testNuke.slots[7] != null && this.testNuke.slots[7].getItem() == ModItems.fleija_core) - { - drawTexturedModalRect(guiLeft + 85, guiTop + 92, 176, 35, 18, 12); - } - - if(this.testNuke.slots[8] != null && this.testNuke.slots[8].getItem() == ModItems.fleija_core) - { - drawTexturedModalRect(guiLeft + 103, guiTop + 92, 194, 35, 18, 12); - } - - if(this.testNuke.slots[9] != null && this.testNuke.slots[9].getItem() == ModItems.fleija_core) - { - drawTexturedModalRect(guiLeft + 85, guiTop + 104, 176, 47, 18, 15); - } - - if(this.testNuke.slots[10] != null && this.testNuke.slots[10].getItem() == ModItems.fleija_core) - { - drawTexturedModalRect(guiLeft + 103, guiTop + 104, 194, 47, 18, 15); - } - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukeFleija; +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukeFleija; + +public class GUINukeFleija extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/fleijaSchematic.png"); + private TileEntityNukeFleija testNuke; + + public GUINukeFleija(InventoryPlayer invPlayer, TileEntityNukeFleija tedf) { + super(new ContainerNukeFleija(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(this.testNuke.slots[0] != null && this.testNuke.slots[0].getItem() == ModItems.fleija_igniter) + { + drawTexturedModalRect(guiLeft + 7, guiTop + 88, 176, 0, 30, 20); + } + + if(this.testNuke.slots[1] != null && this.testNuke.slots[1].getItem() == ModItems.fleija_igniter) + { + drawTexturedModalRect(guiLeft + 139, guiTop + 88, 206, 0, 30, 20); + } + + if(this.testNuke.slots[2] != null && this.testNuke.slots[2].getItem() == ModItems.fleija_propellant) + { + drawTexturedModalRect(guiLeft + 57, guiTop + 77, 176, 62, 18, 14); + } + + if(this.testNuke.slots[3] != null && this.testNuke.slots[3].getItem() == ModItems.fleija_propellant) + { + drawTexturedModalRect(guiLeft + 57, guiTop + 91, 176, 76, 18, 14); + } + + if(this.testNuke.slots[4] != null && this.testNuke.slots[4].getItem() == ModItems.fleija_propellant) + { + drawTexturedModalRect(guiLeft + 57, guiTop + 105, 176, 90, 18, 14); + } + + if(this.testNuke.slots[5] != null && this.testNuke.slots[5].getItem() == ModItems.fleija_core) + { + drawTexturedModalRect(guiLeft + 85, guiTop + 77, 176, 20, 18, 15); + } + + if(this.testNuke.slots[6] != null && this.testNuke.slots[6].getItem() == ModItems.fleija_core) + { + drawTexturedModalRect(guiLeft + 103, guiTop + 77, 194, 20, 18, 15); + } + + if(this.testNuke.slots[7] != null && this.testNuke.slots[7].getItem() == ModItems.fleija_core) + { + drawTexturedModalRect(guiLeft + 85, guiTop + 92, 176, 35, 18, 12); + } + + if(this.testNuke.slots[8] != null && this.testNuke.slots[8].getItem() == ModItems.fleija_core) + { + drawTexturedModalRect(guiLeft + 103, guiTop + 92, 194, 35, 18, 12); + } + + if(this.testNuke.slots[9] != null && this.testNuke.slots[9].getItem() == ModItems.fleija_core) + { + drawTexturedModalRect(guiLeft + 85, guiTop + 104, 176, 47, 18, 15); + } + + if(this.testNuke.slots[10] != null && this.testNuke.slots[10].getItem() == ModItems.fleija_core) + { + drawTexturedModalRect(guiLeft + 103, guiTop + 104, 194, 47, 18, 15); + } + } +} diff --git a/com/hbm/gui/gui/GUINukeFurnace.java b/com/hbm/gui/gui/GUINukeFurnace.java index 5b2596375..6e5c82fac 100644 --- a/com/hbm/gui/gui/GUINukeFurnace.java +++ b/com/hbm/gui/gui/GUINukeFurnace.java @@ -1,50 +1,50 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerNukeFurnace; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityNukeFurnace; - -public class GUINukeFurnace extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIReactor.png"); - private TileEntityNukeFurnace diFurnace; - - public GUINukeFurnace(InventoryPlayer invPlayer, TileEntityNukeFurnace tedf) { - super(new ContainerNukeFurnace(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.hasPower()) - { - drawTexturedModalRect(guiLeft + 55, guiTop + 35, 176, 0, 18, 16); - } - - int j1 = diFurnace.getDiFurnaceProgressScaled(24); - drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 16, j1 + 1, 17); - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukeFurnace; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukeFurnace; + +public class GUINukeFurnace extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIReactor.png"); + private TileEntityNukeFurnace diFurnace; + + public GUINukeFurnace(InventoryPlayer invPlayer, TileEntityNukeFurnace tedf) { + super(new ContainerNukeFurnace(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.hasPower()) + { + drawTexturedModalRect(guiLeft + 55, guiTop + 35, 176, 0, 18, 16); + } + + int j1 = diFurnace.getDiFurnaceProgressScaled(24); + drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 16, j1 + 1, 17); + } +} diff --git a/com/hbm/gui/gui/GUINukeGadget.java b/com/hbm/gui/gui/GUINukeGadget.java index e2510fda8..0aea7eb3b 100644 --- a/com/hbm/gui/gui/GUINukeGadget.java +++ b/com/hbm/gui/gui/GUINukeGadget.java @@ -1,67 +1,67 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerNukeGadget; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityNukeGadget; - -public class GUINukeGadget extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gadgetSchematic.png"); - private TileEntityNukeGadget testNuke; - - public GUINukeGadget(InventoryPlayer invPlayer, TileEntityNukeGadget tedf) { - super(new ContainerNukeGadget(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(testNuke.exp1()) - { - drawTexturedModalRect(guiLeft + 82, guiTop + 19, 176, 0, 24, 24); - } - - if(testNuke.exp2()) - { - drawTexturedModalRect(guiLeft + 106, guiTop + 19, 200, 0, 24, 24); - } - - if(testNuke.exp3()) - { - drawTexturedModalRect(guiLeft + 82, guiTop + 43, 176, 24, 24, 24); - } - - if(testNuke.exp4()) - { - drawTexturedModalRect(guiLeft + 106, guiTop + 43, 200, 24, 24, 24); - } - - if(testNuke.isReady()) - { - drawTexturedModalRect(guiLeft + 134, guiTop + 35, 176, 48, 16, 16); - } - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukeGadget; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukeGadget; + +public class GUINukeGadget extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gadgetSchematic.png"); + private TileEntityNukeGadget testNuke; + + public GUINukeGadget(InventoryPlayer invPlayer, TileEntityNukeGadget tedf) { + super(new ContainerNukeGadget(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(testNuke.exp1()) + { + drawTexturedModalRect(guiLeft + 82, guiTop + 19, 176, 0, 24, 24); + } + + if(testNuke.exp2()) + { + drawTexturedModalRect(guiLeft + 106, guiTop + 19, 200, 0, 24, 24); + } + + if(testNuke.exp3()) + { + drawTexturedModalRect(guiLeft + 82, guiTop + 43, 176, 24, 24, 24); + } + + if(testNuke.exp4()) + { + drawTexturedModalRect(guiLeft + 106, guiTop + 43, 200, 24, 24, 24); + } + + if(testNuke.isReady()) + { + drawTexturedModalRect(guiLeft + 134, guiTop + 35, 176, 48, 16, 16); + } + } +} diff --git a/com/hbm/gui/gui/GUINukeMan.java b/com/hbm/gui/gui/GUINukeMan.java index 41fa6f066..587e913b2 100644 --- a/com/hbm/gui/gui/GUINukeMan.java +++ b/com/hbm/gui/gui/GUINukeMan.java @@ -1,67 +1,67 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerNukeMan; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityNukeMan; - -public class GUINukeMan extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/fatManSchematic.png"); - private TileEntityNukeMan testNuke; - - public GUINukeMan(InventoryPlayer invPlayer, TileEntityNukeMan tedf) { - super(new ContainerNukeMan(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(testNuke.exp1()) - { - drawTexturedModalRect(guiLeft + 82, guiTop + 19, 176, 0, 24, 24); - } - - if(testNuke.exp2()) - { - drawTexturedModalRect(guiLeft + 106, guiTop + 19, 200, 0, 24, 24); - } - - if(testNuke.exp3()) - { - drawTexturedModalRect(guiLeft + 82, guiTop + 43, 176, 24, 24, 24); - } - - if(testNuke.exp4()) - { - drawTexturedModalRect(guiLeft + 106, guiTop + 43, 200, 24, 24, 24); - } - - if(testNuke.isReady()) - { - drawTexturedModalRect(guiLeft + 134, guiTop + 35, 176, 48, 16, 16); - } - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukeMan; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukeMan; + +public class GUINukeMan extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/fatManSchematic.png"); + private TileEntityNukeMan testNuke; + + public GUINukeMan(InventoryPlayer invPlayer, TileEntityNukeMan tedf) { + super(new ContainerNukeMan(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(testNuke.exp1()) + { + drawTexturedModalRect(guiLeft + 82, guiTop + 19, 176, 0, 24, 24); + } + + if(testNuke.exp2()) + { + drawTexturedModalRect(guiLeft + 106, guiTop + 19, 200, 0, 24, 24); + } + + if(testNuke.exp3()) + { + drawTexturedModalRect(guiLeft + 82, guiTop + 43, 176, 24, 24, 24); + } + + if(testNuke.exp4()) + { + drawTexturedModalRect(guiLeft + 106, guiTop + 43, 200, 24, 24, 24); + } + + if(testNuke.isReady()) + { + drawTexturedModalRect(guiLeft + 134, guiTop + 35, 176, 48, 16, 16); + } + } +} diff --git a/com/hbm/gui/gui/GUINukeMike.java b/com/hbm/gui/gui/GUINukeMike.java index 39429a621..42b4bfc9f 100644 --- a/com/hbm/gui/gui/GUINukeMike.java +++ b/com/hbm/gui/gui/GUINukeMike.java @@ -1,53 +1,53 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerNukeMike; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityNukeMike; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUINukeMike extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/ivyMikeSchematic.png"); - private TileEntityNukeMike testNuke; - - public GUINukeMike(InventoryPlayer invPlayer, TileEntityNukeMike tedf) { - super(new ContainerNukeMike(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(testNuke.isReady() && !testNuke.isFilled()) - { - drawTexturedModalRect(guiLeft + 142, guiTop + 34, 176, 0, 18, 18); - } - - if(testNuke.isReady() && testNuke.isFilled()) - { - drawTexturedModalRect(guiLeft + 142, guiTop + 34, 176, 18, 18, 18); - } - } - -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukeMike; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukeMike; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUINukeMike extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/ivyMikeSchematic.png"); + private TileEntityNukeMike testNuke; + + public GUINukeMike(InventoryPlayer invPlayer, TileEntityNukeMike tedf) { + super(new ContainerNukeMike(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(testNuke.isReady() && !testNuke.isFilled()) + { + drawTexturedModalRect(guiLeft + 142, guiTop + 34, 176, 0, 18, 18); + } + + if(testNuke.isReady() && testNuke.isFilled()) + { + drawTexturedModalRect(guiLeft + 142, guiTop + 34, 176, 18, 18, 18); + } + } + +} diff --git a/com/hbm/gui/gui/GUINukePrototype.java b/com/hbm/gui/gui/GUINukePrototype.java index 74d1d9921..4be105501 100644 --- a/com/hbm/gui/gui/GUINukePrototype.java +++ b/com/hbm/gui/gui/GUINukePrototype.java @@ -1,42 +1,42 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerNukePrototype; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityNukePrototype; - -public class GUINukePrototype extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_prototype.png"); - private TileEntityNukePrototype testNuke; - - public GUINukePrototype(InventoryPlayer invPlayer, TileEntityNukePrototype tedf) { - super(new ContainerNukePrototype(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukePrototype; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukePrototype; + +public class GUINukePrototype extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_prototype.png"); + private TileEntityNukePrototype testNuke; + + public GUINukePrototype(InventoryPlayer invPlayer, TileEntityNukePrototype tedf) { + super(new ContainerNukePrototype(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + } +} diff --git a/com/hbm/gui/gui/GUINukeTsar.java b/com/hbm/gui/gui/GUINukeTsar.java index 6b3b5f41c..1c7d740b4 100644 --- a/com/hbm/gui/gui/GUINukeTsar.java +++ b/com/hbm/gui/gui/GUINukeTsar.java @@ -1,52 +1,52 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerNukeTsar; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityNukeTsar; - -public class GUINukeTsar extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/tsarBombaSchematic.png"); - private TileEntityNukeTsar testNuke; - - public GUINukeTsar(InventoryPlayer invPlayer, TileEntityNukeTsar tedf) { - super(new ContainerNukeTsar(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(testNuke.isReady()) - { - drawTexturedModalRect(guiLeft + 133, guiTop + 34, 176, 0, 16, 16); - } - - if(testNuke.isFilled()) - { - drawTexturedModalRect(guiLeft + 133, guiTop + 34, 176, 18, 16, 16); - } - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerNukeTsar; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityNukeTsar; + +public class GUINukeTsar extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/tsarBombaSchematic.png"); + private TileEntityNukeTsar testNuke; + + public GUINukeTsar(InventoryPlayer invPlayer, TileEntityNukeTsar tedf) { + super(new ContainerNukeTsar(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(testNuke.isReady()) + { + drawTexturedModalRect(guiLeft + 133, guiTop + 34, 176, 0, 16, 16); + } + + if(testNuke.isFilled()) + { + drawTexturedModalRect(guiLeft + 133, guiTop + 34, 176, 18, 16, 16); + } + } +} diff --git a/com/hbm/gui/gui/GUIReactorMultiblock.java b/com/hbm/gui/gui/GUIReactorMultiblock.java index 5d5183d49..3ec9567aa 100644 --- a/com/hbm/gui/gui/GUIReactorMultiblock.java +++ b/com/hbm/gui/gui/GUIReactorMultiblock.java @@ -1,57 +1,57 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerReactorMultiblock; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityMachineGenerator; -import com.hbm.tileentity.TileEntityReactorMultiblock; -import com.hbm.tileentity.TileEntityRtgFurnace; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.Container; -import net.minecraft.util.ResourceLocation; - -public class GUIReactorMultiblock extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_reactor_multiblock.png"); - private TileEntityReactorMultiblock diFurnace; - - public GUIReactorMultiblock(InventoryPlayer invPlayer, TileEntityReactorMultiblock tedf) { - super(new ContainerReactorMultiblock(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 222; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - int i = diFurnace.getWaterScaled(70); - drawTexturedModalRect(guiLeft + 8, guiTop + 88 - i, 176, 70 - i, 16, i); - - int j = diFurnace.getCoolantScaled(70); - drawTexturedModalRect(guiLeft + 26, guiTop + 88 - j, 192, 70 - j, 16, j); - - int k = diFurnace.getPowerScaled(70); - drawTexturedModalRect(guiLeft + 44, guiTop + 88 - k, 208, 70 - k, 16, k); - - int l = diFurnace.getHeatScaled(142); - drawTexturedModalRect(guiLeft + 26, guiTop + 108, 0, 222, l, 16); - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerReactorMultiblock; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityMachineGenerator; +import com.hbm.tileentity.TileEntityReactorMultiblock; +import com.hbm.tileentity.TileEntityRtgFurnace; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.util.ResourceLocation; + +public class GUIReactorMultiblock extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_reactor_multiblock.png"); + private TileEntityReactorMultiblock diFurnace; + + public GUIReactorMultiblock(InventoryPlayer invPlayer, TileEntityReactorMultiblock tedf) { + super(new ContainerReactorMultiblock(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + int i = diFurnace.getWaterScaled(70); + drawTexturedModalRect(guiLeft + 8, guiTop + 88 - i, 176, 70 - i, 16, i); + + int j = diFurnace.getCoolantScaled(70); + drawTexturedModalRect(guiLeft + 26, guiTop + 88 - j, 192, 70 - j, 16, j); + + int k = diFurnace.getPowerScaled(70); + drawTexturedModalRect(guiLeft + 44, guiTop + 88 - k, 208, 70 - k, 16, k); + + int l = diFurnace.getHeatScaled(142); + drawTexturedModalRect(guiLeft + 26, guiTop + 108, 0, 222, l, 16); + } +} diff --git a/com/hbm/gui/gui/GUIReiXMainframe.java b/com/hbm/gui/gui/GUIReiXMainframe.java new file mode 100644 index 000000000..4be6f4086 --- /dev/null +++ b/com/hbm/gui/gui/GUIReiXMainframe.java @@ -0,0 +1,44 @@ +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerReactorMultiblock; +import com.hbm.gui.container.ContainerReiXMainframe; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityReactorMultiblock; +import com.hbm.tileentity.TileEntityReiXMainframe; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIReiXMainframe extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/reix_cmd.png"); + private TileEntityReiXMainframe diFurnace; + + public GUIReiXMainframe(InventoryPlayer invPlayer, TileEntityReiXMainframe tedf) { + super(new ContainerReiXMainframe(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 222; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + } +} diff --git a/com/hbm/gui/gui/GUIRtgFurnace.java b/com/hbm/gui/gui/GUIRtgFurnace.java index 5ddfdeee2..125e327b8 100644 --- a/com/hbm/gui/gui/GUIRtgFurnace.java +++ b/com/hbm/gui/gui/GUIRtgFurnace.java @@ -1,50 +1,50 @@ -package com.hbm.gui.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerRtgFurnace; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityRtgFurnace; - -public class GUIRtgFurnace extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/RTGfurnace.png"); - private TileEntityRtgFurnace diFurnace; - - public GUIRtgFurnace(InventoryPlayer invPlayer, TileEntityRtgFurnace tedf) { - super(new ContainerRtgFurnace(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.hasPower()) - { - drawTexturedModalRect(guiLeft + 55, guiTop + 35, 176, 0, 18, 16); - } - - int j1 = diFurnace.getDiFurnaceProgressScaled(24); - drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 16, j1 + 1, 17); - } -} +package com.hbm.gui.gui; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerRtgFurnace; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityRtgFurnace; + +public class GUIRtgFurnace extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/RTGfurnace.png"); + private TileEntityRtgFurnace diFurnace; + + public GUIRtgFurnace(InventoryPlayer invPlayer, TileEntityRtgFurnace tedf) { + super(new ContainerRtgFurnace(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.hasPower()) + { + drawTexturedModalRect(guiLeft + 55, guiTop + 35, 176, 0, 18, 16); + } + + int j1 = diFurnace.getDiFurnaceProgressScaled(24); + drawTexturedModalRect(guiLeft + 79, guiTop + 34, 176, 16, j1 + 1, 17); + } +} diff --git a/com/hbm/gui/gui/GUITestDiFurnace.java b/com/hbm/gui/gui/GUITestDiFurnace.java index fd53ef801..7afe9b057 100644 --- a/com/hbm/gui/gui/GUITestDiFurnace.java +++ b/com/hbm/gui/gui/GUITestDiFurnace.java @@ -1,56 +1,56 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerDiFurnace; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityDiFurnace; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUITestDiFurnace extends GuiContainer { - - public static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIDiFurnace.png"); - private TileEntityDiFurnace diFurnace; - - public GUITestDiFurnace(InventoryPlayer invPlayer, TileEntityDiFurnace tedf) { - super(new ContainerDiFurnace(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - if(diFurnace.hasPower()) - { - int i1 = diFurnace.getPowerRemainingScaled(52); - drawTexturedModalRect(guiLeft + 44, guiTop + 70 - i1, 201, 53 - i1, 16, i1); - } - - int j1 = diFurnace.getDiFurnaceProgressScaled(24); - drawTexturedModalRect(guiLeft + 101, guiTop + 35, 176, 14, j1 + 1, 17); - - if(diFurnace.hasPower() && diFurnace.canProcess()) { - drawTexturedModalRect(guiLeft + 63, guiTop + 37, 176, 0, 14, 14); - } - } - -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerDiFurnace; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityDiFurnace; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUITestDiFurnace extends GuiContainer { + + public static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/GUIDiFurnace.png"); + private TileEntityDiFurnace diFurnace; + + public GUITestDiFurnace(InventoryPlayer invPlayer, TileEntityDiFurnace tedf) { + super(new ContainerDiFurnace(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + if(diFurnace.hasPower()) + { + int i1 = diFurnace.getPowerRemainingScaled(52); + drawTexturedModalRect(guiLeft + 44, guiTop + 70 - i1, 201, 53 - i1, 16, i1); + } + + int j1 = diFurnace.getDiFurnaceProgressScaled(24); + drawTexturedModalRect(guiLeft + 101, guiTop + 35, 176, 14, j1 + 1, 17); + + if(diFurnace.hasPower() && diFurnace.canProcess()) { + drawTexturedModalRect(guiLeft + 63, guiTop + 37, 176, 0, 14, 14); + } + } + +} diff --git a/com/hbm/gui/gui/GUITestNuke.java b/com/hbm/gui/gui/GUITestNuke.java index f1227d8ff..2ac8b7196 100644 --- a/com/hbm/gui/gui/GUITestNuke.java +++ b/com/hbm/gui/gui/GUITestNuke.java @@ -1,70 +1,70 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -import com.hbm.gui.container.ContainerTestNuke; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityTestNuke; - -public class GUITestNuke extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gunBombSchematicSmall.png"); - private TileEntityTestNuke testNuke; - - public GUITestNuke(InventoryPlayer invPlayer, TileEntityTestNuke tedf) { - super(new ContainerTestNuke(invPlayer, tedf)); - testNuke = tedf; - - this.xSize = 176; - this.ySize = 166; - } - - @Override - protected void drawGuiContainerForegroundLayer( int i, int j) { - String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - switch(testNuke.getNukeTier()) - { - case 0: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 0, 16, 16); break; - case 1: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 16, 16, 16); break; - case 2: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 32, 16, 16); break; - case 3: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 48, 16, 16); break; - case 4: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 64, 16, 16); break; - case 5: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 80, 16, 16); break; - case 6: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 96, 16, 16); break; - case 7: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 112, 16, 16); break; - case 8: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 128, 16, 16); break; - case 9: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 144, 16, 16); break; - case 999: - drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 160, 16, 16); break; - default: - } - } - -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +import com.hbm.gui.container.ContainerTestNuke; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityTestNuke; + +public class GUITestNuke extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gunBombSchematicSmall.png"); + private TileEntityTestNuke testNuke; + + public GUITestNuke(InventoryPlayer invPlayer, TileEntityTestNuke tedf) { + super(new ContainerTestNuke(invPlayer, tedf)); + testNuke = tedf; + + this.xSize = 176; + this.ySize = 166; + } + + @Override + protected void drawGuiContainerForegroundLayer( int i, int j) { + String name = this.testNuke.hasCustomInventoryName() ? this.testNuke.getInventoryName() : I18n.format(this.testNuke.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + switch(testNuke.getNukeTier()) + { + case 0: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 0, 16, 16); break; + case 1: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 16, 16, 16); break; + case 2: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 32, 16, 16); break; + case 3: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 48, 16, 16); break; + case 4: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 64, 16, 16); break; + case 5: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 80, 16, 16); break; + case 6: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 96, 16, 16); break; + case 7: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 112, 16, 16); break; + case 8: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 128, 16, 16); break; + case 9: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 144, 16, 16); break; + case 999: + drawTexturedModalRect(guiLeft + 142, guiTop + 36, 176, 160, 16, 16); break; + default: + } + } + +} diff --git a/com/hbm/gui/gui/GUIWatzCore.java b/com/hbm/gui/gui/GUIWatzCore.java index 20f135188..9c3bd41b7 100644 --- a/com/hbm/gui/gui/GUIWatzCore.java +++ b/com/hbm/gui/gui/GUIWatzCore.java @@ -1,56 +1,56 @@ -package com.hbm.gui.gui; - -import org.lwjgl.opengl.GL11; - -import com.hbm.gui.container.ContainerWatzCore; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityReactorMultiblock; -import com.hbm.tileentity.TileEntityWatzCore; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.resources.I18n; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; - -public class GUIWatzCore extends GuiContainer { - - private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_watz_multiblock.png"); - private TileEntityWatzCore diFurnace; - - public GUIWatzCore(InventoryPlayer invPlayer, TileEntityWatzCore tedf) { - super(new ContainerWatzCore(invPlayer, tedf)); - diFurnace = tedf; - - this.xSize = 176; - //this.ySize = 222; - this.ySize = 256; - } - - @Override - protected void drawGuiContainerForegroundLayer(int i, int j) { - String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); - - this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); - this.fontRendererObj.drawString(I18n.format("container.inventory")/* + String.valueOf(diFurnace.powerList)*/, 8, this.ySize - 96 + 2 - 34, 4210752); - this.fontRendererObj.drawString(String.valueOf(diFurnace.powerList + " HE/tick"), 8, this.ySize - 50 + 2 + 13, 4210752); - this.fontRendererObj.drawString(String.valueOf(diFurnace.heatList + " heat"), 8, this.ySize - 50 + 2 + 22, 4210752); - this.fontRendererObj.drawString(String.valueOf((diFurnace.decayMultiplier * diFurnace.heat)/100 + " waste/tick"), 8, this.ySize - 50 + 2 + 31, 4210752); - this.fontRendererObj.drawString(String.valueOf(diFurnace.powerMultiplier + "% power"), 100, this.ySize - 50 + 2 + 13, 4210752); - this.fontRendererObj.drawString(String.valueOf(diFurnace.heatMultiplier + "% heat"), 100, this.ySize - 50 + 2 + 22, 4210752); - this.fontRendererObj.drawString(String.valueOf(diFurnace.decayMultiplier + "% decay"), 100, this.ySize - 50 + 2 + 31, 4210752); - } - - @Override - protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - Minecraft.getMinecraft().getTextureManager().bindTexture(texture); - drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); - - int j = diFurnace.getWaterScaled(88); - drawTexturedModalRect(guiLeft + 134, guiTop + 106 - j, 176, 88 - j, 16, j); - - int l = diFurnace.getPowerScaled(88); - drawTexturedModalRect(guiLeft + 152, guiTop + 106 - l, 192, 88 - l, 16, l); - } -} +package com.hbm.gui.gui; + +import org.lwjgl.opengl.GL11; + +import com.hbm.gui.container.ContainerWatzCore; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityReactorMultiblock; +import com.hbm.tileentity.TileEntityWatzCore; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.resources.I18n; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.util.ResourceLocation; + +public class GUIWatzCore extends GuiContainer { + + private static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_watz_multiblock.png"); + private TileEntityWatzCore diFurnace; + + public GUIWatzCore(InventoryPlayer invPlayer, TileEntityWatzCore tedf) { + super(new ContainerWatzCore(invPlayer, tedf)); + diFurnace = tedf; + + this.xSize = 176; + //this.ySize = 222; + this.ySize = 256; + } + + @Override + protected void drawGuiContainerForegroundLayer(int i, int j) { + String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName()); + + this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("container.inventory")/* + String.valueOf(diFurnace.powerList)*/, 8, this.ySize - 96 + 2 - 34, 4210752); + this.fontRendererObj.drawString(String.valueOf(diFurnace.powerList + " HE/tick"), 8, this.ySize - 50 + 2 + 13, 4210752); + this.fontRendererObj.drawString(String.valueOf(diFurnace.heatList + " heat"), 8, this.ySize - 50 + 2 + 22, 4210752); + this.fontRendererObj.drawString(String.valueOf((diFurnace.decayMultiplier * diFurnace.heat)/100 + " waste/tick"), 8, this.ySize - 50 + 2 + 31, 4210752); + this.fontRendererObj.drawString(String.valueOf(diFurnace.powerMultiplier + "% power"), 100, this.ySize - 50 + 2 + 13, 4210752); + this.fontRendererObj.drawString(String.valueOf(diFurnace.heatMultiplier + "% heat"), 100, this.ySize - 50 + 2 + 22, 4210752); + this.fontRendererObj.drawString(String.valueOf(diFurnace.decayMultiplier + "% decay"), 100, this.ySize - 50 + 2 + 31, 4210752); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) { + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(texture); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + + int j = diFurnace.getWaterScaled(88); + drawTexturedModalRect(guiLeft + 134, guiTop + 106 - j, 176, 88 - j, 16, j); + + int l = diFurnace.getPowerScaled(88); + drawTexturedModalRect(guiLeft + 152, guiTop + 106 - l, 192, 88 - l, 16, l); + } +} diff --git a/com/hbm/handler/AlloyFurnaceRecipeHandler.java b/com/hbm/handler/AlloyFurnaceRecipeHandler.java index a36d1e58d..4f151d334 100644 --- a/com/hbm/handler/AlloyFurnaceRecipeHandler.java +++ b/com/hbm/handler/AlloyFurnaceRecipeHandler.java @@ -1,142 +1,142 @@ -package com.hbm.handler; - -import java.awt.Rectangle; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Map; -import java.util.Map.Entry; - -import com.hbm.gui.MachineRecipes; -import com.hbm.gui.gui.GUITestDiFurnace; - -import codechicken.nei.NEIServerUtils; -import codechicken.nei.PositionedStack; -import codechicken.nei.recipe.FurnaceRecipeHandler; -import codechicken.nei.recipe.TemplateRecipeHandler; -import codechicken.nei.recipe.FurnaceRecipeHandler.FuelPair; -import codechicken.nei.recipe.FurnaceRecipeHandler.SmeltingPair; -import codechicken.nei.recipe.TemplateRecipeHandler.CachedRecipe; -import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRect; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.client.gui.inventory.GuiFurnace; -import net.minecraft.item.ItemStack; -import net.minecraft.item.crafting.FurnaceRecipes; - -public class AlloyFurnaceRecipeHandler extends TemplateRecipeHandler { - - public static ArrayList fuels; - - public class SmeltingSet extends TemplateRecipeHandler.CachedRecipe - { - PositionedStack input1; - PositionedStack input2; - PositionedStack result; - - public SmeltingSet(ItemStack input1, ItemStack input2, ItemStack result) { - input1.stackSize = 1; - input2.stackSize = 1; - this.input1 = new PositionedStack(input1, 75, 7); - this.input2 = new PositionedStack(input2, 75, 43); - this.result = new PositionedStack(result, 129, 25); - } - - public List getIngredients() { - return getCycledIngredients(cycleticks / 48, Arrays.asList(new PositionedStack[] {input1, input2})); - } - - public PositionedStack getOtherStack() { - return fuels.get((cycleticks / 48) % fuels.size()).stack; - } - - public PositionedStack getResult() { - return result; - } - } - - public static class Fuel - { - public Fuel(ItemStack ingred) { - - this.stack = new PositionedStack(ingred, 3, 25, false); - } - - public PositionedStack stack; - } - - @Override - public String getRecipeName() { - return "Alloy Furnace"; - } - - @Override - public String getGuiTexture() { - return GUITestDiFurnace.texture.toString(); - } - - public void loadCraftingRecipes(String outputId, Object... results) { - if ((outputId.equals("alloysmelting")) && getClass() == AlloyFurnaceRecipeHandler.class) { - Map recipes = MachineRecipes.instance().getAlloyRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey()[0], (ItemStack)recipe.getKey()[1], (ItemStack)recipe.getValue())); - } - } else { - super.loadCraftingRecipes(outputId, results); - } - } - - public void loadCraftingRecipes(ItemStack result) { - Map recipes = MachineRecipes.instance().getAlloyRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - if (NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue(), result)) - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey()[0], (ItemStack)recipe.getKey()[1], (ItemStack)recipe.getValue())); - } - } - - public void loadUsageRecipes(String inputId, Object... ingredients) { - if ((inputId.equals("alloysmelting")) && getClass() == AlloyFurnaceRecipeHandler.class) { - loadCraftingRecipes("alloysmelting", new Object[0]); - } else { - super.loadUsageRecipes(inputId, ingredients); - } - } - - public void loadUsageRecipes(ItemStack ingredient) { - Map recipes = MachineRecipes.instance().getAlloyRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - if (NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey()[0]) || NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey()[1])) - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey()[0], (ItemStack)recipe.getKey()[1], (ItemStack)recipe.getValue())); - } - } - - @Override - public Class getGuiClass() { - return GUITestDiFurnace.class; - } - - @Override - public void loadTransferRects() { - transferRects.add(new RecipeTransferRect(new Rectangle(96, 25, 24, 18), "alloysmelting")); - } - - @Override - public void drawExtras(int recipe) { - drawProgressBar(57, 26, 176, 0, 14, 14, 48, 7); - - drawProgressBar(96, 24, 176, 14, 24, 16, 48, 0); - - drawProgressBar(39, 7, 201, 0, 16, 52, 480, 7); - } - - @Override - public TemplateRecipeHandler newInstance() { - if (fuels == null || fuels.isEmpty()) - fuels = new ArrayList(); - for(ItemStack i : MachineRecipes.instance().getAlloyFuels()) - { - fuels.add(new Fuel(i)); - } - return super.newInstance(); - } - -} +package com.hbm.handler; + +import java.awt.Rectangle; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; + +import com.hbm.gui.MachineRecipes; +import com.hbm.gui.gui.GUITestDiFurnace; + +import codechicken.nei.NEIServerUtils; +import codechicken.nei.PositionedStack; +import codechicken.nei.recipe.FurnaceRecipeHandler; +import codechicken.nei.recipe.TemplateRecipeHandler; +import codechicken.nei.recipe.FurnaceRecipeHandler.FuelPair; +import codechicken.nei.recipe.FurnaceRecipeHandler.SmeltingPair; +import codechicken.nei.recipe.TemplateRecipeHandler.CachedRecipe; +import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRect; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.client.gui.inventory.GuiFurnace; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; + +public class AlloyFurnaceRecipeHandler extends TemplateRecipeHandler { + + public static ArrayList fuels; + + public class SmeltingSet extends TemplateRecipeHandler.CachedRecipe + { + PositionedStack input1; + PositionedStack input2; + PositionedStack result; + + public SmeltingSet(ItemStack input1, ItemStack input2, ItemStack result) { + input1.stackSize = 1; + input2.stackSize = 1; + this.input1 = new PositionedStack(input1, 75, 7); + this.input2 = new PositionedStack(input2, 75, 43); + this.result = new PositionedStack(result, 129, 25); + } + + public List getIngredients() { + return getCycledIngredients(cycleticks / 48, Arrays.asList(new PositionedStack[] {input1, input2})); + } + + public PositionedStack getOtherStack() { + return fuels.get((cycleticks / 48) % fuels.size()).stack; + } + + public PositionedStack getResult() { + return result; + } + } + + public static class Fuel + { + public Fuel(ItemStack ingred) { + + this.stack = new PositionedStack(ingred, 3, 25, false); + } + + public PositionedStack stack; + } + + @Override + public String getRecipeName() { + return "Alloy Furnace"; + } + + @Override + public String getGuiTexture() { + return GUITestDiFurnace.texture.toString(); + } + + public void loadCraftingRecipes(String outputId, Object... results) { + if ((outputId.equals("alloysmelting")) && getClass() == AlloyFurnaceRecipeHandler.class) { + Map recipes = MachineRecipes.instance().getAlloyRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey()[0], (ItemStack)recipe.getKey()[1], (ItemStack)recipe.getValue())); + } + } else { + super.loadCraftingRecipes(outputId, results); + } + } + + public void loadCraftingRecipes(ItemStack result) { + Map recipes = MachineRecipes.instance().getAlloyRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + if (NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue(), result)) + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey()[0], (ItemStack)recipe.getKey()[1], (ItemStack)recipe.getValue())); + } + } + + public void loadUsageRecipes(String inputId, Object... ingredients) { + if ((inputId.equals("alloysmelting")) && getClass() == AlloyFurnaceRecipeHandler.class) { + loadCraftingRecipes("alloysmelting", new Object[0]); + } else { + super.loadUsageRecipes(inputId, ingredients); + } + } + + public void loadUsageRecipes(ItemStack ingredient) { + Map recipes = MachineRecipes.instance().getAlloyRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + if (NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey()[0]) || NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey()[1])) + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey()[0], (ItemStack)recipe.getKey()[1], (ItemStack)recipe.getValue())); + } + } + + @Override + public Class getGuiClass() { + return GUITestDiFurnace.class; + } + + @Override + public void loadTransferRects() { + transferRects.add(new RecipeTransferRect(new Rectangle(96, 25, 24, 18), "alloysmelting")); + } + + @Override + public void drawExtras(int recipe) { + drawProgressBar(57, 26, 176, 0, 14, 14, 48, 7); + + drawProgressBar(96, 24, 176, 14, 24, 16, 48, 0); + + drawProgressBar(39, 7, 201, 0, 16, 52, 480, 7); + } + + @Override + public TemplateRecipeHandler newInstance() { + if (fuels == null || fuels.isEmpty()) + fuels = new ArrayList(); + for(ItemStack i : MachineRecipes.instance().getAlloyFuels()) + { + fuels.add(new Fuel(i)); + } + return super.newInstance(); + } + +} diff --git a/com/hbm/handler/BucketHandler.java b/com/hbm/handler/BucketHandler.java index b9c0e0f59..03070bcf4 100644 --- a/com/hbm/handler/BucketHandler.java +++ b/com/hbm/handler/BucketHandler.java @@ -1,47 +1,47 @@ -package com.hbm.handler; - -import java.util.HashMap; -import java.util.Map; - -import cpw.mods.fml.common.eventhandler.Event.Result; -import cpw.mods.fml.common.eventhandler.SubscribeEvent; -import net.minecraft.block.Block; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; -import net.minecraftforge.event.entity.player.FillBucketEvent; - -public class BucketHandler { - - public static BucketHandler INSTANCE = new BucketHandler(); - public Map buckets = new HashMap(); - - private BucketHandler() { - } - - @SubscribeEvent - public void onBucketFill(FillBucketEvent event) { - - ItemStack result = fillCustomBucket(event.world, event.target); - - if (result == null) - return; - - event.result = result; - event.setResult(Result.ALLOW); - } - - private ItemStack fillCustomBucket(World world, MovingObjectPosition pos) { - - Block block = world.getBlock(pos.blockX, pos.blockY, pos.blockZ); - - Item bucket = buckets.get(block); - if (bucket != null && world.getBlockMetadata(pos.blockX, pos.blockY, pos.blockZ) == 0) { - world.setBlockToAir(pos.blockX, pos.blockY, pos.blockZ); - return new ItemStack(bucket); - } else - return null; - - } -} +package com.hbm.handler; + +import java.util.HashMap; +import java.util.Map; + +import cpw.mods.fml.common.eventhandler.Event.Result; +import cpw.mods.fml.common.eventhandler.SubscribeEvent; +import net.minecraft.block.Block; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.world.World; +import net.minecraftforge.event.entity.player.FillBucketEvent; + +public class BucketHandler { + + public static BucketHandler INSTANCE = new BucketHandler(); + public Map buckets = new HashMap(); + + private BucketHandler() { + } + + @SubscribeEvent + public void onBucketFill(FillBucketEvent event) { + + ItemStack result = fillCustomBucket(event.world, event.target); + + if (result == null) + return; + + event.result = result; + event.setResult(Result.ALLOW); + } + + private ItemStack fillCustomBucket(World world, MovingObjectPosition pos) { + + Block block = world.getBlock(pos.blockX, pos.blockY, pos.blockZ); + + Item bucket = buckets.get(block); + if (bucket != null && world.getBlockMetadata(pos.blockX, pos.blockY, pos.blockZ) == 0) { + world.setBlockToAir(pos.blockX, pos.blockY, pos.blockZ); + return new ItemStack(bucket); + } else + return null; + + } +} diff --git a/com/hbm/handler/CentrifugeRecipeHandler.java b/com/hbm/handler/CentrifugeRecipeHandler.java index 7f7fe7f60..07547329d 100644 --- a/com/hbm/handler/CentrifugeRecipeHandler.java +++ b/com/hbm/handler/CentrifugeRecipeHandler.java @@ -1,147 +1,147 @@ -package com.hbm.handler; - -import java.awt.Rectangle; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Map; - -import com.hbm.gui.MachineRecipes; -import com.hbm.gui.gui.GUIMachineCentrifuge; -import com.hbm.gui.gui.GUITestDiFurnace; -import com.hbm.handler.AlloyFurnaceRecipeHandler.Fuel; -import com.hbm.handler.AlloyFurnaceRecipeHandler.SmeltingSet; - -import codechicken.nei.NEIServerUtils; -import codechicken.nei.PositionedStack; -import codechicken.nei.recipe.FurnaceRecipeHandler; -import codechicken.nei.recipe.TemplateRecipeHandler; -import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRect; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.item.ItemStack; - -public class CentrifugeRecipeHandler extends TemplateRecipeHandler { - - public static ArrayList fuels; - - public class SmeltingSet extends TemplateRecipeHandler.CachedRecipe - { - PositionedStack input; - PositionedStack result1; - PositionedStack result2; - PositionedStack result3; - PositionedStack result4; - - public SmeltingSet(ItemStack input, ItemStack result1, ItemStack result2, ItemStack result3, ItemStack result4) { - input.stackSize = 1; - this.input = new PositionedStack(input, 21, 6); - this.result1 = new PositionedStack(result1, 129, 6); - this.result2 = new PositionedStack(result2, 147, 6); - this.result3 = new PositionedStack(result3, 129, 42); - this.result4 = new PositionedStack(result4, 147, 42); - } - - public List getIngredients() { - return getCycledIngredients(cycleticks / 48, Arrays.asList(new PositionedStack[] {input})); - } - - public List getOtherStacks() { - List stacks = new ArrayList(); - stacks.add(fuels.get((cycleticks / 48) % fuels.size()).stack); - stacks.add(result2); - stacks.add(result3); - stacks.add(result4); - return stacks; - } - - public PositionedStack getResult() { - return result1; - } - } - - public static class Fuel - { - public Fuel(ItemStack ingred) { - - this.stack = new PositionedStack(ingred, 21, 42, false); - } - - public PositionedStack stack; - } - - @Override - public String getRecipeName() { - return "Centrifuge"; - } - - @Override - public String getGuiTexture() { - return GUIMachineCentrifuge.texture.toString(); - } - - @Override - public Class getGuiClass() { - return GUIMachineCentrifuge.class; - } - - @Override - public TemplateRecipeHandler newInstance() { - if (fuels == null || fuels.isEmpty()) - fuels = new ArrayList(); - for(ItemStack i : MachineRecipes.instance().getCentrifugeFuels()) - { - fuels.add(new Fuel(i)); - } - return super.newInstance(); - } - - public void loadCraftingRecipes(String outputId, Object... results) { - if ((outputId.equals("centrifugeprocessing")) && getClass() == CentrifugeRecipeHandler.class) { - Map recipes = MachineRecipes.instance().getCentrifugeRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue()[0], (ItemStack)recipe.getValue()[1], (ItemStack)recipe.getValue()[2], (ItemStack)recipe.getValue()[3])); - } - } else { - super.loadCraftingRecipes(outputId, results); - } - } - - public void loadCraftingRecipes(ItemStack result) { - Map recipes = MachineRecipes.instance().getCentrifugeRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - if (NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue()[0], result) || NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue()[1], result) || NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue()[2], result) || NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue()[3], result)) - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue()[0], (ItemStack)recipe.getValue()[1], (ItemStack)recipe.getValue()[2], (ItemStack)recipe.getValue()[3])); - } - } - - public void loadUsageRecipes(String inputId, Object... ingredients) { - if ((inputId.equals("centrifugeprocessing")) && getClass() == CentrifugeRecipeHandler.class) { - loadCraftingRecipes("centrifugeprocessing", new Object[0]); - } else { - super.loadUsageRecipes(inputId, ingredients); - } - } - - public void loadUsageRecipes(ItemStack ingredient) { - Map recipes = MachineRecipes.instance().getCentrifugeRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - if (NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey())) - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue()[0], (ItemStack)recipe.getValue()[1], (ItemStack)recipe.getValue()[2], (ItemStack)recipe.getValue()[3])); - } - } - - @Override - public void drawExtras(int recipe) { - drawProgressBar(21, 24, 195, 55, 16, 16, 48, 7); - - drawProgressBar(56, 5, 176, 0, 54, 54, 48 * 3, 0); - - drawProgressBar(3, 6, 177, 55, 16, 52, 480, 7); - } - - @Override - public void loadTransferRects() { - transferRects.add(new RecipeTransferRect(new Rectangle(56, 5, 54, 54), "centrifugeprocessing")); - } - -} +package com.hbm.handler; + +import java.awt.Rectangle; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +import com.hbm.gui.MachineRecipes; +import com.hbm.gui.gui.GUIMachineCentrifuge; +import com.hbm.gui.gui.GUITestDiFurnace; +import com.hbm.handler.AlloyFurnaceRecipeHandler.Fuel; +import com.hbm.handler.AlloyFurnaceRecipeHandler.SmeltingSet; + +import codechicken.nei.NEIServerUtils; +import codechicken.nei.PositionedStack; +import codechicken.nei.recipe.FurnaceRecipeHandler; +import codechicken.nei.recipe.TemplateRecipeHandler; +import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRect; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.item.ItemStack; + +public class CentrifugeRecipeHandler extends TemplateRecipeHandler { + + public static ArrayList fuels; + + public class SmeltingSet extends TemplateRecipeHandler.CachedRecipe + { + PositionedStack input; + PositionedStack result1; + PositionedStack result2; + PositionedStack result3; + PositionedStack result4; + + public SmeltingSet(ItemStack input, ItemStack result1, ItemStack result2, ItemStack result3, ItemStack result4) { + input.stackSize = 1; + this.input = new PositionedStack(input, 21, 6); + this.result1 = new PositionedStack(result1, 129, 6); + this.result2 = new PositionedStack(result2, 147, 6); + this.result3 = new PositionedStack(result3, 129, 42); + this.result4 = new PositionedStack(result4, 147, 42); + } + + public List getIngredients() { + return getCycledIngredients(cycleticks / 48, Arrays.asList(new PositionedStack[] {input})); + } + + public List getOtherStacks() { + List stacks = new ArrayList(); + stacks.add(fuels.get((cycleticks / 48) % fuels.size()).stack); + stacks.add(result2); + stacks.add(result3); + stacks.add(result4); + return stacks; + } + + public PositionedStack getResult() { + return result1; + } + } + + public static class Fuel + { + public Fuel(ItemStack ingred) { + + this.stack = new PositionedStack(ingred, 21, 42, false); + } + + public PositionedStack stack; + } + + @Override + public String getRecipeName() { + return "Centrifuge"; + } + + @Override + public String getGuiTexture() { + return GUIMachineCentrifuge.texture.toString(); + } + + @Override + public Class getGuiClass() { + return GUIMachineCentrifuge.class; + } + + @Override + public TemplateRecipeHandler newInstance() { + if (fuels == null || fuels.isEmpty()) + fuels = new ArrayList(); + for(ItemStack i : MachineRecipes.instance().getCentrifugeFuels()) + { + fuels.add(new Fuel(i)); + } + return super.newInstance(); + } + + public void loadCraftingRecipes(String outputId, Object... results) { + if ((outputId.equals("centrifugeprocessing")) && getClass() == CentrifugeRecipeHandler.class) { + Map recipes = MachineRecipes.instance().getCentrifugeRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue()[0], (ItemStack)recipe.getValue()[1], (ItemStack)recipe.getValue()[2], (ItemStack)recipe.getValue()[3])); + } + } else { + super.loadCraftingRecipes(outputId, results); + } + } + + public void loadCraftingRecipes(ItemStack result) { + Map recipes = MachineRecipes.instance().getCentrifugeRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + if (NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue()[0], result) || NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue()[1], result) || NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue()[2], result) || NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue()[3], result)) + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue()[0], (ItemStack)recipe.getValue()[1], (ItemStack)recipe.getValue()[2], (ItemStack)recipe.getValue()[3])); + } + } + + public void loadUsageRecipes(String inputId, Object... ingredients) { + if ((inputId.equals("centrifugeprocessing")) && getClass() == CentrifugeRecipeHandler.class) { + loadCraftingRecipes("centrifugeprocessing", new Object[0]); + } else { + super.loadUsageRecipes(inputId, ingredients); + } + } + + public void loadUsageRecipes(ItemStack ingredient) { + Map recipes = MachineRecipes.instance().getCentrifugeRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + if (NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey())) + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue()[0], (ItemStack)recipe.getValue()[1], (ItemStack)recipe.getValue()[2], (ItemStack)recipe.getValue()[3])); + } + } + + @Override + public void drawExtras(int recipe) { + drawProgressBar(21, 24, 195, 55, 16, 16, 48, 7); + + drawProgressBar(56, 5, 176, 0, 54, 54, 48 * 3, 0); + + drawProgressBar(3, 6, 177, 55, 16, 52, 480, 7); + } + + @Override + public void loadTransferRects() { + transferRects.add(new RecipeTransferRect(new Rectangle(56, 5, 54, 54), "centrifugeprocessing")); + } + +} diff --git a/com/hbm/handler/FuelHandler.java b/com/hbm/handler/FuelHandler.java index ddb6b82b4..132190e10 100644 --- a/com/hbm/handler/FuelHandler.java +++ b/com/hbm/handler/FuelHandler.java @@ -1,59 +1,29 @@ -package com.hbm.handler; - -import com.hbm.blocks.ModBlocks; -import com.hbm.items.ModItems; - -import cpw.mods.fml.common.IFuelHandler; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class FuelHandler implements IFuelHandler { - - @Override - public int getBurnTime(ItemStack fuel) { - - int i = 200; - - if(fuel.getItem().equals(ModItems.canister_fuel)) -<<<<<<< HEAD - return i * 16; - if(fuel.getItem().equals(ModItems.powder_coal)) - return i * 8; - if(fuel.getItem().equals(ModItems.scrap)) - return i * 4; - if(fuel.getItem().equals(ModItems.dust)) - return i * 2; - if(fuel.getItem().equals(ModItems.powder_fire)) - return i * 32; - if(fuel.getItem().equals(Item.getItemFromBlock(ModBlocks.block_scrap))) - return i * 20; -======= -<<<<<<< HEAD - return i * 16; - if(fuel.getItem().equals(ModItems.powder_coal)) - return i * 8; - if(fuel.getItem().equals(ModItems.scrap)) - return i * 4; - if(fuel.getItem().equals(ModItems.dust)) - return i * 2; - if(fuel.getItem().equals(ModItems.powder_fire)) - return i * 32; - if(fuel.getItem().equals(Item.getItemFromBlock(ModBlocks.block_scrap))) - return i * 20; -======= - return 3200; - if(fuel.getItem().equals(ModItems.powder_coal)) - return 1600; - if(fuel.getItem().equals(ModItems.scrap)) - return 800; - if(fuel.getItem().equals(ModItems.dust)) - return 400; - if(fuel.getItem().equals(ModItems.powder_fire)) - return 6400; ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - return 0; - } - -} +package com.hbm.handler; + +import com.hbm.blocks.ModBlocks; +import com.hbm.items.ModItems; + +import cpw.mods.fml.common.IFuelHandler; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class FuelHandler implements IFuelHandler { + + @Override + public int getBurnTime(ItemStack fuel) { + + if(fuel.getItem().equals(ModItems.canister_fuel)) + return 3200; + if(fuel.getItem().equals(ModItems.powder_coal)) + return 1600; + if(fuel.getItem().equals(ModItems.scrap)) + return 800; + if(fuel.getItem().equals(ModItems.dust)) + return 400; + if(fuel.getItem().equals(ModItems.powder_fire)) + return 6400; + + return 0; + } + +} diff --git a/com/hbm/handler/GUIHandler.java b/com/hbm/handler/GUIHandler.java index 4b0ba0fd9..c60792588 100644 --- a/com/hbm/handler/GUIHandler.java +++ b/com/hbm/handler/GUIHandler.java @@ -1,700 +1,757 @@ -package com.hbm.handler; - -import com.hbm.blocks.ModBlocks; -import com.hbm.gui.container.ContainerBombMulti; -import com.hbm.gui.container.ContainerCentrifuge; -import com.hbm.gui.container.ContainerConverterHeRf; -import com.hbm.gui.container.ContainerConverterRfHe; -import com.hbm.gui.container.ContainerCoreAdvanced; -import com.hbm.gui.container.ContainerCoreTitanium; -import com.hbm.gui.container.ContainerDiFurnace; -import com.hbm.gui.container.ContainerElectricFurnace; -import com.hbm.gui.container.ContainerFWatzCore; -import com.hbm.gui.container.ContainerFusionMultiblock; -import com.hbm.gui.container.ContainerGenerator; -import com.hbm.gui.container.ContainerLaunchPadTier1; -import com.hbm.gui.container.ContainerMachineBattery; -import com.hbm.gui.container.ContainerMachineCMBFactory; -import com.hbm.gui.container.ContainerMachineCoal; -import com.hbm.gui.container.ContainerMachineDeuterium; -import com.hbm.gui.container.ContainerMachineDiesel; -import com.hbm.gui.container.ContainerMachineSchrabidiumTransmutator; -import com.hbm.gui.container.ContainerMachineShredder; -import com.hbm.gui.container.ContainerMachineTeleporter; -import com.hbm.gui.container.ContainerNukeBoy; -import com.hbm.gui.container.ContainerNukeFleija; -import com.hbm.gui.container.ContainerNukeFurnace; -import com.hbm.gui.container.ContainerNukeGadget; -import com.hbm.gui.container.ContainerNukeMan; -import com.hbm.gui.container.ContainerNukeMike; -import com.hbm.gui.container.ContainerNukePrototype; -import com.hbm.gui.container.ContainerNukeTsar; -import com.hbm.gui.container.ContainerPuF6Tank; -import com.hbm.gui.container.ContainerReactor; -import com.hbm.gui.container.ContainerReactorMultiblock; -import com.hbm.gui.container.ContainerRtgFurnace; -import com.hbm.gui.container.ContainerTestNuke; -import com.hbm.gui.container.ContainerUF6Tank; -import com.hbm.gui.container.ContainerWatzCore; -import com.hbm.gui.gui.GUIBombMulti; -import com.hbm.gui.gui.GUIConverterHeRf; -import com.hbm.gui.gui.GUIConverterRfHe; -import com.hbm.gui.gui.GUICoreAdvanced; -import com.hbm.gui.gui.GUICoreTitanium; -import com.hbm.gui.gui.GUIFWatzCore; -import com.hbm.gui.gui.GUIFusionMultiblock; -import com.hbm.gui.gui.GUILaunchPadTier1; -import com.hbm.gui.gui.GUIMachineBattery; -import com.hbm.gui.gui.GUIMachineCMBFactory; -import com.hbm.gui.gui.GUIMachineCentrifuge; -import com.hbm.gui.gui.GUIMachineCoal; -import com.hbm.gui.gui.GUIMachineDeuterium; -import com.hbm.gui.gui.GUIMachineDiesel; -import com.hbm.gui.gui.GUIMachineElectricFurnace; -import com.hbm.gui.gui.GUIMachineGenerator; -import com.hbm.gui.gui.GUIMachinePuF6Tank; -import com.hbm.gui.gui.GUIMachineReactor; -import com.hbm.gui.gui.GUIMachineSchrabidiumTransmutator; -import com.hbm.gui.gui.GUIMachineShredder; -import com.hbm.gui.gui.GUIMachineTeleporter; -import com.hbm.gui.gui.GUIMachineUF6Tank; -import com.hbm.gui.gui.GUINukeBoy; -import com.hbm.gui.gui.GUINukeFleija; -import com.hbm.gui.gui.GUINukeFurnace; -import com.hbm.gui.gui.GUINukeGadget; -import com.hbm.gui.gui.GUINukeMan; -import com.hbm.gui.gui.GUINukeMike; -import com.hbm.gui.gui.GUINukePrototype; -import com.hbm.gui.gui.GUINukeTsar; -import com.hbm.gui.gui.GUIReactorMultiblock; -import com.hbm.gui.gui.GUIRtgFurnace; -import com.hbm.gui.gui.GUITestDiFurnace; -import com.hbm.gui.gui.GUITestNuke; -import com.hbm.gui.gui.GUIWatzCore; -import com.hbm.tileentity.TileEntityBombMulti; -import com.hbm.tileentity.TileEntityConverterHeRf; -import com.hbm.tileentity.TileEntityConverterRfHe; -import com.hbm.tileentity.TileEntityCoreAdvanced; -import com.hbm.tileentity.TileEntityCoreTitanium; -import com.hbm.tileentity.TileEntityDiFurnace; -import com.hbm.tileentity.TileEntityFWatzCore; -import com.hbm.tileentity.TileEntityFusionMultiblock; -import com.hbm.tileentity.TileEntityLaunchPad; -import com.hbm.tileentity.TileEntityMachineBattery; -import com.hbm.tileentity.TileEntityMachineCMBFactory; -import com.hbm.tileentity.TileEntityMachineCentrifuge; -import com.hbm.tileentity.TileEntityMachineCoal; -import com.hbm.tileentity.TileEntityMachineDeuterium; -import com.hbm.tileentity.TileEntityMachineDiesel; -import com.hbm.tileentity.TileEntityMachineElectricFurnace; -import com.hbm.tileentity.TileEntityMachineGenerator; -import com.hbm.tileentity.TileEntityMachinePuF6Tank; -import com.hbm.tileentity.TileEntityMachineReactor; -import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; -import com.hbm.tileentity.TileEntityMachineShredder; -import com.hbm.tileentity.TileEntityMachineTeleporter; -import com.hbm.tileentity.TileEntityMachineUF6Tank; -import com.hbm.tileentity.TileEntityNukeBoy; -import com.hbm.tileentity.TileEntityNukeFleija; -import com.hbm.tileentity.TileEntityNukeFurnace; -import com.hbm.tileentity.TileEntityNukeGadget; -import com.hbm.tileentity.TileEntityNukeMan; -import com.hbm.tileentity.TileEntityNukeMike; -import com.hbm.tileentity.TileEntityNukePrototype; -import com.hbm.tileentity.TileEntityNukeTsar; -import com.hbm.tileentity.TileEntityReactorMultiblock; -import com.hbm.tileentity.TileEntityRtgFurnace; -import com.hbm.tileentity.TileEntityTestNuke; -import com.hbm.tileentity.TileEntityWatzCore; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; -import cpw.mods.fml.common.network.IGuiHandler; - -public class GUIHandler implements IGuiHandler { - - @Override - public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { - TileEntity entity = world.getTileEntity(x, y, z); - switch(ID) - { - case ModBlocks.guiID_test_difurnace: - { - if(entity instanceof TileEntityDiFurnace) - { - return new ContainerDiFurnace(player.inventory, (TileEntityDiFurnace) entity); - } - return null; - } - - case ModBlocks.guiID_test_nuke: - { - if(entity instanceof TileEntityTestNuke) - { - return new ContainerTestNuke(player.inventory, (TileEntityTestNuke) entity); - } - return null; - } - - case ModBlocks.guiID_nuke_gadget: - { - if(entity instanceof TileEntityNukeGadget) - { - return new ContainerNukeGadget(player.inventory, (TileEntityNukeGadget) entity); - } - } - - case ModBlocks.guiID_nuke_boy: - { - if(entity instanceof TileEntityNukeBoy) - { - return new ContainerNukeBoy(player.inventory, (TileEntityNukeBoy) entity); - } - } - - case ModBlocks.guiID_centrifuge: - { - if(entity instanceof TileEntityMachineCentrifuge) - { - return new ContainerCentrifuge(player.inventory, (TileEntityMachineCentrifuge) entity); - } - } - - case ModBlocks.guiID_nuke_man: - { - if(entity instanceof TileEntityNukeMan) - { - return new ContainerNukeMan(player.inventory, (TileEntityNukeMan) entity); - } - } - - case ModBlocks.guiID_uf6_tank: - { - if(entity instanceof TileEntityMachineUF6Tank) - { - return new ContainerUF6Tank(player.inventory, (TileEntityMachineUF6Tank) entity); - } - } - - case ModBlocks.guiID_puf6_tank: - { - if(entity instanceof TileEntityMachinePuF6Tank) - { - return new ContainerPuF6Tank(player.inventory, (TileEntityMachinePuF6Tank) entity); - } - } - - case ModBlocks.guiID_reactor: - { - if(entity instanceof TileEntityMachineReactor) - { - return new ContainerReactor(player.inventory, (TileEntityMachineReactor) entity); - } - } - - case ModBlocks.guiID_bomb_multi: - { - if(entity instanceof TileEntityBombMulti) - { - return new ContainerBombMulti(player.inventory, (TileEntityBombMulti) entity); - } - } - - case ModBlocks.guiID_nuke_mike: - { - if(entity instanceof TileEntityNukeMike) - { - return new ContainerNukeMike(player.inventory, (TileEntityNukeMike) entity); - } - } - - case ModBlocks.guiID_nuke_tsar: - { - if(entity instanceof TileEntityNukeTsar) - { - return new ContainerNukeTsar(player.inventory, (TileEntityNukeTsar) entity); - } - } - - case ModBlocks.guiID_nuke_furnace: - { - if(entity instanceof TileEntityNukeFurnace) - { - return new ContainerNukeFurnace(player.inventory, (TileEntityNukeFurnace) entity); - } - } - - case ModBlocks.guiID_rtg_furnace: - { - if(entity instanceof TileEntityRtgFurnace) - { - return new ContainerRtgFurnace(player.inventory, (TileEntityRtgFurnace) entity); - } - } - - case ModBlocks.guiID_machine_generator: - { - if(entity instanceof TileEntityMachineGenerator) - { - return new ContainerGenerator(player.inventory, (TileEntityMachineGenerator) entity); - } - } - - case ModBlocks.guiID_electric_furnace: - { - if(entity instanceof TileEntityMachineElectricFurnace) - { - return new ContainerElectricFurnace(player.inventory, (TileEntityMachineElectricFurnace) entity); - } - } - - case ModBlocks.guiID_nuke_fleija: - { - if(entity instanceof TileEntityNukeFleija) - { - return new ContainerNukeFleija(player.inventory, (TileEntityNukeFleija) entity); - } - } - - case ModBlocks.guiID_machine_deuterium: - { - if(entity instanceof TileEntityMachineDeuterium) - { - return new ContainerMachineDeuterium(player.inventory, (TileEntityMachineDeuterium) entity); - } - } - - case ModBlocks.guiID_machine_battery: - { - if(entity instanceof TileEntityMachineBattery) - { - return new ContainerMachineBattery(player.inventory, (TileEntityMachineBattery) entity); - } - } - - case ModBlocks.guiID_machine_coal: - { - if(entity instanceof TileEntityMachineCoal) - { - return new ContainerMachineCoal(player.inventory, (TileEntityMachineCoal) entity); - } - } - - case ModBlocks.guiID_nuke_prototype: - { - if(entity instanceof TileEntityNukePrototype) - { - return new ContainerNukePrototype(player.inventory, (TileEntityNukePrototype) entity); - } - } - - case ModBlocks.guiID_launch_pad: - { - if(entity instanceof TileEntityLaunchPad) - { - return new ContainerLaunchPadTier1(player.inventory, (TileEntityLaunchPad) entity); - } - } - - case ModBlocks.guiID_factory_titanium: - { - if(entity instanceof TileEntityCoreTitanium) - { - return new ContainerCoreTitanium(player.inventory, (TileEntityCoreTitanium) entity); - } - } - - case ModBlocks.guiID_factory_advanced: - { - if(entity instanceof TileEntityCoreAdvanced) - { - return new ContainerCoreAdvanced(player.inventory, (TileEntityCoreAdvanced) entity); - } - } - - case ModBlocks.guiID_reactor_multiblock: - { - if(entity instanceof TileEntityReactorMultiblock) - { - return new ContainerReactorMultiblock(player.inventory, (TileEntityReactorMultiblock) entity); - } - } - - case ModBlocks.guiID_fusion_multiblock: - { - if(entity instanceof TileEntityFusionMultiblock) - { - return new ContainerFusionMultiblock(player.inventory, (TileEntityFusionMultiblock) entity); - } - } - - case ModBlocks.guiID_converter_he_rf: - { - if(entity instanceof TileEntityConverterHeRf) - { - return new ContainerConverterHeRf(player.inventory, (TileEntityConverterHeRf) entity); - } - } - - case ModBlocks.guiID_converter_rf_he: - { - if(entity instanceof TileEntityConverterRfHe) - { - return new ContainerConverterRfHe(player.inventory, (TileEntityConverterRfHe) entity); - } - } - - case ModBlocks.guiID_schrabidium_transmutator: - { - if(entity instanceof TileEntityMachineSchrabidiumTransmutator) - { - return new ContainerMachineSchrabidiumTransmutator(player.inventory, (TileEntityMachineSchrabidiumTransmutator) entity); - } - } - - case ModBlocks.guiID_machine_diesel: - { - if(entity instanceof TileEntityMachineDiesel) - { - return new ContainerMachineDiesel(player.inventory, (TileEntityMachineDiesel) entity); - } - } - - case ModBlocks.guiID_watz_multiblock: - { - if(entity instanceof TileEntityWatzCore) - { - return new ContainerWatzCore(player.inventory, (TileEntityWatzCore) entity); - } - } - - case ModBlocks.guiID_machine_shredder: - { - if(entity instanceof TileEntityMachineShredder) - { - return new ContainerMachineShredder(player.inventory, (TileEntityMachineShredder) entity); - } - } - - case ModBlocks.guiID_combine_factory: - { - if(entity instanceof TileEntityMachineCMBFactory) - { - return new ContainerMachineCMBFactory(player.inventory, (TileEntityMachineCMBFactory) entity); - } - } - - case ModBlocks.guiID_fwatz_multiblock: - { - if(entity instanceof TileEntityFWatzCore) - { - return new ContainerFWatzCore(player.inventory, (TileEntityFWatzCore) entity); - } - } - - case ModBlocks.guiID_machine_teleporter: - { - if(entity instanceof TileEntityMachineTeleporter) - { - return new ContainerMachineTeleporter(player.inventory, (TileEntityMachineTeleporter) entity); - } - } - } - return null; - } - - @Override - public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { - TileEntity entity = world.getTileEntity(x, y, z); - if(entity != null) - { - switch(ID) - { - case ModBlocks.guiID_test_difurnace: - { - if(entity instanceof TileEntityDiFurnace) - { - return new GUITestDiFurnace(player.inventory, (TileEntityDiFurnace) entity); - } - return null; - } - - case ModBlocks.guiID_test_nuke: - { - if(entity instanceof TileEntityTestNuke) - { - return new GUITestNuke(player.inventory, (TileEntityTestNuke) entity); - } - return null; - } - - case ModBlocks.guiID_nuke_gadget: - { - if(entity instanceof TileEntityNukeGadget) - { - return new GUINukeGadget(player.inventory, (TileEntityNukeGadget) entity); - } - } - - case ModBlocks.guiID_nuke_boy: - { - if(entity instanceof TileEntityNukeBoy) - { - return new GUINukeBoy(player.inventory, (TileEntityNukeBoy) entity); - } - } - - case ModBlocks.guiID_centrifuge: - { - if(entity instanceof TileEntityMachineCentrifuge) - { - return new GUIMachineCentrifuge(player.inventory, (TileEntityMachineCentrifuge) entity); - } - } - - case ModBlocks.guiID_nuke_man: - { - if(entity instanceof TileEntityNukeMan) - { - return new GUINukeMan(player.inventory, (TileEntityNukeMan) entity); - } - } - - case ModBlocks.guiID_uf6_tank: - { - if(entity instanceof TileEntityMachineUF6Tank) - { - return new GUIMachineUF6Tank(player.inventory, (TileEntityMachineUF6Tank) entity); - } - } - - case ModBlocks.guiID_puf6_tank: - { - if(entity instanceof TileEntityMachinePuF6Tank) - { - return new GUIMachinePuF6Tank(player.inventory, (TileEntityMachinePuF6Tank) entity); - } - } - - case ModBlocks.guiID_reactor: - { - if(entity instanceof TileEntityMachineReactor) - { - return new GUIMachineReactor(player.inventory, (TileEntityMachineReactor) entity); - } - } - - case ModBlocks.guiID_bomb_multi: - { - if(entity instanceof TileEntityBombMulti) - { - return new GUIBombMulti(player.inventory, (TileEntityBombMulti) entity); - } - } - - case ModBlocks.guiID_nuke_mike: - { - if(entity instanceof TileEntityNukeMike) - { - return new GUINukeMike(player.inventory, (TileEntityNukeMike) entity); - } - } - - case ModBlocks.guiID_nuke_tsar: - { - if(entity instanceof TileEntityNukeTsar) - { - return new GUINukeTsar(player.inventory, (TileEntityNukeTsar) entity); - } - } - - case ModBlocks.guiID_nuke_furnace: - { - if(entity instanceof TileEntityNukeFurnace) - { - return new GUINukeFurnace(player.inventory, (TileEntityNukeFurnace) entity); - } - } - - case ModBlocks.guiID_rtg_furnace: - { - if(entity instanceof TileEntityRtgFurnace) - { - return new GUIRtgFurnace(player.inventory, (TileEntityRtgFurnace) entity); - } - } - - case ModBlocks.guiID_machine_generator: - { - if(entity instanceof TileEntityMachineGenerator) - { - return new GUIMachineGenerator(player.inventory, (TileEntityMachineGenerator) entity); - } - } - - case ModBlocks.guiID_electric_furnace: - { - if(entity instanceof TileEntityMachineElectricFurnace) - { - return new GUIMachineElectricFurnace(player.inventory, (TileEntityMachineElectricFurnace) entity); - } - } - - case ModBlocks.guiID_nuke_fleija: - { - if(entity instanceof TileEntityNukeFleija) - { - return new GUINukeFleija(player.inventory, (TileEntityNukeFleija) entity); - } - } - - case ModBlocks.guiID_machine_deuterium: - { - if(entity instanceof TileEntityMachineDeuterium) - { - return new GUIMachineDeuterium(player.inventory, (TileEntityMachineDeuterium) entity); - } - } - - case ModBlocks.guiID_machine_battery: - { - if(entity instanceof TileEntityMachineBattery) - { - return new GUIMachineBattery(player.inventory, (TileEntityMachineBattery) entity); - } - } - - case ModBlocks.guiID_machine_coal: - { - if(entity instanceof TileEntityMachineCoal) - { - return new GUIMachineCoal(player.inventory, (TileEntityMachineCoal) entity); - } - } - - case ModBlocks.guiID_nuke_prototype: - { - if(entity instanceof TileEntityNukePrototype) - { - return new GUINukePrototype(player.inventory, (TileEntityNukePrototype) entity); - } - } - - case ModBlocks.guiID_launch_pad: - { - if(entity instanceof TileEntityLaunchPad) - { - return new GUILaunchPadTier1(player.inventory, (TileEntityLaunchPad) entity); - } - } - - case ModBlocks.guiID_factory_titanium: - { - if(entity instanceof TileEntityCoreTitanium) - { - return new GUICoreTitanium(player.inventory, (TileEntityCoreTitanium) entity); - } - } - - case ModBlocks.guiID_factory_advanced: - { - if(entity instanceof TileEntityCoreAdvanced) - { - return new GUICoreAdvanced(player.inventory, (TileEntityCoreAdvanced) entity); - } - } - - case ModBlocks.guiID_reactor_multiblock: - { - if(entity instanceof TileEntityReactorMultiblock) - { - return new GUIReactorMultiblock(player.inventory, (TileEntityReactorMultiblock) entity); - } - } - - case ModBlocks.guiID_fusion_multiblock: - { - if(entity instanceof TileEntityFusionMultiblock) - { - return new GUIFusionMultiblock(player.inventory, (TileEntityFusionMultiblock) entity); - } - } - - case ModBlocks.guiID_converter_he_rf: - { - if(entity instanceof TileEntityConverterHeRf) - { - return new GUIConverterHeRf(player.inventory, (TileEntityConverterHeRf) entity); - } - } - - case ModBlocks.guiID_converter_rf_he: - { - if(entity instanceof TileEntityConverterRfHe) - { - return new GUIConverterRfHe(player.inventory, (TileEntityConverterRfHe) entity); - } - } - - case ModBlocks.guiID_schrabidium_transmutator: - { - if(entity instanceof TileEntityMachineSchrabidiumTransmutator) - { - return new GUIMachineSchrabidiumTransmutator(player.inventory, (TileEntityMachineSchrabidiumTransmutator) entity); - } - } - - case ModBlocks.guiID_machine_diesel: - { - if(entity instanceof TileEntityMachineDiesel) - { - return new GUIMachineDiesel(player.inventory, (TileEntityMachineDiesel) entity); - } - } - - case ModBlocks.guiID_watz_multiblock: - { - if(entity instanceof TileEntityWatzCore) - { - return new GUIWatzCore(player.inventory, (TileEntityWatzCore) entity); - } - } - - case ModBlocks.guiID_machine_shredder: - { - if(entity instanceof TileEntityMachineShredder) - { - return new GUIMachineShredder(player.inventory, (TileEntityMachineShredder) entity); - } - } - - case ModBlocks.guiID_combine_factory: - { - if(entity instanceof TileEntityMachineCMBFactory) - { - return new GUIMachineCMBFactory(player.inventory, (TileEntityMachineCMBFactory) entity); - } - } - - case ModBlocks.guiID_fwatz_multiblock: - { - if(entity instanceof TileEntityFWatzCore) - { - return new GUIFWatzCore(player.inventory, (TileEntityFWatzCore) entity); - } - } - - case ModBlocks.guiID_machine_teleporter: - { - if(entity instanceof TileEntityMachineTeleporter) - { - return new GUIMachineTeleporter(player.inventory, (TileEntityMachineTeleporter) entity); - } - } - } - } - return null; - } - -} +package com.hbm.handler; + +import com.hbm.blocks.ModBlocks; +import com.hbm.gui.container.ContainerBombMulti; +import com.hbm.gui.container.ContainerCentrifuge; +import com.hbm.gui.container.ContainerConverterHeRf; +import com.hbm.gui.container.ContainerConverterRfHe; +import com.hbm.gui.container.ContainerCoreAdvanced; +import com.hbm.gui.container.ContainerCoreTitanium; +import com.hbm.gui.container.ContainerDiFurnace; +import com.hbm.gui.container.ContainerElectricFurnace; +import com.hbm.gui.container.ContainerFWatzCore; +import com.hbm.gui.container.ContainerFusionMultiblock; +import com.hbm.gui.container.ContainerGenerator; +import com.hbm.gui.container.ContainerIGenerator; +import com.hbm.gui.container.ContainerLaunchPadTier1; +import com.hbm.gui.container.ContainerMachineBattery; +import com.hbm.gui.container.ContainerMachineCMBFactory; +import com.hbm.gui.container.ContainerMachineCoal; +import com.hbm.gui.container.ContainerMachineDeuterium; +import com.hbm.gui.container.ContainerMachineDiesel; +import com.hbm.gui.container.ContainerMachineSchrabidiumTransmutator; +import com.hbm.gui.container.ContainerMachineShredder; +import com.hbm.gui.container.ContainerMachineTeleporter; +import com.hbm.gui.container.ContainerNukeBoy; +import com.hbm.gui.container.ContainerNukeCustom; +import com.hbm.gui.container.ContainerNukeFleija; +import com.hbm.gui.container.ContainerNukeFurnace; +import com.hbm.gui.container.ContainerNukeGadget; +import com.hbm.gui.container.ContainerNukeMan; +import com.hbm.gui.container.ContainerNukeMike; +import com.hbm.gui.container.ContainerNukePrototype; +import com.hbm.gui.container.ContainerNukeTsar; +import com.hbm.gui.container.ContainerPuF6Tank; +import com.hbm.gui.container.ContainerReactor; +import com.hbm.gui.container.ContainerReactorMultiblock; +import com.hbm.gui.container.ContainerReiXMainframe; +import com.hbm.gui.container.ContainerRtgFurnace; +import com.hbm.gui.container.ContainerTestNuke; +import com.hbm.gui.container.ContainerUF6Tank; +import com.hbm.gui.container.ContainerWatzCore; +import com.hbm.gui.gui.GUIBombMulti; +import com.hbm.gui.gui.GUIConverterHeRf; +import com.hbm.gui.gui.GUIConverterRfHe; +import com.hbm.gui.gui.GUICoreAdvanced; +import com.hbm.gui.gui.GUICoreTitanium; +import com.hbm.gui.gui.GUIFWatzCore; +import com.hbm.gui.gui.GUIFusionMultiblock; +import com.hbm.gui.gui.GUIIGenerator; +import com.hbm.gui.gui.GUILaunchPadTier1; +import com.hbm.gui.gui.GUIMachineBattery; +import com.hbm.gui.gui.GUIMachineCMBFactory; +import com.hbm.gui.gui.GUIMachineCentrifuge; +import com.hbm.gui.gui.GUIMachineCoal; +import com.hbm.gui.gui.GUIMachineDeuterium; +import com.hbm.gui.gui.GUIMachineDiesel; +import com.hbm.gui.gui.GUIMachineElectricFurnace; +import com.hbm.gui.gui.GUIMachineGenerator; +import com.hbm.gui.gui.GUIMachinePuF6Tank; +import com.hbm.gui.gui.GUIMachineReactor; +import com.hbm.gui.gui.GUIMachineSchrabidiumTransmutator; +import com.hbm.gui.gui.GUIMachineShredder; +import com.hbm.gui.gui.GUIMachineTeleporter; +import com.hbm.gui.gui.GUIMachineUF6Tank; +import com.hbm.gui.gui.GUINukeBoy; +import com.hbm.gui.gui.GUINukeCustom; +import com.hbm.gui.gui.GUINukeFleija; +import com.hbm.gui.gui.GUINukeFurnace; +import com.hbm.gui.gui.GUINukeGadget; +import com.hbm.gui.gui.GUINukeMan; +import com.hbm.gui.gui.GUINukeMike; +import com.hbm.gui.gui.GUINukePrototype; +import com.hbm.gui.gui.GUINukeTsar; +import com.hbm.gui.gui.GUIReactorMultiblock; +import com.hbm.gui.gui.GUIReiXMainframe; +import com.hbm.gui.gui.GUIRtgFurnace; +import com.hbm.gui.gui.GUITestDiFurnace; +import com.hbm.gui.gui.GUITestNuke; +import com.hbm.gui.gui.GUIWatzCore; +import com.hbm.tileentity.TileEntityBombMulti; +import com.hbm.tileentity.TileEntityConverterHeRf; +import com.hbm.tileentity.TileEntityConverterRfHe; +import com.hbm.tileentity.TileEntityCoreAdvanced; +import com.hbm.tileentity.TileEntityCoreTitanium; +import com.hbm.tileentity.TileEntityDiFurnace; +import com.hbm.tileentity.TileEntityFWatzCore; +import com.hbm.tileentity.TileEntityFusionMultiblock; +import com.hbm.tileentity.TileEntityIGenerator; +import com.hbm.tileentity.TileEntityLaunchPad; +import com.hbm.tileentity.TileEntityMachineBattery; +import com.hbm.tileentity.TileEntityMachineCMBFactory; +import com.hbm.tileentity.TileEntityMachineCentrifuge; +import com.hbm.tileentity.TileEntityMachineCoal; +import com.hbm.tileentity.TileEntityMachineDeuterium; +import com.hbm.tileentity.TileEntityMachineDiesel; +import com.hbm.tileentity.TileEntityMachineElectricFurnace; +import com.hbm.tileentity.TileEntityMachineGenerator; +import com.hbm.tileentity.TileEntityMachinePuF6Tank; +import com.hbm.tileentity.TileEntityMachineReactor; +import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; +import com.hbm.tileentity.TileEntityMachineShredder; +import com.hbm.tileentity.TileEntityMachineTeleporter; +import com.hbm.tileentity.TileEntityMachineUF6Tank; +import com.hbm.tileentity.TileEntityNukeBoy; +import com.hbm.tileentity.TileEntityNukeCustom; +import com.hbm.tileentity.TileEntityNukeFleija; +import com.hbm.tileentity.TileEntityNukeFurnace; +import com.hbm.tileentity.TileEntityNukeGadget; +import com.hbm.tileentity.TileEntityNukeMan; +import com.hbm.tileentity.TileEntityNukeMike; +import com.hbm.tileentity.TileEntityNukePrototype; +import com.hbm.tileentity.TileEntityNukeTsar; +import com.hbm.tileentity.TileEntityReactorMultiblock; +import com.hbm.tileentity.TileEntityReiXMainframe; +import com.hbm.tileentity.TileEntityRtgFurnace; +import com.hbm.tileentity.TileEntityTestNuke; +import com.hbm.tileentity.TileEntityWatzCore; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; +import cpw.mods.fml.common.network.IGuiHandler; + +public class GUIHandler implements IGuiHandler { + + @Override + public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { + TileEntity entity = world.getTileEntity(x, y, z); + switch(ID) + { + case ModBlocks.guiID_test_difurnace: + { + if(entity instanceof TileEntityDiFurnace) + { + return new ContainerDiFurnace(player.inventory, (TileEntityDiFurnace) entity); + } + return null; + } + + case ModBlocks.guiID_test_nuke: + { + if(entity instanceof TileEntityTestNuke) + { + return new ContainerTestNuke(player.inventory, (TileEntityTestNuke) entity); + } + return null; + } + + case ModBlocks.guiID_nuke_gadget: + { + if(entity instanceof TileEntityNukeGadget) + { + return new ContainerNukeGadget(player.inventory, (TileEntityNukeGadget) entity); + } + } + + case ModBlocks.guiID_nuke_boy: + { + if(entity instanceof TileEntityNukeBoy) + { + return new ContainerNukeBoy(player.inventory, (TileEntityNukeBoy) entity); + } + } + + case ModBlocks.guiID_centrifuge: + { + if(entity instanceof TileEntityMachineCentrifuge) + { + return new ContainerCentrifuge(player.inventory, (TileEntityMachineCentrifuge) entity); + } + } + + case ModBlocks.guiID_nuke_man: + { + if(entity instanceof TileEntityNukeMan) + { + return new ContainerNukeMan(player.inventory, (TileEntityNukeMan) entity); + } + } + + case ModBlocks.guiID_uf6_tank: + { + if(entity instanceof TileEntityMachineUF6Tank) + { + return new ContainerUF6Tank(player.inventory, (TileEntityMachineUF6Tank) entity); + } + } + + case ModBlocks.guiID_puf6_tank: + { + if(entity instanceof TileEntityMachinePuF6Tank) + { + return new ContainerPuF6Tank(player.inventory, (TileEntityMachinePuF6Tank) entity); + } + } + + case ModBlocks.guiID_reactor: + { + if(entity instanceof TileEntityMachineReactor) + { + return new ContainerReactor(player.inventory, (TileEntityMachineReactor) entity); + } + } + + case ModBlocks.guiID_bomb_multi: + { + if(entity instanceof TileEntityBombMulti) + { + return new ContainerBombMulti(player.inventory, (TileEntityBombMulti) entity); + } + } + + case ModBlocks.guiID_nuke_mike: + { + if(entity instanceof TileEntityNukeMike) + { + return new ContainerNukeMike(player.inventory, (TileEntityNukeMike) entity); + } + } + + case ModBlocks.guiID_nuke_tsar: + { + if(entity instanceof TileEntityNukeTsar) + { + return new ContainerNukeTsar(player.inventory, (TileEntityNukeTsar) entity); + } + } + + case ModBlocks.guiID_nuke_furnace: + { + if(entity instanceof TileEntityNukeFurnace) + { + return new ContainerNukeFurnace(player.inventory, (TileEntityNukeFurnace) entity); + } + } + + case ModBlocks.guiID_rtg_furnace: + { + if(entity instanceof TileEntityRtgFurnace) + { + return new ContainerRtgFurnace(player.inventory, (TileEntityRtgFurnace) entity); + } + } + + case ModBlocks.guiID_machine_generator: + { + if(entity instanceof TileEntityMachineGenerator) + { + return new ContainerGenerator(player.inventory, (TileEntityMachineGenerator) entity); + } + } + + case ModBlocks.guiID_electric_furnace: + { + if(entity instanceof TileEntityMachineElectricFurnace) + { + return new ContainerElectricFurnace(player.inventory, (TileEntityMachineElectricFurnace) entity); + } + } + + case ModBlocks.guiID_nuke_fleija: + { + if(entity instanceof TileEntityNukeFleija) + { + return new ContainerNukeFleija(player.inventory, (TileEntityNukeFleija) entity); + } + } + + case ModBlocks.guiID_machine_deuterium: + { + if(entity instanceof TileEntityMachineDeuterium) + { + return new ContainerMachineDeuterium(player.inventory, (TileEntityMachineDeuterium) entity); + } + } + + case ModBlocks.guiID_machine_battery: + { + if(entity instanceof TileEntityMachineBattery) + { + return new ContainerMachineBattery(player.inventory, (TileEntityMachineBattery) entity); + } + } + + case ModBlocks.guiID_machine_coal: + { + if(entity instanceof TileEntityMachineCoal) + { + return new ContainerMachineCoal(player.inventory, (TileEntityMachineCoal) entity); + } + } + + case ModBlocks.guiID_nuke_prototype: + { + if(entity instanceof TileEntityNukePrototype) + { + return new ContainerNukePrototype(player.inventory, (TileEntityNukePrototype) entity); + } + } + + case ModBlocks.guiID_launch_pad: + { + if(entity instanceof TileEntityLaunchPad) + { + return new ContainerLaunchPadTier1(player.inventory, (TileEntityLaunchPad) entity); + } + } + + case ModBlocks.guiID_factory_titanium: + { + if(entity instanceof TileEntityCoreTitanium) + { + return new ContainerCoreTitanium(player.inventory, (TileEntityCoreTitanium) entity); + } + } + + case ModBlocks.guiID_factory_advanced: + { + if(entity instanceof TileEntityCoreAdvanced) + { + return new ContainerCoreAdvanced(player.inventory, (TileEntityCoreAdvanced) entity); + } + } + + case ModBlocks.guiID_reactor_multiblock: + { + if(entity instanceof TileEntityReactorMultiblock) + { + return new ContainerReactorMultiblock(player.inventory, (TileEntityReactorMultiblock) entity); + } + } + + case ModBlocks.guiID_fusion_multiblock: + { + if(entity instanceof TileEntityFusionMultiblock) + { + return new ContainerFusionMultiblock(player.inventory, (TileEntityFusionMultiblock) entity); + } + } + + case ModBlocks.guiID_converter_he_rf: + { + if(entity instanceof TileEntityConverterHeRf) + { + return new ContainerConverterHeRf(player.inventory, (TileEntityConverterHeRf) entity); + } + } + + case ModBlocks.guiID_converter_rf_he: + { + if(entity instanceof TileEntityConverterRfHe) + { + return new ContainerConverterRfHe(player.inventory, (TileEntityConverterRfHe) entity); + } + } + + case ModBlocks.guiID_schrabidium_transmutator: + { + if(entity instanceof TileEntityMachineSchrabidiumTransmutator) + { + return new ContainerMachineSchrabidiumTransmutator(player.inventory, (TileEntityMachineSchrabidiumTransmutator) entity); + } + } + + case ModBlocks.guiID_machine_diesel: + { + if(entity instanceof TileEntityMachineDiesel) + { + return new ContainerMachineDiesel(player.inventory, (TileEntityMachineDiesel) entity); + } + } + + case ModBlocks.guiID_watz_multiblock: + { + if(entity instanceof TileEntityWatzCore) + { + return new ContainerWatzCore(player.inventory, (TileEntityWatzCore) entity); + } + } + + case ModBlocks.guiID_machine_shredder: + { + if(entity instanceof TileEntityMachineShredder) + { + return new ContainerMachineShredder(player.inventory, (TileEntityMachineShredder) entity); + } + } + + case ModBlocks.guiID_combine_factory: + { + if(entity instanceof TileEntityMachineCMBFactory) + { + return new ContainerMachineCMBFactory(player.inventory, (TileEntityMachineCMBFactory) entity); + } + } + + case ModBlocks.guiID_fwatz_multiblock: + { + if(entity instanceof TileEntityFWatzCore) + { + return new ContainerFWatzCore(player.inventory, (TileEntityFWatzCore) entity); + } + } + + case ModBlocks.guiID_machine_teleporter: + { + if(entity instanceof TileEntityMachineTeleporter) + { + return new ContainerMachineTeleporter(player.inventory, (TileEntityMachineTeleporter) entity); + } + } + + case ModBlocks.guiID_nuke_custom: + { + if(entity instanceof TileEntityNukeCustom) + { + return new ContainerNukeCustom(player.inventory, (TileEntityNukeCustom) entity); + } + } + + case ModBlocks.guiID_machine_reix_mainframe: + { + if(entity instanceof TileEntityReiXMainframe) + { + return new ContainerReiXMainframe(player.inventory, (TileEntityReiXMainframe) entity); + } + } + + case ModBlocks.guiID_machine_industrial_generator: + { + if(entity instanceof TileEntityIGenerator) + { + return new ContainerIGenerator(player.inventory, (TileEntityIGenerator) entity); + } + } + } + return null; + } + + @Override + public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { + TileEntity entity = world.getTileEntity(x, y, z); + if(entity != null) + { + switch(ID) + { + case ModBlocks.guiID_test_difurnace: + { + if(entity instanceof TileEntityDiFurnace) + { + return new GUITestDiFurnace(player.inventory, (TileEntityDiFurnace) entity); + } + return null; + } + + case ModBlocks.guiID_test_nuke: + { + if(entity instanceof TileEntityTestNuke) + { + return new GUITestNuke(player.inventory, (TileEntityTestNuke) entity); + } + return null; + } + + case ModBlocks.guiID_nuke_gadget: + { + if(entity instanceof TileEntityNukeGadget) + { + return new GUINukeGadget(player.inventory, (TileEntityNukeGadget) entity); + } + } + + case ModBlocks.guiID_nuke_boy: + { + if(entity instanceof TileEntityNukeBoy) + { + return new GUINukeBoy(player.inventory, (TileEntityNukeBoy) entity); + } + } + + case ModBlocks.guiID_centrifuge: + { + if(entity instanceof TileEntityMachineCentrifuge) + { + return new GUIMachineCentrifuge(player.inventory, (TileEntityMachineCentrifuge) entity); + } + } + + case ModBlocks.guiID_nuke_man: + { + if(entity instanceof TileEntityNukeMan) + { + return new GUINukeMan(player.inventory, (TileEntityNukeMan) entity); + } + } + + case ModBlocks.guiID_uf6_tank: + { + if(entity instanceof TileEntityMachineUF6Tank) + { + return new GUIMachineUF6Tank(player.inventory, (TileEntityMachineUF6Tank) entity); + } + } + + case ModBlocks.guiID_puf6_tank: + { + if(entity instanceof TileEntityMachinePuF6Tank) + { + return new GUIMachinePuF6Tank(player.inventory, (TileEntityMachinePuF6Tank) entity); + } + } + + case ModBlocks.guiID_reactor: + { + if(entity instanceof TileEntityMachineReactor) + { + return new GUIMachineReactor(player.inventory, (TileEntityMachineReactor) entity); + } + } + + case ModBlocks.guiID_bomb_multi: + { + if(entity instanceof TileEntityBombMulti) + { + return new GUIBombMulti(player.inventory, (TileEntityBombMulti) entity); + } + } + + case ModBlocks.guiID_nuke_mike: + { + if(entity instanceof TileEntityNukeMike) + { + return new GUINukeMike(player.inventory, (TileEntityNukeMike) entity); + } + } + + case ModBlocks.guiID_nuke_tsar: + { + if(entity instanceof TileEntityNukeTsar) + { + return new GUINukeTsar(player.inventory, (TileEntityNukeTsar) entity); + } + } + + case ModBlocks.guiID_nuke_furnace: + { + if(entity instanceof TileEntityNukeFurnace) + { + return new GUINukeFurnace(player.inventory, (TileEntityNukeFurnace) entity); + } + } + + case ModBlocks.guiID_rtg_furnace: + { + if(entity instanceof TileEntityRtgFurnace) + { + return new GUIRtgFurnace(player.inventory, (TileEntityRtgFurnace) entity); + } + } + + case ModBlocks.guiID_machine_generator: + { + if(entity instanceof TileEntityMachineGenerator) + { + return new GUIMachineGenerator(player.inventory, (TileEntityMachineGenerator) entity); + } + } + + case ModBlocks.guiID_electric_furnace: + { + if(entity instanceof TileEntityMachineElectricFurnace) + { + return new GUIMachineElectricFurnace(player.inventory, (TileEntityMachineElectricFurnace) entity); + } + } + + case ModBlocks.guiID_nuke_fleija: + { + if(entity instanceof TileEntityNukeFleija) + { + return new GUINukeFleija(player.inventory, (TileEntityNukeFleija) entity); + } + } + + case ModBlocks.guiID_machine_deuterium: + { + if(entity instanceof TileEntityMachineDeuterium) + { + return new GUIMachineDeuterium(player.inventory, (TileEntityMachineDeuterium) entity); + } + } + + case ModBlocks.guiID_machine_battery: + { + if(entity instanceof TileEntityMachineBattery) + { + return new GUIMachineBattery(player.inventory, (TileEntityMachineBattery) entity); + } + } + + case ModBlocks.guiID_machine_coal: + { + if(entity instanceof TileEntityMachineCoal) + { + return new GUIMachineCoal(player.inventory, (TileEntityMachineCoal) entity); + } + } + + case ModBlocks.guiID_nuke_prototype: + { + if(entity instanceof TileEntityNukePrototype) + { + return new GUINukePrototype(player.inventory, (TileEntityNukePrototype) entity); + } + } + + case ModBlocks.guiID_launch_pad: + { + if(entity instanceof TileEntityLaunchPad) + { + return new GUILaunchPadTier1(player.inventory, (TileEntityLaunchPad) entity); + } + } + + case ModBlocks.guiID_factory_titanium: + { + if(entity instanceof TileEntityCoreTitanium) + { + return new GUICoreTitanium(player.inventory, (TileEntityCoreTitanium) entity); + } + } + + case ModBlocks.guiID_factory_advanced: + { + if(entity instanceof TileEntityCoreAdvanced) + { + return new GUICoreAdvanced(player.inventory, (TileEntityCoreAdvanced) entity); + } + } + + case ModBlocks.guiID_reactor_multiblock: + { + if(entity instanceof TileEntityReactorMultiblock) + { + return new GUIReactorMultiblock(player.inventory, (TileEntityReactorMultiblock) entity); + } + } + + case ModBlocks.guiID_fusion_multiblock: + { + if(entity instanceof TileEntityFusionMultiblock) + { + return new GUIFusionMultiblock(player.inventory, (TileEntityFusionMultiblock) entity); + } + } + + case ModBlocks.guiID_converter_he_rf: + { + if(entity instanceof TileEntityConverterHeRf) + { + return new GUIConverterHeRf(player.inventory, (TileEntityConverterHeRf) entity); + } + } + + case ModBlocks.guiID_converter_rf_he: + { + if(entity instanceof TileEntityConverterRfHe) + { + return new GUIConverterRfHe(player.inventory, (TileEntityConverterRfHe) entity); + } + } + + case ModBlocks.guiID_schrabidium_transmutator: + { + if(entity instanceof TileEntityMachineSchrabidiumTransmutator) + { + return new GUIMachineSchrabidiumTransmutator(player.inventory, (TileEntityMachineSchrabidiumTransmutator) entity); + } + } + + case ModBlocks.guiID_machine_diesel: + { + if(entity instanceof TileEntityMachineDiesel) + { + return new GUIMachineDiesel(player.inventory, (TileEntityMachineDiesel) entity); + } + } + + case ModBlocks.guiID_watz_multiblock: + { + if(entity instanceof TileEntityWatzCore) + { + return new GUIWatzCore(player.inventory, (TileEntityWatzCore) entity); + } + } + + case ModBlocks.guiID_machine_shredder: + { + if(entity instanceof TileEntityMachineShredder) + { + return new GUIMachineShredder(player.inventory, (TileEntityMachineShredder) entity); + } + } + + case ModBlocks.guiID_combine_factory: + { + if(entity instanceof TileEntityMachineCMBFactory) + { + return new GUIMachineCMBFactory(player.inventory, (TileEntityMachineCMBFactory) entity); + } + } + + case ModBlocks.guiID_fwatz_multiblock: + { + if(entity instanceof TileEntityFWatzCore) + { + return new GUIFWatzCore(player.inventory, (TileEntityFWatzCore) entity); + } + } + + case ModBlocks.guiID_machine_teleporter: + { + if(entity instanceof TileEntityMachineTeleporter) + { + return new GUIMachineTeleporter(player.inventory, (TileEntityMachineTeleporter) entity); + } + } + + case ModBlocks.guiID_nuke_custom: + { + if(entity instanceof TileEntityNukeCustom) + { + return new GUINukeCustom(player.inventory, (TileEntityNukeCustom) entity); + } + } + + case ModBlocks.guiID_machine_reix_mainframe: + { + if(entity instanceof TileEntityReiXMainframe) + { + return new GUIReiXMainframe(player.inventory, (TileEntityReiXMainframe) entity); + } + } + + case ModBlocks.guiID_machine_industrial_generator: + { + if(entity instanceof TileEntityIGenerator) + { + return new GUIIGenerator(player.inventory, (TileEntityIGenerator) entity); + } + } + } + } + return null; + } + +} diff --git a/com/hbm/handler/MultiblockHandler.java b/com/hbm/handler/MultiblockHandler.java new file mode 100644 index 000000000..242b0a857 --- /dev/null +++ b/com/hbm/handler/MultiblockHandler.java @@ -0,0 +1,111 @@ +package com.hbm.handler; + +import com.hbm.blocks.ModBlocks; +import com.hbm.interfaces.IDummy; +import com.hbm.tileentity.TileEntityDummy; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class MultiblockHandler { + + public enum EnumDirection { North, East, South, West }; + // 2 5 3 4 + // -z +x +z -x + + public static int EnumToInt(EnumDirection dir) { + if(dir == EnumDirection.North) + return 2; + if(dir == EnumDirection.East) + return 5; + if(dir == EnumDirection.South) + return 3; + if(dir == EnumDirection.West) + return 4; + return 0; + } + public static EnumDirection IntToEnum(int dir) { + if(dir == 2) + return EnumDirection.North; + if(dir == 5) + return EnumDirection.East; + if(dir == 3) + return EnumDirection.South; + if(dir == 4) + return EnumDirection.West; + return EnumDirection.North; + } + + //Approved! + public static final int[] iGenDimensionNorth = new int[] { 1, 1, 2, 0, 3, 2 }; + public static final int[] iGenDimensionEast = new int[] { 2, 3, 2, 0, 1, 1 }; + public static final int[] iGenDimensionSouth = new int[] { 1, 1, 2, 0, 2, 3 }; + public static final int[] iGenDimensionWest = new int[] { 3, 2, 2, 0, 1, 1 }; + public static final int[] centDimension = new int[] { 0, 0, 2, 0, 0, 0 }; + + //Approved! + public static boolean checkSpace(World world, int x, int y, int z, int[] i) { + boolean placable = true; + + for(int a = x - i[1]; a <= x + i[0]; a++) { + for(int b = y - i[3]; b <= y + i[2]; b++) { + for(int c = z - i[5]; c <= z + i[4]; c++) { + if(!(a == x && b == y && c == z)) { + Block block = world.getBlock(a, b, c); + if(block != Blocks.air && !block.isReplaceable(world, a, b, c)) { + placable = false; + } + } + } + } + } + + return placable; + } + + public static boolean fillUp(World world, int x, int y, int z, int[] i, Block block) { + boolean placable = true; + + for(int a = x - i[1]; a <= x + i[0]; a++) { + for(int b = y - i[3]; b <= y + i[2]; b++) { + for(int c = z - i[5]; c <= z + i[4]; c++) { + if(!(a == x && b == y && c == z)) { + if(!world.isRemote) + world.setBlock(a, b, c, block); + TileEntity te = world.getTileEntity(a, b, c); + if(te instanceof TileEntityDummy) { + TileEntityDummy dummy = (TileEntityDummy)te; + dummy.targetX = x; + dummy.targetY = y; + dummy.targetZ = z; + } + } + } + } + } + + return placable; + } + + public static boolean removeAll(World world, int x, int y, int z, int[] i) { + boolean placable = true; + + for(int a = x - i[1]; a <= x + i[0]; a++) { + for(int b = y - i[3]; b <= y + i[2]; b++) { + for(int c = z - i[5]; c <= z + i[4]; c++) { + if(!(a == x && b == y && c == z)) { + if(world.getBlock(a, b, c) instanceof IDummy) + if(!world.isRemote) { + world.func_147480_a(a, b, c, false); + } + } + } + } + } + + return placable; + } +} diff --git a/com/hbm/handler/ReactorRecipeHandler.java b/com/hbm/handler/ReactorRecipeHandler.java index 0b671d243..4c3cf7dda 100644 --- a/com/hbm/handler/ReactorRecipeHandler.java +++ b/com/hbm/handler/ReactorRecipeHandler.java @@ -1,137 +1,137 @@ -package com.hbm.handler; - -import java.awt.Rectangle; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Map; - -import com.hbm.gui.MachineRecipes; -import com.hbm.gui.gui.GUIMachineReactor; -import com.hbm.gui.gui.GUITestDiFurnace; -import com.hbm.handler.AlloyFurnaceRecipeHandler.Fuel; -import com.hbm.handler.AlloyFurnaceRecipeHandler.SmeltingSet; - -import codechicken.nei.NEIServerUtils; -import codechicken.nei.PositionedStack; -import codechicken.nei.api.IOverlayHandler; -import codechicken.nei.api.IRecipeOverlayRenderer; -import codechicken.nei.recipe.FurnaceRecipeHandler; -import codechicken.nei.recipe.GuiRecipe; -import codechicken.nei.recipe.ICraftingHandler; -import codechicken.nei.recipe.TemplateRecipeHandler; -import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRect; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.inventory.Container; -import net.minecraft.item.ItemStack; - -public class ReactorRecipeHandler extends TemplateRecipeHandler { - - public static ArrayList fuels; - - public class SmeltingSet extends TemplateRecipeHandler.CachedRecipe - { - PositionedStack input; - PositionedStack result; - - public SmeltingSet(ItemStack input, ItemStack result) { - input.stackSize = 1; - this.input = new PositionedStack(input, 51, 6); - this.result = new PositionedStack(result, 111, 24); - } - - public List getIngredients() { - return getCycledIngredients(cycleticks / 48, Arrays.asList(new PositionedStack[] {input})); - } - - public PositionedStack getOtherStack() { - return fuels.get((cycleticks / 48) % fuels.size()).stack; - } - - public PositionedStack getResult() { - return result; - } - } - - public static class Fuel - { - public Fuel(ItemStack ingred) { - - this.stack = new PositionedStack(ingred, 51, 42, false); - } - - public PositionedStack stack; - } - - @Override - public String getRecipeName() { - return "Breeding Reactor"; - } - - @Override - public String getGuiTexture() { - return GUIMachineReactor.texture.toString(); - } - - public void loadCraftingRecipes(String outputId, Object... results) { - if ((outputId.equals("breeding")) && getClass() == ReactorRecipeHandler.class) { - Map recipes = MachineRecipes.instance().getReactorRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); - } - } else { - super.loadCraftingRecipes(outputId, results); - } - } - - public void loadCraftingRecipes(ItemStack result) { - Map recipes = MachineRecipes.instance().getReactorRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - if (NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue(), result)) - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); - } - } - - public void loadUsageRecipes(String inputId, Object... ingredients) { - if ((inputId.equals("breeding")) && getClass() == ReactorRecipeHandler.class) { - loadCraftingRecipes("breeding", new Object[0]); - } else { - super.loadUsageRecipes(inputId, ingredients); - } - } - - public void loadUsageRecipes(ItemStack ingredient) { - Map recipes = MachineRecipes.instance().getReactorRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - if (NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey())) - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); - } - } - - @Override - public Class getGuiClass() { - return GUIMachineReactor.class; - } - - @Override - public void loadTransferRects() { - transferRects.add(new RecipeTransferRect(new Rectangle(74, 23, 24, 18), "breeding")); - } - - @Override - public void drawExtras(int recipe) { - drawProgressBar(50, 24, 176, 0, 14, 14, 48 * 3, 7); - drawProgressBar(74, 23, 176, 16, 24, 16, 48, 0); - } - - @Override - public TemplateRecipeHandler newInstance() { - if (fuels == null || fuels.isEmpty()) - fuels = new ArrayList(); - for(ItemStack i : MachineRecipes.instance().getReactorFuels()) - { - fuels.add(new Fuel(i)); - } - return super.newInstance(); - } -} +package com.hbm.handler; + +import java.awt.Rectangle; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +import com.hbm.gui.MachineRecipes; +import com.hbm.gui.gui.GUIMachineReactor; +import com.hbm.gui.gui.GUITestDiFurnace; +import com.hbm.handler.AlloyFurnaceRecipeHandler.Fuel; +import com.hbm.handler.AlloyFurnaceRecipeHandler.SmeltingSet; + +import codechicken.nei.NEIServerUtils; +import codechicken.nei.PositionedStack; +import codechicken.nei.api.IOverlayHandler; +import codechicken.nei.api.IRecipeOverlayRenderer; +import codechicken.nei.recipe.FurnaceRecipeHandler; +import codechicken.nei.recipe.GuiRecipe; +import codechicken.nei.recipe.ICraftingHandler; +import codechicken.nei.recipe.TemplateRecipeHandler; +import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRect; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.inventory.Container; +import net.minecraft.item.ItemStack; + +public class ReactorRecipeHandler extends TemplateRecipeHandler { + + public static ArrayList fuels; + + public class SmeltingSet extends TemplateRecipeHandler.CachedRecipe + { + PositionedStack input; + PositionedStack result; + + public SmeltingSet(ItemStack input, ItemStack result) { + input.stackSize = 1; + this.input = new PositionedStack(input, 51, 6); + this.result = new PositionedStack(result, 111, 24); + } + + public List getIngredients() { + return getCycledIngredients(cycleticks / 48, Arrays.asList(new PositionedStack[] {input})); + } + + public PositionedStack getOtherStack() { + return fuels.get((cycleticks / 48) % fuels.size()).stack; + } + + public PositionedStack getResult() { + return result; + } + } + + public static class Fuel + { + public Fuel(ItemStack ingred) { + + this.stack = new PositionedStack(ingred, 51, 42, false); + } + + public PositionedStack stack; + } + + @Override + public String getRecipeName() { + return "Breeding Reactor"; + } + + @Override + public String getGuiTexture() { + return GUIMachineReactor.texture.toString(); + } + + public void loadCraftingRecipes(String outputId, Object... results) { + if ((outputId.equals("breeding")) && getClass() == ReactorRecipeHandler.class) { + Map recipes = MachineRecipes.instance().getReactorRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); + } + } else { + super.loadCraftingRecipes(outputId, results); + } + } + + public void loadCraftingRecipes(ItemStack result) { + Map recipes = MachineRecipes.instance().getReactorRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + if (NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue(), result)) + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); + } + } + + public void loadUsageRecipes(String inputId, Object... ingredients) { + if ((inputId.equals("breeding")) && getClass() == ReactorRecipeHandler.class) { + loadCraftingRecipes("breeding", new Object[0]); + } else { + super.loadUsageRecipes(inputId, ingredients); + } + } + + public void loadUsageRecipes(ItemStack ingredient) { + Map recipes = MachineRecipes.instance().getReactorRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + if (NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey())) + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); + } + } + + @Override + public Class getGuiClass() { + return GUIMachineReactor.class; + } + + @Override + public void loadTransferRects() { + transferRects.add(new RecipeTransferRect(new Rectangle(74, 23, 24, 18), "breeding")); + } + + @Override + public void drawExtras(int recipe) { + drawProgressBar(50, 24, 176, 0, 14, 14, 48 * 3, 7); + drawProgressBar(74, 23, 176, 16, 24, 16, 48, 0); + } + + @Override + public TemplateRecipeHandler newInstance() { + if (fuels == null || fuels.isEmpty()) + fuels = new ArrayList(); + for(ItemStack i : MachineRecipes.instance().getReactorFuels()) + { + fuels.add(new Fuel(i)); + } + return super.newInstance(); + } +} diff --git a/com/hbm/handler/ShredderRecipeHandler.java b/com/hbm/handler/ShredderRecipeHandler.java index dadc9d485..15bce3273 100644 --- a/com/hbm/handler/ShredderRecipeHandler.java +++ b/com/hbm/handler/ShredderRecipeHandler.java @@ -1,180 +1,180 @@ -package com.hbm.handler; - -import static codechicken.lib.gui.GuiDraw.drawTexturedModalRect; - -import java.awt.Rectangle; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; - -import com.hbm.gui.MachineRecipes; -import com.hbm.gui.gui.GUIMachineReactor; -import com.hbm.gui.gui.GUIMachineShredder; -import com.hbm.handler.ReactorRecipeHandler.Fuel; -import com.hbm.handler.ReactorRecipeHandler.SmeltingSet; -import com.hbm.lib.RefStrings; - -import codechicken.nei.NEIServerUtils; -import codechicken.nei.PositionedStack; -import codechicken.nei.api.IOverlayHandler; -import codechicken.nei.api.IRecipeOverlayRenderer; -import codechicken.nei.recipe.GuiRecipe; -import codechicken.nei.recipe.ICraftingHandler; -import codechicken.nei.recipe.TemplateRecipeHandler; -import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRect; -import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRectHandler; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.inventory.Container; -import net.minecraft.item.ItemStack; - -public class ShredderRecipeHandler extends TemplateRecipeHandler { - - public static ArrayList fuels; - - public LinkedList transferRectsRec = new LinkedList(); - public LinkedList transferRectsGui = new LinkedList(); - public LinkedList> guiRec = new LinkedList>(); - public LinkedList> guiGui = new LinkedList>(); - - public class SmeltingSet extends TemplateRecipeHandler.CachedRecipe - { - PositionedStack input; - PositionedStack result; - - public SmeltingSet(ItemStack input, ItemStack result) { - input.stackSize = 1; - this.input = new PositionedStack(input, 83 - 27 - 18 + 1, 5 + 18 + 1); - this.result = new PositionedStack(result, 83 + 27 + 18 + 1, 5 + 18 + 1); - } - - public List getIngredients() { - return getCycledIngredients(cycleticks / 48, Arrays.asList(new PositionedStack[] {input})); - } - - public List getOtherStacks() { - List stacks = new ArrayList(); - stacks.add(fuels.get((cycleticks / 24) % fuels.size()).stack0); - stacks.add(fuels.get((cycleticks / 24) % fuels.size()).stack1); - return stacks; - } - - public PositionedStack getResult() { - return result; - } - } - - public static class Fuel - { - public Fuel(ItemStack ingred) { - - this.stack0 = new PositionedStack(ingred, 83 + 1, 5 + 1, false); - this.stack1 = new PositionedStack(ingred, 83 + 1, 5 + 36 + 1, false); - } - - public PositionedStack stack0; - public PositionedStack stack1; - } - - @Override - public String getRecipeName() { - return "Shredder"; - } - - @Override - public String getGuiTexture() { - return RefStrings.MODID + ":textures/gui/gui_nei_shredder.png"; - } - - public void loadCraftingRecipes(String outputId, Object... results) { - if ((outputId.equals("shredding")) && getClass() == ShredderRecipeHandler.class) { - Map recipes = MachineRecipes.instance().getShredderRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); - } - } else { - super.loadCraftingRecipes(outputId, results); - } - } - - public void loadCraftingRecipes(ItemStack result) { - Map recipes = MachineRecipes.instance().getShredderRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - if (NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue(), result)) - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); - } - } - - public void loadUsageRecipes(String inputId, Object... ingredients) { - if ((inputId.equals("shredding")) && getClass() == ShredderRecipeHandler.class) { - loadCraftingRecipes("shredding", new Object[0]); - } else { - super.loadUsageRecipes(inputId, ingredients); - } - } - - public void loadUsageRecipes(ItemStack ingredient) { - Map recipes = MachineRecipes.instance().getShredderRecipes(); - for (Map.Entry recipe : recipes.entrySet()) { - if (NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey())) - this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); - } - } - - @Override - public Class getGuiClass() { - //return GUIMachineShredder.class; - return null; - } - - @Override - public void loadTransferRects() { - //transferRectsRec = new LinkedList(); - transferRectsGui = new LinkedList(); - //guiRec = new LinkedList>(); - guiGui = new LinkedList>(); - - transferRects.add(new RecipeTransferRect(new Rectangle(74 + 6, 23, 24, 18), "shredding")); - transferRectsGui.add(new RecipeTransferRect(new Rectangle(63 - 7 + 4, 89 - 11, 34, 18), "shredding")); - //guiRec.add(GuiRecipe.class); - guiGui.add(GUIMachineShredder.class); - RecipeTransferRectHandler.registerRectsToGuis(getRecipeTransferRectGuis(), transferRects); - //RecipeTransferRectHandler.registerRectsToGuis(guiRec, transferRectsRec); - RecipeTransferRectHandler.registerRectsToGuis(guiGui, transferRectsGui); - - //for(Class r : getRecipeTransferRectGuis()) - // System.out.println(r.toString()); - } - - @Override - public void drawExtras(int recipe) { - /*//Top - drawTexturedModalRect(83, 5, 0, 140, 18, 18); - //Bottom - drawTexturedModalRect(83, 5 + 36, 0, 140, 18, 18); - //Right - drawTexturedModalRect(83 + 27 + 18, 5 + 18, 0, 140, 18, 18); - //Left - drawTexturedModalRect(83 - 27 - 18, 5 + 18, 0, 140, 18, 18); - //Progress - drawTexturedModalRect(83 - 3, 5 + 19, 100, 102, 24, 16); - //Power - drawTexturedModalRect(83 - (18 * 4) - 9, 5, 0, 86, 18, 18 * 3);*/ - - drawProgressBar(83 - (18 * 4) - 9 + 1, 6, 36, 86, 16, 18 * 3 - 2, 480, 7); - - drawProgressBar(83 - 3, 5 + 18, 100, 118, 24, 16, 48, 0); - } - - @Override - public TemplateRecipeHandler newInstance() { - if (fuels == null || fuels.isEmpty()) - fuels = new ArrayList(); - for(ItemStack i : MachineRecipes.instance().getBlades()) - { - fuels.add(new Fuel(i)); - } - return super.newInstance(); - } -} +package com.hbm.handler; + +import static codechicken.lib.gui.GuiDraw.drawTexturedModalRect; + +import java.awt.Rectangle; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.LinkedList; +import java.util.List; +import java.util.Map; + +import com.hbm.gui.MachineRecipes; +import com.hbm.gui.gui.GUIMachineReactor; +import com.hbm.gui.gui.GUIMachineShredder; +import com.hbm.handler.ReactorRecipeHandler.Fuel; +import com.hbm.handler.ReactorRecipeHandler.SmeltingSet; +import com.hbm.lib.RefStrings; + +import codechicken.nei.NEIServerUtils; +import codechicken.nei.PositionedStack; +import codechicken.nei.api.IOverlayHandler; +import codechicken.nei.api.IRecipeOverlayRenderer; +import codechicken.nei.recipe.GuiRecipe; +import codechicken.nei.recipe.ICraftingHandler; +import codechicken.nei.recipe.TemplateRecipeHandler; +import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRect; +import codechicken.nei.recipe.TemplateRecipeHandler.RecipeTransferRectHandler; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.inventory.Container; +import net.minecraft.item.ItemStack; + +public class ShredderRecipeHandler extends TemplateRecipeHandler { + + public static ArrayList fuels; + + public LinkedList transferRectsRec = new LinkedList(); + public LinkedList transferRectsGui = new LinkedList(); + public LinkedList> guiRec = new LinkedList>(); + public LinkedList> guiGui = new LinkedList>(); + + public class SmeltingSet extends TemplateRecipeHandler.CachedRecipe + { + PositionedStack input; + PositionedStack result; + + public SmeltingSet(ItemStack input, ItemStack result) { + input.stackSize = 1; + this.input = new PositionedStack(input, 83 - 27 - 18 + 1, 5 + 18 + 1); + this.result = new PositionedStack(result, 83 + 27 + 18 + 1, 5 + 18 + 1); + } + + public List getIngredients() { + return getCycledIngredients(cycleticks / 48, Arrays.asList(new PositionedStack[] {input})); + } + + public List getOtherStacks() { + List stacks = new ArrayList(); + stacks.add(fuels.get((cycleticks / 24) % fuels.size()).stack0); + stacks.add(fuels.get((cycleticks / 24) % fuels.size()).stack1); + return stacks; + } + + public PositionedStack getResult() { + return result; + } + } + + public static class Fuel + { + public Fuel(ItemStack ingred) { + + this.stack0 = new PositionedStack(ingred, 83 + 1, 5 + 1, false); + this.stack1 = new PositionedStack(ingred, 83 + 1, 5 + 36 + 1, false); + } + + public PositionedStack stack0; + public PositionedStack stack1; + } + + @Override + public String getRecipeName() { + return "Shredder"; + } + + @Override + public String getGuiTexture() { + return RefStrings.MODID + ":textures/gui/gui_nei_shredder.png"; + } + + public void loadCraftingRecipes(String outputId, Object... results) { + if ((outputId.equals("shredding")) && getClass() == ShredderRecipeHandler.class) { + Map recipes = MachineRecipes.instance().getShredderRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); + } + } else { + super.loadCraftingRecipes(outputId, results); + } + } + + public void loadCraftingRecipes(ItemStack result) { + Map recipes = MachineRecipes.instance().getShredderRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + if (NEIServerUtils.areStacksSameType((ItemStack)recipe.getValue(), result)) + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); + } + } + + public void loadUsageRecipes(String inputId, Object... ingredients) { + if ((inputId.equals("shredding")) && getClass() == ShredderRecipeHandler.class) { + loadCraftingRecipes("shredding", new Object[0]); + } else { + super.loadUsageRecipes(inputId, ingredients); + } + } + + public void loadUsageRecipes(ItemStack ingredient) { + Map recipes = MachineRecipes.instance().getShredderRecipes(); + for (Map.Entry recipe : recipes.entrySet()) { + if (NEIServerUtils.areStacksSameType(ingredient, (ItemStack)recipe.getKey())) + this.arecipes.add(new SmeltingSet((ItemStack)recipe.getKey(), (ItemStack)recipe.getValue())); + } + } + + @Override + public Class getGuiClass() { + //return GUIMachineShredder.class; + return null; + } + + @Override + public void loadTransferRects() { + //transferRectsRec = new LinkedList(); + transferRectsGui = new LinkedList(); + //guiRec = new LinkedList>(); + guiGui = new LinkedList>(); + + transferRects.add(new RecipeTransferRect(new Rectangle(74 + 6, 23, 24, 18), "shredding")); + transferRectsGui.add(new RecipeTransferRect(new Rectangle(63 - 7 + 4, 89 - 11, 34, 18), "shredding")); + //guiRec.add(GuiRecipe.class); + guiGui.add(GUIMachineShredder.class); + RecipeTransferRectHandler.registerRectsToGuis(getRecipeTransferRectGuis(), transferRects); + //RecipeTransferRectHandler.registerRectsToGuis(guiRec, transferRectsRec); + RecipeTransferRectHandler.registerRectsToGuis(guiGui, transferRectsGui); + + //for(Class r : getRecipeTransferRectGuis()) + // System.out.println(r.toString()); + } + + @Override + public void drawExtras(int recipe) { + /*//Top + drawTexturedModalRect(83, 5, 0, 140, 18, 18); + //Bottom + drawTexturedModalRect(83, 5 + 36, 0, 140, 18, 18); + //Right + drawTexturedModalRect(83 + 27 + 18, 5 + 18, 0, 140, 18, 18); + //Left + drawTexturedModalRect(83 - 27 - 18, 5 + 18, 0, 140, 18, 18); + //Progress + drawTexturedModalRect(83 - 3, 5 + 19, 100, 102, 24, 16); + //Power + drawTexturedModalRect(83 - (18 * 4) - 9, 5, 0, 86, 18, 18 * 3);*/ + + drawProgressBar(83 - (18 * 4) - 9 + 1, 6, 36, 86, 16, 18 * 3 - 2, 480, 7); + + drawProgressBar(83 - 3, 5 + 18, 100, 118, 24, 16, 48, 0); + } + + @Override + public TemplateRecipeHandler newInstance() { + if (fuels == null || fuels.isEmpty()) + fuels = new ArrayList(); + for(ItemStack i : MachineRecipes.instance().getBlades()) + { + fuels.add(new Fuel(i)); + } + return super.newInstance(); + } +} diff --git a/com/hbm/interfaces/IBomb.java b/com/hbm/interfaces/IBomb.java index 5dcedcf31..ca2232594 100644 --- a/com/hbm/interfaces/IBomb.java +++ b/com/hbm/interfaces/IBomb.java @@ -1,14 +1,14 @@ -package com.hbm.interfaces; - -import net.minecraft.world.World; - -public interface IBomb { - /////////////people - - - - //Months later I found this joke again - //I'm not even sorry - - void explode(World world, int x, int y, int z); -} +package com.hbm.interfaces; + +import net.minecraft.world.World; + +public interface IBomb { + /////////////people + + + + //Months later I found this joke again + //I'm not even sorry + + void explode(World world, int x, int y, int z); +} diff --git a/com/hbm/interfaces/IConductor.java b/com/hbm/interfaces/IConductor.java index 5890ff824..992a5785c 100644 --- a/com/hbm/interfaces/IConductor.java +++ b/com/hbm/interfaces/IConductor.java @@ -1,5 +1,5 @@ -package com.hbm.interfaces; - -public interface IConductor { - -} +package com.hbm.interfaces; + +public interface IConductor { + +} diff --git a/com/hbm/interfaces/IConsumer.java b/com/hbm/interfaces/IConsumer.java index 1f82067c5..6578ee8ef 100644 --- a/com/hbm/interfaces/IConsumer.java +++ b/com/hbm/interfaces/IConsumer.java @@ -1,10 +1,10 @@ -package com.hbm.interfaces; - -public interface IConsumer { - - void setPower(int i); - - int getPower(); - - int getMaxPower(); -} +package com.hbm.interfaces; + +public interface IConsumer { + + void setPower(int i); + + int getPower(); + + int getMaxPower(); +} diff --git a/com/hbm/interfaces/IDummy.java b/com/hbm/interfaces/IDummy.java new file mode 100644 index 000000000..b1c2ac9af --- /dev/null +++ b/com/hbm/interfaces/IDummy.java @@ -0,0 +1,5 @@ +package com.hbm.interfaces; + +public interface IDummy { + +} diff --git a/com/hbm/interfaces/IFactory.java b/com/hbm/interfaces/IFactory.java index 03c69be50..b70c90df1 100644 --- a/com/hbm/interfaces/IFactory.java +++ b/com/hbm/interfaces/IFactory.java @@ -1,15 +1,15 @@ -package com.hbm.interfaces; - -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; - -public interface IFactory { - - boolean isStructureValid(World world); - - public int getPowerScaled(int i); - - public int getProgressScaled(int i); - - public boolean isProcessable(ItemStack item); -} +package com.hbm.interfaces; + +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; + +public interface IFactory { + + boolean isStructureValid(World world); + + public int getPowerScaled(int i); + + public int getProgressScaled(int i); + + public boolean isProcessable(ItemStack item); +} diff --git a/com/hbm/interfaces/IMultiblock.java b/com/hbm/interfaces/IMultiblock.java new file mode 100644 index 000000000..d22c31223 --- /dev/null +++ b/com/hbm/interfaces/IMultiblock.java @@ -0,0 +1,5 @@ +package com.hbm.interfaces; + +public interface IMultiblock { + +} diff --git a/com/hbm/interfaces/IReactor.java b/com/hbm/interfaces/IReactor.java index 86aa589ac..e049d109f 100644 --- a/com/hbm/interfaces/IReactor.java +++ b/com/hbm/interfaces/IReactor.java @@ -1,21 +1,21 @@ -package com.hbm.interfaces; - -import net.minecraft.world.World; - -public interface IReactor { - - boolean isStructureValid(World world); - - boolean isCoatingValid(World world); - - boolean hasFuse(); - - int getWaterScaled(int i); - - int getCoolantScaled(int i); - - int getPowerScaled(int i); - - int getHeatScaled(int i); - -} +package com.hbm.interfaces; + +import net.minecraft.world.World; + +public interface IReactor { + + boolean isStructureValid(World world); + + boolean isCoatingValid(World world); + + boolean hasFuse(); + + int getWaterScaled(int i); + + int getCoolantScaled(int i); + + int getPowerScaled(int i); + + int getHeatScaled(int i); + +} diff --git a/com/hbm/interfaces/ISource.java b/com/hbm/interfaces/ISource.java index 998bc6280..f7e8ce4a3 100644 --- a/com/hbm/interfaces/ISource.java +++ b/com/hbm/interfaces/ISource.java @@ -1,8 +1,8 @@ -package com.hbm.interfaces; - -public interface ISource { - - void ffgeuaInit(); - - void ffgeua(int x, int y, int z, boolean newTact); -} +package com.hbm.interfaces; + +public interface ISource { + + void ffgeuaInit(); + + void ffgeua(int x, int y, int z, boolean newTact); +} diff --git a/com/hbm/items/GunFatman.java b/com/hbm/items/GunFatman.java deleted file mode 100644 index 9890709d6..000000000 --- a/com/hbm/items/GunFatman.java +++ /dev/null @@ -1,162 +0,0 @@ -package com.hbm.items; - -import java.util.List; - -import com.google.common.collect.Multimap; -import com.hbm.entity.EntityMiniNuke; -import com.hbm.entity.EntityRocket; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.SharedMonsterAttributes; -import net.minecraft.entity.ai.attributes.AttributeModifier; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.entity.player.ArrowLooseEvent; -import net.minecraftforge.event.entity.player.ArrowNockEvent; - -public class GunFatman extends Item { - public static final String[] bowPullIconNameArray = new String[] {"pulling_0", "pulling_1", "pulling_2"}; - @SideOnly(Side.CLIENT) - private IIcon[] iconArray; - private static final String __OBFID = "CL_00001777"; - - public GunFatman() - { - this.maxStackSize = 1; - this.setMaxDamage(2500); - } - - /** - * called when the player releases the use item button. Args: itemstack, world, entityplayer, itemInUseCount - */ - @Override - public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) - { - int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; - - ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); - MinecraftForge.EVENT_BUS.post(event); - if (event.isCanceled()) - { - return; - } - j = event.charge; - - boolean flag = p_77615_3_.capabilities.isCreativeMode || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; - - if (flag || p_77615_3_.inventory.hasItem(ModItems.gun_fatman_ammo)) - { - float f = j / 20.0F; - f = (f * f + f * 2.0F) / 3.0F; - - if (j < 25.0D) - { - return; - } - - if (j > 25.0F) - { - f = 25.0F; - } - - EntityMiniNuke entityarrow = new EntityMiniNuke(p_77615_2_, p_77615_3_, 3.0F); - - entityarrow.setIsCritical(true); - entityarrow.gravity = 0.3; - entityarrow.setDamage(1000); - - p_77615_1_.damageItem(1, p_77615_3_); - //p_77615_2_.playSoundAtEntity(p_77615_3_, "tile.piston.out", 1.0F, 0.5F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.fatmanShoot", 1.0F, 1F); - - if(!flag) - { - p_77615_3_.inventory.consumeInventoryItem(ModItems.gun_fatman_ammo); - } - - if (!p_77615_2_.isRemote) - { - p_77615_2_.spawnEntityInWorld(entityarrow); - } - } - } - - @Override - public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) - { - return p_77654_1_; - } - - /** - * How long it takes to use or consume an item - */ - @Override - public int getMaxItemUseDuration(ItemStack p_77626_1_) - { - return 72000; - } - - /** - * returns the action that specifies what animation to play when the items is being used - */ - @Override - public EnumAction getItemUseAction(ItemStack p_77661_1_) - { - return EnumAction.bow; - } - - /** - * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer - */ - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) - { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - MinecraftForge.EVENT_BUS.post(event); - if (event.isCanceled()) - { - return event.result; - } - - if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_fatman_ammo)) - { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - /** - * Return the enchantability factor of the item, most of the time is based on material. - */ - @Override - public int getItemEnchantability() - { - return 0; - } - - public Multimap getItemAttributeModifiers() - { - Multimap multimap = super.getItemAttributeModifiers(); - multimap.put(SharedMonsterAttributes.movementSpeed.getAttributeUnlocalizedName(), new AttributeModifier(field_111210_e, "Weapon modifier", (double)-0.3, 1)); - return multimap; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - list.add("When normal nukes aren't enough..."); - list.add(""); - list.add("Ammo: Mini Nukes"); - list.add("Damage: 1000"); - list.add("Creates small nuclear explosion."); - } -} diff --git a/com/hbm/items/ItemChopper.java b/com/hbm/items/ItemChopper.java deleted file mode 100644 index 70df45195..000000000 --- a/com/hbm/items/ItemChopper.java +++ /dev/null @@ -1,147 +0,0 @@ -package com.hbm.items; - -import com.hbm.entity.EntityHunterChopper; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockLiquid; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityList; -import net.minecraft.entity.EntityLiving; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.IEntityLivingData; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.Facing; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.world.World; - -public class ItemChopper extends Item { - - public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - if (p_77648_3_.isRemote) - { - return true; - } - else - { - Block block = p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_); - p_77648_4_ += Facing.offsetsXForSide[p_77648_7_]; - p_77648_5_ += Facing.offsetsYForSide[p_77648_7_]; - p_77648_6_ += Facing.offsetsZForSide[p_77648_7_]; - double d0 = 0.0D; - - if (p_77648_7_ == 1 && block.getRenderType() == 11) - { - d0 = 0.5D; - } - - Entity entity = spawnCreature(p_77648_3_, p_77648_1_.getItemDamage(), (double)p_77648_4_ + 0.5D, (double)p_77648_5_ + d0, (double)p_77648_6_ + 0.5D); - - if (entity != null) - { - if (entity instanceof EntityLivingBase && p_77648_1_.hasDisplayName()) - { - ((EntityLiving)entity).setCustomNameTag(p_77648_1_.getDisplayName()); - } - - if (!p_77648_2_.capabilities.isCreativeMode) - { - --p_77648_1_.stackSize; - } - } - - return true; - } - } - - /** - * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer - */ - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) - { - if (p_77659_2_.isRemote) - { - return p_77659_1_; - } - else - { - MovingObjectPosition movingobjectposition = this.getMovingObjectPositionFromPlayer(p_77659_2_, p_77659_3_, true); - - if (movingobjectposition == null) - { - return p_77659_1_; - } - else - { - if (movingobjectposition.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK) - { - int i = movingobjectposition.blockX; - int j = movingobjectposition.blockY; - int k = movingobjectposition.blockZ; - - if (!p_77659_2_.canMineBlock(p_77659_3_, i, j, k)) - { - return p_77659_1_; - } - - if (!p_77659_3_.canPlayerEdit(i, j, k, movingobjectposition.sideHit, p_77659_1_)) - { - return p_77659_1_; - } - - if (p_77659_2_.getBlock(i, j, k) instanceof BlockLiquid) - { - Entity entity = spawnCreature(p_77659_2_, p_77659_1_.getItemDamage(), (double)i, (double)j, (double)k); - - if (entity != null) - { - if (entity instanceof EntityLivingBase && p_77659_1_.hasDisplayName()) - { - ((EntityLiving)entity).setCustomNameTag(p_77659_1_.getDisplayName()); - } - - if (!p_77659_3_.capabilities.isCreativeMode) - { - --p_77659_1_.stackSize; - } - } - } - } - - return p_77659_1_; - } - } - } - - /** - * Spawns the creature specified by the egg's type in the location specified by the last three parameters. - * Parameters: world, entityID, x, y, z. - */ - public static Entity spawnCreature(World p_77840_0_, int p_77840_1_, double p_77840_2_, double p_77840_4_, double p_77840_6_) - { - { - Entity entity = null; - - for (int j = 0; j < 1; ++j) - { - entity = new EntityHunterChopper(p_77840_0_); - - if (entity != null && entity instanceof EntityLivingBase) - { - EntityLiving entityliving = (EntityLiving)entity; - entity.setLocationAndAngles(p_77840_2_, p_77840_4_, p_77840_6_, MathHelper.wrapAngleTo180_float(p_77840_0_.rand.nextFloat() * 360.0F), 0.0F); - entityliving.rotationYawHead = entityliving.rotationYaw; - entityliving.renderYawOffset = entityliving.rotationYaw; - entityliving.onSpawnWithEgg((IEntityLivingData)null); - p_77840_0_.spawnEntityInWorld(entity); - } - } - - return entity; - } - } - -} diff --git a/com/hbm/items/ItemModRecord.java b/com/hbm/items/ItemModRecord.java deleted file mode 100644 index 32d6514cf..000000000 --- a/com/hbm/items/ItemModRecord.java +++ /dev/null @@ -1,112 +0,0 @@ -package com.hbm.items; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.BlockJukebox; -import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.entity.EntityList; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemRecord; -import net.minecraft.item.ItemStack; -import net.minecraft.util.IIcon; -import net.minecraft.util.ResourceLocation; -import net.minecraft.util.StatCollector; -import net.minecraft.world.World; - -public class ItemModRecord extends ItemRecord { - - private static final Map modRecords = new HashMap(); - public final String recordName; - - public ItemModRecord(String string) { - super(string); - recordName = string; - modRecords.put(string, this); - } - - public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, - int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) { - if (p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_) == Blocks.jukebox - && p_77648_3_.getBlockMetadata(p_77648_4_, p_77648_5_, p_77648_6_) == 0) { - if (p_77648_3_.isRemote) { - return true; - } else { - ((BlockJukebox) Blocks.jukebox).func_149926_b(p_77648_3_, p_77648_4_, p_77648_5_, p_77648_6_, - p_77648_1_); - p_77648_3_.playAuxSFXAtEntity((EntityPlayer) null, 1005, p_77648_4_, p_77648_5_, p_77648_6_, - Item.getIdFromItem(this)); - --p_77648_1_.stackSize; - return true; - } - } else { - return false; - } - } - - /** - * allows items to add custom lines of information to the mouseover - * description - */ - @SideOnly(Side.CLIENT) - public void addInformation(ItemStack p_77624_1_, EntityPlayer p_77624_2_, List p_77624_3_, boolean p_77624_4_) { - p_77624_3_.add(this.getRecordNameLocal()); - } - - @SideOnly(Side.CLIENT) - public String getRecordNameLocal() { - return StatCollector.translateToLocal("item.record." + this.recordName + ".desc"); - } - - /** - * Return an item rarity from EnumRarity - */ - public EnumRarity getRarity(ItemStack p_77613_1_) { - return EnumRarity.rare; - } - - /** - * Return the record item corresponding to the given name. - */ - @SideOnly(Side.CLIENT) - public static ItemRecord getRecord(String p_150926_0_) { - return (ItemRecord) modRecords.get(p_150926_0_); - } - - /** - * Retrieves the resource location of the sound to play for this record. - * - * @param name - * The name of the record to play - * @return The resource location for the audio, null to use default. - */ - public ResourceLocation getRecordResource(String name) { - - String s = ""; - - if(name.equals("records.lc")) - s = RefStrings.MODID + ":music.recordLambdaCore"; - if(name.equals("records.ss")) - s = RefStrings.MODID + ":music.recordSectorSweep"; - if(name.equals("records.vc")) - s = RefStrings.MODID + ":music.recordVortalCombat"; - - return new ResourceLocation(s); - } - - public String getItemStackDisplayName(ItemStack p_77653_1_) - { - String s = (StatCollector.translateToLocal(Items.record_11.getUnlocalizedName() + ".name")).trim(); - - return s; - } -} diff --git a/com/hbm/items/ModItems.java b/com/hbm/items/ModItems.java index 7465df96c..b31a39803 100644 --- a/com/hbm/items/ModItems.java +++ b/com/hbm/items/ModItems.java @@ -1,2262 +1,2599 @@ -package com.hbm.items; - -import com.hbm.blocks.ModBlocks; -import com.hbm.handler.BucketHandler; -import com.hbm.items.bomb.ItemBoy; -import com.hbm.items.bomb.ItemFleija; -import com.hbm.items.bomb.ItemGadget; -import com.hbm.items.bomb.ItemMan; -import com.hbm.items.bomb.ItemManMike; -import com.hbm.items.bomb.ItemMike; -import com.hbm.items.bomb.ItemTsar; -import com.hbm.items.food.ItemAppleEuphemium; -import com.hbm.items.food.ItemAppleSchrabidium; -import com.hbm.items.food.ItemCottonCandy; -import com.hbm.items.food.ItemEnergy; -import com.hbm.items.food.ItemLemon; -import com.hbm.items.food.ItemNugget; -import com.hbm.items.food.ItemSchnitzelVegan; -import com.hbm.items.food.ItemTemFlakes; -import com.hbm.items.food.ItemWaffle; -import com.hbm.items.gear.ArmorEuphemium; -import com.hbm.items.gear.ArmorHazmat; -import com.hbm.items.gear.ArmorModel; -import com.hbm.items.gear.ArmorSchrabidium; -import com.hbm.items.gear.ArmorT45; -import com.hbm.items.gear.ArmorTest; -import com.hbm.items.gear.AxeSchrabidium; -import com.hbm.items.gear.BigSword; -import com.hbm.items.gear.HoeSchrabidium; -import com.hbm.items.gear.MaskOfInfamy; -import com.hbm.items.gear.ModArmor; -import com.hbm.items.gear.ModAxe; -import com.hbm.items.gear.ModHoe; -import com.hbm.items.gear.ModPickaxe; -import com.hbm.items.gear.ModSpade; -import com.hbm.items.gear.ModSword; -import com.hbm.items.gear.PickaxeSchrabidium; -import com.hbm.items.gear.RedstoneSword; -import com.hbm.items.gear.SpadeSchrabidium; -import com.hbm.items.gear.SwordSchrabidium; -import com.hbm.items.gear.WeaponSpecial; -import com.hbm.items.special.ItemBattery; -import com.hbm.items.special.ItemBlades; -import com.hbm.items.special.ItemCapacitor; -import com.hbm.items.special.ItemCell; -import com.hbm.items.special.ItemChopper; -import com.hbm.items.special.ItemCustomLore; -import com.hbm.items.special.ItemDrop; -import com.hbm.items.special.ItemFuelRod; -import com.hbm.items.special.ItemModRecord; -import com.hbm.items.special.ItemRadioactive; -import com.hbm.items.special.ItemStarterKit; -import com.hbm.items.special.ItemSyringe; -import com.hbm.items.special.ItemTankWaste; -import com.hbm.items.special.ItemTeleLink; -import com.hbm.items.special.WatzFuel; -import com.hbm.items.tool.ItemCrateCaller; -import com.hbm.items.tool.ItemDesingator; -import com.hbm.items.tool.ItemDetonator; -import com.hbm.items.tool.ItemMatch; -import com.hbm.items.tool.ItemModBucket; -import com.hbm.items.tool.ItemRamManipulator; -import com.hbm.items.tool.ItemWand; -import com.hbm.items.tool.ItemWandD; -import com.hbm.items.tool.ItemWandS; -import com.hbm.items.weapon.GunBaleFlare; -import com.hbm.items.weapon.GunCryolator; -import com.hbm.items.weapon.GunEMPRay; -import com.hbm.items.weapon.GunFatman; -import com.hbm.items.weapon.GunImmolator; -import com.hbm.items.weapon.GunMIRV; -import com.hbm.items.weapon.GunMP; -import com.hbm.items.weapon.GunOSIPR; -import com.hbm.items.weapon.GunRevolver; -import com.hbm.items.weapon.GunRpg; -import com.hbm.items.weapon.GunSMG; -import com.hbm.items.weapon.GunSuicide; -import com.hbm.items.weapon.GunXVL1456; -import com.hbm.items.weapon.GunZOMG; -import com.hbm.items.weapon.ItemClip; -import com.hbm.items.weapon.ItemGrenade; -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; - -import cpw.mods.fml.common.registry.GameRegistry; -import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.item.Item.ToolMaterial; -import net.minecraft.item.ItemArmor.ArmorMaterial; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemSoup; -import net.minecraft.item.ItemStack; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.fluids.FluidContainerRegistry; -import net.minecraftforge.fluids.FluidStack; - -public class ModItems { - - public static void mainRegistry() - { - initializeItem(); - registerItem(); - } - - public static Item redstone_sword; - public static Item big_sword; - - public static Item test_helmet; - public static Item test_chestplate; - public static Item test_leggings; - public static Item test_boots; - - public static Item ingot_uranium; - public static Item ingot_u235; - public static Item ingot_u238; - public static Item ingot_plutonium; - public static Item ingot_pu238; - public static Item ingot_pu239; - public static Item ingot_pu240; - public static Item ingot_neptunium; - public static Item ingot_titanium; - public static Item sulfur; - - public static Item niter; - public static Item ingot_copper; - public static Item ingot_red_copper; - public static Item ingot_tungsten; - public static Item ingot_aluminium; - public static Item fluorite; - public static Item ingot_beryllium; - public static Item ingot_schrabidium; - public static Item ingot_plutonium_fuel; - public static Item ingot_uranium_fuel; - public static Item ingot_mox_fuel; - public static Item ingot_schrabidium_fuel; - public static Item nugget_uranium_fuel; - public static Item nugget_plutonium_fuel; - public static Item nugget_mox_fuel; - public static Item nugget_schrabidium_fuel; - public static Item ingot_advanced_alloy; - public static Item lithium; - public static Item ingot_hes; - public static Item ingot_les; - public static Item nugget_hes; - public static Item nugget_les; - public static Item ingot_magnetized_tungsten; - public static Item ingot_combine_steel; - - public static Item nugget_uranium; - public static Item nugget_u235; - public static Item nugget_u238; - public static Item nugget_plutonium; - public static Item nugget_pu238; - public static Item nugget_pu239; - public static Item nugget_pu240; - public static Item nugget_neptunium; - public static Item plate_titanium; - public static Item plate_aluminium; - public static Item wire_red_copper; - public static Item wire_tungsten; - public static Item neutron_reflector; - public static Item ingot_steel; - public static Item plate_steel; - public static Item plate_iron; - public static Item ingot_lead; - public static Item nugget_lead; - public static Item plate_lead; - public static Item nugget_schrabidium; - public static Item plate_schrabidium; - public static Item plate_copper; - public static Item nugget_beryllium; - public static Item plate_gold; - public static Item hazmat_cloth; - public static Item filter_coal; - public static Item plate_advanced_alloy; - public static Item plate_combine_steel; - public static Item plate_mixed; - public static Item plate_paa; - - public static Item powder_lead; - public static Item powder_neptunium; - public static Item powder_schrabidium; - - public static Item powder_aluminium; - public static Item powder_beryllium; - public static Item powder_copper; - public static Item powder_gold; - public static Item powder_iron; - public static Item powder_titanium; - public static Item powder_tungsten; - public static Item powder_uranium; - public static Item powder_plutonium; - public static Item dust; - public static Item powder_power; - - public static Item powder_thorium; - public static Item powder_iodine; - public static Item powder_neodymium; - public static Item powder_astatine; - public static Item powder_caesium; - - public static Item powder_advanced_alloy; - public static Item powder_coal; - public static Item powder_combine_steel; - public static Item powder_diamond; - public static Item powder_emerald; - public static Item powder_lapis; - public static Item powder_quartz; - public static Item powder_magnetized_tungsten; - public static Item powder_red_copper; - public static Item powder_steel; - public static Item powder_lithium; - - public static Item coil_copper; - public static Item coil_copper_torus; - public static Item coil_tungsten; - public static Item tank_steel; - public static Item motor; - public static Item centrifuge_element; - public static Item centrifuge_tower; - public static Item reactor_core; - public static Item rtg_unit; - public static Item thermo_unit_empty; - public static Item thermo_unit_endo; - public static Item thermo_unit_exo; - public static Item levitation_unit; - public static Item wire_aluminium; - public static Item wire_copper; - public static Item wire_gold; - public static Item wire_schrabidium; - public static Item wire_advanced_alloy; - public static Item coil_advanced_alloy; - public static Item coil_advanced_torus; - public static Item wire_magnetized_tungsten; - public static Item coil_magnetized_tungsten; - - public static Item circuit_aluminium; - public static Item circuit_copper; - public static Item circuit_red_copper; - public static Item circuit_gold; - public static Item circuit_schrabidium; - - public static Item cap_aluminium; - public static Item hull_small_steel; - public static Item hull_small_aluminium; - public static Item hull_big_steel; - public static Item hull_big_aluminium; - public static Item hull_big_titanium; - public static Item fins_flat; - public static Item fins_small_steel; - public static Item fins_big_steel; - public static Item fins_tri_steel; - public static Item fins_quad_titanium; - public static Item sphere_steel; - public static Item pedestal_steel; - public static Item dysfunctional_reactor; - - public static Item warhead_generic_small; - public static Item warhead_generic_medium; - public static Item warhead_generic_large; - public static Item warhead_incendiary_small; - public static Item warhead_incendiary_medium; - public static Item warhead_incendiary_large; - public static Item warhead_cluster_small; - public static Item warhead_cluster_medium; - public static Item warhead_cluster_large; - public static Item warhead_buster_small; - public static Item warhead_buster_medium; - public static Item warhead_buster_large; - public static Item warhead_nuclear; - public static Item warhead_mirvlet; - public static Item warhead_mirv; - public static Item warhead_thermo_endo; - public static Item warhead_thermo_exo; - - public static Item fuel_tank_small; - public static Item fuel_tank_medium; - public static Item fuel_tank_large; - - public static Item thruster_small; - public static Item thruster_medium; - public static Item thruster_large; - - public static Item chopper_head; - public static Item chopper_gun; - public static Item chopper_torso; - public static Item chopper_tail; - public static Item chopper_wing; - public static Item chopper_blades; - public static Item combine_scrap; - - public static Item telepad; - public static Item entanglement_kit; - - public static Item blades_gold; - public static Item blades_aluminium; - public static Item blades_iron; - public static Item blades_steel; - public static Item blades_titanium; - public static Item blades_advanced_alloy; - public static Item blades_combine_steel; - public static Item blades_schrabidium; - - public static Item pellet_rtg; - public static Item tritium_deuterium_cake; - - public static Item pellet_schrabidium; - public static Item pellet_hes; - public static Item pellet_mes; - public static Item pellet_les; - public static Item pellet_beryllium; - public static Item pellet_neptunium; - public static Item pellet_lead; - public static Item pellet_advanced; - - public static Item cell_empty; - public static Item cell_uf6; - public static Item cell_puf6; - public static Item cell_deuterium; - public static Item cell_tritium; - public static Item cell_sas3; - public static Item cell_antimatter; - public static Item cell_anti_schrabidium; - public static Item singularity; - public static Item singularity_counter_resonant; - public static Item singularity_super_heated; - public static Item black_hole; - public static Item crystal_xen; - public static Item inf_water; - public static Item inf_coolant; - public static Item inf_deuterium; - public static Item inf_tritium; - public static Item inf_sulfur; - public static Item inf_diesel; - public static Item inf_antimatter; - public static Item inf_antischrabidium; - - public static Item canister_empty; - public static Item canister_fuel; - public static Item canister_napalm; - public static Item canister_NITAN; - - public static Item syringe_empty; - public static Item syringe_antidote; - public static Item syringe_poison; - public static Item syringe_awesome; - public static Item syringe_metal_empty; - public static Item syringe_metal_stimpak; - public static Item syringe_metal_medx; - public static Item syringe_metal_psycho; - public static Item stealth_boy; - - public static Item can_empty; - public static Item can_smart; - public static Item can_creature; - public static Item can_redbomb; - public static Item can_mrsugar; - - public static Item rod_empty; - public static Item rod_uranium; - public static Item rod_u235; - public static Item rod_u238; - public static Item rod_plutonium; - public static Item rod_pu238; - public static Item rod_pu239; - public static Item rod_pu240; - public static Item rod_neptunium; - public static Item rod_lead; - public static Item rod_schrabidium; - - public static Item rod_dual_empty; - public static Item rod_dual_uranium; - public static Item rod_dual_u235; - public static Item rod_dual_u238; - public static Item rod_dual_plutonium; - public static Item rod_dual_pu238; - public static Item rod_dual_pu239; - public static Item rod_dual_pu240; - public static Item rod_dual_neptunium; - public static Item rod_dual_lead; - public static Item rod_dual_schrabidium; - - public static Item rod_quad_empty; - public static Item rod_quad_uranium; - public static Item rod_quad_u235; - public static Item rod_quad_u238; - public static Item rod_quad_plutonium; - public static Item rod_quad_pu238; - public static Item rod_quad_pu239; - public static Item rod_quad_pu240; - public static Item rod_quad_neptunium; - public static Item rod_quad_lead; - public static Item rod_quad_schrabidium; - - public static Item rod_uranium_fuel; - public static Item rod_dual_uranium_fuel; - public static Item rod_quad_uranium_fuel; - public static Item rod_plutonium_fuel; - public static Item rod_dual_plutonium_fuel; - public static Item rod_quad_plutonium_fuel; - public static Item rod_mox_fuel; - public static Item rod_dual_mox_fuel; - public static Item rod_quad_mox_fuel; - public static Item rod_schrabidium_fuel; - public static Item rod_dual_schrabidium_fuel; - public static Item rod_quad_schrabidium_fuel; - - public static Item rod_water; - public static Item rod_dual_water; - public static Item rod_quad_water; - - public static Item rod_coolant; - public static Item rod_dual_coolant; - public static Item rod_quad_coolant; - - public static Item scrap; - public static Item trinitite; - public static Item nuclear_waste; - public static Item rod_uranium_fuel_depleted; - public static Item rod_dual_uranium_fuel_depleted; - public static Item rod_quad_uranium_fuel_depleted; - public static Item rod_plutonium_fuel_depleted; - public static Item rod_dual_plutonium_fuel_depleted; - public static Item rod_quad_plutonium_fuel_depleted; - public static Item rod_mox_fuel_depleted; - public static Item rod_dual_mox_fuel_depleted; - public static Item rod_quad_mox_fuel_depleted; - public static Item rod_schrabidium_fuel_depleted; - public static Item rod_dual_schrabidium_fuel_depleted; - public static Item rod_quad_schrabidium_fuel_depleted; - public static Item rod_waste; - public static Item rod_dual_waste; - public static Item rod_quad_waste; - - public static Item rod_lithium; - public static Item rod_dual_lithium; - public static Item rod_quad_lithium; - public static Item rod_tritium; - public static Item rod_dual_tritium; - public static Item rod_quad_tritium; - - public static Item test_nuke_igniter; - public static Item test_nuke_propellant; - public static Item test_nuke_tier1_shielding; - public static Item test_nuke_tier2_shielding; - public static Item test_nuke_tier1_bullet; - public static Item test_nuke_tier2_bullet; - public static Item test_nuke_tier1_target; - public static Item test_nuke_tier2_target; - - public static Item pellet_cluster; - public static Item powder_fire; - public static Item powder_poison; - public static Item powder_thermite; - public static Item pellet_gas; - public static Item magnetron; - - public static Item designator; - public static Item linker; - - public static Item missile_generic; - public static Item missile_anti_ballistic; - public static Item missile_incendiary; - public static Item missile_cluster; - public static Item missile_buster; - public static Item missile_strong; - public static Item missile_incendiary_strong; - public static Item missile_cluster_strong; - public static Item missile_buster_strong; - public static Item missile_burst; - public static Item missile_inferno; - public static Item missile_rain; - public static Item missile_drill; - public static Item missile_nuclear; - public static Item missile_nuclear_cluster; - public static Item missile_endo; - public static Item missile_exo; - - public static Item gun_rpg; - public static Item gun_rpg_ammo; - public static Item gun_revolver; - public static Item gun_revolver_ammo; - public static Item gun_revolver_iron; - public static Item gun_revolver_iron_ammo; - public static Item gun_revolver_gold; - public static Item gun_revolver_gold_ammo; - public static Item gun_revolver_lead; - public static Item gun_revolver_lead_ammo; - public static Item gun_revolver_schrabidium; - public static Item gun_revolver_schrabidium_ammo; - public static Item gun_revolver_cursed; - public static Item gun_revolver_cursed_ammo; - public static Item gun_fatman; - public static Item gun_fatman_ammo; - public static Item gun_mirv; - public static Item gun_mirv_ammo; - public static Item gun_bf; - public static Item gun_bf_ammo; - public static Item gun_mp40; - public static Item gun_mp40_ammo; - public static Item gun_xvl1456; - public static Item gun_xvl1456_ammo; - public static Item gun_osipr; - public static Item gun_osipr_ammo; - public static Item gun_osipr_ammo2; - public static Item gun_immolator; - public static Item gun_immolator_ammo; - public static Item gun_cryolator; - public static Item gun_cryolator_ammo; - public static Item gun_mp; - public static Item gun_mp_ammo; - public static Item gun_zomg; - public static Item gun_super_shotgun; - public static Item gun_moist_nugget; - public static Item gun_revolver_inverted; -<<<<<<< HEAD - public static Item gun_emp; - public static Item gun_emp_ammo; -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - public static Item gun_waluigi; - - public static Item grenade_generic; - public static Item grenade_strong; - public static Item grenade_frag; - public static Item grenade_fire; - public static Item grenade_cluster; - public static Item grenade_flare; - public static Item grenade_electric; - public static Item grenade_poison; - public static Item grenade_gas; - public static Item grenade_plasma; - public static Item grenade_tau; - public static Item grenade_schrabidium; - public static Item grenade_lemon; - public static Item grenade_mk2; - public static Item grenade_aschrab; - public static Item grenade_nuke; - public static Item grenade_nuclear; - public static Item grenade_zomg; - - public static Item bomb_waffle; - public static Item schnitzel_vegan; - public static Item cotton_candy; - public static Item apple_schrabidium; - public static Item tem_flakes; - public static Item glowing_stew; - public static Item lemon; - - public static Item flame_pony; - public static Item flame_conspiracy; - public static Item flame_politics; - public static Item flame_opinion; - - public static Item gadget_explosive; - public static Item gadget_explosive8; - public static Item gadget_wireing; - public static Item gadget_core; - - public static Item boy_igniter; - public static Item boy_propellant; - public static Item boy_bullet; - public static Item boy_target; - public static Item boy_shielding; - - public static Item man_explosive; - public static Item man_explosive8; - public static Item man_igniter; - public static Item man_core; - - public static Item mike_core; - public static Item mike_deut; - public static Item mike_cooling_unit; - - public static Item tsar_core; - - public static Item fleija_igniter; - public static Item fleija_propellant; - public static Item fleija_core; - - public static Item battery_generic; - public static Item battery_advanced; - public static Item battery_schrabidium; - public static Item battery_creative; - - public static Item fusion_core; - public static Item energy_core; - public static Item fuse; - public static Item redcoil_capacitor; - public static Item titanium_filter; - public static Item screwdriver; - public static Item overfuse; - - public static Item tank_waste; - - public static Item factory_core_titanium; - public static Item factory_core_advanced; - - public static Item ingot_euphemium; - public static Item nugget_euphemium; - public static Item rod_quad_euphemium; - public static Item euphemium_helmet; - public static Item euphemium_plate; - public static Item euphemium_legs; - public static Item euphemium_boots; - public static Item apple_euphemium; - public static Item watch; - public static Item euphemium_stopper; - - public static Item goggles; - public static Item gas_mask; - - public static Item t45_helmet; - public static Item t45_plate; - public static Item t45_legs; - public static Item t45_boots; - - public static Item chainsaw; - - public static Item schrabidium_helmet; - public static Item schrabidium_plate; - public static Item schrabidium_legs; - public static Item schrabidium_boots; - public static Item titanium_helmet; - public static Item titanium_plate; - public static Item titanium_legs; - public static Item titanium_boots; - public static Item steel_helmet; - public static Item steel_plate; - public static Item steel_legs; - public static Item steel_boots; - public static Item alloy_helmet; - public static Item alloy_plate; - public static Item alloy_legs; - public static Item alloy_boots; - public static Item cmb_helmet; - public static Item cmb_plate; - public static Item cmb_legs; - public static Item cmb_boots; -<<<<<<< HEAD - public static Item paa_plate; - public static Item paa_legs; - public static Item paa_boots; -======= -<<<<<<< HEAD - public static Item paa_plate; - public static Item paa_legs; - public static Item paa_boots; -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - public static Item schrabidium_sword; - public static Item schrabidium_pickaxe; - public static Item schrabidium_axe; - public static Item schrabidium_shovel; - public static Item schrabidium_hoe; - public static Item titanium_sword; - public static Item titanium_pickaxe; - public static Item titanium_axe; - public static Item titanium_shovel; - public static Item titanium_hoe; - public static Item steel_sword; - public static Item steel_pickaxe; - public static Item steel_axe; - public static Item steel_shovel; - public static Item steel_hoe; - public static Item alloy_sword; - public static Item alloy_pickaxe; - public static Item alloy_axe; - public static Item alloy_shovel; - public static Item alloy_hoe; - public static Item cmb_sword; - public static Item cmb_pickaxe; - public static Item cmb_axe; - public static Item cmb_shovel; - public static Item cmb_hoe; - - public static Item matchstick; - - public static Item mask_of_infamy; - - public static Item schrabidium_hammer; - - public static Item crowbar; - - public static Item hazmat_helmet; - public static Item hazmat_plate; - public static Item hazmat_legs; - public static Item hazmat_boots; - - public static Item hazmat_paa_helmet; - public static Item hazmat_paa_plate; - public static Item hazmat_paa_legs; - public static Item hazmat_paa_boots; - - public static Item wand; - public static Item wand_s; - public static Item wand_d; - - public static Item cape_test; - public static Item cape_radiation; - public static Item cape_gasmask; - public static Item cape_schrabidium; - public static Item cape_hbm; - public static Item cape_dafnik; - public static Item cape_lpkukin; - - public static Item nuke_starter_kit; - public static Item nuke_advanced_kit; - public static Item nuke_commercially_kit; - public static Item nuke_electric_kit; - public static Item gadget_kit; - public static Item boy_kit; - public static Item man_kit; - public static Item mike_kit; - public static Item tsar_kit; - public static Item multi_kit; - public static Item grenade_kit; - public static Item fleija_kit; - public static Item prototype_kit; - public static Item missile_kit; - public static Item t45_kit; - public static Item euphemium_kit; - - public static Item clip_revolver_iron; - public static Item clip_revolver; - public static Item clip_revolver_gold; - public static Item clip_revolver_lead; - public static Item clip_revolver_schrabidium; - public static Item clip_revolver_cursed; - public static Item clip_rpg; - public static Item clip_fatman; - public static Item clip_mirv; - public static Item clip_bf; - public static Item clip_mp40; - public static Item clip_osipr; - public static Item clip_immolator; - public static Item clip_cryolator; - public static Item clip_mp; - public static Item clip_xvl1456; - public static Item clip_emp; - - public static Item igniter; - public static Item detonator; - public static Item crate_caller; - public static Item remote; - public static Item chopper; - - public static Item bucket_mud; - public static Item bucket_acid; - public static Item bucket_toxic; - - public static Item record_lc; - public static Item record_ss; - public static Item record_vc; - - public static Item letter; - - public static Item smoke1; - public static Item smoke2; - public static Item smoke3; - public static Item smoke4; - public static Item smoke5; - public static Item smoke6; - public static Item smoke7; - public static Item smoke8; - public static Item b_smoke1; - public static Item b_smoke2; - public static Item b_smoke3; - public static Item b_smoke4; - public static Item b_smoke5; - public static Item b_smoke6; - public static Item b_smoke7; - public static Item b_smoke8; - public static Item energy_ball; - public static Item discharge; - public static Item empblast; - public static Item flame_1; - public static Item flame_2; - public static Item flame_3; - public static Item flame_4; - public static Item flame_5; - public static Item flame_6; - public static Item flame_7; - public static Item flame_8; - public static Item flame_9; - public static Item flame_10; - public static Item ln2_1; - public static Item ln2_2; - public static Item ln2_3; - public static Item ln2_4; - public static Item ln2_5; - public static Item ln2_6; - public static Item ln2_7; - public static Item ln2_8; - public static Item ln2_9; - public static Item ln2_10; - - public static void initializeItem() - { - redstone_sword = new RedstoneSword(ToolMaterial.STONE).setUnlocalizedName("redstone_sword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(RefStrings.MODID + ":redstone_sword"); - big_sword = new BigSword(ToolMaterial.EMERALD).setUnlocalizedName("big_sword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(RefStrings.MODID + ":big_sword"); - - test_helmet = new ArmorTest(MainRegistry.enumArmorMaterialEmerald, 5, 0).setUnlocalizedName("test_helmet").setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_helmet"); - test_chestplate = new ArmorTest(MainRegistry.enumArmorMaterialEmerald, 5, 1).setUnlocalizedName("test_chestplate").setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_chestplate"); - test_leggings = new ArmorTest(MainRegistry.enumArmorMaterialEmerald, 5, 2).setUnlocalizedName("test_leggings").setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_leggings"); - test_boots = new ArmorTest(MainRegistry.enumArmorMaterialEmerald, 5, 3).setUnlocalizedName("test_boots").setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_boots"); - - test_nuke_igniter = new Item().setUnlocalizedName("test_nuke_igniter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_igniter"); - test_nuke_propellant = new Item().setUnlocalizedName("test_nuke_propellant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_propellant"); - test_nuke_tier1_shielding = new Item().setUnlocalizedName("test_nuke_tier1_shielding").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier1_shielding"); - test_nuke_tier2_shielding = new Item().setUnlocalizedName("test_nuke_tier2_shielding").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier2_shielding"); - test_nuke_tier1_bullet = new Item().setUnlocalizedName("test_nuke_tier1_bullet").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier1_bullet"); - test_nuke_tier2_bullet = new Item().setUnlocalizedName("test_nuke_tier2_bullet").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier2_bullet"); - test_nuke_tier1_target = new Item().setUnlocalizedName("test_nuke_tier1_target").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier1_target"); - test_nuke_tier2_target = new Item().setUnlocalizedName("test_nuke_tier2_target").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier2_target"); - - ingot_uranium = new ItemRadioactive().setUnlocalizedName("ingot_uranium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_uranium"); - ingot_u235 = new ItemRadioactive().setUnlocalizedName("ingot_u235").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_uranium"); - ingot_u238 = new ItemRadioactive().setUnlocalizedName("ingot_u238").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_uranium"); - ingot_plutonium = new ItemRadioactive().setUnlocalizedName("ingot_plutonium").setCreativeTab(MainRegistry.tabParts).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); - ingot_pu238 = new ItemRadioactive().setUnlocalizedName("ingot_pu238").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); - ingot_pu239 = new ItemRadioactive().setUnlocalizedName("ingot_pu239").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); - ingot_pu240 = new ItemRadioactive().setUnlocalizedName("ingot_pu240").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); - ingot_neptunium = new ItemCustomLore().setUnlocalizedName("ingot_neptunium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_neptunium"); - ingot_titanium = new Item().setUnlocalizedName("ingot_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_titanium"); - sulfur = new Item().setUnlocalizedName("sulfur").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":sulfur"); - - ingot_uranium_fuel = new ItemRadioactive().setUnlocalizedName("ingot_uranium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_uranium"); - ingot_plutonium_fuel = new ItemRadioactive().setUnlocalizedName("ingot_plutonium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); - ingot_mox_fuel = new ItemRadioactive().setUnlocalizedName("ingot_mox_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_mox_fuel"); - ingot_schrabidium_fuel = new ItemRadioactive().setUnlocalizedName("ingot_schrabidium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_schrabidium_fuel"); - nugget_uranium_fuel = new ItemRadioactive().setUnlocalizedName("nugget_uranium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_uranium"); - nugget_plutonium_fuel = new ItemRadioactive().setUnlocalizedName("nugget_plutonium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); - nugget_mox_fuel = new ItemRadioactive().setUnlocalizedName("nugget_mox_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_mox_fuel"); - nugget_schrabidium_fuel = new ItemRadioactive().setUnlocalizedName("nugget_schrabidium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_schrabidium_fuel"); - ingot_advanced_alloy = new Item().setUnlocalizedName("ingot_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_advanced_alloy"); - - niter = new Item().setUnlocalizedName("niter").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":salpeter"); - ingot_copper = new Item().setUnlocalizedName("ingot_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_copper"); - ingot_red_copper = new Item().setUnlocalizedName("ingot_red_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_red_copper"); - ingot_tungsten = new Item().setUnlocalizedName("ingot_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_tungsten"); - ingot_aluminium = new Item().setUnlocalizedName("ingot_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_aluminium"); - fluorite = new Item().setUnlocalizedName("fluorite").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fluorite"); - ingot_beryllium = new Item().setUnlocalizedName("ingot_beryllium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_beryllium"); - ingot_steel = new Item().setUnlocalizedName("ingot_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_steel"); - plate_steel = new Item().setUnlocalizedName("plate_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_steel"); - plate_iron = new Item().setUnlocalizedName("plate_iron").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_iron"); - ingot_lead = new Item().setUnlocalizedName("ingot_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_lead"); - plate_lead = new Item().setUnlocalizedName("plate_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_lead"); - ingot_schrabidium = new ItemCustomLore().setUnlocalizedName("ingot_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_schrabidium"); - plate_schrabidium = new ItemCustomLore().setUnlocalizedName("plate_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_schrabidium"); - plate_copper = new Item().setUnlocalizedName("plate_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_copper"); - plate_gold = new Item().setUnlocalizedName("plate_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_gold"); - plate_advanced_alloy = new Item().setUnlocalizedName("plate_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_advanced_alloy"); - lithium = new Item().setUnlocalizedName("lithium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":lithium"); - wire_advanced_alloy = new Item().setUnlocalizedName("wire_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_advanced_alloy"); - coil_advanced_alloy = new Item().setUnlocalizedName("coil_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_advanced_alloy"); - coil_advanced_torus = new Item().setUnlocalizedName("coil_advanced_torus").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_advanced_torus"); - ingot_magnetized_tungsten = new Item().setUnlocalizedName("ingot_magnetized_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_magnetized_tungsten"); - ingot_combine_steel = new ItemCustomLore().setUnlocalizedName("ingot_combine_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_combine_steel"); - plate_mixed = new Item().setUnlocalizedName("plate_mixed").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_mixed"); - plate_paa = new ItemCustomLore().setUnlocalizedName("plate_paa").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_paa"); - - nugget_uranium = new ItemRadioactive().setUnlocalizedName("nugget_uranium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_uranium"); - nugget_u235 = new ItemRadioactive().setUnlocalizedName("nugget_u235").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_uranium"); - nugget_u238 = new ItemRadioactive().setUnlocalizedName("nugget_u238").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_uranium"); - nugget_plutonium = new ItemRadioactive().setUnlocalizedName("nugget_plutonium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); - nugget_pu238 = new ItemRadioactive().setUnlocalizedName("nugget_pu238").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); - nugget_pu239 = new ItemRadioactive().setUnlocalizedName("nugget_pu239").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); - nugget_pu240 = new ItemRadioactive().setUnlocalizedName("nugget_pu240").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); - nugget_neptunium = new ItemRadioactive().setUnlocalizedName("nugget_neptunium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_neptunium"); - plate_titanium = new Item().setUnlocalizedName("plate_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_titanium"); - plate_aluminium = new Item().setUnlocalizedName("plate_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_aluminium"); - wire_red_copper = new Item().setUnlocalizedName("wire_red_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_red_copper"); - wire_tungsten = new ItemCustomLore().setUnlocalizedName("wire_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_tungsten"); - neutron_reflector = new Item().setUnlocalizedName("neutron_reflector").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":neutron_reflector"); - nugget_lead = new Item().setUnlocalizedName("nugget_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_lead"); - nugget_schrabidium = new ItemCustomLore().setUnlocalizedName("nugget_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_schrabidium"); - nugget_beryllium = new Item().setUnlocalizedName("nugget_beryllium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_beryllium"); - hazmat_cloth = new Item().setUnlocalizedName("hazmat_cloth").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hazmat_cloth"); - filter_coal = new Item().setUnlocalizedName("filter_coal").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":filter_coal"); - ingot_hes = new ItemRadioactive().setUnlocalizedName("ingot_hes").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_hes"); - ingot_les = new ItemRadioactive().setUnlocalizedName("ingot_les").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_les"); - nugget_hes = new ItemRadioactive().setUnlocalizedName("nugget_hes").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_hes"); - nugget_les = new ItemRadioactive().setUnlocalizedName("nugget_les").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_les"); - plate_combine_steel = new Item().setUnlocalizedName("plate_combine_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_combine_steel"); - - powder_lead = new Item().setUnlocalizedName("powder_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_lead"); - powder_neptunium = new ItemCustomLore().setUnlocalizedName("powder_neptunium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_neptunium"); - powder_schrabidium = new ItemCustomLore().setUnlocalizedName("powder_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_schrabidium"); - powder_aluminium = new Item().setUnlocalizedName("powder_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_aluminium"); - powder_beryllium = new Item().setUnlocalizedName("powder_beryllium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_beryllium"); - powder_copper = new Item().setUnlocalizedName("powder_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_copper"); - powder_gold = new Item().setUnlocalizedName("powder_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_gold"); - powder_iron = new Item().setUnlocalizedName("powder_iron").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_iron"); - powder_titanium = new Item().setUnlocalizedName("powder_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_titanium"); - powder_tungsten = new Item().setUnlocalizedName("powder_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_tungsten"); - powder_uranium = new ItemRadioactive().setUnlocalizedName("powder_uranium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_uranium"); - powder_plutonium = new ItemRadioactive().setUnlocalizedName("powder_plutonium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_plutonium"); - dust = new ItemCustomLore().setUnlocalizedName("dust").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":dust"); - powder_advanced_alloy = new Item().setUnlocalizedName("powder_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_advanced_alloy"); - powder_coal = new Item().setUnlocalizedName("powder_coal").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_coal"); - powder_combine_steel = new Item().setUnlocalizedName("powder_combine_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_combine_steel"); - powder_diamond = new Item().setUnlocalizedName("powder_diamond").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_diamond"); - powder_emerald = new Item().setUnlocalizedName("powder_emerald").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_emerald"); - powder_lapis = new Item().setUnlocalizedName("powder_lapis").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_lapis"); - powder_quartz = new Item().setUnlocalizedName("powder_quartz").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_quartz"); - powder_magnetized_tungsten = new Item().setUnlocalizedName("powder_magnetized_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_magnetized_tungsten"); - powder_red_copper = new Item().setUnlocalizedName("powder_red_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_red_copper"); - powder_steel = new Item().setUnlocalizedName("powder_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_steel"); - powder_lithium = new Item().setUnlocalizedName("powder_lithium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_lithium"); - powder_power = new ItemCustomLore().setUnlocalizedName("powder_power").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_energy"); - powder_iodine = new ItemCustomLore().setUnlocalizedName("powder_iodine").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_iodine"); - powder_thorium = new ItemCustomLore().setUnlocalizedName("powder_thorium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_thorium"); - powder_neodymium = new ItemCustomLore().setUnlocalizedName("powder_neodymium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_neodymium"); - powder_astatine = new ItemCustomLore().setUnlocalizedName("powder_astatine").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_astatine"); - powder_caesium = new ItemCustomLore().setUnlocalizedName("powder_caesium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_caesium"); - - coil_copper = new Item().setUnlocalizedName("coil_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_copper"); - coil_copper_torus = new Item().setUnlocalizedName("coil_copper_torus").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_copper_torus"); - coil_tungsten = new Item().setUnlocalizedName("coil_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_tungsten"); - tank_steel = new Item().setUnlocalizedName("tank_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":tank_steel"); - motor = new Item().setUnlocalizedName("motor").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":motor"); - centrifuge_element = new Item().setUnlocalizedName("centrifuge_element").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":centrifuge_element"); - centrifuge_tower = new Item().setUnlocalizedName("centrifuge_tower").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":centrifuge_tower"); - reactor_core = new Item().setUnlocalizedName("reactor_core").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":reactor_core"); - rtg_unit = new Item().setUnlocalizedName("rtg_unit").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rtg_unit"); - thermo_unit_empty = new Item().setUnlocalizedName("thermo_unit_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thermo_unit_empty"); - thermo_unit_endo= new Item().setUnlocalizedName("thermo_unit_endo").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thermo_unit_endo"); - thermo_unit_exo = new Item().setUnlocalizedName("thermo_unit_exo").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thermo_unit_exo"); - levitation_unit = new Item().setUnlocalizedName("levitation_unit").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":levitation_unit"); - wire_aluminium = new Item().setUnlocalizedName("wire_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_aluminium"); - wire_copper = new Item().setUnlocalizedName("wire_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_copper"); - wire_gold = new Item().setUnlocalizedName("wire_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_gold"); - wire_schrabidium = new ItemCustomLore().setUnlocalizedName("wire_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_schrabidium"); - wire_magnetized_tungsten = new Item().setUnlocalizedName("wire_magnetized_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_magnetized_tungsten"); - coil_magnetized_tungsten = new Item().setUnlocalizedName("coil_magnetized_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_magnetized_tungsten"); - - cap_aluminium = new Item().setUnlocalizedName("cap_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":cap_aluminium"); - hull_small_steel = new Item().setUnlocalizedName("hull_small_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_small_steel"); - hull_small_aluminium = new Item().setUnlocalizedName("hull_small_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_small_aluminium"); - hull_big_steel = new Item().setUnlocalizedName("hull_big_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_big_steel"); - hull_big_aluminium = new Item().setUnlocalizedName("hull_big_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_big_aluminium"); - hull_big_titanium = new Item().setUnlocalizedName("hull_big_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_big_titanium"); - fins_flat = new Item().setUnlocalizedName("fins_flat").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_flat"); - fins_small_steel = new Item().setUnlocalizedName("fins_small_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_small_steel"); - fins_big_steel = new Item().setUnlocalizedName("fins_big_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_big_steel"); - fins_tri_steel = new Item().setUnlocalizedName("fins_tri_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_tri_steel"); - fins_quad_titanium = new Item().setUnlocalizedName("fins_quad_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_quad_titanium"); - sphere_steel = new Item().setUnlocalizedName("sphere_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":sphere_steel"); - pedestal_steel = new Item().setUnlocalizedName("pedestal_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pedestal_steel"); - dysfunctional_reactor = new Item().setUnlocalizedName("dysfunctional_reactor").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":dysfunctional_reactor"); - - warhead_generic_small = new Item().setUnlocalizedName("warhead_generic_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_generic_small"); - warhead_generic_medium = new Item().setUnlocalizedName("warhead_generic_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_generic_medium"); - warhead_generic_large = new Item().setUnlocalizedName("warhead_generic_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_generic_large"); - warhead_incendiary_small = new Item().setUnlocalizedName("warhead_incendiary_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_incendiary_small"); - warhead_incendiary_medium = new Item().setUnlocalizedName("warhead_incendiary_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_incendiary_medium"); - warhead_incendiary_large = new Item().setUnlocalizedName("warhead_incendiary_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_incendiary_large"); - warhead_cluster_small = new Item().setUnlocalizedName("warhead_cluster_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_cluster_small"); - warhead_cluster_medium = new Item().setUnlocalizedName("warhead_cluster_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_cluster_medium"); - warhead_cluster_large = new Item().setUnlocalizedName("warhead_cluster_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_cluster_large"); - warhead_buster_small = new Item().setUnlocalizedName("warhead_buster_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_buster_small"); - warhead_buster_medium = new Item().setUnlocalizedName("warhead_buster_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_buster_medium"); - warhead_buster_large = new Item().setUnlocalizedName("warhead_buster_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_buster_large"); - warhead_nuclear = new Item().setUnlocalizedName("warhead_nuclear").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_nuclear"); - warhead_mirvlet = new Item().setUnlocalizedName("warhead_mirvlet").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_mirvlet"); - warhead_mirv = new Item().setUnlocalizedName("warhead_mirv").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_mirv"); - warhead_thermo_endo = new Item().setUnlocalizedName("warhead_thermo_endo").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_thermo_endo"); - warhead_thermo_exo = new Item().setUnlocalizedName("warhead_thermo_exo").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_thermo_exo"); - - fuel_tank_small = new Item().setUnlocalizedName("fuel_tank_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fuel_tank_small"); - fuel_tank_medium = new Item().setUnlocalizedName("fuel_tank_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fuel_tank_medium"); - fuel_tank_large = new Item().setUnlocalizedName("fuel_tank_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fuel_tank_large"); - - thruster_small = new Item().setUnlocalizedName("thruster_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thruster_small"); - thruster_medium = new Item().setUnlocalizedName("thruster_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thruster_medium"); - thruster_large = new Item().setUnlocalizedName("thruster_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thruster_large"); - - chopper_head = new Item().setUnlocalizedName("chopper_head").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_head"); - chopper_gun = new Item().setUnlocalizedName("chopper_gun").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_gun"); - chopper_torso = new Item().setUnlocalizedName("chopper_torso").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_torso"); - chopper_tail = new Item().setUnlocalizedName("chopper_tail").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_tail"); - chopper_wing = new Item().setUnlocalizedName("chopper_wing").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_wing"); - chopper_blades = new Item().setUnlocalizedName("chopper_blades").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_blades"); - combine_scrap = new Item().setUnlocalizedName("combine_scrap").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":combine_scrap"); - - telepad = new Item().setUnlocalizedName("telepad").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":telepad"); - entanglement_kit = new Item().setUnlocalizedName("entanglement_kit").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":entanglement_kit"); - - circuit_aluminium = new Item().setUnlocalizedName("circuit_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_aluminium"); - circuit_copper = new Item().setUnlocalizedName("circuit_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_copper"); - circuit_red_copper = new Item().setUnlocalizedName("circuit_red_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_red_copper"); - circuit_gold = new Item().setUnlocalizedName("circuit_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_gold"); - circuit_schrabidium = new ItemCustomLore().setUnlocalizedName("circuit_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_schrabidium"); - - pellet_rtg = new ItemCustomLore().setUnlocalizedName("pellet_rtg").setCreativeTab(MainRegistry.tabParts).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":pellet_rtg"); - tritium_deuterium_cake = new ItemCustomLore().setUnlocalizedName("tritium_deuterium_cake").setCreativeTab(MainRegistry.tabParts).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":tritium_deuterium_cake"); - - cell_empty = new ItemCell().setUnlocalizedName("cell_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":cell_empty"); - cell_uf6 = new Item().setUnlocalizedName("cell_uf6").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_uf6"); - cell_puf6 = new Item().setUnlocalizedName("cell_puf6").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_puf6"); - cell_antimatter = new ItemDrop().setUnlocalizedName("cell_antimatter").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_antimatter"); - cell_deuterium = new Item().setUnlocalizedName("cell_deuterium").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_deuterium"); - cell_tritium = new ItemRadioactive().setUnlocalizedName("cell_tritium").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_tritium"); - cell_sas3 = new ItemCustomLore().setUnlocalizedName("cell_sas3").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_sas3"); - cell_anti_schrabidium = new ItemDrop().setUnlocalizedName("cell_anti_schrabidium").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_anti_schrabidium"); - singularity = new ItemDrop().setUnlocalizedName("singularity").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.nuclear_waste).setTextureName(RefStrings.MODID + ":singularity"); - singularity_counter_resonant = new ItemDrop().setUnlocalizedName("singularity_counter_resonant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.nuclear_waste).setTextureName(RefStrings.MODID + ":singularity_alt"); - singularity_super_heated = new ItemDrop().setUnlocalizedName("singularity_super_heated").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.nuclear_waste).setTextureName(RefStrings.MODID + ":singularity_5"); - black_hole = new ItemDrop().setUnlocalizedName("black_hole").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.nuclear_waste).setTextureName(RefStrings.MODID + ":singularity_4"); - crystal_xen = new ItemDrop().setUnlocalizedName("crystal_xen").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":crystal_xen"); - inf_water = new Item().setUnlocalizedName("inf_water").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_water"); - inf_coolant = new Item().setUnlocalizedName("inf_coolant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_coolant"); - inf_deuterium = new Item().setUnlocalizedName("inf_deuterium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_deuterium"); - inf_tritium = new Item().setUnlocalizedName("inf_tritium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_tritium"); - inf_sulfur = new Item().setUnlocalizedName("inf_sulfur").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_sulfur"); - inf_diesel = new Item().setUnlocalizedName("inf_diesel").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_diesel"); - inf_antimatter = new Item().setUnlocalizedName("inf_antimatter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_antimatter"); - inf_antischrabidium = new Item().setUnlocalizedName("inf_antischrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_antischrabidium"); - - blades_aluminium = new ItemBlades(1 * 1200).setUnlocalizedName("blades_aluminium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_aluminium"); - blades_gold = new ItemBlades(5 * 1200).setUnlocalizedName("blades_gold").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_gold"); - blades_iron = new ItemBlades(10 * 1200).setUnlocalizedName("blades_iron").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_iron"); - blades_steel = new ItemBlades(20 * 1200).setUnlocalizedName("blades_steel").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_steel"); - blades_titanium = new ItemBlades(35 * 1200).setUnlocalizedName("blades_titanium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_titanium"); - blades_advanced_alloy = new ItemBlades(50 * 1200).setUnlocalizedName("blades_advanced_alloy").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_advanced_alloy"); - blades_combine_steel = new ItemBlades(90 * 1200).setUnlocalizedName("blades_combine_steel").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_combine_steel"); - blades_schrabidium = new ItemBlades(120 * 1200).setUnlocalizedName("blades_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_schrabidium"); - - canister_empty = new ItemCustomLore().setUnlocalizedName("canister_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":canister_empty"); - canister_fuel = new ItemCustomLore().setUnlocalizedName("canister_fuel").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_fuel"); - canister_napalm = new ItemCustomLore().setUnlocalizedName("canister_napalm").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_napalm"); - canister_NITAN = new ItemCustomLore().setUnlocalizedName("canister_NITAN").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_superfuel"); - - tank_waste = new ItemTankWaste().setUnlocalizedName("tank_waste").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts); - - syringe_empty = new Item().setUnlocalizedName("syringe_empty").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_empty"); - syringe_antidote = new ItemSyringe().setUnlocalizedName("syringe_antidote").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_antidote"); - syringe_poison = new ItemSyringe().setUnlocalizedName("syringe_poison").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_poison"); - syringe_awesome = new ItemSyringe().setUnlocalizedName("syringe_awesome").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_awesome"); - syringe_metal_empty = new Item().setUnlocalizedName("syringe_metal_empty").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_metal_empty"); - syringe_metal_stimpak = new ItemSyringe().setUnlocalizedName("syringe_metal_stimpak").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_metal_stimpak"); - syringe_metal_medx = new ItemSyringe().setUnlocalizedName("syringe_metal_medx").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_metal_medx"); - syringe_metal_psycho = new ItemSyringe().setUnlocalizedName("syringe_metal_psycho").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_metal_psycho"); - stealth_boy = new ItemStarterKit().setUnlocalizedName("stealth_boy").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":stealth_boy"); - - can_empty = new Item().setUnlocalizedName("can_empty").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_empty"); - can_smart = new ItemEnergy().setUnlocalizedName("can_smart").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_smart"); - can_creature = new ItemEnergy().setUnlocalizedName("can_creature").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_creature"); - can_redbomb = new ItemEnergy().setUnlocalizedName("can_redbomb").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_redbomb"); - can_mrsugar = new ItemEnergy().setUnlocalizedName("can_mrsugar").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_mrsugar"); - - rod_empty = new Item().setUnlocalizedName("rod_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rod_empty"); - rod_uranium = new ItemCustomLore().setUnlocalizedName("rod_uranium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium"); - rod_u235 = new ItemCustomLore().setUnlocalizedName("rod_u235").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium"); - rod_u238 = new ItemCustomLore().setUnlocalizedName("rod_u238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium"); - rod_plutonium = new ItemCustomLore().setUnlocalizedName("rod_plutonium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); - rod_pu238 = new ItemCustomLore().setUnlocalizedName("rod_pu238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); - rod_pu239 = new ItemCustomLore().setUnlocalizedName("rod_pu239").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); - rod_pu240 = new ItemCustomLore().setUnlocalizedName("rod_pu240").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); - rod_neptunium = new ItemCustomLore().setUnlocalizedName("rod_neptunium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_neptunium"); - rod_lead = new Item().setUnlocalizedName("rod_lead").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_lead"); - rod_schrabidium = new ItemCustomLore().setUnlocalizedName("rod_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_schrabidium"); - - rod_dual_empty = new Item().setUnlocalizedName("rod_dual_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rod_dual_empty"); - rod_dual_uranium = new ItemCustomLore().setUnlocalizedName("rod_dual_uranium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium"); - rod_dual_u235 = new ItemCustomLore().setUnlocalizedName("rod_dual_u235").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium"); - rod_dual_u238 = new ItemCustomLore().setUnlocalizedName("rod_dual_u238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium"); - rod_dual_plutonium = new ItemCustomLore().setUnlocalizedName("rod_dual_plutonium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); - rod_dual_pu238 = new ItemCustomLore().setUnlocalizedName("rod_dual_pu238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); - rod_dual_pu239 = new ItemCustomLore().setUnlocalizedName("rod_dual_pu239").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); - rod_dual_pu240 = new ItemCustomLore().setUnlocalizedName("rod_dual_pu240").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); - rod_dual_neptunium = new ItemCustomLore().setUnlocalizedName("rod_dual_neptunium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_neptunium"); - rod_dual_lead = new Item().setUnlocalizedName("rod_dual_lead").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_lead"); - rod_dual_schrabidium = new ItemCustomLore().setUnlocalizedName("rod_dual_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_schrabidium"); - - rod_quad_empty = new Item().setUnlocalizedName("rod_quad_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rod_quad_empty"); - rod_quad_uranium = new ItemCustomLore().setUnlocalizedName("rod_quad_uranium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium"); - rod_quad_u235 = new ItemCustomLore().setUnlocalizedName("rod_quad_u235").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium"); - rod_quad_u238 = new ItemCustomLore().setUnlocalizedName("rod_quad_u238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium"); - rod_quad_plutonium = new ItemCustomLore().setUnlocalizedName("rod_quad_plutonium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); - rod_quad_pu238 = new ItemCustomLore().setUnlocalizedName("rod_quad_pu238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); - rod_quad_pu239 = new ItemCustomLore().setUnlocalizedName("rod_quad_pu239").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); - rod_quad_pu240 = new ItemCustomLore().setUnlocalizedName("rod_quad_pu240").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); - rod_quad_neptunium = new ItemCustomLore().setUnlocalizedName("rod_quad_neptunium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_neptunium"); - rod_quad_lead = new Item().setUnlocalizedName("rod_quad_lead").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_lead"); - rod_quad_schrabidium = new ItemCustomLore().setUnlocalizedName("rod_quad_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_schrabidium"); - - rod_uranium_fuel = new ItemFuelRod().setUnlocalizedName("rod_uranium_fuel").setMaxStackSize(1).setMaxDamage(10000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium"); - rod_dual_uranium_fuel = new ItemFuelRod().setUnlocalizedName("rod_dual_uranium_fuel").setMaxStackSize(1).setMaxDamage(20000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium"); - rod_quad_uranium_fuel = new ItemFuelRod().setUnlocalizedName("rod_quad_uranium_fuel").setMaxStackSize(1).setMaxDamage(40000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium"); - rod_plutonium_fuel = new ItemFuelRod().setUnlocalizedName("rod_plutonium_fuel").setMaxStackSize(1).setMaxDamage(25000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); - rod_dual_plutonium_fuel = new ItemFuelRod().setUnlocalizedName("rod_dual_plutonium_fuel").setMaxStackSize(1).setMaxDamage(50000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); - rod_quad_plutonium_fuel = new ItemFuelRod().setUnlocalizedName("rod_quad_plutonium_fuel").setMaxStackSize(1).setMaxDamage(100000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); - rod_mox_fuel = new ItemFuelRod().setUnlocalizedName("rod_mox_fuel").setMaxStackSize(1).setMaxDamage(100000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_mox_fuel"); - rod_dual_mox_fuel = new ItemFuelRod().setUnlocalizedName("rod_dual_mox_fuel").setMaxStackSize(1).setMaxDamage(200000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_mox_fuel"); - rod_quad_mox_fuel = new ItemFuelRod().setUnlocalizedName("rod_quad_mox_fuel").setMaxStackSize(1).setMaxDamage(400000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_mox_fuel"); - rod_schrabidium_fuel = new ItemFuelRod().setUnlocalizedName("rod_schrabidium_fuel").setMaxStackSize(1).setMaxDamage(2500000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_schrabidium_fuel"); - rod_dual_schrabidium_fuel = new ItemFuelRod().setUnlocalizedName("rod_dual_schrabidium_fuel").setMaxStackSize(1).setMaxDamage(5000000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_schrabidium_fuel"); - rod_quad_schrabidium_fuel = new ItemFuelRod().setUnlocalizedName("rod_quad_schrabidium_fuel").setMaxStackSize(1).setMaxDamage(10000000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_schrabidium_fuel"); - - rod_water = new ItemCustomLore().setUnlocalizedName("rod_water").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_water"); - rod_dual_water = new ItemCustomLore().setUnlocalizedName("rod_dual_water").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_water"); - rod_quad_water = new ItemCustomLore().setUnlocalizedName("rod_quad_water").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_water"); - - rod_coolant = new ItemCustomLore().setUnlocalizedName("rod_coolant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_coolant"); - rod_dual_coolant = new ItemCustomLore().setUnlocalizedName("rod_dual_coolant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_coolant"); - rod_quad_coolant = new ItemCustomLore().setUnlocalizedName("rod_quad_coolant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_coolant"); - - rod_lithium = new ItemCustomLore().setUnlocalizedName("rod_lithium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_lithium"); - rod_dual_lithium = new ItemCustomLore().setUnlocalizedName("rod_dual_lithium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_lithium"); - rod_quad_lithium = new ItemCustomLore().setUnlocalizedName("rod_quad_lithium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_lithium"); - - rod_tritium = new ItemCustomLore().setUnlocalizedName("rod_tritium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_tritium"); - rod_dual_tritium = new ItemCustomLore().setUnlocalizedName("rod_dual_tritium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_tritium"); - rod_quad_tritium = new ItemCustomLore().setUnlocalizedName("rod_quad_tritium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_tritium"); - - trinitite = new ItemCustomLore().setUnlocalizedName("trinitite").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":trinitite_new"); - nuclear_waste = new ItemCustomLore().setUnlocalizedName("nuclear_waste").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nuclear_waste"); - scrap = new Item().setUnlocalizedName("scrap").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":scrap"); - rod_uranium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_uranium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium_fuel_depleted"); - rod_dual_uranium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_dual_uranium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium_fuel_depleted"); - rod_quad_uranium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_quad_uranium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium_fuel_depleted"); - rod_plutonium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_plutonium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium_fuel_depleted"); - rod_dual_plutonium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_dual_plutonium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium_fuel_depleted"); - rod_quad_plutonium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_quad_plutonium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium_fuel_depleted"); - rod_mox_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_mox_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_mox_fuel_depleted"); - rod_dual_mox_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_dual_mox_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_mox_fuel_depleted"); - rod_quad_mox_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_quad_mox_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_mox_fuel_depleted"); - rod_schrabidium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_schrabidium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_schrabidium_fuel_depleted"); - rod_dual_schrabidium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_dual_schrabidium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_schrabidium_fuel_depleted"); - rod_quad_schrabidium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_quad_schrabidium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_schrabidium_fuel_depleted"); - rod_waste = new ItemCustomLore().setUnlocalizedName("rod_waste").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_waste"); - rod_dual_waste = new ItemCustomLore().setUnlocalizedName("rod_dual_waste").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_waste"); - rod_quad_waste = new ItemCustomLore().setUnlocalizedName("rod_quad_waste").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_waste"); - - pellet_cluster = new ItemCustomLore().setUnlocalizedName("pellet_cluster").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_cluster"); - powder_fire = new ItemCustomLore().setUnlocalizedName("powder_fire").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_fire"); - powder_poison = new ItemCustomLore().setUnlocalizedName("powder_poison").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_poison"); - powder_thermite = new ItemCustomLore().setUnlocalizedName("powder_thermite").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_thermite"); - pellet_gas = new ItemCustomLore().setUnlocalizedName("pellet_gas").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_gas"); - magnetron = new ItemCustomLore().setUnlocalizedName("magnetron").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":magnetron_alt"); - - pellet_schrabidium = new WatzFuel(50000, 140000, 0.975F, 200, 1.05F, 1.05F).setUnlocalizedName("pellet_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_schrabidium").setMaxStackSize(1); - pellet_hes = new WatzFuel(108000, 65000, 1F, 85, 1, 1.025F).setUnlocalizedName("pellet_hes").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_hes").setMaxStackSize(1); - pellet_mes = new WatzFuel(216000, 23000, 1.025F, 50, 1, 1F).setUnlocalizedName("pellet_mes").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_mes").setMaxStackSize(1); - pellet_les = new WatzFuel(432000, 7000, 1.05F, 15, 1, 0.975F).setUnlocalizedName("pellet_les").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_les").setMaxStackSize(1); - pellet_beryllium = new WatzFuel(864000, 50, 1.05F, 0, 0.95F, 1.025F).setUnlocalizedName("pellet_beryllium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_beryllium").setMaxStackSize(1); - pellet_neptunium = new WatzFuel(216000, 3000, 1.1F, 25, 1.1F, 1.005F).setUnlocalizedName("pellet_neptunium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_neptunium").setMaxStackSize(1); - pellet_lead = new WatzFuel(1728000, 0, 0.95F, 0, 0.95F, 0.95F).setUnlocalizedName("pellet_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_lead").setMaxStackSize(1); - pellet_advanced = new WatzFuel(216000, 1000, 1.1F, 0, 0.995F, 0.99F).setUnlocalizedName("pellet_advanced").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_advanced").setMaxStackSize(1); - - designator = new ItemDesingator().setUnlocalizedName("designator").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":designator"); - missile_generic = new Item().setUnlocalizedName("missile_generic").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_generic"); - missile_anti_ballistic = new Item().setUnlocalizedName("missile_anti_ballistic").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_anti_ballistic"); - missile_incendiary = new Item().setUnlocalizedName("missile_incendiary").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_incendiary"); - missile_cluster = new Item().setUnlocalizedName("missile_cluster").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_cluster"); - missile_buster = new Item().setUnlocalizedName("missile_buster").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_buster"); - missile_strong = new Item().setUnlocalizedName("missile_strong").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_strong"); - missile_incendiary_strong = new Item().setUnlocalizedName("missile_incendiary_strong").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_incendiary_strong"); - missile_cluster_strong = new Item().setUnlocalizedName("missile_cluster_strong").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_cluster_strong"); - missile_buster_strong = new Item().setUnlocalizedName("missile_buster_strong").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_buster_strong"); - missile_burst = new Item().setUnlocalizedName("missile_burst").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_burst"); - missile_inferno = new Item().setUnlocalizedName("missile_inferno").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_inferno"); - missile_rain = new Item().setUnlocalizedName("missile_rain").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_rain"); - missile_drill = new Item().setUnlocalizedName("missile_drill").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_drill"); - missile_nuclear = new Item().setUnlocalizedName("missile_nuclear").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_nuclear"); - missile_nuclear_cluster = new Item().setUnlocalizedName("missile_nuclear_cluster").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_nuclear_cluster"); - missile_endo = new Item().setUnlocalizedName("missile_endo").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_endo"); - missile_exo = new Item().setUnlocalizedName("missile_exo").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_exo"); - - gun_rpg = new GunRpg().setUnlocalizedName("gun_rpg").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_rpg_new"); - gun_rpg_ammo = new Item().setUnlocalizedName("gun_rpg_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_rpg_ammo_new"); - gun_revolver_ammo = new Item().setUnlocalizedName("gun_revolver_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_ammo"); - gun_revolver = new GunRevolver(gun_revolver_ammo, 10, 25, false, false).setMaxDamage(500).setUnlocalizedName("gun_revolver").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver"); - gun_revolver_iron_ammo = new Item().setUnlocalizedName("gun_revolver_iron_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_iron_ammo"); - gun_revolver_iron = new GunRevolver(gun_revolver_iron_ammo, 5, 15, false, false).setMaxDamage(100).setUnlocalizedName("gun_revolver_iron").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_iron"); - gun_revolver_gold_ammo = new Item().setUnlocalizedName("gun_revolver_gold_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_gold_ammo"); - gun_revolver_gold = new GunRevolver(gun_revolver_gold_ammo, 20, 30, false, false).setMaxDamage(1000).setUnlocalizedName("gun_revolver_gold").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_gold"); - gun_revolver_lead_ammo = new Item().setUnlocalizedName("gun_revolver_lead_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_lead_ammo"); - gun_revolver_lead = new GunRevolver(gun_revolver_lead_ammo, 5, 15, false, true).setMaxDamage(250).setUnlocalizedName("gun_revolver_lead").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_lead"); - gun_revolver_schrabidium_ammo = new ItemCustomLore().setUnlocalizedName("gun_revolver_schrabidium_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_schrabidium_ammo"); - gun_revolver_schrabidium = new GunRevolver(gun_revolver_schrabidium_ammo, 10000, 100000, true, false).setMaxDamage(100000).setUnlocalizedName("gun_revolver_schrabidium").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_schrabidium"); - gun_revolver_cursed_ammo = new ItemCustomLore().setUnlocalizedName("gun_revolver_cursed_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_cursed_ammo"); - gun_revolver_cursed = new GunRevolver(gun_revolver_cursed_ammo, 25, 40, false, false).setMaxDamage(5000).setUnlocalizedName("gun_revolver_cursed").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_cursed"); - gun_fatman_ammo = new Item().setUnlocalizedName("gun_fatman_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_fatman_ammo"); - gun_fatman = new GunFatman().setMaxDamage(2500).setUnlocalizedName("gun_fatman").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_fatman"); - gun_mirv_ammo = new Item().setUnlocalizedName("gun_mirv_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_mirv_ammo"); - gun_mirv = new GunMIRV().setMaxDamage(2500).setUnlocalizedName("gun_mirv").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_mirv"); - gun_bf_ammo = new Item().setUnlocalizedName("gun_bf_ammo").setCreativeTab(null).setTextureName(RefStrings.MODID + ":gun_bf_ammo"); - gun_bf = new GunBaleFlare().setMaxDamage(2500).setUnlocalizedName("gun_bf").setCreativeTab(null).setTextureName(RefStrings.MODID + ":gun_bf"); - gun_mp40_ammo = new Item().setUnlocalizedName("gun_mp40_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_mp40_ammo"); - gun_mp40 = new GunSMG().setUnlocalizedName("gun_mp40").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_mp40"); - gun_xvl1456_ammo = new Item().setUnlocalizedName("gun_xvl1456_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_xvl1456_ammo"); - gun_xvl1456 = new GunXVL1456().setUnlocalizedName("gun_xvl1456").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_xvl1456"); - gun_osipr_ammo = new Item().setUnlocalizedName("gun_osipr_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_osipr_ammo"); - gun_osipr_ammo2 = new Item().setUnlocalizedName("gun_osipr_ammo2").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_osipr_ammo2"); - gun_osipr = new GunOSIPR().setUnlocalizedName("gun_osipr").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_osipr"); - gun_immolator_ammo = new Item().setUnlocalizedName("gun_immolator_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_immolator_ammo"); - gun_immolator = new GunImmolator().setUnlocalizedName("gun_immolator").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_immolator"); - gun_cryolator_ammo = new Item().setUnlocalizedName("gun_cryolator_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_cryolator_ammo"); - gun_cryolator = new GunCryolator().setUnlocalizedName("gun_cryolator").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_cryolator"); - gun_mp_ammo = new ItemCustomLore().setUnlocalizedName("gun_mp_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_pm_ammo"); - gun_mp = new GunMP().setUnlocalizedName("gun_mp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_pm"); - gun_zomg = new GunZOMG().setUnlocalizedName("gun_zomg").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_zomg"); - gun_revolver_inverted = new GunSuicide().setUnlocalizedName("gun_revolver_inverted").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_inverted"); -<<<<<<< HEAD - gun_emp_ammo = new Item().setUnlocalizedName("gun_emp_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_emp_ammo"); - gun_emp = new GunEMPRay().setUnlocalizedName("gun_emp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_emp"); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - gun_super_shotgun = new ItemCustomLore().setUnlocalizedName("gun_super_shotgun").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_super_shotgun"); - gun_moist_nugget = new ItemNugget(3, false).setUnlocalizedName("gun_moist_nugget").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_moist_nugget"); - - grenade_generic = new ItemGrenade().setUnlocalizedName("grenade_generic").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_generic"); - grenade_strong = new ItemGrenade().setUnlocalizedName("grenade_strong").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_strong"); - grenade_frag = new ItemGrenade().setUnlocalizedName("grenade_frag").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_frag_alt"); - grenade_fire = new ItemGrenade().setUnlocalizedName("grenade_fire").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_fire_alt"); - grenade_cluster = new ItemGrenade().setUnlocalizedName("grenade_cluster").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_cluster_alt"); - grenade_flare = new ItemGrenade().setUnlocalizedName("grenade_flare").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_flare_alt"); - grenade_electric = new ItemGrenade().setUnlocalizedName("grenade_electric").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_electric_alt"); - grenade_poison = new ItemGrenade().setUnlocalizedName("grenade_poison").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_poison_alt"); - grenade_gas = new ItemGrenade().setUnlocalizedName("grenade_gas").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_gas_alt"); - grenade_plasma = new ItemGrenade().setUnlocalizedName("grenade_plasma").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_plasma_alt"); - grenade_tau = new ItemGrenade().setUnlocalizedName("grenade_tau").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_tau_alt"); - grenade_schrabidium = new ItemGrenade().setUnlocalizedName("grenade_schrabidium").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_schrabidium_alt"); - grenade_lemon = new ItemGrenade().setUnlocalizedName("grenade_lemon").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_lemon"); - grenade_mk2 = new ItemGrenade().setUnlocalizedName("grenade_mk2").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_mk2_alt"); - grenade_aschrab = new ItemGrenade().setUnlocalizedName("grenade_aschrab").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_aschrab"); - grenade_nuke = new ItemGrenade().setUnlocalizedName("grenade_nuke").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_nuke_alt"); - grenade_nuclear = new ItemGrenade().setUnlocalizedName("grenade_nuclear").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_nuclear"); - grenade_zomg = new ItemGrenade().setUnlocalizedName("grenade_zomg").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_zomg"); - - bomb_waffle = new ItemWaffle(20, false).setUnlocalizedName("bomb_waffle").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bomb_waffle"); - schnitzel_vegan = new ItemSchnitzelVegan(0, true).setUnlocalizedName("schnitzel_vegan").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":schnitzel_vegan"); - cotton_candy = new ItemCottonCandy(5, false).setUnlocalizedName("cotton_candy").setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":cotton_candy"); - apple_schrabidium = new ItemAppleSchrabidium(20, 100, false).setUnlocalizedName("apple_schrabidium").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":apple_schrabidium"); - tem_flakes = new ItemTemFlakes(0, 0, false).setUnlocalizedName("tem_flakes").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":tem_flakes"); - glowing_stew = new ItemSoup(6).setUnlocalizedName("glowing_stew").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":glowing_stew"); - lemon = new ItemLemon(3, 5, false).setUnlocalizedName("lemon").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":lemon"); - - flame_pony = new ItemCustomLore().setUnlocalizedName("flame_pony").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":flame_pony"); - flame_conspiracy = new ItemCustomLore().setUnlocalizedName("flame_conspiracy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":flame_conspiracy"); - flame_politics = new ItemCustomLore().setUnlocalizedName("flame_politics").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":flame_politics"); - flame_opinion = new ItemCustomLore().setUnlocalizedName("flame_opinion").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":flame_opinion"); - - gadget_explosive = new Item().setUnlocalizedName("gadget_explosive").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_explosive"); - gadget_explosive8 = new ItemGadget().setUnlocalizedName("gadget_explosive8").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_explosive8"); - gadget_wireing = new ItemGadget().setUnlocalizedName("gadget_wireing").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_wireing"); - gadget_core = new ItemGadget().setUnlocalizedName("gadget_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_core"); - - boy_igniter = new ItemBoy().setUnlocalizedName("boy_igniter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_igniter"); - boy_propellant = new ItemBoy().setUnlocalizedName("boy_propellant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_propellant"); - boy_bullet = new ItemBoy().setUnlocalizedName("boy_bullet").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_bullet"); - boy_target = new ItemBoy().setUnlocalizedName("boy_target").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_target"); - boy_shielding = new ItemBoy().setUnlocalizedName("boy_shielding").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_shielding"); - - man_explosive = new Item().setUnlocalizedName("man_explosive").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_explosive"); - man_explosive8 = new ItemManMike().setUnlocalizedName("man_explosive8").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_explosive8"); - man_igniter = new ItemMan().setUnlocalizedName("man_igniter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_igniter"); - man_core = new ItemManMike().setUnlocalizedName("man_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_core"); - - mike_core = new ItemMike().setUnlocalizedName("mike_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":mike_core"); - mike_deut = new ItemMike().setUnlocalizedName("mike_deut").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setContainerItem(ModItems.tank_steel).setTextureName(RefStrings.MODID + ":mike_deut"); - mike_cooling_unit = new ItemMike().setUnlocalizedName("mike_cooling_unit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":mike_cooling_unit"); - - tsar_core = new ItemTsar().setUnlocalizedName("tsar_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":tsar_core"); - - fleija_igniter = new ItemFleija().setUnlocalizedName("fleija_igniter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":fleija_igniter"); - fleija_propellant = new ItemFleija().setUnlocalizedName("fleija_propellant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":fleija_propellant"); - fleija_core = new ItemFleija().setUnlocalizedName("fleija_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":fleija_core"); - - battery_generic = new ItemBattery(50).setUnlocalizedName("battery_generic").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":battery_generic"); - battery_advanced = new ItemBattery(200).setUnlocalizedName("battery_advanced").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":battery_advanced"); - battery_schrabidium = new ItemBattery(10000).setUnlocalizedName("battery_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":battery_schrabidium"); - battery_creative = new Item().setUnlocalizedName("battery_creative").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":battery_creative"); - - fusion_core = new ItemBattery(5000).setUnlocalizedName("fusion_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fusion_core"); - energy_core = new ItemBattery(5000).setUnlocalizedName("energy_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":energy_core"); - fuse = new ItemCustomLore().setUnlocalizedName("fuse").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fuse"); - redcoil_capacitor = new ItemCapacitor(10).setUnlocalizedName("redcoil_capacitor").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":redcoil_capacitor"); - titanium_filter = new ItemCapacitor(72000).setUnlocalizedName("titanium_filter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":titanium_filter"); - screwdriver = new ItemCustomLore().setUnlocalizedName("screwdriver").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":screwdriver"); - overfuse = new ItemCustomLore().setUnlocalizedName("overfuse").setMaxStackSize(1).setFull3D().setTextureName(RefStrings.MODID + ":overfuse"); - - factory_core_titanium = new ItemBattery(70400).setUnlocalizedName("factory_core_titanium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":factory_core_titanium"); - factory_core_advanced = new ItemBattery(41600).setUnlocalizedName("factory_core_advanced").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":factory_core_advanced"); - - wand = new ItemWand().setUnlocalizedName("wand_k").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":wand"); - wand_s = new ItemWandS().setUnlocalizedName("wand_s").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":wand_s"); - wand_d = new ItemWandD().setUnlocalizedName("wand_d").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":wand_d"); - - nuke_starter_kit = new ItemStarterKit().setUnlocalizedName("nuke_starter_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_starter_kit"); - nuke_advanced_kit = new ItemStarterKit().setUnlocalizedName("nuke_advanced_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_advanced_kit"); - nuke_commercially_kit = new ItemStarterKit().setUnlocalizedName("nuke_commercially_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_commercially_kit"); - nuke_electric_kit = new ItemStarterKit().setUnlocalizedName("nuke_electric_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_electric_kit"); - gadget_kit = new ItemStarterKit().setUnlocalizedName("gadget_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_kit"); - boy_kit = new ItemStarterKit().setUnlocalizedName("boy_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_kit"); - man_kit = new ItemStarterKit().setUnlocalizedName("man_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_kit"); - mike_kit = new ItemStarterKit().setUnlocalizedName("mike_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":mike_kit"); - tsar_kit = new ItemStarterKit().setUnlocalizedName("tsar_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":tsar_kit"); - multi_kit = new ItemStarterKit().setUnlocalizedName("multi_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":multi_kit"); - grenade_kit = new ItemStarterKit().setUnlocalizedName("grenade_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_kit"); - fleija_kit = new ItemStarterKit().setUnlocalizedName("fleija_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":fleija_kit"); - prototype_kit = new ItemStarterKit().setUnlocalizedName("prototype_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":prototype_kit"); - missile_kit = new ItemStarterKit().setUnlocalizedName("missile_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_kit"); - t45_kit = new ItemStarterKit().setUnlocalizedName("t45_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":t45_kit"); - euphemium_kit = new ItemStarterKit().setUnlocalizedName("euphemium_kit").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":code"); - - clip_revolver_iron = new ItemClip().setUnlocalizedName("clip_revolver_iron").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_iron"); - clip_revolver = new ItemClip().setUnlocalizedName("clip_revolver").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver"); - clip_revolver_gold = new ItemClip().setUnlocalizedName("clip_revolver_gold").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_gold"); - clip_revolver_lead = new ItemClip().setUnlocalizedName("clip_revolver_lead").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_lead"); - clip_revolver_schrabidium = new ItemClip().setUnlocalizedName("clip_revolver_schrabidium").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_schrabidium"); - clip_revolver_cursed = new ItemClip().setUnlocalizedName("clip_revolver_cursed").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_cursed"); - clip_rpg = new ItemClip().setUnlocalizedName("clip_rpg").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_rpg"); - clip_fatman = new ItemClip().setUnlocalizedName("clip_fatman").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_fatman"); - clip_mirv = new ItemClip().setUnlocalizedName("clip_mirv").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_mirv"); - clip_bf = new ItemClip().setUnlocalizedName("clip_bf").setCreativeTab(null).setTextureName(RefStrings.MODID + ":clip_bf"); - clip_mp40 = new ItemClip().setUnlocalizedName("clip_mp40").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_mp40"); - clip_osipr = new ItemClip().setUnlocalizedName("clip_osipr").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_osipr"); - clip_immolator = new ItemClip().setUnlocalizedName("clip_immolator").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_immolator"); - clip_cryolator = new ItemClip().setUnlocalizedName("clip_cryolator").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_cryolator"); - clip_mp = new ItemClip().setUnlocalizedName("clip_mp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_mp"); - clip_xvl1456 = new ItemClip().setUnlocalizedName("clip_xvl1456").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_xvl1456"); - clip_emp = new ItemClip().setUnlocalizedName("clip_emp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_emp"); - - ingot_euphemium = new ItemCustomLore().setUnlocalizedName("ingot_euphemium").setTextureName(RefStrings.MODID + ":ingot_euphemium"); - nugget_euphemium = new ItemCustomLore().setUnlocalizedName("nugget_euphemium").setTextureName(RefStrings.MODID + ":nugget_euphemium"); - rod_quad_euphemium = new ItemCustomLore().setUnlocalizedName("rod_quad_euphemium").setMaxStackSize(1).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_euphemium"); - watch = new ItemCustomLore().setUnlocalizedName("watch").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":watch"); - apple_euphemium = new ItemAppleEuphemium(20, 100, false).setUnlocalizedName("apple_euphemium").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":apple_euphemium"); - - igniter = new ItemCustomLore().setUnlocalizedName("igniter").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":trigger"); - detonator = new ItemDetonator().setUnlocalizedName("detonator").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":detonator"); - crate_caller = new ItemCrateCaller().setUnlocalizedName("crate_caller").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":crate_caller"); - remote = new ItemRamManipulator().setUnlocalizedName("remote").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":remote"); - chopper = new ItemChopper().setUnlocalizedName("chopper").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":chopper"); -<<<<<<< HEAD - linker = new ItemTeleLink().setUnlocalizedName("linker").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":linker"); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - euphemium_helmet = new ArmorEuphemium(MainRegistry.enumArmorMaterialEuphemium, 6, 0).setUnlocalizedName("euphemium_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":euphemium_helmet"); - euphemium_plate = new ArmorEuphemium(MainRegistry.enumArmorMaterialEuphemium, 6, 1).setUnlocalizedName("euphemium_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":euphemium_plate"); - euphemium_legs = new ArmorEuphemium(MainRegistry.enumArmorMaterialEuphemium, 6, 2).setUnlocalizedName("euphemium_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":euphemium_legs"); - euphemium_boots = new ArmorEuphemium(MainRegistry.enumArmorMaterialEuphemium, 6, 3).setUnlocalizedName("euphemium_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":euphemium_boots"); - - goggles = new ArmorModel(ArmorMaterial.IRON, 7, 0).setUnlocalizedName("goggles").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":goggles"); - gas_mask = new ArmorModel(ArmorMaterial.IRON, 7, 0).setUnlocalizedName("gas_mask").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":gas_mask"); - - t45_helmet = new ArmorT45(MainRegistry.enumArmorMaterialT45, 2, 0).setUnlocalizedName("t45_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":t45_helmet"); - t45_plate = new ArmorT45(MainRegistry.enumArmorMaterialT45, 2, 1).setUnlocalizedName("t45_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":t45_plate"); - t45_legs = new ArmorT45(MainRegistry.enumArmorMaterialT45, 2, 2).setUnlocalizedName("t45_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":t45_legs"); - t45_boots = new ArmorT45(MainRegistry.enumArmorMaterialT45, 2, 3).setUnlocalizedName("t45_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":t45_boots"); - - chainsaw = new ModAxe(MainRegistry.enumToolMaterialChainsaw).setUnlocalizedName("chainsaw").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":chainsaw"); - - schrabidium_helmet = new ArmorSchrabidium(MainRegistry.enumArmorMaterialSchrabidium, 7, 0).setUnlocalizedName("schrabidium_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_helmet"); - schrabidium_plate = new ArmorSchrabidium(MainRegistry.enumArmorMaterialSchrabidium, 7, 1).setUnlocalizedName("schrabidium_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_plate"); - schrabidium_legs = new ArmorSchrabidium(MainRegistry.enumArmorMaterialSchrabidium, 7, 2).setUnlocalizedName("schrabidium_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_legs"); - schrabidium_boots = new ArmorSchrabidium(MainRegistry.enumArmorMaterialSchrabidium, 7, 3).setUnlocalizedName("schrabidium_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_boots"); - titanium_helmet = new ModArmor(MainRegistry.enumArmorMaterialTitanium, 7, 0).setUnlocalizedName("titanium_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_helmet"); - titanium_plate = new ModArmor(MainRegistry.enumArmorMaterialTitanium, 7, 1).setUnlocalizedName("titanium_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_plate"); - titanium_legs = new ModArmor(MainRegistry.enumArmorMaterialTitanium, 7, 2).setUnlocalizedName("titanium_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_legs"); - titanium_boots = new ModArmor(MainRegistry.enumArmorMaterialTitanium, 7, 3).setUnlocalizedName("titanium_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_boots"); - steel_helmet = new ModArmor(MainRegistry.enumArmorMaterialSteel, 7, 0).setUnlocalizedName("steel_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_helmet"); - steel_plate = new ModArmor(MainRegistry.enumArmorMaterialSteel, 7, 1).setUnlocalizedName("steel_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_plate"); - steel_legs = new ModArmor(MainRegistry.enumArmorMaterialSteel, 7, 2).setUnlocalizedName("steel_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_legs"); - steel_boots = new ModArmor(MainRegistry.enumArmorMaterialSteel, 7, 3).setUnlocalizedName("steel_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_boots"); - alloy_helmet = new ModArmor(MainRegistry.enumArmorMaterialAlloy, 7, 0).setUnlocalizedName("alloy_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_helmet"); - alloy_plate = new ModArmor(MainRegistry.enumArmorMaterialAlloy, 7, 1).setUnlocalizedName("alloy_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_plate"); - alloy_legs = new ModArmor(MainRegistry.enumArmorMaterialAlloy, 7, 2).setUnlocalizedName("alloy_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_legs"); - alloy_boots = new ModArmor(MainRegistry.enumArmorMaterialAlloy, 7, 3).setUnlocalizedName("alloy_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_boots"); - cmb_helmet = new ModArmor(MainRegistry.enumArmorMaterialCmb, 7, 0).setUnlocalizedName("cmb_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_helmet"); - cmb_plate = new ModArmor(MainRegistry.enumArmorMaterialCmb, 7, 1).setUnlocalizedName("cmb_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_plate"); - cmb_legs = new ModArmor(MainRegistry.enumArmorMaterialCmb, 7, 2).setUnlocalizedName("cmb_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_legs"); - cmb_boots = new ModArmor(MainRegistry.enumArmorMaterialCmb, 7, 3).setUnlocalizedName("cmb_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_boots"); -<<<<<<< HEAD - paa_plate = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 1).setUnlocalizedName("paa_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_plate"); - paa_legs = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 2).setUnlocalizedName("paa_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_legs"); - paa_boots = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 3).setUnlocalizedName("paa_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_boots"); -======= -<<<<<<< HEAD - paa_plate = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 1).setUnlocalizedName("paa_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_plate"); - paa_legs = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 2).setUnlocalizedName("paa_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_legs"); - paa_boots = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 3).setUnlocalizedName("paa_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_boots"); -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - schrabidium_sword = new SwordSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_sword"); - schrabidium_pickaxe = new PickaxeSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_pickaxe"); - schrabidium_axe = new AxeSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_axe"); - schrabidium_shovel = new SpadeSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_shovel"); - schrabidium_hoe = new HoeSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_hoe"); - titanium_sword = new ModSword(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_sword"); - titanium_pickaxe = new ModPickaxe(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_pickaxe"); - titanium_axe = new ModAxe(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_axe"); - titanium_shovel = new ModSpade(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_shovel"); - titanium_hoe = new ModHoe(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_hoe"); - steel_sword = new ModSword(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_sword"); - steel_pickaxe = new ModPickaxe(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_pickaxe"); - steel_axe = new ModAxe(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_axe"); - steel_shovel = new ModSpade(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_shovel"); - steel_hoe = new ModHoe(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_hoe"); - alloy_sword = new ModSword(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_sword"); - alloy_pickaxe = new ModPickaxe(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_pickaxe"); - alloy_axe = new ModAxe(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_axe"); - alloy_shovel = new ModSpade(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_shovel"); - alloy_hoe = new ModHoe(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_hoe"); - cmb_sword = new ModSword(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_sword"); - cmb_pickaxe = new ModPickaxe(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_pickaxe"); - cmb_axe = new ModAxe(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_axe"); - cmb_shovel = new ModSpade(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_shovel"); - cmb_hoe = new ModHoe(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_hoe"); - - mask_of_infamy = new MaskOfInfamy(ArmorMaterial.IRON, 8, 0).setUnlocalizedName("mask_of_infamy").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":mask_of_infamy"); - - hazmat_helmet = new ArmorHazmat(MainRegistry.enumArmorMaterialHazmat, 9, 0).setUnlocalizedName("hazmat_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_helmet"); - hazmat_plate = new ArmorHazmat(MainRegistry.enumArmorMaterialHazmat, 9, 1).setUnlocalizedName("hazmat_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_plate"); - hazmat_legs = new ArmorHazmat(MainRegistry.enumArmorMaterialHazmat, 9, 2).setUnlocalizedName("hazmat_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_legs"); - hazmat_boots = new ArmorHazmat(MainRegistry.enumArmorMaterialHazmat, 9, 3).setUnlocalizedName("hazmat_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_boots"); - hazmat_paa_helmet = new ArmorHazmat(MainRegistry.enumArmorMaterialPaa, 9, 0).setUnlocalizedName("hazmat_paa_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_helmet"); - hazmat_paa_plate = new ArmorHazmat(MainRegistry.enumArmorMaterialPaa, 9, 1).setUnlocalizedName("hazmat_paa_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_plate"); - hazmat_paa_legs = new ArmorHazmat(MainRegistry.enumArmorMaterialPaa, 9, 2).setUnlocalizedName("hazmat_paa_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_legs"); - hazmat_paa_boots = new ArmorHazmat(MainRegistry.enumArmorMaterialPaa, 9, 3).setUnlocalizedName("hazmat_paa_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_boots"); - - cape_test = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_test").setCreativeTab(MainRegistry.tabTest).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_test"); - cape_radiation = new ArmorModel(ArmorMaterial.CHAIN, 9, 1).setUnlocalizedName("cape_radiation").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_radiation"); - cape_gasmask = new ArmorModel(ArmorMaterial.CHAIN, 9, 1).setUnlocalizedName("cape_gasmask").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_gasmask"); - cape_schrabidium = new ArmorModel(MainRegistry.enumArmorMaterialSchrabidium, 9, 1).setUnlocalizedName("cape_schrabidium").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_schrabidium"); - cape_hbm = new ArmorModel(MainRegistry.enumArmorMaterialEuphemium, 9, 1).setUnlocalizedName("cape_hbm").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown"); - cape_dafnik = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_dafnik").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown"); - cape_lpkukin = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_lpkukin").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown"); - - schrabidium_hammer = new WeaponSpecial(MainRegistry.enumToolMaterialHammer).setUnlocalizedName("schrabidium_hammer").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_hammer"); - euphemium_stopper = new ItemSyringe().setUnlocalizedName("euphemium_stopper").setMaxStackSize(1).setFull3D().setTextureName(RefStrings.MODID + ":euphemium_stopper"); - matchstick = new ItemMatch().setUnlocalizedName("matchstick").setCreativeTab(CreativeTabs.tabTools).setFull3D().setTextureName(RefStrings.MODID + ":matchstick"); - crowbar = new ModSword(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("crowbar").setFull3D().setTextureName(RefStrings.MODID + ":crowbar"); - - bucket_mud = new ItemModBucket(ModBlocks.mud_block).setUnlocalizedName("bucket_mud").setContainerItem(Items.bucket).setCreativeTab(MainRegistry.tabBlock).setTextureName(RefStrings.MODID + ":bucket_mud"); - bucket_acid = new ItemModBucket(ModBlocks.acid_block).setUnlocalizedName("bucket_acid").setContainerItem(Items.bucket).setCreativeTab(MainRegistry.tabBlock).setTextureName(RefStrings.MODID + ":bucket_acid"); - bucket_toxic = new ItemModBucket(ModBlocks.toxic_block).setUnlocalizedName("bucket_toxic").setContainerItem(Items.bucket).setCreativeTab(MainRegistry.tabBlock).setTextureName(RefStrings.MODID + ":bucket_toxic"); - - record_lc = new ItemModRecord("lc").setUnlocalizedName("record_lc").setCreativeTab(CreativeTabs.tabMisc).setTextureName(RefStrings.MODID + ":record_lc"); - record_ss = new ItemModRecord("ss").setUnlocalizedName("record_ss").setCreativeTab(CreativeTabs.tabMisc).setTextureName(RefStrings.MODID + ":record_ss"); - record_vc = new ItemModRecord("vc").setUnlocalizedName("record_vc").setCreativeTab(CreativeTabs.tabMisc).setTextureName(RefStrings.MODID + ":record_vc"); - - letter = new ItemStarterKit().setUnlocalizedName("letter").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":letter"); - - smoke1 = new Item().setUnlocalizedName("smoke1").setTextureName(RefStrings.MODID + ":smoke1"); - smoke2 = new Item().setUnlocalizedName("smoke2").setTextureName(RefStrings.MODID + ":smoke2"); - smoke3 = new Item().setUnlocalizedName("smoke3").setTextureName(RefStrings.MODID + ":smoke3"); - smoke4 = new Item().setUnlocalizedName("smoke4").setTextureName(RefStrings.MODID + ":smoke4"); - smoke5 = new Item().setUnlocalizedName("smoke5").setTextureName(RefStrings.MODID + ":smoke5"); - smoke6 = new Item().setUnlocalizedName("smoke6").setTextureName(RefStrings.MODID + ":smoke6"); - smoke7 = new Item().setUnlocalizedName("smoke7").setTextureName(RefStrings.MODID + ":smoke7"); - smoke8 = new Item().setUnlocalizedName("smoke8").setTextureName(RefStrings.MODID + ":smoke8"); - b_smoke1 = new Item().setUnlocalizedName("b_smoke1").setTextureName(RefStrings.MODID + ":b_smoke1"); - b_smoke2 = new Item().setUnlocalizedName("b_smoke2").setTextureName(RefStrings.MODID + ":b_smoke2"); - b_smoke3 = new Item().setUnlocalizedName("b_smoke3").setTextureName(RefStrings.MODID + ":b_smoke3"); - b_smoke4 = new Item().setUnlocalizedName("b_smoke4").setTextureName(RefStrings.MODID + ":b_smoke4"); - b_smoke5 = new Item().setUnlocalizedName("b_smoke5").setTextureName(RefStrings.MODID + ":b_smoke5"); - b_smoke6 = new Item().setUnlocalizedName("b_smoke6").setTextureName(RefStrings.MODID + ":b_smoke6"); - b_smoke7 = new Item().setUnlocalizedName("b_smoke7").setTextureName(RefStrings.MODID + ":b_smoke7"); - b_smoke8 = new Item().setUnlocalizedName("b_smoke8").setTextureName(RefStrings.MODID + ":b_smoke8"); - energy_ball = new Item().setUnlocalizedName("energy_ball").setTextureName(RefStrings.MODID + ":energy_ball"); - discharge = new Item().setUnlocalizedName("discharge").setTextureName(RefStrings.MODID + ":discharge"); - empblast = new Item().setUnlocalizedName("empblast").setTextureName(RefStrings.MODID + ":empblast"); - flame_1 = new Item().setUnlocalizedName("flame_1").setTextureName(RefStrings.MODID + ":flame_1"); - flame_2 = new Item().setUnlocalizedName("flame_2").setTextureName(RefStrings.MODID + ":flame_2"); - flame_3 = new Item().setUnlocalizedName("flame_3").setTextureName(RefStrings.MODID + ":flame_3"); - flame_4 = new Item().setUnlocalizedName("flame_4").setTextureName(RefStrings.MODID + ":flame_4"); - flame_5 = new Item().setUnlocalizedName("flame_5").setTextureName(RefStrings.MODID + ":flame_5"); - flame_6 = new Item().setUnlocalizedName("flame_6").setTextureName(RefStrings.MODID + ":flame_6"); - flame_7 = new Item().setUnlocalizedName("flame_7").setTextureName(RefStrings.MODID + ":flame_7"); - flame_8 = new Item().setUnlocalizedName("flame_8").setTextureName(RefStrings.MODID + ":flame_8"); - flame_9 = new Item().setUnlocalizedName("flame_9").setTextureName(RefStrings.MODID + ":flame_9"); - flame_10 = new Item().setUnlocalizedName("flame_10").setTextureName(RefStrings.MODID + ":flame_10"); - ln2_1 = new Item().setUnlocalizedName("ln2_1").setTextureName(RefStrings.MODID + ":ln2_1"); - ln2_2 = new Item().setUnlocalizedName("ln2_2").setTextureName(RefStrings.MODID + ":ln2_2"); - ln2_3 = new Item().setUnlocalizedName("ln2_3").setTextureName(RefStrings.MODID + ":ln2_3"); - ln2_4 = new Item().setUnlocalizedName("ln2_4").setTextureName(RefStrings.MODID + ":ln2_4"); - ln2_5 = new Item().setUnlocalizedName("ln2_5").setTextureName(RefStrings.MODID + ":ln2_5"); - ln2_6 = new Item().setUnlocalizedName("ln2_6").setTextureName(RefStrings.MODID + ":ln2_6"); - ln2_7 = new Item().setUnlocalizedName("ln2_7").setTextureName(RefStrings.MODID + ":ln2_7"); - ln2_8 = new Item().setUnlocalizedName("ln2_8").setTextureName(RefStrings.MODID + ":ln2_8"); - ln2_9 = new Item().setUnlocalizedName("ln2_9").setTextureName(RefStrings.MODID + ":ln2_9"); - ln2_10 = new Item().setUnlocalizedName("ln2_10").setTextureName(RefStrings.MODID + ":ln2_10"); - - FluidContainerRegistry.registerFluidContainer(new FluidStack(ModBlocks.mud_fluid, 1000), new ItemStack(ModItems.bucket_mud)); - FluidContainerRegistry.registerFluidContainer(new FluidStack(ModBlocks.acid_fluid, 1000), new ItemStack(ModItems.bucket_acid)); - FluidContainerRegistry.registerFluidContainer(new FluidStack(ModBlocks.toxic_fluid, 1000), new ItemStack(ModItems.bucket_toxic)); - BucketHandler.INSTANCE.buckets.put(ModBlocks.mud_block, ModItems.bucket_mud); - BucketHandler.INSTANCE.buckets.put(ModBlocks.acid_block, ModItems.bucket_acid); - BucketHandler.INSTANCE.buckets.put(ModBlocks.toxic_block, ModItems.bucket_toxic); - MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE); - } - - private static void registerItem() { - //Weapons - GameRegistry.registerItem(redstone_sword, redstone_sword.getUnlocalizedName()); - GameRegistry.registerItem(big_sword, big_sword.getUnlocalizedName()); - - //Test Armor - GameRegistry.registerItem(test_helmet, test_helmet.getUnlocalizedName()); - GameRegistry.registerItem(test_chestplate, test_chestplate.getUnlocalizedName()); - GameRegistry.registerItem(test_leggings, test_leggings.getUnlocalizedName()); - GameRegistry.registerItem(test_boots, test_boots.getUnlocalizedName()); - GameRegistry.registerItem(cape_test, cape_test.getUnlocalizedName()); - - //Test Nuke - GameRegistry.registerItem(test_nuke_igniter, test_nuke_igniter.getUnlocalizedName()); - GameRegistry.registerItem(test_nuke_propellant, test_nuke_propellant.getUnlocalizedName()); - GameRegistry.registerItem(test_nuke_tier1_shielding, test_nuke_tier1_shielding.getUnlocalizedName()); - GameRegistry.registerItem(test_nuke_tier2_shielding, test_nuke_tier2_shielding.getUnlocalizedName()); - GameRegistry.registerItem(test_nuke_tier1_bullet, test_nuke_tier1_bullet.getUnlocalizedName()); - GameRegistry.registerItem(test_nuke_tier2_bullet, test_nuke_tier2_bullet.getUnlocalizedName()); - GameRegistry.registerItem(test_nuke_tier1_target, test_nuke_tier1_target.getUnlocalizedName()); - GameRegistry.registerItem(test_nuke_tier2_target, test_nuke_tier2_target.getUnlocalizedName()); - - //Ingots - GameRegistry.registerItem(ingot_uranium, ingot_uranium.getUnlocalizedName()); - GameRegistry.registerItem(ingot_u235, ingot_u235.getUnlocalizedName()); - GameRegistry.registerItem(ingot_u238, ingot_u238.getUnlocalizedName()); - GameRegistry.registerItem(ingot_plutonium, ingot_plutonium.getUnlocalizedName()); - GameRegistry.registerItem(ingot_pu238, ingot_pu238.getUnlocalizedName()); - GameRegistry.registerItem(ingot_pu239, ingot_pu239.getUnlocalizedName()); - GameRegistry.registerItem(ingot_pu240, ingot_pu240.getUnlocalizedName()); - GameRegistry.registerItem(ingot_neptunium, ingot_neptunium.getUnlocalizedName()); - GameRegistry.registerItem(ingot_titanium, ingot_titanium.getUnlocalizedName()); - GameRegistry.registerItem(ingot_copper, ingot_copper.getUnlocalizedName()); - GameRegistry.registerItem(ingot_red_copper, ingot_red_copper.getUnlocalizedName()); - GameRegistry.registerItem(ingot_advanced_alloy, ingot_advanced_alloy.getUnlocalizedName()); - GameRegistry.registerItem(ingot_tungsten, ingot_tungsten.getUnlocalizedName()); - GameRegistry.registerItem(ingot_aluminium, ingot_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(ingot_steel, ingot_steel.getUnlocalizedName()); - GameRegistry.registerItem(ingot_lead, ingot_lead.getUnlocalizedName()); - GameRegistry.registerItem(ingot_beryllium, ingot_beryllium.getUnlocalizedName()); - GameRegistry.registerItem(ingot_schrabidium, ingot_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(ingot_magnetized_tungsten, ingot_magnetized_tungsten.getUnlocalizedName()); - GameRegistry.registerItem(ingot_combine_steel, ingot_combine_steel.getUnlocalizedName()); - GameRegistry.registerItem(ingot_uranium_fuel, ingot_uranium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(ingot_plutonium_fuel, ingot_plutonium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(ingot_mox_fuel, ingot_mox_fuel.getUnlocalizedName()); - GameRegistry.registerItem(ingot_schrabidium_fuel, ingot_schrabidium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(ingot_hes, ingot_hes.getUnlocalizedName()); - GameRegistry.registerItem(ingot_les, ingot_les.getUnlocalizedName()); - - //Dusts & Other - GameRegistry.registerItem(lithium, lithium.getUnlocalizedName()); - GameRegistry.registerItem(sulfur, sulfur.getUnlocalizedName()); - GameRegistry.registerItem(niter, niter.getUnlocalizedName()); - GameRegistry.registerItem(fluorite, fluorite.getUnlocalizedName()); - GameRegistry.registerItem(powder_coal, powder_coal.getUnlocalizedName()); - GameRegistry.registerItem(powder_iron, powder_iron.getUnlocalizedName()); - GameRegistry.registerItem(powder_gold, powder_gold.getUnlocalizedName()); - GameRegistry.registerItem(powder_lapis, powder_lapis.getUnlocalizedName()); - GameRegistry.registerItem(powder_quartz, powder_quartz.getUnlocalizedName()); - GameRegistry.registerItem(powder_diamond, powder_diamond.getUnlocalizedName()); - GameRegistry.registerItem(powder_emerald, powder_emerald.getUnlocalizedName()); - GameRegistry.registerItem(powder_uranium, powder_uranium.getUnlocalizedName()); - GameRegistry.registerItem(powder_plutonium, powder_plutonium.getUnlocalizedName()); - GameRegistry.registerItem(powder_neptunium, powder_neptunium.getUnlocalizedName()); - GameRegistry.registerItem(powder_titanium, powder_titanium.getUnlocalizedName()); - GameRegistry.registerItem(powder_copper, powder_copper.getUnlocalizedName()); - GameRegistry.registerItem(powder_red_copper, powder_red_copper.getUnlocalizedName()); - GameRegistry.registerItem(powder_advanced_alloy, powder_advanced_alloy.getUnlocalizedName()); - GameRegistry.registerItem(powder_tungsten, powder_tungsten.getUnlocalizedName()); - GameRegistry.registerItem(powder_aluminium, powder_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(powder_steel, powder_steel.getUnlocalizedName()); - GameRegistry.registerItem(powder_lead, powder_lead.getUnlocalizedName()); - GameRegistry.registerItem(powder_beryllium, powder_beryllium.getUnlocalizedName()); - GameRegistry.registerItem(powder_schrabidium, powder_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(powder_magnetized_tungsten, powder_magnetized_tungsten.getUnlocalizedName()); - GameRegistry.registerItem(powder_combine_steel, powder_combine_steel.getUnlocalizedName()); - GameRegistry.registerItem(powder_lithium, powder_lithium.getUnlocalizedName()); - GameRegistry.registerItem(powder_iodine, powder_iodine.getUnlocalizedName()); - GameRegistry.registerItem(powder_thorium, powder_thorium.getUnlocalizedName()); - GameRegistry.registerItem(powder_neodymium, powder_neodymium.getUnlocalizedName()); - GameRegistry.registerItem(powder_astatine, powder_astatine.getUnlocalizedName()); - GameRegistry.registerItem(powder_caesium, powder_caesium.getUnlocalizedName()); - GameRegistry.registerItem(dust, dust.getUnlocalizedName()); - - //Powders - GameRegistry.registerItem(powder_fire, powder_fire.getUnlocalizedName()); - GameRegistry.registerItem(powder_poison, powder_poison.getUnlocalizedName()); - GameRegistry.registerItem(powder_thermite, powder_thermite.getUnlocalizedName()); - GameRegistry.registerItem(powder_power, powder_power.getUnlocalizedName()); - - //Nuggets - GameRegistry.registerItem(nugget_uranium, nugget_uranium.getUnlocalizedName()); - GameRegistry.registerItem(nugget_u235, nugget_u235.getUnlocalizedName()); - GameRegistry.registerItem(nugget_u238, nugget_u238.getUnlocalizedName()); - GameRegistry.registerItem(nugget_plutonium, nugget_plutonium.getUnlocalizedName()); - GameRegistry.registerItem(nugget_pu238, nugget_pu238.getUnlocalizedName()); - GameRegistry.registerItem(nugget_pu239, nugget_pu239.getUnlocalizedName()); - GameRegistry.registerItem(nugget_pu240, nugget_pu240.getUnlocalizedName()); - GameRegistry.registerItem(nugget_neptunium, nugget_neptunium.getUnlocalizedName()); - GameRegistry.registerItem(nugget_lead, nugget_lead.getUnlocalizedName()); - GameRegistry.registerItem(nugget_beryllium, nugget_beryllium.getUnlocalizedName()); - GameRegistry.registerItem(nugget_schrabidium, nugget_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(nugget_uranium_fuel, nugget_uranium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(nugget_plutonium_fuel, nugget_plutonium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(nugget_mox_fuel, nugget_mox_fuel.getUnlocalizedName()); - GameRegistry.registerItem(nugget_schrabidium_fuel, nugget_schrabidium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(nugget_hes, nugget_hes.getUnlocalizedName()); - GameRegistry.registerItem(nugget_les, nugget_les.getUnlocalizedName()); - - //Plates - GameRegistry.registerItem(plate_iron, plate_iron.getUnlocalizedName()); - GameRegistry.registerItem(plate_gold, plate_gold.getUnlocalizedName()); - GameRegistry.registerItem(plate_titanium, plate_titanium.getUnlocalizedName()); - GameRegistry.registerItem(plate_aluminium, plate_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(plate_steel, plate_steel.getUnlocalizedName()); - GameRegistry.registerItem(plate_lead, plate_lead.getUnlocalizedName()); - GameRegistry.registerItem(plate_copper, plate_copper.getUnlocalizedName()); - GameRegistry.registerItem(plate_advanced_alloy, plate_advanced_alloy.getUnlocalizedName()); - GameRegistry.registerItem(neutron_reflector, neutron_reflector.getUnlocalizedName()); - GameRegistry.registerItem(plate_schrabidium, plate_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(plate_combine_steel, plate_combine_steel.getUnlocalizedName()); - GameRegistry.registerItem(plate_mixed, plate_mixed.getUnlocalizedName()); - GameRegistry.registerItem(plate_paa, plate_paa.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_cloth, hazmat_cloth.getUnlocalizedName()); - GameRegistry.registerItem(filter_coal, filter_coal.getUnlocalizedName()); - - //Wires - GameRegistry.registerItem(wire_aluminium, wire_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(wire_copper, wire_copper.getUnlocalizedName()); - GameRegistry.registerItem(wire_tungsten, wire_tungsten.getUnlocalizedName()); - GameRegistry.registerItem(wire_red_copper, wire_red_copper.getUnlocalizedName()); - GameRegistry.registerItem(wire_advanced_alloy, wire_advanced_alloy.getUnlocalizedName()); - GameRegistry.registerItem(wire_gold, wire_gold.getUnlocalizedName()); - GameRegistry.registerItem(wire_schrabidium, wire_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(wire_magnetized_tungsten, wire_magnetized_tungsten.getUnlocalizedName()); - - //Parts - GameRegistry.registerItem(coil_copper, coil_copper.getUnlocalizedName()); - GameRegistry.registerItem(coil_copper_torus, coil_copper_torus.getUnlocalizedName()); - GameRegistry.registerItem(coil_advanced_alloy, coil_advanced_alloy.getUnlocalizedName()); - GameRegistry.registerItem(coil_advanced_torus, coil_advanced_torus.getUnlocalizedName()); - GameRegistry.registerItem(coil_tungsten, coil_tungsten.getUnlocalizedName()); - GameRegistry.registerItem(coil_magnetized_tungsten, coil_magnetized_tungsten.getUnlocalizedName()); - GameRegistry.registerItem(tank_steel, tank_steel.getUnlocalizedName()); - GameRegistry.registerItem(motor, motor.getUnlocalizedName()); - GameRegistry.registerItem(centrifuge_element, centrifuge_element.getUnlocalizedName()); - GameRegistry.registerItem(centrifuge_tower, centrifuge_tower.getUnlocalizedName()); - GameRegistry.registerItem(reactor_core, reactor_core.getUnlocalizedName()); - GameRegistry.registerItem(rtg_unit, rtg_unit.getUnlocalizedName()); - GameRegistry.registerItem(thermo_unit_empty, thermo_unit_empty.getUnlocalizedName()); - GameRegistry.registerItem(thermo_unit_endo, thermo_unit_endo.getUnlocalizedName()); - GameRegistry.registerItem(thermo_unit_exo, thermo_unit_exo.getUnlocalizedName()); - GameRegistry.registerItem(levitation_unit, levitation_unit.getUnlocalizedName()); - - //Teleporter Parts - GameRegistry.registerItem(telepad, telepad.getUnlocalizedName()); - GameRegistry.registerItem(entanglement_kit, entanglement_kit.getUnlocalizedName()); - - //Bomb Parts - GameRegistry.registerItem(cap_aluminium, cap_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(hull_small_steel, hull_small_steel.getUnlocalizedName()); - GameRegistry.registerItem(hull_small_aluminium, hull_small_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(hull_big_steel, hull_big_steel.getUnlocalizedName()); - GameRegistry.registerItem(hull_big_aluminium, hull_big_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(hull_big_titanium, hull_big_titanium.getUnlocalizedName()); - GameRegistry.registerItem(fins_flat, fins_flat.getUnlocalizedName()); - GameRegistry.registerItem(fins_small_steel, fins_small_steel.getUnlocalizedName()); - GameRegistry.registerItem(fins_big_steel, fins_big_steel.getUnlocalizedName()); - GameRegistry.registerItem(fins_tri_steel, fins_tri_steel.getUnlocalizedName()); - GameRegistry.registerItem(fins_quad_titanium, fins_quad_titanium.getUnlocalizedName()); - GameRegistry.registerItem(sphere_steel, sphere_steel.getUnlocalizedName()); - GameRegistry.registerItem(pedestal_steel, pedestal_steel.getUnlocalizedName()); - GameRegistry.registerItem(dysfunctional_reactor, dysfunctional_reactor.getUnlocalizedName()); - GameRegistry.registerItem(warhead_generic_small, warhead_generic_small.getUnlocalizedName()); - GameRegistry.registerItem(warhead_generic_medium, warhead_generic_medium.getUnlocalizedName()); - GameRegistry.registerItem(warhead_generic_large, warhead_generic_large.getUnlocalizedName()); - GameRegistry.registerItem(warhead_incendiary_small, warhead_incendiary_small.getUnlocalizedName()); - GameRegistry.registerItem(warhead_incendiary_medium, warhead_incendiary_medium.getUnlocalizedName()); - GameRegistry.registerItem(warhead_incendiary_large, warhead_incendiary_large.getUnlocalizedName()); - GameRegistry.registerItem(warhead_cluster_small, warhead_cluster_small.getUnlocalizedName()); - GameRegistry.registerItem(warhead_cluster_medium, warhead_cluster_medium.getUnlocalizedName()); - GameRegistry.registerItem(warhead_cluster_large, warhead_cluster_large.getUnlocalizedName()); - GameRegistry.registerItem(warhead_buster_small, warhead_buster_small.getUnlocalizedName()); - GameRegistry.registerItem(warhead_buster_medium, warhead_buster_medium.getUnlocalizedName()); - GameRegistry.registerItem(warhead_buster_large, warhead_buster_large.getUnlocalizedName()); - GameRegistry.registerItem(warhead_nuclear, warhead_nuclear.getUnlocalizedName()); - GameRegistry.registerItem(warhead_mirvlet, warhead_mirvlet.getUnlocalizedName()); - GameRegistry.registerItem(warhead_mirv, warhead_mirv.getUnlocalizedName()); - GameRegistry.registerItem(warhead_thermo_endo, warhead_thermo_endo.getUnlocalizedName()); - GameRegistry.registerItem(warhead_thermo_exo, warhead_thermo_exo.getUnlocalizedName()); - GameRegistry.registerItem(fuel_tank_small, fuel_tank_small.getUnlocalizedName()); - GameRegistry.registerItem(fuel_tank_medium, fuel_tank_medium.getUnlocalizedName()); - GameRegistry.registerItem(fuel_tank_large, fuel_tank_large.getUnlocalizedName()); - GameRegistry.registerItem(thruster_small, thruster_small.getUnlocalizedName()); - GameRegistry.registerItem(thruster_medium, thruster_medium.getUnlocalizedName()); - GameRegistry.registerItem(thruster_large, thruster_large.getUnlocalizedName()); - - //Chopper parts - GameRegistry.registerItem(chopper_head, chopper_head.getUnlocalizedName()); - GameRegistry.registerItem(chopper_gun, chopper_gun.getUnlocalizedName()); - GameRegistry.registerItem(chopper_torso, chopper_torso.getUnlocalizedName()); - GameRegistry.registerItem(chopper_tail, chopper_tail.getUnlocalizedName()); - GameRegistry.registerItem(chopper_wing, chopper_wing.getUnlocalizedName()); - GameRegistry.registerItem(chopper_blades, chopper_blades.getUnlocalizedName()); - GameRegistry.registerItem(combine_scrap, combine_scrap.getUnlocalizedName()); - - //Circuits - GameRegistry.registerItem(circuit_aluminium, circuit_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(circuit_copper, circuit_copper.getUnlocalizedName()); - GameRegistry.registerItem(circuit_red_copper, circuit_red_copper.getUnlocalizedName()); - GameRegistry.registerItem(circuit_gold, circuit_gold.getUnlocalizedName()); - GameRegistry.registerItem(circuit_schrabidium, circuit_schrabidium.getUnlocalizedName()); - - //Flame War in a Box - GameRegistry.registerItem(flame_pony, flame_pony.getUnlocalizedName()); - GameRegistry.registerItem(flame_conspiracy, flame_conspiracy.getUnlocalizedName()); - GameRegistry.registerItem(flame_politics, flame_politics.getUnlocalizedName()); - GameRegistry.registerItem(flame_opinion, flame_opinion.getUnlocalizedName()); - - //Pellets - GameRegistry.registerItem(pellet_rtg, pellet_rtg.getUnlocalizedName()); - GameRegistry.registerItem(tritium_deuterium_cake, tritium_deuterium_cake.getUnlocalizedName()); - GameRegistry.registerItem(pellet_cluster, pellet_cluster.getUnlocalizedName()); - GameRegistry.registerItem(pellet_gas, pellet_gas.getUnlocalizedName()); - - GameRegistry.registerItem(magnetron, magnetron.getUnlocalizedName()); - - //Watz Pellets - GameRegistry.registerItem(pellet_schrabidium, pellet_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(pellet_hes, pellet_hes.getUnlocalizedName()); - GameRegistry.registerItem(pellet_mes, pellet_mes.getUnlocalizedName()); - GameRegistry.registerItem(pellet_les, pellet_les.getUnlocalizedName()); - GameRegistry.registerItem(pellet_beryllium, pellet_beryllium.getUnlocalizedName()); - GameRegistry.registerItem(pellet_neptunium, pellet_neptunium.getUnlocalizedName()); - GameRegistry.registerItem(pellet_lead, pellet_lead.getUnlocalizedName()); - GameRegistry.registerItem(pellet_advanced, pellet_advanced.getUnlocalizedName()); - - //Cells - GameRegistry.registerItem(cell_empty, cell_empty.getUnlocalizedName()); - GameRegistry.registerItem(cell_uf6, cell_uf6.getUnlocalizedName()); - GameRegistry.registerItem(cell_puf6, cell_puf6.getUnlocalizedName()); - GameRegistry.registerItem(cell_deuterium, cell_deuterium.getUnlocalizedName()); - GameRegistry.registerItem(cell_tritium, cell_tritium.getUnlocalizedName()); - GameRegistry.registerItem(cell_sas3, cell_sas3.getUnlocalizedName()); - GameRegistry.registerItem(cell_antimatter, cell_antimatter.getUnlocalizedName()); - GameRegistry.registerItem(cell_anti_schrabidium, cell_anti_schrabidium.getUnlocalizedName()); - - //OMG how the hell is that even possible!? - GameRegistry.registerItem(singularity, singularity.getUnlocalizedName()); - GameRegistry.registerItem(singularity_counter_resonant, singularity_counter_resonant.getUnlocalizedName()); - GameRegistry.registerItem(singularity_super_heated, singularity_super_heated.getUnlocalizedName()); - GameRegistry.registerItem(black_hole, black_hole.getUnlocalizedName()); - GameRegistry.registerItem(crystal_xen, crystal_xen.getUnlocalizedName()); - - //Infinite Tanks - GameRegistry.registerItem(inf_water, inf_water.getUnlocalizedName()); - GameRegistry.registerItem(inf_coolant, inf_coolant.getUnlocalizedName()); - GameRegistry.registerItem(inf_deuterium, inf_deuterium.getUnlocalizedName()); - GameRegistry.registerItem(inf_tritium, inf_tritium.getUnlocalizedName()); - GameRegistry.registerItem(inf_sulfur, inf_sulfur.getUnlocalizedName()); - GameRegistry.registerItem(inf_diesel, inf_diesel.getUnlocalizedName()); - GameRegistry.registerItem(inf_antimatter, inf_antimatter.getUnlocalizedName()); - GameRegistry.registerItem(inf_antischrabidium, inf_antischrabidium.getUnlocalizedName()); - - //Large Tanks - GameRegistry.registerItem(tank_waste, tank_waste.getUnlocalizedName()); - - //Canisters - GameRegistry.registerItem(canister_empty, canister_empty.getUnlocalizedName()); - GameRegistry.registerItem(canister_fuel, canister_fuel.getUnlocalizedName()); - GameRegistry.registerItem(canister_napalm, canister_napalm.getUnlocalizedName()); - GameRegistry.registerItem(canister_NITAN, canister_NITAN.getUnlocalizedName()); - - //Batteries - GameRegistry.registerItem(battery_generic, battery_generic.getUnlocalizedName()); - GameRegistry.registerItem(battery_advanced, battery_advanced.getUnlocalizedName()); - GameRegistry.registerItem(battery_schrabidium, battery_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(battery_creative, battery_creative.getUnlocalizedName()); - GameRegistry.registerItem(fusion_core, fusion_core.getUnlocalizedName()); - GameRegistry.registerItem(energy_core, energy_core.getUnlocalizedName()); - GameRegistry.registerItem(factory_core_titanium, factory_core_titanium.getUnlocalizedName()); - GameRegistry.registerItem(factory_core_advanced, factory_core_advanced.getUnlocalizedName()); - GameRegistry.registerItem(fuse, fuse.getUnlocalizedName()); - GameRegistry.registerItem(redcoil_capacitor, redcoil_capacitor.getUnlocalizedName()); - GameRegistry.registerItem(titanium_filter, titanium_filter.getUnlocalizedName()); - GameRegistry.registerItem(screwdriver, screwdriver.getUnlocalizedName()); - GameRegistry.registerItem(overfuse, overfuse.getUnlocalizedName()); - - //Shredder Blades - GameRegistry.registerItem(blades_aluminium, blades_aluminium.getUnlocalizedName()); - GameRegistry.registerItem(blades_gold, blades_gold.getUnlocalizedName()); - GameRegistry.registerItem(blades_iron, blades_iron.getUnlocalizedName()); - GameRegistry.registerItem(blades_steel, blades_steel.getUnlocalizedName()); - GameRegistry.registerItem(blades_titanium, blades_titanium.getUnlocalizedName()); - GameRegistry.registerItem(blades_advanced_alloy, blades_advanced_alloy.getUnlocalizedName()); - GameRegistry.registerItem(blades_combine_steel, blades_combine_steel.getUnlocalizedName()); - GameRegistry.registerItem(blades_schrabidium, blades_schrabidium.getUnlocalizedName()); - - //Fuelrods - GameRegistry.registerItem(rod_empty, rod_empty.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_empty, rod_dual_empty.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_empty, rod_quad_empty.getUnlocalizedName()); - - GameRegistry.registerItem(rod_uranium, rod_uranium.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_uranium, rod_dual_uranium.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_uranium, rod_quad_uranium.getUnlocalizedName()); - - GameRegistry.registerItem(rod_u235, rod_u235.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_u235, rod_dual_u235.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_u235, rod_quad_u235.getUnlocalizedName()); - - GameRegistry.registerItem(rod_u238, rod_u238.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_u238, rod_dual_u238.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_u238, rod_quad_u238.getUnlocalizedName()); - - GameRegistry.registerItem(rod_plutonium, rod_plutonium.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_plutonium, rod_dual_plutonium.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_plutonium, rod_quad_plutonium.getUnlocalizedName()); - - GameRegistry.registerItem(rod_pu238, rod_pu238.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_pu238, rod_dual_pu238.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_pu238, rod_quad_pu238.getUnlocalizedName()); - - GameRegistry.registerItem(rod_pu239, rod_pu239.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_pu239, rod_dual_pu239.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_pu239, rod_quad_pu239.getUnlocalizedName()); - - GameRegistry.registerItem(rod_pu240, rod_pu240.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_pu240, rod_dual_pu240.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_pu240, rod_quad_pu240.getUnlocalizedName()); - - GameRegistry.registerItem(rod_neptunium, rod_neptunium.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_neptunium, rod_dual_neptunium.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_neptunium, rod_quad_neptunium.getUnlocalizedName()); - - GameRegistry.registerItem(rod_lead, rod_lead.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_lead, rod_dual_lead.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_lead, rod_quad_lead.getUnlocalizedName()); - - GameRegistry.registerItem(rod_schrabidium, rod_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_schrabidium, rod_dual_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_schrabidium, rod_quad_schrabidium.getUnlocalizedName()); - - GameRegistry.registerItem(rod_uranium_fuel, rod_uranium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_uranium_fuel, rod_dual_uranium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_uranium_fuel, rod_quad_uranium_fuel.getUnlocalizedName()); - - GameRegistry.registerItem(rod_plutonium_fuel, rod_plutonium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_plutonium_fuel, rod_dual_plutonium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_plutonium_fuel, rod_quad_plutonium_fuel.getUnlocalizedName()); - - GameRegistry.registerItem(rod_mox_fuel, rod_mox_fuel.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_mox_fuel, rod_dual_mox_fuel.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_mox_fuel, rod_quad_mox_fuel.getUnlocalizedName()); - - GameRegistry.registerItem(rod_schrabidium_fuel, rod_schrabidium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_schrabidium_fuel, rod_dual_schrabidium_fuel.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_schrabidium_fuel, rod_quad_schrabidium_fuel.getUnlocalizedName()); - - GameRegistry.registerItem(rod_water, rod_water.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_water, rod_dual_water.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_water, rod_quad_water.getUnlocalizedName()); - - GameRegistry.registerItem(rod_coolant, rod_coolant.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_coolant, rod_dual_coolant.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_coolant, rod_quad_coolant.getUnlocalizedName()); - - GameRegistry.registerItem(rod_lithium, rod_lithium.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_lithium, rod_dual_lithium.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_lithium, rod_quad_lithium.getUnlocalizedName()); - - GameRegistry.registerItem(rod_tritium, rod_tritium.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_tritium, rod_dual_tritium.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_tritium, rod_quad_tritium.getUnlocalizedName()); - - //Nuclear Waste - GameRegistry.registerItem(rod_uranium_fuel_depleted, rod_uranium_fuel_depleted.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_uranium_fuel_depleted, rod_dual_uranium_fuel_depleted.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_uranium_fuel_depleted, rod_quad_uranium_fuel_depleted.getUnlocalizedName()); - - GameRegistry.registerItem(rod_plutonium_fuel_depleted, rod_plutonium_fuel_depleted.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_plutonium_fuel_depleted, rod_dual_plutonium_fuel_depleted.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_plutonium_fuel_depleted, rod_quad_plutonium_fuel_depleted.getUnlocalizedName()); - - GameRegistry.registerItem(rod_mox_fuel_depleted, rod_mox_fuel_depleted.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_mox_fuel_depleted, rod_dual_mox_fuel_depleted.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_mox_fuel_depleted, rod_quad_mox_fuel_depleted.getUnlocalizedName()); - - GameRegistry.registerItem(rod_schrabidium_fuel_depleted, rod_schrabidium_fuel_depleted.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_schrabidium_fuel_depleted, rod_dual_schrabidium_fuel_depleted.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_schrabidium_fuel_depleted, rod_quad_schrabidium_fuel_depleted.getUnlocalizedName()); - - GameRegistry.registerItem(rod_waste, rod_waste.getUnlocalizedName()); - GameRegistry.registerItem(rod_dual_waste, rod_dual_waste.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_waste, rod_quad_waste.getUnlocalizedName()); - - GameRegistry.registerItem(scrap, scrap.getUnlocalizedName()); - GameRegistry.registerItem(trinitite, trinitite.getUnlocalizedName()); - GameRegistry.registerItem(nuclear_waste, nuclear_waste.getUnlocalizedName()); - - //Da Chopper - GameRegistry.registerItem(chopper, chopper.getUnlocalizedName()); - -<<<<<<< HEAD - //Computer Tools -======= - //Missiles ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - GameRegistry.registerItem(designator, designator.getUnlocalizedName()); - GameRegistry.registerItem(linker, linker.getUnlocalizedName()); - - //Missiles - GameRegistry.registerItem(missile_generic, missile_generic.getUnlocalizedName()); - //GameRegistry.registerItem(missile_anti_ballistic, missile_anti_ballistic.getUnlocalizedName()); - GameRegistry.registerItem(missile_incendiary, missile_incendiary.getUnlocalizedName()); - GameRegistry.registerItem(missile_cluster, missile_cluster.getUnlocalizedName()); - GameRegistry.registerItem(missile_buster, missile_buster.getUnlocalizedName()); - GameRegistry.registerItem(missile_strong, missile_strong.getUnlocalizedName()); - GameRegistry.registerItem(missile_incendiary_strong, missile_incendiary_strong.getUnlocalizedName()); - GameRegistry.registerItem(missile_cluster_strong, missile_cluster_strong.getUnlocalizedName()); - GameRegistry.registerItem(missile_buster_strong, missile_buster_strong.getUnlocalizedName()); - GameRegistry.registerItem(missile_burst, missile_burst.getUnlocalizedName()); - GameRegistry.registerItem(missile_inferno, missile_inferno.getUnlocalizedName()); - GameRegistry.registerItem(missile_rain, missile_rain.getUnlocalizedName()); - GameRegistry.registerItem(missile_drill, missile_drill.getUnlocalizedName()); - GameRegistry.registerItem(missile_nuclear, missile_nuclear.getUnlocalizedName()); - GameRegistry.registerItem(missile_nuclear_cluster, missile_nuclear_cluster.getUnlocalizedName()); - GameRegistry.registerItem(missile_endo, missile_endo.getUnlocalizedName()); - GameRegistry.registerItem(missile_exo, missile_exo.getUnlocalizedName()); - - //Guns - GameRegistry.registerItem(gun_revolver_iron, gun_revolver_iron.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver, gun_revolver.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_gold, gun_revolver_gold.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_lead, gun_revolver_lead.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_schrabidium, gun_revolver_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_cursed, gun_revolver_cursed.getUnlocalizedName()); - GameRegistry.registerItem(gun_rpg, gun_rpg.getUnlocalizedName()); - GameRegistry.registerItem(gun_fatman, gun_fatman.getUnlocalizedName()); - GameRegistry.registerItem(gun_mirv, gun_mirv.getUnlocalizedName()); - GameRegistry.registerItem(gun_bf, gun_bf.getUnlocalizedName()); - GameRegistry.registerItem(gun_mp40, gun_mp40.getUnlocalizedName()); - GameRegistry.registerItem(gun_xvl1456, gun_xvl1456.getUnlocalizedName()); - GameRegistry.registerItem(gun_osipr, gun_osipr.getUnlocalizedName()); - GameRegistry.registerItem(gun_immolator, gun_immolator.getUnlocalizedName()); - GameRegistry.registerItem(gun_cryolator, gun_cryolator.getUnlocalizedName()); - GameRegistry.registerItem(gun_mp, gun_mp.getUnlocalizedName()); - GameRegistry.registerItem(gun_zomg, gun_zomg.getUnlocalizedName()); -<<<<<<< HEAD - GameRegistry.registerItem(gun_emp, gun_emp.getUnlocalizedName()); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - GameRegistry.registerItem(gun_revolver_inverted, gun_revolver_inverted.getUnlocalizedName()); - GameRegistry.registerItem(gun_super_shotgun, gun_super_shotgun.getUnlocalizedName()); - GameRegistry.registerItem(gun_moist_nugget, gun_moist_nugget.getUnlocalizedName()); - - //Ammo - GameRegistry.registerItem(gun_revolver_iron_ammo, gun_revolver_iron_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_ammo, gun_revolver_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_gold_ammo, gun_revolver_gold_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_lead_ammo, gun_revolver_lead_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_schrabidium_ammo, gun_revolver_schrabidium_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_revolver_cursed_ammo, gun_revolver_cursed_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_rpg_ammo, gun_rpg_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_fatman_ammo, gun_fatman_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_mirv_ammo, gun_mirv_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_bf_ammo, gun_bf_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_mp40_ammo, gun_mp40_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_xvl1456_ammo, gun_xvl1456_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_osipr_ammo, gun_osipr_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_osipr_ammo2, gun_osipr_ammo2.getUnlocalizedName()); - GameRegistry.registerItem(gun_immolator_ammo, gun_immolator_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_cryolator_ammo, gun_cryolator_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_mp_ammo, gun_mp_ammo.getUnlocalizedName()); - GameRegistry.registerItem(gun_emp_ammo, gun_emp_ammo.getUnlocalizedName()); - - //-C-l-i-p-s- Magazines - GameRegistry.registerItem(clip_revolver_iron, clip_revolver_iron.getUnlocalizedName()); - GameRegistry.registerItem(clip_revolver, clip_revolver.getUnlocalizedName()); - GameRegistry.registerItem(clip_revolver_gold, clip_revolver_gold.getUnlocalizedName()); - GameRegistry.registerItem(clip_revolver_lead, clip_revolver_lead.getUnlocalizedName()); - GameRegistry.registerItem(clip_revolver_schrabidium, clip_revolver_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(clip_revolver_cursed, clip_revolver_cursed.getUnlocalizedName()); - GameRegistry.registerItem(clip_rpg, clip_rpg.getUnlocalizedName()); - GameRegistry.registerItem(clip_fatman, clip_fatman.getUnlocalizedName()); - GameRegistry.registerItem(clip_mirv, clip_mirv.getUnlocalizedName()); - GameRegistry.registerItem(clip_bf, clip_bf.getUnlocalizedName()); - GameRegistry.registerItem(clip_mp40, clip_mp40.getUnlocalizedName()); - GameRegistry.registerItem(clip_xvl1456, clip_xvl1456.getUnlocalizedName()); - GameRegistry.registerItem(clip_osipr, clip_osipr.getUnlocalizedName()); - GameRegistry.registerItem(clip_immolator, clip_immolator.getUnlocalizedName()); - GameRegistry.registerItem(clip_cryolator, clip_cryolator.getUnlocalizedName()); - GameRegistry.registerItem(clip_mp, clip_mp.getUnlocalizedName()); - GameRegistry.registerItem(clip_emp, clip_emp.getUnlocalizedName()); - - //Grenades - GameRegistry.registerItem(grenade_generic, grenade_generic.getUnlocalizedName()); - GameRegistry.registerItem(grenade_strong, grenade_strong.getUnlocalizedName()); - GameRegistry.registerItem(grenade_frag, grenade_frag.getUnlocalizedName()); - GameRegistry.registerItem(grenade_fire, grenade_fire.getUnlocalizedName()); - GameRegistry.registerItem(grenade_cluster, grenade_cluster.getUnlocalizedName()); - GameRegistry.registerItem(grenade_flare, grenade_flare.getUnlocalizedName()); - GameRegistry.registerItem(grenade_electric, grenade_electric.getUnlocalizedName()); - GameRegistry.registerItem(grenade_poison, grenade_poison.getUnlocalizedName()); - GameRegistry.registerItem(grenade_gas, grenade_gas.getUnlocalizedName()); - GameRegistry.registerItem(grenade_plasma, grenade_plasma.getUnlocalizedName()); - GameRegistry.registerItem(grenade_tau, grenade_tau.getUnlocalizedName()); - GameRegistry.registerItem(grenade_schrabidium, grenade_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(grenade_nuke, grenade_nuke.getUnlocalizedName()); - GameRegistry.registerItem(grenade_lemon, grenade_lemon.getUnlocalizedName()); - GameRegistry.registerItem(grenade_mk2, grenade_mk2.getUnlocalizedName()); - GameRegistry.registerItem(grenade_aschrab, grenade_aschrab.getUnlocalizedName()); - GameRegistry.registerItem(grenade_nuclear, grenade_nuclear.getUnlocalizedName()); - GameRegistry.registerItem(grenade_zomg, grenade_zomg.getUnlocalizedName()); - - //Capes - GameRegistry.registerItem(cape_radiation, cape_radiation.getUnlocalizedName()); - GameRegistry.registerItem(cape_gasmask, cape_gasmask.getUnlocalizedName()); - GameRegistry.registerItem(cape_schrabidium, cape_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(cape_hbm, cape_hbm.getUnlocalizedName()); - GameRegistry.registerItem(cape_dafnik, cape_dafnik.getUnlocalizedName()); - GameRegistry.registerItem(cape_lpkukin, cape_lpkukin.getUnlocalizedName()); - - //Tools - GameRegistry.registerItem(schrabidium_sword, schrabidium_sword.getUnlocalizedName()); - GameRegistry.registerItem(schrabidium_hammer, schrabidium_hammer.getUnlocalizedName()); - GameRegistry.registerItem(schrabidium_pickaxe, schrabidium_pickaxe.getUnlocalizedName()); - GameRegistry.registerItem(schrabidium_axe, schrabidium_axe.getUnlocalizedName()); - GameRegistry.registerItem(schrabidium_shovel, schrabidium_shovel.getUnlocalizedName()); - GameRegistry.registerItem(schrabidium_hoe, schrabidium_hoe.getUnlocalizedName()); - GameRegistry.registerItem(steel_sword, steel_sword.getUnlocalizedName()); - GameRegistry.registerItem(steel_pickaxe, steel_pickaxe.getUnlocalizedName()); - GameRegistry.registerItem(steel_axe, steel_axe.getUnlocalizedName()); - GameRegistry.registerItem(steel_shovel, steel_shovel.getUnlocalizedName()); - GameRegistry.registerItem(steel_hoe, steel_hoe.getUnlocalizedName()); - GameRegistry.registerItem(titanium_sword, titanium_sword.getUnlocalizedName()); - GameRegistry.registerItem(titanium_pickaxe, titanium_pickaxe.getUnlocalizedName()); - GameRegistry.registerItem(titanium_axe, titanium_axe.getUnlocalizedName()); - GameRegistry.registerItem(titanium_shovel, titanium_shovel.getUnlocalizedName()); - GameRegistry.registerItem(titanium_hoe, titanium_hoe.getUnlocalizedName()); - GameRegistry.registerItem(alloy_sword, alloy_sword.getUnlocalizedName()); - GameRegistry.registerItem(alloy_pickaxe, alloy_pickaxe.getUnlocalizedName()); - GameRegistry.registerItem(alloy_axe, alloy_axe.getUnlocalizedName()); - GameRegistry.registerItem(alloy_shovel, alloy_shovel.getUnlocalizedName()); - GameRegistry.registerItem(alloy_hoe, alloy_hoe.getUnlocalizedName()); - GameRegistry.registerItem(cmb_sword, cmb_sword.getUnlocalizedName()); - GameRegistry.registerItem(cmb_pickaxe, cmb_pickaxe.getUnlocalizedName()); - GameRegistry.registerItem(cmb_axe, cmb_axe.getUnlocalizedName()); - GameRegistry.registerItem(cmb_shovel, cmb_shovel.getUnlocalizedName()); - GameRegistry.registerItem(cmb_hoe, cmb_hoe.getUnlocalizedName()); - GameRegistry.registerItem(matchstick, matchstick.getUnlocalizedName()); - GameRegistry.registerItem(crowbar, crowbar.getUnlocalizedName()); - - //Syringes - GameRegistry.registerItem(syringe_empty, syringe_empty.getUnlocalizedName()); - GameRegistry.registerItem(syringe_antidote, syringe_antidote.getUnlocalizedName()); - GameRegistry.registerItem(syringe_poison, syringe_poison.getUnlocalizedName()); - GameRegistry.registerItem(syringe_awesome, syringe_awesome.getUnlocalizedName()); - GameRegistry.registerItem(syringe_metal_empty, syringe_metal_empty.getUnlocalizedName()); - GameRegistry.registerItem(syringe_metal_stimpak, syringe_metal_stimpak.getUnlocalizedName()); - GameRegistry.registerItem(syringe_metal_medx, syringe_metal_medx.getUnlocalizedName()); - GameRegistry.registerItem(syringe_metal_psycho, syringe_metal_psycho.getUnlocalizedName()); - GameRegistry.registerItem(stealth_boy, stealth_boy.getUnlocalizedName()); - - //Food - GameRegistry.registerItem(bomb_waffle, bomb_waffle.getUnlocalizedName()); - GameRegistry.registerItem(schnitzel_vegan, schnitzel_vegan.getUnlocalizedName()); - GameRegistry.registerItem(cotton_candy, cotton_candy.getUnlocalizedName()); - GameRegistry.registerItem(apple_schrabidium, apple_schrabidium.getUnlocalizedName()); - GameRegistry.registerItem(tem_flakes, tem_flakes.getUnlocalizedName()); - GameRegistry.registerItem(glowing_stew, glowing_stew.getUnlocalizedName()); - GameRegistry.registerItem(lemon, lemon.getUnlocalizedName()); - - //Energy Drinks - GameRegistry.registerItem(can_empty, can_empty.getUnlocalizedName()); - GameRegistry.registerItem(can_smart, can_smart.getUnlocalizedName()); - GameRegistry.registerItem(can_creature, can_creature.getUnlocalizedName()); - GameRegistry.registerItem(can_redbomb, can_redbomb.getUnlocalizedName()); - GameRegistry.registerItem(can_mrsugar, can_mrsugar.getUnlocalizedName()); - - //The Gadget - GameRegistry.registerItem(gadget_explosive, gadget_explosive.getUnlocalizedName()); - GameRegistry.registerItem(gadget_explosive8, gadget_explosive8.getUnlocalizedName()); - GameRegistry.registerItem(gadget_wireing, gadget_wireing.getUnlocalizedName()); - GameRegistry.registerItem(gadget_core, gadget_core.getUnlocalizedName()); - - //Little Boy - GameRegistry.registerItem(boy_shielding, boy_shielding.getUnlocalizedName()); - GameRegistry.registerItem(boy_target, boy_target.getUnlocalizedName()); - GameRegistry.registerItem(boy_bullet, boy_bullet.getUnlocalizedName()); - GameRegistry.registerItem(boy_propellant, boy_propellant.getUnlocalizedName()); - GameRegistry.registerItem(boy_igniter, boy_igniter.getUnlocalizedName());; - - //Fat Man - GameRegistry.registerItem(man_explosive, man_explosive.getUnlocalizedName()); - GameRegistry.registerItem(man_explosive8, man_explosive8.getUnlocalizedName()); - GameRegistry.registerItem(man_igniter, man_igniter.getUnlocalizedName()); - GameRegistry.registerItem(man_core, man_core.getUnlocalizedName()); - - //Ivy Mike - GameRegistry.registerItem(mike_core, mike_core.getUnlocalizedName()); - GameRegistry.registerItem(mike_deut, mike_deut.getUnlocalizedName()); - GameRegistry.registerItem(mike_cooling_unit, mike_cooling_unit.getUnlocalizedName()); - - //Tsar Bomba - GameRegistry.registerItem(tsar_core, tsar_core.getUnlocalizedName()); - - //FLEIJA - GameRegistry.registerItem(fleija_igniter, fleija_igniter.getUnlocalizedName()); - GameRegistry.registerItem(fleija_propellant, fleija_propellant.getUnlocalizedName()); - GameRegistry.registerItem(fleija_core, fleija_core.getUnlocalizedName()); - - //Conventional Armor - GameRegistry.registerItem(goggles, goggles.getUnlocalizedName()); - GameRegistry.registerItem(gas_mask, gas_mask.getUnlocalizedName()); - - GameRegistry.registerItem(steel_helmet, steel_helmet.getUnlocalizedName()); - GameRegistry.registerItem(steel_plate, steel_plate.getUnlocalizedName()); - GameRegistry.registerItem(steel_legs, steel_legs.getUnlocalizedName()); - GameRegistry.registerItem(steel_boots, steel_boots.getUnlocalizedName()); - GameRegistry.registerItem(titanium_helmet, titanium_helmet.getUnlocalizedName()); - GameRegistry.registerItem(titanium_plate, titanium_plate.getUnlocalizedName()); - GameRegistry.registerItem(titanium_legs, titanium_legs.getUnlocalizedName()); - GameRegistry.registerItem(titanium_boots, titanium_boots.getUnlocalizedName()); - GameRegistry.registerItem(alloy_helmet, alloy_helmet.getUnlocalizedName()); - GameRegistry.registerItem(alloy_plate, alloy_plate.getUnlocalizedName()); - GameRegistry.registerItem(alloy_legs, alloy_legs.getUnlocalizedName()); - GameRegistry.registerItem(alloy_boots, alloy_boots.getUnlocalizedName()); - - //Power Armor - GameRegistry.registerItem(t45_helmet, t45_helmet.getUnlocalizedName()); - GameRegistry.registerItem(t45_plate, t45_plate.getUnlocalizedName()); - GameRegistry.registerItem(t45_legs, t45_legs.getUnlocalizedName()); - GameRegistry.registerItem(t45_boots, t45_boots.getUnlocalizedName()); - - //Nobody will ever read this anyway, so it shouldn't matter. - GameRegistry.registerItem(chainsaw, chainsaw.getUnlocalizedName()); - GameRegistry.registerItem(igniter, igniter.getUnlocalizedName()); - GameRegistry.registerItem(detonator, detonator.getUnlocalizedName()); - GameRegistry.registerItem(crate_caller, crate_caller.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_helmet, hazmat_helmet.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_plate, hazmat_plate.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_legs, hazmat_legs.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_boots, hazmat_boots.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_paa_helmet, hazmat_paa_helmet.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_paa_plate, hazmat_paa_plate.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_paa_legs, hazmat_paa_legs.getUnlocalizedName()); - GameRegistry.registerItem(hazmat_paa_boots, hazmat_paa_boots.getUnlocalizedName()); - GameRegistry.registerItem(cmb_helmet, cmb_helmet.getUnlocalizedName()); - GameRegistry.registerItem(cmb_plate, cmb_plate.getUnlocalizedName()); - GameRegistry.registerItem(cmb_legs, cmb_legs.getUnlocalizedName()); - GameRegistry.registerItem(cmb_boots, cmb_boots.getUnlocalizedName()); -<<<<<<< HEAD - GameRegistry.registerItem(paa_plate, paa_plate.getUnlocalizedName()); - GameRegistry.registerItem(paa_legs, paa_legs.getUnlocalizedName()); - GameRegistry.registerItem(paa_boots, paa_boots.getUnlocalizedName()); -======= -<<<<<<< HEAD - GameRegistry.registerItem(paa_plate, paa_plate.getUnlocalizedName()); - GameRegistry.registerItem(paa_legs, paa_legs.getUnlocalizedName()); - GameRegistry.registerItem(paa_boots, paa_boots.getUnlocalizedName()); -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - GameRegistry.registerItem(schrabidium_helmet, schrabidium_helmet.getUnlocalizedName()); - GameRegistry.registerItem(schrabidium_plate, schrabidium_plate.getUnlocalizedName()); - GameRegistry.registerItem(schrabidium_legs, schrabidium_legs.getUnlocalizedName()); - GameRegistry.registerItem(schrabidium_boots, schrabidium_boots.getUnlocalizedName()); - GameRegistry.registerItem(rod_quad_euphemium, rod_quad_euphemium.getUnlocalizedName()); - GameRegistry.registerItem(euphemium_helmet, euphemium_helmet.getUnlocalizedName()); - GameRegistry.registerItem(euphemium_plate, euphemium_plate.getUnlocalizedName()); - GameRegistry.registerItem(euphemium_legs, euphemium_legs.getUnlocalizedName()); - GameRegistry.registerItem(euphemium_boots, euphemium_boots.getUnlocalizedName()); - GameRegistry.registerItem(ingot_euphemium, ingot_euphemium.getUnlocalizedName()); - GameRegistry.registerItem(nugget_euphemium, nugget_euphemium.getUnlocalizedName()); - GameRegistry.registerItem(apple_euphemium, apple_euphemium.getUnlocalizedName()); - GameRegistry.registerItem(watch, watch.getUnlocalizedName()); - GameRegistry.registerItem(mask_of_infamy, mask_of_infamy.getUnlocalizedName()); - - //OP Tools - GameRegistry.registerItem(wand, wand.getUnlocalizedName()); - GameRegistry.registerItem(wand_s, wand_s.getUnlocalizedName()); - GameRegistry.registerItem(wand_d, wand_d.getUnlocalizedName()); - GameRegistry.registerItem(remote, remote.getUnlocalizedName()); - GameRegistry.registerItem(euphemium_stopper, euphemium_stopper.getUnlocalizedName()); - - //Kits - GameRegistry.registerItem(nuke_starter_kit, nuke_starter_kit.getUnlocalizedName()); - GameRegistry.registerItem(nuke_advanced_kit, nuke_advanced_kit.getUnlocalizedName()); - GameRegistry.registerItem(nuke_commercially_kit, nuke_commercially_kit.getUnlocalizedName()); - GameRegistry.registerItem(nuke_electric_kit, nuke_electric_kit.getUnlocalizedName()); - GameRegistry.registerItem(gadget_kit, gadget_kit.getUnlocalizedName()); - GameRegistry.registerItem(boy_kit, boy_kit.getUnlocalizedName()); - GameRegistry.registerItem(man_kit, man_kit.getUnlocalizedName()); - GameRegistry.registerItem(mike_kit, mike_kit.getUnlocalizedName()); - GameRegistry.registerItem(tsar_kit, tsar_kit.getUnlocalizedName()); - GameRegistry.registerItem(prototype_kit, prototype_kit.getUnlocalizedName()); - GameRegistry.registerItem(fleija_kit, fleija_kit.getUnlocalizedName()); - GameRegistry.registerItem(multi_kit, multi_kit.getUnlocalizedName()); - GameRegistry.registerItem(missile_kit, missile_kit.getUnlocalizedName()); - GameRegistry.registerItem(grenade_kit, grenade_kit.getUnlocalizedName()); - GameRegistry.registerItem(t45_kit, t45_kit.getUnlocalizedName()); - GameRegistry.registerItem(euphemium_kit, euphemium_kit.getUnlocalizedName()); - GameRegistry.registerItem(letter, letter.getUnlocalizedName()); - - //THIS is a bucket. - GameRegistry.registerItem(bucket_mud, bucket_mud.getUnlocalizedName()); - GameRegistry.registerItem(bucket_acid, bucket_acid.getUnlocalizedName()); - GameRegistry.registerItem(bucket_toxic, bucket_toxic.getUnlocalizedName()); - - //Records - GameRegistry.registerItem(record_lc, record_lc.getUnlocalizedName()); - GameRegistry.registerItem(record_ss, record_ss.getUnlocalizedName()); - GameRegistry.registerItem(record_vc, record_vc.getUnlocalizedName()); - - //Technical Items - GameRegistry.registerItem(smoke1, smoke1.getUnlocalizedName()); - GameRegistry.registerItem(smoke2, smoke2.getUnlocalizedName()); - GameRegistry.registerItem(smoke3, smoke3.getUnlocalizedName()); - GameRegistry.registerItem(smoke4, smoke4.getUnlocalizedName()); - GameRegistry.registerItem(smoke5, smoke5.getUnlocalizedName()); - GameRegistry.registerItem(smoke6, smoke6.getUnlocalizedName()); - GameRegistry.registerItem(smoke7, smoke7.getUnlocalizedName()); - GameRegistry.registerItem(smoke8, smoke8.getUnlocalizedName()); - GameRegistry.registerItem(b_smoke1, b_smoke1.getUnlocalizedName()); - GameRegistry.registerItem(b_smoke2, b_smoke2.getUnlocalizedName()); - GameRegistry.registerItem(b_smoke3, b_smoke3.getUnlocalizedName()); - GameRegistry.registerItem(b_smoke4, b_smoke4.getUnlocalizedName()); - GameRegistry.registerItem(b_smoke5, b_smoke5.getUnlocalizedName()); - GameRegistry.registerItem(b_smoke6, b_smoke6.getUnlocalizedName()); - GameRegistry.registerItem(b_smoke7, b_smoke7.getUnlocalizedName()); - GameRegistry.registerItem(b_smoke8, b_smoke8.getUnlocalizedName()); - GameRegistry.registerItem(energy_ball, energy_ball.getUnlocalizedName()); - GameRegistry.registerItem(discharge, discharge.getUnlocalizedName()); - GameRegistry.registerItem(empblast, empblast.getUnlocalizedName()); - GameRegistry.registerItem(flame_1, flame_1.getUnlocalizedName()); - GameRegistry.registerItem(flame_2, flame_2.getUnlocalizedName()); - GameRegistry.registerItem(flame_3, flame_3.getUnlocalizedName()); - GameRegistry.registerItem(flame_4, flame_4.getUnlocalizedName()); - GameRegistry.registerItem(flame_5, flame_5.getUnlocalizedName()); - GameRegistry.registerItem(flame_6, flame_6.getUnlocalizedName()); - GameRegistry.registerItem(flame_7, flame_7.getUnlocalizedName()); - GameRegistry.registerItem(flame_8, flame_8.getUnlocalizedName()); - GameRegistry.registerItem(flame_9, flame_9.getUnlocalizedName()); - GameRegistry.registerItem(flame_10, flame_10.getUnlocalizedName()); - GameRegistry.registerItem(ln2_1, ln2_1.getUnlocalizedName()); - GameRegistry.registerItem(ln2_2, ln2_2.getUnlocalizedName()); - GameRegistry.registerItem(ln2_3, ln2_3.getUnlocalizedName()); - GameRegistry.registerItem(ln2_4, ln2_4.getUnlocalizedName()); - GameRegistry.registerItem(ln2_5, ln2_5.getUnlocalizedName()); - GameRegistry.registerItem(ln2_6, ln2_6.getUnlocalizedName()); - GameRegistry.registerItem(ln2_7, ln2_7.getUnlocalizedName()); - GameRegistry.registerItem(ln2_8, ln2_8.getUnlocalizedName()); - GameRegistry.registerItem(ln2_9, ln2_9.getUnlocalizedName()); - GameRegistry.registerItem(ln2_10, ln2_10.getUnlocalizedName()); - } -} +package com.hbm.items; + +import com.hbm.blocks.ModBlocks; +import com.hbm.handler.BucketHandler; +import com.hbm.items.bomb.ItemBoy; +import com.hbm.items.bomb.ItemFleija; +import com.hbm.items.bomb.ItemGadget; +import com.hbm.items.bomb.ItemMan; +import com.hbm.items.bomb.ItemManMike; +import com.hbm.items.bomb.ItemMike; +import com.hbm.items.bomb.ItemTsar; +import com.hbm.items.food.ItemAppleEuphemium; +import com.hbm.items.food.ItemAppleSchrabidium; +import com.hbm.items.food.ItemCottonCandy; +import com.hbm.items.food.ItemEnergy; +import com.hbm.items.food.ItemLemon; +import com.hbm.items.food.ItemNugget; +import com.hbm.items.food.ItemSchnitzelVegan; +import com.hbm.items.food.ItemTemFlakes; +import com.hbm.items.food.ItemWaffle; +import com.hbm.items.gear.ArmorAustralium; +import com.hbm.items.gear.ArmorEuphemium; +import com.hbm.items.gear.ArmorHazmat; +import com.hbm.items.gear.ArmorModel; +import com.hbm.items.gear.ArmorSchrabidium; +import com.hbm.items.gear.ArmorT45; +import com.hbm.items.gear.ArmorTest; +import com.hbm.items.gear.AxeSchrabidium; +import com.hbm.items.gear.BigSword; +import com.hbm.items.gear.HoeSchrabidium; +import com.hbm.items.gear.MaskOfInfamy; +import com.hbm.items.gear.ModArmor; +import com.hbm.items.gear.ModAxe; +import com.hbm.items.gear.ModHoe; +import com.hbm.items.gear.ModPickaxe; +import com.hbm.items.gear.ModSpade; +import com.hbm.items.gear.ModSword; +import com.hbm.items.gear.PickaxeSchrabidium; +import com.hbm.items.gear.RedstoneSword; +import com.hbm.items.gear.SpadeSchrabidium; +import com.hbm.items.gear.SwordSchrabidium; +import com.hbm.items.gear.WeaponSpecial; +import com.hbm.items.special.ItemAntiCheat; +import com.hbm.items.special.ItemBattery; +import com.hbm.items.special.ItemBlades; +import com.hbm.items.special.ItemCapacitor; +import com.hbm.items.special.ItemCell; +import com.hbm.items.special.ItemChopper; +import com.hbm.items.special.ItemCustomLore; +import com.hbm.items.special.ItemDrop; +import com.hbm.items.special.ItemFuelRod; +import com.hbm.items.special.ItemModRecord; +import com.hbm.items.special.ItemPolaroid; +import com.hbm.items.special.ItemRadioactive; +import com.hbm.items.special.ItemStarterKit; +import com.hbm.items.special.ItemSyringe; +import com.hbm.items.special.ItemTankWaste; +import com.hbm.items.special.ItemTeleLink; +import com.hbm.items.special.WatzFuel; +import com.hbm.items.tool.ItemCrateCaller; +import com.hbm.items.tool.ItemDesingator; +import com.hbm.items.tool.ItemDetonator; +import com.hbm.items.tool.ItemMatch; +import com.hbm.items.tool.ItemModBucket; +import com.hbm.items.tool.ItemMultitoolPassive; +import com.hbm.items.tool.ItemMultitoolTool; +import com.hbm.items.tool.ItemRamManipulator; +import com.hbm.items.tool.ItemWand; +import com.hbm.items.tool.ItemWandD; +import com.hbm.items.tool.ItemWandS; +import com.hbm.items.weapon.GunBaleFlare; +import com.hbm.items.weapon.GunCryolator; +import com.hbm.items.weapon.GunEMPRay; +import com.hbm.items.weapon.GunEuthanasia; +import com.hbm.items.weapon.GunFatman; +import com.hbm.items.weapon.GunImmolator; +import com.hbm.items.weapon.GunJack; +import com.hbm.items.weapon.GunMIRV; +import com.hbm.items.weapon.GunMP; +import com.hbm.items.weapon.GunNightmare; +import com.hbm.items.weapon.GunOSIPR; +import com.hbm.items.weapon.GunRevolver; +import com.hbm.items.weapon.GunRpg; +import com.hbm.items.weapon.GunSMG; +import com.hbm.items.weapon.GunShotgun; +import com.hbm.items.weapon.GunSuicide; +import com.hbm.items.weapon.GunXVL1456; +import com.hbm.items.weapon.GunZOMG; +import com.hbm.items.weapon.ItemClip; +import com.hbm.items.weapon.ItemGrenade; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.common.registry.GameRegistry; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.item.Item.ToolMaterial; +import net.minecraft.item.ItemArmor.ArmorMaterial; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemSoup; +import net.minecraft.item.ItemStack; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.fluids.FluidContainerRegistry; +import net.minecraftforge.fluids.FluidStack; + +public class ModItems { + + public static void mainRegistry() + { + initializeItem(); + registerItem(); + } + + public static Item redstone_sword; + public static Item big_sword; + + public static Item test_helmet; + public static Item test_chestplate; + public static Item test_leggings; + public static Item test_boots; + + public static Item ingot_uranium; + public static Item ingot_u235; + public static Item ingot_u238; + public static Item ingot_plutonium; + public static Item ingot_pu238; + public static Item ingot_pu239; + public static Item ingot_pu240; + public static Item ingot_neptunium; + public static Item ingot_titanium; + public static Item sulfur; + + public static Item niter; + public static Item ingot_copper; + public static Item ingot_red_copper; + public static Item ingot_tungsten; + public static Item ingot_aluminium; + public static Item fluorite; + public static Item ingot_beryllium; + public static Item ingot_schrabidium; + public static Item ingot_plutonium_fuel; + public static Item ingot_uranium_fuel; + public static Item ingot_mox_fuel; + public static Item ingot_schrabidium_fuel; + public static Item nugget_uranium_fuel; + public static Item nugget_plutonium_fuel; + public static Item nugget_mox_fuel; + public static Item nugget_schrabidium_fuel; + public static Item ingot_advanced_alloy; + public static Item lithium; + public static Item ingot_hes; + public static Item ingot_les; + public static Item nugget_hes; + public static Item nugget_les; + public static Item ingot_magnetized_tungsten; + public static Item ingot_combine_steel; + + public static Item ingot_australium; + public static Item ingot_weidanium; + public static Item ingot_reiium; + public static Item ingot_unobtainium; + public static Item ingot_daffergon; + public static Item ingot_verticium; + public static Item nugget_australium; + public static Item nugget_weidanium; + public static Item nugget_reiium; + public static Item nugget_unobtainium; + public static Item nugget_daffergon; + public static Item nugget_verticium; + + public static Item nugget_uranium; + public static Item nugget_u235; + public static Item nugget_u238; + public static Item nugget_plutonium; + public static Item nugget_pu238; + public static Item nugget_pu239; + public static Item nugget_pu240; + public static Item nugget_neptunium; + public static Item plate_titanium; + public static Item plate_aluminium; + public static Item wire_red_copper; + public static Item wire_tungsten; + public static Item neutron_reflector; + public static Item ingot_steel; + public static Item plate_steel; + public static Item plate_iron; + public static Item ingot_lead; + public static Item nugget_lead; + public static Item plate_lead; + public static Item nugget_schrabidium; + public static Item plate_schrabidium; + public static Item plate_copper; + public static Item nugget_beryllium; + public static Item plate_gold; + public static Item hazmat_cloth; + public static Item filter_coal; + public static Item plate_advanced_alloy; + public static Item plate_combine_steel; + public static Item plate_mixed; + public static Item plate_paa; + public static Item board_copper; + + public static Item ingot_lanthanium; + public static Item ingot_actinium; + + public static Item powder_lead; + public static Item powder_neptunium; + public static Item powder_schrabidium; + + public static Item powder_aluminium; + public static Item powder_beryllium; + public static Item powder_copper; + public static Item powder_gold; + public static Item powder_iron; + public static Item powder_titanium; + public static Item powder_tungsten; + public static Item powder_uranium; + public static Item powder_plutonium; + public static Item dust; + public static Item powder_power; + + public static Item powder_thorium; + public static Item powder_iodine; + public static Item powder_neodymium; + public static Item powder_astatine; + public static Item powder_caesium; + + public static Item powder_strontium; + public static Item powder_cobalt; + public static Item powder_bromine; + public static Item powder_niobium; + public static Item powder_tennessine; + public static Item powder_cerium; + + public static Item powder_advanced_alloy; + public static Item powder_coal; + public static Item powder_combine_steel; + public static Item powder_diamond; + public static Item powder_emerald; + public static Item powder_lapis; + public static Item powder_quartz; + public static Item powder_magnetized_tungsten; + public static Item powder_red_copper; + public static Item powder_steel; + public static Item powder_lithium; + + public static Item powder_australium; + public static Item powder_weidanium; + public static Item powder_reiium; + public static Item powder_unobtainium; + public static Item powder_daffergon; + public static Item powder_verticium; + + public static Item coil_copper; + public static Item coil_copper_torus; + public static Item coil_tungsten; + public static Item tank_steel; + public static Item motor; + public static Item centrifuge_element; + public static Item centrifuge_tower; + public static Item reactor_core; + public static Item rtg_unit; + public static Item thermo_unit_empty; + public static Item thermo_unit_endo; + public static Item thermo_unit_exo; + public static Item levitation_unit; + public static Item wire_aluminium; + public static Item wire_copper; + public static Item wire_gold; + public static Item wire_schrabidium; + public static Item wire_advanced_alloy; + public static Item coil_advanced_alloy; + public static Item coil_advanced_torus; + public static Item wire_magnetized_tungsten; + public static Item coil_magnetized_tungsten; + public static Item coil_gold; + public static Item coil_gold_torus; + + public static Item circuit_aluminium; + public static Item circuit_copper; + public static Item circuit_red_copper; + public static Item circuit_gold; + public static Item circuit_schrabidium; + + public static Item cap_aluminium; + public static Item hull_small_steel; + public static Item hull_small_aluminium; + public static Item hull_big_steel; + public static Item hull_big_aluminium; + public static Item hull_big_titanium; + public static Item fins_flat; + public static Item fins_small_steel; + public static Item fins_big_steel; + public static Item fins_tri_steel; + public static Item fins_quad_titanium; + public static Item sphere_steel; + public static Item pedestal_steel; + public static Item dysfunctional_reactor; + public static Item rotor_steel; + public static Item generator_steel; + public static Item blade_titanium; + public static Item turbine_titanium; + public static Item generator_front; + + public static Item toothpicks; + public static Item ducttape; + + public static Item warhead_generic_small; + public static Item warhead_generic_medium; + public static Item warhead_generic_large; + public static Item warhead_incendiary_small; + public static Item warhead_incendiary_medium; + public static Item warhead_incendiary_large; + public static Item warhead_cluster_small; + public static Item warhead_cluster_medium; + public static Item warhead_cluster_large; + public static Item warhead_buster_small; + public static Item warhead_buster_medium; + public static Item warhead_buster_large; + public static Item warhead_nuclear; + public static Item warhead_mirvlet; + public static Item warhead_mirv; + public static Item warhead_thermo_endo; + public static Item warhead_thermo_exo; + + public static Item fuel_tank_small; + public static Item fuel_tank_medium; + public static Item fuel_tank_large; + + public static Item thruster_small; + public static Item thruster_medium; + public static Item thruster_large; + + public static Item chopper_head; + public static Item chopper_gun; + public static Item chopper_torso; + public static Item chopper_tail; + public static Item chopper_wing; + public static Item chopper_blades; + public static Item combine_scrap; + + public static Item telepad; + public static Item entanglement_kit; + + public static Item blades_gold; + public static Item blades_aluminium; + public static Item blades_iron; + public static Item blades_steel; + public static Item blades_titanium; + public static Item blades_advanced_alloy; + public static Item blades_combine_steel; + public static Item blades_schrabidium; + + public static Item thermo_element; + public static Item limiter; + + public static Item pellet_rtg; + public static Item tritium_deuterium_cake; + + public static Item pellet_schrabidium; + public static Item pellet_hes; + public static Item pellet_mes; + public static Item pellet_les; + public static Item pellet_beryllium; + public static Item pellet_neptunium; + public static Item pellet_lead; + public static Item pellet_advanced; + + public static Item cell_empty; + public static Item cell_uf6; + public static Item cell_puf6; + public static Item cell_deuterium; + public static Item cell_tritium; + public static Item cell_sas3; + public static Item cell_antimatter; + public static Item cell_anti_schrabidium; + public static Item singularity; + public static Item singularity_counter_resonant; + public static Item singularity_super_heated; + public static Item black_hole; + public static Item crystal_xen; + public static Item inf_water; + public static Item inf_coolant; + public static Item inf_deuterium; + public static Item inf_tritium; + public static Item inf_sulfur; + public static Item inf_diesel; + public static Item inf_antimatter; + public static Item inf_antischrabidium; + + public static Item oil_canola; + public static Item canister_empty; + public static Item canister_canola; + public static Item canister_fuel; + public static Item canister_napalm; + public static Item canister_NITAN; + + public static Item syringe_empty; + public static Item syringe_antidote; + public static Item syringe_poison; + public static Item syringe_awesome; + public static Item syringe_metal_empty; + public static Item syringe_metal_stimpak; + public static Item syringe_metal_medx; + public static Item syringe_metal_psycho; + public static Item stealth_boy; + + public static Item can_empty; + public static Item can_smart; + public static Item can_creature; + public static Item can_redbomb; + public static Item can_mrsugar; + public static Item can_overcharge; + public static Item bottle_empty; + public static Item bottle_nuka; + public static Item bottle_cherry; + public static Item bottle_quantum; + public static Item bottle2_empty; + public static Item bottle2_korl; + public static Item bottle2_fritz; + public static Item bottle2_korl_special; + public static Item bottle2_fritz_special; + public static Item chocolate_milk; + + public static Item rod_empty; + public static Item rod_uranium; + public static Item rod_u235; + public static Item rod_u238; + public static Item rod_plutonium; + public static Item rod_pu238; + public static Item rod_pu239; + public static Item rod_pu240; + public static Item rod_neptunium; + public static Item rod_lead; + public static Item rod_schrabidium; + public static Item rod_euphemium; + public static Item rod_australium; + public static Item rod_weidanium; + public static Item rod_reiium; + public static Item rod_unobtainium; + public static Item rod_daffergon; + public static Item rod_verticium; + + public static Item rod_dual_empty; + public static Item rod_dual_uranium; + public static Item rod_dual_u235; + public static Item rod_dual_u238; + public static Item rod_dual_plutonium; + public static Item rod_dual_pu238; + public static Item rod_dual_pu239; + public static Item rod_dual_pu240; + public static Item rod_dual_neptunium; + public static Item rod_dual_lead; + public static Item rod_dual_schrabidium; + + public static Item rod_quad_empty; + public static Item rod_quad_uranium; + public static Item rod_quad_u235; + public static Item rod_quad_u238; + public static Item rod_quad_plutonium; + public static Item rod_quad_pu238; + public static Item rod_quad_pu239; + public static Item rod_quad_pu240; + public static Item rod_quad_neptunium; + public static Item rod_quad_lead; + public static Item rod_quad_schrabidium; + + public static Item rod_uranium_fuel; + public static Item rod_dual_uranium_fuel; + public static Item rod_quad_uranium_fuel; + public static Item rod_plutonium_fuel; + public static Item rod_dual_plutonium_fuel; + public static Item rod_quad_plutonium_fuel; + public static Item rod_mox_fuel; + public static Item rod_dual_mox_fuel; + public static Item rod_quad_mox_fuel; + public static Item rod_schrabidium_fuel; + public static Item rod_dual_schrabidium_fuel; + public static Item rod_quad_schrabidium_fuel; + + public static Item rod_water; + public static Item rod_dual_water; + public static Item rod_quad_water; + + public static Item rod_coolant; + public static Item rod_dual_coolant; + public static Item rod_quad_coolant; + + public static Item scrap; + public static Item trinitite; + public static Item nuclear_waste; + public static Item rod_uranium_fuel_depleted; + public static Item rod_dual_uranium_fuel_depleted; + public static Item rod_quad_uranium_fuel_depleted; + public static Item rod_plutonium_fuel_depleted; + public static Item rod_dual_plutonium_fuel_depleted; + public static Item rod_quad_plutonium_fuel_depleted; + public static Item rod_mox_fuel_depleted; + public static Item rod_dual_mox_fuel_depleted; + public static Item rod_quad_mox_fuel_depleted; + public static Item rod_schrabidium_fuel_depleted; + public static Item rod_dual_schrabidium_fuel_depleted; + public static Item rod_quad_schrabidium_fuel_depleted; + public static Item rod_waste; + public static Item rod_dual_waste; + public static Item rod_quad_waste; + + public static Item rod_lithium; + public static Item rod_dual_lithium; + public static Item rod_quad_lithium; + public static Item rod_tritium; + public static Item rod_dual_tritium; + public static Item rod_quad_tritium; + + public static Item test_nuke_igniter; + public static Item test_nuke_propellant; + public static Item test_nuke_tier1_shielding; + public static Item test_nuke_tier2_shielding; + public static Item test_nuke_tier1_bullet; + public static Item test_nuke_tier2_bullet; + public static Item test_nuke_tier1_target; + public static Item test_nuke_tier2_target; + + public static Item pellet_cluster; + public static Item powder_fire; + public static Item powder_ice; + public static Item powder_poison; + public static Item powder_thermite; + public static Item pellet_gas; + public static Item magnetron; + public static Item pellet_buckshot; + + public static Item designator; + public static Item linker; + + public static Item missile_generic; + public static Item missile_anti_ballistic; + public static Item missile_incendiary; + public static Item missile_cluster; + public static Item missile_buster; + public static Item missile_strong; + public static Item missile_incendiary_strong; + public static Item missile_cluster_strong; + public static Item missile_buster_strong; + public static Item missile_burst; + public static Item missile_inferno; + public static Item missile_rain; + public static Item missile_drill; + public static Item missile_nuclear; + public static Item missile_nuclear_cluster; + public static Item missile_endo; + public static Item missile_exo; + + public static Item gun_rpg; + public static Item gun_rpg_ammo; + public static Item gun_revolver; + public static Item gun_revolver_ammo; + public static Item gun_revolver_iron; + public static Item gun_revolver_iron_ammo; + public static Item gun_revolver_gold; + public static Item gun_revolver_gold_ammo; + public static Item gun_revolver_lead; + public static Item gun_revolver_lead_ammo; + public static Item gun_revolver_schrabidium; + public static Item gun_revolver_schrabidium_ammo; + public static Item gun_revolver_cursed; + public static Item gun_revolver_cursed_ammo; + public static Item gun_revolver_nightmare; + public static Item gun_revolver_nightmare_ammo; + public static Item gun_revolver_nightmare2; + public static Item gun_revolver_nightmare2_ammo; + public static Item gun_fatman; + public static Item gun_fatman_ammo; + public static Item gun_mirv; + public static Item gun_mirv_ammo; + public static Item gun_bf; + public static Item gun_bf_ammo; + public static Item gun_mp40; + public static Item gun_mp40_ammo; + public static Item gun_uboinik; + public static Item gun_uboinik_ammo; + public static Item gun_xvl1456; + public static Item gun_xvl1456_ammo; + public static Item gun_osipr; + public static Item gun_osipr_ammo; + public static Item gun_osipr_ammo2; + public static Item gun_immolator; + public static Item gun_immolator_ammo; + public static Item gun_cryolator; + public static Item gun_cryolator_ammo; + public static Item gun_mp; + public static Item gun_mp_ammo; + public static Item gun_zomg; + public static Item gun_super_shotgun; + public static Item gun_moist_nugget; + public static Item gun_revolver_inverted; + public static Item gun_emp; + public static Item gun_emp_ammo; + public static Item gun_jack; + public static Item gun_jack_ammo; + //public static Item gun_spark; + //public static Item gun_spark_ammo; + //public static Item gun_hp; + //public static Item gun_hp_ammo; + public static Item gun_euthanasia; + public static Item gun_euthanasia_ammo; + public static Item gun_waluigi; + + public static Item grenade_generic; + public static Item grenade_strong; + public static Item grenade_frag; + public static Item grenade_fire; + public static Item grenade_shrapnel; + public static Item grenade_cluster; + public static Item grenade_flare; + public static Item grenade_electric; + public static Item grenade_poison; + public static Item grenade_gas; + public static Item grenade_pulse; + public static Item grenade_plasma; + public static Item grenade_tau; + public static Item grenade_schrabidium; + public static Item grenade_lemon; + public static Item grenade_mk2; + public static Item grenade_aschrab; + public static Item grenade_nuke; + public static Item grenade_nuclear; + public static Item grenade_zomg; + public static Item ullapool_caber; + + public static Item bomb_waffle; + public static Item schnitzel_vegan; + public static Item cotton_candy; + public static Item apple_schrabidium; + public static Item tem_flakes; + public static Item glowing_stew; + public static Item lemon; + + public static Item flame_pony; + public static Item flame_conspiracy; + public static Item flame_politics; + public static Item flame_opinion; + + public static Item gadget_explosive; + public static Item gadget_explosive8; + public static Item gadget_wireing; + public static Item gadget_core; + + public static Item boy_igniter; + public static Item boy_propellant; + public static Item boy_bullet; + public static Item boy_target; + public static Item boy_shielding; + + public static Item man_explosive; + public static Item man_explosive8; + public static Item man_igniter; + public static Item man_core; + + public static Item mike_core; + public static Item mike_deut; + public static Item mike_cooling_unit; + + public static Item tsar_core; + + public static Item fleija_igniter; + public static Item fleija_propellant; + public static Item fleija_core; + + public static Item battery_generic; + public static Item battery_advanced; + public static Item battery_schrabidium; + public static Item battery_creative; + + public static Item fusion_core; + public static Item energy_core; + public static Item fuse; + public static Item redcoil_capacitor; + public static Item titanium_filter; + public static Item screwdriver; + public static Item overfuse; + + public static Item tank_waste; + + public static Item factory_core_titanium; + public static Item factory_core_advanced; + + public static Item ingot_euphemium; + public static Item nugget_euphemium; + public static Item rod_quad_euphemium; + public static Item euphemium_helmet; + public static Item euphemium_plate; + public static Item euphemium_legs; + public static Item euphemium_boots; + public static Item apple_euphemium; + public static Item watch; + public static Item euphemium_stopper; + + public static Item goggles; + public static Item gas_mask; + public static Item oxy_mask; + + public static Item t45_helmet; + public static Item t45_plate; + public static Item t45_legs; + public static Item t45_boots; + + public static Item chainsaw; + + public static Item schrabidium_helmet; + public static Item schrabidium_plate; + public static Item schrabidium_legs; + public static Item schrabidium_boots; + public static Item titanium_helmet; + public static Item titanium_plate; + public static Item titanium_legs; + public static Item titanium_boots; + public static Item steel_helmet; + public static Item steel_plate; + public static Item steel_legs; + public static Item steel_boots; + public static Item alloy_helmet; + public static Item alloy_plate; + public static Item alloy_legs; + public static Item alloy_boots; + public static Item cmb_helmet; + public static Item cmb_plate; + public static Item cmb_legs; + public static Item cmb_boots; + public static Item paa_plate; + public static Item paa_legs; + public static Item paa_boots; + + public static Item australium_iii; + public static Item australium_iv; + public static Item australium_v; + + public static Item schrabidium_sword; + public static Item schrabidium_pickaxe; + public static Item schrabidium_axe; + public static Item schrabidium_shovel; + public static Item schrabidium_hoe; + public static Item titanium_sword; + public static Item titanium_pickaxe; + public static Item titanium_axe; + public static Item titanium_shovel; + public static Item titanium_hoe; + public static Item steel_sword; + public static Item steel_pickaxe; + public static Item steel_axe; + public static Item steel_shovel; + public static Item steel_hoe; + public static Item alloy_sword; + public static Item alloy_pickaxe; + public static Item alloy_axe; + public static Item alloy_shovel; + public static Item alloy_hoe; + public static Item cmb_sword; + public static Item cmb_pickaxe; + public static Item cmb_axe; + public static Item cmb_shovel; + public static Item cmb_hoe; + + public static Item matchstick; + + public static Item mask_of_infamy; + + public static Item schrabidium_hammer; + + public static Item crowbar; + + public static Item multitool_hit; + public static Item multitool_dig; + public static Item multitool_silk; + public static Item multitool_ext; + public static Item multitool_miner; + public static Item multitool_beam; + public static Item multitool_sky; + public static Item multitool_mega; + public static Item multitool_joule; + public static Item multitool_decon; + + public static Item saw; + public static Item bat; + public static Item bat_nail; + public static Item golf_club; + public static Item pipe_rusty; + public static Item pipe_lead; + public static Item reer_graar; + + public static Item crystal_horn; + public static Item crystal_charred; + + public static Item hazmat_helmet; + public static Item hazmat_plate; + public static Item hazmat_legs; + public static Item hazmat_boots; + + public static Item hazmat_paa_helmet; + public static Item hazmat_paa_plate; + public static Item hazmat_paa_legs; + public static Item hazmat_paa_boots; + + public static Item wand; + public static Item wand_s; + public static Item wand_d; + + public static Item cape_test; + public static Item cape_radiation; + public static Item cape_gasmask; + public static Item cape_schrabidium; + public static Item cape_hbm; + public static Item cape_dafnik; + public static Item cape_lpkukin; + public static Item cape_vertice; + + public static Item nuke_starter_kit; + public static Item nuke_advanced_kit; + public static Item nuke_commercially_kit; + public static Item nuke_electric_kit; + public static Item gadget_kit; + public static Item boy_kit; + public static Item man_kit; + public static Item mike_kit; + public static Item tsar_kit; + public static Item multi_kit; + public static Item grenade_kit; + public static Item fleija_kit; + public static Item prototype_kit; + public static Item missile_kit; + public static Item t45_kit; + public static Item euphemium_kit; + + public static Item clip_revolver_iron; + public static Item clip_revolver; + public static Item clip_revolver_gold; + public static Item clip_revolver_lead; + public static Item clip_revolver_schrabidium; + public static Item clip_revolver_cursed; + public static Item clip_revolver_nightmare; + public static Item clip_revolver_nightmare2; + public static Item clip_rpg; + public static Item clip_fatman; + public static Item clip_mirv; + public static Item clip_bf; + public static Item clip_mp40; + public static Item clip_uboinik; + public static Item clip_osipr; + public static Item clip_immolator; + public static Item clip_cryolator; + public static Item clip_mp; + public static Item clip_xvl1456; + public static Item clip_emp; + + public static Item igniter; + public static Item detonator; + public static Item crate_caller; + public static Item remote; + public static Item chopper; + + public static Item bucket_mud; + public static Item bucket_acid; + public static Item bucket_toxic; + + public static Item record_lc; + public static Item record_ss; + public static Item record_vc; + + public static Item polaroid; + public static Item letter; + + public static Item smoke1; + public static Item smoke2; + public static Item smoke3; + public static Item smoke4; + public static Item smoke5; + public static Item smoke6; + public static Item smoke7; + public static Item smoke8; + public static Item b_smoke1; + public static Item b_smoke2; + public static Item b_smoke3; + public static Item b_smoke4; + public static Item b_smoke5; + public static Item b_smoke6; + public static Item b_smoke7; + public static Item b_smoke8; + public static Item d_smoke1; + public static Item d_smoke2; + public static Item d_smoke3; + public static Item d_smoke4; + public static Item d_smoke5; + public static Item d_smoke6; + public static Item d_smoke7; + public static Item d_smoke8; + public static Item energy_ball; + public static Item discharge; + public static Item empblast; + public static Item flame_1; + public static Item flame_2; + public static Item flame_3; + public static Item flame_4; + public static Item flame_5; + public static Item flame_6; + public static Item flame_7; + public static Item flame_8; + public static Item flame_9; + public static Item flame_10; + public static Item ln2_1; + public static Item ln2_2; + public static Item ln2_3; + public static Item ln2_4; + public static Item ln2_5; + public static Item ln2_6; + public static Item ln2_7; + public static Item ln2_8; + public static Item ln2_9; + public static Item ln2_10; + + public static void initializeItem() + { + redstone_sword = new RedstoneSword(ToolMaterial.STONE).setUnlocalizedName("redstone_sword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(RefStrings.MODID + ":redstone_sword"); + big_sword = new BigSword(ToolMaterial.EMERALD).setUnlocalizedName("big_sword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(RefStrings.MODID + ":big_sword"); + + test_helmet = new ArmorTest(MainRegistry.enumArmorMaterialEmerald, 5, 0).setUnlocalizedName("test_helmet").setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_helmet"); + test_chestplate = new ArmorTest(MainRegistry.enumArmorMaterialEmerald, 5, 1).setUnlocalizedName("test_chestplate").setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_chestplate"); + test_leggings = new ArmorTest(MainRegistry.enumArmorMaterialEmerald, 5, 2).setUnlocalizedName("test_leggings").setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_leggings"); + test_boots = new ArmorTest(MainRegistry.enumArmorMaterialEmerald, 5, 3).setUnlocalizedName("test_boots").setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_boots"); + + test_nuke_igniter = new Item().setUnlocalizedName("test_nuke_igniter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_igniter"); + test_nuke_propellant = new Item().setUnlocalizedName("test_nuke_propellant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_propellant"); + test_nuke_tier1_shielding = new Item().setUnlocalizedName("test_nuke_tier1_shielding").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier1_shielding"); + test_nuke_tier2_shielding = new Item().setUnlocalizedName("test_nuke_tier2_shielding").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier2_shielding"); + test_nuke_tier1_bullet = new Item().setUnlocalizedName("test_nuke_tier1_bullet").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier1_bullet"); + test_nuke_tier2_bullet = new Item().setUnlocalizedName("test_nuke_tier2_bullet").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier2_bullet"); + test_nuke_tier1_target = new Item().setUnlocalizedName("test_nuke_tier1_target").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier1_target"); + test_nuke_tier2_target = new Item().setUnlocalizedName("test_nuke_tier2_target").setMaxStackSize(1).setCreativeTab(MainRegistry.tabTest).setTextureName(RefStrings.MODID + ":test_nuke_tier2_target"); + + ingot_uranium = new ItemRadioactive().setUnlocalizedName("ingot_uranium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_uranium"); + ingot_u235 = new ItemRadioactive().setUnlocalizedName("ingot_u235").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_uranium"); + ingot_u238 = new ItemRadioactive().setUnlocalizedName("ingot_u238").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_uranium"); + ingot_plutonium = new ItemRadioactive().setUnlocalizedName("ingot_plutonium").setCreativeTab(MainRegistry.tabParts).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); + ingot_pu238 = new ItemRadioactive().setUnlocalizedName("ingot_pu238").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); + ingot_pu239 = new ItemRadioactive().setUnlocalizedName("ingot_pu239").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); + ingot_pu240 = new ItemRadioactive().setUnlocalizedName("ingot_pu240").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); + ingot_neptunium = new ItemCustomLore().setUnlocalizedName("ingot_neptunium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_neptunium"); + ingot_titanium = new Item().setUnlocalizedName("ingot_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_titanium"); + sulfur = new Item().setUnlocalizedName("sulfur").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":sulfur"); + + ingot_uranium_fuel = new ItemRadioactive().setUnlocalizedName("ingot_uranium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_uranium"); + ingot_plutonium_fuel = new ItemRadioactive().setUnlocalizedName("ingot_plutonium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_plutonium"); + ingot_mox_fuel = new ItemRadioactive().setUnlocalizedName("ingot_mox_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_mox_fuel"); + ingot_schrabidium_fuel = new ItemRadioactive().setUnlocalizedName("ingot_schrabidium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_schrabidium_fuel"); + nugget_uranium_fuel = new ItemRadioactive().setUnlocalizedName("nugget_uranium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_uranium"); + nugget_plutonium_fuel = new ItemRadioactive().setUnlocalizedName("nugget_plutonium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); + nugget_mox_fuel = new ItemRadioactive().setUnlocalizedName("nugget_mox_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_mox_fuel"); + nugget_schrabidium_fuel = new ItemRadioactive().setUnlocalizedName("nugget_schrabidium_fuel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_schrabidium_fuel"); + ingot_advanced_alloy = new Item().setUnlocalizedName("ingot_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_advanced_alloy"); + + niter = new Item().setUnlocalizedName("niter").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":salpeter"); + ingot_copper = new Item().setUnlocalizedName("ingot_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_copper"); + ingot_red_copper = new Item().setUnlocalizedName("ingot_red_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_red_copper"); + ingot_tungsten = new Item().setUnlocalizedName("ingot_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_tungsten"); + ingot_aluminium = new Item().setUnlocalizedName("ingot_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_aluminium"); + fluorite = new Item().setUnlocalizedName("fluorite").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fluorite"); + ingot_beryllium = new Item().setUnlocalizedName("ingot_beryllium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_beryllium"); + ingot_steel = new Item().setUnlocalizedName("ingot_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_steel"); + plate_steel = new Item().setUnlocalizedName("plate_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_steel"); + plate_iron = new Item().setUnlocalizedName("plate_iron").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_iron"); + ingot_lead = new Item().setUnlocalizedName("ingot_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_lead"); + plate_lead = new Item().setUnlocalizedName("plate_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_lead"); + ingot_schrabidium = new ItemCustomLore().setUnlocalizedName("ingot_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_schrabidium"); + plate_schrabidium = new ItemCustomLore().setUnlocalizedName("plate_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_schrabidium"); + plate_copper = new Item().setUnlocalizedName("plate_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_copper"); + plate_gold = new Item().setUnlocalizedName("plate_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_gold"); + plate_advanced_alloy = new Item().setUnlocalizedName("plate_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_advanced_alloy"); + lithium = new Item().setUnlocalizedName("lithium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":lithium"); + wire_advanced_alloy = new Item().setUnlocalizedName("wire_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_advanced_alloy"); + coil_advanced_alloy = new Item().setUnlocalizedName("coil_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_advanced_alloy"); + coil_advanced_torus = new Item().setUnlocalizedName("coil_advanced_torus").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_advanced_torus"); + ingot_magnetized_tungsten = new Item().setUnlocalizedName("ingot_magnetized_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_magnetized_tungsten"); + ingot_combine_steel = new ItemCustomLore().setUnlocalizedName("ingot_combine_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_combine_steel"); + plate_mixed = new Item().setUnlocalizedName("plate_mixed").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_mixed"); + plate_paa = new ItemCustomLore().setUnlocalizedName("plate_paa").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_paa"); + board_copper = new Item().setUnlocalizedName("board_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":board_copper"); + + ingot_lanthanium = new ItemCustomLore().setUnlocalizedName("ingot_lanthanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_lanthanium"); + ingot_actinium = new ItemCustomLore().setUnlocalizedName("ingot_actinium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_actinium"); + + ingot_australium = new ItemCustomLore().setUnlocalizedName("ingot_australium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_australium"); + ingot_weidanium = new ItemCustomLore().setUnlocalizedName("ingot_weidanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_weidanium"); + ingot_reiium = new ItemCustomLore().setUnlocalizedName("ingot_reiium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_reiium"); + ingot_unobtainium = new ItemCustomLore().setUnlocalizedName("ingot_unobtainium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_unobtainium"); + ingot_daffergon = new ItemCustomLore().setUnlocalizedName("ingot_daffergon").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_daffergon"); + ingot_verticium = new ItemCustomLore().setUnlocalizedName("ingot_verticium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_verticium"); + nugget_australium = new ItemCustomLore().setUnlocalizedName("nugget_australium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_australium"); + nugget_weidanium = new ItemCustomLore().setUnlocalizedName("nugget_weidanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_weidanium"); + nugget_reiium = new ItemCustomLore().setUnlocalizedName("nugget_reiium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_reiium"); + nugget_unobtainium = new ItemCustomLore().setUnlocalizedName("nugget_unobtainium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_unobtainium"); + nugget_daffergon = new ItemCustomLore().setUnlocalizedName("nugget_daffergon").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_daffergon"); + nugget_verticium = new ItemCustomLore().setUnlocalizedName("nugget_verticium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_verticium"); + + nugget_uranium = new ItemRadioactive().setUnlocalizedName("nugget_uranium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_uranium"); + nugget_u235 = new ItemRadioactive().setUnlocalizedName("nugget_u235").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_uranium"); + nugget_u238 = new ItemRadioactive().setUnlocalizedName("nugget_u238").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_uranium"); + nugget_plutonium = new ItemRadioactive().setUnlocalizedName("nugget_plutonium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); + nugget_pu238 = new ItemRadioactive().setUnlocalizedName("nugget_pu238").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); + nugget_pu239 = new ItemRadioactive().setUnlocalizedName("nugget_pu239").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); + nugget_pu240 = new ItemRadioactive().setUnlocalizedName("nugget_pu240").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_plutonium"); + nugget_neptunium = new ItemRadioactive().setUnlocalizedName("nugget_neptunium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_neptunium"); + plate_titanium = new Item().setUnlocalizedName("plate_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_titanium"); + plate_aluminium = new Item().setUnlocalizedName("plate_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_aluminium"); + wire_red_copper = new Item().setUnlocalizedName("wire_red_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_red_copper"); + wire_tungsten = new ItemCustomLore().setUnlocalizedName("wire_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_tungsten"); + neutron_reflector = new Item().setUnlocalizedName("neutron_reflector").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":neutron_reflector"); + nugget_lead = new Item().setUnlocalizedName("nugget_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_lead"); + nugget_schrabidium = new ItemCustomLore().setUnlocalizedName("nugget_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_schrabidium"); + nugget_beryllium = new Item().setUnlocalizedName("nugget_beryllium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_beryllium"); + hazmat_cloth = new Item().setUnlocalizedName("hazmat_cloth").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hazmat_cloth"); + filter_coal = new Item().setUnlocalizedName("filter_coal").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":filter_coal"); + ingot_hes = new ItemRadioactive().setUnlocalizedName("ingot_hes").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_hes"); + ingot_les = new ItemRadioactive().setUnlocalizedName("ingot_les").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ingot_les"); + nugget_hes = new ItemRadioactive().setUnlocalizedName("nugget_hes").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_hes"); + nugget_les = new ItemRadioactive().setUnlocalizedName("nugget_les").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nugget_les"); + plate_combine_steel = new Item().setUnlocalizedName("plate_combine_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":plate_combine_steel"); + + powder_lead = new Item().setUnlocalizedName("powder_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_lead"); + powder_neptunium = new ItemCustomLore().setUnlocalizedName("powder_neptunium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_neptunium"); + powder_schrabidium = new ItemCustomLore().setUnlocalizedName("powder_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_schrabidium"); + powder_aluminium = new Item().setUnlocalizedName("powder_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_aluminium"); + powder_beryllium = new Item().setUnlocalizedName("powder_beryllium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_beryllium"); + powder_copper = new Item().setUnlocalizedName("powder_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_copper"); + powder_gold = new Item().setUnlocalizedName("powder_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_gold"); + powder_iron = new Item().setUnlocalizedName("powder_iron").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_iron"); + powder_titanium = new Item().setUnlocalizedName("powder_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_titanium"); + powder_tungsten = new Item().setUnlocalizedName("powder_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_tungsten"); + powder_uranium = new ItemRadioactive().setUnlocalizedName("powder_uranium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_uranium"); + powder_plutonium = new ItemRadioactive().setUnlocalizedName("powder_plutonium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_plutonium"); + dust = new ItemCustomLore().setUnlocalizedName("dust").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":dust"); + powder_advanced_alloy = new Item().setUnlocalizedName("powder_advanced_alloy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_advanced_alloy"); + powder_coal = new Item().setUnlocalizedName("powder_coal").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_coal"); + powder_combine_steel = new Item().setUnlocalizedName("powder_combine_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_combine_steel"); + powder_diamond = new Item().setUnlocalizedName("powder_diamond").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_diamond"); + powder_emerald = new Item().setUnlocalizedName("powder_emerald").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_emerald"); + powder_lapis = new Item().setUnlocalizedName("powder_lapis").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_lapis"); + powder_quartz = new Item().setUnlocalizedName("powder_quartz").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_quartz"); + powder_magnetized_tungsten = new Item().setUnlocalizedName("powder_magnetized_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_magnetized_tungsten"); + powder_red_copper = new Item().setUnlocalizedName("powder_red_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_red_copper"); + powder_steel = new Item().setUnlocalizedName("powder_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_steel"); + powder_lithium = new Item().setUnlocalizedName("powder_lithium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_lithium"); + powder_power = new ItemCustomLore().setUnlocalizedName("powder_power").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_energy"); + powder_iodine = new ItemCustomLore().setUnlocalizedName("powder_iodine").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_iodine"); + powder_thorium = new ItemCustomLore().setUnlocalizedName("powder_thorium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_thorium"); + powder_neodymium = new ItemCustomLore().setUnlocalizedName("powder_neodymium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_neodymium"); + powder_astatine = new ItemCustomLore().setUnlocalizedName("powder_astatine").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_astatine"); + powder_caesium = new ItemCustomLore().setUnlocalizedName("powder_caesium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_caesium"); + powder_australium = new ItemCustomLore().setUnlocalizedName("powder_australium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_australium"); + powder_weidanium = new ItemCustomLore().setUnlocalizedName("powder_weidanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_weidanium"); + powder_reiium = new ItemCustomLore().setUnlocalizedName("powder_reiium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_reiium"); + powder_unobtainium = new ItemCustomLore().setUnlocalizedName("powder_unobtainium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_unobtainium"); + powder_daffergon = new ItemCustomLore().setUnlocalizedName("powder_daffergon").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_daffergon"); + powder_verticium = new ItemCustomLore().setUnlocalizedName("powder_verticium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_verticium"); + powder_strontium = new ItemCustomLore().setUnlocalizedName("powder_strontium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_strontium"); + powder_cobalt = new ItemCustomLore().setUnlocalizedName("powder_cobalt").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_cobalt"); + powder_bromine = new ItemCustomLore().setUnlocalizedName("powder_bromine").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_bromine"); + powder_niobium = new ItemCustomLore().setUnlocalizedName("powder_niobium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_niobium"); + powder_tennessine = new ItemCustomLore().setUnlocalizedName("powder_tennessine").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_tennessine"); + powder_cerium = new ItemCustomLore().setUnlocalizedName("powder_cerium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_cerium"); + + coil_copper = new Item().setUnlocalizedName("coil_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_copper"); + coil_copper_torus = new Item().setUnlocalizedName("coil_copper_torus").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_copper_torus"); + coil_tungsten = new Item().setUnlocalizedName("coil_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_tungsten"); + tank_steel = new Item().setUnlocalizedName("tank_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":tank_steel"); + motor = new Item().setUnlocalizedName("motor").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":motor"); + centrifuge_element = new Item().setUnlocalizedName("centrifuge_element").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":centrifuge_element"); + centrifuge_tower = new Item().setUnlocalizedName("centrifuge_tower").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":centrifuge_tower"); + reactor_core = new Item().setUnlocalizedName("reactor_core").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":reactor_core"); + rtg_unit = new Item().setUnlocalizedName("rtg_unit").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rtg_unit"); + thermo_unit_empty = new Item().setUnlocalizedName("thermo_unit_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thermo_unit_empty"); + thermo_unit_endo= new Item().setUnlocalizedName("thermo_unit_endo").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thermo_unit_endo"); + thermo_unit_exo = new Item().setUnlocalizedName("thermo_unit_exo").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thermo_unit_exo"); + levitation_unit = new Item().setUnlocalizedName("levitation_unit").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":levitation_unit"); + wire_aluminium = new Item().setUnlocalizedName("wire_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_aluminium"); + wire_copper = new Item().setUnlocalizedName("wire_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_copper"); + wire_gold = new Item().setUnlocalizedName("wire_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_gold"); + wire_schrabidium = new ItemCustomLore().setUnlocalizedName("wire_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_schrabidium"); + wire_magnetized_tungsten = new Item().setUnlocalizedName("wire_magnetized_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":wire_magnetized_tungsten"); + coil_magnetized_tungsten = new Item().setUnlocalizedName("coil_magnetized_tungsten").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_magnetized_tungsten"); + coil_gold = new Item().setUnlocalizedName("coil_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_gold"); + coil_gold_torus = new Item().setUnlocalizedName("coil_gold_torus").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":coil_gold_torus"); + + cap_aluminium = new Item().setUnlocalizedName("cap_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":cap_aluminium"); + hull_small_steel = new Item().setUnlocalizedName("hull_small_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_small_steel"); + hull_small_aluminium = new Item().setUnlocalizedName("hull_small_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_small_aluminium"); + hull_big_steel = new Item().setUnlocalizedName("hull_big_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_big_steel"); + hull_big_aluminium = new Item().setUnlocalizedName("hull_big_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_big_aluminium"); + hull_big_titanium = new Item().setUnlocalizedName("hull_big_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":hull_big_titanium"); + fins_flat = new Item().setUnlocalizedName("fins_flat").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_flat"); + fins_small_steel = new Item().setUnlocalizedName("fins_small_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_small_steel"); + fins_big_steel = new Item().setUnlocalizedName("fins_big_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_big_steel"); + fins_tri_steel = new Item().setUnlocalizedName("fins_tri_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_tri_steel"); + fins_quad_titanium = new Item().setUnlocalizedName("fins_quad_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fins_quad_titanium"); + sphere_steel = new Item().setUnlocalizedName("sphere_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":sphere_steel"); + pedestal_steel = new Item().setUnlocalizedName("pedestal_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pedestal_steel"); + dysfunctional_reactor = new Item().setUnlocalizedName("dysfunctional_reactor").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":dysfunctional_reactor"); + rotor_steel = new Item().setUnlocalizedName("rotor_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rotor_steel"); + generator_steel = new Item().setUnlocalizedName("generator_steel").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":generator_steel"); + blade_titanium = new Item().setUnlocalizedName("blade_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blade_titanium"); + turbine_titanium = new Item().setUnlocalizedName("turbine_titanium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":turbine_titanium"); + generator_front = new Item().setUnlocalizedName("generator_front").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":generator_front"); + + toothpicks = new Item().setUnlocalizedName("toothpicks").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":toothpicks"); + ducttape = new Item().setUnlocalizedName("ducttape").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":ducttape"); + + warhead_generic_small = new Item().setUnlocalizedName("warhead_generic_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_generic_small"); + warhead_generic_medium = new Item().setUnlocalizedName("warhead_generic_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_generic_medium"); + warhead_generic_large = new Item().setUnlocalizedName("warhead_generic_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_generic_large"); + warhead_incendiary_small = new Item().setUnlocalizedName("warhead_incendiary_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_incendiary_small"); + warhead_incendiary_medium = new Item().setUnlocalizedName("warhead_incendiary_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_incendiary_medium"); + warhead_incendiary_large = new Item().setUnlocalizedName("warhead_incendiary_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_incendiary_large"); + warhead_cluster_small = new Item().setUnlocalizedName("warhead_cluster_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_cluster_small"); + warhead_cluster_medium = new Item().setUnlocalizedName("warhead_cluster_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_cluster_medium"); + warhead_cluster_large = new Item().setUnlocalizedName("warhead_cluster_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_cluster_large"); + warhead_buster_small = new Item().setUnlocalizedName("warhead_buster_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_buster_small"); + warhead_buster_medium = new Item().setUnlocalizedName("warhead_buster_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_buster_medium"); + warhead_buster_large = new Item().setUnlocalizedName("warhead_buster_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_buster_large"); + warhead_nuclear = new Item().setUnlocalizedName("warhead_nuclear").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_nuclear"); + warhead_mirvlet = new Item().setUnlocalizedName("warhead_mirvlet").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_mirvlet"); + warhead_mirv = new Item().setUnlocalizedName("warhead_mirv").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_mirv"); + warhead_thermo_endo = new Item().setUnlocalizedName("warhead_thermo_endo").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_thermo_endo"); + warhead_thermo_exo = new Item().setUnlocalizedName("warhead_thermo_exo").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":warhead_thermo_exo"); + + fuel_tank_small = new Item().setUnlocalizedName("fuel_tank_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fuel_tank_small"); + fuel_tank_medium = new Item().setUnlocalizedName("fuel_tank_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fuel_tank_medium"); + fuel_tank_large = new Item().setUnlocalizedName("fuel_tank_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fuel_tank_large"); + + thruster_small = new Item().setUnlocalizedName("thruster_small").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thruster_small"); + thruster_medium = new Item().setUnlocalizedName("thruster_medium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thruster_medium"); + thruster_large = new Item().setUnlocalizedName("thruster_large").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thruster_large"); + + chopper_head = new Item().setUnlocalizedName("chopper_head").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_head"); + chopper_gun = new Item().setUnlocalizedName("chopper_gun").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_gun"); + chopper_torso = new Item().setUnlocalizedName("chopper_torso").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_torso"); + chopper_tail = new Item().setUnlocalizedName("chopper_tail").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_tail"); + chopper_wing = new Item().setUnlocalizedName("chopper_wing").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_wing"); + chopper_blades = new Item().setUnlocalizedName("chopper_blades").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":chopper_blades"); + combine_scrap = new Item().setUnlocalizedName("combine_scrap").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":combine_scrap"); + + telepad = new Item().setUnlocalizedName("telepad").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":telepad"); + entanglement_kit = new Item().setUnlocalizedName("entanglement_kit").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":entanglement_kit"); + + circuit_aluminium = new Item().setUnlocalizedName("circuit_aluminium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_aluminium"); + circuit_copper = new Item().setUnlocalizedName("circuit_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_copper"); + circuit_red_copper = new Item().setUnlocalizedName("circuit_red_copper").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_red_copper"); + circuit_gold = new Item().setUnlocalizedName("circuit_gold").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_gold"); + circuit_schrabidium = new ItemCustomLore().setUnlocalizedName("circuit_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":circuit_schrabidium"); + + pellet_rtg = new ItemCustomLore().setUnlocalizedName("pellet_rtg").setCreativeTab(MainRegistry.tabParts).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":pellet_rtg"); + tritium_deuterium_cake = new ItemCustomLore().setUnlocalizedName("tritium_deuterium_cake").setCreativeTab(MainRegistry.tabParts).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":tritium_deuterium_cake"); + + cell_empty = new ItemCell().setUnlocalizedName("cell_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":cell_empty"); + cell_uf6 = new Item().setUnlocalizedName("cell_uf6").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_uf6"); + cell_puf6 = new Item().setUnlocalizedName("cell_puf6").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_puf6"); + cell_antimatter = new ItemDrop().setUnlocalizedName("cell_antimatter").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_antimatter"); + cell_deuterium = new Item().setUnlocalizedName("cell_deuterium").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_deuterium"); + cell_tritium = new ItemRadioactive().setUnlocalizedName("cell_tritium").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_tritium"); + cell_sas3 = new ItemCustomLore().setUnlocalizedName("cell_sas3").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_sas3"); + cell_anti_schrabidium = new ItemDrop().setUnlocalizedName("cell_anti_schrabidium").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.cell_empty).setTextureName(RefStrings.MODID + ":cell_anti_schrabidium"); + singularity = new ItemDrop().setUnlocalizedName("singularity").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.nuclear_waste).setTextureName(RefStrings.MODID + ":singularity"); + singularity_counter_resonant = new ItemDrop().setUnlocalizedName("singularity_counter_resonant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.nuclear_waste).setTextureName(RefStrings.MODID + ":singularity_alt"); + singularity_super_heated = new ItemDrop().setUnlocalizedName("singularity_super_heated").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.nuclear_waste).setTextureName(RefStrings.MODID + ":singularity_5"); + black_hole = new ItemDrop().setUnlocalizedName("black_hole").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.nuclear_waste).setTextureName(RefStrings.MODID + ":singularity_4"); + crystal_xen = new ItemDrop().setUnlocalizedName("crystal_xen").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":crystal_xen"); + inf_water = new Item().setUnlocalizedName("inf_water").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_water"); + inf_coolant = new Item().setUnlocalizedName("inf_coolant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_coolant"); + inf_deuterium = new Item().setUnlocalizedName("inf_deuterium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_deuterium"); + inf_tritium = new Item().setUnlocalizedName("inf_tritium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_tritium"); + inf_sulfur = new Item().setUnlocalizedName("inf_sulfur").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_sulfur"); + inf_diesel = new Item().setUnlocalizedName("inf_diesel").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_diesel"); + inf_antimatter = new Item().setUnlocalizedName("inf_antimatter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_antimatter"); + inf_antischrabidium = new Item().setUnlocalizedName("inf_antischrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":inf_antischrabidium"); + + blades_aluminium = new ItemBlades(1 * 1200).setUnlocalizedName("blades_aluminium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_aluminium"); + blades_gold = new ItemBlades(5 * 1200).setUnlocalizedName("blades_gold").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_gold"); + blades_iron = new ItemBlades(10 * 1200).setUnlocalizedName("blades_iron").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_iron"); + blades_steel = new ItemBlades(20 * 1200).setUnlocalizedName("blades_steel").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_steel"); + blades_titanium = new ItemBlades(35 * 1200).setUnlocalizedName("blades_titanium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_titanium"); + blades_advanced_alloy = new ItemBlades(50 * 1200).setUnlocalizedName("blades_advanced_alloy").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_advanced_alloy"); + blades_combine_steel = new ItemBlades(90 * 1200).setUnlocalizedName("blades_combine_steel").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_combine_steel"); + blades_schrabidium = new ItemBlades(120 * 1200).setUnlocalizedName("blades_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":blades_schrabidium"); + + thermo_element = new Item().setUnlocalizedName("thermo_element").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":thermo_element"); + limiter = new Item().setUnlocalizedName("limiter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":limiter"); + + oil_canola = new Item().setUnlocalizedName("oil_canola").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":oil_canola"); + canister_empty = new ItemCustomLore().setUnlocalizedName("canister_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":canister_empty"); + canister_canola = new ItemCustomLore().setUnlocalizedName("canister_canola").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_canola"); + canister_fuel = new ItemCustomLore().setUnlocalizedName("canister_fuel").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_fuel"); + canister_napalm = new ItemCustomLore().setUnlocalizedName("canister_napalm").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_napalm"); + canister_NITAN = new ItemCustomLore().setUnlocalizedName("canister_NITAN").setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_superfuel"); + + tank_waste = new ItemTankWaste().setUnlocalizedName("tank_waste").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts); + + syringe_empty = new Item().setUnlocalizedName("syringe_empty").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_empty"); + syringe_antidote = new ItemSyringe().setUnlocalizedName("syringe_antidote").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_antidote"); + syringe_poison = new ItemSyringe().setUnlocalizedName("syringe_poison").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_poison"); + syringe_awesome = new ItemSyringe().setUnlocalizedName("syringe_awesome").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_awesome"); + syringe_metal_empty = new Item().setUnlocalizedName("syringe_metal_empty").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_metal_empty"); + syringe_metal_stimpak = new ItemSyringe().setUnlocalizedName("syringe_metal_stimpak").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_metal_stimpak"); + syringe_metal_medx = new ItemSyringe().setUnlocalizedName("syringe_metal_medx").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_metal_medx"); + syringe_metal_psycho = new ItemSyringe().setUnlocalizedName("syringe_metal_psycho").setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":syringe_metal_psycho"); + stealth_boy = new ItemStarterKit().setUnlocalizedName("stealth_boy").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":stealth_boy"); + + can_empty = new Item().setUnlocalizedName("can_empty").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_empty"); + can_smart = new ItemEnergy().setUnlocalizedName("can_smart").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_smart"); + can_creature = new ItemEnergy().setUnlocalizedName("can_creature").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_creature"); + can_redbomb = new ItemEnergy().setUnlocalizedName("can_redbomb").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_redbomb"); + can_mrsugar = new ItemEnergy().setUnlocalizedName("can_mrsugar").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_mrsugar"); + can_overcharge = new ItemEnergy().setUnlocalizedName("can_overcharge").setContainerItem(ModItems.can_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":can_overcharge"); + bottle_empty = new Item().setUnlocalizedName("bottle_empty").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle_empty"); + bottle_nuka = new ItemEnergy().setUnlocalizedName("bottle_nuka").setContainerItem(ModItems.bottle_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle_nuka"); + bottle_cherry = new ItemEnergy().setUnlocalizedName("bottle_cherry").setContainerItem(ModItems.bottle_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle_cherry"); + bottle_quantum = new ItemEnergy().setUnlocalizedName("bottle_quantum").setContainerItem(ModItems.bottle_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle_quantum"); + bottle2_empty = new Item().setUnlocalizedName("bottle2_empty").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle2_empty"); + bottle2_korl = new ItemEnergy().setUnlocalizedName("bottle2_korl").setContainerItem(ModItems.bottle2_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle2_korl"); + bottle2_fritz = new ItemEnergy().setUnlocalizedName("bottle2_fritz").setContainerItem(ModItems.bottle2_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle2_fritz"); + bottle2_korl_special = new ItemEnergy().setUnlocalizedName("bottle2_korl_special").setContainerItem(ModItems.bottle2_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle2_korl"); + bottle2_fritz_special = new ItemEnergy().setUnlocalizedName("bottle2_fritz_special").setContainerItem(ModItems.bottle2_empty).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bottle2_fritz"); + chocolate_milk = new ItemEnergy().setUnlocalizedName("chocolate_milk").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":chocolate_milk"); + + rod_empty = new Item().setUnlocalizedName("rod_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rod_empty"); + rod_uranium = new ItemCustomLore().setUnlocalizedName("rod_uranium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium"); + rod_u235 = new ItemCustomLore().setUnlocalizedName("rod_u235").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium"); + rod_u238 = new ItemCustomLore().setUnlocalizedName("rod_u238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium"); + rod_plutonium = new ItemCustomLore().setUnlocalizedName("rod_plutonium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); + rod_pu238 = new ItemCustomLore().setUnlocalizedName("rod_pu238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); + rod_pu239 = new ItemCustomLore().setUnlocalizedName("rod_pu239").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); + rod_pu240 = new ItemCustomLore().setUnlocalizedName("rod_pu240").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); + rod_neptunium = new ItemCustomLore().setUnlocalizedName("rod_neptunium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_neptunium"); + rod_lead = new Item().setUnlocalizedName("rod_lead").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_lead"); + rod_schrabidium = new ItemCustomLore().setUnlocalizedName("rod_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_schrabidium"); + rod_euphemium = new ItemCustomLore().setUnlocalizedName("rod_astatine").setMaxStackSize(1).setCreativeTab(null).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_euphemium"); + rod_australium = new ItemCustomLore().setUnlocalizedName("rod_australium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_australium"); + rod_weidanium = new ItemCustomLore().setUnlocalizedName("rod_weidanium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_weidanium"); + rod_reiium = new ItemCustomLore().setUnlocalizedName("rod_reiium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_reiium"); + rod_unobtainium = new ItemCustomLore().setUnlocalizedName("rod_unobtainium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_unobtainium"); + rod_daffergon = new ItemCustomLore().setUnlocalizedName("rod_daffergon").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_daffergon"); + rod_verticium = new ItemCustomLore().setUnlocalizedName("rod_verticium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_verticium"); + + rod_dual_empty = new Item().setUnlocalizedName("rod_dual_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rod_dual_empty"); + rod_dual_uranium = new ItemCustomLore().setUnlocalizedName("rod_dual_uranium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium"); + rod_dual_u235 = new ItemCustomLore().setUnlocalizedName("rod_dual_u235").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium"); + rod_dual_u238 = new ItemCustomLore().setUnlocalizedName("rod_dual_u238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium"); + rod_dual_plutonium = new ItemCustomLore().setUnlocalizedName("rod_dual_plutonium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); + rod_dual_pu238 = new ItemCustomLore().setUnlocalizedName("rod_dual_pu238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); + rod_dual_pu239 = new ItemCustomLore().setUnlocalizedName("rod_dual_pu239").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); + rod_dual_pu240 = new ItemCustomLore().setUnlocalizedName("rod_dual_pu240").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); + rod_dual_neptunium = new ItemCustomLore().setUnlocalizedName("rod_dual_neptunium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_neptunium"); + rod_dual_lead = new Item().setUnlocalizedName("rod_dual_lead").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_lead"); + rod_dual_schrabidium = new ItemCustomLore().setUnlocalizedName("rod_dual_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_schrabidium"); + + rod_quad_empty = new Item().setUnlocalizedName("rod_quad_empty").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":rod_quad_empty"); + rod_quad_uranium = new ItemCustomLore().setUnlocalizedName("rod_quad_uranium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium"); + rod_quad_u235 = new ItemCustomLore().setUnlocalizedName("rod_quad_u235").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium"); + rod_quad_u238 = new ItemCustomLore().setUnlocalizedName("rod_quad_u238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium"); + rod_quad_plutonium = new ItemCustomLore().setUnlocalizedName("rod_quad_plutonium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); + rod_quad_pu238 = new ItemCustomLore().setUnlocalizedName("rod_quad_pu238").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); + rod_quad_pu239 = new ItemCustomLore().setUnlocalizedName("rod_quad_pu239").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); + rod_quad_pu240 = new ItemCustomLore().setUnlocalizedName("rod_quad_pu240").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); + rod_quad_neptunium = new ItemCustomLore().setUnlocalizedName("rod_quad_neptunium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_neptunium"); + rod_quad_lead = new Item().setUnlocalizedName("rod_quad_lead").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_lead"); + rod_quad_schrabidium = new ItemCustomLore().setUnlocalizedName("rod_quad_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_schrabidium"); + + rod_uranium_fuel = new ItemFuelRod().setUnlocalizedName("rod_uranium_fuel").setMaxStackSize(1).setMaxDamage(10000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium"); + rod_dual_uranium_fuel = new ItemFuelRod().setUnlocalizedName("rod_dual_uranium_fuel").setMaxStackSize(1).setMaxDamage(20000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium"); + rod_quad_uranium_fuel = new ItemFuelRod().setUnlocalizedName("rod_quad_uranium_fuel").setMaxStackSize(1).setMaxDamage(40000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium"); + rod_plutonium_fuel = new ItemFuelRod().setUnlocalizedName("rod_plutonium_fuel").setMaxStackSize(1).setMaxDamage(25000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium"); + rod_dual_plutonium_fuel = new ItemFuelRod().setUnlocalizedName("rod_dual_plutonium_fuel").setMaxStackSize(1).setMaxDamage(50000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium"); + rod_quad_plutonium_fuel = new ItemFuelRod().setUnlocalizedName("rod_quad_plutonium_fuel").setMaxStackSize(1).setMaxDamage(100000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium"); + rod_mox_fuel = new ItemFuelRod().setUnlocalizedName("rod_mox_fuel").setMaxStackSize(1).setMaxDamage(100000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_mox_fuel"); + rod_dual_mox_fuel = new ItemFuelRod().setUnlocalizedName("rod_dual_mox_fuel").setMaxStackSize(1).setMaxDamage(200000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_mox_fuel"); + rod_quad_mox_fuel = new ItemFuelRod().setUnlocalizedName("rod_quad_mox_fuel").setMaxStackSize(1).setMaxDamage(400000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_mox_fuel"); + rod_schrabidium_fuel = new ItemFuelRod().setUnlocalizedName("rod_schrabidium_fuel").setMaxStackSize(1).setMaxDamage(2500000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_schrabidium_fuel"); + rod_dual_schrabidium_fuel = new ItemFuelRod().setUnlocalizedName("rod_dual_schrabidium_fuel").setMaxStackSize(1).setMaxDamage(5000000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_schrabidium_fuel"); + rod_quad_schrabidium_fuel = new ItemFuelRod().setUnlocalizedName("rod_quad_schrabidium_fuel").setMaxStackSize(1).setMaxDamage(10000000).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_schrabidium_fuel"); + + rod_water = new ItemCustomLore().setUnlocalizedName("rod_water").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_water"); + rod_dual_water = new ItemCustomLore().setUnlocalizedName("rod_dual_water").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_water"); + rod_quad_water = new ItemCustomLore().setUnlocalizedName("rod_quad_water").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_water"); + + rod_coolant = new ItemCustomLore().setUnlocalizedName("rod_coolant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_coolant"); + rod_dual_coolant = new ItemCustomLore().setUnlocalizedName("rod_dual_coolant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_coolant"); + rod_quad_coolant = new ItemCustomLore().setUnlocalizedName("rod_quad_coolant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_coolant"); + + rod_lithium = new ItemCustomLore().setUnlocalizedName("rod_lithium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_lithium"); + rod_dual_lithium = new ItemCustomLore().setUnlocalizedName("rod_dual_lithium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_lithium"); + rod_quad_lithium = new ItemCustomLore().setUnlocalizedName("rod_quad_lithium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_lithium"); + + rod_tritium = new ItemCustomLore().setUnlocalizedName("rod_tritium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_tritium"); + rod_dual_tritium = new ItemCustomLore().setUnlocalizedName("rod_dual_tritium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_tritium"); + rod_quad_tritium = new ItemCustomLore().setUnlocalizedName("rod_quad_tritium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_tritium"); + + trinitite = new ItemCustomLore().setUnlocalizedName("trinitite").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":trinitite_new"); + nuclear_waste = new ItemCustomLore().setUnlocalizedName("nuclear_waste").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":nuclear_waste"); + scrap = new Item().setUnlocalizedName("scrap").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":scrap"); + rod_uranium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_uranium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_uranium_fuel_depleted"); + rod_dual_uranium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_dual_uranium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_uranium_fuel_depleted"); + rod_quad_uranium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_quad_uranium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_uranium_fuel_depleted"); + rod_plutonium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_plutonium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_plutonium_fuel_depleted"); + rod_dual_plutonium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_dual_plutonium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_plutonium_fuel_depleted"); + rod_quad_plutonium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_quad_plutonium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_plutonium_fuel_depleted"); + rod_mox_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_mox_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_mox_fuel_depleted"); + rod_dual_mox_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_dual_mox_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_mox_fuel_depleted"); + rod_quad_mox_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_quad_mox_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_mox_fuel_depleted"); + rod_schrabidium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_schrabidium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_schrabidium_fuel_depleted"); + rod_dual_schrabidium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_dual_schrabidium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_schrabidium_fuel_depleted"); + rod_quad_schrabidium_fuel_depleted = new ItemCustomLore().setUnlocalizedName("rod_quad_schrabidium_fuel_depleted").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_schrabidium_fuel_depleted"); + rod_waste = new ItemCustomLore().setUnlocalizedName("rod_waste").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_empty).setTextureName(RefStrings.MODID + ":rod_waste"); + rod_dual_waste = new ItemCustomLore().setUnlocalizedName("rod_dual_waste").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_dual_empty).setTextureName(RefStrings.MODID + ":rod_dual_waste"); + rod_quad_waste = new ItemCustomLore().setUnlocalizedName("rod_quad_waste").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_waste"); + + pellet_cluster = new ItemCustomLore().setUnlocalizedName("pellet_cluster").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_cluster"); + powder_fire = new ItemCustomLore().setUnlocalizedName("powder_fire").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_fire"); + powder_ice = new ItemCustomLore().setUnlocalizedName("powder_ice").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_ice"); + powder_poison = new ItemCustomLore().setUnlocalizedName("powder_poison").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_poison"); + powder_thermite = new ItemCustomLore().setUnlocalizedName("powder_thermite").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":powder_thermite"); + pellet_gas = new ItemCustomLore().setUnlocalizedName("pellet_gas").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_gas"); + magnetron = new ItemCustomLore().setUnlocalizedName("magnetron").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":magnetron_alt"); + pellet_buckshot = new Item().setUnlocalizedName("pellet_buckshot").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellets_lead"); + + pellet_schrabidium = new WatzFuel(50000, 140000, 0.975F, 200, 1.05F, 1.05F).setUnlocalizedName("pellet_schrabidium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_schrabidium").setMaxStackSize(1); + pellet_hes = new WatzFuel(108000, 65000, 1F, 85, 1, 1.025F).setUnlocalizedName("pellet_hes").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_hes").setMaxStackSize(1); + pellet_mes = new WatzFuel(216000, 23000, 1.025F, 50, 1, 1F).setUnlocalizedName("pellet_mes").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_mes").setMaxStackSize(1); + pellet_les = new WatzFuel(432000, 7000, 1.05F, 15, 1, 0.975F).setUnlocalizedName("pellet_les").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_les").setMaxStackSize(1); + pellet_beryllium = new WatzFuel(864000, 50, 1.05F, 0, 0.95F, 1.025F).setUnlocalizedName("pellet_beryllium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_beryllium").setMaxStackSize(1); + pellet_neptunium = new WatzFuel(216000, 3000, 1.1F, 25, 1.1F, 1.005F).setUnlocalizedName("pellet_neptunium").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_neptunium").setMaxStackSize(1); + pellet_lead = new WatzFuel(1728000, 0, 0.95F, 0, 0.95F, 0.95F).setUnlocalizedName("pellet_lead").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_lead").setMaxStackSize(1); + pellet_advanced = new WatzFuel(216000, 1000, 1.1F, 0, 0.995F, 0.99F).setUnlocalizedName("pellet_advanced").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":pellet_advanced").setMaxStackSize(1); + + designator = new ItemDesingator().setUnlocalizedName("designator").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":designator"); + missile_generic = new Item().setUnlocalizedName("missile_generic").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_generic"); + missile_anti_ballistic = new Item().setUnlocalizedName("missile_anti_ballistic").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_anti_ballistic"); + missile_incendiary = new Item().setUnlocalizedName("missile_incendiary").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_incendiary"); + missile_cluster = new Item().setUnlocalizedName("missile_cluster").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_cluster"); + missile_buster = new Item().setUnlocalizedName("missile_buster").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_buster"); + missile_strong = new Item().setUnlocalizedName("missile_strong").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_strong"); + missile_incendiary_strong = new Item().setUnlocalizedName("missile_incendiary_strong").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_incendiary_strong"); + missile_cluster_strong = new Item().setUnlocalizedName("missile_cluster_strong").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_cluster_strong"); + missile_buster_strong = new Item().setUnlocalizedName("missile_buster_strong").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_buster_strong"); + missile_burst = new Item().setUnlocalizedName("missile_burst").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_burst"); + missile_inferno = new Item().setUnlocalizedName("missile_inferno").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_inferno"); + missile_rain = new Item().setUnlocalizedName("missile_rain").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_rain"); + missile_drill = new Item().setUnlocalizedName("missile_drill").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_drill"); + missile_nuclear = new Item().setUnlocalizedName("missile_nuclear").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_nuclear"); + missile_nuclear_cluster = new Item().setUnlocalizedName("missile_nuclear_cluster").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_nuclear_cluster"); + missile_endo = new Item().setUnlocalizedName("missile_endo").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_endo"); + missile_exo = new Item().setUnlocalizedName("missile_exo").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_exo"); + + gun_rpg = new GunRpg().setUnlocalizedName("gun_rpg").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_rpg_new"); + gun_rpg_ammo = new Item().setUnlocalizedName("gun_rpg_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_rpg_ammo_new"); + gun_revolver_ammo = new Item().setUnlocalizedName("gun_revolver_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_ammo"); + gun_revolver = new GunRevolver(gun_revolver_ammo, 10, 25, false, false).setMaxDamage(500).setUnlocalizedName("gun_revolver").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver"); + gun_revolver_iron_ammo = new Item().setUnlocalizedName("gun_revolver_iron_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_iron_ammo"); + gun_revolver_iron = new GunRevolver(gun_revolver_iron_ammo, 5, 15, false, false).setMaxDamage(100).setUnlocalizedName("gun_revolver_iron").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_iron"); + gun_revolver_gold_ammo = new Item().setUnlocalizedName("gun_revolver_gold_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_gold_ammo"); + gun_revolver_gold = new GunRevolver(gun_revolver_gold_ammo, 20, 30, false, false).setMaxDamage(1000).setUnlocalizedName("gun_revolver_gold").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_gold"); + gun_revolver_lead_ammo = new Item().setUnlocalizedName("gun_revolver_lead_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_lead_ammo"); + gun_revolver_lead = new GunRevolver(gun_revolver_lead_ammo, 5, 15, false, true).setMaxDamage(250).setUnlocalizedName("gun_revolver_lead").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_lead"); + gun_revolver_schrabidium_ammo = new ItemCustomLore().setUnlocalizedName("gun_revolver_schrabidium_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_schrabidium_ammo"); + gun_revolver_schrabidium = new GunRevolver(gun_revolver_schrabidium_ammo, 10000, 100000, true, false).setMaxDamage(100000).setUnlocalizedName("gun_revolver_schrabidium").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_schrabidium"); + gun_revolver_cursed_ammo = new ItemCustomLore().setUnlocalizedName("gun_revolver_cursed_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_cursed_ammo"); + gun_revolver_cursed = new GunRevolver(gun_revolver_cursed_ammo, 25, 40, false, false).setMaxDamage(5000).setUnlocalizedName("gun_revolver_cursed").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_cursed"); + gun_revolver_nightmare_ammo = new ItemCustomLore().setUnlocalizedName("gun_revolver_nightmare_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_nightmare_ammo"); + gun_revolver_nightmare = new GunNightmare().setMaxDamage(6).setUnlocalizedName("gun_revolver_nightmare").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_nightmare"); + gun_revolver_nightmare2_ammo = new ItemCustomLore().setUnlocalizedName("gun_revolver_nightmare2_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_nightmare2_ammo"); + gun_revolver_nightmare2 = new GunNightmare().setMaxDamage(6).setUnlocalizedName("gun_revolver_nightmare2").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_nightmare2"); + gun_fatman_ammo = new Item().setUnlocalizedName("gun_fatman_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_fatman_ammo"); + gun_fatman = new GunFatman().setMaxDamage(2500).setUnlocalizedName("gun_fatman").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_fatman"); + gun_mirv_ammo = new Item().setUnlocalizedName("gun_mirv_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_mirv_ammo"); + gun_mirv = new GunMIRV().setMaxDamage(2500).setUnlocalizedName("gun_mirv").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_mirv"); + gun_bf_ammo = new Item().setUnlocalizedName("gun_bf_ammo").setCreativeTab(null).setTextureName(RefStrings.MODID + ":gun_bf_ammo"); + gun_bf = new GunBaleFlare().setMaxDamage(2500).setUnlocalizedName("gun_bf").setCreativeTab(null).setTextureName(RefStrings.MODID + ":gun_bf"); + gun_mp40_ammo = new Item().setUnlocalizedName("gun_mp40_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_mp40_ammo"); + gun_mp40 = new GunSMG().setUnlocalizedName("gun_mp40").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_mp40"); + gun_uboinik_ammo = new Item().setUnlocalizedName("gun_uboinik_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_uboinik_ammo"); + gun_uboinik = new GunShotgun().setUnlocalizedName("gun_uboinik").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_uboinik"); + gun_xvl1456_ammo = new Item().setUnlocalizedName("gun_xvl1456_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_xvl1456_ammo"); + gun_xvl1456 = new GunXVL1456().setUnlocalizedName("gun_xvl1456").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_xvl1456"); + gun_osipr_ammo = new Item().setUnlocalizedName("gun_osipr_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_osipr_ammo"); + gun_osipr_ammo2 = new Item().setUnlocalizedName("gun_osipr_ammo2").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_osipr_ammo2"); + gun_osipr = new GunOSIPR().setUnlocalizedName("gun_osipr").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_osipr"); + gun_immolator_ammo = new Item().setUnlocalizedName("gun_immolator_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_immolator_ammo"); + gun_immolator = new GunImmolator().setUnlocalizedName("gun_immolator").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_immolator"); + gun_cryolator_ammo = new Item().setUnlocalizedName("gun_cryolator_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_cryolator_ammo"); + gun_cryolator = new GunCryolator().setUnlocalizedName("gun_cryolator").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_cryolator"); + gun_mp_ammo = new ItemCustomLore().setUnlocalizedName("gun_mp_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_pm_ammo"); + gun_mp = new GunMP().setUnlocalizedName("gun_mp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_pm"); + gun_zomg = new GunZOMG().setUnlocalizedName("gun_zomg").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_zomg"); + gun_revolver_inverted = new GunSuicide().setUnlocalizedName("gun_revolver_inverted").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_revolver_inverted"); + gun_emp_ammo = new Item().setUnlocalizedName("gun_emp_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_emp_ammo"); + gun_emp = new GunEMPRay().setUnlocalizedName("gun_emp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_emp"); + gun_jack_ammo = new Item().setUnlocalizedName("gun_jack_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_jack_ammo"); + gun_jack = new GunJack().setUnlocalizedName("gun_jack").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_jack"); + //gun_spark_ammo = new Item().setUnlocalizedName("gun_spark_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_spark_ammo"); + //gun_spark = new GunJack().setUnlocalizedName("gun_spark").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_spark"); + //gun_hp_ammo = new Item().setUnlocalizedName("gun_hp_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_hp_ammo"); + //gun_hp = new GunJack().setUnlocalizedName("gun_hp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_hp"); + gun_euthanasia_ammo = new Item().setUnlocalizedName("gun_euthanasia_ammo").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_euthanasia_ammo"); + gun_euthanasia = new GunEuthanasia().setUnlocalizedName("gun_euthanasia").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_euthanasia"); + gun_super_shotgun = new ItemCustomLore().setUnlocalizedName("gun_super_shotgun").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_super_shotgun"); + gun_moist_nugget = new ItemNugget(3, false).setUnlocalizedName("gun_moist_nugget").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gun_moist_nugget"); + + grenade_generic = new ItemGrenade().setUnlocalizedName("grenade_generic").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_generic"); + grenade_strong = new ItemGrenade().setUnlocalizedName("grenade_strong").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_strong"); + grenade_frag = new ItemGrenade().setUnlocalizedName("grenade_frag").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_frag_alt"); + grenade_fire = new ItemGrenade().setUnlocalizedName("grenade_fire").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_fire_alt"); + grenade_shrapnel = new ItemGrenade().setUnlocalizedName("grenade_shrapnel").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_shrapnel"); + grenade_cluster = new ItemGrenade().setUnlocalizedName("grenade_cluster").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_cluster_alt"); + grenade_flare = new ItemGrenade().setUnlocalizedName("grenade_flare").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_flare_alt"); + grenade_electric = new ItemGrenade().setUnlocalizedName("grenade_electric").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_electric_alt"); + grenade_poison = new ItemGrenade().setUnlocalizedName("grenade_poison").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_poison_alt"); + grenade_gas = new ItemGrenade().setUnlocalizedName("grenade_gas").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_gas_alt"); + grenade_pulse = new ItemGrenade().setUnlocalizedName("grenade_pulse").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_pulse"); + grenade_plasma = new ItemGrenade().setUnlocalizedName("grenade_plasma").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_plasma_alt"); + grenade_tau = new ItemGrenade().setUnlocalizedName("grenade_tau").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_tau_alt"); + grenade_schrabidium = new ItemGrenade().setUnlocalizedName("grenade_schrabidium").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_schrabidium_alt"); + grenade_lemon = new ItemGrenade().setUnlocalizedName("grenade_lemon").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_lemon"); + grenade_mk2 = new ItemGrenade().setUnlocalizedName("grenade_mk2").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_mk2_alt"); + grenade_aschrab = new ItemGrenade().setUnlocalizedName("grenade_aschrab").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_aschrab"); + grenade_nuke = new ItemGrenade().setUnlocalizedName("grenade_nuke").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_nuke_alt"); + grenade_nuclear = new ItemGrenade().setUnlocalizedName("grenade_nuclear").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_nuclear"); + grenade_zomg = new ItemGrenade().setUnlocalizedName("grenade_zomg").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_zomg"); + ullapool_caber = new WeaponSpecial(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("ullapool_caber").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":ullapool_caber"); + + bomb_waffle = new ItemWaffle(20, false).setUnlocalizedName("bomb_waffle").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":bomb_waffle"); + schnitzel_vegan = new ItemSchnitzelVegan(0, true).setUnlocalizedName("schnitzel_vegan").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":schnitzel_vegan"); + cotton_candy = new ItemCottonCandy(5, false).setUnlocalizedName("cotton_candy").setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":cotton_candy"); + apple_schrabidium = new ItemAppleSchrabidium(20, 100, false).setUnlocalizedName("apple_schrabidium").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":apple_schrabidium"); + tem_flakes = new ItemTemFlakes(0, 0, false).setUnlocalizedName("tem_flakes").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":tem_flakes"); + glowing_stew = new ItemSoup(6).setUnlocalizedName("glowing_stew").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":glowing_stew"); + lemon = new ItemLemon(3, 5, false).setUnlocalizedName("lemon").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":lemon"); + + flame_pony = new ItemCustomLore().setUnlocalizedName("flame_pony").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":flame_pony"); + flame_conspiracy = new ItemCustomLore().setUnlocalizedName("flame_conspiracy").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":flame_conspiracy"); + flame_politics = new ItemCustomLore().setUnlocalizedName("flame_politics").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":flame_politics"); + flame_opinion = new ItemCustomLore().setUnlocalizedName("flame_opinion").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":flame_opinion"); + + gadget_explosive = new Item().setUnlocalizedName("gadget_explosive").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_explosive"); + gadget_explosive8 = new ItemGadget().setUnlocalizedName("gadget_explosive8").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_explosive8"); + gadget_wireing = new ItemGadget().setUnlocalizedName("gadget_wireing").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_wireing"); + gadget_core = new ItemGadget().setUnlocalizedName("gadget_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_core"); + + boy_igniter = new ItemBoy().setUnlocalizedName("boy_igniter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_igniter"); + boy_propellant = new ItemBoy().setUnlocalizedName("boy_propellant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_propellant"); + boy_bullet = new ItemBoy().setUnlocalizedName("boy_bullet").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_bullet"); + boy_target = new ItemBoy().setUnlocalizedName("boy_target").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_target"); + boy_shielding = new ItemBoy().setUnlocalizedName("boy_shielding").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_shielding"); + + man_explosive = new Item().setUnlocalizedName("man_explosive").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_explosive"); + man_explosive8 = new ItemManMike().setUnlocalizedName("man_explosive8").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_explosive8"); + man_igniter = new ItemMan().setUnlocalizedName("man_igniter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_igniter"); + man_core = new ItemManMike().setUnlocalizedName("man_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_core"); + + mike_core = new ItemMike().setUnlocalizedName("mike_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":mike_core"); + mike_deut = new ItemMike().setUnlocalizedName("mike_deut").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setContainerItem(ModItems.tank_steel).setTextureName(RefStrings.MODID + ":mike_deut"); + mike_cooling_unit = new ItemMike().setUnlocalizedName("mike_cooling_unit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":mike_cooling_unit"); + + tsar_core = new ItemTsar().setUnlocalizedName("tsar_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":tsar_core"); + + fleija_igniter = new ItemFleija().setUnlocalizedName("fleija_igniter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":fleija_igniter"); + fleija_propellant = new ItemFleija().setUnlocalizedName("fleija_propellant").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":fleija_propellant"); + fleija_core = new ItemFleija().setUnlocalizedName("fleija_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":fleija_core"); + + battery_generic = new ItemBattery(50).setUnlocalizedName("battery_generic").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":battery_generic"); + battery_advanced = new ItemBattery(200).setUnlocalizedName("battery_advanced").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":battery_advanced"); + battery_schrabidium = new ItemBattery(10000).setUnlocalizedName("battery_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":battery_schrabidium"); + battery_creative = new Item().setUnlocalizedName("battery_creative").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":battery_creative"); + + fusion_core = new ItemBattery(5000).setUnlocalizedName("fusion_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fusion_core"); + energy_core = new ItemBattery(5000).setUnlocalizedName("energy_core").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":energy_core"); + fuse = new ItemCustomLore().setUnlocalizedName("fuse").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":fuse"); + redcoil_capacitor = new ItemCapacitor(10).setUnlocalizedName("redcoil_capacitor").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":redcoil_capacitor"); + titanium_filter = new ItemCapacitor(72000).setUnlocalizedName("titanium_filter").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":titanium_filter"); + screwdriver = new ItemCustomLore().setUnlocalizedName("screwdriver").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":screwdriver"); + overfuse = new ItemCustomLore().setUnlocalizedName("overfuse").setMaxStackSize(1).setFull3D().setTextureName(RefStrings.MODID + ":overfuse"); + + factory_core_titanium = new ItemBattery(70400).setUnlocalizedName("factory_core_titanium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":factory_core_titanium"); + factory_core_advanced = new ItemBattery(41600).setUnlocalizedName("factory_core_advanced").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":factory_core_advanced"); + + wand = new ItemWand().setUnlocalizedName("wand_k").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":wand"); + wand_s = new ItemWandS().setUnlocalizedName("wand_s").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":wand_s"); + wand_d = new ItemWandD().setUnlocalizedName("wand_d").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":wand_d"); + + nuke_starter_kit = new ItemStarterKit().setUnlocalizedName("nuke_starter_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_starter_kit"); + nuke_advanced_kit = new ItemStarterKit().setUnlocalizedName("nuke_advanced_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_advanced_kit"); + nuke_commercially_kit = new ItemStarterKit().setUnlocalizedName("nuke_commercially_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_commercially_kit"); + nuke_electric_kit = new ItemStarterKit().setUnlocalizedName("nuke_electric_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_electric_kit"); + gadget_kit = new ItemStarterKit().setUnlocalizedName("gadget_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":gadget_kit"); + boy_kit = new ItemStarterKit().setUnlocalizedName("boy_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":boy_kit"); + man_kit = new ItemStarterKit().setUnlocalizedName("man_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":man_kit"); + mike_kit = new ItemStarterKit().setUnlocalizedName("mike_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":mike_kit"); + tsar_kit = new ItemStarterKit().setUnlocalizedName("tsar_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":tsar_kit"); + multi_kit = new ItemStarterKit().setUnlocalizedName("multi_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":multi_kit"); + grenade_kit = new ItemStarterKit().setUnlocalizedName("grenade_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":grenade_kit"); + fleija_kit = new ItemStarterKit().setUnlocalizedName("fleija_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":fleija_kit"); + prototype_kit = new ItemStarterKit().setUnlocalizedName("prototype_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":prototype_kit"); + missile_kit = new ItemStarterKit().setUnlocalizedName("missile_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":missile_kit"); + t45_kit = new ItemStarterKit().setUnlocalizedName("t45_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":t45_kit"); + euphemium_kit = new ItemStarterKit().setUnlocalizedName("euphemium_kit").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":code"); + + clip_revolver_iron = new ItemClip().setUnlocalizedName("clip_revolver_iron").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_iron"); + clip_revolver = new ItemClip().setUnlocalizedName("clip_revolver").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver"); + clip_revolver_gold = new ItemClip().setUnlocalizedName("clip_revolver_gold").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_gold"); + clip_revolver_lead = new ItemClip().setUnlocalizedName("clip_revolver_lead").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_lead"); + clip_revolver_schrabidium = new ItemClip().setUnlocalizedName("clip_revolver_schrabidium").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_schrabidium"); + clip_revolver_cursed = new ItemClip().setUnlocalizedName("clip_revolver_cursed").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_cursed"); + clip_revolver_nightmare = new ItemClip().setUnlocalizedName("clip_revolver_nightmare").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_nightmare"); + clip_revolver_nightmare2 = new ItemClip().setUnlocalizedName("clip_revolver_nightmare2").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_revolver_nightmare2"); + clip_rpg = new ItemClip().setUnlocalizedName("clip_rpg").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_rpg"); + clip_fatman = new ItemClip().setUnlocalizedName("clip_fatman").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_fatman"); + clip_mirv = new ItemClip().setUnlocalizedName("clip_mirv").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_mirv"); + clip_bf = new ItemClip().setUnlocalizedName("clip_bf").setCreativeTab(null).setTextureName(RefStrings.MODID + ":clip_bf"); + clip_mp40 = new ItemClip().setUnlocalizedName("clip_mp40").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_mp40"); + clip_uboinik = new ItemClip().setUnlocalizedName("clip_uboinik").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_uboinik"); + clip_osipr = new ItemClip().setUnlocalizedName("clip_osipr").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_osipr"); + clip_immolator = new ItemClip().setUnlocalizedName("clip_immolator").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_immolator"); + clip_cryolator = new ItemClip().setUnlocalizedName("clip_cryolator").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_cryolator"); + clip_mp = new ItemClip().setUnlocalizedName("clip_mp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_mp"); + clip_xvl1456 = new ItemClip().setUnlocalizedName("clip_xvl1456").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_xvl1456"); + clip_emp = new ItemClip().setUnlocalizedName("clip_emp").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":clip_emp"); + + ingot_euphemium = new ItemAntiCheat().setUnlocalizedName("ingot_astatine").setTextureName(RefStrings.MODID + ":ingot_euphemium"); + nugget_euphemium = new ItemAntiCheat().setUnlocalizedName("nugget_astatine").setTextureName(RefStrings.MODID + ":nugget_euphemium"); + rod_quad_euphemium = new ItemCustomLore().setUnlocalizedName("rod_quad_astatine").setMaxStackSize(1).setContainerItem(ModItems.rod_quad_empty).setTextureName(RefStrings.MODID + ":rod_quad_euphemium"); + watch = new ItemCustomLore().setUnlocalizedName("watch").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":watch"); + apple_euphemium = new ItemAppleEuphemium(20, 100, false).setUnlocalizedName("apple_astatine").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":apple_euphemium"); + + igniter = new ItemCustomLore().setUnlocalizedName("igniter").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":trigger"); + detonator = new ItemDetonator().setUnlocalizedName("detonator").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":detonator"); + crate_caller = new ItemCrateCaller().setUnlocalizedName("crate_caller").setMaxStackSize(1).setFull3D().setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":crate_caller"); + remote = new ItemRamManipulator().setUnlocalizedName("remote").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":remote"); + chopper = new ItemChopper().setUnlocalizedName("chopper").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":chopper"); + linker = new ItemTeleLink().setUnlocalizedName("linker").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":linker"); + + euphemium_helmet = new ArmorEuphemium(MainRegistry.enumArmorMaterialEuphemium, 6, 0).setUnlocalizedName("astatine_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":euphemium_helmet"); + euphemium_plate = new ArmorEuphemium(MainRegistry.enumArmorMaterialEuphemium, 6, 1).setUnlocalizedName("astatine_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":euphemium_plate"); + euphemium_legs = new ArmorEuphemium(MainRegistry.enumArmorMaterialEuphemium, 6, 2).setUnlocalizedName("astatine_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":euphemium_legs"); + euphemium_boots = new ArmorEuphemium(MainRegistry.enumArmorMaterialEuphemium, 6, 3).setUnlocalizedName("astatine_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":euphemium_boots"); + + goggles = new ArmorModel(ArmorMaterial.IRON, 7, 0).setUnlocalizedName("goggles").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":goggles"); + gas_mask = new ArmorModel(ArmorMaterial.IRON, 7, 0).setUnlocalizedName("gas_mask").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":gas_mask"); + oxy_mask = new ArmorModel(ArmorMaterial.IRON, 7, 0).setUnlocalizedName("oxy_mask").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":oxy_mask"); + + t45_helmet = new ArmorT45(MainRegistry.enumArmorMaterialT45, 2, 0).setUnlocalizedName("t45_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":t45_helmet"); + t45_plate = new ArmorT45(MainRegistry.enumArmorMaterialT45, 2, 1).setUnlocalizedName("t45_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":t45_plate"); + t45_legs = new ArmorT45(MainRegistry.enumArmorMaterialT45, 2, 2).setUnlocalizedName("t45_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":t45_legs"); + t45_boots = new ArmorT45(MainRegistry.enumArmorMaterialT45, 2, 3).setUnlocalizedName("t45_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":t45_boots"); + + chainsaw = new ModAxe(MainRegistry.enumToolMaterialChainsaw).setUnlocalizedName("chainsaw").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":chainsaw"); + + schrabidium_helmet = new ArmorSchrabidium(MainRegistry.enumArmorMaterialSchrabidium, 7, 0).setUnlocalizedName("schrabidium_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_helmet"); + schrabidium_plate = new ArmorSchrabidium(MainRegistry.enumArmorMaterialSchrabidium, 7, 1).setUnlocalizedName("schrabidium_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_plate"); + schrabidium_legs = new ArmorSchrabidium(MainRegistry.enumArmorMaterialSchrabidium, 7, 2).setUnlocalizedName("schrabidium_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_legs"); + schrabidium_boots = new ArmorSchrabidium(MainRegistry.enumArmorMaterialSchrabidium, 7, 3).setUnlocalizedName("schrabidium_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_boots"); + titanium_helmet = new ModArmor(MainRegistry.enumArmorMaterialTitanium, 7, 0).setUnlocalizedName("titanium_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_helmet"); + titanium_plate = new ModArmor(MainRegistry.enumArmorMaterialTitanium, 7, 1).setUnlocalizedName("titanium_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_plate"); + titanium_legs = new ModArmor(MainRegistry.enumArmorMaterialTitanium, 7, 2).setUnlocalizedName("titanium_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_legs"); + titanium_boots = new ModArmor(MainRegistry.enumArmorMaterialTitanium, 7, 3).setUnlocalizedName("titanium_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_boots"); + steel_helmet = new ModArmor(MainRegistry.enumArmorMaterialSteel, 7, 0).setUnlocalizedName("steel_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_helmet"); + steel_plate = new ModArmor(MainRegistry.enumArmorMaterialSteel, 7, 1).setUnlocalizedName("steel_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_plate"); + steel_legs = new ModArmor(MainRegistry.enumArmorMaterialSteel, 7, 2).setUnlocalizedName("steel_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_legs"); + steel_boots = new ModArmor(MainRegistry.enumArmorMaterialSteel, 7, 3).setUnlocalizedName("steel_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_boots"); + alloy_helmet = new ModArmor(MainRegistry.enumArmorMaterialAlloy, 7, 0).setUnlocalizedName("alloy_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_helmet"); + alloy_plate = new ModArmor(MainRegistry.enumArmorMaterialAlloy, 7, 1).setUnlocalizedName("alloy_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_plate"); + alloy_legs = new ModArmor(MainRegistry.enumArmorMaterialAlloy, 7, 2).setUnlocalizedName("alloy_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_legs"); + alloy_boots = new ModArmor(MainRegistry.enumArmorMaterialAlloy, 7, 3).setUnlocalizedName("alloy_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_boots"); + cmb_helmet = new ModArmor(MainRegistry.enumArmorMaterialCmb, 7, 0).setUnlocalizedName("cmb_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_helmet"); + cmb_plate = new ModArmor(MainRegistry.enumArmorMaterialCmb, 7, 1).setUnlocalizedName("cmb_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_plate"); + cmb_legs = new ModArmor(MainRegistry.enumArmorMaterialCmb, 7, 2).setUnlocalizedName("cmb_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_legs"); + cmb_boots = new ModArmor(MainRegistry.enumArmorMaterialCmb, 7, 3).setUnlocalizedName("cmb_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_boots"); + paa_plate = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 1).setUnlocalizedName("paa_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_plate"); + paa_legs = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 2).setUnlocalizedName("paa_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_legs"); + paa_boots = new ModArmor(MainRegistry.enumArmorMaterialPaa, 7, 3).setUnlocalizedName("paa_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":paa_boots"); + + schrabidium_sword = new SwordSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_sword"); + schrabidium_pickaxe = new PickaxeSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_pickaxe"); + schrabidium_axe = new AxeSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_axe"); + schrabidium_shovel = new SpadeSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_shovel"); + schrabidium_hoe = new HoeSchrabidium(MainRegistry.enumToolMaterialSchrabidium).setUnlocalizedName("schrabidium_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_hoe"); + titanium_sword = new ModSword(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_sword"); + titanium_pickaxe = new ModPickaxe(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_pickaxe"); + titanium_axe = new ModAxe(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_axe"); + titanium_shovel = new ModSpade(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_shovel"); + titanium_hoe = new ModHoe(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("titanium_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":titanium_hoe"); + steel_sword = new ModSword(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_sword"); + steel_pickaxe = new ModPickaxe(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_pickaxe"); + steel_axe = new ModAxe(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_axe"); + steel_shovel = new ModSpade(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_shovel"); + steel_hoe = new ModHoe(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("steel_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":steel_hoe"); + alloy_sword = new ModSword(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_sword"); + alloy_pickaxe = new ModPickaxe(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_pickaxe"); + alloy_axe = new ModAxe(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_axe"); + alloy_shovel = new ModSpade(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_shovel"); + alloy_hoe = new ModHoe(MainRegistry.enumToolMaterialAlloy).setUnlocalizedName("alloy_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":alloy_hoe"); + cmb_sword = new ModSword(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_sword").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_sword"); + cmb_pickaxe = new ModPickaxe(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_pickaxe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_pickaxe"); + cmb_axe = new ModAxe(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_axe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_axe"); + cmb_shovel = new ModSpade(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_shovel").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_shovel"); + cmb_hoe = new ModHoe(MainRegistry.enumToolMaterialCmb).setUnlocalizedName("cmb_hoe").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cmb_hoe"); + + mask_of_infamy = new MaskOfInfamy(ArmorMaterial.IRON, 8, 0).setUnlocalizedName("mask_of_infamy").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":mask_of_infamy"); + + hazmat_helmet = new ArmorHazmat(MainRegistry.enumArmorMaterialHazmat, 9, 0).setUnlocalizedName("hazmat_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_helmet"); + hazmat_plate = new ArmorHazmat(MainRegistry.enumArmorMaterialHazmat, 9, 1).setUnlocalizedName("hazmat_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_plate"); + hazmat_legs = new ArmorHazmat(MainRegistry.enumArmorMaterialHazmat, 9, 2).setUnlocalizedName("hazmat_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_legs"); + hazmat_boots = new ArmorHazmat(MainRegistry.enumArmorMaterialHazmat, 9, 3).setUnlocalizedName("hazmat_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_boots"); + hazmat_paa_helmet = new ArmorHazmat(MainRegistry.enumArmorMaterialPaa, 9, 0).setUnlocalizedName("hazmat_paa_helmet").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_helmet"); + hazmat_paa_plate = new ArmorHazmat(MainRegistry.enumArmorMaterialPaa, 9, 1).setUnlocalizedName("hazmat_paa_plate").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_plate"); + hazmat_paa_legs = new ArmorHazmat(MainRegistry.enumArmorMaterialPaa, 9, 2).setUnlocalizedName("hazmat_paa_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_legs"); + hazmat_paa_boots = new ArmorHazmat(MainRegistry.enumArmorMaterialPaa, 9, 3).setUnlocalizedName("hazmat_paa_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_boots"); + + australium_iii = new ArmorAustralium(MainRegistry.enumArmorMaterialAusIII, 9, 1).setUnlocalizedName("australium_iii").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":australium_iii"); + australium_iv = new ArmorAustralium(MainRegistry.enumArmorMaterialAusIV, 9, 1).setUnlocalizedName("australium_iv").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":australium_iv"); + australium_v = new ArmorAustralium(MainRegistry.enumArmorMaterialAusV, 9, 1).setUnlocalizedName("australium_v").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":australium_v"); + + cape_test = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_test").setCreativeTab(MainRegistry.tabTest).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_test"); + cape_radiation = new ArmorModel(ArmorMaterial.CHAIN, 9, 1).setUnlocalizedName("cape_radiation").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_radiation"); + cape_gasmask = new ArmorModel(ArmorMaterial.CHAIN, 9, 1).setUnlocalizedName("cape_gasmask").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_gasmask"); + cape_schrabidium = new ArmorModel(MainRegistry.enumArmorMaterialSchrabidium, 9, 1).setUnlocalizedName("cape_schrabidium").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_schrabidium"); + cape_hbm = new ArmorModel(MainRegistry.enumArmorMaterialEuphemium, 9, 1).setUnlocalizedName("cape_hbm").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown"); + cape_dafnik = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_dafnik").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown"); + cape_lpkukin = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_lpkukin").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown"); + cape_vertice = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_vertice").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown"); + + schrabidium_hammer = new WeaponSpecial(MainRegistry.enumToolMaterialHammer).setUnlocalizedName("schrabidium_hammer").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_hammer"); + euphemium_stopper = new ItemSyringe().setUnlocalizedName("euphemium_stopper").setMaxStackSize(1).setFull3D().setTextureName(RefStrings.MODID + ":euphemium_stopper"); + matchstick = new ItemMatch().setUnlocalizedName("matchstick").setCreativeTab(CreativeTabs.tabTools).setFull3D().setTextureName(RefStrings.MODID + ":matchstick"); + crowbar = new ModSword(MainRegistry.enumToolMaterialSteel).setUnlocalizedName("crowbar").setFull3D().setTextureName(RefStrings.MODID + ":crowbar"); + + multitool_hit = new ItemMultitoolPassive().setUnlocalizedName("multitool_hit").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_fist"); + multitool_dig = new ItemMultitoolTool(4.0F, MainRegistry.enumToolMaterialMultitool, ItemMultitoolTool.getAllBlocks()).setFull3D().setUnlocalizedName("multitool_dig").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":multitool_claw"); + multitool_silk = new ItemMultitoolTool(4.0F, MainRegistry.enumToolMaterialMultitool, ItemMultitoolTool.getAllBlocks()).setFull3D().setUnlocalizedName("multitool_silk").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_claw"); + multitool_ext = new ItemMultitoolPassive().setUnlocalizedName("multitool_ext").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_open"); + multitool_miner = new ItemMultitoolPassive().setUnlocalizedName("multitool_miner").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_pointer"); + multitool_beam = new ItemMultitoolPassive().setUnlocalizedName("multitool_beam").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_pointer"); + multitool_sky= new ItemMultitoolPassive().setUnlocalizedName("multitool_sky").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_open"); + multitool_mega = new ItemMultitoolPassive().setUnlocalizedName("multitool_mega").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_fist"); + multitool_joule = new ItemMultitoolPassive().setUnlocalizedName("multitool_joule").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_fist"); + multitool_decon = new ItemMultitoolPassive().setUnlocalizedName("multitool_decon").setCreativeTab(null).setTextureName(RefStrings.MODID + ":multitool_fist"); + + saw = new ModSword(MainRegistry.enumToolMaterialSaw).setUnlocalizedName("weapon_saw").setFull3D().setTextureName(RefStrings.MODID + ":saw"); + bat = new ModSword(MainRegistry.enumToolMaterialBat).setUnlocalizedName("weapon_bat").setFull3D().setTextureName(RefStrings.MODID + ":bat"); + bat_nail = new ModSword(MainRegistry.enumToolMaterialBatNail).setUnlocalizedName("weapon_bat_nail").setFull3D().setTextureName(RefStrings.MODID + ":bat_nail"); + golf_club = new ModSword(MainRegistry.enumToolMaterialGolfClub).setUnlocalizedName("weapon_golf_club").setFull3D().setTextureName(RefStrings.MODID + ":golf_club"); + pipe_rusty = new ModSword(MainRegistry.enumToolMaterialPipeRusty).setUnlocalizedName("weapon_pipe_rusty").setFull3D().setTextureName(RefStrings.MODID + ":pipe_rusty"); + pipe_lead = new ModSword(MainRegistry.enumToolMaterialPipeLead).setUnlocalizedName("weapon_pipe_lead").setFull3D().setTextureName(RefStrings.MODID + ":pipe_lead"); + reer_graar = new ModSword(MainRegistry.enumToolMaterialTitanium).setUnlocalizedName("reer_graar").setFull3D().setTextureName(RefStrings.MODID + ":reer_graar_hd"); + + crystal_horn = new ItemCustomLore().setUnlocalizedName("crystal_horn").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":crystal_horn"); + crystal_charred = new ItemCustomLore().setUnlocalizedName("crystal_charred").setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":crystal_charred"); + + bucket_mud = new ItemModBucket(ModBlocks.mud_block).setUnlocalizedName("bucket_mud").setContainerItem(Items.bucket).setCreativeTab(MainRegistry.tabBlock).setTextureName(RefStrings.MODID + ":bucket_mud"); + bucket_acid = new ItemModBucket(ModBlocks.acid_block).setUnlocalizedName("bucket_acid").setContainerItem(Items.bucket).setCreativeTab(MainRegistry.tabBlock).setTextureName(RefStrings.MODID + ":bucket_acid"); + bucket_toxic = new ItemModBucket(ModBlocks.toxic_block).setUnlocalizedName("bucket_toxic").setContainerItem(Items.bucket).setCreativeTab(MainRegistry.tabBlock).setTextureName(RefStrings.MODID + ":bucket_toxic"); + + record_lc = new ItemModRecord("lc").setUnlocalizedName("record_lc").setCreativeTab(CreativeTabs.tabMisc).setTextureName(RefStrings.MODID + ":record_lc"); + record_ss = new ItemModRecord("ss").setUnlocalizedName("record_ss").setCreativeTab(CreativeTabs.tabMisc).setTextureName(RefStrings.MODID + ":record_ss"); + record_vc = new ItemModRecord("vc").setUnlocalizedName("record_vc").setCreativeTab(CreativeTabs.tabMisc).setTextureName(RefStrings.MODID + ":record_vc"); + + polaroid = new ItemPolaroid().setUnlocalizedName("polaroid").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":polaroid_" + MainRegistry.polaroidID); + letter = new ItemStarterKit().setUnlocalizedName("letter").setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":letter"); + + smoke1 = new Item().setUnlocalizedName("smoke1").setTextureName(RefStrings.MODID + ":smoke1"); + smoke2 = new Item().setUnlocalizedName("smoke2").setTextureName(RefStrings.MODID + ":smoke2"); + smoke3 = new Item().setUnlocalizedName("smoke3").setTextureName(RefStrings.MODID + ":smoke3"); + smoke4 = new Item().setUnlocalizedName("smoke4").setTextureName(RefStrings.MODID + ":smoke4"); + smoke5 = new Item().setUnlocalizedName("smoke5").setTextureName(RefStrings.MODID + ":smoke5"); + smoke6 = new Item().setUnlocalizedName("smoke6").setTextureName(RefStrings.MODID + ":smoke6"); + smoke7 = new Item().setUnlocalizedName("smoke7").setTextureName(RefStrings.MODID + ":smoke7"); + smoke8 = new Item().setUnlocalizedName("smoke8").setTextureName(RefStrings.MODID + ":smoke8"); + b_smoke1 = new Item().setUnlocalizedName("b_smoke1").setTextureName(RefStrings.MODID + ":b_smoke1"); + b_smoke2 = new Item().setUnlocalizedName("b_smoke2").setTextureName(RefStrings.MODID + ":b_smoke2"); + b_smoke3 = new Item().setUnlocalizedName("b_smoke3").setTextureName(RefStrings.MODID + ":b_smoke3"); + b_smoke4 = new Item().setUnlocalizedName("b_smoke4").setTextureName(RefStrings.MODID + ":b_smoke4"); + b_smoke5 = new Item().setUnlocalizedName("b_smoke5").setTextureName(RefStrings.MODID + ":b_smoke5"); + b_smoke6 = new Item().setUnlocalizedName("b_smoke6").setTextureName(RefStrings.MODID + ":b_smoke6"); + b_smoke7 = new Item().setUnlocalizedName("b_smoke7").setTextureName(RefStrings.MODID + ":b_smoke7"); + b_smoke8 = new Item().setUnlocalizedName("b_smoke8").setTextureName(RefStrings.MODID + ":b_smoke8"); + d_smoke1 = new Item().setUnlocalizedName("d_smoke1").setTextureName(RefStrings.MODID + ":d_smoke1"); + d_smoke2 = new Item().setUnlocalizedName("d_smoke2").setTextureName(RefStrings.MODID + ":d_smoke2"); + d_smoke3 = new Item().setUnlocalizedName("d_smoke3").setTextureName(RefStrings.MODID + ":d_smoke3"); + d_smoke4 = new Item().setUnlocalizedName("d_smoke4").setTextureName(RefStrings.MODID + ":d_smoke4"); + d_smoke5 = new Item().setUnlocalizedName("d_smoke5").setTextureName(RefStrings.MODID + ":d_smoke5"); + d_smoke6 = new Item().setUnlocalizedName("d_smoke6").setTextureName(RefStrings.MODID + ":d_smoke6"); + d_smoke7 = new Item().setUnlocalizedName("d_smoke7").setTextureName(RefStrings.MODID + ":d_smoke7"); + d_smoke8 = new Item().setUnlocalizedName("d_smoke8").setTextureName(RefStrings.MODID + ":d_smoke8"); + energy_ball = new Item().setUnlocalizedName("energy_ball").setTextureName(RefStrings.MODID + ":energy_ball"); + discharge = new Item().setUnlocalizedName("discharge").setTextureName(RefStrings.MODID + ":discharge"); + empblast = new Item().setUnlocalizedName("empblast").setTextureName(RefStrings.MODID + ":empblast"); + flame_1 = new Item().setUnlocalizedName("flame_1").setTextureName(RefStrings.MODID + ":flame_1"); + flame_2 = new Item().setUnlocalizedName("flame_2").setTextureName(RefStrings.MODID + ":flame_2"); + flame_3 = new Item().setUnlocalizedName("flame_3").setTextureName(RefStrings.MODID + ":flame_3"); + flame_4 = new Item().setUnlocalizedName("flame_4").setTextureName(RefStrings.MODID + ":flame_4"); + flame_5 = new Item().setUnlocalizedName("flame_5").setTextureName(RefStrings.MODID + ":flame_5"); + flame_6 = new Item().setUnlocalizedName("flame_6").setTextureName(RefStrings.MODID + ":flame_6"); + flame_7 = new Item().setUnlocalizedName("flame_7").setTextureName(RefStrings.MODID + ":flame_7"); + flame_8 = new Item().setUnlocalizedName("flame_8").setTextureName(RefStrings.MODID + ":flame_8"); + flame_9 = new Item().setUnlocalizedName("flame_9").setTextureName(RefStrings.MODID + ":flame_9"); + flame_10 = new Item().setUnlocalizedName("flame_10").setTextureName(RefStrings.MODID + ":flame_10"); + ln2_1 = new Item().setUnlocalizedName("ln2_1").setTextureName(RefStrings.MODID + ":ln2_1"); + ln2_2 = new Item().setUnlocalizedName("ln2_2").setTextureName(RefStrings.MODID + ":ln2_2"); + ln2_3 = new Item().setUnlocalizedName("ln2_3").setTextureName(RefStrings.MODID + ":ln2_3"); + ln2_4 = new Item().setUnlocalizedName("ln2_4").setTextureName(RefStrings.MODID + ":ln2_4"); + ln2_5 = new Item().setUnlocalizedName("ln2_5").setTextureName(RefStrings.MODID + ":ln2_5"); + ln2_6 = new Item().setUnlocalizedName("ln2_6").setTextureName(RefStrings.MODID + ":ln2_6"); + ln2_7 = new Item().setUnlocalizedName("ln2_7").setTextureName(RefStrings.MODID + ":ln2_7"); + ln2_8 = new Item().setUnlocalizedName("ln2_8").setTextureName(RefStrings.MODID + ":ln2_8"); + ln2_9 = new Item().setUnlocalizedName("ln2_9").setTextureName(RefStrings.MODID + ":ln2_9"); + ln2_10 = new Item().setUnlocalizedName("ln2_10").setTextureName(RefStrings.MODID + ":ln2_10"); + + FluidContainerRegistry.registerFluidContainer(new FluidStack(ModBlocks.mud_fluid, 1000), new ItemStack(ModItems.bucket_mud)); + FluidContainerRegistry.registerFluidContainer(new FluidStack(ModBlocks.acid_fluid, 1000), new ItemStack(ModItems.bucket_acid)); + FluidContainerRegistry.registerFluidContainer(new FluidStack(ModBlocks.toxic_fluid, 1000), new ItemStack(ModItems.bucket_toxic)); + BucketHandler.INSTANCE.buckets.put(ModBlocks.mud_block, ModItems.bucket_mud); + BucketHandler.INSTANCE.buckets.put(ModBlocks.acid_block, ModItems.bucket_acid); + BucketHandler.INSTANCE.buckets.put(ModBlocks.toxic_block, ModItems.bucket_toxic); + MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE); + } + + private static void registerItem() { + //Weapons + GameRegistry.registerItem(redstone_sword, redstone_sword.getUnlocalizedName()); + GameRegistry.registerItem(big_sword, big_sword.getUnlocalizedName()); + + //Test Armor + GameRegistry.registerItem(test_helmet, test_helmet.getUnlocalizedName()); + GameRegistry.registerItem(test_chestplate, test_chestplate.getUnlocalizedName()); + GameRegistry.registerItem(test_leggings, test_leggings.getUnlocalizedName()); + GameRegistry.registerItem(test_boots, test_boots.getUnlocalizedName()); + GameRegistry.registerItem(cape_test, cape_test.getUnlocalizedName()); + + //Test Nuke + GameRegistry.registerItem(test_nuke_igniter, test_nuke_igniter.getUnlocalizedName()); + GameRegistry.registerItem(test_nuke_propellant, test_nuke_propellant.getUnlocalizedName()); + GameRegistry.registerItem(test_nuke_tier1_shielding, test_nuke_tier1_shielding.getUnlocalizedName()); + GameRegistry.registerItem(test_nuke_tier2_shielding, test_nuke_tier2_shielding.getUnlocalizedName()); + GameRegistry.registerItem(test_nuke_tier1_bullet, test_nuke_tier1_bullet.getUnlocalizedName()); + GameRegistry.registerItem(test_nuke_tier2_bullet, test_nuke_tier2_bullet.getUnlocalizedName()); + GameRegistry.registerItem(test_nuke_tier1_target, test_nuke_tier1_target.getUnlocalizedName()); + GameRegistry.registerItem(test_nuke_tier2_target, test_nuke_tier2_target.getUnlocalizedName()); + + //Ingots + GameRegistry.registerItem(ingot_uranium, ingot_uranium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_u235, ingot_u235.getUnlocalizedName()); + GameRegistry.registerItem(ingot_u238, ingot_u238.getUnlocalizedName()); + GameRegistry.registerItem(ingot_plutonium, ingot_plutonium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_pu238, ingot_pu238.getUnlocalizedName()); + GameRegistry.registerItem(ingot_pu239, ingot_pu239.getUnlocalizedName()); + GameRegistry.registerItem(ingot_pu240, ingot_pu240.getUnlocalizedName()); + GameRegistry.registerItem(ingot_neptunium, ingot_neptunium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_titanium, ingot_titanium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_copper, ingot_copper.getUnlocalizedName()); + GameRegistry.registerItem(ingot_red_copper, ingot_red_copper.getUnlocalizedName()); + GameRegistry.registerItem(ingot_advanced_alloy, ingot_advanced_alloy.getUnlocalizedName()); + GameRegistry.registerItem(ingot_tungsten, ingot_tungsten.getUnlocalizedName()); + GameRegistry.registerItem(ingot_aluminium, ingot_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_steel, ingot_steel.getUnlocalizedName()); + GameRegistry.registerItem(ingot_lead, ingot_lead.getUnlocalizedName()); + GameRegistry.registerItem(ingot_beryllium, ingot_beryllium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_schrabidium, ingot_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_magnetized_tungsten, ingot_magnetized_tungsten.getUnlocalizedName()); + GameRegistry.registerItem(ingot_combine_steel, ingot_combine_steel.getUnlocalizedName()); + GameRegistry.registerItem(ingot_uranium_fuel, ingot_uranium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(ingot_plutonium_fuel, ingot_plutonium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(ingot_mox_fuel, ingot_mox_fuel.getUnlocalizedName()); + GameRegistry.registerItem(ingot_schrabidium_fuel, ingot_schrabidium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(ingot_hes, ingot_hes.getUnlocalizedName()); + GameRegistry.registerItem(ingot_les, ingot_les.getUnlocalizedName()); + GameRegistry.registerItem(ingot_australium, ingot_australium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_weidanium, ingot_weidanium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_reiium, ingot_reiium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_unobtainium, ingot_unobtainium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_daffergon, ingot_daffergon.getUnlocalizedName()); + GameRegistry.registerItem(ingot_verticium, ingot_verticium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_lanthanium, ingot_lanthanium.getUnlocalizedName()); + GameRegistry.registerItem(ingot_actinium, ingot_actinium.getUnlocalizedName()); + + //Dusts & Other + GameRegistry.registerItem(lithium, lithium.getUnlocalizedName()); + GameRegistry.registerItem(sulfur, sulfur.getUnlocalizedName()); + GameRegistry.registerItem(niter, niter.getUnlocalizedName()); + GameRegistry.registerItem(fluorite, fluorite.getUnlocalizedName()); + GameRegistry.registerItem(powder_coal, powder_coal.getUnlocalizedName()); + GameRegistry.registerItem(powder_iron, powder_iron.getUnlocalizedName()); + GameRegistry.registerItem(powder_gold, powder_gold.getUnlocalizedName()); + GameRegistry.registerItem(powder_lapis, powder_lapis.getUnlocalizedName()); + GameRegistry.registerItem(powder_quartz, powder_quartz.getUnlocalizedName()); + GameRegistry.registerItem(powder_diamond, powder_diamond.getUnlocalizedName()); + GameRegistry.registerItem(powder_emerald, powder_emerald.getUnlocalizedName()); + GameRegistry.registerItem(powder_uranium, powder_uranium.getUnlocalizedName()); + GameRegistry.registerItem(powder_plutonium, powder_plutonium.getUnlocalizedName()); + GameRegistry.registerItem(powder_neptunium, powder_neptunium.getUnlocalizedName()); + GameRegistry.registerItem(powder_titanium, powder_titanium.getUnlocalizedName()); + GameRegistry.registerItem(powder_copper, powder_copper.getUnlocalizedName()); + GameRegistry.registerItem(powder_red_copper, powder_red_copper.getUnlocalizedName()); + GameRegistry.registerItem(powder_advanced_alloy, powder_advanced_alloy.getUnlocalizedName()); + GameRegistry.registerItem(powder_tungsten, powder_tungsten.getUnlocalizedName()); + GameRegistry.registerItem(powder_aluminium, powder_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(powder_steel, powder_steel.getUnlocalizedName()); + GameRegistry.registerItem(powder_lead, powder_lead.getUnlocalizedName()); + GameRegistry.registerItem(powder_beryllium, powder_beryllium.getUnlocalizedName()); + GameRegistry.registerItem(powder_schrabidium, powder_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(powder_magnetized_tungsten, powder_magnetized_tungsten.getUnlocalizedName()); + GameRegistry.registerItem(powder_combine_steel, powder_combine_steel.getUnlocalizedName()); + GameRegistry.registerItem(powder_lithium, powder_lithium.getUnlocalizedName()); + GameRegistry.registerItem(powder_iodine, powder_iodine.getUnlocalizedName()); + GameRegistry.registerItem(powder_thorium, powder_thorium.getUnlocalizedName()); + GameRegistry.registerItem(powder_neodymium, powder_neodymium.getUnlocalizedName()); + GameRegistry.registerItem(powder_astatine, powder_astatine.getUnlocalizedName()); + GameRegistry.registerItem(powder_caesium, powder_caesium.getUnlocalizedName()); + GameRegistry.registerItem(powder_australium, powder_australium.getUnlocalizedName()); + GameRegistry.registerItem(powder_weidanium, powder_weidanium.getUnlocalizedName()); + GameRegistry.registerItem(powder_reiium, powder_reiium.getUnlocalizedName()); + GameRegistry.registerItem(powder_unobtainium, powder_unobtainium.getUnlocalizedName()); + GameRegistry.registerItem(powder_daffergon, powder_daffergon.getUnlocalizedName()); + GameRegistry.registerItem(powder_verticium, powder_verticium.getUnlocalizedName()); + GameRegistry.registerItem(powder_strontium, powder_strontium.getUnlocalizedName()); + GameRegistry.registerItem(powder_cobalt, powder_cobalt.getUnlocalizedName()); + GameRegistry.registerItem(powder_bromine, powder_bromine.getUnlocalizedName()); + GameRegistry.registerItem(powder_niobium, powder_niobium.getUnlocalizedName()); + GameRegistry.registerItem(powder_tennessine, powder_tennessine.getUnlocalizedName()); + GameRegistry.registerItem(powder_cerium, powder_cerium.getUnlocalizedName()); + GameRegistry.registerItem(dust, dust.getUnlocalizedName()); + + //Powders + GameRegistry.registerItem(powder_fire, powder_fire.getUnlocalizedName()); + GameRegistry.registerItem(powder_ice, powder_ice.getUnlocalizedName()); + GameRegistry.registerItem(powder_poison, powder_poison.getUnlocalizedName()); + GameRegistry.registerItem(powder_thermite, powder_thermite.getUnlocalizedName()); + GameRegistry.registerItem(powder_power, powder_power.getUnlocalizedName()); + + //Nuggets + GameRegistry.registerItem(nugget_uranium, nugget_uranium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_u235, nugget_u235.getUnlocalizedName()); + GameRegistry.registerItem(nugget_u238, nugget_u238.getUnlocalizedName()); + GameRegistry.registerItem(nugget_plutonium, nugget_plutonium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_pu238, nugget_pu238.getUnlocalizedName()); + GameRegistry.registerItem(nugget_pu239, nugget_pu239.getUnlocalizedName()); + GameRegistry.registerItem(nugget_pu240, nugget_pu240.getUnlocalizedName()); + GameRegistry.registerItem(nugget_neptunium, nugget_neptunium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_lead, nugget_lead.getUnlocalizedName()); + GameRegistry.registerItem(nugget_beryllium, nugget_beryllium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_schrabidium, nugget_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_uranium_fuel, nugget_uranium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(nugget_plutonium_fuel, nugget_plutonium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(nugget_mox_fuel, nugget_mox_fuel.getUnlocalizedName()); + GameRegistry.registerItem(nugget_schrabidium_fuel, nugget_schrabidium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(nugget_hes, nugget_hes.getUnlocalizedName()); + GameRegistry.registerItem(nugget_les, nugget_les.getUnlocalizedName()); + GameRegistry.registerItem(nugget_australium, nugget_australium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_weidanium, nugget_weidanium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_reiium, nugget_reiium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_unobtainium, nugget_unobtainium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_daffergon, nugget_daffergon.getUnlocalizedName()); + GameRegistry.registerItem(nugget_verticium, nugget_verticium.getUnlocalizedName()); + + //Plates + GameRegistry.registerItem(plate_iron, plate_iron.getUnlocalizedName()); + GameRegistry.registerItem(plate_gold, plate_gold.getUnlocalizedName()); + GameRegistry.registerItem(plate_titanium, plate_titanium.getUnlocalizedName()); + GameRegistry.registerItem(plate_aluminium, plate_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(plate_steel, plate_steel.getUnlocalizedName()); + GameRegistry.registerItem(plate_lead, plate_lead.getUnlocalizedName()); + GameRegistry.registerItem(plate_copper, plate_copper.getUnlocalizedName()); + GameRegistry.registerItem(plate_advanced_alloy, plate_advanced_alloy.getUnlocalizedName()); + GameRegistry.registerItem(neutron_reflector, neutron_reflector.getUnlocalizedName()); + GameRegistry.registerItem(plate_schrabidium, plate_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(plate_combine_steel, plate_combine_steel.getUnlocalizedName()); + GameRegistry.registerItem(plate_mixed, plate_mixed.getUnlocalizedName()); + GameRegistry.registerItem(plate_paa, plate_paa.getUnlocalizedName()); + GameRegistry.registerItem(board_copper, board_copper.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_cloth, hazmat_cloth.getUnlocalizedName()); + GameRegistry.registerItem(filter_coal, filter_coal.getUnlocalizedName()); + + //Wires + GameRegistry.registerItem(wire_aluminium, wire_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(wire_copper, wire_copper.getUnlocalizedName()); + GameRegistry.registerItem(wire_tungsten, wire_tungsten.getUnlocalizedName()); + GameRegistry.registerItem(wire_red_copper, wire_red_copper.getUnlocalizedName()); + GameRegistry.registerItem(wire_advanced_alloy, wire_advanced_alloy.getUnlocalizedName()); + GameRegistry.registerItem(wire_gold, wire_gold.getUnlocalizedName()); + GameRegistry.registerItem(wire_schrabidium, wire_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(wire_magnetized_tungsten, wire_magnetized_tungsten.getUnlocalizedName()); + + //Parts + GameRegistry.registerItem(coil_copper, coil_copper.getUnlocalizedName()); + GameRegistry.registerItem(coil_copper_torus, coil_copper_torus.getUnlocalizedName()); + GameRegistry.registerItem(coil_advanced_alloy, coil_advanced_alloy.getUnlocalizedName()); + GameRegistry.registerItem(coil_advanced_torus, coil_advanced_torus.getUnlocalizedName()); + GameRegistry.registerItem(coil_gold, coil_gold.getUnlocalizedName()); + GameRegistry.registerItem(coil_gold_torus, coil_gold_torus.getUnlocalizedName()); + GameRegistry.registerItem(coil_tungsten, coil_tungsten.getUnlocalizedName()); + GameRegistry.registerItem(coil_magnetized_tungsten, coil_magnetized_tungsten.getUnlocalizedName()); + GameRegistry.registerItem(tank_steel, tank_steel.getUnlocalizedName()); + GameRegistry.registerItem(motor, motor.getUnlocalizedName()); + GameRegistry.registerItem(centrifuge_element, centrifuge_element.getUnlocalizedName()); + GameRegistry.registerItem(centrifuge_tower, centrifuge_tower.getUnlocalizedName()); + GameRegistry.registerItem(reactor_core, reactor_core.getUnlocalizedName()); + GameRegistry.registerItem(rtg_unit, rtg_unit.getUnlocalizedName()); + GameRegistry.registerItem(thermo_unit_empty, thermo_unit_empty.getUnlocalizedName()); + GameRegistry.registerItem(thermo_unit_endo, thermo_unit_endo.getUnlocalizedName()); + GameRegistry.registerItem(thermo_unit_exo, thermo_unit_exo.getUnlocalizedName()); + GameRegistry.registerItem(levitation_unit, levitation_unit.getUnlocalizedName()); + + //Teleporter Parts + GameRegistry.registerItem(telepad, telepad.getUnlocalizedName()); + GameRegistry.registerItem(entanglement_kit, entanglement_kit.getUnlocalizedName()); + + //Bomb Parts + GameRegistry.registerItem(cap_aluminium, cap_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(hull_small_steel, hull_small_steel.getUnlocalizedName()); + GameRegistry.registerItem(hull_small_aluminium, hull_small_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(hull_big_steel, hull_big_steel.getUnlocalizedName()); + GameRegistry.registerItem(hull_big_aluminium, hull_big_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(hull_big_titanium, hull_big_titanium.getUnlocalizedName()); + GameRegistry.registerItem(fins_flat, fins_flat.getUnlocalizedName()); + GameRegistry.registerItem(fins_small_steel, fins_small_steel.getUnlocalizedName()); + GameRegistry.registerItem(fins_big_steel, fins_big_steel.getUnlocalizedName()); + GameRegistry.registerItem(fins_tri_steel, fins_tri_steel.getUnlocalizedName()); + GameRegistry.registerItem(fins_quad_titanium, fins_quad_titanium.getUnlocalizedName()); + GameRegistry.registerItem(sphere_steel, sphere_steel.getUnlocalizedName()); + GameRegistry.registerItem(pedestal_steel, pedestal_steel.getUnlocalizedName()); + GameRegistry.registerItem(dysfunctional_reactor, dysfunctional_reactor.getUnlocalizedName()); + GameRegistry.registerItem(rotor_steel, rotor_steel.getUnlocalizedName()); + GameRegistry.registerItem(generator_steel, generator_steel.getUnlocalizedName()); + GameRegistry.registerItem(blade_titanium, blade_titanium.getUnlocalizedName()); + GameRegistry.registerItem(turbine_titanium, turbine_titanium.getUnlocalizedName()); + GameRegistry.registerItem(generator_front, generator_front.getUnlocalizedName()); + GameRegistry.registerItem(toothpicks, toothpicks.getUnlocalizedName()); + GameRegistry.registerItem(ducttape, ducttape.getUnlocalizedName()); + GameRegistry.registerItem(warhead_generic_small, warhead_generic_small.getUnlocalizedName()); + GameRegistry.registerItem(warhead_generic_medium, warhead_generic_medium.getUnlocalizedName()); + GameRegistry.registerItem(warhead_generic_large, warhead_generic_large.getUnlocalizedName()); + GameRegistry.registerItem(warhead_incendiary_small, warhead_incendiary_small.getUnlocalizedName()); + GameRegistry.registerItem(warhead_incendiary_medium, warhead_incendiary_medium.getUnlocalizedName()); + GameRegistry.registerItem(warhead_incendiary_large, warhead_incendiary_large.getUnlocalizedName()); + GameRegistry.registerItem(warhead_cluster_small, warhead_cluster_small.getUnlocalizedName()); + GameRegistry.registerItem(warhead_cluster_medium, warhead_cluster_medium.getUnlocalizedName()); + GameRegistry.registerItem(warhead_cluster_large, warhead_cluster_large.getUnlocalizedName()); + GameRegistry.registerItem(warhead_buster_small, warhead_buster_small.getUnlocalizedName()); + GameRegistry.registerItem(warhead_buster_medium, warhead_buster_medium.getUnlocalizedName()); + GameRegistry.registerItem(warhead_buster_large, warhead_buster_large.getUnlocalizedName()); + GameRegistry.registerItem(warhead_nuclear, warhead_nuclear.getUnlocalizedName()); + GameRegistry.registerItem(warhead_mirvlet, warhead_mirvlet.getUnlocalizedName()); + GameRegistry.registerItem(warhead_mirv, warhead_mirv.getUnlocalizedName()); + GameRegistry.registerItem(warhead_thermo_endo, warhead_thermo_endo.getUnlocalizedName()); + GameRegistry.registerItem(warhead_thermo_exo, warhead_thermo_exo.getUnlocalizedName()); + GameRegistry.registerItem(fuel_tank_small, fuel_tank_small.getUnlocalizedName()); + GameRegistry.registerItem(fuel_tank_medium, fuel_tank_medium.getUnlocalizedName()); + GameRegistry.registerItem(fuel_tank_large, fuel_tank_large.getUnlocalizedName()); + GameRegistry.registerItem(thruster_small, thruster_small.getUnlocalizedName()); + GameRegistry.registerItem(thruster_medium, thruster_medium.getUnlocalizedName()); + GameRegistry.registerItem(thruster_large, thruster_large.getUnlocalizedName()); + + //Chopper parts + GameRegistry.registerItem(chopper_head, chopper_head.getUnlocalizedName()); + GameRegistry.registerItem(chopper_gun, chopper_gun.getUnlocalizedName()); + GameRegistry.registerItem(chopper_torso, chopper_torso.getUnlocalizedName()); + GameRegistry.registerItem(chopper_tail, chopper_tail.getUnlocalizedName()); + GameRegistry.registerItem(chopper_wing, chopper_wing.getUnlocalizedName()); + GameRegistry.registerItem(chopper_blades, chopper_blades.getUnlocalizedName()); + GameRegistry.registerItem(combine_scrap, combine_scrap.getUnlocalizedName()); + + //Circuits + GameRegistry.registerItem(circuit_aluminium, circuit_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(circuit_copper, circuit_copper.getUnlocalizedName()); + GameRegistry.registerItem(circuit_red_copper, circuit_red_copper.getUnlocalizedName()); + GameRegistry.registerItem(circuit_gold, circuit_gold.getUnlocalizedName()); + GameRegistry.registerItem(circuit_schrabidium, circuit_schrabidium.getUnlocalizedName()); + + //Flame War in a Box + GameRegistry.registerItem(flame_pony, flame_pony.getUnlocalizedName()); + GameRegistry.registerItem(flame_conspiracy, flame_conspiracy.getUnlocalizedName()); + GameRegistry.registerItem(flame_politics, flame_politics.getUnlocalizedName()); + GameRegistry.registerItem(flame_opinion, flame_opinion.getUnlocalizedName()); + + //Pellets + GameRegistry.registerItem(pellet_rtg, pellet_rtg.getUnlocalizedName()); + GameRegistry.registerItem(tritium_deuterium_cake, tritium_deuterium_cake.getUnlocalizedName()); + GameRegistry.registerItem(pellet_cluster, pellet_cluster.getUnlocalizedName()); + GameRegistry.registerItem(pellet_buckshot, pellet_buckshot.getUnlocalizedName()); + GameRegistry.registerItem(pellet_gas, pellet_gas.getUnlocalizedName()); + + GameRegistry.registerItem(magnetron, magnetron.getUnlocalizedName()); + + //Watz Pellets + GameRegistry.registerItem(pellet_schrabidium, pellet_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(pellet_hes, pellet_hes.getUnlocalizedName()); + GameRegistry.registerItem(pellet_mes, pellet_mes.getUnlocalizedName()); + GameRegistry.registerItem(pellet_les, pellet_les.getUnlocalizedName()); + GameRegistry.registerItem(pellet_beryllium, pellet_beryllium.getUnlocalizedName()); + GameRegistry.registerItem(pellet_neptunium, pellet_neptunium.getUnlocalizedName()); + GameRegistry.registerItem(pellet_lead, pellet_lead.getUnlocalizedName()); + GameRegistry.registerItem(pellet_advanced, pellet_advanced.getUnlocalizedName()); + + //Cells + GameRegistry.registerItem(cell_empty, cell_empty.getUnlocalizedName()); + GameRegistry.registerItem(cell_uf6, cell_uf6.getUnlocalizedName()); + GameRegistry.registerItem(cell_puf6, cell_puf6.getUnlocalizedName()); + GameRegistry.registerItem(cell_deuterium, cell_deuterium.getUnlocalizedName()); + GameRegistry.registerItem(cell_tritium, cell_tritium.getUnlocalizedName()); + GameRegistry.registerItem(cell_sas3, cell_sas3.getUnlocalizedName()); + GameRegistry.registerItem(cell_antimatter, cell_antimatter.getUnlocalizedName()); + GameRegistry.registerItem(cell_anti_schrabidium, cell_anti_schrabidium.getUnlocalizedName()); + + //OMG how the hell is that even possible!? + GameRegistry.registerItem(singularity, singularity.getUnlocalizedName()); + GameRegistry.registerItem(singularity_counter_resonant, singularity_counter_resonant.getUnlocalizedName()); + GameRegistry.registerItem(singularity_super_heated, singularity_super_heated.getUnlocalizedName()); + GameRegistry.registerItem(black_hole, black_hole.getUnlocalizedName()); + GameRegistry.registerItem(crystal_xen, crystal_xen.getUnlocalizedName()); + + //Infinite Tanks + GameRegistry.registerItem(inf_water, inf_water.getUnlocalizedName()); + GameRegistry.registerItem(inf_coolant, inf_coolant.getUnlocalizedName()); + GameRegistry.registerItem(inf_deuterium, inf_deuterium.getUnlocalizedName()); + GameRegistry.registerItem(inf_tritium, inf_tritium.getUnlocalizedName()); + GameRegistry.registerItem(inf_sulfur, inf_sulfur.getUnlocalizedName()); + GameRegistry.registerItem(inf_diesel, inf_diesel.getUnlocalizedName()); + GameRegistry.registerItem(inf_antimatter, inf_antimatter.getUnlocalizedName()); + GameRegistry.registerItem(inf_antischrabidium, inf_antischrabidium.getUnlocalizedName()); + + //Large Tanks + GameRegistry.registerItem(tank_waste, tank_waste.getUnlocalizedName()); + + //Oils + GameRegistry.registerItem(oil_canola, oil_canola.getUnlocalizedName()); + + //Canisters + GameRegistry.registerItem(canister_empty, canister_empty.getUnlocalizedName()); + GameRegistry.registerItem(canister_canola, canister_canola.getUnlocalizedName()); + GameRegistry.registerItem(canister_fuel, canister_fuel.getUnlocalizedName()); + GameRegistry.registerItem(canister_napalm, canister_napalm.getUnlocalizedName()); + GameRegistry.registerItem(canister_NITAN, canister_NITAN.getUnlocalizedName()); + + //Batteries + GameRegistry.registerItem(battery_generic, battery_generic.getUnlocalizedName()); + GameRegistry.registerItem(battery_advanced, battery_advanced.getUnlocalizedName()); + GameRegistry.registerItem(battery_schrabidium, battery_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(battery_creative, battery_creative.getUnlocalizedName()); + GameRegistry.registerItem(fusion_core, fusion_core.getUnlocalizedName()); + GameRegistry.registerItem(energy_core, energy_core.getUnlocalizedName()); + GameRegistry.registerItem(factory_core_titanium, factory_core_titanium.getUnlocalizedName()); + GameRegistry.registerItem(factory_core_advanced, factory_core_advanced.getUnlocalizedName()); + GameRegistry.registerItem(fuse, fuse.getUnlocalizedName()); + GameRegistry.registerItem(redcoil_capacitor, redcoil_capacitor.getUnlocalizedName()); + GameRegistry.registerItem(titanium_filter, titanium_filter.getUnlocalizedName()); + GameRegistry.registerItem(screwdriver, screwdriver.getUnlocalizedName()); + GameRegistry.registerItem(overfuse, overfuse.getUnlocalizedName()); + + //Shredder Blades + GameRegistry.registerItem(blades_aluminium, blades_aluminium.getUnlocalizedName()); + GameRegistry.registerItem(blades_gold, blades_gold.getUnlocalizedName()); + GameRegistry.registerItem(blades_iron, blades_iron.getUnlocalizedName()); + GameRegistry.registerItem(blades_steel, blades_steel.getUnlocalizedName()); + GameRegistry.registerItem(blades_titanium, blades_titanium.getUnlocalizedName()); + GameRegistry.registerItem(blades_advanced_alloy, blades_advanced_alloy.getUnlocalizedName()); + GameRegistry.registerItem(blades_combine_steel, blades_combine_steel.getUnlocalizedName()); + GameRegistry.registerItem(blades_schrabidium, blades_schrabidium.getUnlocalizedName()); + + //Generator Stuff + GameRegistry.registerItem(thermo_element, thermo_element.getUnlocalizedName()); + GameRegistry.registerItem(limiter, limiter.getUnlocalizedName()); + + //Fuel Rods + GameRegistry.registerItem(rod_empty, rod_empty.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_empty, rod_dual_empty.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_empty, rod_quad_empty.getUnlocalizedName()); + + GameRegistry.registerItem(rod_uranium, rod_uranium.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_uranium, rod_dual_uranium.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_uranium, rod_quad_uranium.getUnlocalizedName()); + + GameRegistry.registerItem(rod_u235, rod_u235.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_u235, rod_dual_u235.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_u235, rod_quad_u235.getUnlocalizedName()); + + GameRegistry.registerItem(rod_u238, rod_u238.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_u238, rod_dual_u238.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_u238, rod_quad_u238.getUnlocalizedName()); + + GameRegistry.registerItem(rod_plutonium, rod_plutonium.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_plutonium, rod_dual_plutonium.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_plutonium, rod_quad_plutonium.getUnlocalizedName()); + + GameRegistry.registerItem(rod_pu238, rod_pu238.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_pu238, rod_dual_pu238.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_pu238, rod_quad_pu238.getUnlocalizedName()); + + GameRegistry.registerItem(rod_pu239, rod_pu239.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_pu239, rod_dual_pu239.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_pu239, rod_quad_pu239.getUnlocalizedName()); + + GameRegistry.registerItem(rod_pu240, rod_pu240.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_pu240, rod_dual_pu240.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_pu240, rod_quad_pu240.getUnlocalizedName()); + + GameRegistry.registerItem(rod_neptunium, rod_neptunium.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_neptunium, rod_dual_neptunium.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_neptunium, rod_quad_neptunium.getUnlocalizedName()); + + GameRegistry.registerItem(rod_lead, rod_lead.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_lead, rod_dual_lead.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_lead, rod_quad_lead.getUnlocalizedName()); + + GameRegistry.registerItem(rod_schrabidium, rod_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_schrabidium, rod_dual_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_schrabidium, rod_quad_schrabidium.getUnlocalizedName()); + + GameRegistry.registerItem(rod_uranium_fuel, rod_uranium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_uranium_fuel, rod_dual_uranium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_uranium_fuel, rod_quad_uranium_fuel.getUnlocalizedName()); + + GameRegistry.registerItem(rod_plutonium_fuel, rod_plutonium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_plutonium_fuel, rod_dual_plutonium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_plutonium_fuel, rod_quad_plutonium_fuel.getUnlocalizedName()); + + GameRegistry.registerItem(rod_mox_fuel, rod_mox_fuel.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_mox_fuel, rod_dual_mox_fuel.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_mox_fuel, rod_quad_mox_fuel.getUnlocalizedName()); + + GameRegistry.registerItem(rod_schrabidium_fuel, rod_schrabidium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_schrabidium_fuel, rod_dual_schrabidium_fuel.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_schrabidium_fuel, rod_quad_schrabidium_fuel.getUnlocalizedName()); + + GameRegistry.registerItem(rod_water, rod_water.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_water, rod_dual_water.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_water, rod_quad_water.getUnlocalizedName()); + + GameRegistry.registerItem(rod_coolant, rod_coolant.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_coolant, rod_dual_coolant.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_coolant, rod_quad_coolant.getUnlocalizedName()); + + GameRegistry.registerItem(rod_lithium, rod_lithium.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_lithium, rod_dual_lithium.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_lithium, rod_quad_lithium.getUnlocalizedName()); + + GameRegistry.registerItem(rod_tritium, rod_tritium.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_tritium, rod_dual_tritium.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_tritium, rod_quad_tritium.getUnlocalizedName()); + + GameRegistry.registerItem(rod_euphemium, rod_euphemium.getUnlocalizedName()); + GameRegistry.registerItem(rod_australium, rod_australium.getUnlocalizedName()); + GameRegistry.registerItem(rod_weidanium, rod_weidanium.getUnlocalizedName()); + GameRegistry.registerItem(rod_reiium, rod_reiium.getUnlocalizedName()); + GameRegistry.registerItem(rod_unobtainium, rod_unobtainium.getUnlocalizedName()); + GameRegistry.registerItem(rod_daffergon, rod_daffergon.getUnlocalizedName()); + GameRegistry.registerItem(rod_verticium, rod_verticium.getUnlocalizedName()); + + //Nuclear Waste + GameRegistry.registerItem(rod_uranium_fuel_depleted, rod_uranium_fuel_depleted.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_uranium_fuel_depleted, rod_dual_uranium_fuel_depleted.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_uranium_fuel_depleted, rod_quad_uranium_fuel_depleted.getUnlocalizedName()); + + GameRegistry.registerItem(rod_plutonium_fuel_depleted, rod_plutonium_fuel_depleted.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_plutonium_fuel_depleted, rod_dual_plutonium_fuel_depleted.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_plutonium_fuel_depleted, rod_quad_plutonium_fuel_depleted.getUnlocalizedName()); + + GameRegistry.registerItem(rod_mox_fuel_depleted, rod_mox_fuel_depleted.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_mox_fuel_depleted, rod_dual_mox_fuel_depleted.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_mox_fuel_depleted, rod_quad_mox_fuel_depleted.getUnlocalizedName()); + + GameRegistry.registerItem(rod_schrabidium_fuel_depleted, rod_schrabidium_fuel_depleted.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_schrabidium_fuel_depleted, rod_dual_schrabidium_fuel_depleted.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_schrabidium_fuel_depleted, rod_quad_schrabidium_fuel_depleted.getUnlocalizedName()); + + GameRegistry.registerItem(rod_waste, rod_waste.getUnlocalizedName()); + GameRegistry.registerItem(rod_dual_waste, rod_dual_waste.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_waste, rod_quad_waste.getUnlocalizedName()); + + GameRegistry.registerItem(scrap, scrap.getUnlocalizedName()); + GameRegistry.registerItem(trinitite, trinitite.getUnlocalizedName()); + GameRegistry.registerItem(nuclear_waste, nuclear_waste.getUnlocalizedName()); + + //Da Chopper + GameRegistry.registerItem(chopper, chopper.getUnlocalizedName()); + + //Computer Tools + GameRegistry.registerItem(designator, designator.getUnlocalizedName()); + GameRegistry.registerItem(linker, linker.getUnlocalizedName()); + + //Missiles + GameRegistry.registerItem(missile_generic, missile_generic.getUnlocalizedName()); + //GameRegistry.registerItem(missile_anti_ballistic, missile_anti_ballistic.getUnlocalizedName()); + GameRegistry.registerItem(missile_incendiary, missile_incendiary.getUnlocalizedName()); + GameRegistry.registerItem(missile_cluster, missile_cluster.getUnlocalizedName()); + GameRegistry.registerItem(missile_buster, missile_buster.getUnlocalizedName()); + GameRegistry.registerItem(missile_strong, missile_strong.getUnlocalizedName()); + GameRegistry.registerItem(missile_incendiary_strong, missile_incendiary_strong.getUnlocalizedName()); + GameRegistry.registerItem(missile_cluster_strong, missile_cluster_strong.getUnlocalizedName()); + GameRegistry.registerItem(missile_buster_strong, missile_buster_strong.getUnlocalizedName()); + GameRegistry.registerItem(missile_burst, missile_burst.getUnlocalizedName()); + GameRegistry.registerItem(missile_inferno, missile_inferno.getUnlocalizedName()); + GameRegistry.registerItem(missile_rain, missile_rain.getUnlocalizedName()); + GameRegistry.registerItem(missile_drill, missile_drill.getUnlocalizedName()); + GameRegistry.registerItem(missile_nuclear, missile_nuclear.getUnlocalizedName()); + GameRegistry.registerItem(missile_nuclear_cluster, missile_nuclear_cluster.getUnlocalizedName()); + GameRegistry.registerItem(missile_endo, missile_endo.getUnlocalizedName()); + GameRegistry.registerItem(missile_exo, missile_exo.getUnlocalizedName()); + + //Guns + GameRegistry.registerItem(gun_revolver_iron, gun_revolver_iron.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver, gun_revolver.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_gold, gun_revolver_gold.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_lead, gun_revolver_lead.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_schrabidium, gun_revolver_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_cursed, gun_revolver_cursed.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_nightmare, gun_revolver_nightmare.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_nightmare2, gun_revolver_nightmare2.getUnlocalizedName()); + GameRegistry.registerItem(gun_rpg, gun_rpg.getUnlocalizedName()); + GameRegistry.registerItem(gun_fatman, gun_fatman.getUnlocalizedName()); + GameRegistry.registerItem(gun_mirv, gun_mirv.getUnlocalizedName()); + GameRegistry.registerItem(gun_bf, gun_bf.getUnlocalizedName()); + GameRegistry.registerItem(gun_mp40, gun_mp40.getUnlocalizedName()); + GameRegistry.registerItem(gun_uboinik, gun_uboinik.getUnlocalizedName()); + GameRegistry.registerItem(gun_xvl1456, gun_xvl1456.getUnlocalizedName()); + GameRegistry.registerItem(gun_osipr, gun_osipr.getUnlocalizedName()); + GameRegistry.registerItem(gun_immolator, gun_immolator.getUnlocalizedName()); + GameRegistry.registerItem(gun_cryolator, gun_cryolator.getUnlocalizedName()); + GameRegistry.registerItem(gun_mp, gun_mp.getUnlocalizedName()); + GameRegistry.registerItem(gun_zomg, gun_zomg.getUnlocalizedName()); + GameRegistry.registerItem(gun_emp, gun_emp.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_inverted, gun_revolver_inverted.getUnlocalizedName()); + GameRegistry.registerItem(gun_jack, gun_jack.getUnlocalizedName()); + //TODO: Fix dat shit + //GameRegistry.registerItem(gun_spark, gun_spark.getUnlocalizedName()); + //GameRegistry.registerItem(gun_hp, gun_hp.getUnlocalizedName()); + GameRegistry.registerItem(gun_euthanasia, gun_euthanasia.getUnlocalizedName()); + GameRegistry.registerItem(gun_super_shotgun, gun_super_shotgun.getUnlocalizedName()); + GameRegistry.registerItem(gun_moist_nugget, gun_moist_nugget.getUnlocalizedName()); + + //Ammo + GameRegistry.registerItem(gun_revolver_iron_ammo, gun_revolver_iron_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_ammo, gun_revolver_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_gold_ammo, gun_revolver_gold_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_lead_ammo, gun_revolver_lead_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_schrabidium_ammo, gun_revolver_schrabidium_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_cursed_ammo, gun_revolver_cursed_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_nightmare_ammo, gun_revolver_nightmare_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_revolver_nightmare2_ammo, gun_revolver_nightmare2_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_rpg_ammo, gun_rpg_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_fatman_ammo, gun_fatman_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_mirv_ammo, gun_mirv_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_bf_ammo, gun_bf_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_mp40_ammo, gun_mp40_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_uboinik_ammo, gun_uboinik_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_xvl1456_ammo, gun_xvl1456_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_osipr_ammo, gun_osipr_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_osipr_ammo2, gun_osipr_ammo2.getUnlocalizedName()); + GameRegistry.registerItem(gun_immolator_ammo, gun_immolator_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_cryolator_ammo, gun_cryolator_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_mp_ammo, gun_mp_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_emp_ammo, gun_emp_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_jack_ammo, gun_jack_ammo.getUnlocalizedName()); + //GameRegistry.registerItem(gun_spark_ammo, gun_spark_ammo.getUnlocalizedName()); + //GameRegistry.registerItem(gun_hp_ammo, gun_hp_ammo.getUnlocalizedName()); + GameRegistry.registerItem(gun_euthanasia_ammo, gun_euthanasia_ammo.getUnlocalizedName()); + + //-C-l-i-p-s- Magazines + GameRegistry.registerItem(clip_revolver_iron, clip_revolver_iron.getUnlocalizedName()); + GameRegistry.registerItem(clip_revolver, clip_revolver.getUnlocalizedName()); + GameRegistry.registerItem(clip_revolver_gold, clip_revolver_gold.getUnlocalizedName()); + GameRegistry.registerItem(clip_revolver_lead, clip_revolver_lead.getUnlocalizedName()); + GameRegistry.registerItem(clip_revolver_schrabidium, clip_revolver_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(clip_revolver_cursed, clip_revolver_cursed.getUnlocalizedName()); + GameRegistry.registerItem(clip_revolver_nightmare, clip_revolver_nightmare.getUnlocalizedName()); + GameRegistry.registerItem(clip_revolver_nightmare2, clip_revolver_nightmare2.getUnlocalizedName()); + GameRegistry.registerItem(clip_rpg, clip_rpg.getUnlocalizedName()); + GameRegistry.registerItem(clip_fatman, clip_fatman.getUnlocalizedName()); + GameRegistry.registerItem(clip_mirv, clip_mirv.getUnlocalizedName()); + GameRegistry.registerItem(clip_bf, clip_bf.getUnlocalizedName()); + GameRegistry.registerItem(clip_mp40, clip_mp40.getUnlocalizedName()); + GameRegistry.registerItem(clip_uboinik, clip_uboinik.getUnlocalizedName()); + GameRegistry.registerItem(clip_xvl1456, clip_xvl1456.getUnlocalizedName()); + GameRegistry.registerItem(clip_osipr, clip_osipr.getUnlocalizedName()); + GameRegistry.registerItem(clip_immolator, clip_immolator.getUnlocalizedName()); + GameRegistry.registerItem(clip_cryolator, clip_cryolator.getUnlocalizedName()); + GameRegistry.registerItem(clip_mp, clip_mp.getUnlocalizedName()); + GameRegistry.registerItem(clip_emp, clip_emp.getUnlocalizedName()); + + //Grenades + GameRegistry.registerItem(grenade_generic, grenade_generic.getUnlocalizedName()); + GameRegistry.registerItem(grenade_strong, grenade_strong.getUnlocalizedName()); + GameRegistry.registerItem(grenade_frag, grenade_frag.getUnlocalizedName()); + GameRegistry.registerItem(grenade_fire, grenade_fire.getUnlocalizedName()); + GameRegistry.registerItem(grenade_shrapnel, grenade_shrapnel.getUnlocalizedName()); + GameRegistry.registerItem(grenade_cluster, grenade_cluster.getUnlocalizedName()); + GameRegistry.registerItem(grenade_flare, grenade_flare.getUnlocalizedName()); + GameRegistry.registerItem(grenade_electric, grenade_electric.getUnlocalizedName()); + GameRegistry.registerItem(grenade_poison, grenade_poison.getUnlocalizedName()); + GameRegistry.registerItem(grenade_gas, grenade_gas.getUnlocalizedName()); + GameRegistry.registerItem(grenade_pulse, grenade_pulse.getUnlocalizedName()); + GameRegistry.registerItem(grenade_plasma, grenade_plasma.getUnlocalizedName()); + GameRegistry.registerItem(grenade_tau, grenade_tau.getUnlocalizedName()); + GameRegistry.registerItem(grenade_schrabidium, grenade_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(grenade_nuke, grenade_nuke.getUnlocalizedName()); + GameRegistry.registerItem(grenade_lemon, grenade_lemon.getUnlocalizedName()); + GameRegistry.registerItem(grenade_mk2, grenade_mk2.getUnlocalizedName()); + GameRegistry.registerItem(grenade_aschrab, grenade_aschrab.getUnlocalizedName()); + GameRegistry.registerItem(grenade_nuclear, grenade_nuclear.getUnlocalizedName()); + GameRegistry.registerItem(grenade_zomg, grenade_zomg.getUnlocalizedName()); + GameRegistry.registerItem(ullapool_caber, ullapool_caber.getUnlocalizedName()); + + //Capes + GameRegistry.registerItem(cape_radiation, cape_radiation.getUnlocalizedName()); + GameRegistry.registerItem(cape_gasmask, cape_gasmask.getUnlocalizedName()); + GameRegistry.registerItem(cape_schrabidium, cape_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(cape_hbm, cape_hbm.getUnlocalizedName()); + GameRegistry.registerItem(cape_dafnik, cape_dafnik.getUnlocalizedName()); + GameRegistry.registerItem(cape_lpkukin, cape_lpkukin.getUnlocalizedName()); + GameRegistry.registerItem(cape_vertice, cape_vertice.getUnlocalizedName()); + + //Tools + GameRegistry.registerItem(schrabidium_sword, schrabidium_sword.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_hammer, schrabidium_hammer.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_pickaxe, schrabidium_pickaxe.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_axe, schrabidium_axe.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_shovel, schrabidium_shovel.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_hoe, schrabidium_hoe.getUnlocalizedName()); + GameRegistry.registerItem(steel_sword, steel_sword.getUnlocalizedName()); + GameRegistry.registerItem(steel_pickaxe, steel_pickaxe.getUnlocalizedName()); + GameRegistry.registerItem(steel_axe, steel_axe.getUnlocalizedName()); + GameRegistry.registerItem(steel_shovel, steel_shovel.getUnlocalizedName()); + GameRegistry.registerItem(steel_hoe, steel_hoe.getUnlocalizedName()); + GameRegistry.registerItem(titanium_sword, titanium_sword.getUnlocalizedName()); + GameRegistry.registerItem(titanium_pickaxe, titanium_pickaxe.getUnlocalizedName()); + GameRegistry.registerItem(titanium_axe, titanium_axe.getUnlocalizedName()); + GameRegistry.registerItem(titanium_shovel, titanium_shovel.getUnlocalizedName()); + GameRegistry.registerItem(titanium_hoe, titanium_hoe.getUnlocalizedName()); + GameRegistry.registerItem(alloy_sword, alloy_sword.getUnlocalizedName()); + GameRegistry.registerItem(alloy_pickaxe, alloy_pickaxe.getUnlocalizedName()); + GameRegistry.registerItem(alloy_axe, alloy_axe.getUnlocalizedName()); + GameRegistry.registerItem(alloy_shovel, alloy_shovel.getUnlocalizedName()); + GameRegistry.registerItem(alloy_hoe, alloy_hoe.getUnlocalizedName()); + GameRegistry.registerItem(cmb_sword, cmb_sword.getUnlocalizedName()); + GameRegistry.registerItem(cmb_pickaxe, cmb_pickaxe.getUnlocalizedName()); + GameRegistry.registerItem(cmb_axe, cmb_axe.getUnlocalizedName()); + GameRegistry.registerItem(cmb_shovel, cmb_shovel.getUnlocalizedName()); + GameRegistry.registerItem(cmb_hoe, cmb_hoe.getUnlocalizedName()); + GameRegistry.registerItem(matchstick, matchstick.getUnlocalizedName()); + GameRegistry.registerItem(crowbar, crowbar.getUnlocalizedName()); + GameRegistry.registerItem(saw, saw.getUnlocalizedName()); + GameRegistry.registerItem(bat, bat.getUnlocalizedName()); + GameRegistry.registerItem(bat_nail, bat_nail.getUnlocalizedName()); + GameRegistry.registerItem(golf_club, golf_club.getUnlocalizedName()); + GameRegistry.registerItem(pipe_rusty, pipe_rusty.getUnlocalizedName()); + GameRegistry.registerItem(pipe_lead, pipe_lead.getUnlocalizedName()); + GameRegistry.registerItem(reer_graar, reer_graar.getUnlocalizedName()); + + //Multitool + GameRegistry.registerItem(multitool_hit, multitool_hit.getUnlocalizedName()); + GameRegistry.registerItem(multitool_dig, multitool_dig.getUnlocalizedName()); + GameRegistry.registerItem(multitool_silk, multitool_silk.getUnlocalizedName()); + GameRegistry.registerItem(multitool_ext, multitool_ext.getUnlocalizedName()); + GameRegistry.registerItem(multitool_miner, multitool_miner.getUnlocalizedName()); + GameRegistry.registerItem(multitool_beam, multitool_beam.getUnlocalizedName()); + GameRegistry.registerItem(multitool_sky, multitool_sky.getUnlocalizedName()); + GameRegistry.registerItem(multitool_mega, multitool_mega.getUnlocalizedName()); + GameRegistry.registerItem(multitool_joule, multitool_joule.getUnlocalizedName()); + GameRegistry.registerItem(multitool_decon, multitool_decon.getUnlocalizedName()); + + //Syringes + GameRegistry.registerItem(syringe_empty, syringe_empty.getUnlocalizedName()); + GameRegistry.registerItem(syringe_antidote, syringe_antidote.getUnlocalizedName()); + GameRegistry.registerItem(syringe_poison, syringe_poison.getUnlocalizedName()); + GameRegistry.registerItem(syringe_awesome, syringe_awesome.getUnlocalizedName()); + GameRegistry.registerItem(syringe_metal_empty, syringe_metal_empty.getUnlocalizedName()); + GameRegistry.registerItem(syringe_metal_stimpak, syringe_metal_stimpak.getUnlocalizedName()); + GameRegistry.registerItem(syringe_metal_medx, syringe_metal_medx.getUnlocalizedName()); + GameRegistry.registerItem(syringe_metal_psycho, syringe_metal_psycho.getUnlocalizedName()); + GameRegistry.registerItem(stealth_boy, stealth_boy.getUnlocalizedName()); + + //Food + GameRegistry.registerItem(bomb_waffle, bomb_waffle.getUnlocalizedName()); + GameRegistry.registerItem(schnitzel_vegan, schnitzel_vegan.getUnlocalizedName()); + GameRegistry.registerItem(cotton_candy, cotton_candy.getUnlocalizedName()); + GameRegistry.registerItem(apple_schrabidium, apple_schrabidium.getUnlocalizedName()); + GameRegistry.registerItem(tem_flakes, tem_flakes.getUnlocalizedName()); + GameRegistry.registerItem(glowing_stew, glowing_stew.getUnlocalizedName()); + GameRegistry.registerItem(lemon, lemon.getUnlocalizedName()); + + //Energy Drinks + GameRegistry.registerItem(can_empty, can_empty.getUnlocalizedName()); + GameRegistry.registerItem(can_smart, can_smart.getUnlocalizedName()); + GameRegistry.registerItem(can_creature, can_creature.getUnlocalizedName()); + GameRegistry.registerItem(can_redbomb, can_redbomb.getUnlocalizedName()); + GameRegistry.registerItem(can_mrsugar, can_mrsugar.getUnlocalizedName()); + GameRegistry.registerItem(can_overcharge, can_overcharge.getUnlocalizedName()); + + //Cola + GameRegistry.registerItem(bottle_empty, bottle_empty.getUnlocalizedName()); + GameRegistry.registerItem(bottle_nuka, bottle_nuka.getUnlocalizedName()); + GameRegistry.registerItem(bottle_cherry, bottle_cherry.getUnlocalizedName()); + GameRegistry.registerItem(bottle_quantum, bottle_quantum.getUnlocalizedName()); + GameRegistry.registerItem(bottle2_empty, bottle2_empty.getUnlocalizedName()); + GameRegistry.registerItem(bottle2_korl, bottle2_korl.getUnlocalizedName()); + GameRegistry.registerItem(bottle2_fritz, bottle2_fritz.getUnlocalizedName()); + GameRegistry.registerItem(bottle2_korl_special, bottle2_korl_special.getUnlocalizedName()); + GameRegistry.registerItem(bottle2_fritz_special, bottle2_fritz_special.getUnlocalizedName()); + + //Chaos + GameRegistry.registerItem(chocolate_milk, chocolate_milk.getUnlocalizedName()); + + //The Gadget + GameRegistry.registerItem(gadget_explosive, gadget_explosive.getUnlocalizedName()); + GameRegistry.registerItem(gadget_explosive8, gadget_explosive8.getUnlocalizedName()); + GameRegistry.registerItem(gadget_wireing, gadget_wireing.getUnlocalizedName()); + GameRegistry.registerItem(gadget_core, gadget_core.getUnlocalizedName()); + + //Little Boy + GameRegistry.registerItem(boy_shielding, boy_shielding.getUnlocalizedName()); + GameRegistry.registerItem(boy_target, boy_target.getUnlocalizedName()); + GameRegistry.registerItem(boy_bullet, boy_bullet.getUnlocalizedName()); + GameRegistry.registerItem(boy_propellant, boy_propellant.getUnlocalizedName()); + GameRegistry.registerItem(boy_igniter, boy_igniter.getUnlocalizedName());; + + //Fat Man + GameRegistry.registerItem(man_explosive, man_explosive.getUnlocalizedName()); + GameRegistry.registerItem(man_explosive8, man_explosive8.getUnlocalizedName()); + GameRegistry.registerItem(man_igniter, man_igniter.getUnlocalizedName()); + GameRegistry.registerItem(man_core, man_core.getUnlocalizedName()); + + //Ivy Mike + GameRegistry.registerItem(mike_core, mike_core.getUnlocalizedName()); + GameRegistry.registerItem(mike_deut, mike_deut.getUnlocalizedName()); + GameRegistry.registerItem(mike_cooling_unit, mike_cooling_unit.getUnlocalizedName()); + + //Tsar Bomba + GameRegistry.registerItem(tsar_core, tsar_core.getUnlocalizedName()); + + //FLEIJA + GameRegistry.registerItem(fleija_igniter, fleija_igniter.getUnlocalizedName()); + GameRegistry.registerItem(fleija_propellant, fleija_propellant.getUnlocalizedName()); + GameRegistry.registerItem(fleija_core, fleija_core.getUnlocalizedName()); + + //Conventional Armor + GameRegistry.registerItem(goggles, goggles.getUnlocalizedName()); + GameRegistry.registerItem(gas_mask, gas_mask.getUnlocalizedName()); + GameRegistry.registerItem(oxy_mask, oxy_mask.getUnlocalizedName()); + + GameRegistry.registerItem(steel_helmet, steel_helmet.getUnlocalizedName()); + GameRegistry.registerItem(steel_plate, steel_plate.getUnlocalizedName()); + GameRegistry.registerItem(steel_legs, steel_legs.getUnlocalizedName()); + GameRegistry.registerItem(steel_boots, steel_boots.getUnlocalizedName()); + GameRegistry.registerItem(titanium_helmet, titanium_helmet.getUnlocalizedName()); + GameRegistry.registerItem(titanium_plate, titanium_plate.getUnlocalizedName()); + GameRegistry.registerItem(titanium_legs, titanium_legs.getUnlocalizedName()); + GameRegistry.registerItem(titanium_boots, titanium_boots.getUnlocalizedName()); + GameRegistry.registerItem(alloy_helmet, alloy_helmet.getUnlocalizedName()); + GameRegistry.registerItem(alloy_plate, alloy_plate.getUnlocalizedName()); + GameRegistry.registerItem(alloy_legs, alloy_legs.getUnlocalizedName()); + GameRegistry.registerItem(alloy_boots, alloy_boots.getUnlocalizedName()); + + //Power Armor + GameRegistry.registerItem(t45_helmet, t45_helmet.getUnlocalizedName()); + GameRegistry.registerItem(t45_plate, t45_plate.getUnlocalizedName()); + GameRegistry.registerItem(t45_legs, t45_legs.getUnlocalizedName()); + GameRegistry.registerItem(t45_boots, t45_boots.getUnlocalizedName()); + + //Nobody will ever read this anyway, so it shouldn't matter. + GameRegistry.registerItem(chainsaw, chainsaw.getUnlocalizedName()); + GameRegistry.registerItem(igniter, igniter.getUnlocalizedName()); + GameRegistry.registerItem(detonator, detonator.getUnlocalizedName()); + GameRegistry.registerItem(crate_caller, crate_caller.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_helmet, hazmat_helmet.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_plate, hazmat_plate.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_legs, hazmat_legs.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_boots, hazmat_boots.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_paa_helmet, hazmat_paa_helmet.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_paa_plate, hazmat_paa_plate.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_paa_legs, hazmat_paa_legs.getUnlocalizedName()); + GameRegistry.registerItem(hazmat_paa_boots, hazmat_paa_boots.getUnlocalizedName()); + GameRegistry.registerItem(cmb_helmet, cmb_helmet.getUnlocalizedName()); + GameRegistry.registerItem(cmb_plate, cmb_plate.getUnlocalizedName()); + GameRegistry.registerItem(cmb_legs, cmb_legs.getUnlocalizedName()); + GameRegistry.registerItem(cmb_boots, cmb_boots.getUnlocalizedName()); + GameRegistry.registerItem(paa_plate, paa_plate.getUnlocalizedName()); + GameRegistry.registerItem(paa_legs, paa_legs.getUnlocalizedName()); + GameRegistry.registerItem(paa_boots, paa_boots.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_helmet, schrabidium_helmet.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_plate, schrabidium_plate.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_legs, schrabidium_legs.getUnlocalizedName()); + GameRegistry.registerItem(schrabidium_boots, schrabidium_boots.getUnlocalizedName()); + GameRegistry.registerItem(rod_quad_euphemium, rod_quad_euphemium.getUnlocalizedName()); + GameRegistry.registerItem(euphemium_helmet, euphemium_helmet.getUnlocalizedName()); + GameRegistry.registerItem(euphemium_plate, euphemium_plate.getUnlocalizedName()); + GameRegistry.registerItem(euphemium_legs, euphemium_legs.getUnlocalizedName()); + GameRegistry.registerItem(euphemium_boots, euphemium_boots.getUnlocalizedName()); + GameRegistry.registerItem(ingot_euphemium, ingot_euphemium.getUnlocalizedName()); + GameRegistry.registerItem(nugget_euphemium, nugget_euphemium.getUnlocalizedName()); + GameRegistry.registerItem(apple_euphemium, apple_euphemium.getUnlocalizedName()); + GameRegistry.registerItem(watch, watch.getUnlocalizedName()); + GameRegistry.registerItem(mask_of_infamy, mask_of_infamy.getUnlocalizedName()); + GameRegistry.registerItem(australium_iii, australium_iii.getUnlocalizedName()); + //GameRegistry.registerItem(australium_iv, australium_iv.getUnlocalizedName()); + //GameRegistry.registerItem(australium_v, australium_v.getUnlocalizedName()); + + //Expensive Ass Shit + GameRegistry.registerItem(crystal_horn, crystal_horn.getUnlocalizedName()); + GameRegistry.registerItem(crystal_charred, crystal_charred.getUnlocalizedName()); + + //OP Tools + GameRegistry.registerItem(wand, wand.getUnlocalizedName()); + GameRegistry.registerItem(wand_s, wand_s.getUnlocalizedName()); + GameRegistry.registerItem(wand_d, wand_d.getUnlocalizedName()); + GameRegistry.registerItem(remote, remote.getUnlocalizedName()); + GameRegistry.registerItem(euphemium_stopper, euphemium_stopper.getUnlocalizedName()); + GameRegistry.registerItem(polaroid, polaroid.getUnlocalizedName()); + + //Kits + GameRegistry.registerItem(nuke_starter_kit, nuke_starter_kit.getUnlocalizedName()); + GameRegistry.registerItem(nuke_advanced_kit, nuke_advanced_kit.getUnlocalizedName()); + GameRegistry.registerItem(nuke_commercially_kit, nuke_commercially_kit.getUnlocalizedName()); + GameRegistry.registerItem(nuke_electric_kit, nuke_electric_kit.getUnlocalizedName()); + GameRegistry.registerItem(gadget_kit, gadget_kit.getUnlocalizedName()); + GameRegistry.registerItem(boy_kit, boy_kit.getUnlocalizedName()); + GameRegistry.registerItem(man_kit, man_kit.getUnlocalizedName()); + GameRegistry.registerItem(mike_kit, mike_kit.getUnlocalizedName()); + GameRegistry.registerItem(tsar_kit, tsar_kit.getUnlocalizedName()); + GameRegistry.registerItem(prototype_kit, prototype_kit.getUnlocalizedName()); + GameRegistry.registerItem(fleija_kit, fleija_kit.getUnlocalizedName()); + GameRegistry.registerItem(multi_kit, multi_kit.getUnlocalizedName()); + GameRegistry.registerItem(missile_kit, missile_kit.getUnlocalizedName()); + GameRegistry.registerItem(grenade_kit, grenade_kit.getUnlocalizedName()); + GameRegistry.registerItem(t45_kit, t45_kit.getUnlocalizedName()); + GameRegistry.registerItem(euphemium_kit, euphemium_kit.getUnlocalizedName()); + GameRegistry.registerItem(letter, letter.getUnlocalizedName()); + + //THIS is a bucket. + GameRegistry.registerItem(bucket_mud, bucket_mud.getUnlocalizedName()); + GameRegistry.registerItem(bucket_acid, bucket_acid.getUnlocalizedName()); + GameRegistry.registerItem(bucket_toxic, bucket_toxic.getUnlocalizedName()); + + //Records + GameRegistry.registerItem(record_lc, record_lc.getUnlocalizedName()); + GameRegistry.registerItem(record_ss, record_ss.getUnlocalizedName()); + GameRegistry.registerItem(record_vc, record_vc.getUnlocalizedName()); + + //Technical Items + GameRegistry.registerItem(smoke1, smoke1.getUnlocalizedName()); + GameRegistry.registerItem(smoke2, smoke2.getUnlocalizedName()); + GameRegistry.registerItem(smoke3, smoke3.getUnlocalizedName()); + GameRegistry.registerItem(smoke4, smoke4.getUnlocalizedName()); + GameRegistry.registerItem(smoke5, smoke5.getUnlocalizedName()); + GameRegistry.registerItem(smoke6, smoke6.getUnlocalizedName()); + GameRegistry.registerItem(smoke7, smoke7.getUnlocalizedName()); + GameRegistry.registerItem(smoke8, smoke8.getUnlocalizedName()); + GameRegistry.registerItem(b_smoke1, b_smoke1.getUnlocalizedName()); + GameRegistry.registerItem(b_smoke2, b_smoke2.getUnlocalizedName()); + GameRegistry.registerItem(b_smoke3, b_smoke3.getUnlocalizedName()); + GameRegistry.registerItem(b_smoke4, b_smoke4.getUnlocalizedName()); + GameRegistry.registerItem(b_smoke5, b_smoke5.getUnlocalizedName()); + GameRegistry.registerItem(b_smoke6, b_smoke6.getUnlocalizedName()); + GameRegistry.registerItem(b_smoke7, b_smoke7.getUnlocalizedName()); + GameRegistry.registerItem(b_smoke8, b_smoke8.getUnlocalizedName()); + GameRegistry.registerItem(d_smoke1, d_smoke1.getUnlocalizedName()); + GameRegistry.registerItem(d_smoke2, d_smoke2.getUnlocalizedName()); + GameRegistry.registerItem(d_smoke3, d_smoke3.getUnlocalizedName()); + GameRegistry.registerItem(d_smoke4, d_smoke4.getUnlocalizedName()); + GameRegistry.registerItem(d_smoke5, d_smoke5.getUnlocalizedName()); + GameRegistry.registerItem(d_smoke6, d_smoke6.getUnlocalizedName()); + GameRegistry.registerItem(d_smoke7, d_smoke7.getUnlocalizedName()); + GameRegistry.registerItem(d_smoke8, d_smoke8.getUnlocalizedName()); + GameRegistry.registerItem(energy_ball, energy_ball.getUnlocalizedName()); + GameRegistry.registerItem(discharge, discharge.getUnlocalizedName()); + GameRegistry.registerItem(empblast, empblast.getUnlocalizedName()); + GameRegistry.registerItem(flame_1, flame_1.getUnlocalizedName()); + GameRegistry.registerItem(flame_2, flame_2.getUnlocalizedName()); + GameRegistry.registerItem(flame_3, flame_3.getUnlocalizedName()); + GameRegistry.registerItem(flame_4, flame_4.getUnlocalizedName()); + GameRegistry.registerItem(flame_5, flame_5.getUnlocalizedName()); + GameRegistry.registerItem(flame_6, flame_6.getUnlocalizedName()); + GameRegistry.registerItem(flame_7, flame_7.getUnlocalizedName()); + GameRegistry.registerItem(flame_8, flame_8.getUnlocalizedName()); + GameRegistry.registerItem(flame_9, flame_9.getUnlocalizedName()); + GameRegistry.registerItem(flame_10, flame_10.getUnlocalizedName()); + GameRegistry.registerItem(ln2_1, ln2_1.getUnlocalizedName()); + GameRegistry.registerItem(ln2_2, ln2_2.getUnlocalizedName()); + GameRegistry.registerItem(ln2_3, ln2_3.getUnlocalizedName()); + GameRegistry.registerItem(ln2_4, ln2_4.getUnlocalizedName()); + GameRegistry.registerItem(ln2_5, ln2_5.getUnlocalizedName()); + GameRegistry.registerItem(ln2_6, ln2_6.getUnlocalizedName()); + GameRegistry.registerItem(ln2_7, ln2_7.getUnlocalizedName()); + GameRegistry.registerItem(ln2_8, ln2_8.getUnlocalizedName()); + GameRegistry.registerItem(ln2_9, ln2_9.getUnlocalizedName()); + GameRegistry.registerItem(ln2_10, ln2_10.getUnlocalizedName()); + } +} diff --git a/com/hbm/items/bomb/ItemBoy.java b/com/hbm/items/bomb/ItemBoy.java index ecfd56431..8b6d61ceb 100644 --- a/com/hbm/items/bomb/ItemBoy.java +++ b/com/hbm/items/bomb/ItemBoy.java @@ -1,20 +1,20 @@ -package com.hbm.items.bomb; - -import java.util.List; - -import com.hbm.items.special.ItemRadioactive; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemBoy extends ItemRadioactive { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used in:"); - list.add("Little Boy"); - } - -} +package com.hbm.items.bomb; + +import java.util.List; + +import com.hbm.items.special.ItemRadioactive; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemBoy extends ItemRadioactive { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used in:"); + list.add("Little Boy"); + } + +} diff --git a/com/hbm/items/bomb/ItemFleija.java b/com/hbm/items/bomb/ItemFleija.java index b986a7d9a..f152ae616 100644 --- a/com/hbm/items/bomb/ItemFleija.java +++ b/com/hbm/items/bomb/ItemFleija.java @@ -1,33 +1,33 @@ -package com.hbm.items.bomb; - -import java.util.List; - -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemRadioactive; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemFleija extends ItemRadioactive { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used in:"); - list.add("F.L.E.I.J.A."); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - if(this == ModItems.fleija_propellant) - { - return EnumRarity.rare; - } - - return EnumRarity.common; - } - -} +package com.hbm.items.bomb; + +import java.util.List; + +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemRadioactive; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemFleija extends ItemRadioactive { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used in:"); + list.add("F.L.E.I.J.A."); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + if(this == ModItems.fleija_propellant) + { + return EnumRarity.rare; + } + + return EnumRarity.common; + } + +} diff --git a/com/hbm/items/bomb/ItemGadget.java b/com/hbm/items/bomb/ItemGadget.java index 833b8530c..3724098fc 100644 --- a/com/hbm/items/bomb/ItemGadget.java +++ b/com/hbm/items/bomb/ItemGadget.java @@ -1,20 +1,20 @@ -package com.hbm.items.bomb; - -import java.util.List; - -import com.hbm.items.special.ItemRadioactive; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemGadget extends ItemRadioactive { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used in:"); - list.add("The Gadget"); - } - -} +package com.hbm.items.bomb; + +import java.util.List; + +import com.hbm.items.special.ItemRadioactive; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemGadget extends ItemRadioactive { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used in:"); + list.add("The Gadget"); + } + +} diff --git a/com/hbm/items/bomb/ItemMan.java b/com/hbm/items/bomb/ItemMan.java index 296bbd3db..c458c1b50 100644 --- a/com/hbm/items/bomb/ItemMan.java +++ b/com/hbm/items/bomb/ItemMan.java @@ -1,18 +1,18 @@ -package com.hbm.items.bomb; - -import java.util.List; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemMan extends Item { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used in:"); - list.add("Fat Man"); - } - -} +package com.hbm.items.bomb; + +import java.util.List; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemMan extends Item { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used in:"); + list.add("Fat Man"); + } + +} diff --git a/com/hbm/items/bomb/ItemManMike.java b/com/hbm/items/bomb/ItemManMike.java index dd2a25089..f5db7ee7f 100644 --- a/com/hbm/items/bomb/ItemManMike.java +++ b/com/hbm/items/bomb/ItemManMike.java @@ -1,22 +1,22 @@ -package com.hbm.items.bomb; - -import java.util.List; - -import com.hbm.items.special.ItemRadioactive; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemManMike extends ItemRadioactive { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used in:"); - list.add("Fat Man"); - list.add("Ivy Mike"); - list.add("Tsar Bomba"); - } - -} +package com.hbm.items.bomb; + +import java.util.List; + +import com.hbm.items.special.ItemRadioactive; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemManMike extends ItemRadioactive { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used in:"); + list.add("Fat Man"); + list.add("Ivy Mike"); + list.add("Tsar Bomba"); + } + +} diff --git a/com/hbm/items/bomb/ItemMike.java b/com/hbm/items/bomb/ItemMike.java index bd844ac70..3daf2dde0 100644 --- a/com/hbm/items/bomb/ItemMike.java +++ b/com/hbm/items/bomb/ItemMike.java @@ -1,20 +1,20 @@ -package com.hbm.items.bomb; - -import java.util.List; - -import com.hbm.items.special.ItemRadioactive; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemMike extends ItemRadioactive { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used in:"); - list.add("Ivy Mike"); - } - -} +package com.hbm.items.bomb; + +import java.util.List; + +import com.hbm.items.special.ItemRadioactive; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemMike extends ItemRadioactive { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used in:"); + list.add("Ivy Mike"); + } + +} diff --git a/com/hbm/items/bomb/ItemPrototypeBlock.java b/com/hbm/items/bomb/ItemPrototypeBlock.java index 6162b668e..6335866f3 100644 --- a/com/hbm/items/bomb/ItemPrototypeBlock.java +++ b/com/hbm/items/bomb/ItemPrototypeBlock.java @@ -1,28 +1,28 @@ -package com.hbm.items.bomb; - -import java.util.List; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemBlock; -import net.minecraft.item.ItemStack; - -public class ItemPrototypeBlock extends ItemBlock { - - public ItemPrototypeBlock(Block p_i45328_1_) { - super(p_i45328_1_); - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("It didn't have to be like this."); - list.add(""); - list.add("You monster."); - - /*list.add("In memory of Euphemia."); - list.add(""); - list.add("Rest in spaghetti, never forgetti.");*/ - } - -} +package com.hbm.items.bomb; + +import java.util.List; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemBlock; +import net.minecraft.item.ItemStack; + +public class ItemPrototypeBlock extends ItemBlock { + + public ItemPrototypeBlock(Block p_i45328_1_) { + super(p_i45328_1_); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("It didn't have to be like this."); + list.add(""); + list.add("You monster."); + + /*list.add("In memory of Euphemia."); + list.add(""); + list.add("Rest in spaghetti, never forgetti.");*/ + } + +} diff --git a/com/hbm/items/bomb/ItemTsar.java b/com/hbm/items/bomb/ItemTsar.java index 350586614..ad6ddd339 100644 --- a/com/hbm/items/bomb/ItemTsar.java +++ b/com/hbm/items/bomb/ItemTsar.java @@ -1,20 +1,20 @@ -package com.hbm.items.bomb; - -import java.util.List; - -import com.hbm.items.special.ItemRadioactive; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemTsar extends ItemRadioactive { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used in:"); - list.add("Tsar Bomba"); - } - -} +package com.hbm.items.bomb; + +import java.util.List; + +import com.hbm.items.special.ItemRadioactive; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemTsar extends ItemRadioactive { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used in:"); + list.add("Tsar Bomba"); + } + +} diff --git a/com/hbm/items/food/ItemAppleEuphemium.java b/com/hbm/items/food/ItemAppleEuphemium.java index eb7b9eba7..64ae90acc 100644 --- a/com/hbm/items/food/ItemAppleEuphemium.java +++ b/com/hbm/items/food/ItemAppleEuphemium.java @@ -1,45 +1,45 @@ -package com.hbm.items.food; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class ItemAppleEuphemium extends ItemFood { - - public ItemAppleEuphemium(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) { - super(p_i45339_1_, p_i45339_2_, p_i45339_3_); - this.setAlwaysEdible(); - this.setCreativeTab(null); - } - - @Override - @SideOnly(Side.CLIENT) - public boolean hasEffect(ItemStack p_77636_1_) - { - return true; - } - - @Override - protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_) - { - if (!p_77849_2_.isRemote) - { - p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 2147483647, 127)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 2147483647, 0)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 2147483647, 127)); - } - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) - { - return EnumRarity.epic; - } - -} +package com.hbm.items.food; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemAppleEuphemium extends ItemFood { + + public ItemAppleEuphemium(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) { + super(p_i45339_1_, p_i45339_2_, p_i45339_3_); + this.setAlwaysEdible(); + this.setCreativeTab(null); + } + + @Override + @SideOnly(Side.CLIENT) + public boolean hasEffect(ItemStack p_77636_1_) + { + return true; + } + + @Override + protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_) + { + if (!p_77849_2_.isRemote) + { + p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 2147483647, 127)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 2147483647, 0)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 2147483647, 127)); + } + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) + { + return EnumRarity.epic; + } + +} diff --git a/com/hbm/items/food/ItemAppleSchrabidium.java b/com/hbm/items/food/ItemAppleSchrabidium.java index 3fdf552c3..3870e1099 100644 --- a/com/hbm/items/food/ItemAppleSchrabidium.java +++ b/com/hbm/items/food/ItemAppleSchrabidium.java @@ -1,111 +1,111 @@ -package com.hbm.items.food; - -import java.util.List; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class ItemAppleSchrabidium extends ItemFood { - - public ItemAppleSchrabidium(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) { - super(p_i45339_1_, p_i45339_2_, p_i45339_3_); - this.setHasSubtypes(true); - this.setAlwaysEdible(); - } - - @Override - @SideOnly(Side.CLIENT) - public boolean hasEffect(ItemStack p_77636_1_) - { - return p_77636_1_.getItemDamage() == 2; - } - - @Override - protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_) - { - if (!p_77849_2_.isRemote) - { - p_77849_3_.addPotionEffect(new PotionEffect(Potion.regeneration.id, 600, 4)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 6000, 0)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 6000, 0)); - } - - if (p_77849_1_.getItemDamage() == 1) - { - if (!p_77849_2_.isRemote) - { - p_77849_3_.addPotionEffect(new PotionEffect(Potion.regeneration.id, 6000, 4)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 60000, 4)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 60000, 0)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 6000, 4)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 6000, 2)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 60000, 2)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 6000, 4)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 60000, 9)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 60000, 4)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 60000, 9)); - } - } - - if (p_77849_1_.getItemDamage() == 2) - { - if (!p_77849_2_.isRemote) - { - p_77849_3_.addPotionEffect(new PotionEffect(Potion.regeneration.id, 2147483647, 99)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 2147483647, 99)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 2147483647, 0)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 2147483647, 99)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 2147483647, 99)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 2147483647, 6)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 2147483647, 9)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 2147483647, 24)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 2147483647, 14)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 2147483647, 99)); - } - } - else - { - super.onFoodEaten(p_77849_1_, p_77849_2_, p_77849_3_); - } - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) - { - if(p_77613_1_.getItemDamage() == 0) - { - return EnumRarity.uncommon; - } - - if(p_77613_1_.getItemDamage() == 1) - { - return EnumRarity.rare; - } - - if(p_77613_1_.getItemDamage() == 2) - { - return EnumRarity.epic; - } - - return EnumRarity.common; - } - - @Override - @SideOnly(Side.CLIENT) - public void getSubItems(Item p_150895_1_, CreativeTabs p_150895_2_, List p_150895_3_) - { - p_150895_3_.add(new ItemStack(p_150895_1_, 1, 0)); - p_150895_3_.add(new ItemStack(p_150895_1_, 1, 1)); - p_150895_3_.add(new ItemStack(p_150895_1_, 1, 2)); - } - -} +package com.hbm.items.food; + +import java.util.List; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemAppleSchrabidium extends ItemFood { + + public ItemAppleSchrabidium(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) { + super(p_i45339_1_, p_i45339_2_, p_i45339_3_); + this.setHasSubtypes(true); + this.setAlwaysEdible(); + } + + @Override + @SideOnly(Side.CLIENT) + public boolean hasEffect(ItemStack p_77636_1_) + { + return p_77636_1_.getItemDamage() == 2; + } + + @Override + protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_) + { + if (!p_77849_2_.isRemote) + { + p_77849_3_.addPotionEffect(new PotionEffect(Potion.regeneration.id, 600, 4)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 6000, 0)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 6000, 0)); + } + + if (p_77849_1_.getItemDamage() == 1) + { + if (!p_77849_2_.isRemote) + { + p_77849_3_.addPotionEffect(new PotionEffect(Potion.regeneration.id, 6000, 4)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 60000, 4)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 60000, 0)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 6000, 4)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 6000, 2)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 60000, 2)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 6000, 4)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 60000, 9)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 60000, 4)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 60000, 9)); + } + } + + if (p_77849_1_.getItemDamage() == 2) + { + if (!p_77849_2_.isRemote) + { + p_77849_3_.addPotionEffect(new PotionEffect(Potion.regeneration.id, 2147483647, 99)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 2147483647, 99)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 2147483647, 0)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 2147483647, 99)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 2147483647, 99)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 2147483647, 6)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 2147483647, 9)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 2147483647, 24)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 2147483647, 14)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 2147483647, 99)); + } + } + else + { + super.onFoodEaten(p_77849_1_, p_77849_2_, p_77849_3_); + } + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) + { + if(p_77613_1_.getItemDamage() == 0) + { + return EnumRarity.uncommon; + } + + if(p_77613_1_.getItemDamage() == 1) + { + return EnumRarity.rare; + } + + if(p_77613_1_.getItemDamage() == 2) + { + return EnumRarity.epic; + } + + return EnumRarity.common; + } + + @Override + @SideOnly(Side.CLIENT) + public void getSubItems(Item p_150895_1_, CreativeTabs p_150895_2_, List p_150895_3_) + { + p_150895_3_.add(new ItemStack(p_150895_1_, 1, 0)); + p_150895_3_.add(new ItemStack(p_150895_1_, 1, 1)); + p_150895_3_.add(new ItemStack(p_150895_1_, 1, 2)); + } + +} diff --git a/com/hbm/items/food/ItemCottonCandy.java b/com/hbm/items/food/ItemCottonCandy.java index 8b26da7af..eff611b22 100644 --- a/com/hbm/items/food/ItemCottonCandy.java +++ b/com/hbm/items/food/ItemCottonCandy.java @@ -1,30 +1,30 @@ -package com.hbm.items.food; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class ItemCottonCandy extends ItemFood { - - public ItemCottonCandy(int p_i45340_1_, boolean p_i45340_2_) { - super(p_i45340_1_, p_i45340_2_); - this.setAlwaysEdible(); - } - - @Override - protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_) - { - if (!p_77849_2_.isRemote) - { - p_77849_3_.addPotionEffect(new PotionEffect(Potion.poison.id, 15 * 20, 0)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.wither.id, 5 * 20, 0)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.weakness.id, 25 * 20, 2)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 25 * 20, 2)); - p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 4)); - } - } - -} +package com.hbm.items.food; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemCottonCandy extends ItemFood { + + public ItemCottonCandy(int p_i45340_1_, boolean p_i45340_2_) { + super(p_i45340_1_, p_i45340_2_); + this.setAlwaysEdible(); + } + + @Override + protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_) + { + if (!p_77849_2_.isRemote) + { + p_77849_3_.addPotionEffect(new PotionEffect(Potion.poison.id, 15 * 20, 0)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.wither.id, 5 * 20, 0)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.weakness.id, 25 * 20, 2)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 25 * 20, 2)); + p_77849_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 4)); + } + } + +} diff --git a/com/hbm/items/food/ItemEnergy.java b/com/hbm/items/food/ItemEnergy.java index b47e59d67..68b6c7a11 100644 --- a/com/hbm/items/food/ItemEnergy.java +++ b/com/hbm/items/food/ItemEnergy.java @@ -1,107 +1,228 @@ -package com.hbm.items.food; - -import java.util.Iterator; -import java.util.List; - -import com.hbm.items.ModItems; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.projectile.EntityPotion; -import net.minecraft.init.Items; -import net.minecraft.item.EnumAction; -import net.minecraft.item.Item; -import net.minecraft.item.ItemPotion; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class ItemEnergy extends Item { - - public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) - { - if (!p_77654_3_.capabilities.isCreativeMode) - { - --p_77654_1_.stackSize; - } - - if (!p_77654_2_.isRemote) - { - if(this == ModItems.can_smart) - { - p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 1)); - p_77654_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 2)); - p_77654_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 30 * 20, 0)); - } - if(this == ModItems.can_creature) - { - p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 0)); - p_77654_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 2)); - p_77654_3_.addPotionEffect(new PotionEffect(Potion.regeneration.id, 30 * 20, 1)); - } - if(this == ModItems.can_redbomb) - { - p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 0)); - p_77654_3_.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 30 * 20, 2)); - p_77654_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 30 * 20, 1)); - } - if(this == ModItems.can_mrsugar) - { - p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 0)); - p_77654_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 30 * 20, 1)); - p_77654_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 30 * 20, 2)); - } - } - - if (!p_77654_3_.capabilities.isCreativeMode) - { - if (p_77654_1_.stackSize <= 0) - { - return new ItemStack(ModItems.can_empty); - } - - p_77654_3_.inventory.addItemStackToInventory(new ItemStack(ModItems.can_empty)); - } - - return p_77654_1_; - } - - public int getMaxItemUseDuration(ItemStack p_77626_1_) - { - return 32; - } - - public EnumAction getItemUseAction(ItemStack p_77661_1_) - { - return EnumAction.drink; - } - - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) - { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - return p_77659_1_; - } - - @SideOnly(Side.CLIENT) - public void addInformation(ItemStack p_77624_1_, EntityPlayer p_77624_2_, List list, boolean p_77624_4_) - { - if(this == ModItems.can_smart) - { - list.add("Cheap and full of bubbles"); - } - if(this == ModItems.can_creature) - { - list.add("Basically gasoline in a tin can"); - } - if(this == ModItems.can_redbomb) - { - list.add("Liquefied explosives"); - } - if(this == ModItems.can_mrsugar) - { - list.add("An intellectual drink, for the chosen ones!"); - } - } -} +package com.hbm.items.food; + +import java.util.Iterator; +import java.util.List; + +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.projectile.EntityPotion; +import net.minecraft.init.Items; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemPotion; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemEnergy extends Item { + + public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) + { + if (!p_77654_3_.capabilities.isCreativeMode) + { + --p_77654_1_.stackSize; + } + + if (!p_77654_2_.isRemote) + { + if(this == ModItems.can_smart) + { + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 30 * 20, 0)); + } + if(this == ModItems.can_creature) + { + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 0)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.regeneration.id, 30 * 20, 1)); + } + if(this == ModItems.can_redbomb) + { + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 0)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 30 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 30 * 20, 1)); + } + if(this == ModItems.can_mrsugar) + { + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 0)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 30 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 30 * 20, 2)); + } + if(this == ModItems.can_overcharge) + { + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 30 * 20, 0)); + } + if(this == ModItems.chocolate_milk) + { + p_77654_2_.createExplosion(null, p_77654_3_.posX, p_77654_3_.posY, p_77654_3_.posZ, 50, true); + } + if(this == ModItems.bottle_nuka) + { + p_77654_3_.heal(4F); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 30 * 20, 1)); + } + if(this == ModItems.bottle_cherry) + { + p_77654_3_.heal(6F); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 0)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 30 * 20, 2)); + } + if(this == ModItems.bottle_quantum) + { + p_77654_3_.heal(10F); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 30 * 20, 1)); + } + if(this == ModItems.bottle2_korl) + { + p_77654_3_.heal(6); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 30 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 30 * 20, 2)); + } + if(this == ModItems.bottle2_fritz) + { + p_77654_3_.heal(6); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 30 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 30 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 30 * 20, 2)); + } + if(this == ModItems.bottle2_korl_special) + { + p_77654_3_.heal(16); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 120 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 120 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 120 * 20, 2)); + } + if(this == ModItems.bottle2_fritz_special) + { + p_77654_3_.heal(16); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 120 * 20, 1)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.resistance.id, 120 * 20, 2)); + p_77654_3_.addPotionEffect(new PotionEffect(Potion.jump.id, 120 * 20, 2)); + } + } + + if (!p_77654_3_.capabilities.isCreativeMode && this != ModItems.chocolate_milk) + { + if(this == ModItems.can_creature || this == ModItems.can_mrsugar || this == ModItems.can_overcharge || this == ModItems.can_redbomb || this == ModItems.can_smart) { + if (p_77654_1_.stackSize <= 0) + { + return new ItemStack(ModItems.can_empty); + } + + p_77654_3_.inventory.addItemStackToInventory(new ItemStack(ModItems.can_empty)); + } + + if(this == ModItems.bottle_cherry || this == ModItems.bottle_nuka || this == ModItems.bottle_quantum) { + if (p_77654_1_.stackSize <= 0) + { + return new ItemStack(ModItems.bottle_empty); + } + + p_77654_3_.inventory.addItemStackToInventory(new ItemStack(ModItems.bottle_empty)); + } + + if(this == ModItems.bottle2_korl || this == ModItems.bottle2_fritz || this == ModItems.bottle2_korl_special || this == ModItems.bottle2_fritz_special) { + if (p_77654_1_.stackSize <= 0) + { + return new ItemStack(ModItems.bottle2_empty); + } + + p_77654_3_.inventory.addItemStackToInventory(new ItemStack(ModItems.bottle2_empty)); + } + } + + return p_77654_1_; + } + + public int getMaxItemUseDuration(ItemStack p_77626_1_) + { + return 32; + } + + public EnumAction getItemUseAction(ItemStack p_77661_1_) + { + return EnumAction.drink; + } + + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) + { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + return p_77659_1_; + } + + @SideOnly(Side.CLIENT) + public void addInformation(ItemStack p_77624_1_, EntityPlayer p_77624_2_, List list, boolean p_77624_4_) + { + if(this == ModItems.can_smart) + { + list.add("Cheap and full of bubbles"); + } + if(this == ModItems.can_creature) + { + list.add("Basically gasoline in a tin can"); + } + if(this == ModItems.can_redbomb) + { + list.add("Liquefied explosives"); + } + if(this == ModItems.can_mrsugar) + { + list.add("An intellectual drink, for the chosen ones!"); + } + if(this == ModItems.can_overcharge) + { + list.add("Possible side effects include heart attacks, seizures or zombification"); + } + if(this == ModItems.chocolate_milk) + { + list.add("Regular chocolate milk. Safe to drink."); + list.add("Totally not made from nitroglycerine."); + } + if(this == ModItems.bottle_nuka) + { + list.add("Contains about 210 kcal and 1500 mSv."); + } + if(this == ModItems.bottle_cherry) + { + list.add("Now with severe radiation poisoning in every seventh bottle!"); + } + if(this == ModItems.bottle_quantum) + { + list.add("Comes with a colorful mix of over 70 isotopes!"); + } + if(this == ModItems.bottle2_korl) + { + list.add("Contains actual orange juice!"); + } + if(this == ModItems.bottle2_fritz) + { + list.add("moremore caffeine"); + } + if(this == ModItems.bottle2_korl_special) + { + if(MainRegistry.polaroidID == 11) + list.add("shgehgev u rguer"); + else + list.add("Contains actual orange juice!"); + } + if(this == ModItems.bottle2_fritz_special) + { + if(MainRegistry.polaroidID == 11) + list.add("ygrogr fgrof bf"); + else + list.add("moremore caffeine"); + } + } +} diff --git a/com/hbm/items/food/ItemLemon.java b/com/hbm/items/food/ItemLemon.java index 7532521c2..16726ea20 100644 --- a/com/hbm/items/food/ItemLemon.java +++ b/com/hbm/items/food/ItemLemon.java @@ -1,21 +1,21 @@ -package com.hbm.items.food; - -import java.util.List; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemStack; - -public class ItemLemon extends ItemFood { - - public ItemLemon(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) { - super(p_i45339_1_, p_i45339_2_, p_i45339_3_); - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Eh, good enough."); - } - -} +package com.hbm.items.food; + +import java.util.List; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemStack; + +public class ItemLemon extends ItemFood { + + public ItemLemon(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) { + super(p_i45339_1_, p_i45339_2_, p_i45339_3_); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Eh, good enough."); + } + +} diff --git a/com/hbm/items/food/ItemNugget.java b/com/hbm/items/food/ItemNugget.java index f7a2f75ae..cdd02da67 100644 --- a/com/hbm/items/food/ItemNugget.java +++ b/com/hbm/items/food/ItemNugget.java @@ -1,26 +1,26 @@ -package com.hbm.items.food; - -import java.util.List; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemStack; - -public class ItemNugget extends ItemFood { - - public ItemNugget(int p_i45340_1_, boolean p_i45340_2_) { - super(p_i45340_1_, p_i45340_2_); - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - if (this == ModItems.gun_moist_nugget) { - list.add("A Moisn-Na...no wait, it's"); - list.add("just a moist nugget."); - } - } - -} +package com.hbm.items.food; + +import java.util.List; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemStack; + +public class ItemNugget extends ItemFood { + + public ItemNugget(int p_i45340_1_, boolean p_i45340_2_) { + super(p_i45340_1_, p_i45340_2_); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + if (this == ModItems.gun_moist_nugget) { + list.add("A Moisn-Na...no wait, it's"); + list.add("just a moist nugget."); + } + } + +} diff --git a/com/hbm/items/food/ItemSchnitzelVegan.java b/com/hbm/items/food/ItemSchnitzelVegan.java index d901a191f..f6d105d67 100644 --- a/com/hbm/items/food/ItemSchnitzelVegan.java +++ b/com/hbm/items/food/ItemSchnitzelVegan.java @@ -1,31 +1,31 @@ -package com.hbm.items.food; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class ItemSchnitzelVegan extends ItemFood { - - public ItemSchnitzelVegan(int hunger, boolean isDogFood) { - super(hunger, isDogFood); - } - - @Override - protected void onFoodEaten(ItemStack stack, World world, EntityPlayer player) - { - if (!world.isRemote) - { - player.addPotionEffect(new PotionEffect(Potion.blindness.id, 10 * 20, 0)); - player.addPotionEffect(new PotionEffect(Potion.confusion.id, 30 * 20, 0)); - player.addPotionEffect(new PotionEffect(Potion.hunger.id, 3 * 60 * 20, 4)); - player.addPotionEffect(new PotionEffect(Potion.wither.id, 3 * 20, 0)); - - player.setFire(5 * 20); - player.motionY = 2; - } - } - -} +package com.hbm.items.food; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemSchnitzelVegan extends ItemFood { + + public ItemSchnitzelVegan(int hunger, boolean isDogFood) { + super(hunger, isDogFood); + } + + @Override + protected void onFoodEaten(ItemStack stack, World world, EntityPlayer player) + { + if (!world.isRemote) + { + player.addPotionEffect(new PotionEffect(Potion.blindness.id, 10 * 20, 0)); + player.addPotionEffect(new PotionEffect(Potion.confusion.id, 30 * 20, 0)); + player.addPotionEffect(new PotionEffect(Potion.hunger.id, 3 * 60 * 20, 4)); + player.addPotionEffect(new PotionEffect(Potion.wither.id, 3 * 20, 0)); + + player.setFire(5 * 20); + player.motionY = 2; + } + } + +} diff --git a/com/hbm/items/food/ItemTemFlakes.java b/com/hbm/items/food/ItemTemFlakes.java index fa0b8c808..d6eee715b 100644 --- a/com/hbm/items/food/ItemTemFlakes.java +++ b/com/hbm/items/food/ItemTemFlakes.java @@ -1,54 +1,54 @@ -package com.hbm.items.food; - -import java.util.List; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; - -public class ItemTemFlakes extends ItemFood { - - public ItemTemFlakes(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) { - super(p_i45339_1_, p_i45339_2_, p_i45339_3_); - this.setHasSubtypes(true); - this.setAlwaysEdible(); - } - - @Override - protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_) - { - p_77849_3_.heal(2F); - } - - @Override - @SideOnly(Side.CLIENT) - public void getSubItems(Item p_150895_1_, CreativeTabs p_150895_2_, List p_150895_3_) - { - p_150895_3_.add(new ItemStack(p_150895_1_, 1, 0)); - p_150895_3_.add(new ItemStack(p_150895_1_, 1, 1)); - p_150895_3_.add(new ItemStack(p_150895_1_, 1, 2)); - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - if(itemstack.getItemDamage() == 0) - { - list.add("Heals 2HP DISCOUNT FOOD OF TEM!!!"); - } - if(itemstack.getItemDamage() == 1) - { - list.add("Heals 2HP food of tem"); - } - if(itemstack.getItemDamage() == 2) - { - list.add("Heals food of tem (expensiv)"); - } - } - -} +package com.hbm.items.food; + +import java.util.List; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; + +public class ItemTemFlakes extends ItemFood { + + public ItemTemFlakes(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_) { + super(p_i45339_1_, p_i45339_2_, p_i45339_3_); + this.setHasSubtypes(true); + this.setAlwaysEdible(); + } + + @Override + protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_) + { + p_77849_3_.heal(2F); + } + + @Override + @SideOnly(Side.CLIENT) + public void getSubItems(Item p_150895_1_, CreativeTabs p_150895_2_, List p_150895_3_) + { + p_150895_3_.add(new ItemStack(p_150895_1_, 1, 0)); + p_150895_3_.add(new ItemStack(p_150895_1_, 1, 1)); + p_150895_3_.add(new ItemStack(p_150895_1_, 1, 2)); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(itemstack.getItemDamage() == 0) + { + list.add("Heals 2HP DISCOUNT FOOD OF TEM!!!"); + } + if(itemstack.getItemDamage() == 1) + { + list.add("Heals 2HP food of tem"); + } + if(itemstack.getItemDamage() == 2) + { + list.add("Heals food of tem (expensiv)"); + } + } + +} diff --git a/com/hbm/items/food/ItemWaffle.java b/com/hbm/items/food/ItemWaffle.java index 5e0472f27..6b4f2f9ad 100644 --- a/com/hbm/items/food/ItemWaffle.java +++ b/com/hbm/items/food/ItemWaffle.java @@ -1,32 +1,32 @@ -package com.hbm.items.food; - -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.explosion.ExplosionParticle; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemFood; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; - -public class ItemWaffle extends ItemFood { - - public ItemWaffle(int heal, boolean canWolfEat) { - super(heal, canWolfEat); - } - - @Override - public void onFoodEaten(ItemStack stack, World world, EntityPlayer player) - { - EntityNukeExplosionAdvanced explosion = new EntityNukeExplosionAdvanced(world); - explosion.speed = 25; - explosion.coefficient = 5.0F; - explosion.destructionRange = 25; - explosion.posX = player.posX; - explosion.posY = player.posY; - explosion.posZ = player.posZ; - world.spawnEntityInWorld(explosion); - - ExplosionParticle.spawnMush(world, (int)player.posX, (int)player.posY - 3, (int)player.posZ); - } - -} +package com.hbm.items.food; + +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionParticle; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemFood; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; + +public class ItemWaffle extends ItemFood { + + public ItemWaffle(int heal, boolean canWolfEat) { + super(heal, canWolfEat); + } + + @Override + public void onFoodEaten(ItemStack stack, World world, EntityPlayer player) + { + EntityNukeExplosionAdvanced explosion = new EntityNukeExplosionAdvanced(world); + explosion.speed = 25; + explosion.coefficient = 5.0F; + explosion.destructionRange = 25; + explosion.posX = player.posX; + explosion.posY = player.posY; + explosion.posZ = player.posZ; + world.spawnEntityInWorld(explosion); + + ExplosionParticle.spawnMush(world, (int)player.posX, (int)player.posY - 3, (int)player.posZ); + } + +} diff --git a/com/hbm/items/gear/ArmorAustralium.java b/com/hbm/items/gear/ArmorAustralium.java new file mode 100644 index 000000000..811cdf195 --- /dev/null +++ b/com/hbm/items/gear/ArmorAustralium.java @@ -0,0 +1,85 @@ +package com.hbm.items.gear; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.RefStrings; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemArmor; +import net.minecraft.item.ItemArmor.ArmorMaterial; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.DamageSource; +import net.minecraft.world.World; +import net.minecraftforge.common.ISpecialArmor; + +public class ArmorAustralium extends ItemArmor { + + Random rand = new Random(); + + public ArmorAustralium(ArmorMaterial armorMaterial, int renderIndex, int armorType) { + super(armorMaterial, renderIndex, armorType); + } + + @Override + public void onArmorTick(World world, EntityPlayer player, ItemStack armor) { + if(armor.getItemDamage() < armor.getMaxDamage()) { + if (armor.getItem() == ModItems.australium_iii) { + if(rand.nextInt(3) == 0) { + armor.damageItem(1, player); + } + player.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 10, 2, true)); + } + if (armor.getItem() == ModItems.australium_iv) { + if(rand.nextInt(5) == 0) { + armor.damageItem(1, player); + } + player.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 10, 4, true)); + } + if (armor.getItem() == ModItems.australium_v) { + if(rand.nextInt(7) == 0) { + armor.damageItem(1, player); + } + player.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 10, 3, true)); + } + } + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + if (itemstack.getItem() == ModItems.australium_iii) + list.add("Ouch, that hurts."); + if (itemstack.getItem() == ModItems.australium_iv) + list.add("Just do it."); + if (itemstack.getItem() == ModItems.australium_v) + list.add("Gobbles up less australium than Mark IV!"); + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { + if(stack.getItem().equals(ModItems.australium_iii)) { + return (RefStrings.MODID + ":textures/armor/australium_iii.png"); + } + if(stack.getItem().equals(ModItems.australium_iv)) { + return (RefStrings.MODID + ":textures/armor/australium_iv.png"); + } + if(stack.getItem().equals(ModItems.australium_v)) { + return (RefStrings.MODID + ":textures/armor/australium_v.png"); + } + + else return null; + } + +} diff --git a/com/hbm/items/gear/ArmorEuphemium.java b/com/hbm/items/gear/ArmorEuphemium.java index 72ff79347..088cccb8f 100644 --- a/com/hbm/items/gear/ArmorEuphemium.java +++ b/com/hbm/items/gear/ArmorEuphemium.java @@ -1,98 +1,98 @@ -package com.hbm.items.gear; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemArmor; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.DamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; -import net.minecraftforge.common.ISpecialArmor; - -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.lib.RefStrings; - -public class ArmorEuphemium extends ItemArmor implements ISpecialArmor { - private String [] armourTypes = new String [] {"euphemium_helmet", "euphemium_chest", "euphemium_legs", "euphemium_boots"}; - - public ArmorEuphemium(ArmorMaterial armorMaterial, int renderIndex, int armorType) { - super(armorMaterial, renderIndex, armorType); - this.setCreativeTab(null); - } - - @Override - public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { - if(stack.getItem().equals(ModItems.euphemium_helmet) || stack.getItem().equals(ModItems.euphemium_plate) || stack.getItem().equals(ModItems.euphemium_boots)) { - return (RefStrings.MODID + ":textures/armor/euphemium_1.png"); - } - if(stack.getItem().equals(ModItems.euphemium_legs)) { - return (RefStrings.MODID + ":textures/armor/euphemium_2.png"); - } - - else return null; - } - - @Override - public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot) { - if(player instanceof EntityPlayer && Library.checkArmor((EntityPlayer)player, ModItems.euphemium_helmet, ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots)) - { - return new ArmorProperties(1, 1, MathHelper.floor_double(999999999)); - } - return new ArmorProperties(0, 0, 0); - } - - @Override - public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) { - if(slot == 0) - { - return 3; - } - if(slot == 1) - { - return 8; - } - if(slot == 2) - { - return 6; - } - if(slot == 3) - { - return 3; - } - return 0; - } - - - @Override - public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot) { - stack.damageItem(damage * 0, entity); - } - - @Override - public void onArmorTick(World world, EntityPlayer player, ItemStack armor) { - if(player instanceof EntityPlayer && Library.checkArmor((EntityPlayer)player, ModItems.euphemium_helmet, ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots)) - { - player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 5, 127, true)); - player.addPotionEffect(new PotionEffect(Potion.resistance.id, 5, 127, true)); - player.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 5, 127, true)); - player.addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 5, 127, true)); - - if(player.motionY < -0.25D) - { - player.motionY = -0.25D; - } - } - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - return EnumRarity.epic; - } - -} +package com.hbm.items.gear; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemArmor; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.DamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; +import net.minecraftforge.common.ISpecialArmor; + +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.RefStrings; + +public class ArmorEuphemium extends ItemArmor implements ISpecialArmor { + private String [] armourTypes = new String [] {"euphemium_helmet", "euphemium_chest", "euphemium_legs", "euphemium_boots"}; + + public ArmorEuphemium(ArmorMaterial armorMaterial, int renderIndex, int armorType) { + super(armorMaterial, renderIndex, armorType); + this.setCreativeTab(null); + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { + if(stack.getItem().equals(ModItems.euphemium_helmet) || stack.getItem().equals(ModItems.euphemium_plate) || stack.getItem().equals(ModItems.euphemium_boots)) { + return (RefStrings.MODID + ":textures/armor/euphemium_1.png"); + } + if(stack.getItem().equals(ModItems.euphemium_legs)) { + return (RefStrings.MODID + ":textures/armor/euphemium_2.png"); + } + + else return null; + } + + @Override + public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot) { + if(player instanceof EntityPlayer && Library.checkArmor((EntityPlayer)player, ModItems.euphemium_helmet, ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots)) + { + return new ArmorProperties(1, 1, MathHelper.floor_double(999999999)); + } + return new ArmorProperties(0, 0, 0); + } + + @Override + public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) { + if(slot == 0) + { + return 3; + } + if(slot == 1) + { + return 8; + } + if(slot == 2) + { + return 6; + } + if(slot == 3) + { + return 3; + } + return 0; + } + + + @Override + public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot) { + stack.damageItem(damage * 0, entity); + } + + @Override + public void onArmorTick(World world, EntityPlayer player, ItemStack armor) { + if(player instanceof EntityPlayer && Library.checkArmor((EntityPlayer)player, ModItems.euphemium_helmet, ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots)) + { + player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 5, 127, true)); + player.addPotionEffect(new PotionEffect(Potion.resistance.id, 5, 127, true)); + player.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 5, 127, true)); + player.addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 5, 127, true)); + + if(player.motionY < -0.25D) + { + player.motionY = -0.25D; + } + } + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.epic; + } + +} diff --git a/com/hbm/items/gear/ArmorHazmat.java b/com/hbm/items/gear/ArmorHazmat.java index 4e27792f1..f62013375 100644 --- a/com/hbm/items/gear/ArmorHazmat.java +++ b/com/hbm/items/gear/ArmorHazmat.java @@ -1,34 +1,34 @@ -package com.hbm.items.gear; - -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; - -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemArmor; -import net.minecraft.item.ItemStack; - -public class ArmorHazmat extends ItemArmor { - - public ArmorHazmat(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) { - super(p_i45325_1_, p_i45325_2_, p_i45325_3_); - } - - @Override - public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { - if(stack.getItem().equals(ModItems.hazmat_helmet) || stack.getItem().equals(ModItems.hazmat_plate) || stack.getItem().equals(ModItems.hazmat_boots)) { - return (RefStrings.MODID + ":textures/armor/hazmat_1.png"); - } - if(stack.getItem().equals(ModItems.hazmat_legs)) { - return (RefStrings.MODID + ":textures/armor/hazmat_2.png"); - } - if(stack.getItem().equals(ModItems.hazmat_paa_helmet) || stack.getItem().equals(ModItems.hazmat_paa_plate) || stack.getItem().equals(ModItems.hazmat_paa_boots)) { - return (RefStrings.MODID + ":textures/armor/hazmat_paa_1.png"); - } - if(stack.getItem().equals(ModItems.hazmat_paa_legs)) { - return (RefStrings.MODID + ":textures/armor/hazmat_paa_2.png"); - } - - else return null; - } - -} +package com.hbm.items.gear; + +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemArmor; +import net.minecraft.item.ItemStack; + +public class ArmorHazmat extends ItemArmor { + + public ArmorHazmat(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) { + super(p_i45325_1_, p_i45325_2_, p_i45325_3_); + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { + if(stack.getItem().equals(ModItems.hazmat_helmet) || stack.getItem().equals(ModItems.hazmat_plate) || stack.getItem().equals(ModItems.hazmat_boots)) { + return (RefStrings.MODID + ":textures/armor/hazmat_1.png"); + } + if(stack.getItem().equals(ModItems.hazmat_legs)) { + return (RefStrings.MODID + ":textures/armor/hazmat_2.png"); + } + if(stack.getItem().equals(ModItems.hazmat_paa_helmet) || stack.getItem().equals(ModItems.hazmat_paa_plate) || stack.getItem().equals(ModItems.hazmat_paa_boots)) { + return (RefStrings.MODID + ":textures/armor/hazmat_paa_1.png"); + } + if(stack.getItem().equals(ModItems.hazmat_paa_legs)) { + return (RefStrings.MODID + ":textures/armor/hazmat_paa_2.png"); + } + + else return null; + } + +} diff --git a/com/hbm/items/gear/ArmorModel.java b/com/hbm/items/gear/ArmorModel.java index ecda6b071..aa547738e 100644 --- a/com/hbm/items/gear/ArmorModel.java +++ b/com/hbm/items/gear/ArmorModel.java @@ -1,154 +1,179 @@ -package com.hbm.items.gear; - -import java.util.List; - -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.render.model.ModelCloak; -import com.hbm.render.model.ModelGasMask; -import com.hbm.render.model.ModelGoggles; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.client.model.ModelBiped; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemArmor; -import net.minecraft.item.ItemStack; - -public class ArmorModel extends ItemArmor { - @SideOnly(Side.CLIENT) - private ModelGoggles modelGoggles; - private ModelGasMask modelGas; - private ModelCloak modelCloak; - - public ArmorModel(ArmorMaterial armorMaterial, int renderIndex, int armorType) { - super(armorMaterial, renderIndex, armorType); - } - - @Override - public boolean isValidArmor(ItemStack stack, int armorType, Entity entity) { - if (this == ModItems.goggles) { - return armorType == 0; - } - if (this == ModItems.gas_mask) { - return armorType == 0; - } - if (this == ModItems.cape_test) { - return armorType == 1; - } - if (this == ModItems.cape_radiation) { - return armorType == 1; - } - if (this == ModItems.cape_gasmask) { - return armorType == 1; - } - if (this == ModItems.cape_schrabidium) { - return armorType == 1; - } - if (this == ModItems.cape_hbm) { - return armorType == 1; - } - if (this == ModItems.cape_dafnik) { - return armorType == 1; - } - if (this == ModItems.cape_lpkukin) { - return armorType == 1; - } - return armorType == 0; - } - - @Override - @SideOnly(Side.CLIENT) - public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) { - if (this == ModItems.goggles) { - if (armorSlot == 0) { - if (this.modelGoggles == null) { - this.modelGoggles = new ModelGoggles(); - } - return this.modelGoggles; - } - } - if (this == ModItems.gas_mask) { - if (armorSlot == 0) { - if (this.modelGas == null) { - this.modelGas = new ModelGasMask(); - } - return this.modelGas; - } - } - if (this == ModItems.cape_test || this == ModItems.cape_radiation || this == ModItems.cape_gasmask || this == ModItems.cape_schrabidium) { - if (armorSlot == 1) { - if (this.modelCloak == null) { - this.modelCloak = new ModelCloak(); - } - return this.modelCloak; - } - } - if (this == ModItems.cape_hbm || this == ModItems.cape_dafnik || this == ModItems.cape_lpkukin) { - if (armorSlot == 1) { - if (this.modelCloak == null) { - this.modelCloak = new ModelCloak(); - } - return this.modelCloak; - } - } - return null; - } - - @Override - public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) { - if (stack.getItem() == ModItems.goggles) { - return "hbm:textures/models/Goggles.png"; - } - if (stack.getItem() == ModItems.gas_mask) { - return "hbm:textures/models/GasMask.png"; - } - if (stack.getItem() == ModItems.cape_test) { - return "hbm:textures/models/TestCape.png"; - } - if (stack.getItem() == ModItems.cape_radiation) { - return "hbm:textures/models/CapeRadiation.png"; - } - if (stack.getItem() == ModItems.cape_gasmask) { - return "hbm:textures/models/CapeGasMask.png"; - } - if (stack.getItem() == ModItems.cape_schrabidium) { - return "hbm:textures/models/CapeSchrabidium.png"; - } - if (stack.getItem() == ModItems.cape_hbm && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.HbMinecraft)) { - return "hbm:textures/models/CapeHbm.png"; - } - if (stack.getItem() == ModItems.cape_dafnik && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.Dafnik)) { - return "hbm:textures/models/CapeDafnik.png"; - } - if (stack.getItem() == ModItems.cape_lpkukin && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.LPkukin)) { - return "hbm:textures/models/CapeShield.png"; - } - return "hbm:textures/models/CapeUnknown.png"; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - if (itemstack.getItem() == ModItems.cape_radiation) { - list.add("Avalible for everyone"); - } - if (itemstack.getItem() == ModItems.cape_gasmask) { - list.add("Avalible for everyone"); - } - if (itemstack.getItem() == ModItems.cape_schrabidium) { - list.add("Avalible for everyone"); - } - if (itemstack.getItem() == ModItems.cape_hbm) { - list.add("Only works for HbMinecraft"); - } - if (itemstack.getItem() == ModItems.cape_dafnik) { - list.add("Only works for Dafnik"); - } - if (itemstack.getItem() == ModItems.cape_lpkukin) { - list.add("Only works for LPkukin"); - } - } -} +package com.hbm.items.gear; + +import java.util.List; + +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.render.model.ModelCloak; +import com.hbm.render.model.ModelGasMask; +import com.hbm.render.model.ModelGoggles; +import com.hbm.render.model.ModelOxygenMask; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.model.ModelBiped; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemArmor; +import net.minecraft.item.ItemStack; + +public class ArmorModel extends ItemArmor { + @SideOnly(Side.CLIENT) + private ModelGoggles modelGoggles; + private ModelGasMask modelGas; + private ModelCloak modelCloak; + private ModelOxygenMask modelOxy; + + public ArmorModel(ArmorMaterial armorMaterial, int renderIndex, int armorType) { + super(armorMaterial, renderIndex, armorType); + } + + @Override + public boolean isValidArmor(ItemStack stack, int armorType, Entity entity) { + if (this == ModItems.goggles) { + return armorType == 0; + } + if (this == ModItems.gas_mask) { + return armorType == 0; + } + if (this == ModItems.oxy_mask) { + return armorType == 0; + } + if (this == ModItems.cape_test) { + return armorType == 1; + } + if (this == ModItems.cape_radiation) { + return armorType == 1; + } + if (this == ModItems.cape_gasmask) { + return armorType == 1; + } + if (this == ModItems.cape_schrabidium) { + return armorType == 1; + } + if (this == ModItems.cape_hbm) { + return armorType == 1; + } + if (this == ModItems.cape_dafnik) { + return armorType == 1; + } + if (this == ModItems.cape_lpkukin) { + return armorType == 1; + } + if (this == ModItems.cape_vertice) { + return armorType == 1; + } + return armorType == 0; + } + + @Override + @SideOnly(Side.CLIENT) + public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) { + if (this == ModItems.goggles) { + if (armorSlot == 0) { + if (this.modelGoggles == null) { + this.modelGoggles = new ModelGoggles(); + } + return this.modelGoggles; + } + } + if (this == ModItems.gas_mask) { + if (armorSlot == 0) { + if (this.modelGas == null) { + this.modelGas = new ModelGasMask(); + } + return this.modelGas; + } + } + if (this == ModItems.oxy_mask) { + if (armorSlot == 0) { + if (this.modelOxy == null) { + this.modelOxy = new ModelOxygenMask(); + } + return this.modelOxy; + } + } + if (this == ModItems.cape_test || this == ModItems.cape_radiation || this == ModItems.cape_gasmask || this == ModItems.cape_schrabidium) { + if (armorSlot == 1) { + if (this.modelCloak == null) { + this.modelCloak = new ModelCloak(); + } + return this.modelCloak; + } + } + if (this == ModItems.cape_hbm || this == ModItems.cape_dafnik || this == ModItems.cape_lpkukin || this == ModItems.cape_vertice) { + if (armorSlot == 1) { + if (this.modelCloak == null) { + this.modelCloak = new ModelCloak(); + } + return this.modelCloak; + } + } + return null; + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) { + if (stack.getItem() == ModItems.goggles) { + return "hbm:textures/models/Goggles.png"; + } + if (stack.getItem() == ModItems.gas_mask) { + return "hbm:textures/models/GasMask.png"; + } + if (stack.getItem() == ModItems.oxy_mask) { + return null; + } + if (stack.getItem() == ModItems.cape_test) { + return "hbm:textures/models/TestCape.png"; + } + if (stack.getItem() == ModItems.cape_radiation) { + return "hbm:textures/models/CapeRadiation.png"; + } + if (stack.getItem() == ModItems.cape_gasmask) { + return "hbm:textures/models/CapeGasMask.png"; + } + if (stack.getItem() == ModItems.cape_schrabidium) { + return "hbm:textures/models/CapeSchrabidium.png"; + } + if (stack.getItem() == ModItems.cape_hbm && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.HbMinecraft)) { + return "hbm:textures/models/CapeHbm.png"; + } + if (stack.getItem() == ModItems.cape_dafnik && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.Dafnik)) { + return "hbm:textures/models/CapeDafnik.png"; + } + if (stack.getItem() == ModItems.cape_lpkukin && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.LPkukin)) { + return "hbm:textures/models/CapeShield.png"; + } + if (stack.getItem() == ModItems.cape_vertice && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.LordVertice)) { + return "hbm:textures/models/CapeVertice_2.png"; + } + return "hbm:textures/models/CapeUnknown.png"; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + if (itemstack.getItem() == ModItems.cape_radiation) { + list.add("Avalible for everyone"); + } + if (itemstack.getItem() == ModItems.cape_gasmask) { + list.add("Avalible for everyone"); + } + if (itemstack.getItem() == ModItems.cape_schrabidium) { + list.add("Avalible for everyone"); + } + if (itemstack.getItem() == ModItems.cape_hbm) { + list.add("Only works for HbMinecraft"); + } + if (itemstack.getItem() == ModItems.cape_dafnik) { + list.add("Only works for Dafnik"); + } + if (itemstack.getItem() == ModItems.cape_lpkukin) { + list.add("Only works for LPkukin"); + } + if (itemstack.getItem() == ModItems.cape_vertice) { + list.add("Only works for LordVertice"); + } + } +} diff --git a/com/hbm/items/gear/ArmorSchrabidium.java b/com/hbm/items/gear/ArmorSchrabidium.java index 5150ff2db..757fd246b 100644 --- a/com/hbm/items/gear/ArmorSchrabidium.java +++ b/com/hbm/items/gear/ArmorSchrabidium.java @@ -1,107 +1,107 @@ -package com.hbm.items.gear; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemArmor; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.DamageSource; -import net.minecraft.world.World; -import net.minecraftforge.common.ISpecialArmor; - -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; - -public class ArmorSchrabidium extends ItemArmor implements ISpecialArmor { - private String [] armourTypes = new String [] {"schrabidium_helmet", "schrabidium_plate", "schrabidium_legs", "schrabidium_boots"}; - - public ArmorSchrabidium(ArmorMaterial armorMaterial, int renderIndex, int armorType) { - super(armorMaterial, renderIndex, armorType); - } - - @Override - public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { - if(stack.getItem().equals(ModItems.schrabidium_helmet) || stack.getItem().equals(ModItems.schrabidium_plate) || stack.getItem().equals(ModItems.schrabidium_boots)) { - return (RefStrings.MODID + ":textures/armor/schrabidium_1.png"); - } - if(stack.getItem().equals(ModItems.schrabidium_legs)) { - return (RefStrings.MODID + ":textures/armor/schrabidium_2.png"); - } - - else return null; - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - return EnumRarity.rare; - } - - @Override - public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot) { - if(damage >= 20) - { - player.setHealth(player.getHealth() - 1F); - return new ArmorProperties(1, 1, 2000); - } - return new ArmorProperties(1, 1, 2000); - } - - @Override - public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) { - if(slot == 0) - { - return 3; - } - if(slot == 1) - { - return 8; - } - if(slot == 2) - { - return 6; - } - if(slot == 3) - { - return 3; - } - return 0; - } - - @Override - public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot) { - stack.damageItem(damage * 1, entity); - - } - - @Override - public void onArmorTick(World world, EntityPlayer player, ItemStack armor) { - - if(armor.getItem() == ModItems.schrabidium_helmet) - { - player.addPotionEffect(new PotionEffect(Potion.nightVision.id, 5, 0, true)); - player.addPotionEffect(new PotionEffect(Potion.waterBreathing.id, 5, 9, true)); - } - - if(armor.getItem() == ModItems.schrabidium_plate) - { - player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 5, 0, true)); - player.addPotionEffect(new PotionEffect(Potion.resistance.id, 5, 0, true)); - player.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 5, 0, true)); - } - - if(armor.getItem() == ModItems.schrabidium_legs) - { - player.addPotionEffect(new PotionEffect(Potion.jump.id, 5, 4, true)); - } - - if(armor.getItem() == ModItems.schrabidium_boots) - { - player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 5, 4, true)); - } - } - -} +package com.hbm.items.gear; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemArmor; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.DamageSource; +import net.minecraft.world.World; +import net.minecraftforge.common.ISpecialArmor; + +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +public class ArmorSchrabidium extends ItemArmor implements ISpecialArmor { + private String [] armourTypes = new String [] {"schrabidium_helmet", "schrabidium_plate", "schrabidium_legs", "schrabidium_boots"}; + + public ArmorSchrabidium(ArmorMaterial armorMaterial, int renderIndex, int armorType) { + super(armorMaterial, renderIndex, armorType); + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { + if(stack.getItem().equals(ModItems.schrabidium_helmet) || stack.getItem().equals(ModItems.schrabidium_plate) || stack.getItem().equals(ModItems.schrabidium_boots)) { + return (RefStrings.MODID + ":textures/armor/schrabidium_1.png"); + } + if(stack.getItem().equals(ModItems.schrabidium_legs)) { + return (RefStrings.MODID + ":textures/armor/schrabidium_2.png"); + } + + else return null; + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.rare; + } + + @Override + public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot) { + if(damage >= 20) + { + player.setHealth(player.getHealth() - 1F); + return new ArmorProperties(1, 1, 2000); + } + return new ArmorProperties(1, 1, 2000); + } + + @Override + public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) { + if(slot == 0) + { + return 3; + } + if(slot == 1) + { + return 8; + } + if(slot == 2) + { + return 6; + } + if(slot == 3) + { + return 3; + } + return 0; + } + + @Override + public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot) { + stack.damageItem(damage * 1, entity); + + } + + @Override + public void onArmorTick(World world, EntityPlayer player, ItemStack armor) { + + if(armor.getItem() == ModItems.schrabidium_helmet) + { + player.addPotionEffect(new PotionEffect(Potion.nightVision.id, 5, 0, true)); + player.addPotionEffect(new PotionEffect(Potion.waterBreathing.id, 5, 9, true)); + } + + if(armor.getItem() == ModItems.schrabidium_plate) + { + player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 5, 0, true)); + player.addPotionEffect(new PotionEffect(Potion.resistance.id, 5, 0, true)); + player.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 5, 0, true)); + } + + if(armor.getItem() == ModItems.schrabidium_legs) + { + player.addPotionEffect(new PotionEffect(Potion.jump.id, 5, 4, true)); + } + + if(armor.getItem() == ModItems.schrabidium_boots) + { + player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 5, 4, true)); + } + } + +} diff --git a/com/hbm/items/gear/ArmorT45.java b/com/hbm/items/gear/ArmorT45.java index 1e4630cfa..a7cbcc184 100644 --- a/com/hbm/items/gear/ArmorT45.java +++ b/com/hbm/items/gear/ArmorT45.java @@ -1,248 +1,224 @@ -package com.hbm.items.gear; - -import java.util.List; - -import com.google.common.collect.Multimap; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.render.model.ModelT45Boots; -import com.hbm.render.model.ModelT45Chest; -import com.hbm.render.model.ModelT45Helmet; -import com.hbm.render.model.ModelT45Legs; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.client.model.ModelBiped; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.SharedMonsterAttributes; -import net.minecraft.entity.ai.attributes.AttributeModifier; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.util.DamageSource; -import net.minecraft.util.EntityDamageSource; -import net.minecraft.util.MathHelper; -import net.minecraft.world.World; -import net.minecraft.item.ItemArmor; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraftforge.common.ISpecialArmor; - -public class ArmorT45 extends ItemArmor implements ISpecialArmor { - @SideOnly(Side.CLIENT) - private ModelT45Helmet helmet; - private ModelT45Chest plate; - private ModelT45Legs legs; - private ModelT45Boots boots; - - public ArmorT45(ArmorMaterial armorMaterial, int renderIndex, int armorType) - { - super(armorMaterial, renderIndex, armorType); - } - - @Override - public boolean isValidArmor(ItemStack stack, int armorType, Entity entity) - { - if(stack.getItem() == ModItems.t45_helmet) - return armorType == 0; - if(stack.getItem() == ModItems.t45_plate) - return armorType == 1; - if(stack.getItem() == ModItems.t45_legs) - return armorType == 2; - if(stack.getItem() == ModItems.t45_boots) - return armorType == 3; - return false; - } - - @Override - @SideOnly(Side.CLIENT) - public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) - { - if(this == ModItems.t45_helmet) - { - if (armorSlot == 0) - { - if (this.helmet == null) { - this.helmet = new ModelT45Helmet(); - } - return this.helmet; - } - } - if(this == ModItems.t45_plate) - { - if (armorSlot == 1) - { - if (this.plate == null) { - this.plate = new ModelT45Chest(); - } - return this.plate; - } - } - if(this == ModItems.t45_legs) - { - if (armorSlot == 2) - { - if (this.legs == null) { - this.legs = new ModelT45Legs(); - } - return this.legs; - } - } - if(this == ModItems.t45_boots) - { - if (armorSlot == 3) - { - if (this.boots == null) { - this.boots = new ModelT45Boots(); - } - return this.boots; - } - } - return null; - } - - @Override - public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) - { - if(stack.getItem() == ModItems.t45_helmet) - { - return "hbm:textures/models/T45Helmet.png"; - } - if(stack.getItem() == ModItems.t45_plate) - { - return "hbm:textures/models/T45Chest.png"; - } - if(stack.getItem() == ModItems.t45_legs) - { - return "hbm:textures/models/T45Legs.png"; - } - if(stack.getItem() == ModItems.t45_boots) - { - return "hbm:textures/models/T45Boots.png"; - } - return null; - } - - @Override - public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot) { - //return null; - if(player instanceof EntityPlayer && Library.checkArmor((EntityPlayer)player, ModItems.t45_helmet, ModItems.t45_plate, ModItems.t45_legs, ModItems.t45_boots)) - { - if(source == DamageSource.inFire || source == DamageSource.onFire || source == DamageSource.fall || source == DamageSource.drown || source == DamageSource.cactus || source == DamageSource.magic || source.isProjectile()) - return new ArmorProperties(1, 1, MathHelper.floor_double(999999999)); - if(source == DamageSource.fallingBlock || source == DamageSource.anvil) - return new ArmorProperties(1, 1, MathHelper.floor_double(10)); - if(source == DamageSource.lava) - return new ArmorProperties(1, 1, MathHelper.floor_double(5)); - if(source.isExplosion()) - return new ArmorProperties(1, 1, MathHelper.floor_double(10)); - } - return new ArmorProperties(1, 1, MathHelper.floor_double(15)); - } - - @Override - public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) { - if(slot == 0) - { - return 3; - } - if(slot == 1) - { - return 8; - } - if(slot == 2) - { - return 6; - } - if(slot == 3) - { - return 3; - } - return 0; - } - - @Override - public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot) { - if(source != DamageSource.cactus && source != DamageSource.drown && source != DamageSource.fall) - stack.damageItem(damage * 1, entity); - - } - - @Override - public void onArmorTick(World world, EntityPlayer player, ItemStack armor) { - if(armor.getItem() == ModItems.t45_plate) - { - if(armor.stackTagCompound == null) - { - armor.stackTagCompound = new NBTTagCompound(); - armor.stackTagCompound.setInteger("charge", 0); - } - if(armor.stackTagCompound.getInteger("charge") <= 0){ - for(int i = 0; i < player.inventory.mainInventory.length; i++) - { - ItemStack stack = player.inventory.getStackInSlot(i); - if(stack != null && stack.getItem() == ModItems.fusion_core && stack.getItemDamage() != stack.getMaxDamage()) - { - if(armor.stackTagCompound.getInteger("charge") == 0) - { - if(world.isRemote && armor.stackTagCompound.getInteger("charge") == 0) - { - } - if(!player.worldObj.isRemote) - { - int j = stack.getItemDamage(); - armor.stackTagCompound.setInteger("charge", stack.getMaxDamage() - j); - player.inventory.mainInventory[i] = null; - player.addChatMessage(new ChatComponentText("[Power Armor recharged]")); - break; - } - } - } - } - } - - if(armor.stackTagCompound.getInteger("charge") > 0 && Library.checkArmor(player, ModItems.t45_helmet, ModItems.t45_plate, ModItems.t45_legs, ModItems.t45_boots)) - { - armor.stackTagCompound.setInteger("charge", armor.stackTagCompound.getInteger("charge") - 1); - } - } - - if(Library.checkArmor(player, ModItems.t45_helmet, ModItems.t45_plate, ModItems.t45_legs, ModItems.t45_boots)) - { - if(player.inventory.armorInventory[2] != null && player.inventory.armorInventory[2].getItem() == ModItems.t45_plate && player.inventory.armorInventory[2].stackTagCompound != null && player.inventory.armorInventory[2].stackTagCompound.getInteger("charge") > 0) - { - player.addPotionEffect(new PotionEffect(Potion.jump.id, 5, 0, true)); - player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 5, 1, true)); - player.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 5, 2, true)); - player.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 5, 0, true)); - } else { - player.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 5, 1, true)); - player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 5, 0, true)); - } - } - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - if(itemstack.getItem() == ModItems.t45_plate) - { - if(itemstack.stackTagCompound != null) - { - if(itemstack.stackTagCompound.getInteger("charge") != 0) - list.add("Charge: " + (itemstack.stackTagCompound.getInteger("charge") / 50 + 1) + "%"); - else - list.add("Charge: " + (itemstack.stackTagCompound.getInteger("charge") / 50) + "%"); - } - } - } - - public Multimap getItemAttributeModifiers() - { - Multimap multimap = super.getItemAttributeModifiers(); - multimap.put(SharedMonsterAttributes.knockbackResistance.getAttributeUnlocalizedName(), new AttributeModifier(field_111210_e, "Armor modifier", (double)0.5, 0)); - return multimap; - } -} +package com.hbm.items.gear; + +import java.util.List; + +import com.google.common.collect.Multimap; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.render.model.ModelT45Boots; +import com.hbm.render.model.ModelT45Chest; +import com.hbm.render.model.ModelT45Helmet; +import com.hbm.render.model.ModelT45Legs; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.model.ModelBiped; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.DamageSource; +import net.minecraft.util.EntityDamageSource; +import net.minecraft.util.MathHelper; +import net.minecraft.world.World; +import net.minecraft.item.ItemArmor; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraftforge.common.ISpecialArmor; + +public class ArmorT45 extends ItemArmor implements ISpecialArmor { + @SideOnly(Side.CLIENT) + private ModelT45Helmet helmet; + private ModelT45Chest plate; + private ModelT45Legs legs; + private ModelT45Boots boots; + + public ArmorT45(ArmorMaterial armorMaterial, int renderIndex, int armorType) { + super(armorMaterial, renderIndex, armorType); + } + + @Override + public boolean isValidArmor(ItemStack stack, int armorType, Entity entity) { + if (stack.getItem() == ModItems.t45_helmet) + return armorType == 0; + if (stack.getItem() == ModItems.t45_plate) + return armorType == 1; + if (stack.getItem() == ModItems.t45_legs) + return armorType == 2; + if (stack.getItem() == ModItems.t45_boots) + return armorType == 3; + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) { + if (this == ModItems.t45_helmet) { + if (armorSlot == 0) { + if (this.helmet == null) { + this.helmet = new ModelT45Helmet(); + } + return this.helmet; + } + } + if (this == ModItems.t45_plate) { + if (armorSlot == 1) { + if (this.plate == null) { + this.plate = new ModelT45Chest(); + } + return this.plate; + } + } + if (this == ModItems.t45_legs) { + if (armorSlot == 2) { + if (this.legs == null) { + this.legs = new ModelT45Legs(); + } + return this.legs; + } + } + if (this == ModItems.t45_boots) { + if (armorSlot == 3) { + if (this.boots == null) { + this.boots = new ModelT45Boots(); + } + return this.boots; + } + } + return null; + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) { + if (stack.getItem() == ModItems.t45_helmet) { + return "hbm:textures/models/T45Helmet.png"; + } + if (stack.getItem() == ModItems.t45_plate) { + return "hbm:textures/models/T45Chest.png"; + } + if (stack.getItem() == ModItems.t45_legs) { + return "hbm:textures/models/T45Legs.png"; + } + if (stack.getItem() == ModItems.t45_boots) { + return "hbm:textures/models/T45Boots.png"; + } + return null; + } + + @Override + public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, + int slot) { + // return null; + if (player instanceof EntityPlayer && Library.checkArmor((EntityPlayer) player, ModItems.t45_helmet, + ModItems.t45_plate, ModItems.t45_legs, ModItems.t45_boots)) { + if (source == DamageSource.inFire || source == DamageSource.onFire || source == DamageSource.fall + || source == DamageSource.drown || source == DamageSource.cactus || source == DamageSource.magic + || source.isProjectile()) + return new ArmorProperties(1, 1, MathHelper.floor_double(999999999)); + if (source == DamageSource.fallingBlock || source == DamageSource.anvil) + return new ArmorProperties(1, 1, MathHelper.floor_double(10)); + if (source == DamageSource.lava) + return new ArmorProperties(1, 1, MathHelper.floor_double(5)); + if (source.isExplosion()) + return new ArmorProperties(1, 1, MathHelper.floor_double(10)); + } + return new ArmorProperties(1, 1, MathHelper.floor_double(15)); + } + + @Override + public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) { + if (slot == 0) { + return 3; + } + if (slot == 1) { + return 8; + } + if (slot == 2) { + return 6; + } + if (slot == 3) { + return 3; + } + return 0; + } + + @Override + public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot) { + if (source != DamageSource.cactus && source != DamageSource.drown && source != DamageSource.fall) + stack.damageItem(damage * 1, entity); + + } + + @Override + public void onArmorTick(World world, EntityPlayer player, ItemStack armor) { + if (armor.getItem() == ModItems.t45_plate) { + if (armor.stackTagCompound == null) { + armor.stackTagCompound = new NBTTagCompound(); + armor.stackTagCompound.setInteger("charge", 0); + } + if (armor.stackTagCompound.getInteger("charge") <= 0) { + for (int i = 0; i < player.inventory.mainInventory.length; i++) { + ItemStack stack = player.inventory.getStackInSlot(i); + if (stack != null && stack.getItem() == ModItems.fusion_core + && stack.getItemDamage() != stack.getMaxDamage()) { + if (armor.stackTagCompound.getInteger("charge") == 0) { + if (world.isRemote && armor.stackTagCompound.getInteger("charge") == 0) { + } + if (!player.worldObj.isRemote) { + int j = stack.getItemDamage(); + armor.stackTagCompound.setInteger("charge", stack.getMaxDamage() - j); + player.inventory.mainInventory[i] = null; + player.addChatMessage(new ChatComponentText("[Power Armor recharged]")); + break; + } + } + } + } + } + + if (armor.stackTagCompound.getInteger("charge") > 0 && Library.checkArmor(player, ModItems.t45_helmet, + ModItems.t45_plate, ModItems.t45_legs, ModItems.t45_boots)) { + armor.stackTagCompound.setInteger("charge", armor.stackTagCompound.getInteger("charge") - 1); + } + } + + if (Library.checkArmor(player, ModItems.t45_helmet, ModItems.t45_plate, ModItems.t45_legs, + ModItems.t45_boots)) { + if (player.inventory.armorInventory[2] != null + && player.inventory.armorInventory[2].getItem() == ModItems.t45_plate + && player.inventory.armorInventory[2].stackTagCompound != null + && player.inventory.armorInventory[2].stackTagCompound.getInteger("charge") > 0) { + player.addPotionEffect(new PotionEffect(Potion.jump.id, 5, 0, true)); + player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 5, 1, true)); + player.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 5, 2, true)); + player.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 5, 0, true)); + } else { + player.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 5, 1, true)); + player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 5, 0, true)); + } + } + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + if (itemstack.getItem() == ModItems.t45_plate) { + if (itemstack.stackTagCompound != null) { + if (itemstack.stackTagCompound.getInteger("charge") != 0) + list.add("Charge: " + (itemstack.stackTagCompound.getInteger("charge") / 50 + 1) + "%"); + else + list.add("Charge: " + (itemstack.stackTagCompound.getInteger("charge") / 50) + "%"); + } + } + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.knockbackResistance.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Armor modifier", (double) 0.5, 0)); + return multimap; + } +} diff --git a/com/hbm/items/gear/ArmorTest.java b/com/hbm/items/gear/ArmorTest.java index 75aca91ae..0a236df19 100644 --- a/com/hbm/items/gear/ArmorTest.java +++ b/com/hbm/items/gear/ArmorTest.java @@ -1,29 +1,29 @@ -package com.hbm.items.gear; - -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; - -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemArmor; -import net.minecraft.item.ItemStack; - -public class ArmorTest extends ItemArmor { - private String [] armourTypes = new String [] {"test_helmet", "test_chestplate", "test_leggings", "test_boots"}; - - public ArmorTest(ArmorMaterial armorMaterial, int renderIndex, int armorType) { - super(armorMaterial, renderIndex, armorType); - } - - @Override - public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { - if(stack.getItem().equals(ModItems.test_helmet) || stack.getItem().equals(ModItems.test_chestplate) || stack.getItem().equals(ModItems.test_boots)) { - return (RefStrings.MODID + ":textures/armor/test_1.png"); - } - if(stack.getItem().equals(ModItems.test_leggings)) { - return (RefStrings.MODID + ":textures/armor/test_2.png"); - } - - else return null; - } - -} +package com.hbm.items.gear; + +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemArmor; +import net.minecraft.item.ItemStack; + +public class ArmorTest extends ItemArmor { + private String [] armourTypes = new String [] {"test_helmet", "test_chestplate", "test_leggings", "test_boots"}; + + public ArmorTest(ArmorMaterial armorMaterial, int renderIndex, int armorType) { + super(armorMaterial, renderIndex, armorType); + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { + if(stack.getItem().equals(ModItems.test_helmet) || stack.getItem().equals(ModItems.test_chestplate) || stack.getItem().equals(ModItems.test_boots)) { + return (RefStrings.MODID + ":textures/armor/test_1.png"); + } + if(stack.getItem().equals(ModItems.test_leggings)) { + return (RefStrings.MODID + ":textures/armor/test_2.png"); + } + + else return null; + } + +} diff --git a/com/hbm/items/gear/AxeSchrabidium.java b/com/hbm/items/gear/AxeSchrabidium.java index ca2928271..ebb07a2b9 100644 --- a/com/hbm/items/gear/AxeSchrabidium.java +++ b/com/hbm/items/gear/AxeSchrabidium.java @@ -1,19 +1,19 @@ -package com.hbm.items.gear; - -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemAxe; -import net.minecraft.item.ItemStack; - -public class AxeSchrabidium extends ItemAxe { - - public AxeSchrabidium(ToolMaterial p_i45327_1_) { - super(p_i45327_1_); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - return EnumRarity.rare; - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemAxe; +import net.minecraft.item.ItemStack; + +public class AxeSchrabidium extends ItemAxe { + + public AxeSchrabidium(ToolMaterial p_i45327_1_) { + super(p_i45327_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.rare; + } + +} diff --git a/com/hbm/items/gear/BigSword.java b/com/hbm/items/gear/BigSword.java index 47e9c635a..9dba33e4b 100644 --- a/com/hbm/items/gear/BigSword.java +++ b/com/hbm/items/gear/BigSword.java @@ -1,65 +1,65 @@ -package com.hbm.items.gear; - -import java.util.Random; - -import com.hbm.entity.projectile.EntityPlasmaBeam; -import com.hbm.lib.Library; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemStack; -import net.minecraft.item.ItemSword; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class BigSword extends ItemSword { - - public World worldObj; - - public double posX; - public double posY; - public double posZ; - - public BigSword(ToolMaterial p_i45356_1_) { - super(p_i45356_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public boolean isFull3D() { - return true; - } - - @Override - public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer Entityplayer) { - - return itemStack; - } - - /*public void onUsingTick(ItemStack itemStack, EntityPlayer Entityplayer, int count) { - World world = Entityplayer.worldObj; - - Vec3 look = Entityplayer.getLookVec(); - Random rand = new Random(); - MovingObjectPosition Coord = Library.rayTrace(Entityplayer, 300, 1); - // EntityLightningBolt Lightning = new EntityLightningBolt(world, 1, 1, - // 1); - // Lightning.setPosition(Coord.blockX,Coord.blockY,Coord.blockZ); - EntityPlasmaBeam plasma = new EntityPlasmaBeam(world, Entityplayer); - plasma.setPosition(Coord.blockX + (rand.nextGaussian() * 0.25D), Coord.blockY + 1, - Coord.blockZ + (rand.nextGaussian() * 0.25D)); - if (!Entityplayer.worldObj.isRemote) { - // world.spawnEntityInWorld(Lightning); - world.setBlock(Coord.blockX, Coord.blockY, Coord.blockZ, Blocks.ice); - world.spawnEntityInWorld(plasma); - } - System.out.println(Coord.blockX + ", " + Coord.blockY + ", " + Coord.blockZ); - Entityplayer.addPotionEffect(new PotionEffect(6, 20, 5)); - itemStack.damageItem(25, Entityplayer); - }*/ -} +package com.hbm.items.gear; + +import java.util.Random; + +import com.hbm.entity.projectile.EntityPlasmaBeam; +import com.hbm.lib.Library; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSword; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class BigSword extends ItemSword { + + public World worldObj; + + public double posX; + public double posY; + public double posZ; + + public BigSword(ToolMaterial p_i45356_1_) { + super(p_i45356_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public boolean isFull3D() { + return true; + } + + @Override + public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer Entityplayer) { + + return itemStack; + } + + /*public void onUsingTick(ItemStack itemStack, EntityPlayer Entityplayer, int count) { + World world = Entityplayer.worldObj; + + Vec3 look = Entityplayer.getLookVec(); + Random rand = new Random(); + MovingObjectPosition Coord = Library.rayTrace(Entityplayer, 300, 1); + // EntityLightningBolt Lightning = new EntityLightningBolt(world, 1, 1, + // 1); + // Lightning.setPosition(Coord.blockX,Coord.blockY,Coord.blockZ); + EntityPlasmaBeam plasma = new EntityPlasmaBeam(world, Entityplayer); + plasma.setPosition(Coord.blockX + (rand.nextGaussian() * 0.25D), Coord.blockY + 1, + Coord.blockZ + (rand.nextGaussian() * 0.25D)); + if (!Entityplayer.worldObj.isRemote) { + // world.spawnEntityInWorld(Lightning); + world.setBlock(Coord.blockX, Coord.blockY, Coord.blockZ, Blocks.ice); + world.spawnEntityInWorld(plasma); + } + System.out.println(Coord.blockX + ", " + Coord.blockY + ", " + Coord.blockZ); + Entityplayer.addPotionEffect(new PotionEffect(6, 20, 5)); + itemStack.damageItem(25, Entityplayer); + }*/ +} diff --git a/com/hbm/items/gear/HoeSchrabidium.java b/com/hbm/items/gear/HoeSchrabidium.java index 242b0ce7a..75244a89a 100644 --- a/com/hbm/items/gear/HoeSchrabidium.java +++ b/com/hbm/items/gear/HoeSchrabidium.java @@ -1,19 +1,19 @@ -package com.hbm.items.gear; - -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemHoe; -import net.minecraft.item.ItemStack; - -public class HoeSchrabidium extends ItemHoe { - - public HoeSchrabidium(ToolMaterial p_i45343_1_) { - super(p_i45343_1_); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - return EnumRarity.rare; - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemHoe; +import net.minecraft.item.ItemStack; + +public class HoeSchrabidium extends ItemHoe { + + public HoeSchrabidium(ToolMaterial p_i45343_1_) { + super(p_i45343_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.rare; + } + +} diff --git a/com/hbm/items/gear/MaskOfInfamy.java b/com/hbm/items/gear/MaskOfInfamy.java index 8f06da5c2..2359fcb00 100644 --- a/com/hbm/items/gear/MaskOfInfamy.java +++ b/com/hbm/items/gear/MaskOfInfamy.java @@ -1,21 +1,21 @@ -package com.hbm.items.gear; - -import com.hbm.lib.RefStrings; - -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemArmor; -import net.minecraft.item.ItemStack; - -public class MaskOfInfamy extends ItemArmor { - - public MaskOfInfamy(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) { - super(p_i45325_1_, p_i45325_2_, p_i45325_3_); - } - - @Override - public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { - - return (RefStrings.MODID + ":textures/armor/MaskOfInfamy.png"); - } - -} +package com.hbm.items.gear; + +import com.hbm.lib.RefStrings; + +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemArmor; +import net.minecraft.item.ItemStack; + +public class MaskOfInfamy extends ItemArmor { + + public MaskOfInfamy(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) { + super(p_i45325_1_, p_i45325_2_, p_i45325_3_); + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { + + return (RefStrings.MODID + ":textures/armor/MaskOfInfamy.png"); + } + +} diff --git a/com/hbm/items/gear/ModArmor.java b/com/hbm/items/gear/ModArmor.java index b75e9e631..00112747b 100644 --- a/com/hbm/items/gear/ModArmor.java +++ b/com/hbm/items/gear/ModArmor.java @@ -1,61 +1,52 @@ -package com.hbm.items.gear; - -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; - -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemArmor; -import net.minecraft.item.ItemStack; - -public class ModArmor extends ItemArmor { - - public ModArmor(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) { - super(p_i45325_1_, p_i45325_2_, p_i45325_3_); - } - - @Override - public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { - if(stack.getItem().equals(ModItems.steel_helmet) || stack.getItem().equals(ModItems.steel_plate) || stack.getItem().equals(ModItems.steel_boots)) { - return (RefStrings.MODID + ":textures/armor/steel_1.png"); - } - if(stack.getItem().equals(ModItems.steel_legs)) { - return (RefStrings.MODID + ":textures/armor/steel_2.png"); - } - if(stack.getItem().equals(ModItems.titanium_helmet) || stack.getItem().equals(ModItems.titanium_plate) || stack.getItem().equals(ModItems.titanium_boots)) { - return (RefStrings.MODID + ":textures/armor/titanium_1.png"); - } - if(stack.getItem().equals(ModItems.titanium_legs)) { - return (RefStrings.MODID + ":textures/armor/titanium_2.png"); - } - if(stack.getItem().equals(ModItems.alloy_helmet) || stack.getItem().equals(ModItems.alloy_plate) || stack.getItem().equals(ModItems.alloy_boots)) { - return (RefStrings.MODID + ":textures/armor/alloy_1.png"); - } - if(stack.getItem().equals(ModItems.alloy_legs)) { - return (RefStrings.MODID + ":textures/armor/alloy_2.png"); - } - if(stack.getItem().equals(ModItems.cmb_helmet) || stack.getItem().equals(ModItems.cmb_plate) || stack.getItem().equals(ModItems.cmb_boots)) { - return (RefStrings.MODID + ":textures/armor/cmb_1.png"); - } - if(stack.getItem().equals(ModItems.cmb_legs)) { - return (RefStrings.MODID + ":textures/armor/cmb_2.png"); - } -<<<<<<< HEAD:com/hbm/items/gear/ModArmor.java -======= -<<<<<<< HEAD ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/ModArmor.java - if(stack.getItem().equals(ModItems.paa_plate) || stack.getItem().equals(ModItems.paa_boots)) { - return (RefStrings.MODID + ":textures/armor/paa_1.png"); - } - if(stack.getItem().equals(ModItems.paa_legs)) { - return (RefStrings.MODID + ":textures/armor/paa_2.png"); - } -<<<<<<< HEAD:com/hbm/items/gear/ModArmor.java -======= -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/ModArmor.java - - else return null; - } - -} +package com.hbm.items.gear; + +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemArmor; +import net.minecraft.item.ItemStack; + +public class ModArmor extends ItemArmor { + + public ModArmor(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) { + super(p_i45325_1_, p_i45325_2_, p_i45325_3_); + } + + @Override + public String getArmorTexture(ItemStack stack, Entity entity, int slot, String layer) { + if(stack.getItem().equals(ModItems.steel_helmet) || stack.getItem().equals(ModItems.steel_plate) || stack.getItem().equals(ModItems.steel_boots)) { + return (RefStrings.MODID + ":textures/armor/steel_1.png"); + } + if(stack.getItem().equals(ModItems.steel_legs)) { + return (RefStrings.MODID + ":textures/armor/steel_2.png"); + } + if(stack.getItem().equals(ModItems.titanium_helmet) || stack.getItem().equals(ModItems.titanium_plate) || stack.getItem().equals(ModItems.titanium_boots)) { + return (RefStrings.MODID + ":textures/armor/titanium_1.png"); + } + if(stack.getItem().equals(ModItems.titanium_legs)) { + return (RefStrings.MODID + ":textures/armor/titanium_2.png"); + } + if(stack.getItem().equals(ModItems.alloy_helmet) || stack.getItem().equals(ModItems.alloy_plate) || stack.getItem().equals(ModItems.alloy_boots)) { + return (RefStrings.MODID + ":textures/armor/alloy_1.png"); + } + if(stack.getItem().equals(ModItems.alloy_legs)) { + return (RefStrings.MODID + ":textures/armor/alloy_2.png"); + } + if(stack.getItem().equals(ModItems.cmb_helmet) || stack.getItem().equals(ModItems.cmb_plate) || stack.getItem().equals(ModItems.cmb_boots)) { + return (RefStrings.MODID + ":textures/armor/cmb_1.png"); + } + if(stack.getItem().equals(ModItems.cmb_legs)) { + return (RefStrings.MODID + ":textures/armor/cmb_2.png"); + } + if(stack.getItem().equals(ModItems.paa_plate) || stack.getItem().equals(ModItems.paa_boots)) { + return (RefStrings.MODID + ":textures/armor/paa_1.png"); + } + if(stack.getItem().equals(ModItems.paa_legs)) { + return (RefStrings.MODID + ":textures/armor/paa_2.png"); + } + + else return null; + } + +} diff --git a/com/hbm/items/gear/ModAxe.java b/com/hbm/items/gear/ModAxe.java index ee5f39842..941496630 100644 --- a/com/hbm/items/gear/ModAxe.java +++ b/com/hbm/items/gear/ModAxe.java @@ -1,12 +1,11 @@ -package com.hbm.items.gear; - -import net.minecraft.item.ItemAxe; - -public class ModAxe extends ItemAxe { - - public ModAxe(ToolMaterial p_i45327_1_) { - super(p_i45327_1_); - // TODO Auto-generated constructor stub - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.ItemAxe; + +public class ModAxe extends ItemAxe { + + public ModAxe(ToolMaterial p_i45327_1_) { + super(p_i45327_1_); + } + +} diff --git a/com/hbm/items/gear/ModHoe.java b/com/hbm/items/gear/ModHoe.java index 24cf7ca9a..994c50fb2 100644 --- a/com/hbm/items/gear/ModHoe.java +++ b/com/hbm/items/gear/ModHoe.java @@ -1,12 +1,11 @@ -package com.hbm.items.gear; - -import net.minecraft.item.ItemHoe; - -public class ModHoe extends ItemHoe { - - public ModHoe(ToolMaterial p_i45343_1_) { - super(p_i45343_1_); - // TODO Auto-generated constructor stub - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.ItemHoe; + +public class ModHoe extends ItemHoe { + + public ModHoe(ToolMaterial p_i45343_1_) { + super(p_i45343_1_); + } + +} diff --git a/com/hbm/items/gear/ModPickaxe.java b/com/hbm/items/gear/ModPickaxe.java index cc85aadbe..3567a2932 100644 --- a/com/hbm/items/gear/ModPickaxe.java +++ b/com/hbm/items/gear/ModPickaxe.java @@ -1,12 +1,11 @@ -package com.hbm.items.gear; - -import net.minecraft.item.ItemPickaxe; - -public class ModPickaxe extends ItemPickaxe { - - public ModPickaxe(ToolMaterial p_i45347_1_) { - super(p_i45347_1_); - // TODO Auto-generated constructor stub - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.ItemPickaxe; + +public class ModPickaxe extends ItemPickaxe { + + public ModPickaxe(ToolMaterial p_i45347_1_) { + super(p_i45347_1_); + } + +} diff --git a/com/hbm/items/gear/ModSpade.java b/com/hbm/items/gear/ModSpade.java index e554c2867..17649e799 100644 --- a/com/hbm/items/gear/ModSpade.java +++ b/com/hbm/items/gear/ModSpade.java @@ -1,12 +1,11 @@ -package com.hbm.items.gear; - -import net.minecraft.item.ItemSpade; - -public class ModSpade extends ItemSpade { - - public ModSpade(ToolMaterial p_i45353_1_) { - super(p_i45353_1_); - // TODO Auto-generated constructor stub - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.ItemSpade; + +public class ModSpade extends ItemSpade { + + public ModSpade(ToolMaterial p_i45353_1_) { + super(p_i45353_1_); + } + +} diff --git a/com/hbm/items/gear/ModSword.java b/com/hbm/items/gear/ModSword.java index 48eb30179..4f0ac0bcc 100644 --- a/com/hbm/items/gear/ModSword.java +++ b/com/hbm/items/gear/ModSword.java @@ -1,12 +1,38 @@ -package com.hbm.items.gear; - -import net.minecraft.item.ItemSword; - -public class ModSword extends ItemSword { - - public ModSword(ToolMaterial p_i45356_1_) { - super(p_i45356_1_); - // TODO Auto-generated constructor stub - } - -} +package com.hbm.items.gear; + +import java.util.List; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSword; + +public class ModSword extends ItemSword { + + public ModSword(ToolMaterial p_i45356_1_) { + super(p_i45356_1_); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(this == ModItems.saw) + list.add("Prepare for your examination!"); + if(this == ModItems.bat) + list.add("Do you like hurting other people?"); + if(this == ModItems.bat_nail) + list.add("Or is it a classic?"); + if(this == ModItems.golf_club) + list.add("Property of Miami Beach Golf Club."); + if(this == ModItems.pipe_rusty) + list.add("Ouch! Ouch! Ouch!"); + if(this == ModItems.pipe_lead) + list.add("Manually override anything by smashing it with this pipe."); + //list.add("I'm going to attempt a manual override on this wall."); + if(this == ModItems.reer_graar) { + list.add("Call now!"); + list.add("555-10-3728-ZX7-INFINITE"); + } + } +} diff --git a/com/hbm/items/gear/PickaxeSchrabidium.java b/com/hbm/items/gear/PickaxeSchrabidium.java index cf7e99245..1bb9b2271 100644 --- a/com/hbm/items/gear/PickaxeSchrabidium.java +++ b/com/hbm/items/gear/PickaxeSchrabidium.java @@ -1,19 +1,19 @@ -package com.hbm.items.gear; - -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemPickaxe; -import net.minecraft.item.ItemStack; - -public class PickaxeSchrabidium extends ItemPickaxe { - - public PickaxeSchrabidium(ToolMaterial p_i45347_1_) { - super(p_i45347_1_); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - return EnumRarity.rare; - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemPickaxe; +import net.minecraft.item.ItemStack; + +public class PickaxeSchrabidium extends ItemPickaxe { + + public PickaxeSchrabidium(ToolMaterial p_i45347_1_) { + super(p_i45347_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.rare; + } + +} diff --git a/com/hbm/items/gear/RedstoneSword.java b/com/hbm/items/gear/RedstoneSword.java index 990e498e6..9d0384def 100644 --- a/com/hbm/items/gear/RedstoneSword.java +++ b/com/hbm/items/gear/RedstoneSword.java @@ -1,75 +1,75 @@ -package com.hbm.items.gear; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemStack; -import net.minecraft.item.ItemSword; -import net.minecraft.world.World; - -public class RedstoneSword extends ItemSword { - - //Pridenauer you damn bastard. - - public RedstoneSword(ToolMaterial p_i45356_1_) { - super(p_i45356_1_); - } - - @Override - @SideOnly(Side.CLIENT) - public boolean isFull3D() - { - return true; - } - - @Override - public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - if (p_77648_7_ == 0) - { - --y; - } - - if (p_77648_7_ == 1) - { - ++y; - } - - if (p_77648_7_ == 2) - { - --z; - } - - if (p_77648_7_ == 3) - { - ++z; - } - - if (p_77648_7_ == 4) - { - --x; - } - - if (p_77648_7_ == 5) - { - ++x; - } - - if (!player.canPlayerEdit(x, y, z, p_77648_7_, itemStack)) - { - return false; - } - else - { - if (world.isAirBlock(x, y, z)) - { - world.playSoundEffect(x + 0.5D, y + 0.5D, z + 0.5D, "random.break", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); - world.setBlock(x, y, z, Blocks.redstone_wire); - } - - itemStack.damageItem(14, player); - return true; - } - } -} +package com.hbm.items.gear; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSword; +import net.minecraft.world.World; + +public class RedstoneSword extends ItemSword { + + //Pridenauer you damn bastard. + + public RedstoneSword(ToolMaterial p_i45356_1_) { + super(p_i45356_1_); + } + + @Override + @SideOnly(Side.CLIENT) + public boolean isFull3D() + { + return true; + } + + @Override + public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) + { + if (p_77648_7_ == 0) + { + --y; + } + + if (p_77648_7_ == 1) + { + ++y; + } + + if (p_77648_7_ == 2) + { + --z; + } + + if (p_77648_7_ == 3) + { + ++z; + } + + if (p_77648_7_ == 4) + { + --x; + } + + if (p_77648_7_ == 5) + { + ++x; + } + + if (!player.canPlayerEdit(x, y, z, p_77648_7_, itemStack)) + { + return false; + } + else + { + if (world.isAirBlock(x, y, z)) + { + world.playSoundEffect(x + 0.5D, y + 0.5D, z + 0.5D, "random.break", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); + world.setBlock(x, y, z, Blocks.redstone_wire); + } + + itemStack.damageItem(14, player); + return true; + } + } +} diff --git a/com/hbm/items/gear/SpadeSchrabidium.java b/com/hbm/items/gear/SpadeSchrabidium.java index 661050dac..718910ca1 100644 --- a/com/hbm/items/gear/SpadeSchrabidium.java +++ b/com/hbm/items/gear/SpadeSchrabidium.java @@ -1,19 +1,19 @@ -package com.hbm.items.gear; - -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemSpade; -import net.minecraft.item.ItemStack; - -public class SpadeSchrabidium extends ItemSpade { - - public SpadeSchrabidium(ToolMaterial p_i45353_1_) { - super(p_i45353_1_); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - return EnumRarity.rare; - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemSpade; +import net.minecraft.item.ItemStack; + +public class SpadeSchrabidium extends ItemSpade { + + public SpadeSchrabidium(ToolMaterial p_i45353_1_) { + super(p_i45353_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.rare; + } + +} diff --git a/com/hbm/items/gear/SwordSchrabidium.java b/com/hbm/items/gear/SwordSchrabidium.java index f82b3580e..e0dd6f42f 100644 --- a/com/hbm/items/gear/SwordSchrabidium.java +++ b/com/hbm/items/gear/SwordSchrabidium.java @@ -1,19 +1,19 @@ -package com.hbm.items.gear; - -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemStack; -import net.minecraft.item.ItemSword; - -public class SwordSchrabidium extends ItemSword { - - public SwordSchrabidium(ToolMaterial p_i45356_1_) { - super(p_i45356_1_); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - return EnumRarity.rare; - } - -} +package com.hbm.items.gear; + +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSword; + +public class SwordSchrabidium extends ItemSword { + + public SwordSchrabidium(ToolMaterial p_i45356_1_) { + super(p_i45356_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.rare; + } + +} diff --git a/com/hbm/items/gear/WeaponSpecial.java b/com/hbm/items/gear/WeaponSpecial.java index 15b9f1450..c3ff8fa74 100644 --- a/com/hbm/items/gear/WeaponSpecial.java +++ b/com/hbm/items/gear/WeaponSpecial.java @@ -1,54 +1,85 @@ -package com.hbm.items.gear; - -import java.util.List; - -import com.google.common.collect.Multimap; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.SharedMonsterAttributes; -import net.minecraft.entity.ai.attributes.AttributeModifier; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemStack; -import net.minecraft.item.ItemSword; -import net.minecraft.world.World; - -public class WeaponSpecial extends ItemSword { - - public WeaponSpecial(ToolMaterial p_i45356_1_) { - super(p_i45356_1_); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) - { - return EnumRarity.rare; - } - - public boolean hitEntity(ItemStack stack, EntityLivingBase entity, EntityLivingBase entityPlayer) - { - World world = entity.worldObj; - if (!world.isRemote) - { - entity.setHealth(0.0F); - } - world.playSoundAtEntity(entity, "random.anvil_land", 3.0F, 0.1F); - - return false; - } - - public Multimap getItemAttributeModifiers() - { - Multimap multimap = super.getItemAttributeModifiers(); - multimap.put(SharedMonsterAttributes.movementSpeed.getAttributeUnlocalizedName(), new AttributeModifier(field_111210_e, "Weapon modifier", (double)-0.5, 1)); - return multimap; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Even though it says \"+1000000000"); - list.add("damage\", it's actually \"onehit anything\""); - } - -} +package com.hbm.items.gear; + +import java.util.List; + +import com.google.common.collect.Multimap; +import com.hbm.items.ModItems; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSword; +import net.minecraft.world.World; + +public class WeaponSpecial extends ItemSword { + + public WeaponSpecial(ToolMaterial p_i45356_1_) { + super(p_i45356_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) + { + if(this == ModItems.schrabidium_hammer) { + return EnumRarity.rare; + } + if(this == ModItems.ullapool_caber) { + return EnumRarity.uncommon; + } + + return EnumRarity.common; + } + + public boolean hitEntity(ItemStack stack, EntityLivingBase entity, EntityLivingBase entityPlayer) + { + World world = entity.worldObj; + + if(this == ModItems.schrabidium_hammer) { + if (!world.isRemote) + { + entity.setHealth(0.0F); + } + world.playSoundAtEntity(entity, "random.anvil_land", 3.0F, 0.1F); + } + + if(this == ModItems.ullapool_caber) { + if (!world.isRemote) + { + world.createExplosion(null, entity.posX, entity.posY, entity.posZ, 7.5F, true); + } + + stack.damageItem(505, entityPlayer); + } + + return false; + } + + public Multimap getItemAttributeModifiers() + { + Multimap multimap = super.getItemAttributeModifiers(); + if(this == ModItems.schrabidium_hammer) { + multimap.put(SharedMonsterAttributes.movementSpeed.getAttributeUnlocalizedName(), new AttributeModifier(field_111210_e, "Weapon modifier", (double)-0.5, 1)); + } + if(this == ModItems.ullapool_caber) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), new AttributeModifier(field_111210_e, "Weapon modifier", (double) 7, 0)); + } + return multimap; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(this == ModItems.schrabidium_hammer) { + list.add("Even though it says \"+1000000000"); + list.add("damage\", it's actually \"onehit anything\""); + } + if(this == ModItems.ullapool_caber) { + list.add("High-yield Scottish face removal."); + list.add("A sober person would throw it..."); + } + } + +} diff --git a/com/hbm/items/special/ItemAntiCheat.java b/com/hbm/items/special/ItemAntiCheat.java new file mode 100644 index 000000000..3844c4def --- /dev/null +++ b/com/hbm/items/special/ItemAntiCheat.java @@ -0,0 +1,30 @@ +package com.hbm.items.special; + +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; +import com.hbm.main.MainRegistry; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; + +public class ItemAntiCheat extends ItemCustomLore { + + public void onUpdate(ItemStack stack, World world, Entity entity, int i, boolean b) { + + if(stack.getItemDamage() != 34) { + + entity.attackEntityFrom(ModDamageSource.cheater, Float.POSITIVE_INFINITY); + + if(!world.isRemote) + ExplosionChaos.antiCheat(world, (int)entity.posX, (int)entity.posY, (int)entity.posZ, 20); + } + } + +} diff --git a/com/hbm/items/special/ItemBattery.java b/com/hbm/items/special/ItemBattery.java index fbecf79df..6e70595a2 100644 --- a/com/hbm/items/special/ItemBattery.java +++ b/com/hbm/items/special/ItemBattery.java @@ -1,47 +1,47 @@ -package com.hbm.items.special; - -import java.util.List; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemBattery extends Item { - - public ItemBattery(int dura) { - this.setMaxDamage(dura); - this.setNoRepair(); - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - if(itemstack.getItem() != ModItems.fusion_core && itemstack.getItem() != ModItems.factory_core_titanium && itemstack.getItem() != ModItems.factory_core_advanced && itemstack.getItem() != ModItems.energy_core) - { - list.add("Energy stored: " + ((this.getMaxDamage() - this.getDamage(itemstack)) * 100) + " HE"); - } else { - int charge = ((this.getMaxDamage() - this.getDamage(itemstack)) * 100) / this.getMaxDamage(); - list.add("Charge: " + charge + "%"); - } - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - if(this == ModItems.battery_schrabidium) - { - return EnumRarity.rare; - } - - if(this == ModItems.fusion_core || this == ModItems.factory_core_titanium || this == ModItems.factory_core_advanced || this == ModItems.energy_core) - { - return EnumRarity.uncommon; - } - - return EnumRarity.common; - } - -} +package com.hbm.items.special; + +import java.util.List; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemBattery extends Item { + + public ItemBattery(int dura) { + this.setMaxDamage(dura); + this.setNoRepair(); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(itemstack.getItem() != ModItems.fusion_core && itemstack.getItem() != ModItems.factory_core_titanium && itemstack.getItem() != ModItems.factory_core_advanced && itemstack.getItem() != ModItems.energy_core) + { + list.add("Energy stored: " + ((this.getMaxDamage() - this.getDamage(itemstack)) * 100) + " HE"); + } else { + int charge = ((this.getMaxDamage() - this.getDamage(itemstack)) * 100) / this.getMaxDamage(); + list.add("Charge: " + charge + "%"); + } + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + if(this == ModItems.battery_schrabidium) + { + return EnumRarity.rare; + } + + if(this == ModItems.fusion_core || this == ModItems.factory_core_titanium || this == ModItems.factory_core_advanced || this == ModItems.energy_core) + { + return EnumRarity.uncommon; + } + + return EnumRarity.common; + } + +} diff --git a/com/hbm/items/special/ItemBlades.java b/com/hbm/items/special/ItemBlades.java index e902f4c47..925dcc28f 100644 --- a/com/hbm/items/special/ItemBlades.java +++ b/com/hbm/items/special/ItemBlades.java @@ -1,12 +1,12 @@ -package com.hbm.items.special; - -import net.minecraft.item.Item; - -public class ItemBlades extends Item { - - public ItemBlades(int dura) - { - this.setMaxDamage(dura); - } - -} +package com.hbm.items.special; + +import net.minecraft.item.Item; + +public class ItemBlades extends Item { + + public ItemBlades(int dura) + { + this.setMaxDamage(dura); + } + +} diff --git a/com/hbm/items/special/ItemCapacitor.java b/com/hbm/items/special/ItemCapacitor.java index 86589fc98..713c5157f 100644 --- a/com/hbm/items/special/ItemCapacitor.java +++ b/com/hbm/items/special/ItemCapacitor.java @@ -1,55 +1,55 @@ -package com.hbm.items.special; - -import java.util.List; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.effect.EntityLightningBolt; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.EntityPlayerMP; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; -import net.minecraft.world.WorldSettings.GameType; - -public class ItemCapacitor extends Item { - - public ItemCapacitor(int dura) { - this.setMaxDamage(dura); - this.setNoRepair(); - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - if (this == ModItems.redcoil_capacitor) { - list.add("Right-click a block to negate positive charge."); - list.add("Does not work in creative mode!"); - list.add("[Needed for Schrabidium Synthesis]"); - } - if (this == ModItems.titanium_filter) { - list.add("Can be used to remove waste"); - list.add("from a watz reactor!"); - list.add("[Needed for Watz Reaction]"); - } - } - - @Override - public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, - float p_77648_8_, float p_77648_9_, float p_77648_10_) { - if (this == ModItems.redcoil_capacitor) { - if (!player.isSneaking()) { - if (stack.getItemDamage() > 0) { - stack.setItemDamage((stack.getItemDamage() - 1)); - if (!world.isRemote) { - world.createExplosion(null, x + 0.5, y + 0.5, z + 0.5, 2.5F, true); - } - world.spawnEntityInWorld(new EntityLightningBolt(world, x, y, z)); - - return true; - } - } - } - - return false; - } -} +package com.hbm.items.special; + +import java.util.List; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.player.EntityPlayerMP; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; +import net.minecraft.world.WorldSettings.GameType; + +public class ItemCapacitor extends Item { + + public ItemCapacitor(int dura) { + this.setMaxDamage(dura); + this.setNoRepair(); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + if (this == ModItems.redcoil_capacitor) { + list.add("Right-click a block to negate positive charge."); + list.add("Does not work in creative mode!"); + list.add("[Needed for Schrabidium Synthesis]"); + } + if (this == ModItems.titanium_filter) { + list.add("Can be used to remove waste"); + list.add("from a watz reactor!"); + list.add("[Needed for Watz Reaction]"); + } + } + + @Override + public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, + float p_77648_8_, float p_77648_9_, float p_77648_10_) { + if (this == ModItems.redcoil_capacitor) { + if (!player.isSneaking()) { + if (stack.getItemDamage() > 0) { + stack.setItemDamage((stack.getItemDamage() - 1)); + if (!world.isRemote) { + world.createExplosion(null, x + 0.5, y + 0.5, z + 0.5, 2.5F, true); + } + world.spawnEntityInWorld(new EntityLightningBolt(world, x, y, z)); + + return true; + } + } + } + + return false; + } +} diff --git a/com/hbm/items/special/ItemCell.java b/com/hbm/items/special/ItemCell.java index a6deb166a..fac3e10c8 100644 --- a/com/hbm/items/special/ItemCell.java +++ b/com/hbm/items/special/ItemCell.java @@ -1,68 +1,68 @@ -package com.hbm.items.special; - -import java.util.Random; - -import com.hbm.blocks.BlockCrashedBomb; -import com.hbm.blocks.LaunchPad; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.explosion.ExplosionParticle; -import com.hbm.explosion.ExplosionParticleB; -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; - -public class ItemCell extends Item { - - @Override - public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - if(world.getBlock(p_77648_4_, p_77648_5_, p_77648_6_) instanceof BlockCrashedBomb) - { - Random rand = new Random(); - int i = rand.nextInt(100); - if(i == 0) - { - if (!world.isRemote) - { - EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(world); - entity0.posX = p_77648_4_; - entity0.posY = p_77648_5_; - entity0.posZ = p_77648_6_; - entity0.destructionRange = 35; - entity0.speed = 25; - entity0.coefficient = 10.0F; - - world.spawnEntityInWorld(entity0); - ExplosionParticleB.spawnMush(world, p_77648_4_, p_77648_5_ - 3, p_77648_6_); - } - } else if(i < 90) - { - //if (!world.isRemote) - { - player.inventory.consumeInventoryItem(ModItems.cell_empty); - - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_antimatter))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.cell_antimatter, 1, 0), false); - } - } - } else { - //if (!world.isRemote) - { - player.inventory.consumeInventoryItem(ModItems.cell_empty); - - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_anti_schrabidium))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.cell_anti_schrabidium, 1, 0), false); - } - } - } - return true; - } - return false; - } - -} +package com.hbm.items.special; + +import java.util.Random; + +import com.hbm.blocks.bomb.BlockCrashedBomb; +import com.hbm.blocks.bomb.LaunchPad; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionParticle; +import com.hbm.explosion.ExplosionParticleB; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; + +public class ItemCell extends Item { + + @Override + public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) + { + if(world.getBlock(p_77648_4_, p_77648_5_, p_77648_6_) instanceof BlockCrashedBomb) + { + Random rand = new Random(); + int i = rand.nextInt(100); + if(i == 0) + { + if (!world.isRemote) + { + EntityNukeExplosionAdvanced entity0 = new EntityNukeExplosionAdvanced(world); + entity0.posX = p_77648_4_; + entity0.posY = p_77648_5_; + entity0.posZ = p_77648_6_; + entity0.destructionRange = 35; + entity0.speed = 25; + entity0.coefficient = 10.0F; + + world.spawnEntityInWorld(entity0); + ExplosionParticleB.spawnMush(world, p_77648_4_, p_77648_5_ - 3, p_77648_6_); + } + } else if(i < 90) + { + //if (!world.isRemote) + { + player.inventory.consumeInventoryItem(ModItems.cell_empty); + + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_antimatter))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.cell_antimatter, 1, 0), false); + } + } + } else { + //if (!world.isRemote) + { + player.inventory.consumeInventoryItem(ModItems.cell_empty); + + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_anti_schrabidium))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.cell_anti_schrabidium, 1, 0), false); + } + } + } + return true; + } + return false; + } + +} diff --git a/com/hbm/items/special/ItemCustomLore.java b/com/hbm/items/special/ItemCustomLore.java index afc53f1b8..b7f9fce07 100644 --- a/com/hbm/items/special/ItemCustomLore.java +++ b/com/hbm/items/special/ItemCustomLore.java @@ -1,389 +1,405 @@ -package com.hbm.items.special; - -import java.util.List; - -import com.hbm.items.ModItems; -import com.hbm.lib.ModDamageSource; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; - -public class ItemCustomLore extends ItemRadioactive { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - if(this == ModItems.flame_pony) - { - list.add("Blue horse beats yellow horse, look it up!"); - } - if(this == ModItems.flame_conspiracy) - { - list.add("Steel beams can't melt jet fuel!"); - } - if(this == ModItems.flame_politics) - { - list.add("Donald Drumpf 4 president!"); - } - if(this == ModItems.flame_opinion) - { - list.add("Well, I like it..."); - } - - if(this == ModItems.ingot_neptunium) - { - list.add("That one's my favourite!"); - } - - if(this == ModItems.pellet_rtg) - { - list.add("RTG fuel pellet for infinite energy! (almost)"); - } - - if(this == ModItems.pellet_cluster) - { - list.add("Used in multi purpose bombs:"); - list.add("Adds some extra boom!"); - } - - if(this == ModItems.powder_fire) - { - list.add("Used in multi purpose bombs:"); - list.add("Incendiary bombs are fun!"); - } - - if(this == ModItems.powder_poison) - { - list.add("Used in multi purpose bombs:"); - list.add("Warning: Poisonous!"); - } - - if(this == ModItems.pellet_gas) - { - list.add("Used in multi purpose bombs:"); - list.add("*cough cough* Halp pls!"); - } - - if(this == ModItems.rod_uranium) - { - list.add("Worth 0 operations in breeding reactor"); - list.add("Worth 0 operations in nuclear powered furnace"); - list.add("Turns into Plutonium Rod"); - } - - if(this == ModItems.rod_u235) - { - list.add("Worth 3 operations in breeding reactor"); - list.add("Worth 15 operations in nuclear powered furnace"); - list.add("Turns into Neptunium Rod"); - } - - if(this == ModItems.rod_u238) - { - list.add("Worth 1 operation in breeding reactor"); - list.add("Worth 5 operations in nuclear powered furnace"); - list.add("Turns into Plutonium 239 Rod"); - } - - if(this == ModItems.rod_neptunium) - { - list.add("Worth 3 operations in breeding reactor"); - list.add("Worth 15 operations in nuclear powered furnace"); - list.add("Turns into Plutonium 238 Rod"); - } - - if(this == ModItems.rod_plutonium) - { - list.add("Worth 0 operations in breeding reactor"); - list.add("Worth 0 operations in nuclear powered furnace"); - list.add("Turns into Lead Rod"); - } - - if(this == ModItems.rod_pu238) - { - list.add("Worth 5 operations in breeding reactor"); - list.add("Worth 25 operations in nuclear powered furnace"); - list.add("Turns into Plutonium 239 Rod"); - } - - if(this == ModItems.rod_pu239) - { - list.add("Worth 3 operations in breeding reactor"); - list.add("Worth 15 operations in nuclear powered furnace"); - list.add("Turns into Plutonium 240 Rod"); - } - - if(this == ModItems.rod_pu240) - { - list.add("Worth 1 operation in breeding reactor"); - list.add("Worth 5 operations in nuclear powered furnace"); - list.add("Turns into Lead Rod"); - } - - if(this == ModItems.rod_schrabidium) - { - list.add("Worth 15 operations in breeding reactor"); - list.add("Worth 75 operations in nuclear powered furnace"); - } - - if(this == ModItems.rod_dual_uranium) - { - list.add("Worth 0 operations in breeding reactor"); - list.add("Worth 0 operations in nuclear powered furnace"); - list.add("Turns into Dual Plutonium Rod"); - } - - if(this == ModItems.rod_dual_u235) - { - list.add("Worth 6 operations in breeding reactor"); - list.add("Worth 30 operations in nuclear powered furnace"); - list.add("Turns into Dual Neptunium Rod"); - } - - if(this == ModItems.rod_dual_u238) - { - list.add("Worth 2 operations in breeding reactor"); - list.add("Worth 10 operations in nuclear powered furnace"); - list.add("Turns into Dual Plutonium 239 Rod"); - } - - if(this == ModItems.rod_dual_neptunium) - { - list.add("Worth 6 operations in breeding reactor"); - list.add("Worth 30 operations in nuclear powered furnace"); - list.add("Turns into Dual Plutonium 238 Rod"); - } - - if(this == ModItems.rod_dual_plutonium) - { - list.add("Worth 0 operations in breeding reactor"); - list.add("Worth 0 operations in nuclear powered furnace"); - list.add("Turns into Dual Lead Rod"); - } - - if(this == ModItems.rod_dual_pu238) - { - list.add("Worth 10 operations in breeding reactor"); - list.add("Worth 50 operations in nuclear powered furnace"); - list.add("Turns into Dual Plutonium 239 Rod"); - } - - if(this == ModItems.rod_dual_pu239) - { - list.add("Worth 6 operations in breeding reactor"); - list.add("Worth 30 operations in nuclear powered furnace"); - list.add("Turns into Dual Plutonium 240 Rod"); - } - - if(this == ModItems.rod_dual_pu240) - { - list.add("Worth 2 operations in breeding reactor"); - list.add("Worth 10 operations in nuclear powered furnace"); - list.add("Turns into Dual Lead Rod"); - } - - if(this == ModItems.rod_dual_schrabidium) - { - list.add("Worth 30 operations in breeding reactor"); - list.add("Worth 150 operations in nuclear powered furnace"); - } - - if(this == ModItems.rod_quad_uranium) - { - list.add("Worth 0 operations in breeding reactor"); - list.add("Worth 0 operations in nuclear powered furnace"); - list.add("Turns into Quad Plutonium Rod"); - } - - if(this == ModItems.rod_quad_u235) - { - list.add("Worth 12 operations in breeding reactor"); - list.add("Worth 60 operations in nuclear powered furnace"); - list.add("Turns into Quad Neptunium Rod"); - } - - if(this == ModItems.rod_quad_u238) - { - list.add("Worth 4 operations in breeding reactor"); - list.add("Worth 20 operations in nuclear powered furnace"); - list.add("Turns into Quad Plutonium 239 Rod"); - } - - if(this == ModItems.rod_quad_neptunium) - { - list.add("Worth 12 operations in breeding reactor"); - list.add("Worth 60 operations in nuclear powered furnace"); - list.add("Turns into Quad Plutonium 238 Rod"); - } - - if(this == ModItems.rod_quad_plutonium) - { - list.add("Worth 0 operations in breeding reactor"); - list.add("Worth 0 operations in nuclear powered furnace"); - list.add("Turns into Quad Lead Rod"); - } - - if(this == ModItems.rod_quad_pu238) - { - list.add("Worth 20 operations in breeding reactor"); - list.add("Worth 100 operations in nuclear powered furnace"); - list.add("Turns into Quad Plutonium 239 Rod"); - } - - if(this == ModItems.rod_quad_pu239) - { - list.add("Worth 12 operations in breeding reactor"); - list.add("Worth 60 operations in nuclear powered furnace"); - list.add("Turns into Quad Plutonium 240 Rod"); - } - - if(this == ModItems.rod_quad_pu240) - { - list.add("Worth 4 operations in breeding reactor"); - list.add("Worth 20 operations in nuclear powered furnace"); - list.add("Turns into Quad Lead Rod"); - } - - if(this == ModItems.rod_quad_schrabidium) - { - list.add("Worth 60 operations in breeding reactor"); - list.add("Worth 300 operations in nuclear powered furnace"); - } - - if(this == ModItems.igniter) - { - /*list.add("Don't get me wrong, but you use it"); - list.add("by directly right-clicking the"); - list.add("prototype. And yes, you also die. Why?"); - list.add("Because you stand two meters next to"); - list.add("the bomb, you fool.");*/ - list.add("(Used by right-clicking the Prototype)"); - list.add("It's a green metal handle with a"); - list.add("bright red button and a small lid."); - list.add("At the bottom, the initials N.E. are"); - list.add("engraved. Whoever N.E. was, he had"); - list.add("a great taste in shades of green."); - } - - if(this == ModItems.rod_quad_euphemium) - { - list.add("A quad fuel rod which contains a"); - list.add("very small ammount of a strange new element."); - } - - if(this == ModItems.ingot_euphemium) - { - list.add("A very special and yet strange element."); - } - - if(this == ModItems.nugget_euphemium) - { - list.add("A small piece of a pink metal."); - list.add("It's properties are still unknown,"); - list.add("DEAL WITH IT carefully."); - } - - if(this == ModItems.watch) - { - list.add("A small blue pocket watch."); - list.add("It's glass has a few cracks in it,"); - list.add("and some shards are missing."); - list.add("It stopped ticking at 2:34."); - } - - if(this == ModItems.fuse) - { - list.add("This item is needed for every large"); - list.add("nuclear reactor, as it allows the"); - list.add("reactor to generate electricity and"); - list.add("use up it's fuel. Removing the fuse"); - list.add("from a reactor will instantly shut"); - list.add("it down."); - } - - if(this == ModItems.rod_lithium) - { - list.add("Turns into Tritium Rod"); - } - - if(this == ModItems.rod_dual_lithium) - { - list.add("Turns into Dual Tritium Rod"); - } - - if(this == ModItems.rod_quad_lithium) - { - list.add("Turns into Quad Tritium Rod"); - } - - if(this == ModItems.tritium_deuterium_cake) - { - list.add("Not actual cake, but great"); - list.add("universal fusion fuel!"); - } - - if(this == ModItems.dust) - { - list.add("I hate dust!"); - } - - if(this == ModItems.ingot_combine_steel) - { - list.add("\"I mean, it's a verb for crying out loud."); - list.add("The aliens aren't verbs. They're nouns!\""); - list.add("\"Actually, I think it's also the name"); - list.add("of some kind of farm equipment, like a"); - list.add("thresher or something.\""); - list.add("\"That's even worse. Now we have a word"); - list.add("that could mean 'to mix things together',"); - list.add("a piece of farm equipment, and let's see..."); - list.add("oh yea, it can also mean 'the most advanced"); - list.add("form of life in the known universe'.\""); - list.add("\"So?\""); - list.add("\"'So?' C'mon man, they're ALIENS!\""); - } - - if(this == ModItems.gun_super_shotgun) - { - list.add("It's super broken!"); - } - - if(this == ModItems.screwdriver) - { - list.add("Could be used instead of a fuse..."); - } - - if(this == ModItems.overfuse) - { - list.add("Say what?"); - } - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - if(this == ModItems.nugget_euphemium || this == ModItems.ingot_euphemium || this == ModItems.rod_quad_euphemium || this == ModItems.watch || this == ModItems.powder_iodine || this == ModItems.powder_thorium || this == ModItems.powder_neodymium || this == ModItems.powder_neptunium || this == ModItems.powder_astatine || this == ModItems.powder_caesium) - { - return EnumRarity.epic; - } - - if(this == ModItems.rod_schrabidium || this == ModItems.rod_dual_schrabidium || this == ModItems.rod_quad_schrabidium || this == ModItems.ingot_schrabidium || this == ModItems.nugget_schrabidium || this == ModItems.plate_schrabidium || this == ModItems.cell_sas3 || this == ModItems.powder_schrabidium || this == ModItems.wire_schrabidium || this == ModItems.circuit_schrabidium || this == ModItems.gun_revolver_schrabidium_ammo) - { - return EnumRarity.rare; - } - - if(this == ModItems.gun_revolver_cursed_ammo || this == ModItems.plate_paa || this == ModItems.gun_mp_ammo || this == ModItems.powder_power) - { - return EnumRarity.uncommon; - } - - return EnumRarity.common; - } - -} +package com.hbm.items.special; + +import java.util.List; + +import com.hbm.items.ModItems; +import com.hbm.lib.ModDamageSource; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; + +public class ItemCustomLore extends ItemRadioactive { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(this == ModItems.flame_pony) + { + //list.add("Blue horse beats yellow horse, look it up!"); + list.add("Yellow horse beats blue horse, that's a proven fact!"); + } + if(this == ModItems.flame_conspiracy) + { + list.add("Steel beams can't melt jet fuel!"); + } + if(this == ModItems.flame_politics) + { + list.add("Donald Duck will build the wall!"); + } + if(this == ModItems.flame_opinion) + { + list.add("Well, I like it..."); + } + + if(this == ModItems.ingot_neptunium) + { + list.add("That one's my favourite!"); + } + + if(this == ModItems.pellet_rtg) + { + list.add("RTG fuel pellet for infinite energy! (almost)"); + } + + if(this == ModItems.pellet_cluster) + { + list.add("Used in multi purpose bombs:"); + list.add("Adds some extra boom!"); + } + + if(this == ModItems.powder_fire) + { + list.add("Used in multi purpose bombs:"); + list.add("Incendiary bombs are fun!"); + } + + if(this == ModItems.powder_poison) + { + list.add("Used in multi purpose bombs:"); + list.add("Warning: Poisonous!"); + } + + if(this == ModItems.pellet_gas) + { + list.add("Used in multi purpose bombs:"); + list.add("*cough cough* Halp pls!"); + } + + if(this == ModItems.rod_uranium) + { + list.add("Worth 0 operations in breeding reactor"); + list.add("Worth 0 operations in nuclear powered furnace"); + list.add("Turns into Plutonium Rod"); + } + + if(this == ModItems.rod_u235) + { + list.add("Worth 3 operations in breeding reactor"); + list.add("Worth 15 operations in nuclear powered furnace"); + list.add("Turns into Neptunium Rod"); + } + + if(this == ModItems.rod_u238) + { + list.add("Worth 1 operation in breeding reactor"); + list.add("Worth 5 operations in nuclear powered furnace"); + list.add("Turns into Plutonium 239 Rod"); + } + + if(this == ModItems.rod_neptunium) + { + list.add("Worth 3 operations in breeding reactor"); + list.add("Worth 15 operations in nuclear powered furnace"); + list.add("Turns into Plutonium 238 Rod"); + } + + if(this == ModItems.rod_plutonium) + { + list.add("Worth 0 operations in breeding reactor"); + list.add("Worth 0 operations in nuclear powered furnace"); + list.add("Turns into Lead Rod"); + } + + if(this == ModItems.rod_pu238) + { + list.add("Worth 5 operations in breeding reactor"); + list.add("Worth 25 operations in nuclear powered furnace"); + list.add("Turns into Plutonium 239 Rod"); + } + + if(this == ModItems.rod_pu239) + { + list.add("Worth 3 operations in breeding reactor"); + list.add("Worth 15 operations in nuclear powered furnace"); + list.add("Turns into Plutonium 240 Rod"); + } + + if(this == ModItems.rod_pu240) + { + list.add("Worth 1 operation in breeding reactor"); + list.add("Worth 5 operations in nuclear powered furnace"); + list.add("Turns into Lead Rod"); + } + + if(this == ModItems.rod_schrabidium) + { + list.add("Worth 15 operations in breeding reactor"); + list.add("Worth 75 operations in nuclear powered furnace"); + } + + if(this == ModItems.rod_dual_uranium) + { + list.add("Worth 0 operations in breeding reactor"); + list.add("Worth 0 operations in nuclear powered furnace"); + list.add("Turns into Dual Plutonium Rod"); + } + + if(this == ModItems.rod_dual_u235) + { + list.add("Worth 6 operations in breeding reactor"); + list.add("Worth 30 operations in nuclear powered furnace"); + list.add("Turns into Dual Neptunium Rod"); + } + + if(this == ModItems.rod_dual_u238) + { + list.add("Worth 2 operations in breeding reactor"); + list.add("Worth 10 operations in nuclear powered furnace"); + list.add("Turns into Dual Plutonium 239 Rod"); + } + + if(this == ModItems.rod_dual_neptunium) + { + list.add("Worth 6 operations in breeding reactor"); + list.add("Worth 30 operations in nuclear powered furnace"); + list.add("Turns into Dual Plutonium 238 Rod"); + } + + if(this == ModItems.rod_dual_plutonium) + { + list.add("Worth 0 operations in breeding reactor"); + list.add("Worth 0 operations in nuclear powered furnace"); + list.add("Turns into Dual Lead Rod"); + } + + if(this == ModItems.rod_dual_pu238) + { + list.add("Worth 10 operations in breeding reactor"); + list.add("Worth 50 operations in nuclear powered furnace"); + list.add("Turns into Dual Plutonium 239 Rod"); + } + + if(this == ModItems.rod_dual_pu239) + { + list.add("Worth 6 operations in breeding reactor"); + list.add("Worth 30 operations in nuclear powered furnace"); + list.add("Turns into Dual Plutonium 240 Rod"); + } + + if(this == ModItems.rod_dual_pu240) + { + list.add("Worth 2 operations in breeding reactor"); + list.add("Worth 10 operations in nuclear powered furnace"); + list.add("Turns into Dual Lead Rod"); + } + + if(this == ModItems.rod_dual_schrabidium) + { + list.add("Worth 30 operations in breeding reactor"); + list.add("Worth 150 operations in nuclear powered furnace"); + } + + if(this == ModItems.rod_quad_uranium) + { + list.add("Worth 0 operations in breeding reactor"); + list.add("Worth 0 operations in nuclear powered furnace"); + list.add("Turns into Quad Plutonium Rod"); + } + + if(this == ModItems.rod_quad_u235) + { + list.add("Worth 12 operations in breeding reactor"); + list.add("Worth 60 operations in nuclear powered furnace"); + list.add("Turns into Quad Neptunium Rod"); + } + + if(this == ModItems.rod_quad_u238) + { + list.add("Worth 4 operations in breeding reactor"); + list.add("Worth 20 operations in nuclear powered furnace"); + list.add("Turns into Quad Plutonium 239 Rod"); + } + + if(this == ModItems.rod_quad_neptunium) + { + list.add("Worth 12 operations in breeding reactor"); + list.add("Worth 60 operations in nuclear powered furnace"); + list.add("Turns into Quad Plutonium 238 Rod"); + } + + if(this == ModItems.rod_quad_plutonium) + { + list.add("Worth 0 operations in breeding reactor"); + list.add("Worth 0 operations in nuclear powered furnace"); + list.add("Turns into Quad Lead Rod"); + } + + if(this == ModItems.rod_quad_pu238) + { + list.add("Worth 20 operations in breeding reactor"); + list.add("Worth 100 operations in nuclear powered furnace"); + list.add("Turns into Quad Plutonium 239 Rod"); + } + + if(this == ModItems.rod_quad_pu239) + { + list.add("Worth 12 operations in breeding reactor"); + list.add("Worth 60 operations in nuclear powered furnace"); + list.add("Turns into Quad Plutonium 240 Rod"); + } + + if(this == ModItems.rod_quad_pu240) + { + list.add("Worth 4 operations in breeding reactor"); + list.add("Worth 20 operations in nuclear powered furnace"); + list.add("Turns into Quad Lead Rod"); + } + + if(this == ModItems.rod_quad_schrabidium) + { + list.add("Worth 60 operations in breeding reactor"); + list.add("Worth 300 operations in nuclear powered furnace"); + } + + if(this == ModItems.igniter) + { + /*list.add("Don't get me wrong, but you use it"); + list.add("by directly right-clicking the"); + list.add("prototype. And yes, you also die. Why?"); + list.add("Because you stand two meters next to"); + list.add("the bomb, you fool.");*/ + list.add("(Used by right-clicking the Prototype)"); + list.add("It's a green metal handle with a"); + list.add("bright red button and a small lid."); + list.add("At the bottom, the initials N.E. are"); + list.add("engraved. Whoever N.E. was, he had"); + list.add("a great taste in shades of green."); + } + + if(this == ModItems.rod_quad_euphemium) + { + list.add("A quad fuel rod which contains a"); + list.add("very small ammount of a strange new element."); + list.add(""); + list.add("If you tell anybody about this, I will"); + list.add("tear your living guts out and use them to"); + list.add("grease the treads of my tank."); + list.add("Got that? Good."); + } + + if(this == ModItems.ingot_euphemium) + { + list.add("A very special and yet strange element."); + } + + if(this == ModItems.nugget_euphemium) + { + list.add("A small piece of a pink metal."); + list.add("It's properties are still unknown,"); + list.add("DEAL WITH IT carefully."); + } + + if(this == ModItems.watch) + { + list.add("A small blue pocket watch."); + list.add("It's glass has a few cracks in it,"); + list.add("and some shards are missing."); + list.add("It stopped ticking at 2:34."); + } + + if(this == ModItems.fuse) + { + list.add("This item is needed for every large"); + list.add("nuclear reactor, as it allows the"); + list.add("reactor to generate electricity and"); + list.add("use up it's fuel. Removing the fuse"); + list.add("from a reactor will instantly shut"); + list.add("it down."); + } + + if(this == ModItems.rod_lithium) + { + list.add("Turns into Tritium Rod"); + } + + if(this == ModItems.rod_dual_lithium) + { + list.add("Turns into Dual Tritium Rod"); + } + + if(this == ModItems.rod_quad_lithium) + { + list.add("Turns into Quad Tritium Rod"); + } + + if(this == ModItems.tritium_deuterium_cake) + { + list.add("Not actual cake, but great"); + list.add("universal fusion fuel!"); + } + + if(this == ModItems.dust) + { + list.add("I hate dust!"); + } + + if(this == ModItems.ingot_combine_steel) + { + list.add("\"I mean, it's a verb for crying out loud."); + list.add("The aliens aren't verbs. They're nouns!\""); + list.add("\"Actually, I think it's also the name"); + list.add("of some kind of farm equipment, like a"); + list.add("thresher or something.\""); + list.add("\"That's even worse. Now we have a word"); + list.add("that could mean 'to mix things together',"); + list.add("a piece of farm equipment, and let's see..."); + list.add("oh yea, it can also mean 'the most advanced"); + list.add("form of life in the known universe'.\""); + list.add("\"So?\""); + list.add("\"'So?' C'mon man, they're ALIENS!\""); + } + + if(this == ModItems.gun_super_shotgun) + { + list.add("It's super broken!"); + } + + if(this == ModItems.screwdriver) + { + list.add("Could be used instead of a fuse..."); + } + + if(this == ModItems.overfuse) + { + list.add("Say what?"); + } + + if(this == ModItems.crystal_horn) + { + list.add("Not an actual horn."); + } + + if(this == ModItems.crystal_charred) + { + list.add("High quality silicate, slightly burned."); + } + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + if(this == ModItems.nugget_euphemium || this == ModItems.ingot_euphemium || this == ModItems.rod_quad_euphemium || this == ModItems.watch || this == ModItems.powder_iodine || this == ModItems.powder_thorium || this == ModItems.powder_neodymium || this == ModItems.powder_neptunium || this == ModItems.powder_astatine || this == ModItems.powder_caesium) + { + return EnumRarity.epic; + } + + if(this == ModItems.rod_schrabidium || this == ModItems.rod_dual_schrabidium || this == ModItems.rod_quad_schrabidium || this == ModItems.ingot_schrabidium || this == ModItems.nugget_schrabidium || this == ModItems.plate_schrabidium || this == ModItems.cell_sas3 || this == ModItems.powder_schrabidium || this == ModItems.wire_schrabidium || this == ModItems.circuit_schrabidium || this == ModItems.gun_revolver_schrabidium_ammo) + { + return EnumRarity.rare; + } + + if(this == ModItems.gun_revolver_cursed_ammo || this == ModItems.plate_paa || this == ModItems.gun_mp_ammo || this == ModItems.powder_power || this == ModItems.ingot_australium || this == ModItems.ingot_weidanium || this == ModItems.ingot_reiium || this == ModItems.ingot_unobtainium || this == ModItems.ingot_daffergon || this == ModItems.ingot_verticium || this == ModItems.nugget_australium || this == ModItems.nugget_weidanium || this == ModItems.nugget_reiium || this == ModItems.nugget_unobtainium || this == ModItems.nugget_daffergon || this == ModItems.nugget_verticium) + { + return EnumRarity.uncommon; + } + + return EnumRarity.common; + } + +} diff --git a/com/hbm/items/special/ItemDrop.java b/com/hbm/items/special/ItemDrop.java index f4f72337a..d2c454f51 100644 --- a/com/hbm/items/special/ItemDrop.java +++ b/com/hbm/items/special/ItemDrop.java @@ -1,180 +1,180 @@ -package com.hbm.items.special; - -import java.util.List; - -import com.hbm.entity.effect.EntityCloudFleija; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.explosion.ExplosionChaos; -import com.hbm.items.ModItems; -import com.hbm.main.MainRegistry; - -import net.minecraft.entity.item.EntityItem; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemDrop extends Item { - - public boolean onEntityItemUpdate(EntityItem entityItem) { - if (entityItem != null) { - if (entityItem.onGround) { - - ItemStack stack = entityItem.getEntityItem(); - - if (stack.getItem() != null && stack.getItem() == ModItems.cell_antimatter) { - if (!entityItem.worldObj.isRemote) { - entityItem.worldObj.createExplosion(entityItem, entityItem.posX, entityItem.posY, - entityItem.posZ, 10.0F, true); - } - } - if (stack.getItem() != null && stack.getItem() == ModItems.cell_anti_schrabidium) { - if (!entityItem.worldObj.isRemote) { - entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, - "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); - entity.posX = entityItem.posX; - entity.posY = entityItem.posY; - entity.posZ = entityItem.posZ; - entity.destructionRange = MainRegistry.aSchrabRadius; - entity.speed = 25; - entity.coefficient = 1.0F; - entity.waste = false; - - entityItem.worldObj.spawnEntityInWorld(entity); - - EntityCloudFleija cloud = new EntityCloudFleija(entityItem.worldObj, MainRegistry.aSchrabRadius); - cloud.posX = entityItem.posX; - cloud.posY = entityItem.posY; - cloud.posZ = entityItem.posZ; - entityItem.worldObj.spawnEntityInWorld(cloud); - } - } - if (stack.getItem() != null && stack.getItem() == ModItems.singularity) { - if (!entityItem.worldObj.isRemote) { - entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, - "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); - entity.posX = entityItem.posX; - entity.posY = entityItem.posY; - entity.posZ = entityItem.posZ; - entity.destructionRange = MainRegistry.aSchrabRadius; - entity.speed = 25; - entity.coefficient = 0.01F; - entity.coefficient2 = 0.01F; - entity.waste = false; - - entityItem.worldObj.spawnEntityInWorld(entity); - } - } - if (stack.getItem() != null && stack.getItem() == ModItems.singularity_counter_resonant) { - if (!entityItem.worldObj.isRemote) { - entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, - "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); - entity.posX = entityItem.posX; - entity.posY = entityItem.posY; - entity.posZ = entityItem.posZ; - entity.destructionRange = MainRegistry.aSchrabRadius * 2; - entity.speed = 25; - entity.coefficient = 0.01F; - entity.coefficient2 = 0.01F; - entity.waste = false; - - entityItem.worldObj.spawnEntityInWorld(entity); - } - } - if (stack.getItem() != null && stack.getItem() == ModItems.singularity_super_heated) { - if (!entityItem.worldObj.isRemote) { - entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, - "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); - entity.posX = entityItem.posX; - entity.posY = entityItem.posY; - entity.posZ = entityItem.posZ; - entity.destructionRange = MainRegistry.aSchrabRadius * 2; - entity.speed = 25; - entity.coefficient = 0.01F; - entity.coefficient2 = 0.01F; - entity.waste = false; - - entityItem.worldObj.spawnEntityInWorld(entity); - } - } - if (stack.getItem() != null && stack.getItem() == ModItems.black_hole) { - if (!entityItem.worldObj.isRemote) { - entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, - "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); - - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); - entity.posX = entityItem.posX; - entity.posY = entityItem.posY; - entity.posZ = entityItem.posZ; - entity.destructionRange = MainRegistry.aSchrabRadius * 3; - entity.speed = 25; - entity.coefficient = 0.01F; - entity.coefficient2 = 0.01F; - entity.waste = false; - - entityItem.worldObj.spawnEntityInWorld(entity); - } - } - if (stack.getItem() != null && stack.getItem() == ModItems.crystal_xen) { - if (!entityItem.worldObj.isRemote) { - ExplosionChaos.floater(entityItem.worldObj, (int)entityItem.posX, (int)entityItem.posY, (int)entityItem.posZ, 25, 75); - ExplosionChaos.move(entityItem.worldObj, (int)entityItem.posX, (int)entityItem.posY, (int)entityItem.posZ, 25, 0, 75, 0); - } - } - - entityItem.setDead(); - return true; - } - } - return false; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - if (itemstack.getItem() != null && itemstack.getItem() == ModItems.cell_antimatter) { - list.add("Warning: Exposure to matter will"); - list.add("lead to violent annihilation!"); - } - if (itemstack.getItem() != null && itemstack.getItem() == ModItems.cell_anti_schrabidium) { - list.add("Warning: Exposure to matter will"); - list.add("create a f�lkvangr field!"); - } - if (itemstack.getItem() != null && itemstack.getItem() == ModItems.singularity) { - list.add("You may be asking:"); - list.add("\"But HBM, a manifold with an undefined"); - list.add("state of spacetime? How is this possible?\""); - list.add("Long answer short:"); - list.add("\"I have no idea!\""); - } - if (itemstack.getItem() != null && itemstack.getItem() == ModItems.singularity_counter_resonant) { - list.add("Nullifies resonance of objects in"); - list.add("non-euclidean space, creates variable"); - list.add("gravity well. Spontaneously spawns"); - list.add("tesseracts. If a tesseract happens to"); - list.add("appear near you, do not look directly"); - list.add("at it."); - } - if (itemstack.getItem() != null && itemstack.getItem() == ModItems.singularity_super_heated) { - list.add("Continuously heats up matter by"); - list.add("resonating every planck second."); - list.add("Tends to catch fire or to create"); - list.add("small plamsa arcs. Not edible."); - } - if (itemstack.getItem() != null && itemstack.getItem() == ModItems.black_hole) { - list.add("Contains a regular singularity"); - list.add("in the center. Large enough to"); - list.add("stay stable. It's not the end"); - list.add("of the world as we know it,"); - list.add("and I don't feel fine."); - } - } - -} +package com.hbm.items.special; + +import java.util.List; + +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; + +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemDrop extends Item { + + public boolean onEntityItemUpdate(EntityItem entityItem) { + if (entityItem != null) { + if (entityItem.onGround) { + + ItemStack stack = entityItem.getEntityItem(); + + if (stack.getItem() != null && stack.getItem() == ModItems.cell_antimatter) { + if (!entityItem.worldObj.isRemote) { + entityItem.worldObj.createExplosion(entityItem, entityItem.posX, entityItem.posY, + entityItem.posZ, 10.0F, true); + } + } + if (stack.getItem() != null && stack.getItem() == ModItems.cell_anti_schrabidium) { + if (!entityItem.worldObj.isRemote) { + entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, + "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); + entity.posX = entityItem.posX; + entity.posY = entityItem.posY; + entity.posZ = entityItem.posZ; + entity.destructionRange = MainRegistry.aSchrabRadius; + entity.speed = 25; + entity.coefficient = 1.0F; + entity.waste = false; + + entityItem.worldObj.spawnEntityInWorld(entity); + + EntityCloudFleija cloud = new EntityCloudFleija(entityItem.worldObj, MainRegistry.aSchrabRadius); + cloud.posX = entityItem.posX; + cloud.posY = entityItem.posY; + cloud.posZ = entityItem.posZ; + entityItem.worldObj.spawnEntityInWorld(cloud); + } + } + if (stack.getItem() != null && stack.getItem() == ModItems.singularity) { + if (!entityItem.worldObj.isRemote) { + entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, + "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); + entity.posX = entityItem.posX; + entity.posY = entityItem.posY; + entity.posZ = entityItem.posZ; + entity.destructionRange = MainRegistry.aSchrabRadius; + entity.speed = 25; + entity.coefficient = 0.01F; + entity.coefficient2 = 0.01F; + entity.waste = false; + + entityItem.worldObj.spawnEntityInWorld(entity); + } + } + if (stack.getItem() != null && stack.getItem() == ModItems.singularity_counter_resonant) { + if (!entityItem.worldObj.isRemote) { + entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, + "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); + entity.posX = entityItem.posX; + entity.posY = entityItem.posY; + entity.posZ = entityItem.posZ; + entity.destructionRange = MainRegistry.aSchrabRadius * 2; + entity.speed = 25; + entity.coefficient = 0.01F; + entity.coefficient2 = 0.01F; + entity.waste = false; + + entityItem.worldObj.spawnEntityInWorld(entity); + } + } + if (stack.getItem() != null && stack.getItem() == ModItems.singularity_super_heated) { + if (!entityItem.worldObj.isRemote) { + entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, + "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); + entity.posX = entityItem.posX; + entity.posY = entityItem.posY; + entity.posZ = entityItem.posZ; + entity.destructionRange = MainRegistry.aSchrabRadius * 2; + entity.speed = 25; + entity.coefficient = 0.01F; + entity.coefficient2 = 0.01F; + entity.waste = false; + + entityItem.worldObj.spawnEntityInWorld(entity); + } + } + if (stack.getItem() != null && stack.getItem() == ModItems.black_hole) { + if (!entityItem.worldObj.isRemote) { + entityItem.worldObj.playSoundEffect(entityItem.posX, entityItem.posY, entityItem.posZ, + "random.explode", 100.0f, entityItem.worldObj.rand.nextFloat() * 0.1F + 0.9F); + + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(entityItem.worldObj); + entity.posX = entityItem.posX; + entity.posY = entityItem.posY; + entity.posZ = entityItem.posZ; + entity.destructionRange = MainRegistry.aSchrabRadius * 3; + entity.speed = 25; + entity.coefficient = 0.01F; + entity.coefficient2 = 0.01F; + entity.waste = false; + + entityItem.worldObj.spawnEntityInWorld(entity); + } + } + if (stack.getItem() != null && stack.getItem() == ModItems.crystal_xen) { + if (!entityItem.worldObj.isRemote) { + ExplosionChaos.floater(entityItem.worldObj, (int)entityItem.posX, (int)entityItem.posY, (int)entityItem.posZ, 25, 75); + ExplosionChaos.move(entityItem.worldObj, (int)entityItem.posX, (int)entityItem.posY, (int)entityItem.posZ, 25, 0, 75, 0); + } + } + + entityItem.setDead(); + return true; + } + } + return false; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if (itemstack.getItem() != null && itemstack.getItem() == ModItems.cell_antimatter) { + list.add("Warning: Exposure to matter will"); + list.add("lead to violent annihilation!"); + } + if (itemstack.getItem() != null && itemstack.getItem() == ModItems.cell_anti_schrabidium) { + list.add("Warning: Exposure to matter will"); + list.add("create a f�lkvangr field!"); + } + if (itemstack.getItem() != null && itemstack.getItem() == ModItems.singularity) { + list.add("You may be asking:"); + list.add("\"But HBM, a manifold with an undefined"); + list.add("state of spacetime? How is this possible?\""); + list.add("Long answer short:"); + list.add("\"I have no idea!\""); + } + if (itemstack.getItem() != null && itemstack.getItem() == ModItems.singularity_counter_resonant) { + list.add("Nullifies resonance of objects in"); + list.add("non-euclidean space, creates variable"); + list.add("gravity well. Spontaneously spawns"); + list.add("tesseracts. If a tesseract happens to"); + list.add("appear near you, do not look directly"); + list.add("at it."); + } + if (itemstack.getItem() != null && itemstack.getItem() == ModItems.singularity_super_heated) { + list.add("Continuously heats up matter by"); + list.add("resonating every planck second."); + list.add("Tends to catch fire or to create"); + list.add("small plamsa arcs. Not edible."); + } + if (itemstack.getItem() != null && itemstack.getItem() == ModItems.black_hole) { + list.add("Contains a regular singularity"); + list.add("in the center. Large enough to"); + list.add("stay stable. It's not the end"); + list.add("of the world as we know it,"); + list.add("and I don't feel fine."); + } + } + +} diff --git a/com/hbm/items/special/ItemFuelRod.java b/com/hbm/items/special/ItemFuelRod.java index 30686ff7c..d11ea5f92 100644 --- a/com/hbm/items/special/ItemFuelRod.java +++ b/com/hbm/items/special/ItemFuelRod.java @@ -1,103 +1,103 @@ -package com.hbm.items.special; - -import java.util.List; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class ItemFuelRod extends ItemRadioactive { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used in nuclear reactor"); - - if(this == ModItems.rod_uranium_fuel) - { - list.add("Generates 10 power per tick"); - list.add("Generates 1 heat per tick"); - list.add("Lasts 10000 ticks"); - } - - if(this == ModItems.rod_dual_uranium_fuel) - { - list.add("Generates 10 power per tick"); - list.add("Generates 1 heat per tick"); - list.add("Lasts 20000 ticks"); - } - - if(this == ModItems.rod_quad_uranium_fuel) - { - list.add("Generates 10 power per tick"); - list.add("Generates 1 heat per tick"); - list.add("Lasts 40000 ticks"); - } - - if(this == ModItems.rod_plutonium_fuel) - { - list.add("Generates 15 power per tick"); - list.add("Generates 2 heat per tick"); - list.add("Lasts 25000 ticks"); - } - - if(this == ModItems.rod_dual_plutonium_fuel) - { - list.add("Generates 15 power per tick"); - list.add("Generates 2 heat per tick"); - list.add("Lasts 50000 ticks"); - } - - if(this == ModItems.rod_quad_plutonium_fuel) - { - list.add("Generates 15 power per tick"); - list.add("Generates 2 heat per tick"); - list.add("Lasts 100000 ticks"); - } - - if(this == ModItems.rod_mox_fuel) - { - list.add("Generates 5 power per tick"); - list.add("Generates 1 heat per tick"); - list.add("Lasts 100000 ticks"); - } - - if(this == ModItems.rod_dual_mox_fuel) - { - list.add("Generates 5 power per tick"); - list.add("Generates 1 heat per tick"); - list.add("Lasts 200000 ticks"); - } - - if(this == ModItems.rod_quad_mox_fuel) - { - list.add("Generates 5 power per tick"); - list.add("Generates 1 heat per tick"); - list.add("Lasts 400000 ticks"); - } - - if(this == ModItems.rod_schrabidium_fuel) - { - list.add("Generates 25 power per tick"); - list.add("Generates 10 heat per tick"); - list.add("Lasts 2500000 ticks"); - } - - if(this == ModItems.rod_dual_schrabidium_fuel) - { - list.add("Generates 25 power per tick"); - list.add("Generates 10 heat per tick"); - list.add("Lasts 5000000 ticks"); - } - - if(this == ModItems.rod_quad_schrabidium_fuel) - { - list.add("Generates 25 power per tick"); - list.add("Generates 10 heat per tick"); - list.add("Lasts 10000000 ticks"); - } - } - -} +package com.hbm.items.special; + +import java.util.List; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ItemFuelRod extends ItemRadioactive { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used in nuclear reactor"); + + if(this == ModItems.rod_uranium_fuel) + { + list.add("Generates 10 power per tick"); + list.add("Generates 1 heat per tick"); + list.add("Lasts 10000 ticks"); + } + + if(this == ModItems.rod_dual_uranium_fuel) + { + list.add("Generates 10 power per tick"); + list.add("Generates 1 heat per tick"); + list.add("Lasts 20000 ticks"); + } + + if(this == ModItems.rod_quad_uranium_fuel) + { + list.add("Generates 10 power per tick"); + list.add("Generates 1 heat per tick"); + list.add("Lasts 40000 ticks"); + } + + if(this == ModItems.rod_plutonium_fuel) + { + list.add("Generates 15 power per tick"); + list.add("Generates 2 heat per tick"); + list.add("Lasts 25000 ticks"); + } + + if(this == ModItems.rod_dual_plutonium_fuel) + { + list.add("Generates 15 power per tick"); + list.add("Generates 2 heat per tick"); + list.add("Lasts 50000 ticks"); + } + + if(this == ModItems.rod_quad_plutonium_fuel) + { + list.add("Generates 15 power per tick"); + list.add("Generates 2 heat per tick"); + list.add("Lasts 100000 ticks"); + } + + if(this == ModItems.rod_mox_fuel) + { + list.add("Generates 5 power per tick"); + list.add("Generates 1 heat per tick"); + list.add("Lasts 100000 ticks"); + } + + if(this == ModItems.rod_dual_mox_fuel) + { + list.add("Generates 5 power per tick"); + list.add("Generates 1 heat per tick"); + list.add("Lasts 200000 ticks"); + } + + if(this == ModItems.rod_quad_mox_fuel) + { + list.add("Generates 5 power per tick"); + list.add("Generates 1 heat per tick"); + list.add("Lasts 400000 ticks"); + } + + if(this == ModItems.rod_schrabidium_fuel) + { + list.add("Generates 25 power per tick"); + list.add("Generates 10 heat per tick"); + list.add("Lasts 2500000 ticks"); + } + + if(this == ModItems.rod_dual_schrabidium_fuel) + { + list.add("Generates 25 power per tick"); + list.add("Generates 10 heat per tick"); + list.add("Lasts 5000000 ticks"); + } + + if(this == ModItems.rod_quad_schrabidium_fuel) + { + list.add("Generates 25 power per tick"); + list.add("Generates 10 heat per tick"); + list.add("Lasts 10000000 ticks"); + } + } + +} diff --git a/com/hbm/items/special/ItemModRecord.java b/com/hbm/items/special/ItemModRecord.java index bcc9684a6..d9dd62dd0 100644 --- a/com/hbm/items/special/ItemModRecord.java +++ b/com/hbm/items/special/ItemModRecord.java @@ -1,112 +1,112 @@ -package com.hbm.items.special; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.block.BlockJukebox; -import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.entity.EntityList; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemRecord; -import net.minecraft.item.ItemStack; -import net.minecraft.util.IIcon; -import net.minecraft.util.ResourceLocation; -import net.minecraft.util.StatCollector; -import net.minecraft.world.World; - -public class ItemModRecord extends ItemRecord { - - private static final Map modRecords = new HashMap(); - public final String recordName; - - public ItemModRecord(String string) { - super(string); - recordName = string; - modRecords.put(string, this); - } - - public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, - int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) { - if (p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_) == Blocks.jukebox - && p_77648_3_.getBlockMetadata(p_77648_4_, p_77648_5_, p_77648_6_) == 0) { - if (p_77648_3_.isRemote) { - return true; - } else { - ((BlockJukebox) Blocks.jukebox).func_149926_b(p_77648_3_, p_77648_4_, p_77648_5_, p_77648_6_, - p_77648_1_); - p_77648_3_.playAuxSFXAtEntity((EntityPlayer) null, 1005, p_77648_4_, p_77648_5_, p_77648_6_, - Item.getIdFromItem(this)); - --p_77648_1_.stackSize; - return true; - } - } else { - return false; - } - } - - /** - * allows items to add custom lines of information to the mouseover - * description - */ - @SideOnly(Side.CLIENT) - public void addInformation(ItemStack p_77624_1_, EntityPlayer p_77624_2_, List p_77624_3_, boolean p_77624_4_) { - p_77624_3_.add(this.getRecordNameLocal()); - } - - @SideOnly(Side.CLIENT) - public String getRecordNameLocal() { - return StatCollector.translateToLocal("item.record." + this.recordName + ".desc"); - } - - /** - * Return an item rarity from EnumRarity - */ - public EnumRarity getRarity(ItemStack p_77613_1_) { - return EnumRarity.rare; - } - - /** - * Return the record item corresponding to the given name. - */ - @SideOnly(Side.CLIENT) - public static ItemRecord getRecord(String p_150926_0_) { - return (ItemRecord) modRecords.get(p_150926_0_); - } - - /** - * Retrieves the resource location of the sound to play for this record. - * - * @param name - * The name of the record to play - * @return The resource location for the audio, null to use default. - */ - public ResourceLocation getRecordResource(String name) { - - String s = ""; - - if(name.equals("records.lc")) - s = RefStrings.MODID + ":music.recordLambdaCore"; - if(name.equals("records.ss")) - s = RefStrings.MODID + ":music.recordSectorSweep"; - if(name.equals("records.vc")) - s = RefStrings.MODID + ":music.recordVortalCombat"; - - return new ResourceLocation(s); - } - - public String getItemStackDisplayName(ItemStack p_77653_1_) - { - String s = (StatCollector.translateToLocal(Items.record_11.getUnlocalizedName() + ".name")).trim(); - - return s; - } -} +package com.hbm.items.special; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.BlockJukebox; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.entity.EntityList; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemRecord; +import net.minecraft.item.ItemStack; +import net.minecraft.util.IIcon; +import net.minecraft.util.ResourceLocation; +import net.minecraft.util.StatCollector; +import net.minecraft.world.World; + +public class ItemModRecord extends ItemRecord { + + private static final Map modRecords = new HashMap(); + public final String recordName; + + public ItemModRecord(String string) { + super(string); + recordName = string; + modRecords.put(string, this); + } + + public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, + int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) { + if (p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_) == Blocks.jukebox + && p_77648_3_.getBlockMetadata(p_77648_4_, p_77648_5_, p_77648_6_) == 0) { + if (p_77648_3_.isRemote) { + return true; + } else { + ((BlockJukebox) Blocks.jukebox).func_149926_b(p_77648_3_, p_77648_4_, p_77648_5_, p_77648_6_, + p_77648_1_); + p_77648_3_.playAuxSFXAtEntity((EntityPlayer) null, 1005, p_77648_4_, p_77648_5_, p_77648_6_, + Item.getIdFromItem(this)); + --p_77648_1_.stackSize; + return true; + } + } else { + return false; + } + } + + /** + * allows items to add custom lines of information to the mouseover + * description + */ + @SideOnly(Side.CLIENT) + public void addInformation(ItemStack p_77624_1_, EntityPlayer p_77624_2_, List p_77624_3_, boolean p_77624_4_) { + p_77624_3_.add(this.getRecordNameLocal()); + } + + @SideOnly(Side.CLIENT) + public String getRecordNameLocal() { + return StatCollector.translateToLocal("item.record." + this.recordName + ".desc"); + } + + /** + * Return an item rarity from EnumRarity + */ + public EnumRarity getRarity(ItemStack p_77613_1_) { + return EnumRarity.rare; + } + + /** + * Return the record item corresponding to the given name. + */ + @SideOnly(Side.CLIENT) + public static ItemRecord getRecord(String p_150926_0_) { + return (ItemRecord) modRecords.get(p_150926_0_); + } + + /** + * Retrieves the resource location of the sound to play for this record. + * + * @param name + * The name of the record to play + * @return The resource location for the audio, null to use default. + */ + public ResourceLocation getRecordResource(String name) { + + String s = ""; + + if(name.equals("records.lc")) + s = RefStrings.MODID + ":music.recordLambdaCore"; + if(name.equals("records.ss")) + s = RefStrings.MODID + ":music.recordSectorSweep"; + if(name.equals("records.vc")) + s = RefStrings.MODID + ":music.recordVortalCombat"; + + return new ResourceLocation(s); + } + + public String getItemStackDisplayName(ItemStack p_77653_1_) + { + String s = (StatCollector.translateToLocal(Items.record_11.getUnlocalizedName() + ".name")).trim(); + + return s; + } +} diff --git a/com/hbm/items/special/ItemOreBlock.java b/com/hbm/items/special/ItemOreBlock.java new file mode 100644 index 000000000..9b0596fa4 --- /dev/null +++ b/com/hbm/items/special/ItemOreBlock.java @@ -0,0 +1,65 @@ +package com.hbm.items.special; + +import java.util.List; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemBlock; +import net.minecraft.item.ItemStack; + +public class ItemOreBlock extends ItemBlock { + + public ItemOreBlock(Block p_i45328_1_) { + super(p_i45328_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) + { + return EnumRarity.uncommon; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(this.field_150939_a == ModBlocks.ore_australium) { + list.add("Australium ore"); + list.add("Deposit location: X:-400; Z:-400"); + list.add("Estimated quantity: 490"); + } + + if(this.field_150939_a == ModBlocks.ore_weidanium) { + list.add("Weidanium ore"); + list.add("Deposit location: X:0; Z:300"); + list.add("Estimated quantity: 2800"); + } + + if(this.field_150939_a == ModBlocks.ore_reiium) { + list.add("Reiium ore"); + list.add("Deposit location: X:0; Z:0"); + list.add("Estimated quantity: 2800"); + } + + if(this.field_150939_a == ModBlocks.ore_unobtainium) { + list.add("Unobtainium ore"); + list.add("Deposit location: X:200; Z:200"); + list.add("Estimated quantity: 12480"); + } + + if(this.field_150939_a == ModBlocks.ore_daffergon) { + list.add("Daffergon ore"); + list.add("Deposit location: X:400; Z:-200"); + list.add("Estimated quantity: 14980"); + } + + if(this.field_150939_a == ModBlocks.ore_verticium) { + list.add("Verticium ore"); + list.add("Deposit location: X:-300; Z:200"); + list.add("Estimated quantity: 4680"); + } + } + +} diff --git a/com/hbm/items/special/ItemPlasmaBlock.java b/com/hbm/items/special/ItemPlasmaBlock.java index feaec66af..f97d7f4d4 100644 --- a/com/hbm/items/special/ItemPlasmaBlock.java +++ b/com/hbm/items/special/ItemPlasmaBlock.java @@ -1,20 +1,20 @@ -package com.hbm.items.special; - -import net.minecraft.block.Block; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemBlock; -import net.minecraft.item.ItemStack; - -public class ItemPlasmaBlock extends ItemBlock { - - public ItemPlasmaBlock(Block p_i45328_1_) { - super(p_i45328_1_); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) - { - return EnumRarity.epic; - } - -} +package com.hbm.items.special; + +import net.minecraft.block.Block; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemBlock; +import net.minecraft.item.ItemStack; + +public class ItemPlasmaBlock extends ItemBlock { + + public ItemPlasmaBlock(Block p_i45328_1_) { + super(p_i45328_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) + { + return EnumRarity.epic; + } + +} diff --git a/com/hbm/items/special/ItemPolaroid.java b/com/hbm/items/special/ItemPolaroid.java new file mode 100644 index 000000000..faa08dca0 --- /dev/null +++ b/com/hbm/items/special/ItemPolaroid.java @@ -0,0 +1,82 @@ +package com.hbm.items.special; + +import java.util.List; + +import com.hbm.lib.Library; +import com.hbm.main.MainRegistry; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemPolaroid extends Item { + + public void onUpdate(ItemStack stack, World world, Entity entity, int i, boolean b) { + if(entity instanceof EntityPlayer) + if(((EntityPlayer)entity).getHealth() < 10F) { + ((EntityPlayer) entity).addPotionEffect(new PotionEffect(Potion.resistance.id, 10, 2)); + } + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Fate chosen"); + list.add(""); + switch(MainRegistry.polaroidID) { + case 1: + list.add("..."); + break; + case 2: + list.add("Clear as glass."); + break; + case 3: + list.add("'M"); + break; + case 4: + list.add("It's about time."); + break; + case 5: + list.add("If you stare long into the abyss, the abyss stares back."); + break; + case 6: + list.add("public Party celebration = new Party();"); + break; + case 7: + list.add("V urnerq lbh yvxr EBG13!"); + break; + case 8: + list.add("11011100"); + break; + case 9: + list.add("Vg'f nobhg gvzr."); + break; + case 10: + list.add("Schrabidium dislikes the breeding reactor."); + break; + case 11: + list.add("yss stares back.6public Party cel"); + break; + case 12: + list.add("Red streaks."); + break; + case 13: + list.add("Q1"); + break; + case 14: + list.add("Q4"); + break; + case 15: + list.add("Q3"); + break; + case 16: + list.add("Q2"); + break; + } + } + +} diff --git a/com/hbm/items/special/ItemRadioactive.java b/com/hbm/items/special/ItemRadioactive.java index a043c66ff..5b276b6f4 100644 --- a/com/hbm/items/special/ItemRadioactive.java +++ b/com/hbm/items/special/ItemRadioactive.java @@ -1,218 +1,218 @@ -package com.hbm.items.special; - -import com.hbm.items.ModItems; -import com.hbm.lib.Library; -import com.hbm.lib.ModDamageSource; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class ItemRadioactive extends Item { - - public void onUpdate(ItemStack stack, World world, Entity entity, int i, boolean b) { - if((entity instanceof EntityPlayer && !Library.checkForHazmat((EntityPlayer)entity)) || !(entity instanceof EntityPlayer)) - { - doRadiationDamage(entity); - } - } - - public void doRadiationDamage(Entity entity) { - - //Ultra Deadly: Watz Fuel - //Strong: U235, Pu239, Pu240, all fuels except Schrabidium - //Medium: Plutonium, Neptunium, Pu238, RTG Pellet - //Weak: Uranium, U238 - //Incendiary: All radioactive powders - //Schrabidic: All Schrabidium related materials - - if (entity instanceof EntityLivingBase) { - - EntityLivingBase living = (EntityLivingBase)entity; - - //Ultra Deadly - - if (this == ModItems.pellet_hes || - this == ModItems.pellet_les || - this == ModItems.pellet_mes || - this == ModItems.pellet_neptunium || - this == ModItems.pellet_schrabidium) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 120 * 20, 4)); - living.addPotionEffect(new PotionEffect(Potion.wither.id, 30 * 20, 2)); - living.attackEntityFrom(ModDamageSource.radiation, 15); - } - - //Strong - - if (this == ModItems.ingot_u235 || - this == ModItems.ingot_pu239 || - this == ModItems.ingot_pu240 || - this == ModItems.ingot_uranium_fuel || - this == ModItems.ingot_plutonium_fuel || - this == ModItems.ingot_mox_fuel || - this == ModItems.rod_quad_u235 || - this == ModItems.rod_dual_u235 || - this == ModItems.rod_quad_pu239 || - this == ModItems.rod_dual_pu239 || - this == ModItems.rod_quad_pu240 || - this == ModItems.rod_dual_pu240 || - this == ModItems.rod_quad_uranium_fuel || - this == ModItems.rod_dual_uranium_fuel || - this == ModItems.rod_quad_plutonium_fuel || - this == ModItems.rod_dual_plutonium_fuel || - this == ModItems.rod_quad_mox_fuel || - this == ModItems.rod_dual_mox_fuel || - this == ModItems.rod_quad_uranium_fuel_depleted || - this == ModItems.rod_dual_uranium_fuel_depleted || - this == ModItems.rod_quad_plutonium_fuel_depleted || - this == ModItems.rod_dual_plutonium_fuel_depleted || - this == ModItems.rod_quad_mox_fuel_depleted || - this == ModItems.rod_dual_mox_fuel_depleted || - this == ModItems.boy_bullet || - this == ModItems.boy_target || - this == ModItems.gadget_core || - this == ModItems.man_core || - this == ModItems.nuclear_waste) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 45 * 20, 4)); - living.addPotionEffect(new PotionEffect(Potion.wither.id, 5 * 20, 2)); - living.attackEntityFrom(ModDamageSource.radiation, 3); - } - - //Strong Nuggets - - if (this == ModItems.nugget_u235 || - this == ModItems.nugget_pu239 || - this == ModItems.nugget_pu240 || - this == ModItems.nugget_uranium_fuel || - this == ModItems.nugget_plutonium_fuel || - this == ModItems.nugget_mox_fuel || - this == ModItems.rod_u235 || - this == ModItems.rod_pu239 || - this == ModItems.rod_pu240 || - this == ModItems.rod_uranium_fuel || - this == ModItems.rod_plutonium_fuel || - this == ModItems.rod_mox_fuel || - this == ModItems.rod_uranium_fuel_depleted || - this == ModItems.rod_plutonium_fuel_depleted || - this == ModItems.rod_mox_fuel_depleted) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 35 * 20, 4)); - living.addPotionEffect(new PotionEffect(Potion.wither.id, 1 * 20, 2)); - living.attackEntityFrom(ModDamageSource.radiation, 1); - } - - //Medium - - if (this == ModItems.ingot_neptunium || - this == ModItems.ingot_pu238 || - this == ModItems.ingot_plutonium || - this == ModItems.pellet_rtg || - this == ModItems.rod_quad_neptunium || - this == ModItems.rod_dual_neptunium || - this == ModItems.rod_quad_pu238 || - this == ModItems.rod_dual_pu238 || - this == ModItems.rod_quad_plutonium || - this == ModItems.rod_dual_plutonium || - this == ModItems.mike_core || - this == ModItems.tsar_core || - this == ModItems.trinitite) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 25 * 20, 4)); - living.attackEntityFrom(ModDamageSource.radiation, 1); - } - - //Medium Nuggets - - if (this == ModItems.nugget_neptunium || - this == ModItems.nugget_pu238 || - this == ModItems.nugget_plutonium || - this == ModItems.rod_neptunium || - this == ModItems.rod_pu238 || - this == ModItems.rod_plutonium) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 15 * 20, 2)); - } - - //Weak - - if (this == ModItems.ingot_uranium || - this == ModItems.ingot_u238 || - this == ModItems.rod_quad_uranium || - this == ModItems.rod_dual_uranium || - this == ModItems.rod_quad_u238 || - this == ModItems.rod_dual_u238 || - this == ModItems.rod_quad_pu238 || - this == ModItems.rod_dual_pu238) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 15 * 20, 0)); - } - - //Weak Nuggets - - if (this == ModItems.nugget_uranium || - this == ModItems.nugget_u238 || - this == ModItems.rod_uranium || - this == ModItems.rod_u238 || - this == ModItems.cell_tritium || - this == ModItems.rod_tritium || - this == ModItems.rod_dual_tritium || - this == ModItems.rod_quad_tritium) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 5 * 20, 0)); - } - - //Powder - - if (this == ModItems.powder_neptunium || - this == ModItems.powder_plutonium) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 25 * 20, 4)); - living.attackEntityFrom(ModDamageSource.radiation, 1); - living.setFire(5); - } - - if (this == ModItems.powder_uranium) { - living.addPotionEffect(new PotionEffect(Potion.poison.id, 15 * 20, 0)); - living.setFire(5); - } - - //Schrabidic - - if (this == ModItems.ingot_schrabidium || - this == ModItems.ingot_schrabidium_fuel || - this == ModItems.ingot_hes || - this == ModItems.ingot_les || - this == ModItems.cell_sas3 || - this == ModItems.fleija_propellant || - this == ModItems.gun_revolver_schrabidium_ammo || - this == ModItems.rod_schrabidium || - this == ModItems.rod_dual_schrabidium || - this == ModItems.rod_quad_schrabidium || - this == ModItems.rod_schrabidium_fuel || - this == ModItems.rod_dual_schrabidium_fuel || - this == ModItems.rod_quad_schrabidium_fuel) { - living.addPotionEffect(new PotionEffect(Potion.blindness.id, 2 * 60 * 20, 0)); - living.attackEntityFrom(ModDamageSource.radiation, 30); - } - - if (this == ModItems.nugget_schrabidium || - this == ModItems.nugget_schrabidium_fuel || - this == ModItems.nugget_hes || - this == ModItems.nugget_les) { - living.addPotionEffect(new PotionEffect(Potion.blindness.id, 2 * 60 * 20, 0)); - living.attackEntityFrom(ModDamageSource.radiation, 10); - } - - if (this == ModItems.plate_schrabidium || - this == ModItems.wire_schrabidium) { - living.addPotionEffect(new PotionEffect(Potion.blindness.id, 2 * 60 * 20, 0)); - living.attackEntityFrom(ModDamageSource.radiation, 15); - } - - if (this == ModItems.powder_schrabidium) { - living.addPotionEffect(new PotionEffect(Potion.blindness.id, 2 * 60 * 20, 0)); - living.attackEntityFrom(ModDamageSource.radiation, 30); - living.setFire(5); - } - } - } -} +package com.hbm.items.special; + +import com.hbm.items.ModItems; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemRadioactive extends Item { + + public void onUpdate(ItemStack stack, World world, Entity entity, int i, boolean b) { + if((entity instanceof EntityPlayer && !Library.checkForHazmat((EntityPlayer)entity)) || !(entity instanceof EntityPlayer)) + { + doRadiationDamage(entity); + } + } + + public void doRadiationDamage(Entity entity) { + + //Ultra Deadly: Watz Fuel + //Strong: U235, Pu239, Pu240, all fuels except Schrabidium + //Medium: Plutonium, Neptunium, Pu238, RTG Pellet + //Weak: Uranium, U238 + //Incendiary: All radioactive powders + //Schrabidic: All Schrabidium related materials + + if (entity instanceof EntityLivingBase) { + + EntityLivingBase living = (EntityLivingBase)entity; + + //Ultra Deadly + + if (this == ModItems.pellet_hes || + this == ModItems.pellet_les || + this == ModItems.pellet_mes || + this == ModItems.pellet_neptunium || + this == ModItems.pellet_schrabidium) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 120 * 20, 4)); + living.addPotionEffect(new PotionEffect(Potion.wither.id, 30 * 20, 2)); + living.attackEntityFrom(ModDamageSource.radiation, 15); + } + + //Strong + + if (this == ModItems.ingot_u235 || + this == ModItems.ingot_pu239 || + this == ModItems.ingot_pu240 || + this == ModItems.ingot_uranium_fuel || + this == ModItems.ingot_plutonium_fuel || + this == ModItems.ingot_mox_fuel || + this == ModItems.rod_quad_u235 || + this == ModItems.rod_dual_u235 || + this == ModItems.rod_quad_pu239 || + this == ModItems.rod_dual_pu239 || + this == ModItems.rod_quad_pu240 || + this == ModItems.rod_dual_pu240 || + this == ModItems.rod_quad_uranium_fuel || + this == ModItems.rod_dual_uranium_fuel || + this == ModItems.rod_quad_plutonium_fuel || + this == ModItems.rod_dual_plutonium_fuel || + this == ModItems.rod_quad_mox_fuel || + this == ModItems.rod_dual_mox_fuel || + this == ModItems.rod_quad_uranium_fuel_depleted || + this == ModItems.rod_dual_uranium_fuel_depleted || + this == ModItems.rod_quad_plutonium_fuel_depleted || + this == ModItems.rod_dual_plutonium_fuel_depleted || + this == ModItems.rod_quad_mox_fuel_depleted || + this == ModItems.rod_dual_mox_fuel_depleted || + this == ModItems.boy_bullet || + this == ModItems.boy_target || + this == ModItems.gadget_core || + this == ModItems.man_core || + this == ModItems.nuclear_waste) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 45 * 20, 4)); + living.addPotionEffect(new PotionEffect(Potion.wither.id, 5 * 20, 2)); + living.attackEntityFrom(ModDamageSource.radiation, 3); + } + + //Strong Nuggets + + if (this == ModItems.nugget_u235 || + this == ModItems.nugget_pu239 || + this == ModItems.nugget_pu240 || + this == ModItems.nugget_uranium_fuel || + this == ModItems.nugget_plutonium_fuel || + this == ModItems.nugget_mox_fuel || + this == ModItems.rod_u235 || + this == ModItems.rod_pu239 || + this == ModItems.rod_pu240 || + this == ModItems.rod_uranium_fuel || + this == ModItems.rod_plutonium_fuel || + this == ModItems.rod_mox_fuel || + this == ModItems.rod_uranium_fuel_depleted || + this == ModItems.rod_plutonium_fuel_depleted || + this == ModItems.rod_mox_fuel_depleted) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 35 * 20, 4)); + living.addPotionEffect(new PotionEffect(Potion.wither.id, 1 * 20, 2)); + living.attackEntityFrom(ModDamageSource.radiation, 1); + } + + //Medium + + if (this == ModItems.ingot_neptunium || + this == ModItems.ingot_pu238 || + this == ModItems.ingot_plutonium || + this == ModItems.pellet_rtg || + this == ModItems.rod_quad_neptunium || + this == ModItems.rod_dual_neptunium || + this == ModItems.rod_quad_pu238 || + this == ModItems.rod_dual_pu238 || + this == ModItems.rod_quad_plutonium || + this == ModItems.rod_dual_plutonium || + this == ModItems.mike_core || + this == ModItems.tsar_core || + this == ModItems.trinitite) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 25 * 20, 4)); + living.attackEntityFrom(ModDamageSource.radiation, 1); + } + + //Medium Nuggets + + if (this == ModItems.nugget_neptunium || + this == ModItems.nugget_pu238 || + this == ModItems.nugget_plutonium || + this == ModItems.rod_neptunium || + this == ModItems.rod_pu238 || + this == ModItems.rod_plutonium) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 15 * 20, 2)); + } + + //Weak + + if (this == ModItems.ingot_uranium || + this == ModItems.ingot_u238 || + this == ModItems.rod_quad_uranium || + this == ModItems.rod_dual_uranium || + this == ModItems.rod_quad_u238 || + this == ModItems.rod_dual_u238 || + this == ModItems.rod_quad_pu238 || + this == ModItems.rod_dual_pu238) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 15 * 20, 0)); + } + + //Weak Nuggets + + if (this == ModItems.nugget_uranium || + this == ModItems.nugget_u238 || + this == ModItems.rod_uranium || + this == ModItems.rod_u238 || + this == ModItems.cell_tritium || + this == ModItems.rod_tritium || + this == ModItems.rod_dual_tritium || + this == ModItems.rod_quad_tritium) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 5 * 20, 0)); + } + + //Powder + + if (this == ModItems.powder_neptunium || + this == ModItems.powder_plutonium) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 25 * 20, 4)); + living.attackEntityFrom(ModDamageSource.radiation, 1); + living.setFire(5); + } + + if (this == ModItems.powder_uranium) { + living.addPotionEffect(new PotionEffect(Potion.poison.id, 15 * 20, 0)); + living.setFire(5); + } + + //Schrabidic + + if (this == ModItems.ingot_schrabidium || + this == ModItems.ingot_schrabidium_fuel || + this == ModItems.ingot_hes || + this == ModItems.ingot_les || + this == ModItems.cell_sas3 || + this == ModItems.fleija_propellant || + this == ModItems.gun_revolver_schrabidium_ammo || + this == ModItems.rod_schrabidium || + this == ModItems.rod_dual_schrabidium || + this == ModItems.rod_quad_schrabidium || + this == ModItems.rod_schrabidium_fuel || + this == ModItems.rod_dual_schrabidium_fuel || + this == ModItems.rod_quad_schrabidium_fuel) { + living.addPotionEffect(new PotionEffect(Potion.blindness.id, 2 * 60 * 20, 0)); + living.attackEntityFrom(ModDamageSource.radiation, 30); + } + + if (this == ModItems.nugget_schrabidium || + this == ModItems.nugget_schrabidium_fuel || + this == ModItems.nugget_hes || + this == ModItems.nugget_les) { + living.addPotionEffect(new PotionEffect(Potion.blindness.id, 2 * 60 * 20, 0)); + living.attackEntityFrom(ModDamageSource.radiation, 10); + } + + if (this == ModItems.plate_schrabidium || + this == ModItems.wire_schrabidium) { + living.addPotionEffect(new PotionEffect(Potion.blindness.id, 2 * 60 * 20, 0)); + living.attackEntityFrom(ModDamageSource.radiation, 15); + } + + if (this == ModItems.powder_schrabidium) { + living.addPotionEffect(new PotionEffect(Potion.blindness.id, 2 * 60 * 20, 0)); + living.attackEntityFrom(ModDamageSource.radiation, 30); + living.setFire(5); + } + } + } +} diff --git a/com/hbm/items/special/ItemSchrabidiumBlock.java b/com/hbm/items/special/ItemSchrabidiumBlock.java index 4e831bb6c..81104b91e 100644 --- a/com/hbm/items/special/ItemSchrabidiumBlock.java +++ b/com/hbm/items/special/ItemSchrabidiumBlock.java @@ -1,20 +1,20 @@ -package com.hbm.items.special; - -import net.minecraft.block.Block; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.ItemBlock; -import net.minecraft.item.ItemStack; - -public class ItemSchrabidiumBlock extends ItemBlock { - - public ItemSchrabidiumBlock(Block p_i45328_1_) { - super(p_i45328_1_); - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - return EnumRarity.rare; - } - -} +package com.hbm.items.special; + +import net.minecraft.block.Block; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemBlock; +import net.minecraft.item.ItemStack; + +public class ItemSchrabidiumBlock extends ItemBlock { + + public ItemSchrabidiumBlock(Block p_i45328_1_) { + super(p_i45328_1_); + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.rare; + } + +} diff --git a/com/hbm/items/special/ItemStarterKit.java b/com/hbm/items/special/ItemStarterKit.java index e90ff98ca..fc52226a3 100644 --- a/com/hbm/items/special/ItemStarterKit.java +++ b/com/hbm/items/special/ItemStarterKit.java @@ -1,381 +1,371 @@ -package com.hbm.items.special; - -import com.hbm.blocks.ModBlocks; -<<<<<<< HEAD:com/hbm/items/special/ItemStarterKit.java -import com.hbm.items.ModItems; -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/ItemStarterKit.java -import com.hbm.lib.Library; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; - -public class ItemStarterKit extends Item { - - public ItemStarterKit() - { - this.maxStackSize = 1; - this.setMaxDamage(1); - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - - stack.damageItem(5, player); - - if(this == ModItems.nuke_starter_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_difurnace_off), 1)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_centrifuge), 1)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_reactor), 1)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_uf6_tank), 1)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_uranium, 6)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_red_copper, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_tungsten, 4)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_steel, 12)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_lead, 8)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_titanium, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_aluminium, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_iron, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_steel, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_lead, 16)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.wire_red_copper, 28)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.wire_tungsten, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.coil_copper, 8)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.tank_steel, 4)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_rtg, 4)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_empty, 32)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_uf6, 8)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_empty, 16)); - } - - if(this == ModItems.nuke_advanced_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_difurnace_off), 2)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_centrifuge), 4)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_reactor), 3)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_uf6_tank), 2)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_puf6_tank), 2)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_deuterium), 1)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_uranium, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_u235, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_u238, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_plutonium, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_pu238, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_pu239, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_pu240, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_neptunium, 16)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_copper, 32)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_red_copper, 64)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_steel, 64)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_tungsten, 32)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_lead, 32)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.wire_red_copper, 32)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.wire_tungsten, 32)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.coil_copper, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.coil_tungsten, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.coil_copper_torus, 8)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.tank_steel, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.motor, 8)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_aluminium, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_titanium, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_iron, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_steel, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.neutron_reflector, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_lead, 16)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_empty, 64)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_empty, 64)); - - player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_rtg, 16)); - } - - if(this == ModItems.nuke_commercially_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_generator), 4)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_off), 2)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_off), 2)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off), 4)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_cable), 64)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_wire_coated), 8)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_rtg, 8)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_pu238, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_pu238, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_mox_fuel, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_mox_fuel, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_mox_fuel, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_mox_fuel, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_dual_mox_fuel, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_dual_mox_fuel, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_dual_mox_fuel, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_dual_mox_fuel, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_water, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_water, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_water, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_water, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_coolant, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_coolant, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_coolant, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_coolant, 1)); - } - - if(this == ModItems.nuke_electric_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_coal_off), 4)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_cable), 64)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_cable), 64)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_wire_coated), 64)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_battery), 6)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off), 2)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_advanced, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_advanced, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_advanced, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_advanced, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.energy_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.energy_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_aluminium, 32)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_titanium, 32)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_steel, 32)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.circuit_aluminium, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.circuit_copper, 8)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.circuit_red_copper, 4)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.circuit_gold, 2)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.motor, 4)); - } - - if(this == ModItems.gadget_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_gadget), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_wireing, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_core, 1)); - } - - if(this == ModItems.boy_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_boy), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_shielding, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_target, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_bullet, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_propellant, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_igniter, 1)); - } - - if(this == ModItems.man_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_man), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_igniter, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_core, 1)); - } - - if(this == ModItems.mike_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_mike), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.mike_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.mike_deut, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.mike_cooling_unit, 1)); - } - - if(this == ModItems.tsar_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_tsar), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.tsar_core, 1)); - } - - if(this == ModItems.multi_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.bomb_multi), 6)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(Blocks.tnt), 26)); - player.inventory.addItemStackToInventory(new ItemStack(Items.gunpowder, 2)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_cluster, 2)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.powder_fire, 2)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.powder_poison, 2)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_gas, 2)); - } - - if(this == ModItems.grenade_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_generic, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_strong, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_frag, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_fire, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_cluster, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_flare, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_electric, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_poison, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_gas, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_plasma, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_tau, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_schrabidium, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_lemon, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_mk2, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_aschrab, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_nuke, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_nuclear, 16)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_zomg, 16)); - } - - if(this == ModItems.fleija_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_fleija), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_igniter, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_igniter, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_propellant, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_propellant, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_propellant, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); - } - - if(this == ModItems.prototype_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_prototype), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.igniter, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_sas3, 4)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_uranium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_uranium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_lead, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_lead, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_neptunium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_neptunium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_lead, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_lead, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_uranium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_uranium, 1)); - } - - if(this == ModItems.missile_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.launch_pad), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.designator, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_generic, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_strong, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_burst, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_incendiary, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_incendiary_strong, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_inferno, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_cluster, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_cluster_strong, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_rain, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_buster, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_buster_strong, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_drill, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_nuclear, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_nuclear_cluster, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_endo, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_exo, 1)); - } - - if(this == ModItems.t45_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(ModItems.t45_helmet, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.t45_plate, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.t45_legs, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.t45_boots, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); - } - - if(this == ModItems.stealth_boy) - { - player.addPotionEffect(new PotionEffect(Potion.invisibility.id, 30 * 20, 0, true)); - } - - if(this == ModItems.euphemium_kit) - { - player.inventory.addItemStackToInventory(new ItemStack(ModItems.euphemium_helmet, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.euphemium_plate, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.euphemium_legs, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.euphemium_boots, 1)); - player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb), 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_cursed, 1)); - player.inventory.addItemStackToInventory(new ItemStack(ModItems.watch, 1)); - } - -<<<<<<< HEAD:com/hbm/items/special/ItemStarterKit.java - if(this == ModItems.letter && world.isRemote) -======= -<<<<<<< HEAD - if(this == ModItems.letter && world.isRemote) -======= - if(this == ModItems.letter && !world.isRemote) ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/ItemStarterKit.java - { - if(player.getUniqueID().toString().equals(Library.a20)) { - player.addChatMessage(new ChatComponentText("Error: null reference @ com.hbm.items.ItemStarterKit.class, please report this to the modder!")); - } else { - player.addChatMessage(new ChatComponentText("You rip the letter in half; nothing happens.")); - } - } - - return stack; - - } - - @Override - public void onPlayerStoppedUsing(ItemStack stack, World world, EntityPlayer player, int i) { - - } - -} +package com.hbm.items.special; + +import com.hbm.blocks.ModBlocks; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; + +public class ItemStarterKit extends Item { + + public ItemStarterKit() + { + this.maxStackSize = 1; + this.setMaxDamage(1); + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + + stack.damageItem(5, player); + + if(this == ModItems.nuke_starter_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_difurnace_off), 1)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_centrifuge), 1)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_reactor), 1)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_uf6_tank), 1)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_uranium, 6)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_red_copper, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_tungsten, 4)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_steel, 12)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_lead, 8)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_titanium, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_aluminium, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_iron, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_steel, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_lead, 16)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.wire_red_copper, 28)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.wire_tungsten, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.coil_copper, 8)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.tank_steel, 4)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_rtg, 4)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_empty, 32)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_uf6, 8)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_empty, 16)); + } + + if(this == ModItems.nuke_advanced_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_difurnace_off), 2)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_centrifuge), 4)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_reactor), 3)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_uf6_tank), 2)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_puf6_tank), 2)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_deuterium), 1)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_uranium, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_u235, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_u238, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_plutonium, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_pu238, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_pu239, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_pu240, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_neptunium, 16)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_copper, 32)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_red_copper, 64)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_steel, 64)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_tungsten, 32)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.ingot_lead, 32)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.wire_red_copper, 32)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.wire_tungsten, 32)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.coil_copper, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.coil_tungsten, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.coil_copper_torus, 8)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.tank_steel, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.motor, 8)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_aluminium, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_titanium, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_iron, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_steel, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.neutron_reflector, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_lead, 16)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_empty, 64)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_empty, 64)); + + player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_rtg, 16)); + } + + if(this == ModItems.nuke_commercially_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_generator), 4)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_off), 2)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_off), 2)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off), 4)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_cable), 64)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_wire_coated), 8)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_rtg, 8)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_pu238, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_pu238, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_mox_fuel, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_mox_fuel, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_mox_fuel, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_mox_fuel, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_dual_mox_fuel, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_dual_mox_fuel, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_dual_mox_fuel, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_dual_mox_fuel, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_water, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_water, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_water, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_water, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_coolant, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_coolant, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_coolant, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_coolant, 1)); + } + + if(this == ModItems.nuke_electric_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_coal_off), 4)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_cable), 64)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_cable), 64)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.red_wire_coated), 64)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_battery), 6)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off), 2)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_generic, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_advanced, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_advanced, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_advanced, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_advanced, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.energy_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.energy_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_aluminium, 32)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_titanium, 32)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.plate_steel, 32)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.circuit_aluminium, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.circuit_copper, 8)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.circuit_red_copper, 4)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.circuit_gold, 2)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.motor, 4)); + } + + if(this == ModItems.gadget_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_gadget), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_wireing, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.gadget_core, 1)); + } + + if(this == ModItems.boy_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_boy), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_shielding, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_target, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_bullet, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_propellant, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.boy_igniter, 1)); + } + + if(this == ModItems.man_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_man), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_igniter, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_core, 1)); + } + + if(this == ModItems.mike_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_mike), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.mike_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.mike_deut, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.mike_cooling_unit, 1)); + } + + if(this == ModItems.tsar_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_tsar), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_explosive8, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.man_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.tsar_core, 1)); + } + + if(this == ModItems.multi_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.bomb_multi), 6)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(Blocks.tnt), 26)); + player.inventory.addItemStackToInventory(new ItemStack(Items.gunpowder, 2)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_cluster, 2)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.powder_fire, 2)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.powder_poison, 2)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.pellet_gas, 2)); + } + + if(this == ModItems.grenade_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_generic, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_strong, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_frag, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_fire, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_cluster, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_flare, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_electric, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_poison, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_gas, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_pulse, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_plasma, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_tau, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_schrabidium, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_lemon, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_mk2, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_aschrab, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_nuke, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_nuclear, 16)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.grenade_zomg, 16)); + } + + if(this == ModItems.fleija_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_fleija), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_igniter, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_igniter, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_propellant, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_propellant, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_propellant, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fleija_core, 1)); + } + + if(this == ModItems.prototype_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_prototype), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.igniter, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.cell_sas3, 4)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_uranium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_uranium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_lead, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_lead, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_neptunium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_neptunium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_lead, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_lead, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_uranium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.rod_quad_uranium, 1)); + } + + if(this == ModItems.missile_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.launch_pad), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.designator, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.battery_schrabidium, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_generic, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_strong, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_burst, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_incendiary, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_incendiary_strong, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_inferno, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_cluster, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_cluster_strong, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_rain, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_buster, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_buster_strong, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_drill, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_nuclear, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_nuclear_cluster, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_endo, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.missile_exo, 1)); + } + + if(this == ModItems.t45_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(ModItems.t45_helmet, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.t45_plate, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.t45_legs, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.t45_boots, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.fusion_core, 1)); + } + + if(this == ModItems.stealth_boy) + { + player.addPotionEffect(new PotionEffect(Potion.invisibility.id, 30 * 20, 0, true)); + } + + if(this == ModItems.euphemium_kit) + { + player.inventory.addItemStackToInventory(new ItemStack(ModItems.euphemium_helmet, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.euphemium_plate, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.euphemium_legs, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.euphemium_boots, 1)); + player.inventory.addItemStackToInventory(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb), 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_cursed, 1)); + player.inventory.addItemStackToInventory(new ItemStack(ModItems.watch, 1)); + } + + if(this == ModItems.letter && world.isRemote) + { + if(player.getUniqueID().toString().equals(Library.a20)) { + player.addChatMessage(new ChatComponentText("Error: null reference @ com.hbm.items.ItemStarterKit.class, please report this to the modder!")); + } else { + player.addChatMessage(new ChatComponentText("You rip the letter in half; nothing happens.")); + } + } + + return stack; + + } + + @Override + public void onPlayerStoppedUsing(ItemStack stack, World world, EntityPlayer player, int i) { + + } + +} diff --git a/com/hbm/items/special/ItemSyringe.java b/com/hbm/items/special/ItemSyringe.java index a8d8e2a9b..1a0961fa9 100644 --- a/com/hbm/items/special/ItemSyringe.java +++ b/com/hbm/items/special/ItemSyringe.java @@ -1,329 +1,329 @@ -package com.hbm.items.special; - -import java.util.Random; - -import com.hbm.items.ModItems; -import com.hbm.lib.ModDamageSource; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class ItemSyringe extends Item { - - Random rand = new Random(); - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - - if(this == ModItems.syringe_antidote) - { - if (!world.isRemote) - { - player.clearActivePotions(); - - stack.stackSize--; - - if (stack.stackSize <= 0) - { - return new ItemStack(ModItems.syringe_empty); - } - - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); - } - } - } - - if(this == ModItems.syringe_awesome) - { - if (!world.isRemote) - { - player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 50 * 20, 9)); - player.addPotionEffect(new PotionEffect(Potion.resistance.id, 50 * 20, 9)); - player.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 50 * 20, 0)); - player.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 50 * 20, 24)); - player.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 50 * 20, 9)); - player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 50 * 20, 6)); - player.addPotionEffect(new PotionEffect(Potion.jump.id, 50 * 20, 9)); - player.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 50 * 20, 9)); - player.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 50 * 20, 4)); - player.addPotionEffect(new PotionEffect(Potion.confusion.id, 5 * 20, 4)); - - stack.stackSize--; - - if (stack.stackSize <= 0) - { - return new ItemStack(ModItems.syringe_empty); - } - - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); - } - } - } - - if(this == ModItems.syringe_poison) - { - if (!world.isRemote) - { - if(rand.nextInt(2) == 0) - player.attackEntityFrom(ModDamageSource.euthanizedSelf, 30); - else - player.attackEntityFrom(ModDamageSource.euthanizedSelf2, 30); - - stack.stackSize--; - - if (stack.stackSize <= 0) - { - return new ItemStack(ModItems.syringe_empty); - } - - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); - } - } - } - - if(this == ModItems.syringe_metal_stimpak) - { - if (!world.isRemote) - { - player.heal(5); - - stack.stackSize--; - - if (stack.stackSize <= 0) - { - return new ItemStack(ModItems.syringe_metal_empty); - } - - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); - } - } - } - - if(this == ModItems.syringe_metal_medx) - { - if (!world.isRemote) - { - player.addPotionEffect(new PotionEffect(Potion.resistance.id, 4 * 60 * 20, 2)); - - stack.stackSize--; - - if (stack.stackSize <= 0) - { - return new ItemStack(ModItems.syringe_metal_empty); - } - - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); - } - } - } - - if(this == ModItems.syringe_metal_psycho) - { - if (!world.isRemote) - { - player.addPotionEffect(new PotionEffect(Potion.resistance.id, 2 * 60 * 20, 0)); - player.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 2 * 60 * 20, 0)); - - stack.stackSize--; - - if (stack.stackSize <= 0) - { - return new ItemStack(ModItems.syringe_metal_empty); - } - - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); - } - } - } - - return stack; - } - - @Override - @SideOnly(Side.CLIENT) - public boolean hasEffect(ItemStack p_77636_1_) - { - if(this == ModItems.syringe_awesome) - { - return true; - } - - return false; - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) - { - if(this == ModItems.syringe_awesome) - { - return EnumRarity.uncommon; - } - if(this == ModItems.euphemium_stopper) - { - return EnumRarity.epic; - } - - return EnumRarity.common; - } - - public boolean hitEntity(ItemStack stack, EntityLivingBase entity, EntityLivingBase entityPlayer) - { - World world = entity.worldObj; - - if(this == ModItems.syringe_antidote) - { - if (!world.isRemote) - { - entity.clearActivePotions(); - - stack.stackSize--; - - if(entityPlayer instanceof EntityPlayer) - { - EntityPlayer player = (EntityPlayer)entityPlayer; - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); - } - } - } - } - - if(this == ModItems.syringe_awesome) - { - if (!world.isRemote) - { - entity.addPotionEffect(new PotionEffect(Potion.regeneration.id, 50 * 20, 9)); - entity.addPotionEffect(new PotionEffect(Potion.resistance.id, 50 * 20, 9)); - entity.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 50 * 20, 0)); - entity.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 50 * 20, 24)); - entity.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 50 * 20, 9)); - entity.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 50 * 20, 6)); - entity.addPotionEffect(new PotionEffect(Potion.jump.id, 50 * 20, 9)); - entity.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 50 * 20, 9)); - entity.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 50 * 20, 4)); - entity.addPotionEffect(new PotionEffect(Potion.confusion.id, 5 * 20, 4)); - - stack.stackSize--; - - if(entityPlayer instanceof EntityPlayer) - { - EntityPlayer player = (EntityPlayer)entityPlayer; - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); - } - } - } - } - - if(this == ModItems.syringe_poison) - { - if (!world.isRemote) - { - entity.attackEntityFrom(ModDamageSource.euthanized(entityPlayer, entityPlayer), 30); - - stack.stackSize--; - - if(entityPlayer instanceof EntityPlayer) - { - EntityPlayer player = (EntityPlayer)entityPlayer; - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); - } - } - } - } - - if(this == ModItems.syringe_metal_stimpak) - { - if (!world.isRemote) - { - entity.heal(5); - - stack.stackSize--; - - if(entityPlayer instanceof EntityPlayer) - { - EntityPlayer player = (EntityPlayer)entityPlayer; - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); - } - } - } - } - - if(this == ModItems.syringe_metal_medx) - { - if (!world.isRemote) - { - entity.addPotionEffect(new PotionEffect(Potion.resistance.id, 4 * 60 * 20, 2)); - - stack.stackSize--; - - if(entityPlayer instanceof EntityPlayer) - { - EntityPlayer player = (EntityPlayer)entityPlayer; - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); - } - } - } - } - - if(this == ModItems.syringe_metal_psycho) - { - if (!world.isRemote) - { - entity.addPotionEffect(new PotionEffect(Potion.resistance.id, 2 * 60 * 20, 0)); - entity.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 2 * 60 * 20, 0)); - - stack.stackSize--; - - if(entityPlayer instanceof EntityPlayer) - { - EntityPlayer player = (EntityPlayer)entityPlayer; - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) - { - player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); - } - } - } - } - - if(this == ModItems.euphemium_stopper) - { - if (!world.isRemote) - { - entity.addPotionEffect(new PotionEffect(Potion.weakness.id, 30 * 20, 9)); - entity.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 30 * 20, 9)); - entity.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 30 * 20, 9)); - } - } - - return false; - } -} +package com.hbm.items.special; + +import java.util.Random; + +import com.hbm.items.ModItems; +import com.hbm.lib.ModDamageSource; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemSyringe extends Item { + + Random rand = new Random(); + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + + if(this == ModItems.syringe_antidote) + { + if (!world.isRemote) + { + player.clearActivePotions(); + + stack.stackSize--; + + if (stack.stackSize <= 0) + { + return new ItemStack(ModItems.syringe_empty); + } + + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); + } + } + } + + if(this == ModItems.syringe_awesome) + { + if (!world.isRemote) + { + player.addPotionEffect(new PotionEffect(Potion.regeneration.id, 50 * 20, 9)); + player.addPotionEffect(new PotionEffect(Potion.resistance.id, 50 * 20, 9)); + player.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 50 * 20, 0)); + player.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 50 * 20, 24)); + player.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 50 * 20, 9)); + player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 50 * 20, 6)); + player.addPotionEffect(new PotionEffect(Potion.jump.id, 50 * 20, 9)); + player.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 50 * 20, 9)); + player.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 50 * 20, 4)); + player.addPotionEffect(new PotionEffect(Potion.confusion.id, 5 * 20, 4)); + + stack.stackSize--; + + if (stack.stackSize <= 0) + { + return new ItemStack(ModItems.syringe_empty); + } + + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); + } + } + } + + if(this == ModItems.syringe_poison) + { + if (!world.isRemote) + { + if(rand.nextInt(2) == 0) + player.attackEntityFrom(ModDamageSource.euthanizedSelf, 30); + else + player.attackEntityFrom(ModDamageSource.euthanizedSelf2, 30); + + stack.stackSize--; + + if (stack.stackSize <= 0) + { + return new ItemStack(ModItems.syringe_empty); + } + + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); + } + } + } + + if(this == ModItems.syringe_metal_stimpak) + { + if (!world.isRemote) + { + player.heal(5); + + stack.stackSize--; + + if (stack.stackSize <= 0) + { + return new ItemStack(ModItems.syringe_metal_empty); + } + + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); + } + } + } + + if(this == ModItems.syringe_metal_medx) + { + if (!world.isRemote) + { + player.addPotionEffect(new PotionEffect(Potion.resistance.id, 4 * 60 * 20, 2)); + + stack.stackSize--; + + if (stack.stackSize <= 0) + { + return new ItemStack(ModItems.syringe_metal_empty); + } + + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); + } + } + } + + if(this == ModItems.syringe_metal_psycho) + { + if (!world.isRemote) + { + player.addPotionEffect(new PotionEffect(Potion.resistance.id, 2 * 60 * 20, 0)); + player.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 2 * 60 * 20, 0)); + + stack.stackSize--; + + if (stack.stackSize <= 0) + { + return new ItemStack(ModItems.syringe_metal_empty); + } + + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); + } + } + } + + return stack; + } + + @Override + @SideOnly(Side.CLIENT) + public boolean hasEffect(ItemStack p_77636_1_) + { + if(this == ModItems.syringe_awesome) + { + return true; + } + + return false; + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) + { + if(this == ModItems.syringe_awesome) + { + return EnumRarity.uncommon; + } + if(this == ModItems.euphemium_stopper) + { + return EnumRarity.epic; + } + + return EnumRarity.common; + } + + public boolean hitEntity(ItemStack stack, EntityLivingBase entity, EntityLivingBase entityPlayer) + { + World world = entity.worldObj; + + if(this == ModItems.syringe_antidote) + { + if (!world.isRemote) + { + entity.clearActivePotions(); + + stack.stackSize--; + + if(entityPlayer instanceof EntityPlayer) + { + EntityPlayer player = (EntityPlayer)entityPlayer; + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); + } + } + } + } + + if(this == ModItems.syringe_awesome) + { + if (!world.isRemote) + { + entity.addPotionEffect(new PotionEffect(Potion.regeneration.id, 50 * 20, 9)); + entity.addPotionEffect(new PotionEffect(Potion.resistance.id, 50 * 20, 9)); + entity.addPotionEffect(new PotionEffect(Potion.fireResistance.id, 50 * 20, 0)); + entity.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 50 * 20, 24)); + entity.addPotionEffect(new PotionEffect(Potion.digSpeed.id, 50 * 20, 9)); + entity.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 50 * 20, 6)); + entity.addPotionEffect(new PotionEffect(Potion.jump.id, 50 * 20, 9)); + entity.addPotionEffect(new PotionEffect(Potion.field_76434_w.id, 50 * 20, 9)); + entity.addPotionEffect(new PotionEffect(Potion.field_76444_x.id, 50 * 20, 4)); + entity.addPotionEffect(new PotionEffect(Potion.confusion.id, 5 * 20, 4)); + + stack.stackSize--; + + if(entityPlayer instanceof EntityPlayer) + { + EntityPlayer player = (EntityPlayer)entityPlayer; + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); + } + } + } + } + + if(this == ModItems.syringe_poison) + { + if (!world.isRemote) + { + entity.attackEntityFrom(ModDamageSource.euthanized(entityPlayer, entityPlayer), 30); + + stack.stackSize--; + + if(entityPlayer instanceof EntityPlayer) + { + EntityPlayer player = (EntityPlayer)entityPlayer; + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_empty, 1, 0), false); + } + } + } + } + + if(this == ModItems.syringe_metal_stimpak) + { + if (!world.isRemote) + { + entity.heal(5); + + stack.stackSize--; + + if(entityPlayer instanceof EntityPlayer) + { + EntityPlayer player = (EntityPlayer)entityPlayer; + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); + } + } + } + } + + if(this == ModItems.syringe_metal_medx) + { + if (!world.isRemote) + { + entity.addPotionEffect(new PotionEffect(Potion.resistance.id, 4 * 60 * 20, 2)); + + stack.stackSize--; + + if(entityPlayer instanceof EntityPlayer) + { + EntityPlayer player = (EntityPlayer)entityPlayer; + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); + } + } + } + } + + if(this == ModItems.syringe_metal_psycho) + { + if (!world.isRemote) + { + entity.addPotionEffect(new PotionEffect(Potion.resistance.id, 2 * 60 * 20, 0)); + entity.addPotionEffect(new PotionEffect(Potion.damageBoost.id, 2 * 60 * 20, 0)); + + stack.stackSize--; + + if(entityPlayer instanceof EntityPlayer) + { + EntityPlayer player = (EntityPlayer)entityPlayer; + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.syringe_metal_empty))) + { + player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.syringe_metal_empty, 1, 0), false); + } + } + } + } + + if(this == ModItems.euphemium_stopper) + { + if (!world.isRemote) + { + entity.addPotionEffect(new PotionEffect(Potion.weakness.id, 30 * 20, 9)); + entity.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 30 * 20, 9)); + entity.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 30 * 20, 9)); + } + } + + return false; + } +} diff --git a/com/hbm/items/special/ItemTankWaste.java b/com/hbm/items/special/ItemTankWaste.java index ec83cad52..754846873 100644 --- a/com/hbm/items/special/ItemTankWaste.java +++ b/com/hbm/items/special/ItemTankWaste.java @@ -1,56 +1,56 @@ -package com.hbm.items.special; - -import java.util.List; - -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; - -public class ItemTankWaste extends Item { - - @SideOnly(Side.CLIENT) - private IIcon[] field_150920_d; - - public ItemTankWaste() { - this.hasSubtypes = true; - this.setMaxDamage(0); - } - - @SideOnly(Side.CLIENT) - public IIcon getIconFromDamage(int p_77617_1_) - { - int j = MathHelper.clamp_int(p_77617_1_, 0, 8); - return this.field_150920_d[j]; - } - - @SideOnly(Side.CLIENT) - public void registerIcons(IIconRegister p_94581_1_) - { - this.field_150920_d = new IIcon[9]; - - for (int i = 0; i < field_150920_d.length; ++i) - { - this.field_150920_d[i] = p_94581_1_.registerIcon(RefStrings.MODID + ":tank_waste_" + i); - } - } - @SideOnly(Side.CLIENT) - public void getSubItems(Item p_150895_1_, CreativeTabs p_150895_2_, List p_150895_3_) - { - for (int i = 0; i < 9; ++i) - { - p_150895_3_.add(new ItemStack(p_150895_1_, 1, i)); - } - } - public String getUnlocalizedName(ItemStack p_77667_1_) - { - int i = MathHelper.clamp_int(p_77667_1_.getItemDamage(), 0, 9); - return super.getUnlocalizedName() + "_" + i; - } -} +package com.hbm.items.special; + +import java.util.List; + +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; + +public class ItemTankWaste extends Item { + + @SideOnly(Side.CLIENT) + private IIcon[] field_150920_d; + + public ItemTankWaste() { + this.hasSubtypes = true; + this.setMaxDamage(0); + } + + @SideOnly(Side.CLIENT) + public IIcon getIconFromDamage(int p_77617_1_) + { + int j = MathHelper.clamp_int(p_77617_1_, 0, 8); + return this.field_150920_d[j]; + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IIconRegister p_94581_1_) + { + this.field_150920_d = new IIcon[9]; + + for (int i = 0; i < field_150920_d.length; ++i) + { + this.field_150920_d[i] = p_94581_1_.registerIcon(RefStrings.MODID + ":tank_waste_" + i); + } + } + @SideOnly(Side.CLIENT) + public void getSubItems(Item p_150895_1_, CreativeTabs p_150895_2_, List p_150895_3_) + { + for (int i = 0; i < 9; ++i) + { + p_150895_3_.add(new ItemStack(p_150895_1_, 1, i)); + } + } + public String getUnlocalizedName(ItemStack p_77667_1_) + { + int i = MathHelper.clamp_int(p_77667_1_.getItemDamage(), 0, 9); + return super.getUnlocalizedName() + "_" + i; + } +} diff --git a/com/hbm/items/special/ItemTeleLink.java b/com/hbm/items/special/ItemTeleLink.java index 58db3ee06..eaee7e083 100644 --- a/com/hbm/items/special/ItemTeleLink.java +++ b/com/hbm/items/special/ItemTeleLink.java @@ -14,64 +14,72 @@ import net.minecraft.util.ChatComponentText; import net.minecraft.world.World; public class ItemTeleLink extends Item { - + @Override - public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - TileEntity te = world.getTileEntity(x, y, z); - - if(te != null && te instanceof TileEntityMachineTeleporter && world.getBlock(x, y, z) == ModBlocks.machine_teleporter ) { - - if(stack.stackTagCompound == null) - { - stack.stackTagCompound = new NBTTagCompound(); + public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, + float p_77648_8_, float p_77648_9_, float p_77648_10_) { + if (player.isSneaking()) { + TileEntity te = world.getTileEntity(x, y, z); - stack.stackTagCompound.setInteger("x", x); - stack.stackTagCompound.setInteger("y", y); - stack.stackTagCompound.setInteger("z", z); - - if(world.isRemote) - player.addChatMessage(new ChatComponentText("[TeleLink] Set teleporter exit to " + x + ", " + y + ", " + z + ".")); - } else { - int x1 = stack.stackTagCompound.getInteger("x"); - int y1 = stack.stackTagCompound.getInteger("y"); - int z1 = stack.stackTagCompound.getInteger("z"); - - if(world.getBlock(x1, y1, z1) == ModBlocks.machine_teleporter && world.getTileEntity(x1, y1, z1) != null && world.getTileEntity(x1, y1, z1) instanceof TileEntityMachineTeleporter) { + if (te != null && te instanceof TileEntityMachineTeleporter + && world.getBlock(x, y, z) == ModBlocks.machine_teleporter) { - ((TileEntityMachineTeleporter)te).mode = true; - ((TileEntityMachineTeleporter)te).targetX = x1; - ((TileEntityMachineTeleporter)te).targetY = y1; - ((TileEntityMachineTeleporter)te).targetZ = z1; - ((TileEntityMachineTeleporter)te).linked = true; - ((TileEntityMachineTeleporter)world.getTileEntity(x1, y1, z1)).linked = true; + if (stack.stackTagCompound == null) { + stack.stackTagCompound = new NBTTagCompound(); - if(world.isRemote) - player.addChatMessage(new ChatComponentText("[TeleLink] Teleporters have been successfully linked.")); - - stack.stackTagCompound = null; + stack.stackTagCompound.setInteger("x", x); + stack.stackTagCompound.setInteger("y", y); + stack.stackTagCompound.setInteger("z", z); + + if (world.isRemote) + player.addChatMessage(new ChatComponentText( + "[TeleLink] Set teleporter exit to " + x + ", " + y + ", " + z + ".")); } else { - if(world.isRemote) - player.addChatMessage(new ChatComponentText("[TeleLink] Warning: Exit teleporter has been destroyed while linking. Values have been reset.")); - stack.stackTagCompound = null; - } - } + int x1 = stack.stackTagCompound.getInteger("x"); + int y1 = stack.stackTagCompound.getInteger("y"); + int z1 = stack.stackTagCompound.getInteger("z"); - player.swingItem(); - return true; + if (world.getBlock(x1, y1, z1) == ModBlocks.machine_teleporter + && world.getTileEntity(x1, y1, z1) != null + && world.getTileEntity(x1, y1, z1) instanceof TileEntityMachineTeleporter) { + + ((TileEntityMachineTeleporter) te).mode = true; + ((TileEntityMachineTeleporter) te).targetX = x1; + ((TileEntityMachineTeleporter) te).targetY = y1; + ((TileEntityMachineTeleporter) te).targetZ = z1; + ((TileEntityMachineTeleporter) te).linked = true; + ((TileEntityMachineTeleporter) world.getTileEntity(x1, y1, z1)).linked = true; + + if (world.isRemote) + player.addChatMessage( + new ChatComponentText("[TeleLink] Teleporters have been successfully linked.")); + + stack.stackTagCompound = null; + } else { + if (world.isRemote) + player.addChatMessage(new ChatComponentText( + "[TeleLink] Warning: Exit teleporter has been destroyed while linking. Values have been reset.")); + stack.stackTagCompound = null; + } + } + + player.swingItem(); + return true; + } } - + return false; - } - + } + @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - if(itemstack.stackTagCompound != null) - { + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + if (itemstack.stackTagCompound != null) { list.add("Teleporter Exit x: " + itemstack.stackTagCompound.getInteger("x")); list.add("Teleporter Exit y: " + itemstack.stackTagCompound.getInteger("y")); list.add("Teleporter Exit z: " + itemstack.stackTagCompound.getInteger("z")); + } else { + list.add("Select teleporter exit first!"); + list.add("Right-click teleporter while sneaking."); } } diff --git a/com/hbm/items/special/WatzFuel.java b/com/hbm/items/special/WatzFuel.java index d35ec9345..abd6ef440 100644 --- a/com/hbm/items/special/WatzFuel.java +++ b/com/hbm/items/special/WatzFuel.java @@ -1,46 +1,46 @@ -package com.hbm.items.special; - -import java.util.List; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class WatzFuel extends ItemRadioactive { - - public int power; - public float powerMultiplier; - public int heat; - public float heatMultiplier; - public float decayMultiplier; - - /** - * Constructor for a new Watz fuel pellet - * @param lifeTime - * @param power - * @param powerMultiplier - * @param heat - * @param heatMultiplier - * @param decayMultiplier - */ - - public WatzFuel(int lifeTime, int power, float powerMultiplier, int heat, float heatMultiplier, float decayMultiplier) { - this.setMaxDamage(lifeTime * 100); - this.power = power/10; - this.powerMultiplier = powerMultiplier; - this.heat = heat; - this.heatMultiplier = heatMultiplier; - this.decayMultiplier = decayMultiplier; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Max age: " + (this.getMaxDamage()/100) + " ticks"); - list.add("Power per tick: " + (power) + "HE"); - list.add("Power multiplier: " + (powerMultiplier >= 1 ? "+" : "") + (Math.round(powerMultiplier * 1000) * .10 - 100) + "%"); - list.add("Heat provided: " + heat + " heat"); - list.add("Heat multiplier: " + (heatMultiplier >= 1 ? "+" : "") + (Math.round(heatMultiplier * 1000) * .10 - 100) + "%"); - list.add("Decay multiplier: " + (decayMultiplier >= 1 ? "+" : "") + (Math.round(decayMultiplier * 1000) * .10 - 100) + "%"); - } -} +package com.hbm.items.special; + +import java.util.List; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class WatzFuel extends ItemRadioactive { + + public int power; + public float powerMultiplier; + public int heat; + public float heatMultiplier; + public float decayMultiplier; + + /** + * Constructor for a new Watz fuel pellet + * @param lifeTime + * @param power + * @param powerMultiplier + * @param heat + * @param heatMultiplier + * @param decayMultiplier + */ + + public WatzFuel(int lifeTime, int power, float powerMultiplier, int heat, float heatMultiplier, float decayMultiplier) { + this.setMaxDamage(lifeTime * 100); + this.power = power/10; + this.powerMultiplier = powerMultiplier; + this.heat = heat; + this.heatMultiplier = heatMultiplier; + this.decayMultiplier = decayMultiplier; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Max age: " + (this.getMaxDamage()/100) + " ticks"); + list.add("Power per tick: " + (power) + "HE"); + list.add("Power multiplier: " + (powerMultiplier >= 1 ? "+" : "") + (Math.round(powerMultiplier * 1000) * .10 - 100) + "%"); + list.add("Heat provided: " + heat + " heat"); + list.add("Heat multiplier: " + (heatMultiplier >= 1 ? "+" : "") + (Math.round(heatMultiplier * 1000) * .10 - 100) + "%"); + list.add("Decay multiplier: " + (decayMultiplier >= 1 ? "+" : "") + (Math.round(decayMultiplier * 1000) * .10 - 100) + "%"); + } +} diff --git a/com/hbm/items/tool/ItemCrateCaller.java b/com/hbm/items/tool/ItemCrateCaller.java index 40ac57158..3676db8c1 100644 --- a/com/hbm/items/tool/ItemCrateCaller.java +++ b/com/hbm/items/tool/ItemCrateCaller.java @@ -1,56 +1,56 @@ -package com.hbm.items.tool; - -import java.util.List; -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.interfaces.IBomb; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; - -public class ItemCrateCaller extends Item { - - Random rand = new Random(); - - public ItemCrateCaller() { - this.canRepair = false; - this.setMaxDamage(4); - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Right click to request supply drop!"); - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - - stack.damageItem(1, player); - - int x = rand.nextInt(31) - 15; - int z = rand.nextInt(31) - 15; - - if(!world.isRemote) - { - if(world.getBlock((int)player.posX + x, 255, (int)player.posZ + z) == Blocks.air) - world.setBlock((int)player.posX + x, 255, (int)player.posZ + z, ModBlocks.crate); - } - if(world.isRemote) - { - player.addChatMessage(new ChatComponentText("Called in supply drop!")); - } - - player.swingItem(); - - return stack; - - } - -} +package com.hbm.items.tool; + +import java.util.List; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.interfaces.IBomb; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; + +public class ItemCrateCaller extends Item { + + Random rand = new Random(); + + public ItemCrateCaller() { + this.canRepair = false; + this.setMaxDamage(4); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Right click to request supply drop!"); + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + + stack.damageItem(1, player); + + int x = rand.nextInt(31) - 15; + int z = rand.nextInt(31) - 15; + + if(!world.isRemote) + { + if(world.getBlock((int)player.posX + x, 255, (int)player.posZ + z) == Blocks.air) + world.setBlock((int)player.posX + x, 255, (int)player.posZ + z, ModBlocks.crate); + } + if(world.isRemote) + { + player.addChatMessage(new ChatComponentText("Called in supply drop!")); + } + + player.swingItem(); + + return stack; + + } + +} diff --git a/com/hbm/items/tool/ItemDesingator.java b/com/hbm/items/tool/ItemDesingator.java index 6952b8d57..57b153d5a 100644 --- a/com/hbm/items/tool/ItemDesingator.java +++ b/com/hbm/items/tool/ItemDesingator.java @@ -1,59 +1,59 @@ -package com.hbm.items.tool; - -import java.util.List; - -import com.hbm.blocks.LaunchPad; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; - -public class ItemDesingator extends Item { - - @Override - public void onCreated(ItemStack p_77622_1_, World p_77622_2_, EntityPlayer p_77622_3_) { - p_77622_1_.stackTagCompound = new NBTTagCompound(); - p_77622_1_.stackTagCompound.setInteger("xCoord", 0); - p_77622_1_.stackTagCompound.setInteger("zCoord", 0); - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - if(itemstack.stackTagCompound != null) - { - list.add("Target Coordinates:"); - list.add("X: " + String.valueOf(itemstack.stackTagCompound.getInteger("xCoord"))); - list.add("Z: " + String.valueOf(itemstack.stackTagCompound.getInteger("zCoord"))); - } else { - list.add("Please select a target."); - } - } - - @Override - public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - if(!(p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_) instanceof LaunchPad)) - { - if(p_77648_1_.stackTagCompound != null) - { - p_77648_1_.stackTagCompound.setInteger("xCoord", p_77648_4_); - p_77648_1_.stackTagCompound.setInteger("zCoord", p_77648_6_); - } else { - p_77648_1_.stackTagCompound = new NBTTagCompound(); - p_77648_1_.stackTagCompound.setInteger("xCoord", p_77648_4_); - p_77648_1_.stackTagCompound.setInteger("zCoord", p_77648_6_); - } - if(p_77648_3_.isRemote) - { - p_77648_2_.addChatMessage(new ChatComponentText("Position set!")); - } - return true; - } - - return false; - } -} +package com.hbm.items.tool; + +import java.util.List; + +import com.hbm.blocks.bomb.LaunchPad; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; + +public class ItemDesingator extends Item { + + @Override + public void onCreated(ItemStack p_77622_1_, World p_77622_2_, EntityPlayer p_77622_3_) { + p_77622_1_.stackTagCompound = new NBTTagCompound(); + p_77622_1_.stackTagCompound.setInteger("xCoord", 0); + p_77622_1_.stackTagCompound.setInteger("zCoord", 0); + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(itemstack.stackTagCompound != null) + { + list.add("Target Coordinates:"); + list.add("X: " + String.valueOf(itemstack.stackTagCompound.getInteger("xCoord"))); + list.add("Z: " + String.valueOf(itemstack.stackTagCompound.getInteger("zCoord"))); + } else { + list.add("Please select a target."); + } + } + + @Override + public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) + { + if(!(p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_) instanceof LaunchPad)) + { + if(p_77648_1_.stackTagCompound != null) + { + p_77648_1_.stackTagCompound.setInteger("xCoord", p_77648_4_); + p_77648_1_.stackTagCompound.setInteger("zCoord", p_77648_6_); + } else { + p_77648_1_.stackTagCompound = new NBTTagCompound(); + p_77648_1_.stackTagCompound.setInteger("xCoord", p_77648_4_); + p_77648_1_.stackTagCompound.setInteger("zCoord", p_77648_6_); + } + if(p_77648_3_.isRemote) + { + p_77648_2_.addChatMessage(new ChatComponentText("Position set!")); + } + return true; + } + + return false; + } +} diff --git a/com/hbm/items/tool/ItemDetonator.java b/com/hbm/items/tool/ItemDetonator.java index f01614f94..71cc05260 100644 --- a/com/hbm/items/tool/ItemDetonator.java +++ b/com/hbm/items/tool/ItemDetonator.java @@ -1,83 +1,83 @@ -package com.hbm.items.tool; - -import java.util.List; - -import com.hbm.blocks.NukeGadget; -import com.hbm.interfaces.IBomb; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; - -public class ItemDetonator extends Item { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Shift right-click to set position,"); - list.add("right-click to detonate!"); - if(itemstack.getTagCompound() == null) - { - list.add("No position set!"); - } else { - list.add("Set pos to " + itemstack.stackTagCompound.getInteger("x") + ", " + itemstack.stackTagCompound.getInteger("y") + ", " + itemstack.stackTagCompound.getInteger("z")); - } - } - - @Override - public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - if(stack.stackTagCompound == null) - { - stack.stackTagCompound = new NBTTagCompound(); - } - - if(player.isSneaking()) - { - stack.stackTagCompound.setInteger("x", x); - stack.stackTagCompound.setInteger("y", y); - stack.stackTagCompound.setInteger("z", z); - - if(world.isRemote) - { - player.addChatMessage(new ChatComponentText("Position set!")); - } - return true; - } - - return false; - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - - if(stack.stackTagCompound == null) - { - player.addChatMessage(new ChatComponentText("Error: Position not set.")); - } else { - int x = stack.stackTagCompound.getInteger("x"); - int y = stack.stackTagCompound.getInteger("y"); - int z = stack.stackTagCompound.getInteger("z"); - - if(world.getBlock(x, y, z) instanceof IBomb) - { - if(!world.isRemote) - { - ((IBomb)world.getBlock(x, y, z)).explode(world, x, y, z); - } - } else { - if(world.isRemote) - { - player.addChatMessage(new ChatComponentText("Error: Target incompatible or too far away.")); - } - } - } - - return stack; - - } - -} +package com.hbm.items.tool; + +import java.util.List; + +import com.hbm.blocks.bomb.NukeGadget; +import com.hbm.interfaces.IBomb; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; + +public class ItemDetonator extends Item { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Shift right-click to set position,"); + list.add("right-click to detonate!"); + if(itemstack.getTagCompound() == null) + { + list.add("No position set!"); + } else { + list.add("Set pos to " + itemstack.stackTagCompound.getInteger("x") + ", " + itemstack.stackTagCompound.getInteger("y") + ", " + itemstack.stackTagCompound.getInteger("z")); + } + } + + @Override + public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) + { + if(stack.stackTagCompound == null) + { + stack.stackTagCompound = new NBTTagCompound(); + } + + if(player.isSneaking()) + { + stack.stackTagCompound.setInteger("x", x); + stack.stackTagCompound.setInteger("y", y); + stack.stackTagCompound.setInteger("z", z); + + if(world.isRemote) + { + player.addChatMessage(new ChatComponentText("Position set!")); + } + return true; + } + + return false; + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + + if(stack.stackTagCompound == null) + { + player.addChatMessage(new ChatComponentText("Error: Position not set.")); + } else { + int x = stack.stackTagCompound.getInteger("x"); + int y = stack.stackTagCompound.getInteger("y"); + int z = stack.stackTagCompound.getInteger("z"); + + if(world.getBlock(x, y, z) instanceof IBomb) + { + if(!world.isRemote) + { + ((IBomb)world.getBlock(x, y, z)).explode(world, x, y, z); + } + } else { + if(world.isRemote) + { + player.addChatMessage(new ChatComponentText("Error: Target incompatible or too far away.")); + } + } + } + + return stack; + + } + +} diff --git a/com/hbm/items/tool/ItemMatch.java b/com/hbm/items/tool/ItemMatch.java index 81b85b90f..06fdd4a65 100644 --- a/com/hbm/items/tool/ItemMatch.java +++ b/com/hbm/items/tool/ItemMatch.java @@ -1,72 +1,72 @@ -package com.hbm.items.tool; - -import net.minecraft.block.material.Material; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; - -public class ItemMatch extends Item { - - public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - if (p_77648_3_.isRemote) - { - return true; - } - else - { - if (p_77648_7_ == 0) - { - --p_77648_5_; - } - - if (p_77648_7_ == 1) - { - ++p_77648_5_; - } - - if (p_77648_7_ == 2) - { - --p_77648_6_; - } - - if (p_77648_7_ == 3) - { - ++p_77648_6_; - } - - if (p_77648_7_ == 4) - { - --p_77648_4_; - } - - if (p_77648_7_ == 5) - { - ++p_77648_4_; - } - - if (!p_77648_2_.canPlayerEdit(p_77648_4_, p_77648_5_, p_77648_6_, p_77648_7_, p_77648_1_)) - { - return false; - } - else - { - if (p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_).getMaterial() == Material.air) - { - p_77648_3_.playSoundEffect((double)p_77648_4_ + 0.5D, (double)p_77648_5_ + 0.5D, (double)p_77648_6_ + 0.5D, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); - p_77648_3_.setBlock(p_77648_4_, p_77648_5_, p_77648_6_, Blocks.fire); - } - - if (!p_77648_2_.capabilities.isCreativeMode) - { - --p_77648_1_.stackSize; - } - - return true; - } - } - } - -} +package com.hbm.items.tool; + +import net.minecraft.block.material.Material; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; + +public class ItemMatch extends Item { + + public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) + { + if (p_77648_3_.isRemote) + { + return true; + } + else + { + if (p_77648_7_ == 0) + { + --p_77648_5_; + } + + if (p_77648_7_ == 1) + { + ++p_77648_5_; + } + + if (p_77648_7_ == 2) + { + --p_77648_6_; + } + + if (p_77648_7_ == 3) + { + ++p_77648_6_; + } + + if (p_77648_7_ == 4) + { + --p_77648_4_; + } + + if (p_77648_7_ == 5) + { + ++p_77648_4_; + } + + if (!p_77648_2_.canPlayerEdit(p_77648_4_, p_77648_5_, p_77648_6_, p_77648_7_, p_77648_1_)) + { + return false; + } + else + { + if (p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_).getMaterial() == Material.air) + { + p_77648_3_.playSoundEffect((double)p_77648_4_ + 0.5D, (double)p_77648_5_ + 0.5D, (double)p_77648_6_ + 0.5D, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); + p_77648_3_.setBlock(p_77648_4_, p_77648_5_, p_77648_6_, Blocks.fire); + } + + if (!p_77648_2_.capabilities.isCreativeMode) + { + --p_77648_1_.stackSize; + } + + return true; + } + } + } + +} diff --git a/com/hbm/items/tool/ItemModBucket.java b/com/hbm/items/tool/ItemModBucket.java index 9400235fe..33c5b7c4b 100644 --- a/com/hbm/items/tool/ItemModBucket.java +++ b/com/hbm/items/tool/ItemModBucket.java @@ -1,12 +1,12 @@ -package com.hbm.items.tool; - -import net.minecraft.block.Block; -import net.minecraft.item.ItemBucket; - -public class ItemModBucket extends ItemBucket { - - public ItemModBucket(Block p_i45331_1_) { - super(p_i45331_1_); - } - -} +package com.hbm.items.tool; + +import net.minecraft.block.Block; +import net.minecraft.item.ItemBucket; + +public class ItemModBucket extends ItemBucket { + + public ItemModBucket(Block p_i45331_1_) { + super(p_i45331_1_); + } + +} diff --git a/com/hbm/items/tool/ItemMultitoolPassive.java b/com/hbm/items/tool/ItemMultitoolPassive.java new file mode 100644 index 000000000..b445969eb --- /dev/null +++ b/com/hbm/items/tool/ItemMultitoolPassive.java @@ -0,0 +1,280 @@ +package com.hbm.items.tool; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.blocks.bomb.BlockCrashedBomb; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.entity.projectile.EntityFire; +import com.hbm.entity.projectile.EntityLaserBeam; +import com.hbm.entity.projectile.EntityMinerBeam; +import com.hbm.entity.projectile.EntityPlasmaBeam; +import com.hbm.entity.projectile.EntityRubble; +import com.hbm.explosion.ExplosionChaos; +import com.hbm.explosion.ExplosionParticleB; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.effect.EntityLightningBolt; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class ItemMultitoolPassive extends Item { + + Random rand = new Random(); + + public ItemMultitoolPassive() { + this.setMaxDamage(5000); + } + + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) + { + if(player.isSneaking()) { + if (this == ModItems.multitool_ext) { + return new ItemStack(ModItems.multitool_miner, 1, stack.getItemDamage()); + } else if(this == ModItems.multitool_miner) { + ItemStack item = new ItemStack(ModItems.multitool_hit, 1, stack.getItemDamage()); + item.addEnchantment(Enchantment.looting, 3); + item.addEnchantment(Enchantment.knockback, 3); + return item; + } else if (this == ModItems.multitool_hit) { + return new ItemStack(ModItems.multitool_beam, 1, stack.getItemDamage()); + } else if (this == ModItems.multitool_beam) { + return new ItemStack(ModItems.multitool_sky, 1, stack.getItemDamage()); + } else if (this == ModItems.multitool_sky) { + ItemStack item = new ItemStack(ModItems.multitool_mega, 1, stack.getItemDamage()); + item.addEnchantment(Enchantment.knockback, 5); + return item; + } else if (this == ModItems.multitool_mega) { + ItemStack item = new ItemStack(ModItems.multitool_joule, 1, stack.getItemDamage()); + item.addEnchantment(Enchantment.knockback, 3); + return item; + } else if (this == ModItems.multitool_joule) { + ItemStack item = new ItemStack(ModItems.multitool_decon, 1, stack.getItemDamage()); + return item; + } else if (this == ModItems.multitool_decon) { + ItemStack item = new ItemStack(ModItems.multitool_dig, 1, stack.getItemDamage()); + item.addEnchantment(Enchantment.looting, 3); + item.addEnchantment(Enchantment.fortune, 3); + return item; + } + } else { + if(this == ModItems.multitool_ext) { + return stack; + } else if (this == ModItems.multitool_miner) { + + EntityMinerBeam plasma = new EntityMinerBeam(world, player, 0.75F); + + world.playSoundAtEntity(player, "hbm:weapon.immolatorIgnite", 1.0F, 1F); + //world.playSoundAtEntity(player, "hbm:weapon.immolatorShoot", 1.0F, 1F); + + if (!world.isRemote) + world.spawnEntityInWorld(plasma); + + return stack; + } else if (this == ModItems.multitool_hit) { + return stack; + } else if (this == ModItems.multitool_beam) { + + EntityLaserBeam plasma = new EntityLaserBeam(world, player, 1F); + + world.playSoundAtEntity(player, "hbm:weapon.immolatorIgnite", 1.0F, 1F); + //world.playSoundAtEntity(player, "hbm:weapon.immolatorShoot", 1.0F, 1F); + + if (!world.isRemote) + world.spawnEntityInWorld(plasma); + + return stack; + } else if (this == ModItems.multitool_sky) { + for(int i = 0; i < 15; i++) { + int a = (int)player.posX - 15 + rand.nextInt(31); + int b = (int)player.posZ - 15 + rand.nextInt(31); + //if(!world.isRemote) { + EntityLightningBolt blitz = new EntityLightningBolt(world, a, world.getHeightValue(a, b), b); + world.spawnEntityInWorld(blitz); + //} + } + return stack; + } else if (this == ModItems.multitool_mega) { + return stack; + } else if (this == ModItems.multitool_joule) { + return stack; + } else if (this == ModItems.multitool_decon) { + return stack; + } + } + + return stack; + } + + @Override + public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int i, float f1, float f2, float f3) + { + if(this == ModItems.multitool_ext) { + Block b = world.getBlock(x, y, z); + ItemStack s = FurnaceRecipes.smelting().getSmeltingResult(new ItemStack(Item.getItemFromBlock(b), 1, world.getBlockMetadata(x, y, z))); + if(s != null) { + ItemStack t = s.copy(); + if(!world.isRemote) + world.setBlock(x, y, z, Blocks.air); + + if(!player.inventory.addItemStackToInventory(t)) + player.dropPlayerItemWithRandomChoice(t, false); + player.swingItem(); + } + } else if (this == ModItems.multitool_miner) { + } else if (this == ModItems.multitool_hit) { + } else if (this == ModItems.multitool_beam) { + } else if (this == ModItems.multitool_sky) { + } else if (this == ModItems.multitool_mega) { + + ExplosionChaos.levelDown(world, x, y, z, 2); + return true; + + } else if (this == ModItems.multitool_joule) { + + int l = 25; + float part = -1F/16F; + + Vec3 vec0 = player.getLookVec(); + vec0.rotateAroundY(.25F); + List list = Library.getBlockPosInPath(player, x, y, z, l, vec0); + vec0.rotateAroundY(part); + list.addAll(Library.getBlockPosInPath(player, x, y, z, l, vec0)); + vec0.rotateAroundY(part); + list.addAll(Library.getBlockPosInPath(player, x, y, z, l, vec0)); + vec0.rotateAroundY(part); + list.addAll(Library.getBlockPosInPath(player, x, y, z, l, vec0)); + vec0.rotateAroundY(part); + list.addAll(Library.getBlockPosInPath(player, x, y, z, l, vec0)); + vec0.rotateAroundY(part); + list.addAll(Library.getBlockPosInPath(player, x, y, z, l, vec0)); + vec0.rotateAroundY(part); + list.addAll(Library.getBlockPosInPath(player, x, y, z, l, vec0)); + vec0.rotateAroundY(part); + list.addAll(Library.getBlockPosInPath(player, x, y, z, l, vec0)); + vec0.rotateAroundY(part); + list.addAll(Library.getBlockPosInPath(player, x, y, z, l, vec0)); + + if(!world.isRemote) + for(int j = 0; j < list.size(); j++) { + + int x1 = list.get(j)[0]; + int y1 = list.get(j)[1]; + int z1 = list.get(j)[2]; + int w1 = list.get(j)[3]; + + Block b = world.getBlock(x1, y1, z1); + float k = b.getBlockHardness(world, x1, y1, z1); + + if(k < 60 && b != Blocks.air) { + + EntityRubble rubble = new EntityRubble(world); + rubble.posX = x1 + 0.5F; + rubble.posY = y1; + rubble.posZ = z1 + 0.5F; + + rubble.motionY = 0.025F * w1 + 0.15F; + rubble.setMetaBasedOnMat(b.getMaterial()); + + world.spawnEntityInWorld(rubble); + + world.setBlock(x1, y1, z1, Blocks.air); + } + } + + return true; + + } else if (this == ModItems.multitool_decon) { + + if(!world.isRemote) + ExplosionChaos.decontaminate(world, x, y, z); + return true; + + } + + return false; + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + if(this == ModItems.multitool_ext) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 7, 0)); + } else if (this == ModItems.multitool_miner) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 8, 0)); + } else if (this == ModItems.multitool_hit) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 16, 0)); + } else if (this == ModItems.multitool_beam) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 8, 0)); + } else if (this == ModItems.multitool_sky) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 5, 0)); + } else if (this == ModItems.multitool_mega) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 12, 0)); + } else if (this == ModItems.multitool_joule) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 12, 0)); + } else if (this == ModItems.multitool_decon) { + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 5, 0)); + } + return multimap; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(this == ModItems.multitool_ext) { + list.add("Right click instantly destroys smeltable blocks"); + list.add("Mined blocks will be smelted and put in the player's inventory"); + } + if(this == ModItems.multitool_miner) { + list.add("Shoots lasers which destroy smeltable blocks"); + list.add("These blocks will drop the smelted item"); + } + if(this == ModItems.multitool_hit) { + list.add("Very high damage against mobs"); + list.add("Strong knock back"); + } + if(this == ModItems.multitool_beam) { + list.add("Shoots lasers which ignite blocks and mobs"); + list.add("Lasers are destroyed by water"); + } + if(this == ModItems.multitool_sky) { + list.add("Right click summons a lightning storm around the player"); + list.add("Lightning can also hit the player using the fist"); + } + if(this == ModItems.multitool_mega) { + list.add("Right click will level down blocks with a powerful punch"); + list.add("Immense knockback against mobs"); + } + if(this == ModItems.multitool_joule) { + list.add("Right click will break blocks in the line of sight"); + list.add("These blocks will be flung up as rubble"); + } + if(this == ModItems.multitool_decon) { + list.add("Right click will remove radiation effect from blocks"); + list.add("Blocks like nuclear waste turn into lead"); + } + } + +} diff --git a/com/hbm/items/tool/ItemMultitoolTool.java b/com/hbm/items/tool/ItemMultitoolTool.java new file mode 100644 index 000000000..21f9d89cd --- /dev/null +++ b/com/hbm/items/tool/ItemMultitoolTool.java @@ -0,0 +1,82 @@ +package com.hbm.items.tool; + +import java.util.HashSet; +import java.util.List; +import java.util.Set; + +import com.google.common.collect.Sets; +import com.hbm.items.ModItems; + +import cpw.mods.fml.common.registry.GameData; +import cpw.mods.fml.common.registry.GameRegistry; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemTool; +import net.minecraft.world.World; + +public class ItemMultitoolTool extends ItemTool { + + + public ItemMultitoolTool(float f, ToolMaterial mat, Set set) { + super(f, mat, set); + } + + public static Set getAllBlocks() { + + Set all = new HashSet(); + + for(Object b : GameData.getBlockRegistry()) { + all.add((Block)b); + } + + return all; + } + + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) + { + if(player.isSneaking()) { + if(this == ModItems.multitool_dig) { + ItemStack item = new ItemStack(ModItems.multitool_silk, 1, stack.getItemDamage()); + item.addEnchantment(Enchantment.silkTouch, 3); + return item; + } else if (this == ModItems.multitool_silk) { + ItemStack item = new ItemStack(ModItems.multitool_ext, 1, stack.getItemDamage()); + item.addEnchantment(Enchantment.fireAspect, 3); + return item; + } + } + + return stack; + } + + public boolean func_150897_b(Block p_150897_1_) { + return true; + } + + @Override + @SideOnly(Side.CLIENT) + public boolean isFull3D() + { + return false; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + if(this == ModItems.multitool_dig) { + list.add("Breaks blocks extremely fast"); + list.add("Extra drops for ores"); + } + if(this == ModItems.multitool_silk) { + list.add("Breaks blocks extremely fast"); + list.add("Ores will drop themselves via silk touch"); + } + } + +} diff --git a/com/hbm/items/tool/ItemRamManipulator.java b/com/hbm/items/tool/ItemRamManipulator.java index dc6981ab0..f252d71a8 100644 --- a/com/hbm/items/tool/ItemRamManipulator.java +++ b/com/hbm/items/tool/ItemRamManipulator.java @@ -1,84 +1,84 @@ -package com.hbm.items.tool; - -import java.util.List; - -import com.hbm.interfaces.IBomb; -import com.hbm.lib.Library; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; - -public class ItemRamManipulator extends Item { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - list.add("A broken remote."); - if (itemstack.getTagCompound() == null) { - } else { - list.add(""); - list.add(String.valueOf(itemstack.stackTagCompound.getInteger("code"))); - } - } - - @Override - public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, - float p_77648_8_, float p_77648_9_, float p_77648_10_) { - if (stack.stackTagCompound == null) { - stack.stackTagCompound = new NBTTagCompound(); - } - - if (!player.isSneaking()) { - - Block block = world.getBlock(x, y, z); - - if(block == Blocks.dirt) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 0); - if(block == Blocks.cobblestone) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 1); - if(block == Blocks.stone) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 2); - if(block == Blocks.log) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 3); - if(block == Blocks.planks) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 4); - if(block == Blocks.gravel) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 5); - if(block == Blocks.sand) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 6); - if(block == Blocks.sandstone) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 7); - if(block == Blocks.tallgrass) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 8); - if(block == Blocks.double_plant) - stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 9); - - return true; - } - - return false; - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - - if (stack.stackTagCompound == null) { - } else { - if(!player.isSneaking()) - { - if(Library.getItemByCode(stack.stackTagCompound.getInteger("code")) != null) - player.inventory.addItemStackToInventory(new ItemStack((Library.getItemByCode(stack.stackTagCompound.getInteger("code"))))); - } else { - stack.stackTagCompound.setInteger("code", 0); - } - } - - return stack; - - } -} +package com.hbm.items.tool; + +import java.util.List; + +import com.hbm.interfaces.IBomb; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; + +public class ItemRamManipulator extends Item { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + list.add("A broken remote."); + if (itemstack.getTagCompound() == null) { + } else { + list.add(""); + list.add(String.valueOf(itemstack.stackTagCompound.getInteger("code"))); + } + } + + @Override + public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, + float p_77648_8_, float p_77648_9_, float p_77648_10_) { + if (stack.stackTagCompound == null) { + stack.stackTagCompound = new NBTTagCompound(); + } + + if (!player.isSneaking()) { + + Block block = world.getBlock(x, y, z); + + if(block == Blocks.dirt) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 0); + if(block == Blocks.cobblestone) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 1); + if(block == Blocks.stone) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 2); + if(block == Blocks.log) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 3); + if(block == Blocks.planks) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 4); + if(block == Blocks.gravel) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 5); + if(block == Blocks.sand) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 6); + if(block == Blocks.sandstone) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 7); + if(block == Blocks.tallgrass) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 8); + if(block == Blocks.double_plant) + stack.stackTagCompound.setInteger("code", stack.stackTagCompound.getInteger("code") * 10 + 9); + + return true; + } + + return false; + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + + if (stack.stackTagCompound == null) { + } else { + if(!player.isSneaking()) + { + if(Library.getItemByCode(stack.stackTagCompound.getInteger("code")) != null) + player.inventory.addItemStackToInventory(new ItemStack((Library.getItemByCode(stack.stackTagCompound.getInteger("code"))))); + } else { + stack.stackTagCompound.setInteger("code", 0); + } + } + + return stack; + + } +} diff --git a/com/hbm/items/tool/ItemWand.java b/com/hbm/items/tool/ItemWand.java index ee3256256..c44fc4913 100644 --- a/com/hbm/items/tool/ItemWand.java +++ b/com/hbm/items/tool/ItemWand.java @@ -1,110 +1,110 @@ -package com.hbm.items.tool; - -import java.util.List; - -import com.hbm.blocks.LaunchPad; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; - -public class ItemWand extends Item { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Creative-only item"); - list.add("\"Destruction brings creation\""); - list.add("(Set positions with right click,"); - list.add("set block with shift-right click!)"); - - if(itemstack.stackTagCompound != null && - !(itemstack.stackTagCompound.getInteger("x") == 0 && - itemstack.stackTagCompound.getInteger("y") == 0 && - itemstack.stackTagCompound.getInteger("z") == 0)) - { - list.add("Pos: " + itemstack.stackTagCompound.getInteger("x") + ", " + itemstack.stackTagCompound.getInteger("y") + ", " + itemstack.stackTagCompound.getInteger("z")); - } else { - list.add("Positions not set!"); - } - if(itemstack.stackTagCompound != null) - list.add("Block saved: " + Block.getBlockById(itemstack.stackTagCompound.getInteger("block")).getUnlocalizedName()); - } - - @Override - public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - if(p_77648_1_.stackTagCompound == null) - { - p_77648_1_.stackTagCompound = new NBTTagCompound(); - } - - if(p_77648_2_.isSneaking()) - { - p_77648_1_.stackTagCompound.setInteger("block", Block.getIdFromBlock(p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_))); - p_77648_1_.stackTagCompound.setInteger("meta", p_77648_3_.getBlockMetadata(p_77648_4_, p_77648_5_, p_77648_6_)); - if(p_77648_3_.isRemote) - p_77648_2_.addChatMessage(new ChatComponentText("Set block " + Block.getBlockById(p_77648_1_.stackTagCompound.getInteger("block")).getUnlocalizedName())); - } else { - if(p_77648_1_.stackTagCompound.getInteger("x") == 0 && - p_77648_1_.stackTagCompound.getInteger("y") == 0 && - p_77648_1_.stackTagCompound.getInteger("z") == 0) - { - p_77648_1_.stackTagCompound.setInteger("x", p_77648_4_); - p_77648_1_.stackTagCompound.setInteger("y", p_77648_5_); - p_77648_1_.stackTagCompound.setInteger("z", p_77648_6_); - if(p_77648_3_.isRemote) - p_77648_2_.addChatMessage(new ChatComponentText("Position set!")); - } else { - - int x = p_77648_1_.stackTagCompound.getInteger("x"); - int y = p_77648_1_.stackTagCompound.getInteger("y"); - int z = p_77648_1_.stackTagCompound.getInteger("z"); - - p_77648_1_.stackTagCompound.setInteger("x", 0); - p_77648_1_.stackTagCompound.setInteger("y", 0); - p_77648_1_.stackTagCompound.setInteger("z", 0); - - if(!p_77648_3_.isRemote) - { - for(int i = Math.min(x, p_77648_4_); i <= Math.max(x, p_77648_4_); i++) - { - for(int j = Math.min(y, p_77648_5_); j <= Math.max(y, p_77648_5_); j++) - { - for(int k = Math.min(z, p_77648_6_); k <= Math.max(z, p_77648_6_); k++) - { - p_77648_3_.setBlock(i, j, k, Block.getBlockById(p_77648_1_.stackTagCompound.getInteger("block")), p_77648_1_.stackTagCompound.getInteger("meta"), 3); - } - } - } - } - if(p_77648_3_.isRemote) - p_77648_2_.addChatMessage(new ChatComponentText("Selection filled!")); - } - } - - return true; - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - if(stack.stackTagCompound == null) - { - stack.stackTagCompound = new NBTTagCompound(); - } - if(player.isSneaking()) - { - stack.stackTagCompound.setInteger("block", 0); - stack.stackTagCompound.setInteger("meta", 0); - if(world.isRemote) - player.addChatMessage(new ChatComponentText("Set block " + Block.getBlockById(stack.stackTagCompound.getInteger("block")).getUnlocalizedName())); - } - - return stack; - } - -} +package com.hbm.items.tool; + +import java.util.List; + +import com.hbm.blocks.bomb.LaunchPad; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; + +public class ItemWand extends Item { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Creative-only item"); + list.add("\"Destruction brings creation\""); + list.add("(Set positions with right click,"); + list.add("set block with shift-right click!)"); + + if(itemstack.stackTagCompound != null && + !(itemstack.stackTagCompound.getInteger("x") == 0 && + itemstack.stackTagCompound.getInteger("y") == 0 && + itemstack.stackTagCompound.getInteger("z") == 0)) + { + list.add("Pos: " + itemstack.stackTagCompound.getInteger("x") + ", " + itemstack.stackTagCompound.getInteger("y") + ", " + itemstack.stackTagCompound.getInteger("z")); + } else { + list.add("Positions not set!"); + } + if(itemstack.stackTagCompound != null) + list.add("Block saved: " + Block.getBlockById(itemstack.stackTagCompound.getInteger("block")).getUnlocalizedName()); + } + + @Override + public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) + { + if(p_77648_1_.stackTagCompound == null) + { + p_77648_1_.stackTagCompound = new NBTTagCompound(); + } + + if(p_77648_2_.isSneaking()) + { + p_77648_1_.stackTagCompound.setInteger("block", Block.getIdFromBlock(p_77648_3_.getBlock(p_77648_4_, p_77648_5_, p_77648_6_))); + p_77648_1_.stackTagCompound.setInteger("meta", p_77648_3_.getBlockMetadata(p_77648_4_, p_77648_5_, p_77648_6_)); + if(p_77648_3_.isRemote) + p_77648_2_.addChatMessage(new ChatComponentText("Set block " + Block.getBlockById(p_77648_1_.stackTagCompound.getInteger("block")).getUnlocalizedName())); + } else { + if(p_77648_1_.stackTagCompound.getInteger("x") == 0 && + p_77648_1_.stackTagCompound.getInteger("y") == 0 && + p_77648_1_.stackTagCompound.getInteger("z") == 0) + { + p_77648_1_.stackTagCompound.setInteger("x", p_77648_4_); + p_77648_1_.stackTagCompound.setInteger("y", p_77648_5_); + p_77648_1_.stackTagCompound.setInteger("z", p_77648_6_); + if(p_77648_3_.isRemote) + p_77648_2_.addChatMessage(new ChatComponentText("Position set!")); + } else { + + int x = p_77648_1_.stackTagCompound.getInteger("x"); + int y = p_77648_1_.stackTagCompound.getInteger("y"); + int z = p_77648_1_.stackTagCompound.getInteger("z"); + + p_77648_1_.stackTagCompound.setInteger("x", 0); + p_77648_1_.stackTagCompound.setInteger("y", 0); + p_77648_1_.stackTagCompound.setInteger("z", 0); + + if(!p_77648_3_.isRemote) + { + for(int i = Math.min(x, p_77648_4_); i <= Math.max(x, p_77648_4_); i++) + { + for(int j = Math.min(y, p_77648_5_); j <= Math.max(y, p_77648_5_); j++) + { + for(int k = Math.min(z, p_77648_6_); k <= Math.max(z, p_77648_6_); k++) + { + p_77648_3_.setBlock(i, j, k, Block.getBlockById(p_77648_1_.stackTagCompound.getInteger("block")), p_77648_1_.stackTagCompound.getInteger("meta"), 3); + } + } + } + } + if(p_77648_3_.isRemote) + p_77648_2_.addChatMessage(new ChatComponentText("Selection filled!")); + } + } + + return true; + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + if(stack.stackTagCompound == null) + { + stack.stackTagCompound = new NBTTagCompound(); + } + if(player.isSneaking()) + { + stack.stackTagCompound.setInteger("block", 0); + stack.stackTagCompound.setInteger("meta", 0); + if(world.isRemote) + player.addChatMessage(new ChatComponentText("Set block " + Block.getBlockById(stack.stackTagCompound.getInteger("block")).getUnlocalizedName())); + } + + return stack; + } + +} diff --git a/com/hbm/items/tool/ItemWandD.java b/com/hbm/items/tool/ItemWandD.java index e81cf08fb..0caaec5a2 100644 --- a/com/hbm/items/tool/ItemWandD.java +++ b/com/hbm/items/tool/ItemWandD.java @@ -1,58 +1,58 @@ -package com.hbm.items.tool; - -import java.util.List; - -import com.hbm.blocks.ModBlocks; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; - -public class ItemWandD extends Item { - - @Override - public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - Block b = world.getBlock(x, y, z); - - if(!world.isRemote) - { - if (b == ModBlocks.ore_aluminium) - MainRegistry.x++; - if (b == ModBlocks.block_aluminium) - MainRegistry.x--; - if (b == ModBlocks.ore_beryllium) - MainRegistry.y++; - if (b == ModBlocks.block_beryllium) - MainRegistry.y--; - if (b == ModBlocks.ore_copper) - MainRegistry.z++; - if (b == ModBlocks.block_copper) - MainRegistry.z--; - } - - return true; - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - if(player.isSneaking()) - { - if(world.isRemote) - player.addChatMessage(new ChatComponentText(MainRegistry.x + " " + MainRegistry.y + " " + MainRegistry.z)); - } - - return stack; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Used for debugging purposes."); - } -} +package com.hbm.items.tool; + +import java.util.List; + +import com.hbm.blocks.ModBlocks; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; + +public class ItemWandD extends Item { + + @Override + public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) + { + Block b = world.getBlock(x, y, z); + + if(!world.isRemote) + { + if (b == ModBlocks.ore_aluminium) + MainRegistry.x++; + if (b == ModBlocks.block_aluminium) + MainRegistry.x--; + if (b == ModBlocks.ore_beryllium) + MainRegistry.y++; + if (b == ModBlocks.block_beryllium) + MainRegistry.y--; + if (b == ModBlocks.ore_copper) + MainRegistry.z++; + if (b == ModBlocks.block_copper) + MainRegistry.z--; + } + + return true; + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + if(player.isSneaking()) + { + if(world.isRemote) + player.addChatMessage(new ChatComponentText(MainRegistry.x + " " + MainRegistry.y + " " + MainRegistry.z)); + } + + return stack; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Used for debugging purposes."); + } +} diff --git a/com/hbm/items/tool/ItemWandS.java b/com/hbm/items/tool/ItemWandS.java index 148215906..26f6729e2 100644 --- a/com/hbm/items/tool/ItemWandS.java +++ b/com/hbm/items/tool/ItemWandS.java @@ -1,149 +1,149 @@ -package com.hbm.items.tool; - -import java.util.List; -import java.util.Random; - -import com.hbm.world.FWatz; -import com.hbm.world.FactoryAdvanced; -import com.hbm.world.FactoryTitanium; -import com.hbm.world.FusionReactor; -import com.hbm.world.NuclearReactor; -import com.hbm.world.Watz; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; -import scala.Int; - -public class ItemWandS extends Item { - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) - { - list.add("Creative-only item"); - list.add("\"Instant structures for everyone!\""); - list.add("(Cycle with shift-right click,"); - list.add("spawn structures with right click!)"); - if(itemstack.stackTagCompound != null) - { - switch(itemstack.stackTagCompound.getInteger("building")) - { - case 0: - list.add("Structure: Titanium Factory"); - break; - case 1: - list.add("Structure: Advanced Factory"); - break; - case 2: - list.add("Structure: Nuclear Reactor"); - break; - case 3: - list.add("Structure: Fusion Reactor"); - break; - case 4: - list.add("Structure: Watz Power Plant"); - break; - case 5: - list.add("Structure: Fusionary Watz Plant"); - break; - } - } - } - - @Override - public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) - { - if(stack.stackTagCompound == null) - { - stack.stackTagCompound = new NBTTagCompound(); - stack.stackTagCompound.setInteger("building", 0); - } - - boolean up = player.rotationPitch <= 0.5F; - - if(!world.isRemote) - { - Random rand = new Random(); - - switch(stack.stackTagCompound.getInteger("building")) - { - case 0: - new FactoryTitanium().generate(world, rand, x, up ? y : y - 2, z); - break; - case 1: - new FactoryAdvanced().generate(world, rand, x, up ? y : y - 2, z); - break; - case 2: - new NuclearReactor().generate(world, rand, x, up ? y : y - 4, z); - break; - case 3: - new FusionReactor().generate(world, rand, x, up ? y : y - 4, z); - break; - case 4: - new Watz().generate(world, rand, x, up ? y : y - 12, z); - break; - case 5: - new FWatz().generateHull(world, rand, x, up ? y : y - 18, z); - break; - } - - } - - return true; - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - if(player.isSneaking()) - { - if(stack.stackTagCompound == null) - { - stack.stackTagCompound = new NBTTagCompound(); - stack.stackTagCompound.setInteger("building", 0); - if(world.isRemote) - player.addChatMessage(new ChatComponentText("Set Structure: Titanium Factory")); - } else { - int i = stack.stackTagCompound.getInteger("building"); - i++; - stack.stackTagCompound.setInteger("building", i); - if(i >= 6) { - stack.stackTagCompound.setInteger("building", 0); - } - - if(world.isRemote) - { - switch(i) - { - case 0: - player.addChatMessage(new ChatComponentText("Set Structure: Titanium Factory")); - break; - case 1: - player.addChatMessage(new ChatComponentText("Set Structure: Advanced Factory")); - break; - case 2: - player.addChatMessage(new ChatComponentText("Set Structure: Nuclear Reactor")); - break; - case 3: - player.addChatMessage(new ChatComponentText("Set Structure: Fusion Reactor")); - break; - case 4: - player.addChatMessage(new ChatComponentText("Set Structure: Watz Power Plant")); - break; - case 5: - player.addChatMessage(new ChatComponentText("Set Structure: Fusionary Watz Plant")); - break; - default: - player.addChatMessage(new ChatComponentText("Set Structure: Titanium Factory")); - break; - } - } - } - } - - return stack; - } -} +package com.hbm.items.tool; + +import java.util.List; +import java.util.Random; + +import com.hbm.world.FWatz; +import com.hbm.world.FactoryAdvanced; +import com.hbm.world.FactoryTitanium; +import com.hbm.world.FusionReactor; +import com.hbm.world.NuclearReactor; +import com.hbm.world.Watz; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; +import scala.Int; + +public class ItemWandS extends Item { + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) + { + list.add("Creative-only item"); + list.add("\"Instant structures for everyone!\""); + list.add("(Cycle with shift-right click,"); + list.add("spawn structures with right click!)"); + if(itemstack.stackTagCompound != null) + { + switch(itemstack.stackTagCompound.getInteger("building")) + { + case 0: + list.add("Structure: Titanium Factory"); + break; + case 1: + list.add("Structure: Advanced Factory"); + break; + case 2: + list.add("Structure: Nuclear Reactor"); + break; + case 3: + list.add("Structure: Fusion Reactor"); + break; + case 4: + list.add("Structure: Watz Power Plant"); + break; + case 5: + list.add("Structure: Fusionary Watz Plant"); + break; + } + } + } + + @Override + public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_) + { + if(stack.stackTagCompound == null) + { + stack.stackTagCompound = new NBTTagCompound(); + stack.stackTagCompound.setInteger("building", 0); + } + + boolean up = player.rotationPitch <= 0.5F; + + if(!world.isRemote) + { + Random rand = new Random(); + + switch(stack.stackTagCompound.getInteger("building")) + { + case 0: + new FactoryTitanium().generate(world, rand, x, up ? y : y - 2, z); + break; + case 1: + new FactoryAdvanced().generate(world, rand, x, up ? y : y - 2, z); + break; + case 2: + new NuclearReactor().generate(world, rand, x, up ? y : y - 4, z); + break; + case 3: + new FusionReactor().generate(world, rand, x, up ? y : y - 4, z); + break; + case 4: + new Watz().generate(world, rand, x, up ? y : y - 12, z); + break; + case 5: + new FWatz().generateHull(world, rand, x, up ? y : y - 18, z); + break; + } + + } + + return true; + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + if(player.isSneaking()) + { + if(stack.stackTagCompound == null) + { + stack.stackTagCompound = new NBTTagCompound(); + stack.stackTagCompound.setInteger("building", 0); + if(world.isRemote) + player.addChatMessage(new ChatComponentText("Set Structure: Titanium Factory")); + } else { + int i = stack.stackTagCompound.getInteger("building"); + i++; + stack.stackTagCompound.setInteger("building", i); + if(i >= 6) { + stack.stackTagCompound.setInteger("building", 0); + } + + if(world.isRemote) + { + switch(i) + { + case 0: + player.addChatMessage(new ChatComponentText("Set Structure: Titanium Factory")); + break; + case 1: + player.addChatMessage(new ChatComponentText("Set Structure: Advanced Factory")); + break; + case 2: + player.addChatMessage(new ChatComponentText("Set Structure: Nuclear Reactor")); + break; + case 3: + player.addChatMessage(new ChatComponentText("Set Structure: Fusion Reactor")); + break; + case 4: + player.addChatMessage(new ChatComponentText("Set Structure: Watz Power Plant")); + break; + case 5: + player.addChatMessage(new ChatComponentText("Set Structure: Fusionary Watz Plant")); + break; + default: + player.addChatMessage(new ChatComponentText("Set Structure: Titanium Factory")); + break; + } + } + } + } + + return stack; + } +} diff --git a/com/hbm/items/weapon/GunBaleFlare.java b/com/hbm/items/weapon/GunBaleFlare.java index cc45dd062..4953e54cc 100644 --- a/com/hbm/items/weapon/GunBaleFlare.java +++ b/com/hbm/items/weapon/GunBaleFlare.java @@ -139,6 +139,8 @@ public class GunBaleFlare extends Item { Multimap multimap = super.getItemAttributeModifiers(); multimap.put(SharedMonsterAttributes.movementSpeed.getAttributeUnlocalizedName(), new AttributeModifier(field_111210_e, "Weapon modifier", (double) -0.3, 1)); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 4, 0)); return multimap; } diff --git a/com/hbm/items/weapon/GunCryolator.java b/com/hbm/items/weapon/GunCryolator.java index d54fc2d58..9b0559cb2 100644 --- a/com/hbm/items/weapon/GunCryolator.java +++ b/com/hbm/items/weapon/GunCryolator.java @@ -3,6 +3,7 @@ package com.hbm.items.weapon; import java.util.List; import java.util.Random; +import com.google.common.collect.Multimap; import com.hbm.entity.projectile.EntityFire; import com.hbm.entity.projectile.EntityLN2; import com.hbm.entity.projectile.EntityPlasmaBeam; @@ -10,6 +11,8 @@ import com.hbm.items.ModItems; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumAction; import net.minecraft.item.Item; @@ -59,8 +62,6 @@ public class GunCryolator extends Item { player.inventory.consumeInventoryItem(ModItems.gun_cryolator_ammo); } - System.out.println(count); - if (count % 5 == 0) world.playSoundAtEntity(player, "hbm:weapon.cryolatorShoot", 1.0F, 1F); @@ -83,4 +84,11 @@ public class GunCryolator extends Item { list.add("Ammo: Cryolator Ammo"); list.add("Damage: 5"); } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 4, 0)); + return multimap; + } } diff --git a/com/hbm/items/weapon/GunEMPRay.java b/com/hbm/items/weapon/GunEMPRay.java index 4003305c2..dd8a5b102 100644 --- a/com/hbm/items/weapon/GunEMPRay.java +++ b/com/hbm/items/weapon/GunEMPRay.java @@ -3,6 +3,7 @@ package com.hbm.items.weapon; import java.util.List; import java.util.Random; +import com.google.common.collect.Multimap; import com.hbm.entity.effect.EntityCloudFleija; import com.hbm.entity.effect.EntityEMPBlast; import com.hbm.entity.projectile.EntityBullet; @@ -13,6 +14,8 @@ import com.hbm.items.ModItems; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumAction; import net.minecraft.item.Item; @@ -134,11 +137,18 @@ public class GunEMPRay extends Item { @Override public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - list.add("Hold right mouse buttom"); + list.add("Hold right mouse button"); list.add("to shoot ball lightning,"); list.add("sneak to create EMP wave!"); list.add(""); list.add("Ammo: Energy Cell"); list.add("Damage: 25 - 35"); } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 4, 0)); + return multimap; + } } diff --git a/com/hbm/items/weapon/GunEuthanasia.java b/com/hbm/items/weapon/GunEuthanasia.java new file mode 100644 index 000000000..495414240 --- /dev/null +++ b/com/hbm/items/weapon/GunEuthanasia.java @@ -0,0 +1,99 @@ +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.items.ModItems; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunEuthanasia extends Item { + + Random rand = new Random(); + + public GunEuthanasia() + { + this.maxStackSize = 1; + } + + @Override + public EnumAction getItemUseAction(ItemStack par1ItemStack) { + return EnumAction.bow; + } + + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + public void onUsingTick(ItemStack stack, EntityPlayer player, int count) + { + World world = player.worldObj; + + boolean flag = player.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; + if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_euthanasia_ammo)) + && count % 8 == 0) { + + int deadly = rand.nextInt(5); + + EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 2, 8, deadly == 0, false); + entityarrow.setDamage(1 + rand.nextInt(3)); + + //world.playSoundAtEntity(player, "random.explode", 1.0F, 1.5F + (rand.nextFloat() / 4)); + world.playSoundAtEntity(player, "hbm:weapon.rifleShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); + + if (flag) { + entityarrow.canBePickedUp = 2; + } else { + player.inventory.consumeInventoryItem(ModItems.gun_euthanasia_ammo); + } + + if (!world.isRemote) { + world.spawnEntityInWorld(entityarrow); + } + } + } + + @Override + public int getItemEnchantability() { + return 0; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + list.add("Say hello to my little syringe gun!"); + list.add(""); + list.add("Ammo: Syringe"); + list.add("Damage: 1 - 4"); + list.add("Syringes have a 20% chance to instakill the enemy."); + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 3, 0)); + return multimap; + } +} diff --git a/com/hbm/items/weapon/GunFatman.java b/com/hbm/items/weapon/GunFatman.java index ea50a1281..2b302b9b0 100644 --- a/com/hbm/items/weapon/GunFatman.java +++ b/com/hbm/items/weapon/GunFatman.java @@ -1,154 +1,156 @@ -package com.hbm.items.weapon; - -import java.util.List; - -import com.google.common.collect.Multimap; -import com.hbm.entity.projectile.EntityMiniNuke; -import com.hbm.entity.projectile.EntityRocket; -import com.hbm.items.ModItems; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.SharedMonsterAttributes; -import net.minecraft.entity.ai.attributes.AttributeModifier; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.entity.player.ArrowLooseEvent; -import net.minecraftforge.event.entity.player.ArrowNockEvent; - -public class GunFatman extends Item { - public static final String[] bowPullIconNameArray = new String[] { "pulling_0", "pulling_1", "pulling_2" }; - @SideOnly(Side.CLIENT) - private IIcon[] iconArray; - private static final String __OBFID = "CL_00001777"; - - public GunFatman() { - this.maxStackSize = 1; - this.setMaxDamage(2500); - } - - /** - * called when the player releases the use item button. Args: itemstack, - * world, entityplayer, itemInUseCount - */ - @Override - public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) { - int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; - - ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); - MinecraftForge.EVENT_BUS.post(event); - if (event.isCanceled()) { - return; - } - j = event.charge; - - boolean flag = p_77615_3_.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; - - if (flag || p_77615_3_.inventory.hasItem(ModItems.gun_fatman_ammo)) { - float f = j / 20.0F; - f = (f * f + f * 2.0F) / 3.0F; - - if (j < 25.0D) { - return; - } - - if (j > 25.0F) { - f = 25.0F; - } - - EntityMiniNuke entityarrow = new EntityMiniNuke(p_77615_2_, p_77615_3_, 3.0F); - - entityarrow.setIsCritical(true); - entityarrow.gravity = 0.3; - entityarrow.setDamage(1000); - - p_77615_1_.damageItem(1, p_77615_3_); - // p_77615_2_.playSoundAtEntity(p_77615_3_, "tile.piston.out", 1.0F, - // 0.5F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.fatmanShoot", 1.0F, 1F); - - if (!flag) { - p_77615_3_.inventory.consumeInventoryItem(ModItems.gun_fatman_ammo); - } - - if (!p_77615_2_.isRemote) { - p_77615_2_.spawnEntityInWorld(entityarrow); - } - } - } - - @Override - public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) { - return p_77654_1_; - } - - /** - * How long it takes to use or consume an item - */ - @Override - public int getMaxItemUseDuration(ItemStack p_77626_1_) { - return 72000; - } - - /** - * returns the action that specifies what animation to play when the items - * is being used - */ - @Override - public EnumAction getItemUseAction(ItemStack p_77661_1_) { - return EnumAction.bow; - } - - /** - * Called whenever this item is equipped and the right mouse button is - * pressed. Args: itemStack, world, entityPlayer - */ - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - MinecraftForge.EVENT_BUS.post(event); - if (event.isCanceled()) { - return event.result; - } - - if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_fatman_ammo)) { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - /** - * Return the enchantability factor of the item, most of the time is based - * on material. - */ - @Override - public int getItemEnchantability() { - return 0; - } - - public Multimap getItemAttributeModifiers() { - Multimap multimap = super.getItemAttributeModifiers(); - multimap.put(SharedMonsterAttributes.movementSpeed.getAttributeUnlocalizedName(), - new AttributeModifier(field_111210_e, "Weapon modifier", (double) -0.3, 1)); - return multimap; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - list.add("When normal nukes aren't enough..."); - list.add(""); - list.add("Ammo: Mini Nukes"); - list.add("Damage: 1000"); - list.add("Creates small nuclear explosion."); - } -} +package com.hbm.items.weapon; + +import java.util.List; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityMiniNuke; +import com.hbm.entity.projectile.EntityRocket; +import com.hbm.items.ModItems; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.player.ArrowLooseEvent; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunFatman extends Item { + public static final String[] bowPullIconNameArray = new String[] { "pulling_0", "pulling_1", "pulling_2" }; + @SideOnly(Side.CLIENT) + private IIcon[] iconArray; + private static final String __OBFID = "CL_00001777"; + + public GunFatman() { + this.maxStackSize = 1; + this.setMaxDamage(2500); + } + + /** + * called when the player releases the use item button. Args: itemstack, + * world, entityplayer, itemInUseCount + */ + @Override + public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) { + int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; + + ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); + MinecraftForge.EVENT_BUS.post(event); + if (event.isCanceled()) { + return; + } + j = event.charge; + + boolean flag = p_77615_3_.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; + + if (flag || p_77615_3_.inventory.hasItem(ModItems.gun_fatman_ammo)) { + float f = j / 20.0F; + f = (f * f + f * 2.0F) / 3.0F; + + if (j < 25.0D) { + return; + } + + if (j > 25.0F) { + f = 25.0F; + } + + EntityMiniNuke entityarrow = new EntityMiniNuke(p_77615_2_, p_77615_3_, 3.0F); + + entityarrow.setIsCritical(true); + entityarrow.gravity = 0.3; + entityarrow.setDamage(1000); + + p_77615_1_.damageItem(1, p_77615_3_); + // p_77615_2_.playSoundAtEntity(p_77615_3_, "tile.piston.out", 1.0F, + // 0.5F); + p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.fatmanShoot", 1.0F, 1F); + + if (!flag) { + p_77615_3_.inventory.consumeInventoryItem(ModItems.gun_fatman_ammo); + } + + if (!p_77615_2_.isRemote) { + p_77615_2_.spawnEntityInWorld(entityarrow); + } + } + } + + @Override + public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) { + return p_77654_1_; + } + + /** + * How long it takes to use or consume an item + */ + @Override + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + /** + * returns the action that specifies what animation to play when the items + * is being used + */ + @Override + public EnumAction getItemUseAction(ItemStack p_77661_1_) { + return EnumAction.bow; + } + + /** + * Called whenever this item is equipped and the right mouse button is + * pressed. Args: itemStack, world, entityPlayer + */ + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + MinecraftForge.EVENT_BUS.post(event); + if (event.isCanceled()) { + return event.result; + } + + if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_fatman_ammo)) { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + /** + * Return the enchantability factor of the item, most of the time is based + * on material. + */ + @Override + public int getItemEnchantability() { + return 0; + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.movementSpeed.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) -0.3, 1)); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 4, 0)); + return multimap; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + list.add("When normal nukes aren't enough..."); + list.add(""); + list.add("Ammo: Mini Nukes"); + list.add("Damage: 1000"); + list.add("Creates small nuclear explosion."); + } +} diff --git a/com/hbm/items/weapon/GunImmolator.java b/com/hbm/items/weapon/GunImmolator.java index 1a7bd47c7..50f9fc74a 100644 --- a/com/hbm/items/weapon/GunImmolator.java +++ b/com/hbm/items/weapon/GunImmolator.java @@ -3,6 +3,7 @@ package com.hbm.items.weapon; import java.util.List; import java.util.Random; +import com.google.common.collect.Multimap; import com.hbm.entity.projectile.EntityBullet; import com.hbm.entity.projectile.EntityFire; import com.hbm.entity.projectile.EntityPlasmaBeam; @@ -11,6 +12,8 @@ import com.hbm.lib.Library; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.item.EnumAction; @@ -65,8 +68,6 @@ public class GunImmolator extends Item { if(count % 10 == 0) player.inventory.consumeInventoryItem(ModItems.gun_immolator_ammo); } - - System.out.println(count); if(count == this.getMaxItemUseDuration(stack)) world.playSoundAtEntity(player, "hbm:weapon.flamethrowerIgnite", 1.0F, 1F); @@ -119,4 +120,11 @@ public class GunImmolator extends Item { list.add("Damage: 5"); list.add("Secondary Damage: 25 - 45"); } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 4, 0)); + return multimap; + } } diff --git a/com/hbm/items/weapon/GunJack.java b/com/hbm/items/weapon/GunJack.java new file mode 100644 index 000000000..b2bc1202b --- /dev/null +++ b/com/hbm/items/weapon/GunJack.java @@ -0,0 +1,147 @@ +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.items.ModItems; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.player.ArrowLooseEvent; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunJack extends Item { + Random rand = new Random(); + + public int dmgMin = 12; + public int dmgMax = 24; + + public GunJack() { + + this.maxStackSize = 1; + } + + /** + * called when the player releases the use item button. Args: itemstack, + * world, entityplayer, itemInUseCount + */ + @Override + public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) { + int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; + + ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); + MinecraftForge.EVENT_BUS.post(event); + j = event.charge; + + boolean flag = p_77615_3_.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; + + if (flag || p_77615_3_.inventory.hasItem(ModItems.gun_jack_ammo)) { + float f = j / 20.0F; + f = (f * f + f * 2.0F) / 3.0F; + + if (j < 10.0D) { + return; + } + + if (j > 10.0F) { + f = 10.0F; + } + + p_77615_1_.damageItem(1, p_77615_3_); + + p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.shotgunShoot", 1.0F, 1.0F); + + if (flag) { } else { + p_77615_3_.inventory.consumeInventoryItem(ModItems.gun_jack_ammo); + } + + int k = rand.nextInt(25) + 24; + + for(int i = 0; i < k; i++) { + + EntityBullet entityarrow1 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow1.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + + if(!p_77615_2_.isRemote) + p_77615_2_.spawnEntityInWorld(entityarrow1); + } + } + } + + @Override + public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) { + return p_77654_1_; + } + + /** + * How long it takes to use or consume an item + */ + @Override + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + /** + * returns the action that specifies what animation to play when the items + * is being used + */ + @Override + public EnumAction getItemUseAction(ItemStack p_77661_1_) { + return EnumAction.bow; + } + + /** + * Called whenever this item is equipped and the right mouse button is + * pressed. Args: itemStack, world, entityPlayer + */ + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + MinecraftForge.EVENT_BUS.post(event); + + if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_jack_ammo)) { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + /** + * Return the enchantability factor of the item, most of the time is based + * on material. + */ + @Override + public int getItemEnchantability() { + return 1; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + //list.add("POW! Haha!"); + list.add("Alright, alright, I couldn't think of a proper name,"); + list.add("are you happy now?"); + list.add(""); + list.add("Ammo: Quadruple Shotgun Shells"); + list.add("Damage: 12 - 24"); + list.add("Projectiles: 24 - 48"); + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 4.5, 0)); + return multimap; + } +} diff --git a/com/hbm/items/weapon/GunMIRV.java b/com/hbm/items/weapon/GunMIRV.java index cc01229a4..9847c471f 100644 --- a/com/hbm/items/weapon/GunMIRV.java +++ b/com/hbm/items/weapon/GunMIRV.java @@ -138,6 +138,8 @@ public class GunMIRV extends Item { Multimap multimap = super.getItemAttributeModifiers(); multimap.put(SharedMonsterAttributes.movementSpeed.getAttributeUnlocalizedName(), new AttributeModifier(field_111210_e, "Weapon modifier", (double) -0.3, 1)); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 4, 0)); return multimap; } diff --git a/com/hbm/items/weapon/GunMP.java b/com/hbm/items/weapon/GunMP.java index f617b6750..4038c9a3e 100644 --- a/com/hbm/items/weapon/GunMP.java +++ b/com/hbm/items/weapon/GunMP.java @@ -1,98 +1,98 @@ -package com.hbm.items.weapon; - -import java.util.List; -import java.util.Random; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityCombineBall; -import com.hbm.items.ModItems; - -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; -import net.minecraftforge.event.entity.player.ArrowNockEvent; - -public class GunMP extends Item { - - Random rand = new Random(); - - public GunMP() - { - this.maxStackSize = 1; - } - - @Override - public EnumAction getItemUseAction(ItemStack par1ItemStack) { - return EnumAction.bow; - } - - public int getMaxItemUseDuration(ItemStack p_77626_1_) { - return 72000; - } - - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - public void onUsingTick(ItemStack stack, EntityPlayer player, int count) - { - World world = player.worldObj; - - boolean flag = player.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; - if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_mp_ammo)) - && count % 3 == 0) { - EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 100, 150, false, false); - entityarrow.setDamage(100 + rand.nextInt(50)); - - //world.playSoundAtEntity(player, "random.explode", 1.0F, 1.5F + (rand.nextFloat() / 4)); - world.playSoundAtEntity(player, "hbm:weapon.rifleShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); - - if (flag) { - entityarrow.canBePickedUp = 2; - } else { - player.inventory.consumeInventoryItem(ModItems.gun_mp_ammo); - } - - if (!world.isRemote) { - world.spawnEntityInWorld(entityarrow); - } - } - } - - @Override - public int getItemEnchantability() { - return 0; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - list.add("Isn't that name a little contrary,"); - list.add("you can't be a pacifist AND"); - list.add("shoot people. Logic errors aside,"); - list.add("whose blood is that? The former"); - list.add("user's? The victim's? Both?"); - list.add(""); - list.add("Ammo: Small Propellantless Machine Gun Round"); -<<<<<<< HEAD:com/hbm/items/weapon/GunMP.java - list.add("Damage: 100 - 150"); -======= -<<<<<<< HEAD - list.add("Damage: 100 - 150"); -======= - list.add("Damage: 35 - 45"); ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/GunMP.java - } -} +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityCombineBall; +import com.hbm.items.ModItems; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunMP extends Item { + + Random rand = new Random(); + + public GunMP() { + this.maxStackSize = 1; + } + + @Override + public EnumAction getItemUseAction(ItemStack par1ItemStack) { + return EnumAction.bow; + } + + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + public void onUsingTick(ItemStack stack, EntityPlayer player, int count) { + World world = player.worldObj; + + boolean flag = player.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; + if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_mp_ammo)) && count % 3 == 0) { + EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 100, 150, false, false); + entityarrow.setDamage(100 + rand.nextInt(50)); + + // world.playSoundAtEntity(player, "random.explode", 1.0F, 1.5F + + // (rand.nextFloat() / 4)); + world.playSoundAtEntity(player, "hbm:weapon.rifleShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); + + if (flag) { + entityarrow.canBePickedUp = 2; + } else { + player.inventory.consumeInventoryItem(ModItems.gun_mp_ammo); + } + + if (!world.isRemote) { + world.spawnEntityInWorld(entityarrow); + } + } + } + + @Override + public int getItemEnchantability() { + return 0; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + list.add("Isn't that name a little contrary,"); + list.add("you can't be a pacifist AND"); + list.add("shoot people. Logic errors aside,"); + list.add("whose blood is that? The former"); + list.add("user's? The victim's? Both?"); + list.add(""); + list.add("Ammo: Small Propellantless Machine Gun Round"); + list.add("Damage: 100 - 150"); + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 5, 0)); + return multimap; + } +} diff --git a/com/hbm/items/weapon/GunNightmare.java b/com/hbm/items/weapon/GunNightmare.java new file mode 100644 index 000000000..346033582 --- /dev/null +++ b/com/hbm/items/weapon/GunNightmare.java @@ -0,0 +1,243 @@ +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityNightmareBlast; +import com.hbm.items.ModItems; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.player.ArrowLooseEvent; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunNightmare extends Item { + private int dmgMin; + private int dmgMax; + public Item ammo; + Random rand = new Random(); + + public GunNightmare() { + + this.maxStackSize = 1; + + if (this == ModItems.gun_revolver_nightmare) { + this.dmgMin = 1; + this.dmgMax = 100; + this.ammo = ModItems.gun_revolver_nightmare_ammo; + } + if (this == ModItems.gun_revolver_nightmare2) { + this.dmgMin = 25; + this.dmgMax = 150; + this.ammo = ModItems.gun_revolver_nightmare2_ammo; + } + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + return EnumRarity.uncommon; + } + + @Override + public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) { + int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; + + ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); + MinecraftForge.EVENT_BUS.post(event); + j = event.charge; + float f = j / 20.0F; + f = (f * f + f * 2.0F) / 3.0F; + + if (j < 10.0D) { + return; + } + + if (j > 10.0F) { + f = 10.0F; + } + + if (this == ModItems.gun_revolver_nightmare) { + EntityBullet entityarrow; + entityarrow = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F, dmgMin, dmgMax, false, false); + entityarrow.setDamage(1 + rand.nextInt(99)); + + if (!p_77615_2_.isRemote) { + p_77615_2_.spawnEntityInWorld(entityarrow); + } + } + + if (this == ModItems.gun_revolver_nightmare2) { + EntityNightmareBlast entityarrow0; + EntityNightmareBlast entityarrow1; + EntityNightmareBlast entityarrow2; + EntityNightmareBlast entityarrow3; + EntityNightmareBlast entityarrow4; + EntityNightmareBlast entityarrow5; + EntityNightmareBlast entityarrow6; + EntityNightmareBlast entityarrow7; + EntityNightmareBlast entityarrow8; + EntityNightmareBlast entityarrow9; + entityarrow0 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow0.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow1 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow1.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow2 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow2.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow3 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow3.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow4 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow4.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow5 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow5.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow6 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow6.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow7 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow7.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow8 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow8.setDamage(25 + rand.nextInt(150 - 25)); + entityarrow9 = new EntityNightmareBlast(p_77615_2_, p_77615_3_, 3.0F); + entityarrow9.setDamage(25 + rand.nextInt(150 - 25)); + + if (!p_77615_2_.isRemote) { + p_77615_2_.spawnEntityInWorld(entityarrow0); + p_77615_2_.spawnEntityInWorld(entityarrow1); + p_77615_2_.spawnEntityInWorld(entityarrow2); + p_77615_2_.spawnEntityInWorld(entityarrow3); + p_77615_2_.spawnEntityInWorld(entityarrow4); + p_77615_2_.spawnEntityInWorld(entityarrow5); + p_77615_2_.spawnEntityInWorld(entityarrow6); + p_77615_2_.spawnEntityInWorld(entityarrow7); + p_77615_2_.spawnEntityInWorld(entityarrow8); + p_77615_2_.spawnEntityInWorld(entityarrow9); + } + } + + p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.schrabidiumShoot", 1.0F, 1.0F); + + boolean flag = p_77615_3_.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; + + if (!flag) + p_77615_1_.setItemDamage(p_77615_1_.getItemDamage() + 1); + } + + @Override + public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) { + return p_77654_1_; + } + + /** + * How long it takes to use or consume an item + */ + @Override + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + /** + * returns the action that specifies what animation to play when the items + * is being used + */ + @Override + public EnumAction getItemUseAction(ItemStack p_77661_1_) { + return EnumAction.bow; + } + + /** + * Called whenever this item is equipped and the right mouse button is + * pressed. Args: itemStack, world, entityPlayer + */ + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + MinecraftForge.EVENT_BUS.post(event); + + if (!p_77659_3_.isSneaking()) { + boolean flag = p_77659_3_.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77659_1_) > 0; + + if (flag || p_77659_1_.getItemDamage() < 6) { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + + } else { + if(p_77659_2_.isRemote) + p_77659_3_.addChatMessage(new ChatComponentText("[Nightmare] Out of ammo! Shift right-click to reload!")); + } + } else if(p_77659_1_.getItemDamage() > 0) { + + int j = 0; + + for(int i = 0; i < 6; i++) { + if(p_77659_1_.getItem() == ModItems.gun_revolver_nightmare && p_77659_3_.inventory.consumeInventoryItem(ModItems.gun_revolver_nightmare_ammo)) { + p_77659_1_.setItemDamage(p_77659_1_.getItemDamage() - 1); + j++; + } + if(p_77659_1_.getItem() == ModItems.gun_revolver_nightmare2 && p_77659_3_.inventory.consumeInventoryItem(ModItems.gun_revolver_nightmare2_ammo)) { + p_77659_1_.setItemDamage(p_77659_1_.getItemDamage() - 1); + j++; + } + if(p_77659_1_.getItemDamage() == 0) + break; + } + + if(j > 0) { + if(p_77659_2_.isRemote) + p_77659_3_.addChatMessage(new ChatComponentText("[Nightmare] Reloaded!")); + p_77659_3_.swingItem(); + } + } + + return p_77659_1_; + } + + /** + * Return the enchantability factor of the item, most of the time is based + * on material. + */ + @Override + public int getItemEnchantability() { + return 1; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + if (this == ModItems.gun_revolver_nightmare) { + list.add("Never let a cat doze on your belly when you sleep."); + list.add(""); + list.add("Ammo: Nightmare Bullets"); + list.add("Damage: 1 - 100"); + } + if (this == ModItems.gun_revolver_nightmare2) { + list.add("Ominous references. *shivers*"); + list.add(""); + list.add("Ammo: Laser Buckshot"); + list.add("Damage: 25 - 150"); + } + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 2.5, 0)); + return multimap; + } +} \ No newline at end of file diff --git a/com/hbm/items/weapon/GunOSIPR.java b/com/hbm/items/weapon/GunOSIPR.java index 2653dc0ae..95080983c 100644 --- a/com/hbm/items/weapon/GunOSIPR.java +++ b/com/hbm/items/weapon/GunOSIPR.java @@ -1,124 +1,134 @@ -package com.hbm.items.weapon; - -import java.util.List; -import java.util.Random; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityCombineBall; -import com.hbm.entity.projectile.EntityMiniNuke; -import com.hbm.items.ModItems; -import com.hbm.lib.ModDamageSource; - -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.world.World; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.entity.player.ArrowLooseEvent; -import net.minecraftforge.event.entity.player.ArrowNockEvent; - -public class GunOSIPR extends Item { - - Random rand = new Random(); - - public GunOSIPR() - { - this.maxStackSize = 1; - this.setMaxDamage(2500); - } - - @Override - public EnumAction getItemUseAction(ItemStack par1ItemStack) { - return EnumAction.bow; - } - - public int getMaxItemUseDuration(ItemStack p_77626_1_) { - return 72000; - } - - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - public void onUsingTick(ItemStack stack, EntityPlayer player, int count) - { - World world = player.worldObj; - - if (!player.isSneaking()) { - boolean flag = player.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; - if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_osipr_ammo)) && count % 3 == 0) { - EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 5, 15, false, "chopper"); - entityarrow.setDamage(5 + rand.nextInt(10)); - - //world.playSoundAtEntity(player, "random.explode", 1.0F, 1.5F + (rand.nextFloat() / 4)); - world.playSoundAtEntity(player, "hbm:weapon.osiprShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); - - if (flag) { - entityarrow.canBePickedUp = 2; - } else { - player.inventory.consumeInventoryItem(ModItems.gun_osipr_ammo); - } - - if (!world.isRemote) { - world.spawnEntityInWorld(entityarrow); - } - } - } else { - boolean flag = player.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; - if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_osipr_ammo2)) && count % 30 == 0 && (this.getMaxItemUseDuration(stack) - count) != 0) { - EntityCombineBall entityarrow = new EntityCombineBall(player.worldObj, player, 3.0F); - entityarrow.setDamage(35 + rand.nextInt(45 - 35)); - - //world.playSoundAtEntity(player, "tile.piston.in", 1.0F, 0.75F); - world.playSoundAtEntity(player, "hbm:weapon.singFlyby", 1.0F, 1F); - - if (flag) { - entityarrow.canBePickedUp = 2; - } else { - player.inventory.consumeInventoryItem(ModItems.gun_osipr_ammo2); - } - - if (!world.isRemote) { - world.spawnEntityInWorld(entityarrow); - } - } - - if((this.getMaxItemUseDuration(stack) - count) % 30 == 15 && (player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_osipr_ammo2))) - world.playSoundAtEntity(player, "hbm:weapon.osiprCharging", 1.0F, 1F); - } - } - - @Override - public int getItemEnchantability() { - return 0; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - list.add("Hold right mouse button"); - list.add("to shoot,"); - list.add("sneak to shoot a"); - list.add("dark energy ball!"); - list.add(""); - list.add("Ammo: Dark Energy Plugs"); - list.add("Secondary Ammo: Combine Ball"); - list.add("Damage: 5 - 15"); - list.add("Secondary Damage: 1000"); - } - -} +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityCombineBall; +import com.hbm.entity.projectile.EntityMiniNuke; +import com.hbm.items.ModItems; +import com.hbm.lib.ModDamageSource; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.player.ArrowLooseEvent; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunOSIPR extends Item { + + Random rand = new Random(); + + public GunOSIPR() + { + this.maxStackSize = 1; + this.setMaxDamage(2500); + } + + @Override + public EnumAction getItemUseAction(ItemStack par1ItemStack) { + return EnumAction.bow; + } + + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + public void onUsingTick(ItemStack stack, EntityPlayer player, int count) + { + World world = player.worldObj; + + if (!player.isSneaking()) { + boolean flag = player.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; + if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_osipr_ammo)) && count % 3 == 0) { + EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 5, 15, false, "chopper"); + entityarrow.setDamage(5 + rand.nextInt(10)); + + //world.playSoundAtEntity(player, "random.explode", 1.0F, 1.5F + (rand.nextFloat() / 4)); + world.playSoundAtEntity(player, "hbm:weapon.osiprShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); + + if (flag) { + entityarrow.canBePickedUp = 2; + } else { + player.inventory.consumeInventoryItem(ModItems.gun_osipr_ammo); + } + + if (!world.isRemote) { + world.spawnEntityInWorld(entityarrow); + } + } + } else { + boolean flag = player.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; + if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_osipr_ammo2)) && count % 30 == 0 && (this.getMaxItemUseDuration(stack) - count) != 0) { + EntityCombineBall entityarrow = new EntityCombineBall(player.worldObj, player, 3.0F); + entityarrow.setDamage(35 + rand.nextInt(45 - 35)); + + //world.playSoundAtEntity(player, "tile.piston.in", 1.0F, 0.75F); + world.playSoundAtEntity(player, "hbm:weapon.singFlyby", 1.0F, 1F); + + if (flag) { + entityarrow.canBePickedUp = 2; + } else { + player.inventory.consumeInventoryItem(ModItems.gun_osipr_ammo2); + } + + if (!world.isRemote) { + world.spawnEntityInWorld(entityarrow); + } + } + + if((this.getMaxItemUseDuration(stack) - count) % 30 == 15 && (player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_osipr_ammo2))) + world.playSoundAtEntity(player, "hbm:weapon.osiprCharging", 1.0F, 1F); + } + } + + @Override + public int getItemEnchantability() { + return 0; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + list.add("Hold right mouse button"); + list.add("to shoot,"); + list.add("sneak to shoot a"); + list.add("dark energy ball!"); + list.add(""); + list.add("Ammo: Dark Energy Plugs"); + list.add("Secondary Ammo: Combine Ball"); + list.add("Damage: 5 - 15"); + list.add("Secondary Damage: 1000"); + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 5, 0)); + return multimap; + } + +} diff --git a/com/hbm/items/weapon/GunRevolver.java b/com/hbm/items/weapon/GunRevolver.java index 2d31605ce..02582cec6 100644 --- a/com/hbm/items/weapon/GunRevolver.java +++ b/com/hbm/items/weapon/GunRevolver.java @@ -1,234 +1,244 @@ -package com.hbm.items.weapon; - -import java.util.List; -import java.util.Random; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.items.ModItems; - -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.entity.player.ArrowLooseEvent; -import net.minecraftforge.event.entity.player.ArrowNockEvent; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -public class GunRevolver extends Item { - public static final String[] bowPullIconNameArray = new String[] { "pulling_0", "pulling_1", "pulling_2" }; - @SideOnly(Side.CLIENT) - private IIcon[] iconArray; - private static final String __OBFID = "CL_00001777"; - private Item ammo; - private int dmgMin; - private int dmgMax; - private boolean instakill = false; - private boolean rad = false; - Random rand = new Random(); - - public GunRevolver(Item ammo, int dmgMin, int dmgMax, boolean instakill, boolean rad) { - this.maxStackSize = 1; - if (this == ModItems.gun_revolver_iron) { - this.setMaxDamage(100); - } - if (this == ModItems.gun_revolver) { - this.setMaxDamage(500); - } - if (this == ModItems.gun_revolver_gold) { - this.setMaxDamage(1000); - } - if (this == ModItems.gun_revolver_lead) { - this.setMaxDamage(250); - } - if (this == ModItems.gun_revolver_schrabidium) { - this.setMaxDamage(100000); - } - if (this == ModItems.gun_revolver_cursed) { - this.setMaxDamage(5000); - } - - this.ammo = ammo; - this.dmgMin = dmgMin; - this.dmgMax = dmgMax; - this.instakill = instakill; - this.rad = rad; - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - if (this == ModItems.gun_revolver_schrabidium) { - return EnumRarity.rare; - } - - if (this == ModItems.gun_revolver_cursed) { - return EnumRarity.uncommon; - } - - return EnumRarity.common; - } - - /** - * called when the player releases the use item button. Args: itemstack, - * world, entityplayer, itemInUseCount - */ - @Override - public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) { - int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; - - ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); - MinecraftForge.EVENT_BUS.post(event); - j = event.charge; - - boolean flag = p_77615_3_.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; - - if (flag || p_77615_3_.inventory.hasItem(ammo)) { - float f = j / 20.0F; - f = (f * f + f * 2.0F) / 3.0F; - - if (j < 10.0D) { - return; - } - - if (j > 10.0F) { - f = 10.0F; - } - - EntityBullet entityarrow = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F, dmgMin, dmgMax, instakill, rad); - entityarrow.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); - - p_77615_1_.damageItem(1, p_77615_3_); - if (this == ModItems.gun_revolver || this == ModItems.gun_revolver_iron - || this == ModItems.gun_revolver_gold || this == ModItems.gun_revolver_lead) { - // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", - // 1.0F, 3.0F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.revolverShoot", 1.0F, 1.0F); - } - if (this == ModItems.gun_revolver_cursed) { - // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", - // 3.0F, 1.5F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.heavyShoot", 3.0F, 1.0F); - } - if (this == ModItems.gun_revolver_schrabidium) { - // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", - // 1.0F, 3.0F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.schrabidiumShoot", 1.0F, 1.0F); - } - - if (flag) { - entityarrow.canBePickedUp = 2; - } else { - p_77615_3_.inventory.consumeInventoryItem(ammo); - } - - if (!p_77615_2_.isRemote) { - p_77615_2_.spawnEntityInWorld(entityarrow); - - if (this == ModItems.gun_revolver_cursed && rand.nextInt(3) == 0) { - p_77615_3_.addPotionEffect(new PotionEffect(Potion.wither.id, 5 * 20, 0)); - } - } - } - } - - @Override - public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) { - return p_77654_1_; - } - - /** - * How long it takes to use or consume an item - */ - @Override - public int getMaxItemUseDuration(ItemStack p_77626_1_) { - return 72000; - } - - /** - * returns the action that specifies what animation to play when the items - * is being used - */ - @Override - public EnumAction getItemUseAction(ItemStack p_77661_1_) { - return EnumAction.bow; - } - - /** - * Called whenever this item is equipped and the right mouse button is - * pressed. Args: itemStack, world, entityPlayer - */ - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - MinecraftForge.EVENT_BUS.post(event); - - if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ammo)) { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - /** - * Return the enchantability factor of the item, most of the time is based - * on material. - */ - @Override - public int getItemEnchantability() { - return 1; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - if (this == ModItems.gun_revolver_iron) { - list.add("Cheap."); - list.add(""); - list.add("Ammo: Iron Bullets"); - list.add("Damage: 5 - 15"); - } - if (this == ModItems.gun_revolver) { - list.add("I feel like a cowboy!"); - list.add(""); - list.add("Ammo: Lead Bullets"); - list.add("Damage: 10 - 25"); - } - if (this == ModItems.gun_revolver_gold) { - list.add("GoldenEye would be proud!"); - list.add(""); - list.add("Ammo: Golden Bullets"); - list.add("Damage: 20 - 30"); - } - if (this == ModItems.gun_revolver_lead) { - list.add("Made from lead for your safety!"); - list.add(""); - list.add("Ammo: Atomic Bullets"); - list.add("Damage: 5 - 15"); - list.add("Bullets are radioactive."); - } - if (this == ModItems.gun_revolver_schrabidium) { - list.add("Kills everyone and everything."); - list.add(""); - list.add("Ammo: Schrabidium Bullets"); - list.add("Damage: 10000 - 100000"); - list.add("Sets enemy's health to zero."); - } - if (this == ModItems.gun_revolver_cursed) { - list.add("You're dead."); - list.add(""); - list.add("Ammo: Steel Bullets"); - list.add("Damage: 25 - 40"); - list.add("33% chance of user being withered."); - } - } -} +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.items.ModItems; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.player.ArrowLooseEvent; +import net.minecraftforge.event.entity.player.ArrowNockEvent; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +public class GunRevolver extends Item { + public static final String[] bowPullIconNameArray = new String[] { "pulling_0", "pulling_1", "pulling_2" }; + @SideOnly(Side.CLIENT) + private IIcon[] iconArray; + private static final String __OBFID = "CL_00001777"; + private Item ammo; + private int dmgMin; + private int dmgMax; + private boolean instakill = false; + private boolean rad = false; + Random rand = new Random(); + + public GunRevolver(Item ammo, int dmgMin, int dmgMax, boolean instakill, boolean rad) { + this.maxStackSize = 1; + if (this == ModItems.gun_revolver_iron) { + this.setMaxDamage(100); + } + if (this == ModItems.gun_revolver) { + this.setMaxDamage(500); + } + if (this == ModItems.gun_revolver_gold) { + this.setMaxDamage(1000); + } + if (this == ModItems.gun_revolver_lead) { + this.setMaxDamage(250); + } + if (this == ModItems.gun_revolver_schrabidium) { + this.setMaxDamage(100000); + } + if (this == ModItems.gun_revolver_cursed) { + this.setMaxDamage(5000); + } + + this.ammo = ammo; + this.dmgMin = dmgMin; + this.dmgMax = dmgMax; + this.instakill = instakill; + this.rad = rad; + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + if (this == ModItems.gun_revolver_schrabidium) { + return EnumRarity.rare; + } + + if (this == ModItems.gun_revolver_cursed) { + return EnumRarity.uncommon; + } + + return EnumRarity.common; + } + + /** + * called when the player releases the use item button. Args: itemstack, + * world, entityplayer, itemInUseCount + */ + @Override + public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) { + int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; + + ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); + MinecraftForge.EVENT_BUS.post(event); + j = event.charge; + + boolean flag = p_77615_3_.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; + + if (flag || p_77615_3_.inventory.hasItem(ammo)) { + float f = j / 20.0F; + f = (f * f + f * 2.0F) / 3.0F; + + if (j < 10.0D) { + return; + } + + if (j > 10.0F) { + f = 10.0F; + } + + EntityBullet entityarrow = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F, dmgMin, dmgMax, instakill, rad); + entityarrow.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + + p_77615_1_.damageItem(1, p_77615_3_); + if (this == ModItems.gun_revolver || this == ModItems.gun_revolver_iron + || this == ModItems.gun_revolver_gold || this == ModItems.gun_revolver_lead) { + // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", + // 1.0F, 3.0F); + p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.revolverShoot", 1.0F, 1.0F); + } + if (this == ModItems.gun_revolver_cursed) { + // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", + // 3.0F, 1.5F); + p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.heavyShoot", 3.0F, 1.0F); + } + if (this == ModItems.gun_revolver_schrabidium) { + // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", + // 1.0F, 3.0F); + p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.schrabidiumShoot", 1.0F, 1.0F); + } + + if (flag) { + entityarrow.canBePickedUp = 2; + } else { + p_77615_3_.inventory.consumeInventoryItem(ammo); + } + + if (!p_77615_2_.isRemote) { + p_77615_2_.spawnEntityInWorld(entityarrow); + + if (this == ModItems.gun_revolver_cursed && rand.nextInt(3) == 0) { + p_77615_3_.addPotionEffect(new PotionEffect(Potion.wither.id, 5 * 20, 0)); + } + } + } + } + + @Override + public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) { + return p_77654_1_; + } + + /** + * How long it takes to use or consume an item + */ + @Override + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + /** + * returns the action that specifies what animation to play when the items + * is being used + */ + @Override + public EnumAction getItemUseAction(ItemStack p_77661_1_) { + return EnumAction.bow; + } + + /** + * Called whenever this item is equipped and the right mouse button is + * pressed. Args: itemStack, world, entityPlayer + */ + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + MinecraftForge.EVENT_BUS.post(event); + + if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ammo)) { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + /** + * Return the enchantability factor of the item, most of the time is based + * on material. + */ + @Override + public int getItemEnchantability() { + return 1; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + if (this == ModItems.gun_revolver_iron) { + list.add("Cheap."); + list.add(""); + list.add("Ammo: Iron Bullets"); + list.add("Damage: 5 - 15"); + } + if (this == ModItems.gun_revolver) { + list.add("I feel like a cowboy!"); + list.add(""); + list.add("Ammo: Lead Bullets"); + list.add("Damage: 10 - 25"); + } + if (this == ModItems.gun_revolver_gold) { + list.add("GoldenEye would be proud!"); + list.add(""); + list.add("Ammo: Golden Bullets"); + list.add("Damage: 20 - 30"); + } + if (this == ModItems.gun_revolver_lead) { + list.add("Made from lead for your safety!"); + list.add(""); + list.add("Ammo: Atomic Bullets"); + list.add("Damage: 5 - 15"); + list.add("Bullets are radioactive."); + } + if (this == ModItems.gun_revolver_schrabidium) { + list.add("Kills everyone and everything."); + list.add(""); + list.add("Ammo: Schrabidium Bullets"); + list.add("Damage: 10000 - 100000"); + list.add("Sets enemy's health to zero."); + } + if (this == ModItems.gun_revolver_cursed) { + list.add("You're dead."); + list.add(""); + list.add("Ammo: Steel Bullets"); + list.add("Damage: 25 - 40"); + list.add("33% chance of user being withered."); + } + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 2.5, 0)); + return multimap; + } +} diff --git a/com/hbm/items/weapon/GunRpg.java b/com/hbm/items/weapon/GunRpg.java index ee28ee31a..45a775e33 100644 --- a/com/hbm/items/weapon/GunRpg.java +++ b/com/hbm/items/weapon/GunRpg.java @@ -1,157 +1,167 @@ -package com.hbm.items.weapon; - -import java.util.List; - -import com.hbm.entity.projectile.EntityMiniNuke; -import com.hbm.entity.projectile.EntityRocket; -import com.hbm.items.ModItems; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.entity.player.ArrowLooseEvent; -import net.minecraftforge.event.entity.player.ArrowNockEvent; - -public class GunRpg extends Item -{ - public static final String[] bowPullIconNameArray = new String[] {"pulling_0", "pulling_1", "pulling_2"}; - @SideOnly(Side.CLIENT) - private IIcon[] iconArray; - private static final String __OBFID = "CL_00001777"; - - public GunRpg() - { - this.maxStackSize = 1; - this.setMaxDamage(500); - } - - /** - * called when the player releases the use item button. Args: itemstack, world, entityplayer, itemInUseCount - */ - @Override - public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) - { - int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; - - ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); - MinecraftForge.EVENT_BUS.post(event); - if (event.isCanceled()) - { - return; - } - j = event.charge; - - boolean flag = p_77615_3_.capabilities.isCreativeMode || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; - - if (flag || p_77615_3_.inventory.hasItem(ModItems.gun_rpg_ammo)) - { - float f = j / 20.0F; - f = (f * f + f * 2.0F) / 3.0F; - - if (j < 25.0D) - { - return; - } - - if (j > 25.0F) - { - f = 25.0F; - } - - EntityRocket entityarrow = new EntityRocket(p_77615_2_, p_77615_3_, 3.0F); - - if (f == 1.0F) - { - entityarrow.setIsCritical(true); - } - - p_77615_1_.damageItem(1, p_77615_3_); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.rpgShoot", 1.0F, 0.25F); - - if (flag) - { - entityarrow.canBePickedUp = 2; - } - else - { - p_77615_3_.inventory.consumeInventoryItem(ModItems.gun_rpg_ammo); - } - - if (!p_77615_2_.isRemote) - { - p_77615_2_.spawnEntityInWorld(entityarrow); - } - } - } - - @Override - public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) - { - return p_77654_1_; - } - - /** - * How long it takes to use or consume an item - */ - @Override - public int getMaxItemUseDuration(ItemStack p_77626_1_) - { - return 72000; - } - - /** - * returns the action that specifies what animation to play when the items is being used - */ - @Override - public EnumAction getItemUseAction(ItemStack p_77661_1_) - { - return EnumAction.bow; - } - - /** - * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer - */ - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) - { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - MinecraftForge.EVENT_BUS.post(event); - if (event.isCanceled()) - { - return event.result; - } - - if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_rpg_ammo)) - { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - /** - * Return the enchantability factor of the item, most of the time is based on material. - */ - @Override - public int getItemEnchantability() - { - return 1; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - list.add("Kaboom!"); - list.add(""); - list.add("Ammo: Rockets"); - list.add("Projectiles explode on impact."); - } +package com.hbm.items.weapon; + +import java.util.List; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityMiniNuke; +import com.hbm.entity.projectile.EntityRocket; +import com.hbm.items.ModItems; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.player.ArrowLooseEvent; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunRpg extends Item +{ + public static final String[] bowPullIconNameArray = new String[] {"pulling_0", "pulling_1", "pulling_2"}; + @SideOnly(Side.CLIENT) + private IIcon[] iconArray; + private static final String __OBFID = "CL_00001777"; + + public GunRpg() + { + this.maxStackSize = 1; + this.setMaxDamage(500); + } + + /** + * called when the player releases the use item button. Args: itemstack, world, entityplayer, itemInUseCount + */ + @Override + public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) + { + int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; + + ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); + MinecraftForge.EVENT_BUS.post(event); + if (event.isCanceled()) + { + return; + } + j = event.charge; + + boolean flag = p_77615_3_.capabilities.isCreativeMode || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; + + if (flag || p_77615_3_.inventory.hasItem(ModItems.gun_rpg_ammo)) + { + float f = j / 20.0F; + f = (f * f + f * 2.0F) / 3.0F; + + if (j < 25.0D) + { + return; + } + + if (j > 25.0F) + { + f = 25.0F; + } + + EntityRocket entityarrow = new EntityRocket(p_77615_2_, p_77615_3_, 3.0F); + + if (f == 1.0F) + { + entityarrow.setIsCritical(true); + } + + p_77615_1_.damageItem(1, p_77615_3_); + p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.rpgShoot", 1.0F, 0.25F); + + if (flag) + { + entityarrow.canBePickedUp = 2; + } + else + { + p_77615_3_.inventory.consumeInventoryItem(ModItems.gun_rpg_ammo); + } + + if (!p_77615_2_.isRemote) + { + p_77615_2_.spawnEntityInWorld(entityarrow); + } + } + } + + @Override + public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) + { + return p_77654_1_; + } + + /** + * How long it takes to use or consume an item + */ + @Override + public int getMaxItemUseDuration(ItemStack p_77626_1_) + { + return 72000; + } + + /** + * returns the action that specifies what animation to play when the items is being used + */ + @Override + public EnumAction getItemUseAction(ItemStack p_77661_1_) + { + return EnumAction.bow; + } + + /** + * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer + */ + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) + { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + MinecraftForge.EVENT_BUS.post(event); + if (event.isCanceled()) + { + return event.result; + } + + if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_rpg_ammo)) + { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + /** + * Return the enchantability factor of the item, most of the time is based on material. + */ + @Override + public int getItemEnchantability() + { + return 1; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + list.add("Kaboom!"); + list.add(""); + list.add("Ammo: Rockets"); + list.add("Projectiles explode on impact."); + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 4, 0)); + return multimap; + } } \ No newline at end of file diff --git a/com/hbm/items/weapon/GunSMG.java b/com/hbm/items/weapon/GunSMG.java index 300009995..400a02c85 100644 --- a/com/hbm/items/weapon/GunSMG.java +++ b/com/hbm/items/weapon/GunSMG.java @@ -3,11 +3,14 @@ package com.hbm.items.weapon; import java.util.List; import java.util.Random; +import com.google.common.collect.Multimap; import com.hbm.entity.projectile.EntityBullet; import com.hbm.items.ModItems; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumAction; import net.minecraft.item.Item; @@ -82,4 +85,11 @@ public class GunSMG extends Item { list.add("Ammo: SMG Round"); list.add("Damage: 2 - 8"); } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 3, 0)); + return multimap; + } } diff --git a/com/hbm/items/weapon/GunShotgun.java b/com/hbm/items/weapon/GunShotgun.java new file mode 100644 index 000000000..67f04733c --- /dev/null +++ b/com/hbm/items/weapon/GunShotgun.java @@ -0,0 +1,194 @@ +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.items.ModItems; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.IIcon; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.player.ArrowLooseEvent; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunShotgun extends Item { + Random rand = new Random(); + + public int dmgMin = 3; + public int dmgMax = 7; + + public GunShotgun() { + + this.maxStackSize = 1; + + if (this == ModItems.gun_revolver) { + this.setMaxDamage(500); + } + } + + /** + * called when the player releases the use item button. Args: itemstack, + * world, entityplayer, itemInUseCount + */ + @Override + public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) { + int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; + + ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); + MinecraftForge.EVENT_BUS.post(event); + j = event.charge; + + boolean flag = p_77615_3_.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; + + if (flag || p_77615_3_.inventory.hasItem(ModItems.gun_uboinik_ammo)) { + float f = j / 20.0F; + f = (f * f + f * 2.0F) / 3.0F; + + if (j < 10.0D) { + return; + } + + if (j > 10.0F) { + f = 10.0F; + } + + EntityBullet entityarrow1 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow1.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow2 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow2.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow3 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow3.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow4 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow4.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow5 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow5.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow6 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow6.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow7 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow7.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow8 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow8.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow9 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow9.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow10 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow10.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow11 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow11.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + EntityBullet entityarrow12 = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F); + entityarrow12.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); + + p_77615_1_.damageItem(1, p_77615_3_); + + p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.shotgunShoot", 1.0F, 1.0F); + + if (flag) { } else { + p_77615_3_.inventory.consumeInventoryItem(ModItems.gun_uboinik_ammo); + } + + if (!p_77615_2_.isRemote) { + p_77615_2_.spawnEntityInWorld(entityarrow1); + p_77615_2_.spawnEntityInWorld(entityarrow2); + p_77615_2_.spawnEntityInWorld(entityarrow3); + p_77615_2_.spawnEntityInWorld(entityarrow4); + p_77615_2_.spawnEntityInWorld(entityarrow5); + p_77615_2_.spawnEntityInWorld(entityarrow6); + + int i = rand.nextInt(7); + + if(i >= 1) + p_77615_2_.spawnEntityInWorld(entityarrow7); + if(i >= 2) + p_77615_2_.spawnEntityInWorld(entityarrow8); + if(i >= 3) + p_77615_2_.spawnEntityInWorld(entityarrow9); + if(i >= 4) + p_77615_2_.spawnEntityInWorld(entityarrow10); + if(i >= 5) + p_77615_2_.spawnEntityInWorld(entityarrow11); + if(i >= 6) + p_77615_2_.spawnEntityInWorld(entityarrow12); + } + } + } + + @Override + public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) { + return p_77654_1_; + } + + /** + * How long it takes to use or consume an item + */ + @Override + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + /** + * returns the action that specifies what animation to play when the items + * is being used + */ + @Override + public EnumAction getItemUseAction(ItemStack p_77661_1_) { + return EnumAction.bow; + } + + /** + * Called whenever this item is equipped and the right mouse button is + * pressed. Args: itemStack, world, entityPlayer + */ + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + MinecraftForge.EVENT_BUS.post(event); + + if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_uboinik_ammo)) { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + /** + * Return the enchantability factor of the item, most of the time is based + * on material. + */ + @Override + public int getItemEnchantability() { + return 1; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + //list.add("POW! Haha!"); + list.add("Abracadabra Tomanakara!"); + list.add(""); + list.add("Ammo: Shotgun Shells"); + list.add("Damage: 3 - 7"); + list.add("Projectiles: 6 - 12"); + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 3.5, 0)); + return multimap; + } +} diff --git a/com/hbm/items/weapon/GunSuicide.java b/com/hbm/items/weapon/GunSuicide.java deleted file mode 100644 index 94e1338c3..000000000 --- a/com/hbm/items/weapon/GunSuicide.java +++ /dev/null @@ -1,396 +0,0 @@ -package com.hbm.items.weapon; - -import java.util.List; -import java.util.Random; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.items.ModItems; -import com.hbm.lib.ModDamageSource; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.util.IIcon; -import net.minecraft.world.World; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.entity.player.ArrowLooseEvent; -import net.minecraftforge.event.entity.player.ArrowNockEvent; - -<<<<<<< HEAD:com/hbm/items/weapon/GunSuicide.java -public class GunSuicide extends Item { - - public static final String[] bowPullIconNameArray = new String[] {"pulling_0", "pulling_1", "pulling_2"}; - @SideOnly(Side.CLIENT) - private IIcon[] iconArray; - private static final String __OBFID = "CL_00001777"; - private Item ammo; - Random rand = new Random(); - - public GunSuicide() - { - this.maxStackSize = 1; - //if(this == ModItems.gun_revolver) - { - this.setMaxDamage(500); - } - - this.ammo = ModItems.gun_revolver_ammo; - } -======= -import com.hbm.entity.EntityBullet; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -public class GunRevolver extends Item { - public static final String[] bowPullIconNameArray = new String[] { "pulling_0", "pulling_1", "pulling_2" }; - @SideOnly(Side.CLIENT) - private IIcon[] iconArray; - private static final String __OBFID = "CL_00001777"; - private Item ammo; - private int dmgMin; - private int dmgMax; - private boolean instakill = false; - private boolean rad = false; - Random rand = new Random(); ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/GunRevolver.java - - public GunRevolver(Item ammo, int dmgMin, int dmgMax, boolean instakill, boolean rad) { - this.maxStackSize = 1; - if (this == ModItems.gun_revolver_iron) { - this.setMaxDamage(100); - } - if (this == ModItems.gun_revolver) { - this.setMaxDamage(500); - } - if (this == ModItems.gun_revolver_gold) { - this.setMaxDamage(1000); - } - if (this == ModItems.gun_revolver_lead) { - this.setMaxDamage(250); - } - if (this == ModItems.gun_revolver_schrabidium) { - this.setMaxDamage(100000); - } - if (this == ModItems.gun_revolver_cursed) { - this.setMaxDamage(5000); - } - - this.ammo = ammo; - this.dmgMin = dmgMin; - this.dmgMax = dmgMax; - this.instakill = instakill; - this.rad = rad; - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { -<<<<<<< HEAD - - if (this == ModItems.gun_revolver_schrabidium) { - return EnumRarity.rare; - } - - if (this == ModItems.gun_revolver_cursed) { - return EnumRarity.uncommon; - } - - return EnumRarity.common; - } - - /** - * called when the player releases the use item button. Args: itemstack, - * world, entityplayer, itemInUseCount - */ - @Override - public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) { - int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; - - ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); - MinecraftForge.EVENT_BUS.post(event); - j = event.charge; - - boolean flag = p_77615_3_.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; - - if (flag || p_77615_3_.inventory.hasItem(ammo)) { - float f = j / 20.0F; - f = (f * f + f * 2.0F) / 3.0F; - - if (j < 10.0D) { - return; - } - - if (j > 10.0F) { - f = 10.0F; - } - - EntityBullet entityarrow = new EntityBullet(p_77615_2_, p_77615_3_, 3.0F, dmgMin, dmgMax, instakill, rad); - entityarrow.setDamage(dmgMin + rand.nextInt(dmgMax - dmgMin)); - - p_77615_1_.damageItem(1, p_77615_3_); - if (this == ModItems.gun_revolver || this == ModItems.gun_revolver_iron - || this == ModItems.gun_revolver_gold || this == ModItems.gun_revolver_lead) { - // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", - // 1.0F, 3.0F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.revolverShoot", 1.0F, 1.0F); - } - if (this == ModItems.gun_revolver_cursed) { - // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", - // 3.0F, 1.5F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.heavyShoot", 3.0F, 1.0F); - } - if (this == ModItems.gun_revolver_schrabidium) { - // p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", - // 1.0F, 3.0F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.schrabidiumShoot", 1.0F, 1.0F); - } - - if (flag) { - entityarrow.canBePickedUp = 2; - } else { - p_77615_3_.inventory.consumeInventoryItem(ammo); - } - - if (!p_77615_2_.isRemote) { - p_77615_2_.spawnEntityInWorld(entityarrow); - - if (this == ModItems.gun_revolver_cursed && rand.nextInt(3) == 0) { - p_77615_3_.addPotionEffect(new PotionEffect(Potion.wither.id, 5 * 20, 0)); - } - } - } - } - - @Override - public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) { - return p_77654_1_; - } - - /** - * How long it takes to use or consume an item - */ - @Override - public int getMaxItemUseDuration(ItemStack p_77626_1_) { - return 72000; - } - - /** - * returns the action that specifies what animation to play when the items - * is being used - */ - @Override - public EnumAction getItemUseAction(ItemStack p_77661_1_) { - return EnumAction.bow; - } - - /** - * Called whenever this item is equipped and the right mouse button is - * pressed. Args: itemStack, world, entityPlayer - */ - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - MinecraftForge.EVENT_BUS.post(event); - - if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ammo)) { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - /** - * Return the enchantability factor of the item, most of the time is based - * on material. - */ - @Override - public int getItemEnchantability() { - return 1; - } -======= - - return EnumRarity.uncommon; - } - - /** - * called when the player releases the use item button. Args: itemstack, world, entityplayer, itemInUseCount - */ - @Override - public void onPlayerStoppedUsing(ItemStack p_77615_1_, World p_77615_2_, EntityPlayer p_77615_3_, int p_77615_4_) - { - int j = this.getMaxItemUseDuration(p_77615_1_) - p_77615_4_; - - ArrowLooseEvent event = new ArrowLooseEvent(p_77615_3_, p_77615_1_, j); - MinecraftForge.EVENT_BUS.post(event); - j = event.charge; - - boolean flag = p_77615_3_.capabilities.isCreativeMode || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, p_77615_1_) > 0; - - - if (flag || p_77615_3_.inventory.hasItem(ammo)) - { - float f = j / 20.0F; - f = (f * f + f * 2.0F) / 3.0F; - - if (j < 10.0D) - { - return; - } - - if (j > 10.0F) - { - f = 10.0F; - } - - p_77615_1_.damageItem(1, p_77615_3_); -<<<<<<< HEAD:com/hbm/items/weapon/GunSuicide.java - //if(this == ModItems.gun_revolver || this == ModItems.gun_revolver_iron || this == ModItems.gun_revolver_gold || this == ModItems.gun_revolver_lead) - { - //p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", 1.0F, 3.0F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.revolverShoot", 1.0F, 1.0F); -======= - if(this == ModItems.gun_revolver || this == ModItems.gun_revolver_iron || this == ModItems.gun_revolver_gold || this == ModItems.gun_revolver_lead) - { - //p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", 1.0F, 3.0F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.revolverShoot", 1.0F, 1.0F); - } - if(this == ModItems.gun_revolver_cursed) - { - //p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", 3.0F, 1.5F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.heavyShoot", 3.0F, 1.0F); - } - if(this == ModItems.gun_revolver_schrabidium) - { - //p_77615_2_.playSoundAtEntity(p_77615_3_, "random.explode", 1.0F, 3.0F); - p_77615_2_.playSoundAtEntity(p_77615_3_, "hbm:weapon.schrabidiumShoot", 1.0F, 1.0F); ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/GunRevolver.java - } - - if (flag) - { } - else - { - p_77615_3_.inventory.consumeInventoryItem(ammo); - } - - if (!p_77615_2_.isRemote) - { - p_77615_3_.attackEntityFrom(ModDamageSource.suicide, Float.POSITIVE_INFINITY); - } - } - } - - @Override - public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_) - { - return p_77654_1_; - } - - /** - * How long it takes to use or consume an item - */ - @Override - public int getMaxItemUseDuration(ItemStack p_77626_1_) - { - return 72000; - } - - /** - * returns the action that specifies what animation to play when the items is being used - */ - @Override - public EnumAction getItemUseAction(ItemStack p_77661_1_) - { - return EnumAction.bow; - } - - /** - * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer - */ - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) - { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - MinecraftForge.EVENT_BUS.post(event); - - if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ammo)) - { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - /** - * Return the enchantability factor of the item, most of the time is based on material. - */ - @Override - public int getItemEnchantability() - { - return 1; - } ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - -<<<<<<< HEAD:com/hbm/items/weapon/GunSuicide.java - //if(this == ModItems.gun_revolver) - { - list.add("I've seen things..."); - list.add("...I shouldn't have seen."); - list.add(""); - list.add("Ammo: Lead Bullets"); - list.add("Damage: infinite"); -======= - if (this == ModItems.gun_revolver_iron) { - list.add("Cheap."); - list.add(""); - list.add("Ammo: Iron Bullets"); - list.add("Damage: 5 - 15"); - } - if (this == ModItems.gun_revolver) { - list.add("I feel like a cowboy!"); - list.add(""); - list.add("Ammo: Lead Bullets"); - list.add("Damage: 10 - 25"); - } - if (this == ModItems.gun_revolver_gold) { - list.add("GoldenEye would be proud!"); - list.add(""); - list.add("Ammo: Golden Bullets"); - list.add("Damage: 20 - 30"); - } - if (this == ModItems.gun_revolver_lead) { - list.add("Made from lead for your safety!"); - list.add(""); - list.add("Ammo: Atomic Bullets"); - list.add("Damage: 5 - 15"); - list.add("Bullets are radioactive."); - } - if (this == ModItems.gun_revolver_schrabidium) { - list.add("Kills everyone and everything."); - list.add(""); - list.add("Ammo: Schrabidium Bullets"); - list.add("Damage: 10000 - 100000"); - list.add("Sets enemy's health to zero."); - } - if (this == ModItems.gun_revolver_cursed) { - list.add("You're dead."); - list.add(""); - list.add("Ammo: Steel Bullets"); - list.add("Damage: 25 - 40"); - list.add("33% chance of user being withered."); ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/GunRevolver.java - } - } -} diff --git a/com/hbm/items/weapon/GunXVL1456.java b/com/hbm/items/weapon/GunXVL1456.java index 9cc1c40a6..d9f0b1f6f 100644 --- a/com/hbm/items/weapon/GunXVL1456.java +++ b/com/hbm/items/weapon/GunXVL1456.java @@ -1,175 +1,185 @@ -package com.hbm.items.weapon; - -import java.util.List; -import java.util.Random; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityMiniNuke; -import com.hbm.items.ModItems; -import com.hbm.lib.ModDamageSource; -import com.hbm.sound.MovingSoundPlayerLoop; -import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; -import com.hbm.sound.MovingSoundXVL1456; - -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ResourceLocation; -import net.minecraft.world.World; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.entity.player.ArrowLooseEvent; -import net.minecraftforge.event.entity.player.ArrowNockEvent; - -public class GunXVL1456 extends Item { - - Random rand = new Random(); - - public GunXVL1456() - { - this.maxStackSize = 1; - this.setMaxDamage(2500); - } - - @Override - public EnumAction getItemUseAction(ItemStack par1ItemStack) { - return EnumAction.bow; - } - - public void onPlayerStoppedUsing(ItemStack stack, World world, EntityPlayer player, int i) { - - int j = this.getMaxItemUseDuration(stack) - i; - ArrowLooseEvent event = new ArrowLooseEvent(player, stack, j); - MinecraftForge.EVENT_BUS.post(event); - // if (event.isCanceled()) { - // return; - // } - j = event.charge * 2; - - if (player.isSneaking() && j >= 20) { - boolean flag = player.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; - - if (flag || player.inventory.hasItem(ModItems.gun_xvl1456_ammo)) { - EntityBullet entitybullet = new EntityBullet(world, player, 3.0F, j, j + 5, false, "tauDay"); - - entitybullet.setDamage(j + rand.nextInt(6)); - - world.playSoundAtEntity(player, "hbm:weapon.tauShoot", 1.0F, 0.5F); - - if (flag) { - entitybullet.canBePickedUp = 2; - } else { - player.inventory.consumeInventoryItem(ModItems.gun_xvl1456_ammo); - } - - entitybullet.setIsCritical(true); - - if (!world.isRemote) { - world.spawnEntityInWorld(entitybullet); - } - stack.damageItem((int)(j * 0.05F), player); - - player.rotationPitch -= (j * 0.1F); - } - } - } - - public int getMaxItemUseDuration(ItemStack p_77626_1_) { - return 72000; - } - - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { - ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); - MinecraftForge.EVENT_BUS.post(event); - // if (event.isCanceled()) { - // return event.result; - // } - // Made uncancelable to prevent intermod idiocy - { - p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); - } - - return p_77659_1_; - } - - public void onUsingTick(ItemStack stack, EntityPlayer player, int count) - { - World world = player.worldObj; - - if (!player.isSneaking()) { - boolean flag = player.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; - if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_xvl1456_ammo)) && count % 4 == 0) { - - EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 25, 65, false, "eyyOk"); - entityarrow.setDamage(25 + rand.nextInt(65 - 25)); - - world.playSoundAtEntity(player, "hbm:weapon.tauShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); - - if (flag) { - entityarrow.canBePickedUp = 2; - } else { - player.inventory.consumeInventoryItem(ModItems.gun_xvl1456_ammo); - } - - if (!world.isRemote) { - world.spawnEntityInWorld(entityarrow); - } - } - } else { - if (count % 20 == 0 && this.getMaxItemUseDuration(stack) - count != 0) { - boolean flag = player.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; - if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_xvl1456_ammo))) { - if (!flag) { - player.inventory.consumeInventoryItem(ModItems.gun_xvl1456_ammo); - } - } - } - - world.playSoundAtEntity(player, "hbm:misc.nullTau", 0.1F, 1.0F); - } - - if(player instanceof EntityPlayer) - { - if(count < getMaxItemUseDuration(stack) - 200 && player.isSneaking() && count != 0) - { - if(!world.isRemote) - { - stack.damageItem(1250, (EntityLivingBase) player); - - world.createExplosion(player, player.posX, player.posY, player.posZ, 10.0F, true); - player.attackEntityFrom(ModDamageSource.tauBlast, 1000F); - ((EntityPlayer)player).dropOneItem(false); - } - } - } - } - - @Override - public int getItemEnchantability() { - return 0; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - list.add("Hold right mouse button"); - list.add("to shoot tauons,"); - list.add("sneak to charge up for"); - list.add("stronger shots!"); - list.add(""); - list.add("Ammo: Depleted Uranium"); - list.add("Damage: 25 - 65"); - list.add("Charged Damage: 40 - 400"); - list.add("Projectiles penetrate walls."); - } - -} +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityMiniNuke; +import com.hbm.items.ModItems; +import com.hbm.lib.ModDamageSource; +import com.hbm.sound.MovingSoundPlayerLoop; +import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; +import com.hbm.sound.MovingSoundXVL1456; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ResourceLocation; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.player.ArrowLooseEvent; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunXVL1456 extends Item { + + Random rand = new Random(); + + public GunXVL1456() + { + this.maxStackSize = 1; + this.setMaxDamage(2500); + } + + @Override + public EnumAction getItemUseAction(ItemStack par1ItemStack) { + return EnumAction.bow; + } + + public void onPlayerStoppedUsing(ItemStack stack, World world, EntityPlayer player, int i) { + + int j = this.getMaxItemUseDuration(stack) - i; + ArrowLooseEvent event = new ArrowLooseEvent(player, stack, j); + MinecraftForge.EVENT_BUS.post(event); + // if (event.isCanceled()) { + // return; + // } + j = event.charge * 2; + + if (player.isSneaking() && j >= 20) { + boolean flag = player.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; + + if (flag || player.inventory.hasItem(ModItems.gun_xvl1456_ammo)) { + EntityBullet entitybullet = new EntityBullet(world, player, 3.0F, j, j + 5, false, "tauDay"); + + entitybullet.setDamage(j + rand.nextInt(6)); + + world.playSoundAtEntity(player, "hbm:weapon.tauShoot", 1.0F, 0.5F); + + if (flag) { + entitybullet.canBePickedUp = 2; + } else { + player.inventory.consumeInventoryItem(ModItems.gun_xvl1456_ammo); + } + + entitybullet.setIsCritical(true); + + if (!world.isRemote) { + world.spawnEntityInWorld(entitybullet); + } + stack.damageItem((int)(j * 0.05F), player); + + player.rotationPitch -= (j * 0.1F); + } + } + } + + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_); + MinecraftForge.EVENT_BUS.post(event); + // if (event.isCanceled()) { + // return event.result; + // } + // Made uncancelable to prevent intermod idiocy + { + p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_)); + } + + return p_77659_1_; + } + + public void onUsingTick(ItemStack stack, EntityPlayer player, int count) + { + World world = player.worldObj; + + if (!player.isSneaking()) { + boolean flag = player.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; + if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_xvl1456_ammo)) && count % 4 == 0) { + + EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 25, 65, false, "eyyOk"); + entityarrow.setDamage(25 + rand.nextInt(65 - 25)); + + world.playSoundAtEntity(player, "hbm:weapon.tauShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); + + if (flag) { + entityarrow.canBePickedUp = 2; + } else { + player.inventory.consumeInventoryItem(ModItems.gun_xvl1456_ammo); + } + + if (!world.isRemote) { + world.spawnEntityInWorld(entityarrow); + } + } + } else { + if (count % 20 == 0 && this.getMaxItemUseDuration(stack) - count != 0) { + boolean flag = player.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; + if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.gun_xvl1456_ammo))) { + if (!flag) { + player.inventory.consumeInventoryItem(ModItems.gun_xvl1456_ammo); + } + } + } + + world.playSoundAtEntity(player, "hbm:misc.nullTau", 0.1F, 1.0F); + } + + if(player instanceof EntityPlayer) + { + if(count < getMaxItemUseDuration(stack) - 200 && player.isSneaking() && count != 0) + { + if(!world.isRemote) + { + stack.damageItem(1250, (EntityLivingBase) player); + + world.createExplosion(player, player.posX, player.posY, player.posZ, 10.0F, true); + player.attackEntityFrom(ModDamageSource.tauBlast, 1000F); + ((EntityPlayer)player).dropOneItem(false); + } + } + } + } + + @Override + public int getItemEnchantability() { + return 0; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + list.add("Hold right mouse button"); + list.add("to shoot tauons,"); + list.add("sneak to charge up for"); + list.add("stronger shots!"); + list.add(""); + list.add("Ammo: Depleted Uranium"); + list.add("Damage: 25 - 65"); + list.add("Charged Damage: 40 - 400"); + list.add("Projectiles penetrate walls."); + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 6, 0)); + return multimap; + } + +} diff --git a/com/hbm/items/weapon/GunZOMG.java b/com/hbm/items/weapon/GunZOMG.java index 699d62e52..8c59393e4 100644 --- a/com/hbm/items/weapon/GunZOMG.java +++ b/com/hbm/items/weapon/GunZOMG.java @@ -1,212 +1,222 @@ -package com.hbm.items.weapon; - -import java.util.List; -import java.util.Random; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityCombineBall; -import com.hbm.entity.projectile.EntityRainbow; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; - -import net.minecraft.enchantment.Enchantment; -import net.minecraft.enchantment.EnchantmentHelper; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.util.ChatComponentText; -import net.minecraft.world.World; -import net.minecraftforge.event.entity.player.ArrowNockEvent; - -public class GunZOMG extends Item { - - Random rand = new Random(); - - public GunZOMG() { - this.maxStackSize = 1; - } - - @Override - public EnumAction getItemUseAction(ItemStack par1ItemStack) { - return EnumAction.bow; - } - - public int getMaxItemUseDuration(ItemStack p_77626_1_) { - return 72000; - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - ArrowNockEvent event = new ArrowNockEvent(player, stack); - { - player.setItemInUse(stack, this.getMaxItemUseDuration(stack)); - } - - if (!stack.hasTagCompound()) { - stack.stackTagCompound = new NBTTagCompound(); - stack.stackTagCompound.setBoolean("valid", false); - stack.stackTagCompound.setBoolean("superuser", false); - } - - if (!player.isSneaking()) { - if (stack.stackTagCompound.getBoolean("valid")) { - if ((player.inventory.hasItem(ModItems.nugget_euphemium) - || player.inventory.hasItem(ModItems.ingot_euphemium))) { - } else { - if (!player.inventory.hasItem(ModItems.nugget_euphemium) - && !player.inventory.hasItem(ModItems.ingot_euphemium)) { - stack.stackTagCompound.setBoolean("valid", false); - if (world.isRemote) { - player.addChatMessage(new ChatComponentText("[ZOMG] Validation lost!")); - player.addChatMessage(new ChatComponentText("[ZOMG] Request new validation!")); - } - } - } - } else { - if (world.isRemote) { - player.addChatMessage(new ChatComponentText("[ZOMG] Gun not validated!")); - player.addChatMessage(new ChatComponentText("[ZOMG] Validate your gun with shift right-click.")); - } - } - } else { - if (stack.stackTagCompound.getBoolean("valid")) { - if (world.isRemote) { - player.addChatMessage(new ChatComponentText("[ZOMG] Gun has already been validated.")); - } - } else { - if (player.inventory.hasItem(ModItems.nugget_euphemium) || player.inventory.hasItem(ModItems.ingot_euphemium)) { - stack.stackTagCompound.setBoolean("valid", true); - if (world.isRemote) { - player.addChatMessage(new ChatComponentText("[ZOMG] Gun has been validated!")); - } - - if (Library.superuser.contains(player.getUniqueID().toString())) { - if (world.isRemote) { - player.addChatMessage(new ChatComponentText("[ZOMG] Welcome, superuser!")); - } - stack.stackTagCompound.setBoolean("superuser", true); - } else { - if (world.isRemote) { - player.addChatMessage(new ChatComponentText("[ZOMG] Welcome, user!")); - } - stack.stackTagCompound.setBoolean("superuser", false); - } - } else { - if (world.isRemote) { - player.addChatMessage(new ChatComponentText("[ZOMG] Validation failed!")); - player.addChatMessage(new ChatComponentText("[ZOMG] No external negative gravity well found!")); - } - } - } - } - - return stack; - } - - public void onUsingTick(ItemStack stack, EntityPlayer player, int count) { - World world = player.worldObj; - - if (!stack.hasTagCompound()) { - stack.stackTagCompound = new NBTTagCompound(); - stack.stackTagCompound.setBoolean("valid", false); - stack.stackTagCompound.setBoolean("superuser", false); - } - - if (!player.isSneaking()) { - if (stack.stackTagCompound.getBoolean("valid")) { - boolean flag = player.capabilities.isCreativeMode - || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; - if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.nugget_euphemium) - || player.inventory.hasItem(ModItems.ingot_euphemium)) && count % 1 == 0) { - if (!stack.stackTagCompound.getBoolean("superuser")) { - EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); - EntityBullet entityarrow1 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); - EntityBullet entityarrow2 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); - EntityBullet entityarrow3 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); - EntityBullet entityarrow4 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); - EntityBullet entityarrow5 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); - entityarrow.setDamage(35 + rand.nextInt(45 - 35)); - entityarrow1.setDamage(35 + rand.nextInt(45 - 35)); - entityarrow2.setDamage(35 + rand.nextInt(45 - 35)); - entityarrow3.setDamage(35 + rand.nextInt(45 - 35)); - entityarrow4.setDamage(35 + rand.nextInt(45 - 35)); - entityarrow5.setDamage(35 + rand.nextInt(45 - 35)); - - world.playSoundAtEntity(player, "hbm:weapon.osiprShoot", 1.0F, 0.6F + (rand.nextFloat() * 0.4F)); - - if (!world.isRemote) { - world.spawnEntityInWorld(entityarrow); - world.spawnEntityInWorld(entityarrow1); - world.spawnEntityInWorld(entityarrow2); - world.spawnEntityInWorld(entityarrow3); - world.spawnEntityInWorld(entityarrow4); - world.spawnEntityInWorld(entityarrow5); - } - } else { - EntityRainbow entityarrow = new EntityRainbow(world, player, 1F); - EntityRainbow entityarrow1 = new EntityRainbow(world, player, 1F); - EntityRainbow entityarrow2 = new EntityRainbow(world, player, 1F); - EntityRainbow entityarrow3 = new EntityRainbow(world, player, 1F); - EntityRainbow entityarrow4 = new EntityRainbow(world, player, 1F); - entityarrow.setDamage(10000 + rand.nextInt(90000)); - entityarrow1.setDamage(10000 + rand.nextInt(90000)); - entityarrow2.setDamage(10000 + rand.nextInt(90000)); - entityarrow3.setDamage(10000 + rand.nextInt(90000)); - entityarrow4.setDamage(10000 + rand.nextInt(90000)); - - //world.playSoundAtEntity(player, "random.explode", 1.0F, 1.5F + (rand.nextFloat() / 4)); - world.playSoundAtEntity(player, "hbm:weapon.zomgShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); - - if (!world.isRemote) { - world.spawnEntityInWorld(entityarrow); - world.spawnEntityInWorld(entityarrow1); - world.spawnEntityInWorld(entityarrow2); - world.spawnEntityInWorld(entityarrow3); - world.spawnEntityInWorld(entityarrow4); - } - } - } else { - if (!player.inventory.hasItem(ModItems.nugget_euphemium) - && !player.inventory.hasItem(ModItems.ingot_euphemium)) { - stack.stackTagCompound.setBoolean("valid", false); - if (world.isRemote) { - player.addChatMessage(new ChatComponentText("[ZOMG] Validation lost!")); - player.addChatMessage(new ChatComponentText("[ZOMG] Request new validation!")); - } - } - } - } - } - } - - @Override - public int getItemEnchantability() { - return 0; - } - - @Override - public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { - - if(itemstack.getTagCompound() == null) - { - list.add("Gun not validated."); - } else if(itemstack.getTagCompound().getBoolean("valid")) { - if(itemstack.getTagCompound().getBoolean("superuser")) { - list.add("Gun set to superuser mode."); - list.add("Firing mode: Negative energy bursts"); - } else { - list.add("Gun set to regular user mode."); - list.add("Firing mode: Dark pulse spray"); - } - } else { - list.add("Gun not validated."); - } - list.add(""); - list.add("Ammo: None (Requires Validation)"); - list.add("Damage: 35 - 45"); - list.add("Energy Damage: 10000 - 100000"); - list.add("Energy projectiles destroy blocks."); - } -} +package com.hbm.items.weapon; + +import java.util.List; +import java.util.Random; + +import com.google.common.collect.Multimap; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityCombineBall; +import com.hbm.entity.projectile.EntityRainbow; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.util.ChatComponentText; +import net.minecraft.world.World; +import net.minecraftforge.event.entity.player.ArrowNockEvent; + +public class GunZOMG extends Item { + + Random rand = new Random(); + + public GunZOMG() { + this.maxStackSize = 1; + } + + @Override + public EnumAction getItemUseAction(ItemStack par1ItemStack) { + return EnumAction.bow; + } + + public int getMaxItemUseDuration(ItemStack p_77626_1_) { + return 72000; + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + ArrowNockEvent event = new ArrowNockEvent(player, stack); + { + player.setItemInUse(stack, this.getMaxItemUseDuration(stack)); + } + + if (!stack.hasTagCompound()) { + stack.stackTagCompound = new NBTTagCompound(); + stack.stackTagCompound.setBoolean("valid", false); + stack.stackTagCompound.setBoolean("superuser", false); + } + + if (!player.isSneaking()) { + if (stack.stackTagCompound.getBoolean("valid")) { + if ((player.inventory.hasItem(ModItems.nugget_euphemium) + || player.inventory.hasItem(ModItems.ingot_euphemium))) { + } else { + if (!player.inventory.hasItem(ModItems.nugget_euphemium) + && !player.inventory.hasItem(ModItems.ingot_euphemium)) { + stack.stackTagCompound.setBoolean("valid", false); + if (world.isRemote) { + player.addChatMessage(new ChatComponentText("[ZOMG] Validation lost!")); + player.addChatMessage(new ChatComponentText("[ZOMG] Request new validation!")); + } + } + } + } else { + if (world.isRemote) { + player.addChatMessage(new ChatComponentText("[ZOMG] Gun not validated!")); + player.addChatMessage(new ChatComponentText("[ZOMG] Validate your gun with shift right-click.")); + } + } + } else { + if (stack.stackTagCompound.getBoolean("valid")) { + if (world.isRemote) { + player.addChatMessage(new ChatComponentText("[ZOMG] Gun has already been validated.")); + } + } else { + if (player.inventory.hasItem(ModItems.nugget_euphemium) || player.inventory.hasItem(ModItems.ingot_euphemium)) { + stack.stackTagCompound.setBoolean("valid", true); + if (world.isRemote) { + player.addChatMessage(new ChatComponentText("[ZOMG] Gun has been validated!")); + } + + if (Library.superuser.contains(player.getUniqueID().toString())) { + if (world.isRemote) { + player.addChatMessage(new ChatComponentText("[ZOMG] Welcome, superuser!")); + } + stack.stackTagCompound.setBoolean("superuser", true); + } else { + if (world.isRemote) { + player.addChatMessage(new ChatComponentText("[ZOMG] Welcome, user!")); + } + stack.stackTagCompound.setBoolean("superuser", false); + } + } else { + if (world.isRemote) { + player.addChatMessage(new ChatComponentText("[ZOMG] Validation failed!")); + player.addChatMessage(new ChatComponentText("[ZOMG] No external negative gravity well found!")); + } + } + } + } + + return stack; + } + + public void onUsingTick(ItemStack stack, EntityPlayer player, int count) { + World world = player.worldObj; + + if (!stack.hasTagCompound()) { + stack.stackTagCompound = new NBTTagCompound(); + stack.stackTagCompound.setBoolean("valid", false); + stack.stackTagCompound.setBoolean("superuser", false); + } + + if (!player.isSneaking()) { + if (stack.stackTagCompound.getBoolean("valid")) { + boolean flag = player.capabilities.isCreativeMode + || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, stack) > 0; + if ((player.capabilities.isCreativeMode || player.inventory.hasItem(ModItems.nugget_euphemium) + || player.inventory.hasItem(ModItems.ingot_euphemium)) && count % 1 == 0) { + if (!stack.stackTagCompound.getBoolean("superuser")) { + EntityBullet entityarrow = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); + EntityBullet entityarrow1 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); + EntityBullet entityarrow2 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); + EntityBullet entityarrow3 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); + EntityBullet entityarrow4 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); + EntityBullet entityarrow5 = new EntityBullet(world, player, 3.0F, 35, 45, false, "chopper"); + entityarrow.setDamage(35 + rand.nextInt(45 - 35)); + entityarrow1.setDamage(35 + rand.nextInt(45 - 35)); + entityarrow2.setDamage(35 + rand.nextInt(45 - 35)); + entityarrow3.setDamage(35 + rand.nextInt(45 - 35)); + entityarrow4.setDamage(35 + rand.nextInt(45 - 35)); + entityarrow5.setDamage(35 + rand.nextInt(45 - 35)); + + world.playSoundAtEntity(player, "hbm:weapon.osiprShoot", 1.0F, 0.6F + (rand.nextFloat() * 0.4F)); + + if (!world.isRemote) { + world.spawnEntityInWorld(entityarrow); + world.spawnEntityInWorld(entityarrow1); + world.spawnEntityInWorld(entityarrow2); + world.spawnEntityInWorld(entityarrow3); + world.spawnEntityInWorld(entityarrow4); + world.spawnEntityInWorld(entityarrow5); + } + } else { + EntityRainbow entityarrow = new EntityRainbow(world, player, 1F); + EntityRainbow entityarrow1 = new EntityRainbow(world, player, 1F); + EntityRainbow entityarrow2 = new EntityRainbow(world, player, 1F); + EntityRainbow entityarrow3 = new EntityRainbow(world, player, 1F); + EntityRainbow entityarrow4 = new EntityRainbow(world, player, 1F); + entityarrow.setDamage(10000 + rand.nextInt(90000)); + entityarrow1.setDamage(10000 + rand.nextInt(90000)); + entityarrow2.setDamage(10000 + rand.nextInt(90000)); + entityarrow3.setDamage(10000 + rand.nextInt(90000)); + entityarrow4.setDamage(10000 + rand.nextInt(90000)); + + //world.playSoundAtEntity(player, "random.explode", 1.0F, 1.5F + (rand.nextFloat() / 4)); + world.playSoundAtEntity(player, "hbm:weapon.zomgShoot", 1.0F, 0.8F + (rand.nextFloat() * 0.4F)); + + if (!world.isRemote) { + world.spawnEntityInWorld(entityarrow); + world.spawnEntityInWorld(entityarrow1); + world.spawnEntityInWorld(entityarrow2); + world.spawnEntityInWorld(entityarrow3); + world.spawnEntityInWorld(entityarrow4); + } + } + } else { + if (!player.inventory.hasItem(ModItems.nugget_euphemium) + && !player.inventory.hasItem(ModItems.ingot_euphemium)) { + stack.stackTagCompound.setBoolean("valid", false); + if (world.isRemote) { + player.addChatMessage(new ChatComponentText("[ZOMG] Validation lost!")); + player.addChatMessage(new ChatComponentText("[ZOMG] Request new validation!")); + } + } + } + } + } + } + + @Override + public int getItemEnchantability() { + return 0; + } + + @Override + public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) { + + if(itemstack.getTagCompound() == null) + { + list.add("Gun not validated."); + } else if(itemstack.getTagCompound().getBoolean("valid")) { + if(itemstack.getTagCompound().getBoolean("superuser")) { + list.add("Gun set to superuser mode."); + list.add("Firing mode: Negative energy bursts"); + } else { + list.add("Gun set to regular user mode."); + list.add("Firing mode: Dark pulse spray"); + } + } else { + list.add("Gun not validated."); + } + list.add(""); + list.add("Ammo: None (Requires Validation)"); + list.add("Damage: 35 - 45"); + list.add("Energy Damage: 10000 - 100000"); + list.add("Energy projectiles destroy blocks."); + } + + public Multimap getItemAttributeModifiers() { + Multimap multimap = super.getItemAttributeModifiers(); + multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), + new AttributeModifier(field_111210_e, "Weapon modifier", (double) 6, 0)); + return multimap; + } +} diff --git a/com/hbm/items/weapon/ItemClip.java b/com/hbm/items/weapon/ItemClip.java index b004d102e..54f469f5e 100644 --- a/com/hbm/items/weapon/ItemClip.java +++ b/com/hbm/items/weapon/ItemClip.java @@ -1,171 +1,195 @@ -package com.hbm.items.weapon; - -import com.hbm.blocks.ModBlocks; -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.world.World; - -public class ItemClip extends Item { - - public ItemClip() - { - this.setMaxDamage(1); - } - - @Override - public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { - stack.stackSize--; - if(stack.stackSize <= 0) - stack.damageItem(5, player); - - if(this == ModItems.clip_revolver_iron) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_iron_ammo, 20))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_iron_ammo, 20), false); - } - } - - if(this == ModItems.clip_revolver) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_ammo, 12))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_ammo, 12), false); - } - } - - if(this == ModItems.clip_revolver_gold) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_gold_ammo, 4))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_gold_ammo, 4), false); - } - } - - if(this == ModItems.clip_revolver_schrabidium) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_schrabidium_ammo, 2))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_schrabidium_ammo, 2), false); - } - } - - if(this == ModItems.clip_rpg) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 3))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_rpg_ammo, 3), false); - } - } - - if(this == ModItems.clip_osipr) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_osipr_ammo, 30))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_osipr_ammo, 30), false); - } - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_osipr_ammo2, 1))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_osipr_ammo2, 1), false); - } - } - - if(this == ModItems.clip_xvl1456) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_xvl1456_ammo, 60))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_xvl1456_ammo, 60), false); - } - } - - if(this == ModItems.clip_revolver_lead) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_lead_ammo, 12))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_lead_ammo, 12), false); - } - } - - if(this == ModItems.clip_revolver_cursed) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_cursed_ammo, 17))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_cursed_ammo, 17), false); - } - } - - if(this == ModItems.clip_fatman) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_fatman_ammo, 6))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_fatman_ammo, 6), false); - } - } - - if(this == ModItems.clip_mp) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_mp_ammo, 30))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp_ammo, 30), false); - } - } - - if(this == ModItems.clip_mp40) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_mp40_ammo, 32))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); - } - } - - if(this == ModItems.clip_mirv) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_mirv_ammo, 3))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); - } - } - - if(this == ModItems.clip_bf) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_bf_ammo, 2))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); - } - } - - if(this == ModItems.clip_immolator) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_immolator_ammo, 60))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); - } - } - - if(this == ModItems.clip_cryolator) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_cryolator_ammo, 60))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); - } - } - - if(this == ModItems.clip_emp) - { - if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_emp_ammo, 6))) - { - //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); - } - } - - return stack; - - } -} +package com.hbm.items.weapon; + +import com.hbm.blocks.ModBlocks; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.world.World; + +public class ItemClip extends Item { + + public ItemClip() + { + this.setMaxDamage(1); + } + + @Override + public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) { + stack.stackSize--; + if(stack.stackSize <= 0) + stack.damageItem(5, player); + + if(this == ModItems.clip_revolver_iron) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_iron_ammo, 20))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_iron_ammo, 20), false); + } + } + + if(this == ModItems.clip_revolver) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_ammo, 12))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_ammo, 12), false); + } + } + + if(this == ModItems.clip_revolver_gold) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_gold_ammo, 4))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_gold_ammo, 4), false); + } + } + + if(this == ModItems.clip_revolver_schrabidium) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_schrabidium_ammo, 2))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_schrabidium_ammo, 2), false); + } + } + + if(this == ModItems.clip_rpg) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_rpg_ammo, 3))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_rpg_ammo, 3), false); + } + } + + if(this == ModItems.clip_osipr) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_osipr_ammo, 30))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_osipr_ammo, 30), false); + } + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_osipr_ammo2, 1))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_osipr_ammo2, 1), false); + } + } + + if(this == ModItems.clip_xvl1456) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_xvl1456_ammo, 60))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_xvl1456_ammo, 60), false); + } + } + + if(this == ModItems.clip_revolver_lead) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_lead_ammo, 12))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_lead_ammo, 12), false); + } + } + + if(this == ModItems.clip_revolver_cursed) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_cursed_ammo, 17))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_revolver_cursed_ammo, 17), false); + } + } + + if(this == ModItems.clip_fatman) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_fatman_ammo, 6))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_fatman_ammo, 6), false); + } + } + + if(this == ModItems.clip_mp) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_mp_ammo, 30))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp_ammo, 30), false); + } + } + + if(this == ModItems.clip_mp40) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_mp40_ammo, 32))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); + } + } + + if(this == ModItems.clip_uboinik) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_uboinik_ammo, 24))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_uboinik_ammo, 24), false); + } + } + + if(this == ModItems.clip_mirv) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_mirv_ammo, 3))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); + } + } + + if(this == ModItems.clip_bf) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_bf_ammo, 2))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); + } + } + + if(this == ModItems.clip_immolator) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_immolator_ammo, 60))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); + } + } + + if(this == ModItems.clip_cryolator) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_cryolator_ammo, 60))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); + } + } + + if(this == ModItems.clip_emp) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_emp_ammo, 6))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); + } + } + + if(this == ModItems.clip_revolver_nightmare) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_nightmare_ammo, 6))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); + } + } + + if(this == ModItems.clip_revolver_nightmare2) + { + if (!player.inventory.addItemStackToInventory(new ItemStack(ModItems.gun_revolver_nightmare2_ammo, 6))) + { + //player.dropPlayerItemWithRandomChoice(new ItemStack(ModItems.gun_mp40_ammo, 32), false); + } + } + + return stack; + + } +} diff --git a/com/hbm/items/weapon/ItemGrenade.java b/com/hbm/items/weapon/ItemGrenade.java index 913e21093..63114b9f8 100644 --- a/com/hbm/items/weapon/ItemGrenade.java +++ b/com/hbm/items/weapon/ItemGrenade.java @@ -1,146 +1,133 @@ -package com.hbm.items.weapon; - -<<<<<<< HEAD:com/hbm/items/weapon/ItemGrenade.java -import com.hbm.entity.grenade.EntityGrenadeASchrab; -import com.hbm.entity.grenade.EntityGrenadeCluster; -import com.hbm.entity.grenade.EntityGrenadeElectric; -import com.hbm.entity.grenade.EntityGrenadeFire; -import com.hbm.entity.grenade.EntityGrenadeFlare; -import com.hbm.entity.grenade.EntityGrenadeFrag; -import com.hbm.entity.grenade.EntityGrenadeGas; -import com.hbm.entity.grenade.EntityGrenadeGeneric; -import com.hbm.entity.grenade.EntityGrenadeLemon; -import com.hbm.entity.grenade.EntityGrenadeMk2; -import com.hbm.entity.grenade.EntityGrenadeNuclear; -import com.hbm.entity.grenade.EntityGrenadeNuke; -import com.hbm.entity.grenade.EntityGrenadePlasma; -import com.hbm.entity.grenade.EntityGrenadePoison; -import com.hbm.entity.grenade.EntityGrenadeSchrabidium; -import com.hbm.entity.grenade.EntityGrenadeStrong; -import com.hbm.entity.grenade.EntityGrenadeTau; -import com.hbm.entity.grenade.EntityGrenadeZOMG; -import com.hbm.items.ModItems; -======= -import com.hbm.entity.EntityGrenadeASchrab; -import com.hbm.entity.EntityGrenadeCluster; -import com.hbm.entity.EntityGrenadeElectric; -import com.hbm.entity.EntityGrenadeFire; -import com.hbm.entity.EntityGrenadeFlare; -import com.hbm.entity.EntityGrenadeFrag; -import com.hbm.entity.EntityGrenadeGas; -import com.hbm.entity.EntityGrenadeGeneric; -import com.hbm.entity.EntityGrenadeLemon; -import com.hbm.entity.EntityGrenadeMk2; -import com.hbm.entity.EntityGrenadeNuclear; -import com.hbm.entity.EntityGrenadeNuke; -import com.hbm.entity.EntityGrenadePlasma; -import com.hbm.entity.EntityGrenadePoison; -import com.hbm.entity.EntityGrenadeSchrabidium; -import com.hbm.entity.EntityGrenadeStrong; -import com.hbm.entity.EntityGrenadeTau; -import com.hbm.entity.EntityGrenadeZOMG; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af:com/hbm/items/ItemGrenade.java - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumRarity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; - -public class ItemGrenade extends Item { - - public ItemGrenade() { - this.maxStackSize = 16; - } - - @Override - public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { - if (!p_77659_3_.capabilities.isCreativeMode) { - --p_77659_1_.stackSize; - } - - p_77659_2_.playSoundAtEntity(p_77659_3_, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F)); - - if (!p_77659_2_.isRemote) { - if (this == ModItems.grenade_generic) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeGeneric(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_strong) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeStrong(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_frag) { - EntityGrenadeFrag frag = new EntityGrenadeFrag(p_77659_2_, p_77659_3_); - frag.shooter = p_77659_3_; - p_77659_2_.spawnEntityInWorld(frag); - } - if (this == ModItems.grenade_fire) { - EntityGrenadeFire fire = new EntityGrenadeFire(p_77659_2_, p_77659_3_); - fire.shooter = p_77659_3_; - p_77659_2_.spawnEntityInWorld(fire); - } - if (this == ModItems.grenade_cluster) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeCluster(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_flare) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeFlare(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_electric) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeElectric(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_poison) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadePoison(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_gas) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeGas(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_schrabidium) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeSchrabidium(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_nuke) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeNuke(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_nuclear) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeNuclear(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_plasma) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadePlasma(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_tau) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeTau(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_lemon) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeLemon(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_mk2) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeMk2(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_aschrab) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeASchrab(p_77659_2_, p_77659_3_)); - } - if (this == ModItems.grenade_zomg) { - p_77659_2_.spawnEntityInWorld(new EntityGrenadeZOMG(p_77659_2_, p_77659_3_)); - } - } - - return p_77659_1_; - } - - @Override - public EnumRarity getRarity(ItemStack p_77613_1_) { - - if (this == ModItems.grenade_schrabidium || this == ModItems.grenade_aschrab) { - return EnumRarity.rare; - } - - if (this == ModItems.grenade_plasma || this == ModItems.grenade_zomg) { - return EnumRarity.epic; - } - - if (this == ModItems.grenade_nuke || this == ModItems.grenade_nuclear || this == ModItems.grenade_tau || this == ModItems.grenade_lemon || this == ModItems.grenade_mk2) { - return EnumRarity.uncommon; - } - - return EnumRarity.common; - } - -} +package com.hbm.items.weapon; + +import com.hbm.entity.grenade.EntityGrenadeASchrab; +import com.hbm.entity.grenade.EntityGrenadeCluster; +import com.hbm.entity.grenade.EntityGrenadeElectric; +import com.hbm.entity.grenade.EntityGrenadeFire; +import com.hbm.entity.grenade.EntityGrenadeFlare; +import com.hbm.entity.grenade.EntityGrenadeFrag; +import com.hbm.entity.grenade.EntityGrenadeGas; +import com.hbm.entity.grenade.EntityGrenadeGeneric; +import com.hbm.entity.grenade.EntityGrenadeLemon; +import com.hbm.entity.grenade.EntityGrenadeMk2; +import com.hbm.entity.grenade.EntityGrenadeNuclear; +import com.hbm.entity.grenade.EntityGrenadeNuke; +import com.hbm.entity.grenade.EntityGrenadePlasma; +import com.hbm.entity.grenade.EntityGrenadePoison; +import com.hbm.entity.grenade.EntityGrenadePulse; +import com.hbm.entity.grenade.EntityGrenadeSchrabidium; +import com.hbm.entity.grenade.EntityGrenadeShrapnel; +import com.hbm.entity.grenade.EntityGrenadeStrong; +import com.hbm.entity.grenade.EntityGrenadeTau; +import com.hbm.entity.grenade.EntityGrenadeZOMG; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; + +public class ItemGrenade extends Item { + + public ItemGrenade() { + this.maxStackSize = 16; + } + + @Override + public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_) { + if (!p_77659_3_.capabilities.isCreativeMode) { + --p_77659_1_.stackSize; + } + + p_77659_2_.playSoundAtEntity(p_77659_3_, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F)); + + if (!p_77659_2_.isRemote) { + if (this == ModItems.grenade_generic) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeGeneric(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_strong) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeStrong(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_frag) { + EntityGrenadeFrag frag = new EntityGrenadeFrag(p_77659_2_, p_77659_3_); + frag.shooter = p_77659_3_; + p_77659_2_.spawnEntityInWorld(frag); + } + if (this == ModItems.grenade_fire) { + EntityGrenadeFire fire = new EntityGrenadeFire(p_77659_2_, p_77659_3_); + fire.shooter = p_77659_3_; + p_77659_2_.spawnEntityInWorld(fire); + } + if (this == ModItems.grenade_cluster) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeCluster(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_flare) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeFlare(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_electric) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeElectric(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_poison) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadePoison(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_gas) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeGas(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_schrabidium) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeSchrabidium(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_nuke) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeNuke(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_nuclear) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeNuclear(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_pulse) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadePulse(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_plasma) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadePlasma(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_tau) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeTau(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_lemon) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeLemon(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_mk2) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeMk2(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_aschrab) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeASchrab(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_zomg) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeZOMG(p_77659_2_, p_77659_3_)); + } + if (this == ModItems.grenade_shrapnel) { + p_77659_2_.spawnEntityInWorld(new EntityGrenadeShrapnel(p_77659_2_, p_77659_3_)); + } + } + + return p_77659_1_; + } + + @Override + public EnumRarity getRarity(ItemStack p_77613_1_) { + + if (this == ModItems.grenade_schrabidium || this == ModItems.grenade_aschrab) { + return EnumRarity.rare; + } + + if (this == ModItems.grenade_plasma || this == ModItems.grenade_zomg) { + return EnumRarity.epic; + } + + if (this == ModItems.grenade_nuke || this == ModItems.grenade_nuclear || this == ModItems.grenade_tau || this == ModItems.grenade_lemon || this == ModItems.grenade_mk2 || this == ModItems.grenade_pulse) { + return EnumRarity.uncommon; + } + + return EnumRarity.common; + } + +} diff --git a/com/hbm/lib/HbmChestContents.java b/com/hbm/lib/HbmChestContents.java index ee23d0679..859912063 100644 --- a/com/hbm/lib/HbmChestContents.java +++ b/com/hbm/lib/HbmChestContents.java @@ -1,396 +1,229 @@ -package com.hbm.lib; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.items.ModItems; - -import net.minecraft.item.Item; -import net.minecraft.util.WeightedRandomChestContent; - -public class HbmChestContents { - - static Random rand = new Random(); - -<<<<<<< HEAD - private static WeightedRandomChestContent[] modGeneric = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.ingot_steel, 0, 10, 15, 5), - new WeightedRandomChestContent(ModItems.ingot_red_copper, 0, 5, 10, 3), - new WeightedRandomChestContent(ModItems.ingot_tungsten, 0, 5, 15, 3), - new WeightedRandomChestContent(ModItems.ingot_beryllium, 0, 1, 5, 2), - new WeightedRandomChestContent(ModItems.ingot_titanium, 0, 7, 10, 4), - new WeightedRandomChestContent(ModItems.gun_revolver, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.gun_revolver_ammo, 0, 2, 6, 2), - new WeightedRandomChestContent(ModItems.battery_generic, 50, 1, 1, 4), - new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_titanium), 0, 0, 3, 1) }; - - private static WeightedRandomChestContent[] antenna = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.ingot_steel, 0, 3, 7, 5), - new WeightedRandomChestContent(ModItems.ingot_red_copper, 0, 3, 10, 3), - new WeightedRandomChestContent(ModItems.ingot_titanium, 0, 3, 5, 4), - new WeightedRandomChestContent(ModItems.wire_red_copper, 0, 3, 7, 4), - new WeightedRandomChestContent(ModItems.circuit_aluminium, 0, 1, 5, 3), - new WeightedRandomChestContent(ModItems.circuit_copper, 0, 1, 3, 2), - new WeightedRandomChestContent(ModItems.circuit_red_copper, 0, 1, 2, 1), - new WeightedRandomChestContent(ModItems.battery_generic, 50, 1, 1, 5), - new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 3), - new WeightedRandomChestContent(ModItems.powder_iodine, 0, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_titanium), 0, 1, 2, 2), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.steel_poles), 0, 4, 9, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.steel_scaffold), 0, 4, 6, 3), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.pole_top), 0, 2, 4, 4), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.pole_satellite_receiver), 0, 3, 5, 3) }; - - private static WeightedRandomChestContent[] expensive = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.nugget_schrabidium, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.circuit_gold, 0, 1, 2, 3), - new WeightedRandomChestContent(ModItems.circuit_schrabidium, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.nuke_starter_kit, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.nuke_commercially_kit, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.nuke_electric_kit, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.gun_revolver_gold, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.gun_revolver_gold_ammo, 0, 1, 6, 5), - new WeightedRandomChestContent(ModItems.gun_revolver_lead, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.gun_revolver_lead_ammo, 0, 1, 6, 5), - new WeightedRandomChestContent(ModItems.gun_rpg, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.gun_rpg_ammo, 0, 1, 32, 5), - new WeightedRandomChestContent(ModItems.gun_fatman, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.gun_fatman_ammo, 0, 1, 8, 2), - new WeightedRandomChestContent(ModItems.gun_xvl1456, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.gun_xvl1456_ammo, 0, 16, 64, 2), - new WeightedRandomChestContent(ModItems.grenade_nuclear, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.stealth_boy, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 3), - new WeightedRandomChestContent(ModItems.battery_schrabidium, 10000, 1, 1, 1), - new WeightedRandomChestContent(ModItems.syringe_awesome, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.fusion_core, 0, 1, 1, 4), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_barrel), 0, 1, 3, 1) }; - - private static WeightedRandomChestContent[] nukeTrash = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.nugget_u238, 0, 3, 12, 5), - new WeightedRandomChestContent(ModItems.nugget_pu240, 0, 3, 8, 5), - new WeightedRandomChestContent(ModItems.nugget_neptunium, 0, 1, 4, 3), - new WeightedRandomChestContent(ModItems.rod_u238, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_neptunium, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.rod_pu240, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_u238, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_pu240, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_u238, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_pu240, 0, 1, 1, 3), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.yellow_barrel), 0, 1, 1, 2) }; - - private static WeightedRandomChestContent[] nuclear = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.nugget_u235, 0, 3, 12, 5), - new WeightedRandomChestContent(ModItems.nugget_pu238, 0, 3, 12, 5), - new WeightedRandomChestContent(ModItems.nugget_pu239, 0, 3, 12, 5), - new WeightedRandomChestContent(ModItems.rod_u235, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_pu239, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_u235, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_pu239, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_u235, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_pu239, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_uranium_fuel, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.rod_plutonium_fuel, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.rod_mox_fuel, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.rod_dual_uranium_fuel, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_plutonium_fuel, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_mox_fuel, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_uranium_fuel, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.rod_quad_plutonium_fuel, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.rod_quad_mox_fuel, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.pellet_rtg, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.powder_thorium, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.powder_neptunium, 0, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.yellow_barrel), 0, 1, 3, 3) }; - - private static WeightedRandomChestContent[] vertibird = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.t45_helmet, 0, 1, 1, 15), - new WeightedRandomChestContent(ModItems.t45_plate, 0, 1, 1, 15), - new WeightedRandomChestContent(ModItems.t45_legs, 0, 1, 1, 15), - new WeightedRandomChestContent(ModItems.t45_boots, 0, 1, 1, 15), - new WeightedRandomChestContent(ModItems.fusion_core, 0, 1, 1, 10), - new WeightedRandomChestContent(ModItems.circuit_red_copper, 0, 1, 3, 3), - new WeightedRandomChestContent(ModItems.circuit_gold, 0, 1, 3, 3), - new WeightedRandomChestContent(ModItems.gun_revolver, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.gun_revolver_ammo, 0, 1, 24, 4), - new WeightedRandomChestContent(ModItems.gun_rpg, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.gun_rpg_ammo, 0, 1, 6, 3), - new WeightedRandomChestContent(ModItems.rod_uranium_fuel, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.rod_dual_uranium_fuel, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.rod_quad_uranium_fuel, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.gun_fatman_ammo, 0, 1, 2, 2), - new WeightedRandomChestContent(ModItems.gun_fatman, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.grenade_nuclear, 0, 1, 2, 2) }; - - private static WeightedRandomChestContent[] missile = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.missile_generic, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.missile_incendiary, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.missile_cluster, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.missile_buster, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.missile_strong, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.missile_incendiary_strong, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.missile_cluster_strong, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.missile_buster_strong, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.missile_burst, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.missile_inferno, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.missile_rain, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.missile_drill, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.missile_nuclear, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.missile_nuclear_cluster, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.missile_endo, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.missile_exo, 0, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.launch_pad), 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.battery_advanced, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.designator, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.thruster_small, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.thruster_medium, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.thruster_large, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.fuel_tank_small, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.fuel_tank_medium, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.fuel_tank_small, 0, 1, 1, 5) }; - - private static WeightedRandomChestContent[] spaceship = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.battery_advanced, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.ingot_advanced_alloy, 0, 2, 16, 5), - new WeightedRandomChestContent(ModItems.wire_advanced_alloy, 0, 8, 32, 5), - new WeightedRandomChestContent(ModItems.coil_advanced_alloy, 0, 2, 16, 5), - new WeightedRandomChestContent(ModItems.cell_deuterium, 0, 1, 8, 5), - new WeightedRandomChestContent(ModItems.cell_tritium, 0, 1, 8, 5), - new WeightedRandomChestContent(ModItems.cell_antimatter, 0, 1, 4, 5), - new WeightedRandomChestContent(ModItems.cell_anti_schrabidium, 0, 1, 2, 5), - new WeightedRandomChestContent(ModItems.powder_neodymium, 0, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.fusion_conductor), 0, 4, 8, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.fusion_heater), 0, 1, 6, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.reactor_element), 0, 1, 2, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_tungsten), 0, 8, 32, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_wire_coated), 0, 4, 16, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_cable), 0, 8, 32, 5) }; - - private static WeightedRandomChestContent[] powder = new WeightedRandomChestContent[] { - new WeightedRandomChestContent(ModItems.powder_neptunium, 0, 1, 32, 1), - new WeightedRandomChestContent(ModItems.powder_iodine, 0, 1, 32, 1), - new WeightedRandomChestContent(ModItems.powder_thorium, 0, 1, 32, 1), - new WeightedRandomChestContent(ModItems.powder_astatine, 0, 1, 32, 1), - new WeightedRandomChestContent(ModItems.powder_neodymium, 0, 1, 32, 1) }; - -======= - private static WeightedRandomChestContent[] modGeneric = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.ingot_steel, 0, 10, 15, 5), - new WeightedRandomChestContent(ModItems.ingot_red_copper, 0, 5, 10, 3), - new WeightedRandomChestContent(ModItems.ingot_tungsten, 0, 5, 15, 3), - new WeightedRandomChestContent(ModItems.ingot_beryllium, 0, 1, 5, 2), - new WeightedRandomChestContent(ModItems.ingot_titanium, 0, 7, 10, 4), - new WeightedRandomChestContent(ModItems.gun_revolver, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.gun_revolver_ammo, 0, 2, 6, 2), - new WeightedRandomChestContent(ModItems.battery_generic, 50, 1, 1, 4), - new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_titanium), 0, 0, 3, 1)}; - - private static WeightedRandomChestContent[] antenna = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.ingot_steel, 0, 3, 7, 5), - new WeightedRandomChestContent(ModItems.ingot_red_copper, 0, 3, 10, 3), - new WeightedRandomChestContent(ModItems.ingot_titanium, 0, 3, 5, 4), - new WeightedRandomChestContent(ModItems.wire_red_copper, 0, 3, 7, 4), - new WeightedRandomChestContent(ModItems.circuit_aluminium, 0, 1, 5, 3), - new WeightedRandomChestContent(ModItems.circuit_copper, 0, 1, 3, 2), - new WeightedRandomChestContent(ModItems.circuit_red_copper, 0, 1, 2, 1), - new WeightedRandomChestContent(ModItems.battery_generic, 50, 1, 1, 5), - new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 3), - new WeightedRandomChestContent(ModItems.powder_iodine, 0, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_titanium), 0, 1, 2, 2), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.steel_poles), 0, 4, 9, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.steel_scaffold), 0, 4, 6, 3), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.pole_top), 0, 2, 4, 4), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.pole_satellite_receiver), 0, 3, 5, 3)}; - - private static WeightedRandomChestContent[] expensive = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.nugget_schrabidium, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.circuit_gold, 0, 1, 2, 3), - new WeightedRandomChestContent(ModItems.circuit_schrabidium, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.nuke_starter_kit, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.nuke_commercially_kit, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.nuke_electric_kit, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.gun_revolver_gold, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.gun_revolver_gold_ammo, 0, 1, 6, 5), - new WeightedRandomChestContent(ModItems.gun_revolver_lead, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.gun_revolver_lead_ammo, 0, 1, 6, 5), - new WeightedRandomChestContent(ModItems.gun_rpg, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.gun_rpg_ammo, 0, 1, 32, 5), - new WeightedRandomChestContent(ModItems.gun_fatman, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.gun_fatman_ammo, 0, 1, 8, 2), - new WeightedRandomChestContent(ModItems.gun_xvl1456, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.gun_xvl1456_ammo, 0, 16, 64, 2), - new WeightedRandomChestContent(ModItems.grenade_nuclear, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.stealth_boy, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 3), - new WeightedRandomChestContent(ModItems.battery_schrabidium, 1000, 1, 1, 1), - new WeightedRandomChestContent(ModItems.syringe_awesome, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.fusion_core, 0, 1, 1, 4), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_barrel), 0, 1, 3, 1)}; - - private static WeightedRandomChestContent[] nukeTrash = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.nugget_u238, 0, 3, 12, 5), - new WeightedRandomChestContent(ModItems.nugget_pu240, 0, 3, 8, 5), - new WeightedRandomChestContent(ModItems.nugget_neptunium, 0, 1, 4, 3), - new WeightedRandomChestContent(ModItems.rod_u238, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_neptunium, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.rod_pu240, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_u238, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_pu240, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_u238, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_pu240, 0, 1, 1, 3), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.yellow_barrel), 0, 1, 1, 2)}; - - private static WeightedRandomChestContent[] nuclear = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.nugget_u235, 0, 3, 12, 5), - new WeightedRandomChestContent(ModItems.nugget_pu238, 0, 3, 12, 5), - new WeightedRandomChestContent(ModItems.nugget_pu239, 0, 3, 12, 5), - new WeightedRandomChestContent(ModItems.rod_u235, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_pu239, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_u235, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_pu239, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_u235, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_pu239, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_uranium_fuel, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.rod_plutonium_fuel, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.rod_mox_fuel, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.rod_dual_uranium_fuel, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_plutonium_fuel, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_dual_mox_fuel, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.rod_quad_uranium_fuel, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.rod_quad_plutonium_fuel, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.rod_quad_mox_fuel, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.pellet_rtg, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.powder_thorium, 0, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.yellow_barrel), 0, 1, 3, 3)}; - - private static WeightedRandomChestContent[] vertibird = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.t45_helmet, 0, 1, 1, 15), - new WeightedRandomChestContent(ModItems.t45_plate, 0, 1, 1, 15), - new WeightedRandomChestContent(ModItems.t45_legs, 0, 1, 1, 15), - new WeightedRandomChestContent(ModItems.t45_boots, 0, 1, 1, 15), - new WeightedRandomChestContent(ModItems.fusion_core, 0, 1, 1, 10), - new WeightedRandomChestContent(ModItems.circuit_red_copper, 0, 1, 3, 3), - new WeightedRandomChestContent(ModItems.circuit_gold, 0, 1, 3, 3), - new WeightedRandomChestContent(ModItems.gun_revolver, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.gun_revolver_ammo, 0, 1, 24, 4), - new WeightedRandomChestContent(ModItems.gun_rpg, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.gun_rpg_ammo, 0, 1, 6, 3), - new WeightedRandomChestContent(ModItems.rod_uranium_fuel, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.rod_dual_uranium_fuel, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.rod_quad_uranium_fuel, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.gun_fatman_ammo, 0, 1, 2, 2), - new WeightedRandomChestContent(ModItems.gun_fatman, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.grenade_nuclear, 0, 1, 2, 2)}; - - private static WeightedRandomChestContent[] missile = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.missile_generic, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.missile_incendiary, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.missile_cluster, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.missile_buster, 0, 1, 1, 4), - new WeightedRandomChestContent(ModItems.missile_strong, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.missile_incendiary_strong, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.missile_cluster_strong, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.missile_buster_strong, 0, 1, 1, 3), - new WeightedRandomChestContent(ModItems.missile_burst, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.missile_inferno, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.missile_rain, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.missile_drill, 0, 1, 1, 2), - new WeightedRandomChestContent(ModItems.missile_nuclear, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.missile_nuclear_cluster, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.missile_endo, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.missile_exo, 0, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.launch_pad), 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.battery_advanced, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.designator, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), - new WeightedRandomChestContent(ModItems.thruster_small, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.thruster_medium, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.thruster_large, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.fuel_tank_small, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.fuel_tank_medium, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.fuel_tank_small, 0, 1, 1, 5)}; - - private static WeightedRandomChestContent[] spaceship = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.battery_advanced, 0, 1, 1, 5), - new WeightedRandomChestContent(ModItems.ingot_advanced_alloy, 0, 2, 16, 5), - new WeightedRandomChestContent(ModItems.wire_advanced_alloy, 0, 8, 32, 5), - new WeightedRandomChestContent(ModItems.coil_advanced_alloy, 0, 2, 16, 5), - new WeightedRandomChestContent(ModItems.cell_deuterium, 0, 1, 8, 5), - new WeightedRandomChestContent(ModItems.cell_tritium, 0, 1, 8, 5), - new WeightedRandomChestContent(ModItems.cell_antimatter, 0, 1, 4, 5), - new WeightedRandomChestContent(ModItems.cell_anti_schrabidium, 0, 1, 2, 5), - new WeightedRandomChestContent(ModItems.powder_neodymium, 0, 1, 1, 1), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.fusion_conductor), 0, 4, 8, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.fusion_heater), 0, 1, 6, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.reactor_element), 0, 1, 2, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_tungsten), 0, 8, 32, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_wire_coated), 0, 4, 16, 5), - new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_cable), 0, 8, 32, 5)}; - - private static WeightedRandomChestContent[] powder = new WeightedRandomChestContent[] - {new WeightedRandomChestContent(ModItems.powder_neptunium, 0, 1, 32, 1), - new WeightedRandomChestContent(ModItems.powder_iodine, 0, 1, 32, 1), - new WeightedRandomChestContent(ModItems.powder_thorium, 0, 1, 32, 1), - new WeightedRandomChestContent(ModItems.powder_astatine, 0, 1, 32, 1), - new WeightedRandomChestContent(ModItems.powder_neodymium, 0, 1, 32, 1)}; - ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - /** - * @param i - * @return WeightedRandomChestContent array with custom loot - * -<<<<<<< HEAD - * case 1: modGeneric loot (ingots, few blocks) - * case 2: antenna loot (spare parts, electronics) - * case 3: expensive loot (revolers, circuits, schrabidium nuggets) - * case 4: nukeTrash loot (U238 and Pu240 nuggets and rods) - * case 5: nuclear loot (U235 and Pu239 nuggets and rods, fuel rods) - * case 6: vertibrid loot (T45 power armor, fusion cores, circuits, nuclear material) - * case 7: missile loot (missiles, designators, missile parts) - * case 8: spaceship loot (reactor elements, super conductors) - * case 9: powder loot (secret chest with the five powders for NITAN) -======= - * case 1: modGeneric loot (ingots, few blocks) - * case 2: antenna loot (spare parts, electronics) - * case 3: expensive loot (revolers, circuits, schrabidium nuggets) - * case 4: nukeTrash loot (U238 and Pu240 nuggets and rods) - * case 5: nuclear loot (U235 and Pu239 nuggets and rods, fuel rods) - * case 6: vertibrid loot (T45 power armor, fusion cores, circuits, nuclear material) - * case 7: missile loot (missiles, designators, missile parts) - * case 8: spaceship loot (reactor elements, super conductors) - * case 9: powder loot (secret chest with the five powders for NITAN) ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - **/ - - public static WeightedRandomChestContent[] getLoot(int i) { - switch (i) { - case 1: - return modGeneric; - case 2: - return antenna; - case 3: - return expensive; - case 4: - return nukeTrash; - case 5: - return nuclear; - case 6: - return vertibird; - case 7: - return missile; - case 8: - return spaceship; - case 9: - return powder; - } - - return null; - } -} +package com.hbm.lib; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.items.ModItems; + +import net.minecraft.item.Item; +import net.minecraft.util.WeightedRandomChestContent; + +public class HbmChestContents { + + static Random rand = new Random(); + + private static WeightedRandomChestContent[] modGeneric = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.ingot_steel, 0, 10, 15, 5), + new WeightedRandomChestContent(ModItems.ingot_red_copper, 0, 5, 10, 3), + new WeightedRandomChestContent(ModItems.ingot_tungsten, 0, 5, 15, 3), + new WeightedRandomChestContent(ModItems.ingot_beryllium, 0, 1, 5, 2), + new WeightedRandomChestContent(ModItems.ingot_titanium, 0, 7, 10, 4), + new WeightedRandomChestContent(ModItems.gun_revolver, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.gun_revolver_ammo, 0, 2, 6, 2), + new WeightedRandomChestContent(ModItems.battery_generic, 50, 1, 1, 4), + new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 1), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_titanium), 0, 0, 3, 1) }; + + private static WeightedRandomChestContent[] antenna = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.ingot_steel, 0, 3, 7, 5), + new WeightedRandomChestContent(ModItems.ingot_red_copper, 0, 3, 10, 3), + new WeightedRandomChestContent(ModItems.ingot_titanium, 0, 3, 5, 4), + new WeightedRandomChestContent(ModItems.wire_red_copper, 0, 3, 7, 4), + new WeightedRandomChestContent(ModItems.circuit_aluminium, 0, 1, 5, 3), + new WeightedRandomChestContent(ModItems.circuit_copper, 0, 1, 3, 2), + new WeightedRandomChestContent(ModItems.circuit_red_copper, 0, 1, 2, 1), + new WeightedRandomChestContent(ModItems.battery_generic, 50, 1, 1, 5), + new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 3), + new WeightedRandomChestContent(ModItems.powder_iodine, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.powder_bromine, 0, 1, 1, 1), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_titanium), 0, 1, 2, 2), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.steel_poles), 0, 4, 9, 5), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.steel_scaffold), 0, 4, 6, 3), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.pole_top), 0, 2, 4, 4), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.pole_satellite_receiver), 0, 3, 5, 3) }; + + private static WeightedRandomChestContent[] expensive = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.nugget_schrabidium, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.circuit_gold, 0, 1, 2, 3), + new WeightedRandomChestContent(ModItems.circuit_schrabidium, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.nuke_starter_kit, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.nuke_commercially_kit, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.nuke_electric_kit, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.gun_revolver_gold, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.gun_revolver_gold_ammo, 0, 1, 6, 5), + new WeightedRandomChestContent(ModItems.gun_revolver_lead, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.gun_revolver_lead_ammo, 0, 1, 6, 5), + new WeightedRandomChestContent(ModItems.gun_rpg, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.gun_rpg_ammo, 0, 1, 32, 5), + new WeightedRandomChestContent(ModItems.gun_fatman, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.gun_fatman_ammo, 0, 1, 8, 2), + new WeightedRandomChestContent(ModItems.gun_xvl1456, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.gun_xvl1456_ammo, 0, 16, 64, 2), + new WeightedRandomChestContent(ModItems.grenade_nuclear, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.stealth_boy, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.battery_advanced, 200, 1, 1, 3), + new WeightedRandomChestContent(ModItems.battery_schrabidium, 10000, 1, 1, 1), + new WeightedRandomChestContent(ModItems.syringe_awesome, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.fusion_core, 0, 1, 1, 4), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_barrel), 0, 1, 3, 1) }; + + private static WeightedRandomChestContent[] nukeTrash = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.nugget_u238, 0, 3, 12, 5), + new WeightedRandomChestContent(ModItems.nugget_pu240, 0, 3, 8, 5), + new WeightedRandomChestContent(ModItems.nugget_neptunium, 0, 1, 4, 3), + new WeightedRandomChestContent(ModItems.rod_u238, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_neptunium, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.rod_pu240, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_dual_u238, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_dual_pu240, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_quad_u238, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_quad_pu240, 0, 1, 1, 3), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.yellow_barrel), 0, 1, 1, 2) }; + + private static WeightedRandomChestContent[] nuclear = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.nugget_u235, 0, 3, 12, 5), + new WeightedRandomChestContent(ModItems.nugget_pu238, 0, 3, 12, 5), + new WeightedRandomChestContent(ModItems.nugget_pu239, 0, 3, 12, 5), + new WeightedRandomChestContent(ModItems.rod_u235, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_pu239, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_dual_u235, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_dual_pu239, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_quad_u235, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_quad_pu239, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_uranium_fuel, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.rod_plutonium_fuel, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.rod_mox_fuel, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.rod_dual_uranium_fuel, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_dual_plutonium_fuel, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_dual_mox_fuel, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.rod_quad_uranium_fuel, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.rod_quad_plutonium_fuel, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.rod_quad_mox_fuel, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.pellet_rtg, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.powder_thorium, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.powder_neptunium, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.powder_strontium, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.powder_cobalt, 0, 1, 1, 1), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.yellow_barrel), 0, 1, 3, 3) }; + + private static WeightedRandomChestContent[] vertibird = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.t45_helmet, 0, 1, 1, 15), + new WeightedRandomChestContent(ModItems.t45_plate, 0, 1, 1, 15), + new WeightedRandomChestContent(ModItems.t45_legs, 0, 1, 1, 15), + new WeightedRandomChestContent(ModItems.t45_boots, 0, 1, 1, 15), + new WeightedRandomChestContent(ModItems.fusion_core, 0, 1, 1, 10), + new WeightedRandomChestContent(ModItems.circuit_red_copper, 0, 1, 3, 3), + new WeightedRandomChestContent(ModItems.circuit_gold, 0, 1, 3, 3), + new WeightedRandomChestContent(ModItems.gun_revolver, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.gun_revolver_ammo, 0, 1, 24, 4), + new WeightedRandomChestContent(ModItems.gun_rpg, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.gun_rpg_ammo, 0, 1, 6, 3), + new WeightedRandomChestContent(ModItems.rod_uranium_fuel, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.rod_dual_uranium_fuel, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.rod_quad_uranium_fuel, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.gun_fatman_ammo, 0, 1, 2, 2), + new WeightedRandomChestContent(ModItems.gun_fatman, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.grenade_nuclear, 0, 1, 2, 2) }; + + private static WeightedRandomChestContent[] missile = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.missile_generic, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.missile_incendiary, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.missile_cluster, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.missile_buster, 0, 1, 1, 4), + new WeightedRandomChestContent(ModItems.missile_strong, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.missile_incendiary_strong, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.missile_cluster_strong, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.missile_buster_strong, 0, 1, 1, 3), + new WeightedRandomChestContent(ModItems.missile_burst, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.missile_inferno, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.missile_rain, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.missile_drill, 0, 1, 1, 2), + new WeightedRandomChestContent(ModItems.missile_nuclear, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.missile_nuclear_cluster, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.missile_endo, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.missile_exo, 0, 1, 1, 1), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.launch_pad), 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.battery_advanced, 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.designator, 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.crate_caller, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.thruster_small, 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.thruster_medium, 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.thruster_large, 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.fuel_tank_small, 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.fuel_tank_medium, 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.fuel_tank_small, 0, 1, 1, 5) }; + + private static WeightedRandomChestContent[] spaceship = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.battery_advanced, 0, 1, 1, 5), + new WeightedRandomChestContent(ModItems.ingot_advanced_alloy, 0, 2, 16, 5), + new WeightedRandomChestContent(ModItems.wire_advanced_alloy, 0, 8, 32, 5), + new WeightedRandomChestContent(ModItems.coil_advanced_alloy, 0, 2, 16, 5), + new WeightedRandomChestContent(ModItems.cell_deuterium, 0, 1, 8, 5), + new WeightedRandomChestContent(ModItems.cell_tritium, 0, 1, 8, 5), + new WeightedRandomChestContent(ModItems.cell_antimatter, 0, 1, 4, 5), + new WeightedRandomChestContent(ModItems.cell_anti_schrabidium, 0, 1, 2, 5), + new WeightedRandomChestContent(ModItems.powder_neodymium, 0, 1, 1, 1), + new WeightedRandomChestContent(ModItems.powder_niobium, 0, 1, 1, 1), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.fusion_conductor), 0, 4, 8, 5), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.fusion_heater), 0, 1, 6, 5), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.reactor_element), 0, 1, 2, 5), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.block_tungsten), 0, 8, 32, 5), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_wire_coated), 0, 4, 16, 5), + new WeightedRandomChestContent(Item.getItemFromBlock(ModBlocks.red_cable), 0, 8, 32, 5) }; + + private static WeightedRandomChestContent[] powder = new WeightedRandomChestContent[] { + new WeightedRandomChestContent(ModItems.powder_neptunium, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_iodine, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_thorium, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_astatine, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_neodymium, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_caesium, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_strontium, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_cobalt, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_bromine, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_niobium, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_tennessine, 0, 1, 32, 1), + new WeightedRandomChestContent(ModItems.powder_cerium, 0, 1, 32, 1) }; + + /** + * @param i + * @return WeightedRandomChestContent array with custom loot + * + * case 1: modGeneric loot (ingots, few blocks) + * case 2: antenna loot (spare parts, electronics) + * case 3: expensive loot (revolers, circuits, schrabidium nuggets) + * case 4: nukeTrash loot (U238 and Pu240 nuggets and rods) + * case 5: nuclear loot (U235 and Pu239 nuggets and rods, fuel rods) + * case 6: vertibrid loot (T45 power armor, fusion cores, circuits, nuclear material) + * case 7: missile loot (missiles, designators, missile parts) + * case 8: spaceship loot (reactor elements, super conductors) + * case 9: powder loot (secret chest with the five powders for NITAN) + **/ + + public static WeightedRandomChestContent[] getLoot(int i) { + switch (i) { + case 1: + return modGeneric; + case 2: + return antenna; + case 3: + return expensive; + case 4: + return nukeTrash; + case 5: + return nuclear; + case 6: + return vertibird; + case 7: + return missile; + case 8: + return spaceship; + case 9: + return powder; + } + + return null; + } +} diff --git a/com/hbm/lib/HbmWorld.java b/com/hbm/lib/HbmWorld.java index cafd9f5ba..4565ef2b1 100644 --- a/com/hbm/lib/HbmWorld.java +++ b/com/hbm/lib/HbmWorld.java @@ -1,22 +1,22 @@ -package com.hbm.lib; - -import cpw.mods.fml.common.IWorldGenerator; -import cpw.mods.fml.common.registry.GameRegistry; - -public class HbmWorld { - public static void mainRegistry() - { - initWorldGen(); - } - - public static void initWorldGen() - { - registerWorldGen(new HbmWorldGen(), 1); - } - - public static void registerWorldGen(HbmWorldGen nukerWorldGen, int weightedProbability) - { - GameRegistry.registerWorldGenerator(nukerWorldGen, weightedProbability); - } - -} +package com.hbm.lib; + +import cpw.mods.fml.common.IWorldGenerator; +import cpw.mods.fml.common.registry.GameRegistry; + +public class HbmWorld { + public static void mainRegistry() + { + initWorldGen(); + } + + public static void initWorldGen() + { + registerWorldGen(new HbmWorldGen(), 1); + } + + public static void registerWorldGen(HbmWorldGen nukerWorldGen, int weightedProbability) + { + GameRegistry.registerWorldGenerator(nukerWorldGen, weightedProbability); + } + +} diff --git a/com/hbm/lib/HbmWorldGen.java b/com/hbm/lib/HbmWorldGen.java index 58cdac99c..d086630c0 100644 --- a/com/hbm/lib/HbmWorldGen.java +++ b/com/hbm/lib/HbmWorldGen.java @@ -1,401 +1,447 @@ -package com.hbm.lib; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.main.MainRegistry; -import com.hbm.world.Antenna; -import com.hbm.world.Bunker; -import com.hbm.world.CrashedVertibird; -import com.hbm.world.DesertAtom001; -import com.hbm.world.Dud; -import com.hbm.world.Factory; -import com.hbm.world.LibraryDungeon; -import com.hbm.world.Radio01; -import com.hbm.world.Relay; -import com.hbm.world.Satellite; -import com.hbm.world.Silo; -import com.hbm.world.Spaceship; -import com.hbm.world.Vertibird; - -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.biome.BiomeGenBase; -import net.minecraft.world.chunk.IChunkProvider; -import net.minecraft.world.gen.feature.WorldGenMinable; -import cpw.mods.fml.common.IWorldGenerator; - -public class HbmWorldGen implements IWorldGenerator { - - @Override - public void generate(Random rand, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, - IChunkProvider chunkProvider) { - switch (world.provider.dimensionId) { - case -1: - generateNether(world, rand, chunkX * 16, chunkZ * 16); - case 0: - generateSurface(world, rand, chunkX * 16, chunkZ * 16); - } - - } - - private void generateSurface(World world, Random rand, int i, int j) { - // Ore stains per chunk - for (int k = 0; k < MainRegistry.uraniumSpawn; k++) { - int randPosX = i + rand.nextInt(16); - // Max height of generation - int randPosY = rand.nextInt(25); - int randPosZ = j + rand.nextInt(16); - - // Ore, amount of ore in one stain - (new WorldGenMinable(ModBlocks.ore_uranium, 5)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.titaniumSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(35); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_titanium, 6)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.sulfurSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(35); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_sulfur, 8)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.aluminiumSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(45); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_aluminium, 6)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.copperSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(50); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_copper, 6)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.fluoriteSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(40); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_fluorite, 4)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.niterSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(35); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_niter, 4)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.tungstenSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(35); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_tungsten, 8)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.leadSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(35); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_lead, 9)).generate(world, rand, randPosX, randPosY, randPosZ); - } - - for (int k = 0; k < MainRegistry.berylliumSpawn; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(35); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_beryllium, 4)).generate(world, rand, randPosX, randPosY, randPosZ); - } - -<<<<<<< HEAD - if (MainRegistry.enableBarrels && rand.nextInt(5) == 0) { -======= - if (MainRegistry.enableBarrels) { ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - for (int k = 0; k < 1; k++) { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(25); - int randPosZ = j + rand.nextInt(16); - -<<<<<<< HEAD - (new WorldGenMinable(ModBlocks.yellow_barrel, 10)).generate(world, rand, randPosX, randPosY, randPosZ); -======= - (new WorldGenMinable(ModBlocks.yellow_barrel, 20)).generate(world, rand, randPosX, randPosY, randPosZ); ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - } - } - - if (MainRegistry.enableDungeons) { - - BiomeGenBase biome = world.getWorldChunkManager().getBiomeGenAt(i, j); - - if (biome == BiomeGenBase.plains || biome == BiomeGenBase.desert) { - if (rand.nextInt(MainRegistry.radioStructure) == 0) { - for (int a = 0; a < 1; a++) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Radio01().generate(world, rand, x, y, z); - } - } - } - - if (biome == BiomeGenBase.plains || biome == BiomeGenBase.forest || biome == BiomeGenBase.desert - || biome == BiomeGenBase.swampland || biome == BiomeGenBase.extremeHills) { - if (rand.nextInt(MainRegistry.antennaStructure) == 0) { - for (int a = 0; a < 1; a++) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Antenna().generate(world, rand, x, y, z); - } - } - } - - if (biome == BiomeGenBase.desert || biome == BiomeGenBase.beach || biome == BiomeGenBase.mesa - || biome == BiomeGenBase.mesaPlateau) { - if (rand.nextInt(MainRegistry.atomStructure) == 0) { - for (int a = 0; a < 1; a++) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new DesertAtom001().generate(world, rand, x, y, z); - } - } - } - - if (biome == BiomeGenBase.desert) { - if (rand.nextInt(MainRegistry.vertibirdStructure) == 0) { - for (int a = 0; a < 1; a++) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - if (rand.nextInt(2) == 0) { - new Vertibird().generate(world, rand, x, y, z); - } else { - new CrashedVertibird().generate(world, rand, x, y, z); - } - - } - } - } - - if (rand.nextInt(MainRegistry.dungeonStructure) == 0) { - int x = i + rand.nextInt(16); - int y = rand.nextInt(256); - int z = j + rand.nextInt(16); - new LibraryDungeon().generate(world, rand, x, y, z); - } - - if (biome == BiomeGenBase.plains || biome == BiomeGenBase.desert) { - if (rand.nextInt(MainRegistry.relayStructure) == 0) { - for (int a = 0; a < 1; a++) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Relay().generate(world, rand, x, y, z); - } - } - } - if (biome == BiomeGenBase.plains || biome == BiomeGenBase.desert) { - if (rand.nextInt(MainRegistry.satelliteStructure) == 0) { - for (int a = 0; a < 1; a++) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Satellite().generate(world, rand, x, y, z); - } - } - } - - if (rand.nextInt(MainRegistry.bunkerStructure) == 0) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Bunker().generate(world, rand, x, y, z); - } - - if (rand.nextInt(MainRegistry.siloStructure) == 0) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Silo().generate(world, rand, x, y, z); - } - - if (rand.nextInt(MainRegistry.factoryStructure) == 0) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Factory().generate(world, rand, x, y, z); - } - - if (rand.nextInt(MainRegistry.dudStructure) == 0) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Dud().generate(world, rand, x, y, z); - } - - if (rand.nextInt(MainRegistry.spaceshipStructure) == 0) { - int x = i + rand.nextInt(16); - int z = j + rand.nextInt(16); - int y = world.getHeightValue(x, z); - - new Spaceship().generate(world, rand, x, y, z); - } - } - - if (MainRegistry.enableNITAN) { - - if (i <= 10000 && i + 16 >= 10000 && j <= 10000 && j + 16 >= 10000) { - if (world.getBlock(10000, 250, 10000) == Blocks.air) { - world.setBlock(10000, 250, 10000, Blocks.chest); - if (world.getBlock(10000, 250, 10000) == Blocks.chest) { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), - (TileEntityChest) world.getTileEntity(10000, 250, 10000), 29); - } - } - } - if (i <= 0 && i + 16 >= 0 && j <= 10000 && j + 16 >= 10000) { - if (world.getBlock(0, 250, 10000) == Blocks.air) { - world.setBlock(0, 250, 10000, Blocks.chest); - if (world.getBlock(0, 250, 10000) == Blocks.chest) { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), - (TileEntityChest) world.getTileEntity(0, 250, 10000), 29); - } - } - } - if (i <= -10000 && i + 16 >= -10000 && j <= 10000 && j + 16 >= 10000) { - if (world.getBlock(-10000, 250, 10000) == Blocks.air) { - world.setBlock(-10000, 250, 10000, Blocks.chest); - if (world.getBlock(-10000, 250, 10000) == Blocks.chest) { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), - (TileEntityChest) world.getTileEntity(-10000, 250, 10000), 29); - } - } - } - if (i <= 10000 && i + 16 >= 10000 && j <= 0 && j + 16 >= 0) { - if (world.getBlock(10000, 250, 0) == Blocks.air) { - world.setBlock(10000, 250, 0, Blocks.chest); - if (world.getBlock(10000, 250, 0) == Blocks.chest) { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), - (TileEntityChest) world.getTileEntity(10000, 250, 0), 29); - } - } - } - if (i <= -10000 && i + 16 >= -10000 && j <= 0 && j + 16 >= 0) { - if (world.getBlock(-10000, 250, 0) == Blocks.air) { - world.setBlock(-10000, 250, 0, Blocks.chest); - if (world.getBlock(-10000, 250, 0) == Blocks.chest) { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), - (TileEntityChest) world.getTileEntity(-10000, 250, 0), 29); - } - } - } - if (i <= 10000 && i + 16 >= 10000 && j <= -10000 && j + 16 >= -10000) { - if (world.getBlock(10000, 250, -10000) == Blocks.air) { - world.setBlock(10000, 250, -10000, Blocks.chest); - if (world.getBlock(10000, 250, -10000) == Blocks.chest) { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), - (TileEntityChest) world.getTileEntity(10000, 250, -10000), 29); - } - } - } - if (i <= 0 && i + 16 >= 0 && j <= -10000 && j + 16 >= -10000) { - if (world.getBlock(0, 250, -10000) == Blocks.air) { - world.setBlock(0, 250, -10000, Blocks.chest); - if (world.getBlock(0, 250, -10000) == Blocks.chest) { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), - (TileEntityChest) world.getTileEntity(0, 250, -10000), 29); - } - } - } - if (i <= -10000 && i + 16 >= -10000 && j <= -10000 && j + 16 >= -10000) { - if (world.getBlock(-10000, 250, -10000) == Blocks.air) { - world.setBlock(-10000, 250, -10000, Blocks.chest); - if (world.getBlock(-10000, 250, -10000) == Blocks.chest) { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), - (TileEntityChest) world.getTileEntity(-10000, 250, -10000), 29); - } - } - } - } - - } - - private void generateNether(World world, Random rand, int i, int j) { - - for (int k = 0; k < 8; k++) - { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(127); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_nether_uranium, 6, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); - } - if(MainRegistry.enablePlutoniumOre) - { - for (int k = 0; k < 6; k++) - { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(127); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_nether_plutonium, 4, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); - } - } - for (int k = 0; k < 10; k++) - { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(127); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_nether_tungsten, 10, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); - } - for (int k = 0; k < 26; k++) - { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(127); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_nether_sulfur, 12, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); - } - for (int k = 0; k < 24; k++) - { - int randPosX = i + rand.nextInt(16); - int randPosY = rand.nextInt(127); - int randPosZ = j + rand.nextInt(16); - - (new WorldGenMinable(ModBlocks.ore_nether_fire, 3, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); - } - } - -} +package com.hbm.lib; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.main.MainRegistry; +import com.hbm.world.Antenna; +import com.hbm.world.Bunker; +import com.hbm.world.CrashedVertibird; +import com.hbm.world.DesertAtom001; +import com.hbm.world.Dud; +import com.hbm.world.Factory; +import com.hbm.world.LibraryDungeon; +import com.hbm.world.Radio01; +import com.hbm.world.Relay; +import com.hbm.world.Satellite; +import com.hbm.world.Silo; +import com.hbm.world.Spaceship; +import com.hbm.world.Vertibird; + +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.chunk.IChunkProvider; +import net.minecraft.world.gen.feature.WorldGenMinable; +import cpw.mods.fml.common.IWorldGenerator; + +public class HbmWorldGen implements IWorldGenerator { + + @Override + public void generate(Random rand, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, + IChunkProvider chunkProvider) { + switch (world.provider.dimensionId) { + case -1: + generateNether(world, rand, chunkX * 16, chunkZ * 16); + case 0: + generateSurface(world, rand, chunkX * 16, chunkZ * 16); + } + + } + + private void generateSurface(World world, Random rand, int i, int j) { + // Ore stains per chunk + for (int k = 0; k < MainRegistry.uraniumSpawn; k++) { + int randPosX = i + rand.nextInt(16); + // Max height of generation + int randPosY = rand.nextInt(25); + int randPosZ = j + rand.nextInt(16); + + // Ore, amount of ore in one stain + (new WorldGenMinable(ModBlocks.ore_uranium, 5)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.titaniumSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(35); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_titanium, 6)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.sulfurSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(35); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_sulfur, 8)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.aluminiumSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(45); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_aluminium, 6)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.copperSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(50); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_copper, 6)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.fluoriteSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(40); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_fluorite, 4)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.niterSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(35); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_niter, 4)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.tungstenSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(35); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_tungsten, 8)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.leadSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(35); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_lead, 9)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < MainRegistry.berylliumSpawn; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(35); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_beryllium, 4)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < 6; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(35); + int randPosZ = j + rand.nextInt(16); + + if(randPosX <= 50 && randPosX >= -50 && randPosZ <= 50 && randPosZ >= -50) + (new WorldGenMinable(ModBlocks.ore_reiium, 12)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < 80; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(128); + int randPosZ = j + rand.nextInt(16); + + if(randPosX <= 250 && randPosX >= 150 && randPosZ <= 250 && randPosZ >= 150) + (new WorldGenMinable(ModBlocks.ore_unobtainium, 4)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < rand.nextInt(4); k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(15) + 15; + int randPosZ = j + rand.nextInt(16); + + if(randPosX <= -350 && randPosX >= -450 && randPosZ <= -350 && randPosZ >= -450) + (new WorldGenMinable(ModBlocks.ore_australium, 50)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < 12; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(25); + int randPosZ = j + rand.nextInt(16); + + if(randPosX <= 50 && randPosX >= -50 && randPosZ <= 350 && randPosZ >= 250) + (new WorldGenMinable(ModBlocks.ore_weidanium, 6)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < 24; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(10); + int randPosZ = j + rand.nextInt(16); + + if(randPosX <= 450 && randPosX >= 350 && randPosZ <= -150 && randPosZ >= -250) + (new WorldGenMinable(ModBlocks.ore_daffergon, 16)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + for (int k = 0; k < 12; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(25) + 25; + int randPosZ = j + rand.nextInt(16); + + if(randPosX <= -250 && randPosX >= -350 && randPosZ <= 250 && randPosZ >= 150) + (new WorldGenMinable(ModBlocks.ore_verticium, 16)).generate(world, rand, randPosX, randPosY, randPosZ); + } + + if (MainRegistry.enableBarrels && rand.nextInt(5) == 0) { + for (int k = 0; k < 1; k++) { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(25); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.yellow_barrel, 10)).generate(world, rand, randPosX, randPosY, randPosZ); + } + } + + if (MainRegistry.enableDungeons) { + + BiomeGenBase biome = world.getWorldChunkManager().getBiomeGenAt(i, j); + + if (biome == BiomeGenBase.plains || biome == BiomeGenBase.desert) { + if (rand.nextInt(MainRegistry.radioStructure) == 0) { + for (int a = 0; a < 1; a++) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Radio01().generate(world, rand, x, y, z); + } + } + } + + if (biome == BiomeGenBase.plains || biome == BiomeGenBase.forest || biome == BiomeGenBase.desert + || biome == BiomeGenBase.swampland || biome == BiomeGenBase.extremeHills) { + if (rand.nextInt(MainRegistry.antennaStructure) == 0) { + for (int a = 0; a < 1; a++) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Antenna().generate(world, rand, x, y, z); + } + } + } + + if (biome == BiomeGenBase.desert || biome == BiomeGenBase.beach || biome == BiomeGenBase.mesa + || biome == BiomeGenBase.mesaPlateau) { + if (rand.nextInt(MainRegistry.atomStructure) == 0) { + for (int a = 0; a < 1; a++) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new DesertAtom001().generate(world, rand, x, y, z); + } + } + } + + if (biome == BiomeGenBase.desert) { + if (rand.nextInt(MainRegistry.vertibirdStructure) == 0) { + for (int a = 0; a < 1; a++) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + if (rand.nextInt(2) == 0) { + new Vertibird().generate(world, rand, x, y, z); + } else { + new CrashedVertibird().generate(world, rand, x, y, z); + } + + } + } + } + + if (rand.nextInt(MainRegistry.dungeonStructure) == 0 && world.provider.dimensionId == 0) { + int x = i + rand.nextInt(16); + int y = rand.nextInt(256); + int z = j + rand.nextInt(16); + new LibraryDungeon().generate(world, rand, x, y, z); + } + + if (biome == BiomeGenBase.plains || biome == BiomeGenBase.desert) { + if (rand.nextInt(MainRegistry.relayStructure) == 0) { + for (int a = 0; a < 1; a++) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Relay().generate(world, rand, x, y, z); + } + } + } + if (biome == BiomeGenBase.plains || biome == BiomeGenBase.desert) { + if (rand.nextInt(MainRegistry.satelliteStructure) == 0) { + for (int a = 0; a < 1; a++) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Satellite().generate(world, rand, x, y, z); + } + } + } + + if (rand.nextInt(MainRegistry.bunkerStructure) == 0) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Bunker().generate(world, rand, x, y, z); + } + + if (rand.nextInt(MainRegistry.siloStructure) == 0) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Silo().generate(world, rand, x, y, z); + } + + if (rand.nextInt(MainRegistry.factoryStructure) == 0) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Factory().generate(world, rand, x, y, z); + } + + if (rand.nextInt(MainRegistry.dudStructure) == 0) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Dud().generate(world, rand, x, y, z); + } + + if (rand.nextInt(MainRegistry.spaceshipStructure) == 0) { + int x = i + rand.nextInt(16); + int z = j + rand.nextInt(16); + int y = world.getHeightValue(x, z); + + new Spaceship().generate(world, rand, x, y, z); + } + } + + if (MainRegistry.enableNITAN) { + + if (i <= 10000 && i + 16 >= 10000 && j <= 10000 && j + 16 >= 10000) { + if (world.getBlock(10000, 250, 10000) == Blocks.air) { + world.setBlock(10000, 250, 10000, Blocks.chest); + if (world.getBlock(10000, 250, 10000) == Blocks.chest) { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), + (TileEntityChest) world.getTileEntity(10000, 250, 10000), 29); + } + } + } + if (i <= 0 && i + 16 >= 0 && j <= 10000 && j + 16 >= 10000) { + if (world.getBlock(0, 250, 10000) == Blocks.air) { + world.setBlock(0, 250, 10000, Blocks.chest); + if (world.getBlock(0, 250, 10000) == Blocks.chest) { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), + (TileEntityChest) world.getTileEntity(0, 250, 10000), 29); + } + } + } + if (i <= -10000 && i + 16 >= -10000 && j <= 10000 && j + 16 >= 10000) { + if (world.getBlock(-10000, 250, 10000) == Blocks.air) { + world.setBlock(-10000, 250, 10000, Blocks.chest); + if (world.getBlock(-10000, 250, 10000) == Blocks.chest) { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), + (TileEntityChest) world.getTileEntity(-10000, 250, 10000), 29); + } + } + } + if (i <= 10000 && i + 16 >= 10000 && j <= 0 && j + 16 >= 0) { + if (world.getBlock(10000, 250, 0) == Blocks.air) { + world.setBlock(10000, 250, 0, Blocks.chest); + if (world.getBlock(10000, 250, 0) == Blocks.chest) { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), + (TileEntityChest) world.getTileEntity(10000, 250, 0), 29); + } + } + } + if (i <= -10000 && i + 16 >= -10000 && j <= 0 && j + 16 >= 0) { + if (world.getBlock(-10000, 250, 0) == Blocks.air) { + world.setBlock(-10000, 250, 0, Blocks.chest); + if (world.getBlock(-10000, 250, 0) == Blocks.chest) { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), + (TileEntityChest) world.getTileEntity(-10000, 250, 0), 29); + } + } + } + if (i <= 10000 && i + 16 >= 10000 && j <= -10000 && j + 16 >= -10000) { + if (world.getBlock(10000, 250, -10000) == Blocks.air) { + world.setBlock(10000, 250, -10000, Blocks.chest); + if (world.getBlock(10000, 250, -10000) == Blocks.chest) { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), + (TileEntityChest) world.getTileEntity(10000, 250, -10000), 29); + } + } + } + if (i <= 0 && i + 16 >= 0 && j <= -10000 && j + 16 >= -10000) { + if (world.getBlock(0, 250, -10000) == Blocks.air) { + world.setBlock(0, 250, -10000, Blocks.chest); + if (world.getBlock(0, 250, -10000) == Blocks.chest) { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), + (TileEntityChest) world.getTileEntity(0, 250, -10000), 29); + } + } + } + if (i <= -10000 && i + 16 >= -10000 && j <= -10000 && j + 16 >= -10000) { + if (world.getBlock(-10000, 250, -10000) == Blocks.air) { + world.setBlock(-10000, 250, -10000, Blocks.chest); + if (world.getBlock(-10000, 250, -10000) == Blocks.chest) { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(9), + (TileEntityChest) world.getTileEntity(-10000, 250, -10000), 29); + } + } + } + } + + } + + private void generateNether(World world, Random rand, int i, int j) { + + for (int k = 0; k < 8; k++) + { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(127); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_nether_uranium, 6, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); + } + if(MainRegistry.enablePlutoniumOre) + { + for (int k = 0; k < 6; k++) + { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(127); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_nether_plutonium, 4, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); + } + } + for (int k = 0; k < 10; k++) + { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(127); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_nether_tungsten, 10, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); + } + for (int k = 0; k < 26; k++) + { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(127); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_nether_sulfur, 12, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); + } + for (int k = 0; k < 24; k++) + { + int randPosX = i + rand.nextInt(16); + int randPosY = rand.nextInt(127); + int randPosZ = j + rand.nextInt(16); + + (new WorldGenMinable(ModBlocks.ore_nether_fire, 3, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ); + } + } + +} diff --git a/com/hbm/lib/Library.java b/com/hbm/lib/Library.java index c5c23dcc9..c1fa00175 100644 --- a/com/hbm/lib/Library.java +++ b/com/hbm/lib/Library.java @@ -1,483 +1,404 @@ -package com.hbm.lib; - -import java.util.ArrayList; -import java.util.List; -import java.util.UUID; - -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -<<<<<<< HEAD -import com.hbm.entity.mob.EntityHunterChopper; -import com.hbm.entity.projectile.EntityChopperMine; -======= -import com.hbm.entity.EntityChopperMine; -import com.hbm.entity.EntityHunterChopper; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityLaunchPad; -import com.hbm.tileentity.TileEntityMachineBattery; -import com.hbm.tileentity.TileEntityMachineDeuterium; -import com.hbm.tileentity.TileEntityMachineElectricFurnace; -import com.hbm.tileentity.TileEntityWireCoated; - -import net.minecraft.block.Block; -import net.minecraft.client.multiplayer.WorldClient; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class Library { -<<<<<<< HEAD -======= -<<<<<<< HEAD ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - public static List book1 = new ArrayList(); - public static List book2 = new ArrayList(); - public static List book3 = new ArrayList(); - public static List book4 = new ArrayList(); - public static List book5 = new ArrayList(); -<<<<<<< HEAD -======= -======= - - public static String book11 = "Resources\nHbm's Nuclear Tech Mod features eleven different ores and 13 materials which are used to craft machines and bombs. Most of them can be obtained from ores or various machines. This book will provide information about all of them."; - public static String book12 = "Uranium\nUranium is a rather rare ore found deep underground. Smelting the ore will give you a raw uranium ingot which can later be processed into fissile material that can be used for energy production or nuclear weapons."; - public static String book13 = "Titanium\nTitanium is a material mainly used for crafting machines and bomb hulls. You can get it from smelting titanium ore."; - public static String book14 = "Steel\nSteel is a commonly used material for building bombs, machines and decorative elements. It can be obtained by combining a lump of coal and an iron ingot in the alloy furnace."; - public static String book15 = "Sulfur\nSulfur is a powder which will directly drop from it's ore. Sulfur is used for extracting deuterium with the deuterium extractor, crafting gunpowder or Schrabidiumtrisulfite."; - public static String book16 = "Niter\nNiter also drops directly from the ore, it's only uses are for crafting det cords and gunpowder."; - public static String book17 = "Industrial Grade Copper\nIndustrial Grade Copper (mainly just referred to as Copper) is an importand ingot used for crafting electronic components and creating Minecraft Grade Copper. It can be obtained by simply smelting copper ore."; - public static String book18 = "Minecraft Grade Copper\nMinecraft Grade Copper (aka Red Copper) can be created by combining copper ingots and redstone in the alloy furnace. It is used for crafting advanced electronics and batteries."; - public static String book19 = "Tungsten\nTungsten can be used to make neutron reflectors by combining it in the alloy furnace with coal. It is also needed for heating coils, which are importand for storing uranium and plutonium hexafluorite."; - public static String book110 = "Aluminium\nAluminium is a commonly found metal that is used for crafting hulls and machines. Basic circuits are also made out of aluminium wires."; - public static String book111 = "Fuorite\nFluorite is a powder which can be found in form of ores. It is used to make uranium and plutonium hexafluorite, gasses which can be enriched in a gas centrifuge."; - public static String book112 = "Beryllium\nBeryllium is an ingot which can be simply obtained from it's ore. Beryllium is used for Schrabidium fuel and plutonium cores."; - public static String book113 = "Lead\nLead is a very common ore that can be smelted into an ingot. It can be used to craft breeding reactors, RTG-Units and if combined with copper in the alloy furnace, it can be processed into neutron reflectors."; - public static String book114 = "Schrabidium\nSchrabidium is a very odd element only found near nuclear testing sites. It has violent behaviours if used the right way, making it perfect for bombs. If a big ammount is hit by neutrons, it will create other elements."; - public static String book115 = "Advanced Alloy\nThe advanced alloy is a very durable and useful material, only used for the best factories which can handle four operations at once. It is composed of Minecraft grade copper and steel, combined by an alloy furnace."; - public static String book116 = "Fuel\nFuel is obtained by combining an empty canister and a piece of coal in the alloy furnace. It is used for crafting explosive barrels and missiles."; - - public static String book21 = "Machines\nAs an essential part of technic mods, Hbm's Nuclear Tech Mod also features many machines. They are either used to smelt or refine items or to store hazardous materials or even generate electricity."; - public static String book22 = "Alloy Furnace\nThe alloy furnace is the most importand machine as it is used to create alloys like red copper or neutron reflectors. It uses different kinds of fuel such as coal, netherrack, lava or even redstone."; - public static String book23 = "Gas Centrifuge\nThe gas centrifuge is a requirement for any advanced nuclear tech as it can be used to enrich uranium and plutonium. It uses the same fuel as the alloy furnace. It can process uranium and plutonium hexafluorite."; - public static String book24 = "Hexafluorite Tanks\nThese tanks can store uranium or plutonium hexafluorite. By placing a filled cell into the upper-left slot, the gas will be transfered into the tank. Placing empty cells into the upper-right slot will drain the tank's content."; - public static String book25 = "Breeding Reactor\nThe breeding reactor is used to breed uranium into plutonium. By filling the lower slot with a radioactive rod it will supply it with power, the rod which shall be breeded goes into the upper slot."; - public static String book26 = "Nuclear Powered Furnace\nThis furnace works like the regular furnace, but uses fissile material as fuel instead. Each smelting process only takes arround 1.5 seconds."; - public static String book27 = "RTG-Furnace\nThe RGT-Furnace also works like a normal furnace, but uses three plutonium 238 pellets as fuel. Those pellets never deplete, making this furnace last forever. Smelting an item takes 2.5 seconds."; - public static String book28 = "Coal Generator\nThe coal generator can generate electricity by burning coal. It needs a constant water supply for successfully providing energy, it can use water buckets or cells. You can transport it's energy either with wires or batteries."; - public static String book29 = "Nuclear Reactor\nThe nuclear reactor uses special fuel cells to generate energy. It needs water to do so and coolant to prevent it from overheating."; - public static String book210 = "Coated Wire\nThis wire is made from red copper and can transfer electricity. It can take energy from various generators and transport it to machines."; - public static String book211 = "Energy Storage Block\nThis battery block will collect electricity from wires. Applying a redstone signal will prevent it from getting more energy and make it release it's electricity again."; - public static String book212 = "Electric Furnace\nThe electric furnace works like a normal furnace, but uses electricity instead of fuel items. It can be powered either with wires or with battery items."; - public static String book213 = "Deuterium Extractor\nThis machine needs electricity, water, sulfur and empty cells to extract deuterium from the water. Water will deplete much faster than sulfur."; - public static String book214 = "Factories\nFactories are big 3x3x3 furnaces on steroids. Depending on what type you use, it can smelt 2 or 4 items at the same time, while having nine additional in and output slots!"; - public static String book215 = "Large Nuclear Reactor\nThese big machines work like regular nuclear reactors, but can store much more energy, water, coolant and up to 30 slots of fuel! Be sure to protect it with a concrete shell, or else it will emit deadly doses of radiation."; - public static String book216 = "Fusion Reactor\nHarness the mighty power of the sun with this high-tech machinery! It will not present any danger as it can not explode or radiate, unlike other reactors. It needs deuterium, tritium, a fuse and four energy cores to start the fusion process."; - public static String book217 = "Schrabidium Transmutator\nThis new innovaion turns regular impure uranium into schrabidium! It needs almost 500MHE and a neutral redcoil capacitor to work. The capacitors can be discharged, but it is very dangerous to do so."; - - public static String book31 = "Bombs\nThis mod also features many different bombs, some of them work like regular TNT, others are nukes and need additional items to ignite."; - public static String book32 = "The Gadget\nThe Gadget was the first functional nuclear explosive ever built. It needs four special propellants, a plutonium core and a cable drum. It's crater has a radius up to 150 meters."; - public static String book33 = "Little Boy\nLittle Boy is a gun-type nuke which uses a tungsten-carbide neutron reflector, two different uranium 235 elements, a propellant and it's igniter. It has an explosion radius of 120."; - public static String book34 = "Fat Man\nFat Man is very similar to the Gadged in terms of it's inner parts, even though it uses alternate versions of these items. It's explosion radius is 175 meters."; - public static String book35 = "Ivy Mike\nIvy Mike is a hydrogen bomb which needs Fat Man's parts to work. Additionally, you can add an uranium tank, deuterium and a cooler to increase the radius by a lot. Radius with Fat Man parts: 175 meters, radius with additional items: 250 meters."; - public static String book36 = "Tsar Bomba\nThe Tsar Bomba was the strongest bomb ever built and is a hydrogen bomb much like Ivy Mike. It needs Fat Man's parts to work and with the fusion core, the explosion radius reaches an astounding 500 meters."; - public static String book37 = "The Prototype\nThe Prototype was the first (and strongest) Schrabidium-powered bomb. It was made from a pimped makeshift nuclear reactor using liquid Schrabidiumtrisulfide. Like any other Schrabidium bomb, the Prototype's crater is 100% spherical,"; - public static String book38 = "leaving no blocks untouched, besides Bedrock on Y: 0. It needs four quad rods of regular uranium, four quad rods filled with lead, two quad rods of neptunium and four Schrabidiumtrisulfide cells in order to explode. It has a crater radius of only"; - public static String book39 = "150 meters, but because it's shape, it can destroy a whopping 14 million blocks, the seven million blocks of the bottom half are ten times more than the ammount of blocks the Gadget will destroy below it's Y axis."; - public static String book310 = "F.L.E.I.J.A.\nF.L.E.I.J.A. (pronounced �oFre-ja�r) is a high-tech Schrabidium bomb which consists of two special impulse igniters, three Schrabidium propellants and six magnetized F.L.E.I.J.A. uranium 235 cores. It has a range of 50 meters."; - public static String book311 = "Multi Purpose Bomb\nThe multi purpose bomb is a small customizable explosive which requires four blocks of TNT to work. It has a base explosion value which can be modified with different items. You can either use two of a kind (the small box will show"; - public static String book312 = "you what kind of explosion it will create), only one item (with half the radius/effect of the modifier) or two different items (two different items or one single are part of scambled mode, indicated by a question mark. It will have two different effects.)"; - public static String book313 = "Modifying items:\nBase Value: 8\nGunpowder: +1\nTNT: +4\nExplosive Pellets: +50 bomblets\nFire Powder: +10 fire radius\nPoison Powder: +15 poison radius\nGas Cartridge: +15 gas radius"; - public static String book314 = "Flame War in a Box\nEverything explodes, everything is on fire. Enough desription."; - public static String book315 = "Levitation Bomb\nThis bomb uses a Schrabidium powered modified thermal distribution unit to lift the surrounding area 50 meters up. It will mess with entities caught in it's radius, making them...weird."; - public static String book316 = "Endothermic Bomb\nThis bomb contains an ice-filled thermal distribution unit and will freeze blocks and entities close to it. Entities will get a slowness effect and freeze to a big ice cube."; - public static String book317 = "Exothermic Bomb\nThe exothermic bomb needs a thermal distribution unit filled with lava in order to burn and/or melt nearby blocks. Living creatures will get a slowness and weakness effect."; - public static String book318 = "Det Cord\nThe det cord is a TNT like block with a much smaller explosion radius. It will explode right after ignition. It can be triggered by redstone or other explosions and is ideal to trigger far away TNT chrages."; - public static String book319 = "Explosive Barrel\nThis is a red barrel filled with fuel. It will explode if it catches fire, explodes or gets shot with a revolver. It will blow up in a big firey explosion, great for demolishing houses or forests."; - public static String book320 = "Radioactive Barrel\nA yellow barrel filled to the top with nuclear waste. It has a much bigger explosion radius than it's non-nuclear counterpart, and can only be triggered by explosions. It will give creatures bad effects when they stay to close."; - - public static String book41 = "Missiles\nThere are four different tiers and four major groups of missiles. They need a launch pad to work and will fly to a maked target where they will explode. Most missiles are easily recognizable by their shape and color."; - public static String book42 = "HE Missiles\nHE missiles (often just referred to as generic missiles) are the simplest type of missiles. They will fly in an arc shape and explode on impact. There are three different HE missiles, one for each of the first three tiers."; - public static String book43 = "Incendiary Missiles\nIncendiary missiles work just like generic missiles, with the slight difference that the explosion will spawn fire. The higher the tier, the more fire the impact will create. There are three different tiers of incendiary missiles."; - public static String book44 = "Cluster Missiles\nCluster missiles will fly the same arc shape as all the other missiles do, with the exception that it will explode just before impact, releasing hundrets of small bomblets. They are avalible in three different sizes (tiers)"; - public static String book45 = "Bunker Busters\nA bunker buster behaves much like a normal missile, except that it's explosion goes further down, digging holes and revealing underground structures or destroying bunkers. They also come in three different sizes."; - public static String book46 = "Endothermic Missile\nA tier 3 missile which works exactly like an endothermic bomb, but has double the effect radius."; - public static String book47 = "Exothermic Missile\nAnother tier 3 missile with an exothermic warhead and double the radius of it's stationary counterpart."; - public static String book48 = "Nuclear Missile\nIt's basically a small nuke mounted on a missile. It has an explosion radius of 100 meters, making it the smallest nuke (next to the waffle of mass destruction, the nuclear creeper and the MIRV.)"; - public static String book49 = "Nuclear MIRV Missile\nThe nuclear MIRV is the most destructive intercontinental ballistic missile ever created. It combines a cluster bomb with the destructive force of a nuke, splitting into eight small warheads just before impact."; - - public static String book51 = "Misc\nNext to nuclear technology and weapons of mass destruction, this mod also offers some gimmicks, handguns, different armor sets, randomly generated dungeons and more! (Please, do not touch any objects you don't know. You will probably explode and die.)"; - public static String book52 = "Revolvers\nLike in the good old Western films, you can shoot with your own revolver! There are four different tiers of revolvers, dealing about 5 - infinite damage, depending on the tier. Note: A revolver can not hurt mobs like the ender dragon!"; - public static String book53 = "RPG\nTo use the RPG, charge it like a bow and release the charge when it reached it's maximum. The rocket will cause a small explosion about half the size of a creeper's explosion."; - public static String book54 = "Nuke Launcher\nThe M42 Nuclear Catapult \"Fat Man\" is the perfect christmas present for every small child! It shoots small tactical nuclear warheads causing chaos and destrucion. (What did you expect?)"; - public static String book55 = "Grenades\nA grenade is a very easy-to-use type of explosive. Simply throw it like a snowball and watch the explosion. Remember: Never, NEVER throw a Schrabidium Grenade."; - public static String book56 = "Syringes\nDon't do drugs! (except in Minecraft) Need some health? Take a Stimpak. You demand damage resistance? Inject a Med-X. Want to go nuts? Take AWESOME (only one dose per hour will help) Warning: Hitting enemies with syinges will give them the effect!"; - public static String book57 = "Mobile Stealth Device\nThis useful machine will make you invisibile, even without the annoying particles! Just remember that the effect will wear off in 30 seconds, so don't rely too much on it."; - public static String book58 = "Food\nSurprisingly enough, this mod offers a great variety of different food. Be sure not to eat anything, you may explode/combust/die of radiation poisoning/starve to death/experience a rare case of waffles taking over the world."; - - public static String book61; ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - public static String HbMinecraft = "192af5d7-ed0f-48d8-bd89-9d41af8524f8"; - public static String LPkukin = "937c9804-e11f-4ad2-a5b1-42e62ac73077"; - public static String Dafnik = "3af1c262-61c0-4b12-a4cb-424cc3a9c8c0"; - public static String a20 = "4729b498-a81c-42fd-8acd-20d6d9f759e0"; - - public static List superuser = new ArrayList(); - - public static void initBooks() { - - book1.add("This book contains detailed information about the resources in Hbm's Nuclear Tech Mod. Some can be found underground, some have to be processed in special machines before becoming useful."); - book1.add("Uranium\nRare metal which spawns below Y:25. Impure uranium which is not useful by itself. Can be crafted into uranium hexafluoride, which can be seperated by the centrifuge."); - book1.add("Uranium 235\nRare uranium isotope obtained from processing uranium hexafluoride in the centrifuge. This isotope is fissile, it can be used for reactor fuel and bombs. Np237 can be bred from U235."); - book1.add("Uranium 238\nVery abundant isotope which is not as useful as it's fissile counterpart. Used in reactor fuel and for breeding fissile Pu239."); - book1.add("Plutonium\nTransuranic element which cannot be found underground. It can be found in the nether (config option required) or bred from impure uranium."); - book1.add("Plutonium 238\nAlpha emitter that can be bred from Np237, useful for making RTG pellets which is needed for the RTG furnace."); - book1.add("Plutonium 239\nFissile plutonium isotope that can be crafted into reactor fuel. Implosion-type nukes also need this isotope."); - book1.add("Plutonium 240\nIsotope with a high spontaneous fission rate. Not very useful."); - book1.add("Neptunium\nNeptunium 237 can only be obtained by breeding U235. Other than being crucial for Pu238 production, it doesn't have many uses."); - book1.add("Titanium\nTough metal which can be found underground below Y:35. Titanium is important for crafting machines and stong tools."); - book1.add("Copper\nMetal found below Y:50. Very important metal for machines, mostly used for alloys."); - book1.add("Minecraft Grade Copper\nMinecraft Grade Copper (or red copper) is used for all machines that use electricity. Every conductor is made from red copper."); - book1.add("Advanced Alloy\nAlloy made from red copper and steel. Very tough, used for super conductors, late game machines and heavy duty tools."); - book1.add("Tungsten\nFound below Y:35 or in the nether, needed for heating elements, neutron reflectors and late game alloys."); - book1.add("Aluminium\nSoft metal found below Y:45. Can be used to craft shells and canisters."); - book1.add("Steel\nAlloy made from coal and iron. Almost everything needs steel, shells, frames, machines, tools, etc."); - book1.add("Lead\n.Found below Y:35. Used for nuclear reactors, hazmat equpiment and bullets."); - book1.add("Beryllium\n.Brittle metal found below Y:35, used for deco elements and atom bombs."); - book1.add("Schrabidium\n.Weird. Can be created using the schrabidium transmutation device or by setting off nukes near uranium ore. Can be crafted into extremely powerful equipment and machines."); - book1.add("Magnetized Tungsten\nTungsten with traces of schrabidium. Strong super conductor which withstands very high temparatures. Used for 4000K magnets and calculation matrices."); - book1.add("Lithium\nCan be extracted from quartz using the centrifuge, used for breeding tritium."); - book1.add("Sulfur\nDust found underground below Y:35. Useful for matchsticks, deuterium production and crafting gunpowder."); - book1.add("Niter\nDust found below Y:35. Can be used to craft gunpowder and det cord."); - book1.add("Fluorite\nCan be found below Y:40. Only used for crafting uranium and plutonium hexafluoride."); - book1.add("Uranium Hexafluoride\nCan be seperated in the centrifuge. Storable in the UF6 tank."); - book1.add("Plutonium Hexafluoride\nCan be seperated in the centrifuge. Storable in the PuF6 tank."); - - book2.add("This book contains detailed information about the machines in Hbm's Nuclear Tech Mod. Most machines use electricity in the form of HE."); - book2.add("Alloy Furnace\nType: Processor\nUses fuels like redstone, coal and netherrack to combine two items. Accepts RTG pellets."); - book2.add("Centrifuge\nType: Processor\nUses the same fuels as the alloy furnace to seperate an imput to up to four outputs. Used for uranium enrichment."); - book2.add("Hexafluoride Tanks\nType: Storage\nComes in two different variations, for uranium and plutonium."); - book2.add("Breeding Reactor\nType: Processor\nUses nuclear rods as fuel to breed other rods. Used to process isotopes."); - book2.add("Nuclear Furnace\nType: Processor\nUses nuclear rods as fuel to smelt items like a normal furnace does, but much faster."); - book2.add("RTG-Furnace\nType: Processor\nUtilizes three plutonium 238 pellets which never run out to smelt items very fast."); - book2.add("Coal Generator\nType: Generator\nUses coal and water in order to create little amounts of HE."); - book2.add("Diesel Generator\nType: Generator\nUses diesel fuel to create HE, does not need water in order to run."); - book2.add("Small Nuclear Reactor\nType: Generator\nUses reactor fuel, water and coolant to generate HE, the reactor explodes when it overheats."); - book2.add("Red Copper Cable\nType: Conductor\nConnects to other cables and machines, transfers HE."); - book2.add("Coated Red Copper Cable\nType: Conductor\nFull block conductors which are more resistant than normal cables."); - book2.add("Energy Storage Block\nType: Storage\nStores energy when connected to a power source, releases it if it's powered with a redstone signal."); - book2.add("HE to RF Converter\nType: Power Converter\nCollects HE and converts it to RF, which can be used by machines from other mods which are RF compatible."); - book2.add("RF to HE Converter\nType: Power Converter\nCollects RF and converts it to HE."); - book2.add("Electric Furnace\nType: Processor\nNeeds HE in order to smelt items much faster than a normal furnace."); - book2.add("Shredder\nType: Processor\nNeeds HE and two blades in order to run. Ingots and ores are turned into dust, other blocks get processed into scrap. Useful to make fuel out of junk."); - book2.add("Deuterium Extractor\nType: Processor\nNeeds HE, water and sulfur in order to extract deuterium out of the water. Sulfur is used up slower than water."); - book2.add("Schrabidium Transmutation Device\nType: Processor\nWith 500 million HE, a special capacitor and uranium, this machine creates schrabidium ingots."); - book2.add("CMB Steel Factory\nType: Processor\nCombines magnetized tungsten, advanced alloy and poisonous mud into CMB steel."); - book2.add("Basic Factory\nType: Processor\nLarge furnace with in- and output queue that smelts two items at a time. Needs a specific energy core to run, though it also accepts external energy if it has an electricity port."); - book2.add("Advanced Factory\nType: Processor\nThis factory smelts four items at a time, twice as fast, making it four times better than the basic factory."); - book2.add("Large Nuclear Reactor\nType: Generator\nA much larger version of the nuclear reactor which works similarly, but needs a fuse to run. The optional concrete coating will prevent radiation from leaking out."); - book2.add("Fusion Reactor\nType: Generator\nA very large reactor which fuses deuterium and tritium to create power. It needs startup energy in form of four energy cores (and or fusion cores) and a fuse."); - book2.add("Watz Power Plant\nType: Generator\nA special fission reactor whcih needs a titanium filter and fuel pellets to run. Pellets have different modifiers changing lifetime and efficiency of all other components. Mind the waste."); - book2.add("Fusionary Watz Plant\nType: Generator\nThe strongest reactor which fuses antimatter with antischrabidium with the help of a singularity. Different singularities have different effects. Beware the screwdriver."); - - book3.add("This book contains detailed information about the explosives in Hbm's Nuclear Tech Mod. All explosives can also be used with the detonator."); - book3.add("The Gadget\nType: Nuke\nStrength: " + MainRegistry.gadgetRadius + "\nItems required: 4x bundled propellant, 1x Gadget plutonium core, 1x Wiring"); - book3.add("Little Boy\nType: Nuke\nStrength: " + MainRegistry.boyRadius + "\nItems required: 1x neutron shielding, 1x U235 target, 1x U235 bullet, 1x Little Boy propellant, 1x Little Boy igniter"); - book3.add("Fat Man\nType: Nuke\nStrength: " + MainRegistry.manRadius + "\nItems required: 4x bundled propellant, 1x Fat Man plutonium core, 1x Fatman fuse"); - book3.add("Ivy Mike\nType: H-Bomb\nStrength (nuke): " + MainRegistry.manRadius + "\nStrength (h-bomb): " + MainRegistry.mikeRadius + "\nItems required: 4x bundled propellant, 1x Fat Man plutonium core\nOptional: 1x deuterium supercooler, 1x uranium covered deuterium tank, 1x deuterium tank"); - book3.add("Tsar Bomba\nType: H-Bomb\nStrength (nuke): " + MainRegistry.manRadius + "\nStrength (h-bomb): " + MainRegistry.tsarRadius + "\nItems required: 4x bundled propellant, 1x Fat Man plutonium core\nOptional: Tsar Bomba core"); - book3.add("The Prototype\nType: Schrabidium-Bomb\nStrength:" + MainRegistry.prototypeRadius + "\nItems required: 4x schrabidium-trisulfide, 4x uranium quad rod, 4x lead quad rod, 2x neptunium quad rod"); - book3.add("F.L.E.I.J.A.\nType: Schrabidium-Bomb\nStrength:" + MainRegistry.fleijaRadius + "\nItems required: 2x pulse igniter, 3x schrabidium propellant, 6x F.L.E.I.J.A. uranium charge"); - book3.add("Multi Purpose Bomb\nType: Generic\nStrength: Variable\nNeeds four blocks of TNT in the marked slots, special items can be added in the right two slots. Equal items have their own icon, unequal items show a ?-icon, though they still work together."); - book3.add("Multi Purpose Bomb (cont.)\nGunpowder: +1 explosion strength, TNT: +4 explosion strength, explosive pellets: +50 bomblets, fire powder: +10 fire radius, poison powder: +15 poison radius, gas cartridge: +15 gas radius"); - book3.add("Dud\nType: ???\nStrength:" + MainRegistry.fatmanRadius + "\nUncraftable, right-click with empty cells to extract antimatter. Can explode via detonator."); - book3.add("Flame War in a Box\nType: Box\nSpawns random explosions, sets everything on fire."); - book3.add("Levitation Bomb\nRadius: 15\nHeight: 50\nLifts all blocks and entites caught in it's area of effect."); - book3.add("Endothermic Bomb\nRadius: 15\nTurns blocks into ice, freezes entities solid."); - book3.add("Exothermic Bomb\nRadius: 15\nBurns/melts blocks, sets all entities on fire."); - book3.add("Explosive Barrel\nType: Barrel\nExplodes when shot/set on fire."); - book3.add("Radioactive Barrel\nType: Barrel\nOnly set off by explosions, contaminates area."); - - book4.add("This book contains detailed information about the missiles in Hbm's Nuclear Tech Mod. All missiles are launched from the launch pad, the coordinates are set using the short range target designator."); - book4.add("HE Missiles\nNormal missile which explodes on impact.\nSmall: 10\nMedium: 25\nLarge: 50 x 5"); - book4.add("Incendiary Missiles\nSpecial missile which explodes and sets the surrounding area on fire.\nSmall: 10 + F\nMedium: 25 + F\nLarge: 35 + F"); - book4.add("Cluster Missiles\nMissile which explodes mid-air and releases small bomblets.\nSmall: 5 + 25B\nMedium: 15 + 50B\nLarge: 25 + 100B"); - book4.add("Bunker Buster\nMissile which creates vertical explosions.\nSmall: 5 x 15\nMedium: 7.5 x 20\nLarge: 10 x 30B"); - book4.add("Thermal Missiles\nEndo or exothermic, area of effect is twice as large as for their stationary counterparts."); - book4.add("Nuclear Missile\nLarge missile equipped with a nuclear warhead.\nRadius: " + MainRegistry.missileRadius); - book4.add("Nuclear MIRV\nCrossbreed of a nuclear missile and a cluster missile...splits into eight smaller nukes.\nRadius per MIRV: " + MainRegistry.mirvRadius); - - book5.add("This book contains detailed information about the miscellaneous items in Hbm's Nuclear Tech Mod. All missiles are launched from the launch pad, the coordinates are set using the short range target designator."); - book5.add("Revolvers\nThese guns come in different variants, each one has it's own ammo. Charge them like a bow for half a second and release to shoot."); - book5.add("Rocket Launcher\nWorks much like a revolver, but it needs to be completely charged up to fire. Shoots explosive rockets instead of bullets. Duh."); - book5.add("M42 Nuclear Catapult\nIs basically just an RPG. That shoots nukes. In an arch. Which kill everybody. Full stop."); - book5.add("Waffle of Mass Destruction\nEat & explode."); - book5.add("Vegan Schnitzel\nEat & die."); - book5.add("Radioactive Cotton Candy\nEat & enjoy."); - book5.add("Schrabidium Apples\nGives you an epic bizeps in 1.2 seconds."); - book5.add("Tem Flakes\nfood of tem. com in 3 flavurs, on sale, nurmal & PREMIUM!!! (expensiv) heals 2HP. construction paper."); - book5.add("Oversugared Unhealthy Beverages\nHalf of them taste like urine, all of them are unhealthy."); - book5.add("Grenades\nMany different types with effects, do not use the schrabidium/drill ones."); - book5.add("Detonator\nRight click a block to set the position, shift-right click to detonate."); - book5.add("Supply Drop Requester\nRight click to call in a supply drop, has five uses in survival mode."); - book5.add("Magazines\nRight click to retrieve ammo for a specific gun."); -<<<<<<< HEAD - book5.add("Syringes\nRight click to inject the syringe's content, hit somebody else to give them the effects."); - book5.add(""); - book5.add(""); - book5.add(""); - book5.add("Coincidences are less likely than most people believe, don't you think? Look at things twice. Try imagining what the creators and inventors were thinking. All things happen for a reason, tough sometimes they are not as clear. \n\nPPPPPPP"); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - } - - public static boolean checkArmor(EntityPlayer player, Item helmet, Item plate, Item legs, Item boots) { - - if(player.inventory.armorInventory[0] != null && - player.inventory.armorInventory[0].getItem() == boots && - player.inventory.armorInventory[1] != null && - player.inventory.armorInventory[1].getItem() == legs && - player.inventory.armorInventory[2] != null && - player.inventory.armorInventory[2].getItem() == plate && - player.inventory.armorInventory[3] != null && - player.inventory.armorInventory[3].getItem() == helmet) - { - return true; - } - - return false; - } - - public static boolean checkArmorPiece(EntityPlayer player, Item armor, int slot) - { - if(player.inventory.armorInventory[slot] != null && - player.inventory.armorInventory[slot].getItem() == armor) - { - return true; - } - - return false; - } - - public static boolean checkArmorNull(EntityPlayer player, int slot) - { - if(player.inventory.armorInventory[slot] == null) - { - return true; - } - - return false; - } - - public static void damageSuit(EntityPlayer player, int slot) { - - int j = player.inventory.armorInventory[slot].getItemDamage(); - player.inventory.armorInventory[slot].setItemDamage(j += 1); - - if(player.inventory.armorInventory[slot].getItemDamage() == player.inventory.armorInventory[slot].getMaxDamage()) - { - player.inventory.armorInventory[slot] = null; - } - } - - public static boolean checkForHazmat(EntityPlayer player) { - - if(checkArmor(player, ModItems.hazmat_helmet, ModItems.hazmat_plate, ModItems.hazmat_legs, ModItems.hazmat_boots) || - checkArmor(player, ModItems.t45_helmet, ModItems.t45_plate, ModItems.t45_legs, ModItems.t45_boots) || - checkArmor(player, ModItems.euphemium_helmet, ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots) || - checkArmor(player, ModItems.hazmat_paa_helmet, ModItems.hazmat_paa_plate, ModItems.hazmat_paa_legs, ModItems.hazmat_paa_boots)) - { - return true; - } - - return false; - } - - public static boolean checkForGasMask(EntityPlayer player) { - - if(checkArmorPiece(player, ModItems.hazmat_helmet, 3)) - { - return true; - } - if(checkArmorPiece(player, ModItems.hazmat_paa_helmet, 3)) - { - return true; - } - if(checkArmorPiece(player, ModItems.gas_mask, 3)) - { - return true; - } - if(checkArmorPiece(player, ModItems.t45_helmet, 3)) - { - return true; - } - if(checkArmorPiece(player, ModItems.schrabidium_helmet, 3)) - { - return true; - } - if(checkArmorPiece(player, ModItems.euphemium_helmet, 3)) - { - return true; - } - - return false; - } - - public static boolean checkConnectables(World world, int x, int y, int z) - { - TileEntity tileentity = world.getTileEntity(x, y, z); - if((tileentity != null && (tileentity instanceof IConductor || - tileentity instanceof IConsumer || - tileentity instanceof ISource)) || - world.getBlock(x, y, z) == ModBlocks.fusion_center || - world.getBlock(x, y, z) == ModBlocks.reactor_conductor || - world.getBlock(x, y, z) == ModBlocks.factory_titanium_conductor || - world.getBlock(x, y, z) == ModBlocks.factory_advanced_conductor || - world.getBlock(x, y, z) == ModBlocks.watz_conductor || - world.getBlock(x, y, z) == ModBlocks.fwatz_hatch) - { - return true; - } - return false; - } - - public static boolean checkUnionList(List list, TileEntity that) { - - for(UnionOfTileEntitiesAndBooleans union : list) - { - if(union.source == that) - { - return true; - } - } - - return false; - } - - public static EntityLivingBase getClosestEntityForChopper(World world, double x, double y, double z, double radius) { - double d4 = -1.0D; - EntityLivingBase entityplayer = null; - - for (int i = 0; i < world.loadedEntityList.size(); ++i) { - if (world.loadedEntityList.get(i) instanceof EntityLivingBase && !(world.loadedEntityList.get(i) instanceof EntityHunterChopper)) { - EntityLivingBase entityplayer1 = (EntityLivingBase) world.loadedEntityList.get(i); - - if (entityplayer1.isEntityAlive() && !(entityplayer1 instanceof EntityPlayer && ((EntityPlayer)entityplayer1).capabilities.disableDamage)) { - double d5 = entityplayer1.getDistanceSq(x, y, z); - double d6 = radius; - - if (entityplayer1.isSneaking()) { - d6 = radius * 0.800000011920929D; - } - - if ((radius < 0.0D || d5 < d6 * d6) && (d4 == -1.0D || d5 < d4)) { - d4 = d5; - entityplayer = entityplayer1; - } - } - } - } - - return entityplayer; - } - - public static Item getItemByCode(int i) { - - if(i == 1337) - return ModItems.schrabidium_hammer; - if(i == 234) - return ModItems.euphemium_kit; - if(i == 69) - return ModItems.nuke_advanced_kit; - if(i == 34) - return ModItems.t45_kit; - - return null; - } - - public static EntityPlayer getClosestPlayerForSound(World world, double x, double y, double z, double radius) { - double d4 = -1.0D; - EntityPlayer entity = null; - - for (int i = 0; i < world.loadedEntityList.size(); ++i) { - Entity entityplayer1 = (Entity)world.loadedEntityList.get(i); - - if (entityplayer1.isEntityAlive() && entityplayer1 instanceof EntityPlayer) { - double d5 = entityplayer1.getDistanceSq(x, y, z); - double d6 = radius; - - if ((radius < 0.0D || d5 < d6 * d6) && (d4 == -1.0D || d5 < d4)) { - d4 = d5; - entity = (EntityPlayer)entityplayer1; - } - } - } - - return entity; - } - - public static EntityHunterChopper getClosestChopperForSound(World world, double x, double y, double z, double radius) { - double d4 = -1.0D; - EntityHunterChopper entity = null; - - for (int i = 0; i < world.loadedEntityList.size(); ++i) { - Entity entityplayer1 = (Entity)world.loadedEntityList.get(i); - - if (entityplayer1.isEntityAlive() && entityplayer1 instanceof EntityHunterChopper) { - double d5 = entityplayer1.getDistanceSq(x, y, z); - double d6 = radius; - - if ((radius < 0.0D || d5 < d6 * d6) && (d4 == -1.0D || d5 < d4)) { - d4 = d5; - entity = (EntityHunterChopper)entityplayer1; - } - } - } - - return entity; - } - - public static EntityChopperMine getClosestMineForSound(World world, double x, double y, double z, double radius) { - double d4 = -1.0D; - EntityChopperMine entity = null; - - for (int i = 0; i < world.loadedEntityList.size(); ++i) { - Entity entityplayer1 = (Entity)world.loadedEntityList.get(i); - - if (entityplayer1.isEntityAlive() && entityplayer1 instanceof EntityChopperMine) { - double d5 = entityplayer1.getDistanceSq(x, y, z); - double d6 = radius; - - if ((radius < 0.0D || d5 < d6 * d6) && (d4 == -1.0D || d5 < d4)) { - d4 = d5; - entity = (EntityChopperMine)entityplayer1; - } - } - } - - return entity; - } -<<<<<<< HEAD - - public static MovingObjectPosition rayTrace(EntityPlayer player, double d, float f) { - Vec3 vec3 = player.getPosition(f); - vec3.yCoord += player.eyeHeight; - Vec3 vec31 = player.getLook(f); - Vec3 vec32 = vec3.addVector(vec31.xCoord * d, vec31.yCoord * d, vec31.zCoord * d); - return player.worldObj.func_147447_a(vec3, vec32, false, false, true); - } -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -} +package com.hbm.lib; + +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.hbm.blocks.ModBlocks; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.entity.mob.EntityHunterChopper; +import com.hbm.entity.projectile.EntityChopperMine; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityLaunchPad; +import com.hbm.tileentity.TileEntityMachineBattery; +import com.hbm.tileentity.TileEntityMachineDeuterium; +import com.hbm.tileentity.TileEntityMachineElectricFurnace; +import com.hbm.tileentity.TileEntityWireCoated; + +import net.minecraft.block.Block; +import net.minecraft.client.multiplayer.WorldClient; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class Library { + + public static List book1 = new ArrayList(); + public static List book2 = new ArrayList(); + public static List book3 = new ArrayList(); + public static List book4 = new ArrayList(); + public static List book5 = new ArrayList(); + + public static String HbMinecraft = "192af5d7-ed0f-48d8-bd89-9d41af8524f8"; + public static String LPkukin = "937c9804-e11f-4ad2-a5b1-42e62ac73077"; + public static String Dafnik = "3af1c262-61c0-4b12-a4cb-424cc3a9c8c0"; + public static String a20 = "4729b498-a81c-42fd-8acd-20d6d9f759e0"; + public static String LordVertice = "a41df45e-13d8-4677-9398-090d3882b74f"; + + public static List superuser = new ArrayList(); + + public static void initBooks() { + + book1.add("This book contains detailed information about the resources in Hbm's Nuclear Tech Mod. Some can be found underground, some have to be processed in special machines before becoming useful."); + book1.add("Uranium\nRare metal which spawns below Y:25. Impure uranium which is not useful by itself. Can be crafted into uranium hexafluoride, which can be seperated by the centrifuge."); + book1.add("Uranium 235\nRare uranium isotope obtained from processing uranium hexafluoride in the centrifuge. This isotope is fissile, it can be used for reactor fuel and bombs. Np237 can be bred from U235."); + book1.add("Uranium 238\nVery abundant isotope which is not as useful as it's fissile counterpart. Used in reactor fuel and for breeding fissile Pu239."); + book1.add("Plutonium\nTransuranic element which cannot be found underground. It can be found in the nether (config option required) or bred from impure uranium."); + book1.add("Plutonium 238\nAlpha emitter that can be bred from Np237, useful for making RTG pellets which is needed for the RTG furnace."); + book1.add("Plutonium 239\nFissile plutonium isotope that can be crafted into reactor fuel. Implosion-type nukes also need this isotope."); + book1.add("Plutonium 240\nIsotope with a high spontaneous fission rate. Not very useful."); + book1.add("Neptunium\nNeptunium 237 can only be obtained by breeding U235. Other than being crucial for Pu238 production, it doesn't have many uses."); + book1.add("Titanium\nTough metal which can be found underground below Y:35. Titanium is important for crafting machines and stong tools."); + book1.add("Copper\nMetal found below Y:50. Very important metal for machines, mostly used for alloys."); + book1.add("Minecraft Grade Copper\nMinecraft Grade Copper (or red copper) is used for all machines that use electricity. Every conductor is made from red copper."); + book1.add("Advanced Alloy\nAlloy made from red copper and steel. Very tough, used for super conductors, late game machines and heavy duty tools."); + book1.add("Tungsten\nFound below Y:35 or in the nether, needed for heating elements, neutron reflectors and late game alloys."); + book1.add("Aluminium\nSoft metal found below Y:45. Can be used to craft shells and canisters."); + book1.add("Steel\nAlloy made from coal and iron. Almost everything needs steel, shells, frames, machines, tools, etc."); + book1.add("Lead\n.Found below Y:35. Used for nuclear reactors, hazmat equpiment and bullets."); + book1.add("Beryllium\n.Brittle metal found below Y:35, used for deco elements and atom bombs."); + book1.add("Schrabidium\n.Weird. Can be created using the schrabidium transmutation device or by setting off nukes near uranium ore. Can be crafted into extremely powerful equipment and machines."); + book1.add("Magnetized Tungsten\nTungsten with traces of schrabidium. Strong super conductor which withstands very high temparatures. Used for 4000K magnets and calculation matrices."); + book1.add("Lithium\nCan be extracted from quartz using the centrifuge, used for breeding tritium."); + book1.add("Sulfur\nDust found underground below Y:35. Useful for matchsticks, deuterium production and crafting gunpowder."); + book1.add("Niter\nDust found below Y:35. Can be used to craft gunpowder and det cord."); + book1.add("Fluorite\nCan be found below Y:40. Only used for crafting uranium and plutonium hexafluoride."); + book1.add("Uranium Hexafluoride\nCan be seperated in the centrifuge. Storable in the UF6 tank."); + book1.add("Plutonium Hexafluoride\nCan be seperated in the centrifuge. Storable in the PuF6 tank."); + + book2.add("This book contains detailed information about the machines in Hbm's Nuclear Tech Mod. Most machines use electricity in the form of HE."); + book2.add("Alloy Furnace\nType: Processor\nUses fuels like redstone, coal and netherrack to combine two items. Accepts RTG pellets."); + book2.add("Centrifuge\nType: Processor\nUses the same fuels as the alloy furnace to seperate an imput to up to four outputs. Used for uranium enrichment."); + book2.add("Hexafluoride Tanks\nType: Storage\nComes in two different variations, for uranium and plutonium."); + book2.add("Breeding Reactor\nType: Processor\nUses nuclear rods as fuel to breed other rods. Used to process isotopes."); + book2.add("Nuclear Furnace\nType: Processor\nUses nuclear rods as fuel to smelt items like a normal furnace does, but much faster."); + book2.add("RTG-Furnace\nType: Processor\nUtilizes three plutonium 238 pellets which never run out to smelt items very fast."); + book2.add("Coal Generator\nType: Generator\nUses coal and water in order to create little amounts of HE."); + book2.add("Diesel Generator\nType: Generator\nUses diesel fuel to create HE, does not need water in order to run."); + book2.add("Small Nuclear Reactor\nType: Generator\nUses reactor fuel, water and coolant to generate HE, the reactor explodes when it overheats."); + book2.add("Red Copper Cable\nType: Conductor\nConnects to other cables and machines, transfers HE."); + book2.add("Coated Red Copper Cable\nType: Conductor\nFull block conductors which are more resistant than normal cables."); + book2.add("Energy Storage Block\nType: Storage\nStores energy when connected to a power source, releases it if it's powered with a redstone signal."); + book2.add("HE to RF Converter\nType: Power Converter\nCollects HE and converts it to RF, which can be used by machines from other mods which are RF compatible."); + book2.add("RF to HE Converter\nType: Power Converter\nCollects RF and converts it to HE."); + book2.add("Electric Furnace\nType: Processor\nNeeds HE in order to smelt items much faster than a normal furnace."); + book2.add("Shredder\nType: Processor\nNeeds HE and two blades in order to run. Ingots and ores are turned into dust, other blocks get processed into scrap. Useful to make fuel out of junk."); + book2.add("Deuterium Extractor\nType: Processor\nNeeds HE, water and sulfur in order to extract deuterium out of the water. Sulfur is used up slower than water."); + book2.add("Schrabidium Transmutation Device\nType: Processor\nWith 500 million HE, a special capacitor and uranium, this machine creates schrabidium ingots."); + book2.add("CMB Steel Factory\nType: Processor\nCombines magnetized tungsten, advanced alloy and poisonous mud into CMB steel."); + book2.add("Basic Factory\nType: Processor\nLarge furnace with in- and output queue that smelts two items at a time. Needs a specific energy core to run, though it also accepts external energy if it has an electricity port."); + book2.add("Advanced Factory\nType: Processor\nThis factory smelts four items at a time, twice as fast, making it four times better than the basic factory."); + book2.add("Large Nuclear Reactor\nType: Generator\nA much larger version of the nuclear reactor which works similarly, but needs a fuse to run. The optional concrete coating will prevent radiation from leaking out."); + book2.add("Fusion Reactor\nType: Generator\nA very large reactor which fuses deuterium and tritium to create power. It needs startup energy in form of four energy cores (and or fusion cores) and a fuse."); + book2.add("Watz Power Plant\nType: Generator\nA special fission reactor whcih needs a titanium filter and fuel pellets to run. Pellets have different modifiers changing lifetime and efficiency of all other components. Mind the waste."); + book2.add("Fusionary Watz Plant\nType: Generator\nThe strongest reactor which fuses antimatter with antischrabidium with the help of a singularity. Different singularities have different effects. Beware the screwdriver."); + + book3.add("This book contains detailed information about the explosives in Hbm's Nuclear Tech Mod. All explosives can also be used with the detonator."); + book3.add("The Gadget\nType: Nuke\nStrength: " + MainRegistry.gadgetRadius + "\nItems required: 4x bundled propellant, 1x Gadget plutonium core, 1x Wiring"); + book3.add("Little Boy\nType: Nuke\nStrength: " + MainRegistry.boyRadius + "\nItems required: 1x neutron shielding, 1x U235 target, 1x U235 bullet, 1x Little Boy propellant, 1x Little Boy igniter"); + book3.add("Fat Man\nType: Nuke\nStrength: " + MainRegistry.manRadius + "\nItems required: 4x bundled propellant, 1x Fat Man plutonium core, 1x Fatman fuse"); + book3.add("Ivy Mike\nType: H-Bomb\nStrength (nuke): " + MainRegistry.manRadius + "\nStrength (h-bomb): " + MainRegistry.mikeRadius + "\nItems required: 4x bundled propellant, 1x Fat Man plutonium core\nOptional: 1x deuterium supercooler, 1x uranium covered deuterium tank, 1x deuterium tank"); + book3.add("Tsar Bomba\nType: H-Bomb\nStrength (nuke): " + MainRegistry.manRadius + "\nStrength (h-bomb): " + MainRegistry.tsarRadius + "\nItems required: 4x bundled propellant, 1x Fat Man plutonium core\nOptional: Tsar Bomba core"); + book3.add("The Prototype\nType: Schrabidium-Bomb\nStrength:" + MainRegistry.prototypeRadius + "\nItems required: 4x schrabidium-trisulfide, 4x uranium quad rod, 4x lead quad rod, 2x neptunium quad rod"); + book3.add("F.L.E.I.J.A.\nType: Schrabidium-Bomb\nStrength:" + MainRegistry.fleijaRadius + "\nItems required: 2x pulse igniter, 3x schrabidium propellant, 6x F.L.E.I.J.A. uranium charge"); + book3.add("Multi Purpose Bomb\nType: Generic\nStrength: Variable\nNeeds four blocks of TNT in the marked slots, special items can be added in the right two slots. Equal items have their own icon, unequal items show a ?-icon, though they still work together."); + book3.add("Multi Purpose Bomb (cont.)\nGunpowder: +1 explosion strength, TNT: +4 explosion strength, explosive pellets: +50 bomblets, fire powder: +10 fire radius, poison powder: +15 poison radius, gas cartridge: +15 gas radius"); + book3.add("Dud\nType: ???\nStrength:" + MainRegistry.fatmanRadius + "\nUncraftable, right-click with empty cells to extract antimatter. Can explode via detonator."); + book3.add("Flame War in a Box\nType: Box\nSpawns random explosions, sets everything on fire."); + book3.add("Levitation Bomb\nRadius: 15\nHeight: 50\nLifts all blocks and entites caught in it's area of effect."); + book3.add("Endothermic Bomb\nRadius: 15\nTurns blocks into ice, freezes entities solid."); + book3.add("Exothermic Bomb\nRadius: 15\nBurns/melts blocks, sets all entities on fire."); + book3.add("Explosive Barrel\nType: Barrel\nExplodes when shot/set on fire."); + book3.add("Radioactive Barrel\nType: Barrel\nOnly set off by explosions, contaminates area."); + + book4.add("This book contains detailed information about the missiles in Hbm's Nuclear Tech Mod. All missiles are launched from the launch pad, the coordinates are set using the short range target designator."); + book4.add("HE Missiles\nNormal missile which explodes on impact.\nSmall: 10\nMedium: 25\nLarge: 50 x 5"); + book4.add("Incendiary Missiles\nSpecial missile which explodes and sets the surrounding area on fire.\nSmall: 10 + F\nMedium: 25 + F\nLarge: 35 + F"); + book4.add("Cluster Missiles\nMissile which explodes mid-air and releases small bomblets.\nSmall: 5 + 25B\nMedium: 15 + 50B\nLarge: 25 + 100B"); + book4.add("Bunker Buster\nMissile which creates vertical explosions.\nSmall: 5 x 15\nMedium: 7.5 x 20\nLarge: 10 x 30B"); + book4.add("Thermal Missiles\nEndo or exothermic, area of effect is twice as large as for their stationary counterparts."); + book4.add("Nuclear Missile\nLarge missile equipped with a nuclear warhead.\nRadius: " + MainRegistry.missileRadius); + book4.add("Nuclear MIRV\nCrossbreed of a nuclear missile and a cluster missile...splits into eight smaller nukes.\nRadius per MIRV: " + MainRegistry.mirvRadius); + + book5.add("This book contains detailed information about the miscellaneous items in Hbm's Nuclear Tech Mod. All missiles are launched from the launch pad, the coordinates are set using the short range target designator."); + book5.add("Revolvers\nThese guns come in different variants, each one has it's own ammo. Charge them like a bow for half a second and release to shoot."); + book5.add("Rocket Launcher\nWorks much like a revolver, but it needs to be completely charged up to fire. Shoots explosive rockets instead of bullets. Duh."); + book5.add("M42 Nuclear Catapult\nIs basically just an RPG. That shoots nukes. In an arch. Which kill everybody. Full stop."); + book5.add("Waffle of Mass Destruction\nEat & explode."); + book5.add("Vegan Schnitzel\nEat & die."); + book5.add("Radioactive Cotton Candy\nEat & enjoy."); + book5.add("Schrabidium Apples\nGives you an epic bizeps in 1.2 seconds."); + book5.add("Tem Flakes\nfood of tem. com in 3 flavurs, on sale, nurmal & PREMIUM!!! (expensiv) heals 2HP. construction paper."); + book5.add("Oversugared Unhealthy Beverages\nHalf of them taste like urine, all of them are unhealthy."); + book5.add("Grenades\nMany different types with effects, do not use the schrabidium/drill ones."); + book5.add("Detonator\nRight click a block to set the position, shift-right click to detonate."); + book5.add("Supply Drop Requester\nRight click to call in a supply drop, has five uses in survival mode."); + book5.add("Magazines\nRight click to retrieve ammo for a specific gun."); + book5.add("Syringes\nRight click to inject the syringe's content, hit somebody else to give them the effects."); + book5.add(""); + book5.add(""); + book5.add(""); + book5.add("Coincidences are less likely than most people believe, don't you think? Look at things twice. Try imagining what the creators and inventors were thinking. All things happen for a reason, tough sometimes they are not as clear. \n\nPPPPPPP"); + } + + public static boolean checkArmor(EntityPlayer player, Item helmet, Item plate, Item legs, Item boots) { + + if(player.inventory.armorInventory[0] != null && + player.inventory.armorInventory[0].getItem() == boots && + player.inventory.armorInventory[1] != null && + player.inventory.armorInventory[1].getItem() == legs && + player.inventory.armorInventory[2] != null && + player.inventory.armorInventory[2].getItem() == plate && + player.inventory.armorInventory[3] != null && + player.inventory.armorInventory[3].getItem() == helmet) + { + return true; + } + + return false; + } + + public static boolean checkArmorPiece(EntityPlayer player, Item armor, int slot) + { + if(player.inventory.armorInventory[slot] != null && + player.inventory.armorInventory[slot].getItem() == armor) + { + return true; + } + + return false; + } + + public static boolean checkArmorNull(EntityPlayer player, int slot) + { + if(player.inventory.armorInventory[slot] == null) + { + return true; + } + + return false; + } + + public static void damageSuit(EntityPlayer player, int slot) { + + int j = player.inventory.armorInventory[slot].getItemDamage(); + player.inventory.armorInventory[slot].setItemDamage(j += 1); + + if(player.inventory.armorInventory[slot].getItemDamage() == player.inventory.armorInventory[slot].getMaxDamage()) + { + player.inventory.armorInventory[slot] = null; + } + } + + public static boolean checkForHazmat(EntityPlayer player) { + + if(checkArmor(player, ModItems.hazmat_helmet, ModItems.hazmat_plate, ModItems.hazmat_legs, ModItems.hazmat_boots) || + checkArmor(player, ModItems.t45_helmet, ModItems.t45_plate, ModItems.t45_legs, ModItems.t45_boots) || + checkArmor(player, ModItems.euphemium_helmet, ModItems.euphemium_plate, ModItems.euphemium_legs, ModItems.euphemium_boots) || + checkArmor(player, ModItems.hazmat_paa_helmet, ModItems.hazmat_paa_plate, ModItems.hazmat_paa_legs, ModItems.hazmat_paa_boots)) + { + return true; + } + + return false; + } + + public static boolean checkForGasMask(EntityPlayer player) { + + if(checkArmorPiece(player, ModItems.hazmat_helmet, 3)) + { + return true; + } + if(checkArmorPiece(player, ModItems.hazmat_paa_helmet, 3)) + { + return true; + } + if(checkArmorPiece(player, ModItems.gas_mask, 3)) + { + return true; + } + if(checkArmorPiece(player, ModItems.t45_helmet, 3)) + { + return true; + } + if(checkArmorPiece(player, ModItems.schrabidium_helmet, 3)) + { + return true; + } + if(checkArmorPiece(player, ModItems.euphemium_helmet, 3)) + { + return true; + } + + return false; + } + + public static boolean checkConnectables(World world, int x, int y, int z) + { + TileEntity tileentity = world.getTileEntity(x, y, z); + if((tileentity != null && (tileentity instanceof IConductor || + tileentity instanceof IConsumer || + tileentity instanceof ISource)) || + world.getBlock(x, y, z) == ModBlocks.fusion_center || + world.getBlock(x, y, z) == ModBlocks.reactor_conductor || + world.getBlock(x, y, z) == ModBlocks.factory_titanium_conductor || + world.getBlock(x, y, z) == ModBlocks.factory_advanced_conductor || + world.getBlock(x, y, z) == ModBlocks.watz_conductor || + world.getBlock(x, y, z) == ModBlocks.fwatz_hatch || + world.getBlock(x, y, z) == ModBlocks.dummy_port_igenerator) + { + return true; + } + return false; + } + + public static boolean checkUnionList(List list, TileEntity that) { + + for(UnionOfTileEntitiesAndBooleans union : list) + { + if(union.source == that) + { + return true; + } + } + + return false; + } + + ////// ////// ////// ////// ////// //// ////// ////// ////// + // // // // // // // // // // // + //// ////// ///// // //// //// //// // // // // + // // // // // // // // // // // // // + ////// // // ///// // ////// // // ////// ////// ////// + + public static EntityLivingBase getClosestEntityForChopper(World world, double x, double y, double z, double radius) { + double d4 = -1.0D; + EntityLivingBase entityplayer = null; + + for (int i = 0; i < world.loadedEntityList.size(); ++i) { + if (world.loadedEntityList.get(i) instanceof EntityLivingBase && !(world.loadedEntityList.get(i) instanceof EntityHunterChopper)) { + EntityLivingBase entityplayer1 = (EntityLivingBase) world.loadedEntityList.get(i); + + if (entityplayer1.isEntityAlive() && !(entityplayer1 instanceof EntityPlayer && ((EntityPlayer)entityplayer1).capabilities.disableDamage)) { + double d5 = entityplayer1.getDistanceSq(x, y, z); + double d6 = radius; + + if (entityplayer1.isSneaking()) { + d6 = radius * 0.800000011920929D; + } + + if ((radius < 0.0D || d5 < d6 * d6) && (d4 == -1.0D || d5 < d4)) { + d4 = d5; + entityplayer = entityplayer1; + } + } + } + } + + return entityplayer; + } + + public static Item getItemByCode(int i) { + + if(i == 1337) + return ModItems.schrabidium_hammer; + if(i == 234) + return ModItems.euphemium_kit; + if(i == 69) + return ModItems.nuke_advanced_kit; + if(i == 34) + return ModItems.t45_kit; + + return null; + } + + public static EntityPlayer getClosestPlayerForSound(World world, double x, double y, double z, double radius) { + double d4 = -1.0D; + EntityPlayer entity = null; + + for (int i = 0; i < world.loadedEntityList.size(); ++i) { + Entity entityplayer1 = (Entity)world.loadedEntityList.get(i); + + if (entityplayer1.isEntityAlive() && entityplayer1 instanceof EntityPlayer) { + double d5 = entityplayer1.getDistanceSq(x, y, z); + double d6 = radius; + + if ((radius < 0.0D || d5 < d6 * d6) && (d4 == -1.0D || d5 < d4)) { + d4 = d5; + entity = (EntityPlayer)entityplayer1; + } + } + } + + return entity; + } + + public static EntityHunterChopper getClosestChopperForSound(World world, double x, double y, double z, double radius) { + double d4 = -1.0D; + EntityHunterChopper entity = null; + + for (int i = 0; i < world.loadedEntityList.size(); ++i) { + Entity entityplayer1 = (Entity)world.loadedEntityList.get(i); + + if (entityplayer1.isEntityAlive() && entityplayer1 instanceof EntityHunterChopper) { + double d5 = entityplayer1.getDistanceSq(x, y, z); + double d6 = radius; + + if ((radius < 0.0D || d5 < d6 * d6) && (d4 == -1.0D || d5 < d4)) { + d4 = d5; + entity = (EntityHunterChopper)entityplayer1; + } + } + } + + return entity; + } + + public static EntityChopperMine getClosestMineForSound(World world, double x, double y, double z, double radius) { + double d4 = -1.0D; + EntityChopperMine entity = null; + + for (int i = 0; i < world.loadedEntityList.size(); ++i) { + Entity entityplayer1 = (Entity)world.loadedEntityList.get(i); + + if (entityplayer1.isEntityAlive() && entityplayer1 instanceof EntityChopperMine) { + double d5 = entityplayer1.getDistanceSq(x, y, z); + double d6 = radius; + + if ((radius < 0.0D || d5 < d6 * d6) && (d4 == -1.0D || d5 < d4)) { + d4 = d5; + entity = (EntityChopperMine)entityplayer1; + } + } + } + + return entity; + } + + public static MovingObjectPosition rayTrace(EntityPlayer player, double d, float f) { + Vec3 vec3 = player.getPosition(f); + vec3.yCoord += player.eyeHeight; + Vec3 vec31 = player.getLook(f); + Vec3 vec32 = vec3.addVector(vec31.xCoord * d, vec31.yCoord * d, vec31.zCoord * d); + return player.worldObj.func_147447_a(vec3, vec32, false, false, true); + } + + public static List getBlockPosInPath(EntityPlayer player, int x, int y, int z, int length, Vec3 vec0) { + List list = new ArrayList(); + + for(int i = 0; i <= length; i++) { + list.add(new int[] { (int)(x + (vec0.xCoord * i)), y, (int)(z + (vec0.zCoord * i)), i }); + } + + return list; + } +} diff --git a/com/hbm/lib/ModDamageSource.java b/com/hbm/lib/ModDamageSource.java index 642612610..57fed6985 100644 --- a/com/hbm/lib/ModDamageSource.java +++ b/com/hbm/lib/ModDamageSource.java @@ -1,175 +1,188 @@ -package com.hbm.lib; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityCombineBall; -import com.hbm.entity.projectile.EntityDischarge; -import com.hbm.entity.projectile.EntityFire; -import com.hbm.entity.projectile.EntityLN2; -import com.hbm.entity.projectile.EntityPlasmaBeam; -import com.hbm.entity.projectile.EntityRainbow; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.projectile.EntityArrow; -import net.minecraft.util.DamageSource; -import net.minecraft.util.EntityDamageSourceIndirect; - -public class ModDamageSource extends DamageSource { - - public static DamageSource nuclearBlast = (new DamageSource("nuclearBlast")).setExplosion(); - public static DamageSource mudPoisoning = (new DamageSource("mudPoisoning")).setDamageBypassesArmor(); - public static DamageSource acid = (new DamageSource("acid")).setDamageBypassesArmor(); - public static DamageSource euthanizedSelf = (new DamageSource("euthanizedSelf")).setDamageBypassesArmor(); - public static DamageSource euthanizedSelf2 = (new DamageSource("euthanizedSelf2")).setDamageBypassesArmor(); - public static DamageSource tauBlast = (new DamageSource("tauBlast")).setDamageBypassesArmor(); - public static DamageSource radiation = (new DamageSource("radiation")).setDamageBypassesArmor(); - public static DamageSource suicide = (new DamageSource("suicide")).setProjectile(); -<<<<<<< HEAD - public static DamageSource teleporter = (new DamageSource("teleporter")).setDamageIsAbsolute(); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - public ModDamageSource(String p_i1566_1_) { - super(p_i1566_1_); - } - public static DamageSource causeBulletDamage(EntityBullet p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("revolverBullet", p_76353_0_, p_76353_1_)).setProjectile(); - } - public static DamageSource causeDisplacementDamage(EntityBullet p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("chopperBullet", p_76353_0_, p_76353_1_)).setProjectile(); - } - public static DamageSource causeTauDamage(EntityBullet p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("tau", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); - } - public static DamageSource causeCombineDamage(EntityCombineBall p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("cmb", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); - } - public static DamageSource causeSubatomicDamage(EntityRainbow p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("subAtomic", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); - } - public static DamageSource causeSubatomicDamage2(EntityRainbow p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("subAtomic2", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); - } - public static DamageSource causeSubatomicDamage3(EntityRainbow p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("subAtomic3", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); - } - public static DamageSource causeSubatomicDamage4(EntityRainbow p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("subAtomic4", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); - } - public static DamageSource causeSubatomicDamage5(EntityRainbow p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("subAtomic5", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); - } - public static DamageSource euthanized(Entity p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("euthanized", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); - } - public static DamageSource causeDischargeDamage(EntityDischarge p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("electrified", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); - } - public static DamageSource causeFireDamage(EntityFire p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("flamethrower", p_76353_0_, p_76353_1_)).setFireDamage().setDamageBypassesArmor(); - } - public static DamageSource causePlasmaDamage(EntityPlasmaBeam p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("plasma", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); - } - public static DamageSource causeIceDamage(EntityLN2 p_76353_0_, Entity p_76353_1_) - { - return (new EntityDamageSourceIndirect("ice", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); - } - - public static boolean getIsBullet(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("revolverBullet"); - } - return false; - } - - public static boolean getIsEmplacer(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("chopperBullet"); - } - return false; - } - - public static boolean getIsTau(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("tau"); - } - return false; - } - - public static boolean getIsPoison(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("euthanized"); - } - return false; - } - - public static boolean getIsCmb(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("cmb"); - } - return false; - } - - public static boolean getIsSubatomic(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - String s = ((EntityDamageSourceIndirect)source).damageType; - return s.equals("subAtomic") || s.equals("subAtomic2") || s.equals("subAtomic3") || s.equals("subAtomic4") || s.equals("subAtomic5"); -<<<<<<< HEAD - } - return false; - } - - public static boolean getIsDischarge(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("electrified"); - } - return false; - } - - public static boolean getIsFire(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("flamethrower"); - } - return false; - } - - public static boolean getIsPlasma(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("plasma"); - } - return false; - } - - public static boolean getIsLiquidNitrogen(DamageSource source) { - if(source instanceof EntityDamageSourceIndirect) - { - return ((EntityDamageSourceIndirect)source).damageType.equals("ice"); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - } - return false; - } - -} +package com.hbm.lib; + +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityCombineBall; +import com.hbm.entity.projectile.EntityDischarge; +import com.hbm.entity.projectile.EntityFire; +import com.hbm.entity.projectile.EntityLN2; +import com.hbm.entity.projectile.EntityLaserBeam; +import com.hbm.entity.projectile.EntityMinerBeam; +import com.hbm.entity.projectile.EntityPlasmaBeam; +import com.hbm.entity.projectile.EntityRainbow; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.projectile.EntityArrow; +import net.minecraft.util.DamageSource; +import net.minecraft.util.EntityDamageSourceIndirect; + +public class ModDamageSource extends DamageSource { + + public static DamageSource nuclearBlast = (new DamageSource("nuclearBlast")).setExplosion(); + public static DamageSource mudPoisoning = (new DamageSource("mudPoisoning")).setDamageBypassesArmor(); + public static DamageSource acid = (new DamageSource("acid")).setDamageBypassesArmor(); + public static DamageSource euthanizedSelf = (new DamageSource("euthanizedSelf")).setDamageBypassesArmor(); + public static DamageSource euthanizedSelf2 = (new DamageSource("euthanizedSelf2")).setDamageBypassesArmor(); + public static DamageSource tauBlast = (new DamageSource("tauBlast")).setDamageBypassesArmor(); + public static DamageSource radiation = (new DamageSource("radiation")).setDamageBypassesArmor(); + public static DamageSource suicide = (new DamageSource("suicide")).setProjectile(); + public static DamageSource teleporter = (new DamageSource("teleporter")).setDamageIsAbsolute(); + public static DamageSource cheater = (new DamageSource("cheater")).setDamageIsAbsolute().setDamageBypassesArmor().setDamageAllowedInCreativeMode(); + + public ModDamageSource(String p_i1566_1_) { + super(p_i1566_1_); + } + public static DamageSource causeBulletDamage(EntityBullet p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("revolverBullet", p_76353_0_, p_76353_1_)).setProjectile(); + } + public static DamageSource causeDisplacementDamage(EntityBullet p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("chopperBullet", p_76353_0_, p_76353_1_)).setProjectile(); + } + public static DamageSource causeTauDamage(EntityBullet p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("tau", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); + } + public static DamageSource causeCombineDamage(EntityCombineBall p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("cmb", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); + } + public static DamageSource causeSubatomicDamage(EntityRainbow p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("subAtomic", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); + } + public static DamageSource causeSubatomicDamage2(EntityRainbow p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("subAtomic2", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); + } + public static DamageSource causeSubatomicDamage3(EntityRainbow p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("subAtomic3", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); + } + public static DamageSource causeSubatomicDamage4(EntityRainbow p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("subAtomic4", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); + } + public static DamageSource causeSubatomicDamage5(EntityRainbow p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("subAtomic5", p_76353_0_, p_76353_1_)).setProjectile().setDamageBypassesArmor(); + } + public static DamageSource euthanized(Entity p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("euthanized", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); + } + public static DamageSource causeDischargeDamage(EntityDischarge p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("electrified", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); + } + public static DamageSource causeFireDamage(EntityFire p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("flamethrower", p_76353_0_, p_76353_1_)).setFireDamage().setDamageBypassesArmor(); + } + public static DamageSource causePlasmaDamage(EntityPlasmaBeam p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("plasma", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); + } + public static DamageSource causeIceDamage(EntityLN2 p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("ice", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); + } + public static DamageSource causeLaserDamage(EntityLaserBeam p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("laser", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); + } + public static DamageSource causeLaserDamage(EntityMinerBeam p_76353_0_, Entity p_76353_1_) + { + return (new EntityDamageSourceIndirect("laser", p_76353_0_, p_76353_1_)).setDamageBypassesArmor(); + } + + public static boolean getIsBullet(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("revolverBullet"); + } + return false; + } + + public static boolean getIsEmplacer(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("chopperBullet"); + } + return false; + } + + public static boolean getIsTau(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("tau"); + } + return false; + } + + public static boolean getIsPoison(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("euthanized"); + } + return false; + } + + public static boolean getIsCmb(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("cmb"); + } + return false; + } + + public static boolean getIsSubatomic(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + String s = ((EntityDamageSourceIndirect)source).damageType; + return s.equals("subAtomic") || s.equals("subAtomic2") || s.equals("subAtomic3") || s.equals("subAtomic4") || s.equals("subAtomic5"); + } + return false; + } + + public static boolean getIsDischarge(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("electrified"); + } + return false; + } + + public static boolean getIsFire(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("flamethrower"); + } + return false; + } + + public static boolean getIsPlasma(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("plasma"); + } + return false; + } + + public static boolean getIsLiquidNitrogen(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("ice"); + } + return false; + } + + public static boolean getIsLaser(DamageSource source) { + if(source instanceof EntityDamageSourceIndirect) + { + return ((EntityDamageSourceIndirect)source).damageType.equals("laser"); + } + return false; + } + +} diff --git a/com/hbm/lib/RefStrings.java b/com/hbm/lib/RefStrings.java index 7f0659f5e..5ea3280b0 100644 --- a/com/hbm/lib/RefStrings.java +++ b/com/hbm/lib/RefStrings.java @@ -1,17 +1,9 @@ -package com.hbm.lib; - -public class RefStrings { - public static final String MODID = "hbm"; - public static final String NAME = "Hbm's Nuclear Tech Mod"; -<<<<<<< HEAD - public static final String VERSION = "1.0.22"; -======= -<<<<<<< HEAD - public static final String VERSION = "1.0.23"; -======= - public static final String VERSION = "1.0.22"; ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - public static final String CLIENTSIDE = "com.hbm.main.ClientProxy"; - public static final String SERVERSIDE = "com.hbm.main.ServerProxy"; -} +package com.hbm.lib; + +public class RefStrings { + public static final String MODID = "hbm"; + public static final String NAME = "Hbm's Nuclear Tech Mod"; + public static final String VERSION = "1.0.24 Beta (V-Tennessine-Lyra), change before release"; + public static final String CLIENTSIDE = "com.hbm.main.ClientProxy"; + public static final String SERVERSIDE = "com.hbm.main.ServerProxy"; +} diff --git a/com/hbm/main/ClientProxy.java b/com/hbm/main/ClientProxy.java index 383301a68..c7615d59e 100644 --- a/com/hbm/main/ClientProxy.java +++ b/com/hbm/main/ClientProxy.java @@ -1,516 +1,426 @@ -package com.hbm.main; - -import net.minecraft.client.renderer.entity.RenderSnowball; -import net.minecraft.item.Item; -import net.minecraftforge.client.MinecraftForgeClient; -import net.minecraftforge.common.MinecraftForge; - -import com.hbm.blocks.ModBlocks; -<<<<<<< HEAD -import com.hbm.entity.effect.EntityCloudFleija; -import com.hbm.entity.effect.EntityEMPBlast; -import com.hbm.entity.effect.EntityFalloutRain; -import com.hbm.entity.effect.EntityNukeCloudBig; -import com.hbm.entity.effect.EntityNukeCloudNoShroom; -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.grenade.EntityGrenadeASchrab; -import com.hbm.entity.grenade.EntityGrenadeCluster; -import com.hbm.entity.grenade.EntityGrenadeElectric; -import com.hbm.entity.grenade.EntityGrenadeFire; -import com.hbm.entity.grenade.EntityGrenadeFlare; -import com.hbm.entity.grenade.EntityGrenadeFrag; -import com.hbm.entity.grenade.EntityGrenadeGas; -import com.hbm.entity.grenade.EntityGrenadeGeneric; -import com.hbm.entity.grenade.EntityGrenadeLemon; -import com.hbm.entity.grenade.EntityGrenadeMk2; -import com.hbm.entity.grenade.EntityGrenadeNuclear; -import com.hbm.entity.grenade.EntityGrenadeNuke; -import com.hbm.entity.grenade.EntityGrenadePlasma; -import com.hbm.entity.grenade.EntityGrenadePoison; -import com.hbm.entity.grenade.EntityGrenadeSchrabidium; -import com.hbm.entity.grenade.EntityGrenadeStrong; -import com.hbm.entity.grenade.EntityGrenadeTau; -import com.hbm.entity.grenade.EntityGrenadeZOMG; -import com.hbm.entity.missile.EntityMIRV; -import com.hbm.entity.missile.EntityMissileAntiBallistic; -import com.hbm.entity.missile.EntityMissileBunkerBuster; -import com.hbm.entity.missile.EntityMissileBurst; -import com.hbm.entity.missile.EntityMissileBusterStrong; -import com.hbm.entity.missile.EntityMissileCluster; -import com.hbm.entity.missile.EntityMissileClusterStrong; -import com.hbm.entity.missile.EntityMissileDrill; -import com.hbm.entity.missile.EntityMissileEndo; -import com.hbm.entity.missile.EntityMissileExo; -import com.hbm.entity.missile.EntityMissileGeneric; -import com.hbm.entity.missile.EntityMissileIncendiary; -import com.hbm.entity.missile.EntityMissileIncendiaryStrong; -import com.hbm.entity.missile.EntityMissileInferno; -import com.hbm.entity.missile.EntityMissileMirv; -import com.hbm.entity.missile.EntityMissileNuclear; -import com.hbm.entity.missile.EntityMissileRain; -import com.hbm.entity.missile.EntityMissileStrong; -import com.hbm.entity.missile.EntityTestMissile; -import com.hbm.entity.mob.EntityHunterChopper; -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.entity.particle.EntityBSmokeFX; -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.entity.projectile.EntityBaleflare; -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityChopperMine; -import com.hbm.entity.projectile.EntityCombineBall; -import com.hbm.entity.projectile.EntityDischarge; -import com.hbm.entity.projectile.EntityFire; -import com.hbm.entity.projectile.EntityLN2; -import com.hbm.entity.projectile.EntityMiniMIRV; -import com.hbm.entity.projectile.EntityMiniNuke; -import com.hbm.entity.projectile.EntityPlasmaBeam; -import com.hbm.entity.projectile.EntityRainbow; -import com.hbm.entity.projectile.EntityRocket; -import com.hbm.entity.projectile.EntitySchrab; -import com.hbm.items.ModItems; -import com.hbm.render.entity.BSmokeRenderer; -import com.hbm.render.entity.ElectricityRenderer; -import com.hbm.render.entity.ModEffectRenderer; -import com.hbm.render.entity.RenderBaleflare; -import com.hbm.render.entity.RenderBeam; -import com.hbm.render.entity.RenderBigNuke; -import com.hbm.render.entity.RenderChopperMine; -import com.hbm.render.entity.RenderCloudFleija; -import com.hbm.render.entity.RenderEMPBlast; -import com.hbm.render.entity.RenderFallout; -import com.hbm.render.entity.RenderFireball; -import com.hbm.render.entity.RenderFlare; -import com.hbm.render.entity.RenderHunterChopper; -import com.hbm.render.entity.RenderLN2; -import com.hbm.render.entity.RenderMiniMIRV; -import com.hbm.render.entity.RenderMiniNuke; -import com.hbm.render.entity.RenderMirv; -import com.hbm.render.entity.RenderMissileGeneric; -import com.hbm.render.entity.RenderMissileHuge; -import com.hbm.render.entity.RenderMissileMirv; -import com.hbm.render.entity.RenderMissileNuclear; -import com.hbm.render.entity.RenderMissileStrong; -import com.hbm.render.entity.RenderMissileThermo; -import com.hbm.render.entity.RenderNoCloud; -import com.hbm.render.entity.RenderNuclearCreeper; -import com.hbm.render.entity.RenderRainbow; -import com.hbm.render.entity.RenderRocket; -import com.hbm.render.entity.RenderSmallNukeAlt; -import com.hbm.render.item.ItemRenderBFLauncher; -import com.hbm.render.item.ItemRenderBaleflare; -import com.hbm.render.item.ItemRenderBigSword; -import com.hbm.render.item.ItemRenderCryolator; -import com.hbm.render.item.ItemRenderDecoBlock; -import com.hbm.render.item.ItemRenderEMPRay; -import com.hbm.render.item.ItemRenderFatMan; -import com.hbm.render.item.ItemRenderImmolator; -import com.hbm.render.item.ItemRenderMIRV; -import com.hbm.render.item.ItemRenderMIRVLauncher; -import com.hbm.render.item.ItemRenderMP; -import com.hbm.render.item.ItemRenderMP40; -import com.hbm.render.item.ItemRenderMiniNuke; -import com.hbm.render.item.ItemRenderOSIPR; -import com.hbm.render.item.ItemRenderPoleTop; -import com.hbm.render.item.ItemRenderRedstoneSword; -import com.hbm.render.item.ItemRenderRevolver; -import com.hbm.render.item.ItemRenderRevolverCursed; -import com.hbm.render.item.ItemRenderRevolverGold; -import com.hbm.render.item.ItemRenderRevolverInverted; -import com.hbm.render.item.ItemRenderRevolverIron; -import com.hbm.render.item.ItemRenderRevolverLead; -import com.hbm.render.item.ItemRenderRevolverSchrabidium; -import com.hbm.render.item.ItemRenderRocket; -import com.hbm.render.item.ItemRenderRpg; -import com.hbm.render.item.ItemRenderSatelliteReceiver; -import com.hbm.render.item.ItemRenderSteelPoles; -import com.hbm.render.item.ItemRenderTapeRecorder; -import com.hbm.render.item.ItemRenderTestBombAdvanced; -import com.hbm.render.item.ItemRenderTestContainer; -import com.hbm.render.item.ItemRenderXVL1456; -import com.hbm.render.item.ItemRenderZOMG; -import com.hbm.render.tileentity.RenderBombMulti; -import com.hbm.render.tileentity.RenderCable; -import com.hbm.render.tileentity.RenderCentrifuge; -import com.hbm.render.tileentity.RenderCrashedBomb; -import com.hbm.render.tileentity.RenderDecoBlock; -import com.hbm.render.tileentity.RenderDecoBlockAlt; -import com.hbm.render.tileentity.RenderLaunchPadTier1; -import com.hbm.render.tileentity.RenderNukeBoy; -import com.hbm.render.tileentity.RenderNukeFleija; -import com.hbm.render.tileentity.RenderNukeGadget; -import com.hbm.render.tileentity.RenderNukeMan; -import com.hbm.render.tileentity.RenderNukeMike; -import com.hbm.render.tileentity.RenderNukePrototype; -import com.hbm.render.tileentity.RenderNukeTsar; -import com.hbm.render.tileentity.RenderPoleSatelliteReceiver; -import com.hbm.render.tileentity.RenderPoleTop; -import com.hbm.render.tileentity.RenderPuF6Tank; -import com.hbm.render.tileentity.RenderRedBarrel; -import com.hbm.render.tileentity.RenderRotationTester; -import com.hbm.render.tileentity.RenderSteelPoles; -import com.hbm.render.tileentity.RenderTapeRecorder; -import com.hbm.render.tileentity.RenderTestBombAdvanced; -import com.hbm.render.tileentity.RenderTestContainer; -import com.hbm.render.tileentity.RenderTestMissile; -import com.hbm.render.tileentity.RenderTestRender; -import com.hbm.render.tileentity.RenderUF6Tank; -import com.hbm.render.tileentity.RenderYellowBarrel; -import com.hbm.render.tileentity.RendererObjTester; -======= -import com.hbm.entity.EntityBullet; -import com.hbm.entity.EntityChopperMine; -import com.hbm.entity.EntityCloudFleija; -import com.hbm.entity.EntityCombineBall; -<<<<<<< HEAD -import com.hbm.entity.EntityFalloutRain; -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 -import com.hbm.entity.EntityGrenadeASchrab; -import com.hbm.entity.EntityGrenadeCluster; -import com.hbm.entity.EntityGrenadeElectric; -import com.hbm.entity.EntityGrenadeFire; -import com.hbm.entity.EntityGrenadeFlare; -import com.hbm.entity.EntityGrenadeFrag; -import com.hbm.entity.EntityGrenadeGas; -import com.hbm.entity.EntityGrenadeGeneric; -import com.hbm.entity.EntityGrenadeLemon; -import com.hbm.entity.EntityGrenadeMk2; -import com.hbm.entity.EntityGrenadeNuclear; -import com.hbm.entity.EntityGrenadeNuke; -import com.hbm.entity.EntityGrenadePlasma; -import com.hbm.entity.EntityGrenadePoison; -import com.hbm.entity.EntityGrenadeSchrabidium; -import com.hbm.entity.EntityGrenadeStrong; -import com.hbm.entity.EntityGrenadeTau; -import com.hbm.entity.EntityGrenadeZOMG; -import com.hbm.entity.EntityHunterChopper; -import com.hbm.entity.EntityMiniNuke; -import com.hbm.entity.EntityMirv; -import com.hbm.entity.EntityMissileAntiBallistic; -import com.hbm.entity.EntityMissileBunkerBuster; -import com.hbm.entity.EntityMissileBurst; -import com.hbm.entity.EntityMissileBusterStrong; -import com.hbm.entity.EntityMissileCluster; -import com.hbm.entity.EntityMissileClusterStrong; -import com.hbm.entity.EntityMissileDrill; -import com.hbm.entity.EntityMissileEndo; -import com.hbm.entity.EntityMissileExo; -import com.hbm.entity.EntityMissileGeneric; -import com.hbm.entity.EntityMissileIncendiary; -import com.hbm.entity.EntityMissileIncendiaryStrong; -import com.hbm.entity.EntityMissileInferno; -import com.hbm.entity.EntityMissileMirv; -import com.hbm.entity.EntityMissileNuclear; -import com.hbm.entity.EntityMissileRain; -import com.hbm.entity.EntityMissileStrong; -import com.hbm.entity.EntityNuclearCreeper; -import com.hbm.entity.EntityNukeCloudBig; -import com.hbm.entity.EntityNukeCloudNoShroom; -import com.hbm.entity.EntityNukeCloudSmall; -import com.hbm.entity.EntityRainbow; -import com.hbm.entity.EntityRocket; -import com.hbm.entity.EntitySchrab; -import com.hbm.entity.EntityTestMissile; -import com.hbm.items.ModItems; -import com.hbm.particles.EntityBSmokeFX; -import com.hbm.particles.EntitySmokeFX; -import com.hbm.render.ItemRenderRevolverCursed; -import com.hbm.render.ItemRenderRevolverIron; -import com.hbm.render.ItemRenderRevolverLead; -import com.hbm.render.BSmokeRenderer; -import com.hbm.render.ItemRenderBigSword; -import com.hbm.render.ItemRenderDecoBlock; -import com.hbm.render.ItemRenderFatMan; -import com.hbm.render.ItemRenderMP; -import com.hbm.render.ItemRenderMiniNuke; -import com.hbm.render.ItemRenderOSIPR; -import com.hbm.render.ItemRenderPoleTop; -import com.hbm.render.ItemRenderRedstoneSword; -import com.hbm.render.ItemRenderRevolver; -import com.hbm.render.ItemRenderRevolverGold; -import com.hbm.render.ItemRenderRevolverInverted; -import com.hbm.render.ItemRenderRevolverSchrabidium; -import com.hbm.render.ItemRenderRocket; -import com.hbm.render.ItemRenderRpg; -import com.hbm.render.ItemRenderSatelliteReceiver; -import com.hbm.render.ItemRenderSteelPoles; -import com.hbm.render.ItemRenderTapeRecorder; -import com.hbm.render.ItemRenderTestBombAdvanced; -import com.hbm.render.ItemRenderTestContainer; -import com.hbm.render.ItemRenderXVL1456; -import com.hbm.render.ItemRenderZOMG; -import com.hbm.render.ModEffectRenderer; -import com.hbm.render.RenderBigNuke; -import com.hbm.render.RenderBombMulti; -import com.hbm.render.RenderCable; -import com.hbm.render.RenderCentrifuge; -import com.hbm.render.RenderChopperMine; -import com.hbm.render.RenderCloudFleija; -import com.hbm.render.RenderCrashedBomb; -import com.hbm.render.RenderDecoBlock; -import com.hbm.render.RenderDecoBlockAlt; -import com.hbm.render.RenderFallout; -import com.hbm.render.RenderFlare; -import com.hbm.render.RenderHunterChopper; -import com.hbm.render.RenderLaunchPadTier1; -import com.hbm.render.RenderMiniNuke; -import com.hbm.render.RenderMirv; -import com.hbm.render.RenderMissileGeneric; -import com.hbm.render.RenderMissileHuge; -import com.hbm.render.RenderMissileMirv; -import com.hbm.render.RenderMissileNuclear; -import com.hbm.render.RenderMissileStrong; -import com.hbm.render.RenderMissileThermo; -import com.hbm.render.RenderNoCloud; -import com.hbm.render.RenderNuclearCreeper; -import com.hbm.render.RenderNukeBoy; -import com.hbm.render.RenderNukeFleija; -import com.hbm.render.RenderNukeGadget; -import com.hbm.render.RenderNukeMan; -import com.hbm.render.RenderNukeMike; -import com.hbm.render.RenderNukePrototype; -import com.hbm.render.RenderNukeTsar; -import com.hbm.render.RenderPoleSatelliteReceiver; -import com.hbm.render.RenderPoleTop; -import com.hbm.render.RenderPuF6Tank; -import com.hbm.render.RenderRainbow; -import com.hbm.render.RenderRedBarrel; -import com.hbm.render.RenderRocket; -import com.hbm.render.RenderRotationTester; -import com.hbm.render.RenderSmallNukeAlt; -import com.hbm.render.RenderSteelPoles; -import com.hbm.render.RenderTapeRecorder; -import com.hbm.render.RenderTestBombAdvanced; -import com.hbm.render.RenderTestContainer; -import com.hbm.render.RenderTestMissile; -import com.hbm.render.RenderTestRender; -import com.hbm.render.RenderUF6Tank; -import com.hbm.render.RenderYellowBarrel; -import com.hbm.render.RendererObjTester; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.tileentity.TileEntityBombMulti; -import com.hbm.tileentity.TileEntityCable; -import com.hbm.tileentity.TileEntityCrashedBomb; -import com.hbm.tileentity.TileEntityDecoBlock; -import com.hbm.tileentity.TileEntityDecoBlockAlt; -import com.hbm.tileentity.TileEntityDecoBlockAltF; -import com.hbm.tileentity.TileEntityDecoBlockAltG; -import com.hbm.tileentity.TileEntityDecoBlockAltW; -import com.hbm.tileentity.TileEntityDecoPoleSatelliteReceiver; -import com.hbm.tileentity.TileEntityDecoPoleTop; -import com.hbm.tileentity.TileEntityDecoSteelPoles; -import com.hbm.tileentity.TileEntityDecoTapeRecorder; -import com.hbm.tileentity.TileEntityLaunchPad; -import com.hbm.tileentity.TileEntityMachineCentrifuge; -import com.hbm.tileentity.TileEntityMachinePuF6Tank; -import com.hbm.tileentity.TileEntityMachineUF6Tank; -import com.hbm.tileentity.TileEntityNukeBoy; -import com.hbm.tileentity.TileEntityNukeFleija; -import com.hbm.tileentity.TileEntityNukeGadget; -import com.hbm.tileentity.TileEntityNukeMan; -import com.hbm.tileentity.TileEntityNukeMike; -import com.hbm.tileentity.TileEntityNukePrototype; -import com.hbm.tileentity.TileEntityNukeTsar; -import com.hbm.tileentity.TileEntityObjTester; -import com.hbm.tileentity.TileEntityRedBarrel; -import com.hbm.tileentity.TileEntityRotationTester; -import com.hbm.tileentity.TileEntityTestBombAdvanced; -import com.hbm.tileentity.TileEntityTestContainer; -import com.hbm.tileentity.TileEntityTestRender; -import com.hbm.tileentity.TileEntityYellowBarrel; - -import cpw.mods.fml.client.registry.ClientRegistry; -import cpw.mods.fml.client.registry.RenderingRegistry; - -public class ClientProxy extends ServerProxy -{ - @Override - public void registerRenderInfo() - { - MinecraftForge.EVENT_BUS.register(new ModEventHandlerClient()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTestRender.class, new RenderTestRender()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTestContainer.class, new RenderTestContainer()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.test_container), new ItemRenderTestContainer()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTestBombAdvanced.class, new RenderTestBombAdvanced()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.test_bomb_advanced), new ItemRenderTestBombAdvanced()); - - MinecraftForgeClient.registerItemRenderer(ModItems.redstone_sword, new ItemRenderRedstoneSword()); - MinecraftForgeClient.registerItemRenderer(ModItems.big_sword, new ItemRenderBigSword()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityRotationTester.class, new RenderRotationTester()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityObjTester.class, new RendererObjTester()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeGadget.class, new RenderNukeGadget()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeBoy.class, new RenderNukeBoy()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachineCentrifuge.class, new RenderCentrifuge()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeMan.class, new RenderNukeMan()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachineUF6Tank.class, new RenderUF6Tank()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachinePuF6Tank.class, new RenderPuF6Tank()); - - //RenderingRegistry.registerEntityRenderingHandler(EntityRocket.class, new RenderRocket()); - RenderingRegistry.registerEntityRenderingHandler(EntityRocket.class, new RenderSnowball(ModItems.man_core)); - - MinecraftForgeClient.registerItemRenderer(ModItems.gun_rpg, new ItemRenderRpg()); - //MinecraftForgeClient.registerItemRenderer(ModItems.gun_rpg_ammo, new ItemRenderRocket()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBombMulti.class, new RenderBombMulti()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeMike.class, new RenderNukeMike()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeTsar.class, new RenderNukeTsar()); - - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeGeneric.class, new RenderSnowball(ModItems.grenade_generic)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeStrong.class, new RenderSnowball(ModItems.grenade_strong)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeFrag.class, new RenderSnowball(ModItems.grenade_frag)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeFire.class, new RenderSnowball(ModItems.grenade_fire)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeCluster.class, new RenderSnowball(ModItems.grenade_cluster)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeFlare.class, new RenderFlare()); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeElectric.class, new RenderSnowball(ModItems.grenade_electric)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadePoison.class, new RenderSnowball(ModItems.grenade_poison)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeGas.class, new RenderSnowball(ModItems.grenade_gas)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeSchrabidium.class, new RenderSnowball(ModItems.grenade_schrabidium)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeNuke.class, new RenderSnowball(ModItems.grenade_nuke)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeNuclear.class, new RenderSnowball(ModItems.grenade_nuclear)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadePlasma.class, new RenderSnowball(ModItems.grenade_plasma)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeTau.class, new RenderSnowball(ModItems.grenade_tau)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeLemon.class, new RenderSnowball(ModItems.grenade_lemon)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeMk2.class, new RenderSnowball(ModItems.grenade_mk2)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeZOMG.class, new RenderSnowball(ModItems.grenade_zomg)); - RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeASchrab.class, new RenderSnowball(ModItems.grenade_aschrab)); - - RenderingRegistry.registerEntityRenderingHandler(EntitySchrab.class, new RenderFlare()); - - RenderingRegistry.registerEntityRenderingHandler(EntityTestMissile.class, new RenderTestMissile()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeFleija.class, new RenderNukeFleija()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCrashedBomb.class, new RenderCrashedBomb()); - - RenderingRegistry.registerEntityRenderingHandler(EntityNukeCloudSmall.class, new RenderSmallNukeAlt()); - RenderingRegistry.registerEntityRenderingHandler(EntityNukeCloudBig.class, new RenderBigNuke()); - RenderingRegistry.registerEntityRenderingHandler(EntityCloudFleija.class, new RenderCloudFleija()); - RenderingRegistry.registerEntityRenderingHandler(EntityNukeCloudNoShroom.class, new RenderNoCloud()); -<<<<<<< HEAD - RenderingRegistry.registerEntityRenderingHandler(EntityFalloutRain.class, new RenderFallout()); -======= -<<<<<<< HEAD - RenderingRegistry.registerEntityRenderingHandler(EntityFalloutRain.class, new RenderFallout()); -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoTapeRecorder.class, new RenderTapeRecorder()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoSteelPoles.class, new RenderSteelPoles()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoPoleTop.class, new RenderPoleTop()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoPoleSatelliteReceiver.class, new RenderPoleSatelliteReceiver()); - - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.tape_recorder), new ItemRenderTapeRecorder()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_poles), new ItemRenderSteelPoles()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.pole_top), new ItemRenderPoleTop()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.pole_satellite_receiver), new ItemRenderSatelliteReceiver()); - - MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver, new ItemRenderRevolver()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_iron, new ItemRenderRevolverIron()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_gold, new ItemRenderRevolverGold()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_lead, new ItemRenderRevolverLead()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_schrabidium, new ItemRenderRevolverSchrabidium()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_cursed, new ItemRenderRevolverCursed()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_fatman, new ItemRenderFatMan()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_mirv, new ItemRenderMIRVLauncher()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_bf, new ItemRenderBFLauncher()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_xvl1456, new ItemRenderXVL1456()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_zomg, new ItemRenderZOMG()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_osipr, new ItemRenderOSIPR()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_mp, new ItemRenderMP()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_inverted, new ItemRenderRevolverInverted()); -<<<<<<< HEAD - MinecraftForgeClient.registerItemRenderer(ModItems.gun_mp40, new ItemRenderMP40()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_emp, new ItemRenderEMPRay()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_immolator, new ItemRenderImmolator()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_cryolator, new ItemRenderCryolator()); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - RenderingRegistry.registerEntityRenderingHandler(EntityBullet.class, new RenderRocket()); - RenderingRegistry.registerEntityRenderingHandler(EntityMiniNuke.class, new RenderMiniNuke()); - RenderingRegistry.registerEntityRenderingHandler(EntityMiniMIRV.class, new RenderMiniMIRV()); - RenderingRegistry.registerEntityRenderingHandler(EntityBaleflare.class, new RenderBaleflare()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_fatman_ammo, new ItemRenderMiniNuke()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_mirv_ammo, new ItemRenderMIRV()); - MinecraftForgeClient.registerItemRenderer(ModItems.gun_bf_ammo, new ItemRenderBaleflare()); - RenderingRegistry.registerEntityRenderingHandler(EntityRainbow.class, new RenderRainbow()); - RenderingRegistry.registerEntityRenderingHandler(EntityFire.class, new RenderFireball(ModItems.energy_ball)); - RenderingRegistry.registerEntityRenderingHandler(EntityPlasmaBeam.class, new RenderBeam()); - RenderingRegistry.registerEntityRenderingHandler(EntityLN2.class, new RenderLN2(ModItems.energy_ball)); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukePrototype.class, new RenderNukePrototype()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityRedBarrel.class, new RenderRedBarrel()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityYellowBarrel.class, new RenderYellowBarrel()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityLaunchPad.class, new RenderLaunchPadTier1()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCable.class, new RenderCable()); - - RenderingRegistry.registerEntityRenderingHandler(EntityMissileGeneric.class, new RenderMissileGeneric()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileAntiBallistic.class, new RenderMissileGeneric()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileIncendiary.class, new RenderMissileGeneric()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileCluster.class, new RenderMissileGeneric()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileBunkerBuster.class, new RenderMissileGeneric()); - - RenderingRegistry.registerEntityRenderingHandler(EntityMissileStrong.class, new RenderMissileStrong()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileIncendiaryStrong.class, new RenderMissileStrong()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileClusterStrong.class, new RenderMissileStrong()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileBusterStrong.class, new RenderMissileStrong()); - - RenderingRegistry.registerEntityRenderingHandler(EntityMissileBurst.class, new RenderMissileHuge()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileInferno.class, new RenderMissileHuge()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileRain.class, new RenderMissileHuge()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileDrill.class, new RenderMissileHuge()); - - RenderingRegistry.registerEntityRenderingHandler(EntityMissileNuclear.class, new RenderMissileNuclear()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileMirv.class, new RenderMissileMirv()); - RenderingRegistry.registerEntityRenderingHandler(EntityMIRV.class, new RenderMirv()); - - RenderingRegistry.registerEntityRenderingHandler(EntityMissileEndo.class, new RenderMissileThermo()); - RenderingRegistry.registerEntityRenderingHandler(EntityMissileExo.class, new RenderMissileThermo()); - - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlock.class, new RenderDecoBlock()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlockAlt.class, new RenderDecoBlockAlt()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlockAltG.class, new RenderDecoBlockAlt()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlockAltW.class, new RenderDecoBlockAlt()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlockAltF.class, new RenderDecoBlockAlt()); - - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_wall), new ItemRenderDecoBlock()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_corner), new ItemRenderDecoBlock()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_roof), new ItemRenderDecoBlock()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_beam), new ItemRenderDecoBlock()); - MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_scaffold), new ItemRenderDecoBlock()); - - RenderingRegistry.registerEntityRenderingHandler(EntityNuclearCreeper.class, new RenderNuclearCreeper()); - RenderingRegistry.registerEntityRenderingHandler(EntityHunterChopper.class, new RenderHunterChopper()); - - RenderingRegistry.registerEntityRenderingHandler(EntityChopperMine.class, new RenderChopperMine()); - - RenderingRegistry.registerEntityRenderingHandler(EntitySmokeFX.class, new ModEffectRenderer(ModItems.nuclear_waste)); - RenderingRegistry.registerEntityRenderingHandler(EntityBSmokeFX.class, new BSmokeRenderer(ModItems.nuclear_waste)); - RenderingRegistry.registerEntityRenderingHandler(EntityCombineBall.class, new RenderSnowball(ModItems.energy_ball)); - RenderingRegistry.registerEntityRenderingHandler(EntityDischarge.class, new ElectricityRenderer(ModItems.discharge)); - RenderingRegistry.registerEntityRenderingHandler(EntityEMPBlast.class, new RenderEMPBlast()); - - RenderingRegistry.addNewArmourRendererPrefix("5"); - RenderingRegistry.addNewArmourRendererPrefix("6"); - RenderingRegistry.addNewArmourRendererPrefix("7"); - RenderingRegistry.addNewArmourRendererPrefix("8"); - RenderingRegistry.addNewArmourRendererPrefix("9"); - } - - @Override - public void registerTileEntitySpecialRenderer() { - - } -} - +package com.hbm.main; + +import net.minecraft.client.renderer.entity.RenderSnowball; +import net.minecraft.item.Item; +import net.minecraftforge.client.MinecraftForgeClient; +import net.minecraftforge.common.MinecraftForge; + +import com.hbm.blocks.ModBlocks; +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.effect.EntityEMPBlast; +import com.hbm.entity.effect.EntityFalloutRain; +import com.hbm.entity.effect.EntityNukeCloudBig; +import com.hbm.entity.effect.EntityNukeCloudNoShroom; +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.grenade.EntityGrenadeASchrab; +import com.hbm.entity.grenade.EntityGrenadeCluster; +import com.hbm.entity.grenade.EntityGrenadeElectric; +import com.hbm.entity.grenade.EntityGrenadeFire; +import com.hbm.entity.grenade.EntityGrenadeFlare; +import com.hbm.entity.grenade.EntityGrenadeFrag; +import com.hbm.entity.grenade.EntityGrenadeGas; +import com.hbm.entity.grenade.EntityGrenadeGeneric; +import com.hbm.entity.grenade.EntityGrenadeLemon; +import com.hbm.entity.grenade.EntityGrenadeMk2; +import com.hbm.entity.grenade.EntityGrenadeNuclear; +import com.hbm.entity.grenade.EntityGrenadeNuke; +import com.hbm.entity.grenade.EntityGrenadePlasma; +import com.hbm.entity.grenade.EntityGrenadePoison; +import com.hbm.entity.grenade.EntityGrenadePulse; +import com.hbm.entity.grenade.EntityGrenadeSchrabidium; +import com.hbm.entity.grenade.EntityGrenadeShrapnel; +import com.hbm.entity.grenade.EntityGrenadeStrong; +import com.hbm.entity.grenade.EntityGrenadeTau; +import com.hbm.entity.grenade.EntityGrenadeZOMG; +import com.hbm.entity.missile.EntityMIRV; +import com.hbm.entity.missile.EntityMissileAntiBallistic; +import com.hbm.entity.missile.EntityMissileBunkerBuster; +import com.hbm.entity.missile.EntityMissileBurst; +import com.hbm.entity.missile.EntityMissileBusterStrong; +import com.hbm.entity.missile.EntityMissileCluster; +import com.hbm.entity.missile.EntityMissileClusterStrong; +import com.hbm.entity.missile.EntityMissileDrill; +import com.hbm.entity.missile.EntityMissileEndo; +import com.hbm.entity.missile.EntityMissileExo; +import com.hbm.entity.missile.EntityMissileGeneric; +import com.hbm.entity.missile.EntityMissileIncendiary; +import com.hbm.entity.missile.EntityMissileIncendiaryStrong; +import com.hbm.entity.missile.EntityMissileInferno; +import com.hbm.entity.missile.EntityMissileMirv; +import com.hbm.entity.missile.EntityMissileNuclear; +import com.hbm.entity.missile.EntityMissileRain; +import com.hbm.entity.missile.EntityMissileStrong; +import com.hbm.entity.missile.EntityTestMissile; +import com.hbm.entity.mob.EntityHunterChopper; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.entity.particle.EntityBSmokeFX; +import com.hbm.entity.particle.EntityDSmokeFX; +import com.hbm.entity.particle.EntitySSmokeFX; +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.entity.projectile.EntityBaleflare; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityChopperMine; +import com.hbm.entity.projectile.EntityCombineBall; +import com.hbm.entity.projectile.EntityDischarge; +import com.hbm.entity.projectile.EntityFire; +import com.hbm.entity.projectile.EntityLN2; +import com.hbm.entity.projectile.EntityLaserBeam; +import com.hbm.entity.projectile.EntityMinerBeam; +import com.hbm.entity.projectile.EntityMiniMIRV; +import com.hbm.entity.projectile.EntityMiniNuke; +import com.hbm.entity.projectile.EntityNightmareBlast; +import com.hbm.entity.projectile.EntityPlasmaBeam; +import com.hbm.entity.projectile.EntityRainbow; +import com.hbm.entity.projectile.EntityRocket; +import com.hbm.entity.projectile.EntityRubble; +import com.hbm.entity.projectile.EntitySchrab; +import com.hbm.entity.projectile.EntityShrapnel; +import com.hbm.items.ModItems; +import com.hbm.render.entity.BSmokeRenderer; +import com.hbm.render.entity.DSmokeRenderer; +import com.hbm.render.entity.ElectricityRenderer; +import com.hbm.render.entity.ModEffectRenderer; +import com.hbm.render.entity.RenderBaleflare; +import com.hbm.render.entity.RenderBeam; +import com.hbm.render.entity.RenderBeam2; +import com.hbm.render.entity.RenderBeam3; +import com.hbm.render.entity.RenderBigNuke; +import com.hbm.render.entity.RenderChopperMine; +import com.hbm.render.entity.RenderCloudFleija; +import com.hbm.render.entity.RenderEMPBlast; +import com.hbm.render.entity.RenderFallout; +import com.hbm.render.entity.RenderFireball; +import com.hbm.render.entity.RenderFlare; +import com.hbm.render.entity.RenderHunterChopper; +import com.hbm.render.entity.RenderLN2; +import com.hbm.render.entity.RenderMiniMIRV; +import com.hbm.render.entity.RenderMiniNuke; +import com.hbm.render.entity.RenderMirv; +import com.hbm.render.entity.RenderMissileGeneric; +import com.hbm.render.entity.RenderMissileHuge; +import com.hbm.render.entity.RenderMissileMirv; +import com.hbm.render.entity.RenderMissileNuclear; +import com.hbm.render.entity.RenderMissileStrong; +import com.hbm.render.entity.RenderMissileThermo; +import com.hbm.render.entity.RenderNoCloud; +import com.hbm.render.entity.RenderNuclearCreeper; +import com.hbm.render.entity.RenderOminousBullet; +import com.hbm.render.entity.RenderRainbow; +import com.hbm.render.entity.RenderRocket; +import com.hbm.render.entity.RenderRubble; +import com.hbm.render.entity.RenderShrapnel; +import com.hbm.render.entity.RenderSmallNukeAlt; +import com.hbm.render.entity.SSmokeRenderer; +import com.hbm.render.item.ItemRenderBFLauncher; +import com.hbm.render.item.ItemRenderBaleflare; +import com.hbm.render.item.ItemRenderBigSword; +import com.hbm.render.item.ItemRenderCryolator; +import com.hbm.render.item.ItemRenderDecoBlock; +import com.hbm.render.item.ItemRenderEMPRay; +import com.hbm.render.item.ItemRenderFatMan; +import com.hbm.render.item.ItemRenderImmolator; +import com.hbm.render.item.ItemRenderMIRV; +import com.hbm.render.item.ItemRenderMIRVLauncher; +import com.hbm.render.item.ItemRenderMP; +import com.hbm.render.item.ItemRenderMP40; +import com.hbm.render.item.ItemRenderMiniNuke; +import com.hbm.render.item.ItemRenderMultitool; +import com.hbm.render.item.ItemRenderOSIPR; +import com.hbm.render.item.ItemRenderOverkill; +import com.hbm.render.item.ItemRenderPoleTop; +import com.hbm.render.item.ItemRenderRedstoneSword; +import com.hbm.render.item.ItemRenderRevolver; +import com.hbm.render.item.ItemRenderRevolverCursed; +import com.hbm.render.item.ItemRenderRevolverGold; +import com.hbm.render.item.ItemRenderRevolverInverted; +import com.hbm.render.item.ItemRenderRevolverIron; +import com.hbm.render.item.ItemRenderRevolverLead; +import com.hbm.render.item.ItemRenderRevolverNightmare; +import com.hbm.render.item.ItemRenderRevolverSchrabidium; +import com.hbm.render.item.ItemRenderRocket; +import com.hbm.render.item.ItemRenderRpg; +import com.hbm.render.item.ItemRenderSatelliteReceiver; +import com.hbm.render.item.ItemRenderSteelPoles; +import com.hbm.render.item.ItemRenderTapeRecorder; +import com.hbm.render.item.ItemRenderTestBombAdvanced; +import com.hbm.render.item.ItemRenderTestContainer; +import com.hbm.render.item.ItemRenderUboinik; +import com.hbm.render.item.ItemRenderXVL1456; +import com.hbm.render.item.ItemRenderZOMG; +import com.hbm.render.tileentity.RenderBombMulti; +import com.hbm.render.tileentity.RenderCable; +import com.hbm.render.tileentity.RenderCentrifuge; +import com.hbm.render.tileentity.RenderCrashedBomb; +import com.hbm.render.tileentity.RenderDecoBlock; +import com.hbm.render.tileentity.RenderDecoBlockAlt; +import com.hbm.render.tileentity.RenderIGenerator; +import com.hbm.render.tileentity.RenderLaunchPadTier1; +import com.hbm.render.tileentity.RenderNukeBoy; +import com.hbm.render.tileentity.RenderNukeCustom; +import com.hbm.render.tileentity.RenderNukeFleija; +import com.hbm.render.tileentity.RenderNukeGadget; +import com.hbm.render.tileentity.RenderNukeMan; +import com.hbm.render.tileentity.RenderNukeMike; +import com.hbm.render.tileentity.RenderNukePrototype; +import com.hbm.render.tileentity.RenderNukeTsar; +import com.hbm.render.tileentity.RenderPoleSatelliteReceiver; +import com.hbm.render.tileentity.RenderPoleTop; +import com.hbm.render.tileentity.RenderPuF6Tank; +import com.hbm.render.tileentity.RenderRedBarrel; +import com.hbm.render.tileentity.RenderRotationTester; +import com.hbm.render.tileentity.RenderSteelPoles; +import com.hbm.render.tileentity.RenderTapeRecorder; +import com.hbm.render.tileentity.RenderTestBombAdvanced; +import com.hbm.render.tileentity.RenderTestContainer; +import com.hbm.render.tileentity.RenderTestMissile; +import com.hbm.render.tileentity.RenderTestRender; +import com.hbm.render.tileentity.RenderUF6Tank; +import com.hbm.render.tileentity.RenderYellowBarrel; +import com.hbm.render.tileentity.RendererObjTester; +import com.hbm.tileentity.TileEntityBombMulti; +import com.hbm.tileentity.TileEntityCable; +import com.hbm.tileentity.TileEntityCrashedBomb; +import com.hbm.tileentity.TileEntityDecoBlock; +import com.hbm.tileentity.TileEntityDecoBlockAlt; +import com.hbm.tileentity.TileEntityDecoBlockAltF; +import com.hbm.tileentity.TileEntityDecoBlockAltG; +import com.hbm.tileentity.TileEntityDecoBlockAltW; +import com.hbm.tileentity.TileEntityDecoPoleSatelliteReceiver; +import com.hbm.tileentity.TileEntityDecoPoleTop; +import com.hbm.tileentity.TileEntityDecoSteelPoles; +import com.hbm.tileentity.TileEntityDecoTapeRecorder; +import com.hbm.tileentity.TileEntityIGenerator; +import com.hbm.tileentity.TileEntityLaunchPad; +import com.hbm.tileentity.TileEntityMachineCentrifuge; +import com.hbm.tileentity.TileEntityMachinePuF6Tank; +import com.hbm.tileentity.TileEntityMachineUF6Tank; +import com.hbm.tileentity.TileEntityNukeBoy; +import com.hbm.tileentity.TileEntityNukeCustom; +import com.hbm.tileentity.TileEntityNukeFleija; +import com.hbm.tileentity.TileEntityNukeGadget; +import com.hbm.tileentity.TileEntityNukeMan; +import com.hbm.tileentity.TileEntityNukeMike; +import com.hbm.tileentity.TileEntityNukePrototype; +import com.hbm.tileentity.TileEntityNukeTsar; +import com.hbm.tileentity.TileEntityObjTester; +import com.hbm.tileentity.TileEntityRedBarrel; +import com.hbm.tileentity.TileEntityRotationTester; +import com.hbm.tileentity.TileEntityTestBombAdvanced; +import com.hbm.tileentity.TileEntityTestContainer; +import com.hbm.tileentity.TileEntityTestRender; +import com.hbm.tileentity.TileEntityYellowBarrel; + +import cpw.mods.fml.client.registry.ClientRegistry; +import cpw.mods.fml.client.registry.RenderingRegistry; + +public class ClientProxy extends ServerProxy +{ + @Override + public void registerRenderInfo() + { + MinecraftForge.EVENT_BUS.register(new ModEventHandlerClient()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTestRender.class, new RenderTestRender()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTestContainer.class, new RenderTestContainer()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.test_container), new ItemRenderTestContainer()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTestBombAdvanced.class, new RenderTestBombAdvanced()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.test_bomb_advanced), new ItemRenderTestBombAdvanced()); + + MinecraftForgeClient.registerItemRenderer(ModItems.redstone_sword, new ItemRenderRedstoneSword()); + MinecraftForgeClient.registerItemRenderer(ModItems.big_sword, new ItemRenderBigSword()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityRotationTester.class, new RenderRotationTester()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityObjTester.class, new RendererObjTester()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeGadget.class, new RenderNukeGadget()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeBoy.class, new RenderNukeBoy()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeCustom.class, new RenderNukeCustom()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachineCentrifuge.class, new RenderCentrifuge()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeMan.class, new RenderNukeMan()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachineUF6Tank.class, new RenderUF6Tank()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachinePuF6Tank.class, new RenderPuF6Tank()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityIGenerator.class, new RenderIGenerator()); + + //RenderingRegistry.registerEntityRenderingHandler(EntityRocket.class, new RenderRocket()); + RenderingRegistry.registerEntityRenderingHandler(EntityRocket.class, new RenderSnowball(ModItems.man_core)); + + MinecraftForgeClient.registerItemRenderer(ModItems.gun_rpg, new ItemRenderRpg()); + //MinecraftForgeClient.registerItemRenderer(ModItems.gun_rpg_ammo, new ItemRenderRocket()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBombMulti.class, new RenderBombMulti()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeMike.class, new RenderNukeMike()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeTsar.class, new RenderNukeTsar()); + + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeGeneric.class, new RenderSnowball(ModItems.grenade_generic)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeStrong.class, new RenderSnowball(ModItems.grenade_strong)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeFrag.class, new RenderSnowball(ModItems.grenade_frag)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeFire.class, new RenderSnowball(ModItems.grenade_fire)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeCluster.class, new RenderSnowball(ModItems.grenade_cluster)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeFlare.class, new RenderFlare()); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeElectric.class, new RenderSnowball(ModItems.grenade_electric)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadePoison.class, new RenderSnowball(ModItems.grenade_poison)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeGas.class, new RenderSnowball(ModItems.grenade_gas)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeSchrabidium.class, new RenderSnowball(ModItems.grenade_schrabidium)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeNuke.class, new RenderSnowball(ModItems.grenade_nuke)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeNuclear.class, new RenderSnowball(ModItems.grenade_nuclear)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadePlasma.class, new RenderSnowball(ModItems.grenade_plasma)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeTau.class, new RenderSnowball(ModItems.grenade_tau)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeLemon.class, new RenderSnowball(ModItems.grenade_lemon)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeMk2.class, new RenderSnowball(ModItems.grenade_mk2)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeZOMG.class, new RenderSnowball(ModItems.grenade_zomg)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeASchrab.class, new RenderSnowball(ModItems.grenade_aschrab)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadePulse.class, new RenderSnowball(ModItems.grenade_pulse)); + RenderingRegistry.registerEntityRenderingHandler(EntityGrenadeShrapnel.class, new RenderSnowball(ModItems.grenade_shrapnel)); + + RenderingRegistry.registerEntityRenderingHandler(EntitySchrab.class, new RenderFlare()); + + RenderingRegistry.registerEntityRenderingHandler(EntityTestMissile.class, new RenderTestMissile()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukeFleija.class, new RenderNukeFleija()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCrashedBomb.class, new RenderCrashedBomb()); + + RenderingRegistry.registerEntityRenderingHandler(EntityNukeCloudSmall.class, new RenderSmallNukeAlt()); + RenderingRegistry.registerEntityRenderingHandler(EntityNukeCloudBig.class, new RenderBigNuke()); + RenderingRegistry.registerEntityRenderingHandler(EntityCloudFleija.class, new RenderCloudFleija()); + RenderingRegistry.registerEntityRenderingHandler(EntityNukeCloudNoShroom.class, new RenderNoCloud()); + RenderingRegistry.registerEntityRenderingHandler(EntityFalloutRain.class, new RenderFallout()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoTapeRecorder.class, new RenderTapeRecorder()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoSteelPoles.class, new RenderSteelPoles()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoPoleTop.class, new RenderPoleTop()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoPoleSatelliteReceiver.class, new RenderPoleSatelliteReceiver()); + + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.tape_recorder), new ItemRenderTapeRecorder()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_poles), new ItemRenderSteelPoles()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.pole_top), new ItemRenderPoleTop()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.pole_satellite_receiver), new ItemRenderSatelliteReceiver()); + + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver, new ItemRenderRevolver()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_iron, new ItemRenderRevolverIron()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_gold, new ItemRenderRevolverGold()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_lead, new ItemRenderRevolverLead()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_schrabidium, new ItemRenderRevolverSchrabidium()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_cursed, new ItemRenderRevolverCursed()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_nightmare, new ItemRenderRevolverNightmare(ModItems.gun_revolver_nightmare)); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_nightmare2, new ItemRenderRevolverNightmare(ModItems.gun_revolver_nightmare2)); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_fatman, new ItemRenderFatMan()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_mirv, new ItemRenderMIRVLauncher()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_bf, new ItemRenderBFLauncher()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_xvl1456, new ItemRenderXVL1456()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_zomg, new ItemRenderZOMG()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_osipr, new ItemRenderOSIPR()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_mp, new ItemRenderMP()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_revolver_inverted, new ItemRenderRevolverInverted()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_mp40, new ItemRenderMP40()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_emp, new ItemRenderEMPRay()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_immolator, new ItemRenderImmolator()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_cryolator, new ItemRenderCryolator()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_uboinik, new ItemRenderUboinik()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_jack, new ItemRenderOverkill()); + //MinecraftForgeClient.registerItemRenderer(ModItems.gun_spark, new ItemRenderOverkill()); + //MinecraftForgeClient.registerItemRenderer(ModItems.gun_hp, new ItemRenderOverkill()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_euthanasia, new ItemRenderOverkill()); + + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_dig, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_silk, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_ext, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_miner, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_hit, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_beam, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_sky, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_mega, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_joule, new ItemRenderMultitool()); + MinecraftForgeClient.registerItemRenderer(ModItems.multitool_decon, new ItemRenderMultitool()); + + RenderingRegistry.registerEntityRenderingHandler(EntityBullet.class, new RenderRocket()); + RenderingRegistry.registerEntityRenderingHandler(EntityMiniNuke.class, new RenderMiniNuke()); + RenderingRegistry.registerEntityRenderingHandler(EntityMiniMIRV.class, new RenderMiniMIRV()); + RenderingRegistry.registerEntityRenderingHandler(EntityBaleflare.class, new RenderBaleflare()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_fatman_ammo, new ItemRenderMiniNuke()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_mirv_ammo, new ItemRenderMIRV()); + MinecraftForgeClient.registerItemRenderer(ModItems.gun_bf_ammo, new ItemRenderBaleflare()); + RenderingRegistry.registerEntityRenderingHandler(EntityRainbow.class, new RenderRainbow()); + RenderingRegistry.registerEntityRenderingHandler(EntityNightmareBlast.class, new RenderOminousBullet()); + RenderingRegistry.registerEntityRenderingHandler(EntityFire.class, new RenderFireball(ModItems.energy_ball)); + RenderingRegistry.registerEntityRenderingHandler(EntityPlasmaBeam.class, new RenderBeam()); + RenderingRegistry.registerEntityRenderingHandler(EntityLaserBeam.class, new RenderBeam2()); + RenderingRegistry.registerEntityRenderingHandler(EntityMinerBeam.class, new RenderBeam3()); + RenderingRegistry.registerEntityRenderingHandler(EntityLN2.class, new RenderLN2(ModItems.energy_ball)); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityNukePrototype.class, new RenderNukePrototype()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityRedBarrel.class, new RenderRedBarrel()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityYellowBarrel.class, new RenderYellowBarrel()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityLaunchPad.class, new RenderLaunchPadTier1()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCable.class, new RenderCable()); + + RenderingRegistry.registerEntityRenderingHandler(EntityMissileGeneric.class, new RenderMissileGeneric()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileAntiBallistic.class, new RenderMissileGeneric()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileIncendiary.class, new RenderMissileGeneric()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileCluster.class, new RenderMissileGeneric()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileBunkerBuster.class, new RenderMissileGeneric()); + + RenderingRegistry.registerEntityRenderingHandler(EntityMissileStrong.class, new RenderMissileStrong()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileIncendiaryStrong.class, new RenderMissileStrong()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileClusterStrong.class, new RenderMissileStrong()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileBusterStrong.class, new RenderMissileStrong()); + + RenderingRegistry.registerEntityRenderingHandler(EntityMissileBurst.class, new RenderMissileHuge()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileInferno.class, new RenderMissileHuge()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileRain.class, new RenderMissileHuge()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileDrill.class, new RenderMissileHuge()); + + RenderingRegistry.registerEntityRenderingHandler(EntityMissileNuclear.class, new RenderMissileNuclear()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileMirv.class, new RenderMissileMirv()); + RenderingRegistry.registerEntityRenderingHandler(EntityMIRV.class, new RenderMirv()); + + RenderingRegistry.registerEntityRenderingHandler(EntityMissileEndo.class, new RenderMissileThermo()); + RenderingRegistry.registerEntityRenderingHandler(EntityMissileExo.class, new RenderMissileThermo()); + + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlock.class, new RenderDecoBlock()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlockAlt.class, new RenderDecoBlockAlt()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlockAltG.class, new RenderDecoBlockAlt()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlockAltW.class, new RenderDecoBlockAlt()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDecoBlockAltF.class, new RenderDecoBlockAlt()); + + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_wall), new ItemRenderDecoBlock()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_corner), new ItemRenderDecoBlock()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_roof), new ItemRenderDecoBlock()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_beam), new ItemRenderDecoBlock()); + MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_scaffold), new ItemRenderDecoBlock()); + + RenderingRegistry.registerEntityRenderingHandler(EntityNuclearCreeper.class, new RenderNuclearCreeper()); + RenderingRegistry.registerEntityRenderingHandler(EntityHunterChopper.class, new RenderHunterChopper()); + + RenderingRegistry.registerEntityRenderingHandler(EntityChopperMine.class, new RenderChopperMine()); + RenderingRegistry.registerEntityRenderingHandler(EntityRubble.class, new RenderRubble()); + RenderingRegistry.registerEntityRenderingHandler(EntityShrapnel.class, new RenderShrapnel()); + + RenderingRegistry.registerEntityRenderingHandler(EntitySmokeFX.class, new ModEffectRenderer(ModItems.nuclear_waste)); + RenderingRegistry.registerEntityRenderingHandler(EntityBSmokeFX.class, new BSmokeRenderer(ModItems.nuclear_waste)); + RenderingRegistry.registerEntityRenderingHandler(EntityDSmokeFX.class, new DSmokeRenderer(ModItems.nuclear_waste)); + RenderingRegistry.registerEntityRenderingHandler(EntitySSmokeFX.class, new SSmokeRenderer(ModItems.nuclear_waste)); + RenderingRegistry.registerEntityRenderingHandler(EntityCombineBall.class, new RenderSnowball(ModItems.energy_ball)); + RenderingRegistry.registerEntityRenderingHandler(EntityDischarge.class, new ElectricityRenderer(ModItems.discharge)); + RenderingRegistry.registerEntityRenderingHandler(EntityEMPBlast.class, new RenderEMPBlast()); + + RenderingRegistry.addNewArmourRendererPrefix("5"); + RenderingRegistry.addNewArmourRendererPrefix("6"); + RenderingRegistry.addNewArmourRendererPrefix("7"); + RenderingRegistry.addNewArmourRendererPrefix("8"); + RenderingRegistry.addNewArmourRendererPrefix("9"); + } + + @Override + public void registerTileEntitySpecialRenderer() { + + } +} + diff --git a/com/hbm/main/CraftingManager.java b/com/hbm/main/CraftingManager.java index f4dd2d4a4..6f8b996cd 100644 --- a/com/hbm/main/CraftingManager.java +++ b/com/hbm/main/CraftingManager.java @@ -1,857 +1,933 @@ -package com.hbm.main; - -import com.hbm.blocks.ModBlocks; -import com.hbm.items.ModItems; - -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraftforge.oredict.ShapedOreRecipe; -import net.minecraftforge.oredict.ShapelessOreRecipe; -import cpw.mods.fml.common.registry.GameRegistry; - -public class CraftingManager { - - public static void mainRegistry() - { - AddCraftingRec(); - AddSmeltingRec(); - } - - public static void AddCraftingRec() - { - GameRegistry.addRecipe(new ItemStack(ModItems.redstone_sword, 1), new Object[] { "R", "R", "S", 'R', Blocks.redstone_block, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.big_sword, 1), new Object[] { "QIQ", "QIQ", "GSG", 'G', Items.gold_ingot, 'S', Items.stick, 'I', Items.iron_ingot, 'Q', Items.quartz}); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_titanium, 16), true, new Object[] { "TT", "TT", 'T', "ingotTitanium" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_aluminium, 16), new Object[] { "TT", "TT", 'T', "ingotAluminum" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_steel, 16), new Object[] { "TT", "TT", 'T', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_iron, 16), new Object[] { "TT", "TT", 'T', "ingotIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_lead, 16), new Object[] { "TT", "TT", 'T', "ingotLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_copper, 16), new Object[] { "TT", "TT", 'T', "ingotCopper" })); - GameRegistry.addRecipe(new ItemStack(ModItems.plate_schrabidium, 16), new Object[] { "TT", "TT", 'T', ModItems.ingot_schrabidium}); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_gold, 16), new Object[] { "TT", "TT", 'T', "ingotGold" })); - GameRegistry.addRecipe(new ItemStack(ModItems.plate_advanced_alloy, 16), new Object[] { "TT", "TT", 'T', ModItems.ingot_advanced_alloy}); - GameRegistry.addRecipe(new ItemStack(ModItems.plate_combine_steel, 16), new Object[] { "TT", "TT", 'T', ModItems.ingot_combine_steel}); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_red_copper, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotRedstoneAlloy" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_tungsten, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotTungsten" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_aluminium, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotAluminum" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_copper, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotCopper" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_gold, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotGold" })); - GameRegistry.addRecipe(new ItemStack(ModItems.wire_schrabidium, 6), new Object[] { "CCC", 'S', Items.string, 'C', ModItems.ingot_schrabidium }); - GameRegistry.addRecipe(new ItemStack(ModItems.wire_advanced_alloy, 6), new Object[] { "CCC", 'S', Items.string, 'C', ModItems.ingot_advanced_alloy }); - GameRegistry.addRecipe(new ItemStack(ModItems.wire_magnetized_tungsten, 6), new Object[] { "CCC", 'S', Items.string, 'C', ModItems.ingot_magnetized_tungsten }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hazmat_cloth, 4), new Object[] { "LN", "LN", 'L', Items.leather, 'N', "nuggetLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hazmat_cloth, 8), new Object[] { "SCS", "CPC", "SCS", 'S', Items.string, 'P', Items.leather, 'C', "dustLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.filter_coal, 1), new Object[] { "SCS", "CPC", "SCS", 'S', Items.string, 'P', Items.paper, 'C', "dustCoal" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_mixed, 3), new Object[] { "ANA", "NCN", "ANA", 'A', ModItems.plate_advanced_alloy, 'N', "plateDenseLead", 'C', ModItems.plate_combine_steel })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_aluminium, 1), new Object[] { "RAR", "ASA", "RAR", 'S', "plateSteel", 'R', "dustRedstone", 'A', ModItems.wire_aluminium })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_copper, 1), new Object[] { "RAR", "ASA", "RAR", 'S', ModItems.circuit_aluminium, 'R', "dustNetherQuartz", 'A', ModItems.wire_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_red_copper, 1), new Object[] { "RAR", "ASA", "RAR", 'S', ModItems.circuit_copper, 'R', "dustGold", 'A', ModItems.wire_red_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_gold, 1), new Object[] { "RAR", "ASA", "RAR", 'S', ModItems.circuit_red_copper, 'R', "dustLapis", 'A', ModItems.wire_gold })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_schrabidium, 1), new Object[] { "RAR", "ASA", "RAR", 'S', ModItems.circuit_gold, 'R', "dustDiamond", 'A', ModItems.wire_schrabidium })); - - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.gunpowder, 3), new Object[] { "sulfur", "salpeter", Items.coal })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.gunpowder, 3), new Object[] { "sulfur", "salpeter", new ItemStack(Items.coal, 1, 1) })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.gunpowder, 3), new Object[] { "dustSulfur", "dustSalpeter", Items.coal })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.gunpowder, 3), new Object[] { "dustSulfur", "dustSalpeter", new ItemStack(Items.coal, 1, 1) })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.cell_empty, 6), new Object[] { "SSS", "G G", "SSS", 'S', "plateSteel", 'G', Item.getItemFromBlock(Blocks.glass_pane) })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.cell_uf6, 1), new Object[] { ModItems.cell_empty, "dustUranium", "dustFluorite", "dustFluorite", "dustFluorite", Items.water_bucket })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.cell_puf6, 1), new Object[] { ModItems.cell_empty, "dustPlutonium", "dustFluorite", "dustFluorite", "dustFluorite", Items.water_bucket })); - GameRegistry.addRecipe(new ItemStack(ModItems.cell_deuterium, 8), new Object[] { "DDD", "DTD", "DDD", 'D', ModItems.cell_empty, 'T', ModItems.mike_deut }); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.cell_sas3, 1), new Object[] { ModItems.cell_empty, ModItems.powder_schrabidium, "dustSulfur", "dustSulfur" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.cell_sas3, 1), new Object[] { ModItems.cell_empty, ModItems.powder_schrabidium, "sulfur", "sulfur" })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.canister_empty, 2), new Object[] { "S ", "AA", "AA", 'S', ModItems.plate_steel, 'A', "plateAluminum" })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.red_barrel), 1), new Object[] { "DDD", "DTD", "DDD", 'D', ModItems.canister_fuel, 'T', ModItems.tank_steel }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.yellow_barrel), 1), new Object[] { "DDD", "DTD", "DDD", 'D', ModItems.nuclear_waste, 'T', ModItems.tank_steel }); - - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_aluminium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_aluminium }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_copper), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_copper }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_fluorite), 1), new Object[] { "###", "###", "###", '#', ModItems.fluorite }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_niter), 1), new Object[] { "###", "###", "###", '#', ModItems.niter }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_red_copper), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_red_copper }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_steel), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_steel }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_sulfur), 1), new Object[] { "###", "###", "###", '#', ModItems.sulfur }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_titanium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_titanium }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_tungsten), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_tungsten }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_uranium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_uranium }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_lead), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_lead }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_trinitite), 1), new Object[] { "###", "###", "###", '#', ModItems.trinitite }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_waste), 1), new Object[] { "###", "###", "###", '#', ModItems.nuclear_waste }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_scrap), 1), new Object[] { "##", "##", '#', ModItems.scrap }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_scrap), 1), new Object[] { "###", "###", "###", '#', ModItems.dust }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_beryllium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_beryllium }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_schrabidium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_schrabidium }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_advanced_alloy), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_advanced_alloy }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_magnetized_tungsten), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_magnetized_tungsten }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_combine_steel), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_combine_steel }); - - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_uranium_fuel, 1), new Object[] { "nuggetUranium235", "nuggetUranium235", "nuggetUranium235", "nuggetUranium238", "nuggetUranium238", "nuggetUranium238", "nuggetUranium238", "nuggetUranium238", "nuggetUranium238" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_plutonium_fuel, 1), new Object[] { "nuggetPlutonium238", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium240", "nuggetPlutonium240", "nuggetPlutonium240" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_mox_fuel, 1), new Object[] { "nuggetUranium235", "nuggetUranium235", "nuggetUranium235", "nuggetUranium238", "nuggetUranium238", "nuggetPlutonium238", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium239" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_uranium_fuel, 1), new Object[] { "tinyU235", "tinyU235", "tinyU235", "tinyU238", "tinyU238", "tinyU238", "tinyU238", "tinyU238", "tinyU238" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_plutonium_fuel, 1), new Object[] { "tinyPu238", "tinyPu239", "tinyPu239", "tinyPu239", "tinyPu239", "tinyPu239", "tinyPu240", "tinyPu240", "tinyPu240" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_mox_fuel, 1), new Object[] { "tinyU235", "tinyU235", "tinyU235", "tinyU238", "tinyU238", "tinyPu238", "tinyPu239", "tinyPu239", "tinyPu239" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_schrabidium_fuel, 1), new Object[] { "nuggetSchrabidium", "nuggetSchrabidium", "nuggetSchrabidium", "nuggetNeptunium", "nuggetNeptunium", "nuggetNeptunium", ModItems.nugget_beryllium, ModItems.nugget_beryllium, ModItems.nugget_beryllium })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_hes, 1), new Object[] { "nuggetSchrabidium", "nuggetSchrabidium", "nuggetSchrabidium", "nuggetSchrabidium", "nuggetSchrabidium", "nuggetNeptunium", "nuggetNeptunium", ModItems.nugget_beryllium, ModItems.nugget_beryllium })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_les, 1), new Object[] { "nuggetSchrabidium", "nuggetNeptunium", "nuggetNeptunium", "nuggetNeptunium", "nuggetNeptunium", ModItems.nugget_beryllium, ModItems.nugget_beryllium, ModItems.nugget_beryllium, ModItems.nugget_beryllium })); - - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_aluminium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_aluminium) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_copper, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_copper) }); - GameRegistry.addRecipe(new ItemStack(ModItems.fluorite, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_fluorite) }); - GameRegistry.addRecipe(new ItemStack(ModItems.niter, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_niter) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_red_copper, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_red_copper) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_steel, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_steel) }); - GameRegistry.addRecipe(new ItemStack(ModItems.sulfur, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_sulfur) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_titanium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_titanium) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_tungsten, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_tungsten) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_uranium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_uranium) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_lead, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_lead) }); - GameRegistry.addRecipe(new ItemStack(ModItems.trinitite, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_trinitite) }); - GameRegistry.addRecipe(new ItemStack(ModItems.nuclear_waste, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_waste) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_beryllium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_beryllium) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_schrabidium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_schrabidium) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_advanced_alloy, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_advanced_alloy) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_magnetized_tungsten, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_magnetized_tungsten) }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_combine_steel, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_combine_steel) }); - - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_plutonium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_plutonium }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_plutonium, 9), new Object[] { "#", '#', ModItems.ingot_plutonium }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_pu238, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_pu238 }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_pu238, 9), new Object[] { "#", '#', ModItems.ingot_pu238 }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_pu239, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_pu239 }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_pu239, 9), new Object[] { "#", '#', ModItems.ingot_pu239 }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_pu240, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_pu240 }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_pu240, 9), new Object[] { "#", '#', ModItems.ingot_pu240 }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_uranium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_uranium }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_uranium, 9), new Object[] { "#", '#', ModItems.ingot_uranium }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_u235, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_u235 }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_u235, 9), new Object[] { "#", '#', ModItems.ingot_u235 }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_u238, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_u238 }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_u238, 9), new Object[] { "#", '#', ModItems.ingot_u238 }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_neptunium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_neptunium }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_neptunium, 9), new Object[] { "#", '#', ModItems.ingot_neptunium }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_lead, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_lead }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_lead, 9), new Object[] { "#", '#', ModItems.ingot_lead }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_beryllium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_beryllium }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_beryllium, 9), new Object[] { "#", '#', ModItems.ingot_beryllium }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_schrabidium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_schrabidium }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_schrabidium, 9), new Object[] { "#", '#', ModItems.ingot_schrabidium }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_uranium_fuel, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_uranium_fuel }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_uranium_fuel, 9), new Object[] { "#", '#', ModItems.ingot_uranium_fuel }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_plutonium_fuel, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_plutonium_fuel }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_plutonium_fuel, 9), new Object[] { "#", '#', ModItems.ingot_plutonium_fuel }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_mox_fuel, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_mox_fuel }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_mox_fuel, 9), new Object[] { "#", '#', ModItems.ingot_mox_fuel }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_schrabidium_fuel, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_schrabidium_fuel }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_schrabidium_fuel, 9), new Object[] { "#", '#', ModItems.ingot_schrabidium_fuel }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_hes, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_hes }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_hes, 9), new Object[] { "#", '#', ModItems.ingot_hes }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_les, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_les }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_les, 9), new Object[] { "#", '#', ModItems.ingot_les }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.rod_empty, 16), new Object[] { "SSS", "L L", "SSS", 'S', "plateSteel", 'L', "plateLead" })); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_uranium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_u235, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_u238, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_plutonium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_pu238, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_pu239, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_pu240, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_neptunium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_lead, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_schrabidium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_uranium_fuel, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_plutonium_fuel, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_mox_fuel, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_schrabidium_fuel, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_empty, 2), new Object[] { ModItems.rod_dual_empty }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_empty, 1), new Object[] { ModItems.rod_empty, ModItems.rod_empty }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_uranium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_u235, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_u238, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_plutonium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_pu238, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_pu239, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_pu240, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_neptunium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_lead, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_schrabidium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_uranium_fuel, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_plutonium_fuel, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_mox_fuel, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_schrabidium_fuel, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_lithium, 1), new Object[] { ModItems.rod_empty, ModItems.lithium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_lithium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.lithium, ModItems.lithium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_lithium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.lithium, ModItems.lithium, ModItems.lithium, ModItems.lithium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.cell_tritium, 1), new Object[] { ModItems.rod_tritium, ModItems.cell_empty }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.cell_tritium, 2), new Object[] { ModItems.rod_dual_tritium, ModItems.cell_empty, ModItems.cell_empty }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.cell_tritium, 4), new Object[] { ModItems.rod_quad_tritium, ModItems.cell_empty, ModItems.cell_empty, ModItems.cell_empty, ModItems.cell_empty }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_empty, 4), new Object[] { ModItems.rod_quad_empty }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_empty, 1), new Object[] { ModItems.rod_empty, ModItems.rod_empty, ModItems.rod_empty, ModItems.rod_empty }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_empty, 1), new Object[] { ModItems.rod_dual_empty, ModItems.rod_dual_empty }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_uranium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_uranium, ModItems.ingot_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_u235, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_u235, ModItems.ingot_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_u238, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_u238, ModItems.ingot_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_plutonium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_plutonium, ModItems.ingot_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_pu238, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_pu238, ModItems.ingot_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_pu239, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_pu239, ModItems.ingot_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_pu240, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_pu240, ModItems.ingot_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_neptunium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_neptunium, ModItems.ingot_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_lead, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_lead, ModItems.ingot_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_schrabidium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_schrabidium, ModItems.ingot_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_uranium_fuel, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_uranium_fuel, ModItems.ingot_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_plutonium_fuel, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_plutonium_fuel, ModItems.ingot_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_mox_fuel, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_mox_fuel, ModItems.ingot_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_schrabidium_fuel, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_schrabidium_fuel, ModItems.ingot_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_water, 1), new Object[] { ModItems.rod_empty, Items.water_bucket }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_water, 1), new Object[] { ModItems.rod_dual_empty, Items.water_bucket, Items.water_bucket }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_water, 1), new Object[] { ModItems.rod_quad_empty, Items.water_bucket, Items.water_bucket, Items.water_bucket, Items.water_bucket }); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.rod_coolant, 1), new Object[] { ModItems.rod_empty, Items.water_bucket, "dustLapis" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.rod_dual_coolant, 1), new Object[] { ModItems.rod_dual_empty, Items.water_bucket, Items.water_bucket, "dustLapis", "dustLapis" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.rod_quad_coolant, 1), new Object[] { ModItems.rod_quad_empty, Items.water_bucket, Items.water_bucket, Items.water_bucket, Items.water_bucket, "dustLapis", "dustLapis", "dustLapis", "dustLapis" })); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium, 6), new Object[] { ModItems.rod_uranium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u235, 6), new Object[] { ModItems.rod_u235 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u238, 6), new Object[] { ModItems.rod_u238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium, 6), new Object[] { ModItems.rod_plutonium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu238, 6), new Object[] { ModItems.rod_pu238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu239, 6), new Object[] { ModItems.rod_pu239 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu240, 6), new Object[] { ModItems.rod_pu240 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_neptunium, 6), new Object[] { ModItems.rod_neptunium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_lead, 6), new Object[] { ModItems.rod_lead }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium, 6), new Object[] { ModItems.rod_schrabidium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium_fuel, 6), new Object[] { ModItems.rod_uranium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium_fuel, 6), new Object[] { ModItems.rod_plutonium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_mox_fuel, 6), new Object[] { ModItems.rod_mox_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium_fuel, 6), new Object[] { ModItems.rod_schrabidium_fuel }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium, 12), new Object[] { ModItems.rod_dual_uranium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u235, 12), new Object[] { ModItems.rod_dual_u235 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u238, 12), new Object[] { ModItems.rod_dual_u238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium, 12), new Object[] { ModItems.rod_dual_plutonium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu238, 12), new Object[] { ModItems.rod_dual_pu238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu239, 12), new Object[] { ModItems.rod_dual_pu239 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu240, 12), new Object[] { ModItems.rod_dual_pu240 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_neptunium, 12), new Object[] { ModItems.rod_dual_neptunium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_lead, 12), new Object[] { ModItems.rod_dual_lead }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium, 12), new Object[] { ModItems.rod_dual_schrabidium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium_fuel, 12), new Object[] { ModItems.rod_dual_uranium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium_fuel, 12), new Object[] { ModItems.rod_dual_plutonium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_mox_fuel, 12), new Object[] { ModItems.rod_dual_mox_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium_fuel, 12), new Object[] { ModItems.rod_dual_schrabidium_fuel }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium, 24), new Object[] { ModItems.rod_quad_uranium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u235, 24), new Object[] { ModItems.rod_quad_u235 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u238, 24), new Object[] { ModItems.rod_quad_u238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium, 24), new Object[] { ModItems.rod_quad_plutonium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu238, 24), new Object[] { ModItems.rod_quad_pu238 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu239, 24), new Object[] { ModItems.rod_quad_pu239 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu240, 24), new Object[] { ModItems.rod_quad_pu240 }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_neptunium, 24), new Object[] { ModItems.rod_quad_neptunium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_lead, 24), new Object[] { ModItems.rod_quad_lead }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium, 24), new Object[] { ModItems.rod_quad_schrabidium }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium_fuel, 24), new Object[] { ModItems.rod_quad_uranium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium_fuel, 24), new Object[] { ModItems.rod_quad_plutonium_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_mox_fuel, 24), new Object[] { ModItems.rod_quad_mox_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium_fuel, 24), new Object[] { ModItems.rod_quad_schrabidium_fuel }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 2), new Object[] { ModItems.rod_waste }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_dual_waste }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_quad_waste }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_uranium_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_dual_uranium_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 16), new Object[] { ModItems.rod_quad_uranium_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_plutonium_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_dual_plutonium_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 16), new Object[] { ModItems.rod_quad_plutonium_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_mox_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_dual_mox_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 16), new Object[] { ModItems.rod_quad_mox_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_schrabidium_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_dual_schrabidium_fuel_depleted }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 16), new Object[] { ModItems.rod_quad_schrabidium_fuel_depleted }); - - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_euphemium, 1), new Object[] { ModItems.rod_quad_euphemium }); - GameRegistry.addRecipe(new ItemStack(ModItems.ingot_euphemium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_euphemium }); - GameRegistry.addRecipe(new ItemStack(ModItems.nugget_euphemium, 9), new Object[] { "#", '#', ModItems.ingot_euphemium }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_rtg, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', "tinyPu238" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.tritium_deuterium_cake, 1), new Object[] { "DLD", "LTL", "DLD", 'L', "ingotLithium", 'D', ModItems.cell_deuterium, 'T', ModItems.cell_tritium })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_schrabidium, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', "ingotSchrabidium" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_hes, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_hes })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_mes, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_schrabidium_fuel })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_les, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_les })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_beryllium, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_beryllium })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_neptunium, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', "ingotNeptunium" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_lead, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', "ingotLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_advanced, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_advanced_alloy })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_copper, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_red_copper, 'I', "ingotIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_advanced_alloy, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_advanced_alloy, 'I', "ingotIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_copper_torus, 2), new Object[] { "PCP", "C C", "PCP", 'P', "plateIron", 'C', ModItems.coil_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_advanced_torus, 2), new Object[] { "PCP", "C C", "PCP", 'P', "plateIron", 'C', ModItems.coil_advanced_alloy })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_tungsten, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_tungsten, 'I', "ingotIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_magnetized_tungsten, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_magnetized_tungsten, 'I', "ingotIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.tank_steel, 1), new Object[] { "STS", "S S", "STS", 'S', "plateSteel", 'T', "plateTitanium" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.motor, 1), new Object[] { " R ", "ICI", "ITI", 'R', ModItems.wire_red_copper, 'T', ModItems.coil_copper_torus, 'I', "plateIron", 'C', ModItems.coil_copper })); - GameRegistry.addRecipe(new ItemStack(ModItems.centrifuge_element, 1), new Object[] { " T ", "WTW", "RMR", 'R', ModItems.wire_red_copper, 'T', ModItems.tank_steel, 'M', ModItems.motor, 'W', ModItems.coil_tungsten }); - GameRegistry.addRecipe(new ItemStack(ModItems.centrifuge_tower, 1), new Object[] { "LL", "EE", "EE", 'E', ModItems.centrifuge_element, 'L', new ItemStack(Items.dye, 1, 4) }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.reactor_core, 1), new Object[] { "LNL", "N N", "LNL", 'N', "plateDenseLead", 'L', "plateLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.rtg_unit, 1), new Object[] { "CLC", "NAN", "CLC", 'N', "plateDenseLead", 'L', "plateLead", 'C', "plateCopper", 'A', ModItems.circuit_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.thermo_unit_empty, 1), new Object[] { "TTT", " S ", "P P", 'S', "ingotSteel", 'P', "plateTitanium", 'T', ModItems.coil_copper_torus })); - GameRegistry.addRecipe(new ItemStack(ModItems.thermo_unit_endo, 1), new Object[] { "EEE", "ETE", "EEE", 'E', Item.getItemFromBlock(Blocks.ice), 'T', ModItems.thermo_unit_empty }); - GameRegistry.addRecipe(new ItemStack(ModItems.thermo_unit_exo, 1), new Object[] { "LLL", "LTL", "LLL", 'L', Items.lava_bucket, 'T', ModItems.thermo_unit_empty }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.levitation_unit, 1), new Object[] { "CSC", "TAT", "PSP", 'C', ModItems.coil_copper, 'S', ModItems.nugget_schrabidium, 'T', ModItems.coil_tungsten, 'P', "plateTitanium", 'A', "ingotSteel" })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.cap_aluminium, 1), new Object[] { "PIP", 'P', "plateAluminum", 'I', "ingotAluminum" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_small_steel, 1), new Object[] { "PPP", " ", "PPP", 'P', "plateSteel", 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_small_aluminium, 1), new Object[] { "PPP", " ", "PPP", 'P', "plateAluminum", 'I', "ingotAluminum" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_big_steel, 1), new Object[] { "III", " ", "III", 'P', "plateSteel", 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_big_aluminium, 1), new Object[] { "III", " ", "III", 'P', "plateAluminum", 'I', "ingotAluminum" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_big_titanium, 1), new Object[] { "III", " ", "III", 'P', "plateTitanium", 'I', "ingotTitanium" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_flat, 1), new Object[] { "IP", "PP", "IP", 'P', "plateSteel", 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_small_steel, 1), new Object[] { " PP", "PII", " PP", 'P', "plateSteel", 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_big_steel, 1), new Object[] { " PI", "III", " PI", 'P', "plateSteel", 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_tri_steel, 1), new Object[] { " PI", "IIB", " PI", 'P', "plateSteel", 'I', "ingotSteel", 'B', "blockSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_quad_titanium, 1), new Object[] { " PP", "III", " PP", 'P', "plateTitanium", 'I', "ingotTitanium" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.sphere_steel, 1), new Object[] { "PIP", "I I", "PIP", 'P', "plateSteel", 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pedestal_steel, 1), new Object[] { "P P", "P P", "III", 'P', "plateSteel", 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.dysfunctional_reactor, 1), new Object[] { "PPP", "CDC", "PPP", 'P', "plateSteel", 'C', ModItems.rod_quad_empty, 'D', new ItemStack(Items.dye, 1, 3) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.warhead_generic_small, 1), new Object[] { " P ", "PTP", "PTP", 'P', "plateTitanium", 'T', Item.getItemFromBlock(Blocks.tnt) })); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_incendiary_small, 1), new Object[] { " P ", "PWP", " P ", 'P', ModItems.powder_fire, 'W', ModItems.warhead_generic_small }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_cluster_small, 1), new Object[] { " P ", "PWP", " P ", 'P', ModItems.pellet_cluster, 'W', ModItems.warhead_generic_small }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_buster_small, 1), new Object[] { " P ", "PWP", " P ", 'P', Item.getItemFromBlock(ModBlocks.det_cord), 'W', ModItems.warhead_generic_small }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.warhead_generic_medium, 1), new Object[] { " P ", "PTP", "TTT", 'P', "plateTitanium", 'T', Item.getItemFromBlock(Blocks.tnt) })); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_incendiary_medium, 1), new Object[] { "PPP", "PWP", "PPP", 'P', ModItems.powder_fire, 'W', ModItems.warhead_generic_medium }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_cluster_medium, 1), new Object[] { "PPP", "PWP", "PPP", 'P', ModItems.pellet_cluster, 'W', ModItems.warhead_generic_medium }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_buster_medium, 1), new Object[] { "PPP", "PWP", "PPP", 'P', Item.getItemFromBlock(ModBlocks.det_cord), 'W', ModItems.warhead_generic_medium }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.warhead_generic_large, 1), new Object[] { "PTP", "PTP", "TTT", 'P', "plateTitanium", 'T', Item.getItemFromBlock(Blocks.tnt) })); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_incendiary_large, 1), new Object[] { "PXP", "XWX", "PXP", 'P', ModItems.powder_fire, 'W', ModItems.warhead_generic_large, 'X', Items.lava_bucket }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_cluster_large, 1), new Object[] { "PXP", "XWX", "PXP", 'P', ModItems.pellet_cluster, 'W', ModItems.warhead_generic_large, 'X', Item.getItemFromBlock(ModBlocks.det_cord) }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_buster_large, 1), new Object[] { "PXP", "XWX", "PXP", 'P', Item.getItemFromBlock(ModBlocks.det_cord), 'W', ModItems.warhead_generic_large, 'X', Item.getItemFromBlock(Blocks.tnt) }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_nuclear, 1), new Object[] { " N ", "TZT", "TBT", 'N', ModItems.boy_shielding, 'Z', ModItems.boy_target, 'B', ModItems.boy_bullet, 'T', ModItems.plate_titanium }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_mirvlet, 1), new Object[] { " S ", "SPS", "STS", 'S', ModItems.plate_steel, 'P', ModItems.ingot_pu239, 'T', Item.getItemFromBlock(Blocks.tnt) }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_mirv, 1), new Object[] { "MMM", "MWM", "MMM", 'M', ModItems.warhead_mirvlet, 'W', ModItems.warhead_generic_large }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_thermo_endo, 1), new Object[] { " T ", "TBT", "TBT", 'T', ModItems.plate_titanium, 'B', Item.getItemFromBlock(ModBlocks.therm_endo) }); - GameRegistry.addRecipe(new ItemStack(ModItems.warhead_thermo_exo, 1), new Object[] { " T ", "TBT", "TBT", 'T', ModItems.plate_titanium, 'B', Item.getItemFromBlock(ModBlocks.therm_exo) }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fuel_tank_small, 1), new Object[] { "PTP", "PTP", "PTP", 'P', "plateTitanium", 'T', Item.getItemFromBlock(ModBlocks.red_barrel) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fuel_tank_medium, 1), new Object[] { "PTP", "PTP", "PTP", 'P', "plateTitanium", 'T', ModItems.fuel_tank_small })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fuel_tank_large, 1), new Object[] { "PTP", "PTP", "PTP", 'P', "plateTitanium", 'T', ModItems.fuel_tank_medium })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.thruster_small, 1), new Object[] { "AS ", "AH ", " L ", 'A', ModItems.wire_aluminium, 'S', "plateSteel", 'H', ModItems.hull_small_steel, 'L', ModItems.hull_small_steel })); - GameRegistry.addRecipe(new ItemStack(ModItems.thruster_medium, 1), new Object[] { "AS ", "AH ", " L ", 'A', ModItems.wire_copper, 'S', ModItems.thruster_small, 'H', ModItems.hull_small_steel, 'L', ModItems.hull_big_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.thruster_large, 1), new Object[] { "AS ", "AH ", " L ", 'A', ModItems.wire_red_copper, 'S', ModItems.thruster_medium, 'H', ModItems.hull_big_steel, 'L', ModItems.hull_big_steel }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.lemon, 1), new Object[] { " D ", "DSD", " D ", 'D', new ItemStack(Items.dye, 1, 11), 'S', "stone" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.chopper_blades, 1), new Object[] { "CCC", "SIS", " I ", 'C', ModItems.plate_combine_steel, 'S', "plateSteel", 'I', ModItems.ingot_combine_steel })); - GameRegistry.addRecipe(new ItemStack(ModItems.chopper_gun, 1), new Object[] { " PI", "WWC", " PM", 'P', ModItems.plate_combine_steel, 'W', ModItems.wire_magnetized_tungsten, 'I', ModItems.ingot_combine_steel, 'C', ModItems.coil_magnetized_tungsten, 'M', ModItems.motor }); - GameRegistry.addRecipe(new ItemStack(ModItems.chopper_head, 1), new Object[] { " GI", "WIB", "WCB", 'G', ModBlocks.reinforced_glass, 'W', ModItems.wire_magnetized_tungsten, 'I', ModItems.ingot_combine_steel, 'C', ModBlocks.fwatz_computer, 'B', ModBlocks.block_combine_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.chopper_tail, 1), new Object[] { "PPP", "IIM", " PR", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel, 'M', ModItems.motor, 'R', ModItems.chopper_blades }); - GameRegistry.addRecipe(new ItemStack(ModItems.chopper_torso, 1), new Object[] { "IMI", "MBB", "RCI", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel, 'M', ModItems.motor, 'B', ModBlocks.block_combine_steel, 'R', ModItems.chopper_blades, 'C', ModBlocks.fwatz_computer }); - GameRegistry.addRecipe(new ItemStack(ModItems.chopper_wing, 1), new Object[] { "III", " PP", " PP", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel }); -<<<<<<< HEAD - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.telepad, 1), new Object[] { "CPC", "SUS", "WWW", 'C', ModItems.plate_combine_steel, 'P', ModItems.plate_schrabidium, 'S', "plateSteel", 'U', ModItems.circuit_schrabidium, 'W', ModItems.wire_gold })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.entanglement_kit, 1), new Object[] { "CEC", "PDP", "CSC", 'C', ModItems.coil_magnetized_tungsten, 'P', "plateDenseLead", 'S', ModItems.singularity_super_heated, 'E', ModItems.singularity_counter_resonant, 'D', ModItems.powder_power })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.entanglement_kit, 1), new Object[] { "CSC", "PDP", "CEC", 'C', ModItems.coil_magnetized_tungsten, 'P', "plateDenseLead", 'S', ModItems.singularity_super_heated, 'E', ModItems.singularity_counter_resonant, 'D', ModItems.powder_power })); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - GameRegistry.addRecipe(new ItemStack(ModItems.missile_generic, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_generic_small, 'T', ModItems.fuel_tank_small, 'M', ModItems.thruster_small }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_incendiary, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_incendiary_small, 'T', ModItems.fuel_tank_small, 'M', ModItems.thruster_small }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_cluster, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_cluster_small, 'T', ModItems.fuel_tank_small, 'M', ModItems.thruster_small }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_buster, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_buster_small, 'T', ModItems.fuel_tank_small, 'M', ModItems.thruster_small }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_strong, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_generic_medium, 'T', ModItems.fuel_tank_medium, 'M', ModItems.thruster_medium }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_incendiary_strong, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_incendiary_medium, 'T', ModItems.fuel_tank_medium, 'M', ModItems.thruster_medium }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_cluster_strong, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_cluster_medium, 'T', ModItems.fuel_tank_medium, 'M', ModItems.thruster_medium }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_buster_strong, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_buster_medium, 'T', ModItems.fuel_tank_medium, 'M', ModItems.thruster_medium }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_burst, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_generic_large, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_inferno, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_incendiary_large, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_rain, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_cluster_large, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_drill, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_buster_large, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_nuclear, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_nuclear, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_nuclear_cluster, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_mirv, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_endo, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_thermo_endo, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); - GameRegistry.addRecipe(new ItemStack(ModItems.missile_exo, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_thermo_exo, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_difurnace_off), 1), new Object[] { "AHA", "TCT", "TPT", 'T', "plateTitanium", 'A', "plateAluminum", 'S', "plateSteel", 'C', "ingotCopper", 'P', Item.getItemFromBlock(Blocks.piston), 'H', Item.getItemFromBlock(Blocks.hopper) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_centrifuge), 1), new Object[] { " T ", "RDR", "RSR", 'S', "plateSteel", 'T', ModItems.centrifuge_tower, 'W', ModItems.coil_tungsten, 'R', ModItems.coil_copper, 'D', Item.getItemFromBlock(ModBlocks.machine_difurnace_off) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_uf6_tank), 1), new Object[] { "WTW", "WTW", "SRS", 'S', "plateTitanium", 'W', ModItems.coil_tungsten, 'T', ModItems.tank_steel, 'W', ModItems.coil_tungsten,'R', "ingotRedstoneAlloy" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_puf6_tank), 1), new Object[] { "WTW", "WTW", "SRS", 'S', "plateSteel", 'W', ModItems.coil_tungsten, 'T', ModItems.tank_steel, 'W', ModItems.coil_tungsten,'R', "ingotRedstoneAlloy" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_reactor), 1), new Object[] { "LSL", "SCS", "LSL", 'S', "ingotSteel", 'L', "ingotLead", 'C', ModItems.reactor_core })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_off), 1), new Object[] { "SSS", "SFS", "CCC", 'S', "plateSteel", 'C', "plateCopper", 'F', Item.getItemFromBlock(Blocks.furnace) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_off), 1), new Object[] { "NNN", "NFN", "UUU", 'N', "plateDenseLead", 'U', ModItems.rtg_unit, 'F', Item.getItemFromBlock(Blocks.furnace) })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off), 1), new Object[] { "BBB", "WFW", "RRR", 'B', ModItems.ingot_beryllium, 'R', ModItems.coil_tungsten, 'W', ModItems.wire_red_copper, 'F', Item.getItemFromBlock(Blocks.furnace) }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_generator), 1), new Object[] { "SLS", "LCL", "SLS", 'C', ModItems.circuit_red_copper, 'L', ModItems.rod_quad_lead, 'S', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.red_wire_coated), 16), new Object[] { "WRW", "RIR", "WRW", 'W', "ingotTungsten", 'I', "ingotRedstoneAlloy", 'R', ModItems.wire_red_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.red_cable), 16), new Object[] { "WRW", "RIR", "WRW", 'W', "plateSteel", 'I', "ingotRedstoneAlloy", 'R', ModItems.wire_red_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_deuterium), 1), new Object[] { "TIT", "RFR", "CCC", 'T', ModItems.tank_steel, 'I', "ingotTitanium", 'R', ModItems.wire_red_copper, 'F', Item.getItemFromBlock(ModBlocks.machine_difurnace_off), 'C', ModItems.coil_tungsten })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_battery), 1), new Object[] { "TST", "RIR", "TLT", 'T', "ingotTungsten", 'I', "ingotRedstoneAlloy", 'R', ModItems.wire_red_copper, 'S', "blockSulfur", 'L', "blockLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_battery), 1), new Object[] { "TLT", "RIR", "TST", 'T', "ingotTungsten", 'I', "ingotRedstoneAlloy", 'R', ModItems.wire_red_copper, 'S', "blockSulfur", 'L', "blockLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_coal_off), 1), new Object[] { "STS", "SCS", "SFS", 'S', "ingotSteel", 'T', ModItems.tank_steel, 'C', "ingotRedstoneAlloy", 'F', Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_converter_he_rf), 1), new Object[] { "SSS", "CRC", "SSS", 'S', "ingotSteel", 'C', ModItems.coil_copper, 'R', ModItems.coil_copper_torus })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_converter_rf_he), 1), new Object[] { "SSS", "CRC", "SSS", 'S', ModItems.ingot_beryllium, 'C', ModItems.coil_copper, 'R', ModItems.coil_copper_torus }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_schrabidium_transmutator), 1), new Object[] { "TST", "ARA", "BBB", 'S', ModItems.nugget_schrabidium , 'T', "ingotTitanium", 'A', Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 'R', Item.getItemFromBlock(ModBlocks.machine_reactor), 'B', Item.getItemFromBlock(ModBlocks.machine_battery) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_diesel), 1), new Object[] { "HTH", "PRP", "SFS", 'S', "ingotSteel", 'T', ModItems.tank_steel, 'H', ModItems.hull_small_steel, 'P', Item.getItemFromBlock(Blocks.piston), 'R', "ingotRedstoneAlloy", 'F', Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off) })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_shredder), 1), new Object[] { "SHS", "MBM", "CFC", 'H', ModItems.hull_big_steel, 'S', ModBlocks.steel_beam, 'M', ModItems.motor, 'B', Blocks.iron_bars, 'C', ModBlocks.red_wire_coated, 'F', Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off) }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_combine_factory), 1), new Object[] { "HCH", "STS", "RFR", 'H', ModItems.tank_steel, 'C', ModItems.coil_advanced_torus, 'S', "plateSteel", 'T', ModBlocks.block_magnetized_tungsten, 'R', ModItems.wire_red_copper, 'F', Item.getItemFromBlock(ModBlocks.machine_difurnace_off) })); -<<<<<<< HEAD - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_teleporter), 1), new Object[] { "TPT", "EKE", "AMA", 'T', "plateTitanium", 'P', ModItems.telepad, 'E', ModItems.powder_power, 'K', ModItems.entanglement_kit, 'A', "plateAdvanced", 'M', ModBlocks.fwatz_computer })); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_titanium_hull), 1), new Object[] { "PIP", "I I", "PIP", 'P', "plateTitanium", 'I', "ingotTitanium" })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_titanium_furnace), 1), new Object[] { "HMH", "MFM", "HMH", 'H', Item.getItemFromBlock(ModBlocks.factory_titanium_hull), 'M', ModItems.motor, 'F', Item.getItemFromBlock(Blocks.furnace) }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_titanium_conductor), 1), new Object[] { "SWS", "FFF", "SWS", 'S', "ingotTitanium", 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'F', ModItems.fuse })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_titanium_core), 1), new Object[] { "HPH", "PCP", "HPH", 'H', Item.getItemFromBlock(ModBlocks.factory_titanium_hull), 'C', ModItems.circuit_aluminium, 'P', Item.getItemFromBlock(Blocks.piston) }); - GameRegistry.addRecipe(new ItemStack(ModItems.factory_core_titanium, 1, ModItems.factory_core_titanium.getMaxDamage()), new Object[] { "BRB", "RHR", "BRB", 'B', new ItemStack(ModItems.battery_generic, 1, ModItems.battery_generic.getMaxDamage()), 'R', Item.getItemFromBlock(Blocks.redstone_block), 'H', Item.getItemFromBlock(ModBlocks.factory_titanium_hull) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 1), new Object[] { "PIP", "I I", "PIP", 'P', ModItems.plate_advanced_alloy, 'I', ModItems.ingot_advanced_alloy }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_advanced_furnace), 1), new Object[] { "HMH", "MFM", "HMH", 'H', Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 'M', ModItems.motor, 'F', Item.getItemFromBlock(Blocks.furnace) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_advanced_conductor), 1), new Object[] { "SWS", "FFF", "SWS", 'S', ModItems.ingot_advanced_alloy, 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'F', ModItems.fuse }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_advanced_core), 1), new Object[] { "HPH", "PCP", "HPH", 'H', Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 'C', ModItems.circuit_red_copper, 'P', Item.getItemFromBlock(Blocks.piston) }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.factory_core_advanced, 1, ModItems.factory_core_advanced.getMaxDamage()), new Object[] { "BLB", "SHS", "BLB", 'B', new ItemStack(ModItems.battery_advanced, 1, ModItems.battery_advanced.getMaxDamage()), 'S', "blockSulfur", 'L', "blockLead", 'H', Item.getItemFromBlock(ModBlocks.factory_advanced_hull) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.factory_core_advanced, 1, ModItems.factory_core_advanced.getMaxDamage()), new Object[] { "BSB", "LHL", "BSB", 'B', new ItemStack(ModItems.battery_advanced, 1, ModItems.battery_advanced.getMaxDamage()), 'S', "blockSulfur", 'L', "blockLead", 'H', Item.getItemFromBlock(ModBlocks.factory_advanced_hull) })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fuse, 1), new Object[] { " S ", "GAG", " S ", 'S', "plateSteel", 'G', Item.getItemFromBlock(Blocks.glass_pane), 'A', ModItems.wire_aluminium })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.redcoil_capacitor, 1), new Object[] { "PFP", "CBC", "CBC", 'P', "plateGold", 'B', Item.getItemFromBlock(Blocks.redstone_block), 'C', ModItems.coil_advanced_alloy, 'F', ModItems.fuse })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.titanium_filter, 1), new Object[] { "PFP", "CBC", "CBC", 'P', "plateLead", 'B', "U238", 'C', "plateTitanium", 'F', ModItems.fuse })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.detonator, 1), new Object[] { " W", "SC", "CE", 'S', "plateSteel", 'W', ModItems.wire_red_copper, 'C', ModItems.circuit_red_copper, 'E', "ingotSteel" })); - - GameRegistry.addRecipe(new ItemStack(ModItems.singularity, 1), new Object[] { "ESE", "SBS", "ESE", 'E', ModItems.nugget_euphemium, 'S', ModItems.cell_anti_schrabidium, 'B', Item.getItemFromBlock(ModBlocks.block_schrabidium) }); - GameRegistry.addRecipe(new ItemStack(ModItems.singularity_counter_resonant, 1), new Object[] { "CTC", "TST", "CTC", 'C', ModItems.plate_combine_steel, 'T', ModItems.ingot_magnetized_tungsten, 'S', ModItems.singularity }); - GameRegistry.addRecipe(new ItemStack(ModItems.singularity_super_heated, 1), new Object[] { "CTC", "TST", "CTC", 'C', ModItems.plate_advanced_alloy, 'T', ModItems.powder_power, 'S', ModItems.singularity }); - GameRegistry.addRecipe(new ItemStack(ModItems.black_hole, 1), new Object[] { "SSS", "SCS", "SSS", 'C', ModItems.singularity, 'S', ModItems.crystal_xen }); - GameRegistry.addRecipe(new ItemStack(ModItems.crystal_xen, 1), new Object[] { "EEE", "EIE", "EEE", 'E', ModItems.powder_power, 'I', ModItems.ingot_euphemium }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.screwdriver, 1), new Object[] { " I", " I ", "S ", 'S', "ingotSteel", 'I', "ingotIron" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.overfuse, 1), new Object[] { ModItems.screwdriver, "dustNeptunium", ModItems.powder_iodine, ModItems.powder_thorium, ModItems.powder_astatine, ModItems.powder_neodymium, ModItems.flame_pony, ModItems.black_hole, ModItems.blades_schrabidium })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_aluminium, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateAluminum", 'I', "ingotAluminum" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_gold, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateGold", 'I', "ingotGold" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_iron, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateIron", 'I', "ingotIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_steel, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateSteel", 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_titanium, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateTitanium", 'I', "ingotTitanium" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_advanced_alloy, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateAdvanced", 'I', "ingotAdvanced" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_combine_steel, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateCMBSteel", 'I', "ingotCMBSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_schrabidium, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateSchrabidium", 'I', "ingotSchrabidium" })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_element), 1), new Object[] { "SCS", "CSC", "SCS", 'S', "ingotSteel", 'C', ModItems.rod_quad_empty })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_control), 1), new Object[] { "SLS", "SLS", "SLS", 'S', "ingotSteel", 'L', "ingotLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_conductor), 1), new Object[] { "SWS", "FFF", "SWS", 'S', "ingotSteel", 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'F', ModItems.fuse })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_computer), 1), new Object[] { "CWC", "CRC", "CWC", 'C', ModItems.circuit_red_copper, 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'R', Item.getItemFromBlock(ModBlocks.reactor_conductor) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_hatch), 1), new Object[] { "BBB", "BFB", "BBB", 'B', Item.getItemFromBlock(ModBlocks.brick_concrete), 'F', Item.getItemFromBlock(Blocks.furnace) }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_conductor), 1), new Object[] { "SSS", "CCC", "SSS", 'S', "plateSteel", 'C', ModItems.coil_advanced_alloy })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_center), 1), new Object[] { "TMT", "TWT", "TMT", 'T', "ingotTungsten", 'M', Item.getItemFromBlock(ModBlocks.fusion_conductor), 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_motor), 1), new Object[] { "MTM", "TTT", "MTM", 'T', "ingotTitanium", 'M', ModItems.motor })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_heater), 1), new Object[] { "TTT", "CCC", "TTT", 'T', "ingotTungsten", 'C', ModItems.magnetron })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_hatch), 1), new Object[] { "TTT", "TFT", "TTT", 'T', Item.getItemFromBlock(ModBlocks.fusion_heater), 'F', Item.getItemFromBlock(Blocks.furnace) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_core), 1), new Object[] { "CWC", "CRC", "CWC", 'C', ModItems.circuit_gold, 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'R', Item.getItemFromBlock(ModBlocks.fusion_center) }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_element), 2), new Object[] { "TET", "ERE", "TET", 'T', "ingotTungsten", 'R', Item.getItemFromBlock(ModBlocks.fusion_conductor), 'E', Item.getItemFromBlock(ModBlocks.reactor_element) })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_control), 2), new Object[] { "TMT", "MWM", "TMT", 'T', ModItems.ingot_advanced_alloy, 'M', Item.getItemFromBlock(ModBlocks.reactor_control), 'W', ModItems.coil_copper_torus }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_cooler), 1), new Object[] { "SCS", "CNC", "SCS", 'N', "blockSteel", 'C', ModItems.rod_quad_coolant, 'S', "dustNetherQuartz" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_end), 1), new Object[] { "TST", "SBS", "TST", 'T', "ingotTungsten", 'S', "ingotSteel", 'B', "blockLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_conductor), 1), new Object[] { "TWT", "FNF", "TWT", 'T', "ingotTungsten", 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'F', ModItems.fuse, 'N', "nuggetSchrabidium" })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_hatch), 1), new Object[] { "RRR", "RFR", "RRR", 'R', Item.getItemFromBlock(ModBlocks.reinforced_brick), 'F', Item.getItemFromBlock(Blocks.furnace) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_core), 1), new Object[] { "CWC", "CRC", "CWC", 'C', ModItems.circuit_schrabidium, 'W', Item.getItemFromBlock(ModBlocks.watz_conductor), 'R', Item.getItemFromBlock(ModBlocks.block_meteor) }); - - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_conductor), 1), new Object[] { "SSS", "CCC", "SSS", 'S', ModItems.plate_combine_steel, 'C', ModItems.coil_magnetized_tungsten }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_cooler), 1), new Object[] { "IPI", "IPI", "IPI", 'I', "ingotTitanium", 'P', "plateTitanium" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_tank), 1), new Object[] { "CGC", "GGG", "CGC", 'C', ModItems.plate_combine_steel, 'G', "paneGlass" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_scaffold), 1), new Object[] { "IPI", "P P", "IPI", 'I', "ingotTungsten", 'P', "plateDenseLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_hatch), 1), new Object[] { "SSS", "SFS", "SSS", 'S', ModBlocks.fwatz_scaffold, 'F', Blocks.furnace })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_computer), 1), new Object[] { "DTD", "TMT", "DTD", 'D', "dustDiamond", 'T', "dustMagnetizedTungsten", 'M', ModBlocks.block_meteor })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_core), 1), new Object[] { "CMC", "MAM", "CMC", 'C', ModItems.circuit_schrabidium, 'M', ModBlocks.fwatz_computer, 'A', ModBlocks.fwatz_conductor })); - -<<<<<<< HEAD -======= -<<<<<<< HEAD ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_light), 4), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.fence, 'B', Blocks.brick_block }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_concrete), 4), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.stone }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_obsidian), 4), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.obsidian }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.cmb_brick), 4), new Object[] { "PPP", "PIP", "PPP", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel }); -<<<<<<< HEAD -======= -======= - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_light), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.fence, 'B', Blocks.brick_block }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_concrete), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.stone }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_obsidian), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.obsidian }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.cmb_brick), 8), new Object[] { "PPP", "PIP", "PPP", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel }); ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.cmb_brick_reinforced), 8), new Object[] { "TBT", "BCB", "TBT", 'T', ModBlocks.block_magnetized_tungsten, 'B', ModBlocks.brick_concrete, 'C', ModBlocks.cmb_brick }); - - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_brick), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', ModBlocks.brick_concrete }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_glass), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.glass }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_light), 1), new Object[] { "FFF", "FBF", "FFF", 'F', Blocks.iron_bars, 'B', Blocks.glowstone }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_lamp_off), 1), new Object[] { "FFF", "FBF", "FFF", 'F', Blocks.iron_bars, 'B', Blocks.redstone_lamp }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_sand), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.sandstone }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.tape_recorder), 4), new Object[] { "TST", "SSS", 'T', "ingotTungsten", 'S', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_poles), 16), new Object[] { "S S", "SSS", "S S", 'S', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.pole_top), 1), new Object[] { "T T", "TRT", "BBB", 'T', "ingotTungsten", 'B', ModItems.ingot_beryllium, 'R', "ingotRedstoneAlloy" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.pole_satellite_receiver), 1), new Object[] { "SS ", "SCR", "SS ", 'S', "ingotSteel", 'C', ModItems.circuit_red_copper, 'R', ModItems.wire_red_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_beam), 8), new Object[] { "S", "S", "S", 'S', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_wall), 4), new Object[] { "SSS", "SSS", 'S', "ingotSteel" })); - GameRegistry.addShapelessRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_corner)), new Object[] { Item.getItemFromBlock(ModBlocks.steel_wall), Item.getItemFromBlock(ModBlocks.steel_wall) }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_roof), 2), new Object[] { "SSS", 'S', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_scaffold), 8), new Object[] { "SSS", " S ", "SSS", 'S', "ingotSteel" })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_rpg, 1), new Object[] { "SSW", " SW", 'S', "plateSteel", 'W', "plateIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_rpg_ammo, 8), new Object[] { "SI ", "ITI", " I ", 'S', "plateSteel", 'T', Item.getItemFromBlock(Blocks.tnt), 'I', "plateIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver, 1), new Object[] { "SSS", " RW", 'S', "plateSteel", 'W', Item.getItemFromBlock(Blocks.planks), 'R', ModItems.wire_aluminium })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_ammo, 16), new Object[] { "L", "S", 'L', "plateLead", 'S', Items.gunpowder })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_iron, 1), new Object[] { "SSS", " RW", 'S', "plateIron", 'W', Item.getItemFromBlock(Blocks.planks), 'R', ModItems.wire_aluminium })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_iron_ammo, 16), new Object[] { "L", "S", 'L', "plateIron", 'S', Items.gunpowder })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_gold, 1), new Object[] { "SSS", " RW", 'S', "plateGold", 'W', "ingotGold", 'R', ModItems.wire_gold })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_gold_ammo, 16), new Object[] { "L", "S", 'L', ModItems.plate_gold, 'S', Items.gunpowder })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead, 1), new Object[] { "SSS", " RW", 'S', "plateLead", 'W', "ingotTungsten", 'R', ModItems.wire_tungsten })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead_ammo, 16), new Object[] { "L", "S", 'L', "paneGlass", 'S', ModItems.ingot_u235 })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead_ammo, 16), new Object[] { "L", "S", 'L', "paneGlass", 'S', ModItems.ingot_pu239 })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead_ammo, 16), new Object[] { "L", "S", 'L', "paneGlass", 'S', ModItems.nuclear_waste })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead_ammo, 16), new Object[] { "L", "S", 'L', "paneGlass", 'S', ModItems.trinitite })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_schrabidium, 1), new Object[] { "SSS", " RW", 'S', ModItems.plate_schrabidium, 'W', "ingotTungsten", 'R', ModItems.wire_schrabidium })); - GameRegistry.addRecipe(new ItemStack(ModItems.gun_revolver_schrabidium_ammo, 16), new Object[] { "L", "S", 'L', ModItems.plate_schrabidium, 'S', Items.gunpowder }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_cursed, 1), new Object[] { "TTM", "SRI", 'S', "plateSteel", 'I', "ingotSteel", 'R', ModItems.wire_red_copper, 'T', "plateTitanium", 'M', ModItems.motor })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_cursed_ammo, 32), new Object[] { "L", "L", 'L', "plateSteel", 'S', Items.gunpowder })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_fatman, 1), new Object[] { "SSI", "III", "WPH", 'S', "plateSteel", 'I', "ingotSteel", 'W', ModItems.wire_aluminium, 'H', ModItems.hull_small_steel, 'P', Item.getItemFromBlock(Blocks.piston) })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_fatman_ammo, 2), new Object[] { " S ", "SPS", "ITI", 'S', "plateSteel", 'P', ModItems.ingot_pu239, 'T', Item.getItemFromBlock(Blocks.tnt), 'I', "plateIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mirv, 1), new Object[] { "LLL", "WFW", "SSS", 'S', "plateSteel", 'L', "plateLead", 'W', ModItems.wire_gold, 'F', ModItems.gun_fatman })); - GameRegistry.addRecipe(new ItemStack(ModItems.gun_mirv_ammo, 1), new Object[] { "NNN", "NSN", "NNN", 'S', ModItems.hull_small_steel, 'N', ModItems.gun_fatman_ammo }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_bf, 1), new Object[] { "LLL", "WFW", "SSS", 'S', ModItems.plate_paa, 'L', "plateDenseLead", 'W', ModItems.wire_advanced_alloy, 'F', ModItems.gun_mirv })); - GameRegistry.addRecipe(new ItemStack(ModItems.gun_bf_ammo, 1), new Object[] { "AEA", "SHS", "AEA", 'H', ModItems.hull_small_steel, 'A', ModItems.cell_antimatter, 'S', ModItems.cell_anti_schrabidium, 'E', ModItems.powder_power }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp40, 1), new Object[] { "III", " SW", " S ", 'S', "plateSteel", 'I', "ingotSteel", 'W', "plankWood" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp40_ammo, 16), new Object[] { "P", "G", 'P', "plateCopper", 'G', Items.gunpowder })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456, 1), new Object[] { "PBB", "ACC", "PRY", 'P', "plateSteel", 'R', ModItems.redcoil_capacitor, 'A', ModItems.coil_advanced_alloy, 'B', ModItems.battery_generic, 'C', ModItems.coil_advanced_torus, 'Y', ModItems.circuit_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 64), new Object[] { "SSS", "SRS", "SSS", 'S', "plateSteel", 'R', ModItems.rod_quad_uranium_fuel_depleted })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 32), new Object[] { " S ", "SRS", " S ", 'S', "plateSteel", 'R', ModItems.rod_dual_uranium_fuel_depleted })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 16), new Object[] { " S ", " R ", " S ", 'S', "plateSteel", 'R', ModItems.rod_uranium_fuel_depleted })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 16), new Object[] { "SRS", 'S', "plateSteel", 'R', ModItems.rod_uranium_fuel_depleted })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 16), new Object[] { " S ", " R ", " S ", 'S', "plateSteel", 'R', "U238" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 16), new Object[] { "SRS", 'S', "plateSteel", 'R', "U238" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_osipr, 1), new Object[] { "CCT", "WWI", "MCC", 'C', ModItems.plate_combine_steel, 'T', "ingotTungsten", 'W', ModItems.wire_magnetized_tungsten, 'I', ModItems.ingot_magnetized_tungsten, 'M', ModItems.coil_magnetized_tungsten })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_osipr_ammo, 16), new Object[] { "G", "R", "S", 'G', "dustGlowstone", 'R', "dustRedstone", 'S', "plateSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_osipr_ammo, 16), new Object[] { "R", "G", "S", 'G', "dustGlowstone", 'R', "dustRedstone", 'S', "plateSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_osipr_ammo2, 1), new Object[] { " C ", "PPP", " C ", 'C', ModItems.plate_combine_steel, 'P', ModItems.powder_power })); -<<<<<<< HEAD - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_immolator, 1), new Object[] { "WCC", "PMT", "WAA", 'W', ModItems.wire_gold, 'C', "plateCopper", 'P', "plateAdvanced", 'M', ModItems.motor, 'T', ModItems.tank_steel, 'A', "plateSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_immolator_ammo, 16), new Object[] { "SPS", "PCP", "SPS", 'S', "plateSteel", 'C', "dustCoal", 'P', ModItems.powder_fire })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_immolator_ammo, 16), new Object[] { " F ", "SFS", " F ", 'S', "plateSteel", 'F', ModItems.canister_fuel })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_immolator_ammo, 24), new Object[] { " F ", "SFS", " F ", 'S', "plateSteel", 'F', ModItems.canister_napalm })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_cryolator, 1), new Object[] { "SSS", "IWL", "LMI", 'S', "plateSteel", 'I', "plateIron", 'L', Items.leather, 'M', ModItems.motor, 'W', ModItems.wire_aluminium })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_zomg, 1), new Object[] { "PRR", "CCS", "PXX", 'P', ModItems.plate_paa, 'R', "plateDenseLead", 'S', ModItems.singularity_counter_resonant, 'X', ModItems.crystal_xen, 'C', ModItems.coil_magnetized_tungsten})); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp, 1), new Object[] { "EEE", "SSM", "III", 'E', ModItems.ingot_euphemium, 'S', "plateSteel", 'I', "ingotSteel", 'M', ModItems.motor})); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp_ammo, 32), new Object[] { "G", "C", 'G', "plateGold", 'C', "plateCopper", 'S', Items.gunpowder })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_emp, 1), new Object[] { "CPG", "CMF", "CPI", 'C', ModItems.coil_copper, 'P', "plateLead", 'G', ModItems.circuit_gold, 'M', ModItems.magnetron, 'I', "ingotTungsten", 'F', ModItems.fuse })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_emp_ammo, 8), new Object[] { "IGI", "IPI", "IPI", 'G', "plateGold", 'I', "plateIron", 'P', ModItems.powder_power })); -======= - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_zomg, 1), new Object[] { "PRR", "CCS", "PXX", 'P', ModItems.plate_paa, 'R', "plateDenseLead", 'S', ModItems.singularity_counter_resonant, 'X', ModItems.crystal_xen, 'C', ModItems.coil_magnetized_tungsten})); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp, 1), new Object[] { "EEE", "SSM", "III", 'E', ModItems.ingot_euphemium, 'S', "plateSteel", 'I', "ingotSteel", 'M', ModItems.motor})); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp_ammo, 32), new Object[] { "G", "C", 'G', "plateGold", 'C', "plateCopper", 'S', Items.gunpowder })); ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_generic, 4), new Object[] { "RS ", "ITI", " I ", 'I', "plateIron", 'R', ModItems.wire_red_copper, 'S', "plateSteel", 'T', Item.getItemFromBlock(Blocks.tnt) })); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_strong, 2), new Object[] { " G ", "SGS", " S ", 'G', ModItems.grenade_generic, 'S', Items.gunpowder }); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_frag, 2), new Object[] { " G ", "WGW", " K ", 'G', ModItems.grenade_generic, 'W', Item.getItemFromBlock(Blocks.planks), 'K', Item.getItemFromBlock(Blocks.gravel) }); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_fire, 2), new Object[] { " G ", "PFP", " P ", 'G', ModItems.grenade_generic, 'F', ModItems.grenade_frag, 'P', ModItems.powder_fire }); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_cluster, 2), new Object[] { " G ", "PFP", " P ", 'G', ModItems.grenade_generic, 'P', ModItems.pellet_cluster, 'F', ModItems.grenade_frag }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_flare, 2), new Object[] { " G ", "DGD", " D ", 'G', ModItems.grenade_generic, 'D', "dustGlowstone" })); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_electric, 2), new Object[] { " G ", "CSC", " C ", 'G', ModItems.grenade_generic, 'C', ModItems.circuit_red_copper, 'S', ModItems.grenade_strong }); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_poison, 2), new Object[] { " G ", "PGP", " P ", 'G', ModItems.grenade_generic, 'P', ModItems.powder_poison }); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_gas, 2), new Object[] { " G ", "CGC", " C ", 'G', ModItems.grenade_generic, 'C', ModItems.pellet_gas }); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_schrabidium, 2), new Object[] { " G ", "CFC", " C ", 'G', ModItems.grenade_generic, 'C', ModItems.ingot_schrabidium, 'F', ModItems.grenade_flare }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_nuclear, 1), new Object[] {"RS ", "ITI", " I ", 'I', "plateIron", 'R', ModItems.wire_red_copper, 'S', "plateSteel", 'T', ModItems.gun_fatman_ammo })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_plasma, 1), new Object[] {"RS ", "ICI", "TID", 'I', "plateIron", 'R', ModItems.wire_red_copper, 'S', "plateSteel", 'C', ModItems.coil_advanced_torus, 'D', ModItems.cell_deuterium, 'T', ModItems.cell_tritium })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_tau, 1), new Object[] {"RS ", "ITI", "UIU", 'I', "plateLead", 'R', ModItems.wire_red_copper, 'S', "plateAdvanced", 'T', ModItems.coil_advanced_torus, 'U', ModItems.gun_xvl1456_ammo })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_zomg, 1), new Object[] {"RC ", "PXP", "NPN", 'P', ModItems.plate_paa, 'R', ModItems.wire_red_copper, 'C', "plateCMBSteel", 'X', ModItems.crystal_xen, 'N', ModItems.powder_power })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_aschrab, 1), new Object[] {"RS ", "ITI", " S ", 'I', "paneGlassColorless", 'R', ModItems.wire_red_copper, 'S', "plateSteel", 'T', ModItems.cell_anti_schrabidium })); - GameRegistry.addRecipe(new ItemStack(ModItems.grenade_mk2, 2), new Object[] { " G ", "SGS", " S ", 'G', ModItems.grenade_strong, 'S', Items.gunpowder }); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.grenade_lemon, 1), new Object[] { ModItems.lemon, ModItems.grenade_strong })); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.gun_moist_nugget, 12), new Object[] { Items.bread, Items.wheat, Items.cooked_chicken, Items.egg }); - - GameRegistry.addRecipe(new ItemStack(ModItems.bomb_waffle, 1), new Object[] { "WEW", "MPM", "WEW", 'W', Items.wheat, 'E', Items.egg, 'M', Items.milk_bucket, 'P', ModItems.man_core }); - GameRegistry.addRecipe(new ItemStack(ModItems.schnitzel_vegan, 3), new Object[] { "RWR", "WPW", "RWR", 'W', ModItems.nuclear_waste, 'R', Items.reeds, 'P', Items.pumpkin_seeds }); - GameRegistry.addRecipe(new ItemStack(ModItems.cotton_candy, 2), new Object[] { " S ", "SPS", " H ", 'P', ModItems.nugget_pu239, 'S', Items.sugar, 'H', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.apple_schrabidium, 1, 0), new Object[] { "SSS", "SAS", "SSS", 'S', ModItems.nugget_schrabidium, 'A', Items.apple }); - GameRegistry.addRecipe(new ItemStack(ModItems.apple_schrabidium, 1, 1), new Object[] { "SSS", "SAS", "SSS", 'S', ModItems.ingot_schrabidium, 'A', Items.apple }); - GameRegistry.addRecipe(new ItemStack(ModItems.apple_schrabidium, 1, 2), new Object[] { "SSS", "SAS", "SSS", 'S', Item.getItemFromBlock(ModBlocks.block_schrabidium), 'A', Items.apple }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.tem_flakes, 1, 0), new Object[] { Items.gold_nugget, Items.paper }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.tem_flakes, 1, 1), new Object[] { Items.gold_nugget, Items.gold_nugget, Items.gold_nugget, Items.paper }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.tem_flakes, 1, 2), new Object[] { Items.gold_ingot, Items.gold_ingot, Items.gold_nugget, Items.gold_nugget, Items.paper }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.glowing_stew, 1), new Object[] { Items.bowl, Item.getItemFromBlock(ModBlocks.mush), Item.getItemFromBlock(ModBlocks.mush) }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.can_empty, 1), new Object[] { "P", "P", 'P', "plateAluminum" })); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_smart, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.niter }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_creature, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.canister_fuel }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_redbomb, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.pellet_cluster }); - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_mrsugar, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.fluorite }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_empty, 6), new Object[] { "P", "C", "B", 'B', Item.getItemFromBlock(Blocks.iron_bars), 'C', ModItems.cell_empty, 'P', "plateIron" })); - GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SSS", "PMP", "SSS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.milk_bucket }); - GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SPS", "SMS", "SPS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.milk_bucket }); - GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SSS", "PMP", "SSS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.reeds }); - GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SPS", "SMS", "SPS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.reeds }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_poison, 1), new Object[] { "SLS", "LCL", "SLS", 'C', ModItems.syringe_empty, 'S', Items.spider_eye, 'L', "dustLead" })); - GameRegistry.addRecipe(new ItemStack(ModItems.syringe_poison, 1), new Object[] { "SLS", "LCL", "SLS", 'C', ModItems.syringe_empty, 'S', Items.spider_eye, 'L', ModItems.powder_poison }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SPS", "NCN", "SPS", 'C', ModItems.syringe_empty, 'S', "sulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SNS", "PCP", "SNS", 'C', ModItems.syringe_empty, 'S', "sulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SPS", "NCN", "SPS", 'C', ModItems.syringe_empty, 'S', "dustSulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SNS", "PCP", "SNS", 'C', ModItems.syringe_empty, 'S', "dustSulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_metal_empty, 6), new Object[] { "P", "C", "B", 'B', Item.getItemFromBlock(Blocks.iron_bars), 'C', ModItems.rod_empty, 'P', "plateIron" })); - GameRegistry.addRecipe(new ItemStack(ModItems.syringe_metal_stimpak, 1), new Object[] { " N ", "NSN", " N ", 'N', Items.nether_wart, 'S', ModItems.syringe_metal_empty }); - GameRegistry.addRecipe(new ItemStack(ModItems.syringe_metal_medx, 1), new Object[] { " N ", "NSN", " N ", 'N', Items.quartz, 'S', ModItems.syringe_metal_empty }); - GameRegistry.addRecipe(new ItemStack(ModItems.syringe_metal_psycho, 1), new Object[] { " N ", "NSN", " N ", 'N', Items.glowstone_dust, 'S', ModItems.syringe_metal_empty }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.stealth_boy, 1), new Object[] { " B", "LI", "LC", 'B', Item.getItemFromBlock(Blocks.stone_button), 'L', Items.leather, 'I', "ingotSteel", 'C', ModItems.circuit_red_copper })); - - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_gadget), 1), new Object[] { "DGD", "FCF", "DPD", 'G', ModItems.wire_gold, 'F', ModItems.fins_flat, 'C', ModItems.sphere_steel, 'P', ModItems.pedestal_steel, 'D', new ItemStack(Items.dye, 1, 8) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_boy), 1), new Object[] { "ADD", "HHF", "CDD", 'A', ModItems.wire_aluminium, 'H', ModItems.hull_small_steel, 'C', ModItems.circuit_aluminium, 'F', ModItems.fins_small_steel, 'D', new ItemStack(Items.dye, 1, 4) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_man), 1), new Object[] { "ADD", "SHF", "CDD", 'A', ModItems.wire_aluminium, 'S', ModItems.sphere_steel, 'H', ModItems.hull_big_steel, 'F', ModItems.fins_big_steel, 'C', ModItems.circuit_aluminium, 'D', new ItemStack(Items.dye, 1, 11) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_mike), 1), new Object[] { "DCD", "HSH", "ATA", 'C', ModItems.cap_aluminium, 'H', ModItems.hull_big_aluminium, 'S', ModItems.sphere_steel, 'A', ModItems.circuit_red_copper, 'T', ModItems.tank_steel, 'D', new ItemStack(Items.dye, 1, 7) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_tsar), 1), new Object[] { "CHD", "STF", "CHD", 'C', ModItems.circuit_red_copper, 'H', ModItems.hull_big_titanium, 'S', ModItems.sphere_steel, 'T', ModItems.tank_steel, 'F', ModItems.fins_tri_steel, 'D', new ItemStack(Items.dye, 1, 0) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_fleija), 1), new Object[] { "DGD", "CHF", "DGD", 'G', ModItems.wire_gold, 'C', ModItems.circuit_gold, 'H', ModItems.hull_small_aluminium, 'F', ModItems.fins_quad_titanium, 'D', new ItemStack(Items.dye, 1, 15) }); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_prototype), 1), new Object[] { "GCG", "HRH", "GCG", 'G', ModItems.wire_gold, 'C', ModItems.ingot_euphemium, 'H', ModItems.hull_small_steel, 'R', ModItems.dysfunctional_reactor }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.launch_pad), 1), new Object[] { "PPP", "ICI", "CBC", 'P', "plateSteel", 'I', "ingotSteel", 'C', ModItems.circuit_gold, 'B', Item.getItemFromBlock(ModBlocks.machine_battery) })); - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.book_guide), 1), new Object[] { "IBI", "LBL", "IBI", 'B', Items.book, 'I', new ItemStack(Items.dye, 1, 0), 'L', new ItemStack(Items.dye, 1, 4) }); - - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.bomb_multi), 1), new Object[] { "AAD", "CHF", "AAD", 'A', ModItems.wire_aluminium, 'C', ModItems.circuit_aluminium, 'H', ModItems.hull_small_aluminium, 'F', ModItems.fins_quad_titanium, 'D', new ItemStack(Items.dye, 1, 15) }); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.pellet_cluster, 8), new Object[] { "plateIron", Item.getItemFromBlock(Blocks.tnt), "plateSteel" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_fire, 4), new Object[] { Items.blaze_powder, "sulfur", "dustRedstone" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_fire, 4), new Object[] { Items.blaze_powder, "dustSulfur", "dustRedstone" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_poison, 4), new Object[] { Items.spider_eye, "dustRedstone", "gemQuartz" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.pellet_gas, 2), new Object[] { Items.water_bucket, "dustGlowstone", "plateSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.magnetron, 2), new Object[] { "PWP", "ITI", "PWP", 'P', "plateAdvanced", 'I', "ingotAdvanced", 'W', ModItems.wire_tungsten, 'T', ModItems.coil_tungsten })); - - GameRegistry.addRecipe(new ItemStack(ModItems.flame_pony, 1), new Object[] { " O ", "DPD", " O ", 'D', new ItemStack(Items.dye, 1, 7), 'O', new ItemStack(Items.dye, 1, 5), 'P', Items.paper }); - GameRegistry.addRecipe(new ItemStack(ModItems.flame_conspiracy, 1), new Object[] { " S ", "STS", " S ", 'S', ModItems.canister_fuel, 'T', ModItems.ingot_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.flame_politics, 1), new Object[] { " I ", "IPI", " I ", 'P', Items.paper, 'I', new ItemStack(Items.dye, 1, 0) }); - GameRegistry.addRecipe(new ItemStack(ModItems.flame_opinion, 1), new Object[] { " R ", "RPR", " R ", 'P', Items.paper, 'R', new ItemStack(Items.dye, 1, 1) }); - - GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.flame_war), 1), new Object[] { "WHW", "CTP", "WOW", 'W', Item.getItemFromBlock(Blocks.planks), 'T', Item.getItemFromBlock(Blocks.tnt), 'H', ModItems.flame_pony, 'C', ModItems.flame_conspiracy, 'P', ModItems.flame_politics, 'O', ModItems.flame_opinion }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.float_bomb), 1), new Object[] { "TGT", "TUT", "TGT", 'T', "plateTitanium", 'U', ModItems.levitation_unit, 'G', ModItems.circuit_gold })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.therm_endo), 1), new Object[] { "TGT", "TUT", "TGT", 'T', "plateTitanium", 'U', ModItems.thermo_unit_endo, 'G', ModItems.circuit_gold })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.therm_exo), 1), new Object[] { "TGT", "TUT", "TGT", 'T', "plateTitanium", 'U', ModItems.thermo_unit_exo, 'G', ModItems.circuit_gold })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.det_cord), 8), new Object[] { "TNT", "NGN", "TNT", 'T', "plateTitanium", 'N', "salpeter", 'G', Items.gunpowder })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.det_cord), 8), new Object[] { "TNT", "NGN", "TNT", 'T', "plateTitanium", 'N', "dustSalpeter", 'G', Items.gunpowder })); - - GameRegistry.addRecipe(new ItemStack(ModItems.gadget_core, 1), new Object[] { "PPP", "PUP", "PPP", 'P', ModItems.nugget_pu239, 'U', ModItems.nugget_u238 }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gadget_explosive, 16), new Object[] { "ATP", "ATW", "ATP", 'P', "plateTitanium", 'A', "plateAluminum", 'T', Item.getItemFromBlock(Blocks.tnt), 'W', ModItems.wire_gold })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gadget_explosive8, 1), new Object[] { "EEE", "EPE", "EEE", 'E', ModItems.gadget_explosive, 'P', "plateAluminum" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gadget_wireing, 1), new Object[] { "WWW", "WSW", "WWW", 'W', ModItems.wire_gold, 'S', "plateTitanium" })); - - GameRegistry.addRecipe(new ItemStack(ModItems.boy_bullet, 1), new Object[] { "##", '#', ModItems.nugget_u235 }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.boy_igniter, 1), new Object[] { " AA", "WWS", " AA", 'A', "plateAluminum", 'W', ModItems.wire_red_copper, 'S', ModItems.circuit_aluminium })); - GameRegistry.addRecipe(new ItemStack(ModItems.boy_propellant, 1), new Object[] { "TTT", "PPW", "TTT", 'T', ModItems.plate_titanium, 'W', ModItems.wire_red_copper, 'P', Item.getItemFromBlock(Blocks.tnt) }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.boy_shielding, 1), new Object[] { "## ", "# #", "## ", '#', "plateDenseLead" })); - GameRegistry.addRecipe(new ItemStack(ModItems.boy_target, 1), new Object[] { "###", "# ", "###", '#', ModItems.nugget_u235 }); - - GameRegistry.addRecipe(new ItemStack(ModItems.man_core, 1), new Object[] { "PPP", "PBP", "PPP", 'P', ModItems.nugget_pu239, 'B', ModItems.nugget_beryllium }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.man_explosive, 16), new Object[] { "UTP", "UTW", "UTP", 'P', "plateTitanium", 'U', ModItems.nugget_u238, 'T', Item.getItemFromBlock(Blocks.tnt), 'W', ModItems.wire_red_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.man_explosive8, 1), new Object[] { "EEE", "ESE", "EEE", 'E', ModItems.man_explosive, 'S', "plateSteel" })); - GameRegistry.addRecipe(new ItemStack(ModItems.man_igniter, 1), new Object[] { " S ", "WWW", 'W', ModItems.wire_red_copper, 'S', ModItems.circuit_aluminium }); - - GameRegistry.addRecipe(new ItemStack(ModItems.mike_core, 1), new Object[] { "UPU", "UPU", "UPU", 'U', ModItems.nugget_u238, 'P', ModItems.nugget_pu239 }); - GameRegistry.addRecipe(new ItemStack(ModItems.mike_deut, 1), new Object[] { "DDD", "DTD", "DDD", 'D', ModItems.cell_deuterium, 'T', ModItems.tank_steel }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mike_cooling_unit, 1), new Object[] { "WSC", "WMC", "WAC", 'W', ModItems.coil_tungsten, 'C', ModItems.coil_copper, 'S', "plateSteel", 'M', ModItems.motor, 'A', ModItems.circuit_copper })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fleija_igniter, 1), new Object[] { " TT", "TSW", " TT", 'T', "plateTitanium", 'S', ModItems.circuit_schrabidium, 'W', ModItems.wire_schrabidium })); - GameRegistry.addRecipe(new ItemStack(ModItems.fleija_propellant, 1), new Object[] { "PPP", "TST", "PPP", 'P', ModItems.plate_schrabidium, 'S', ModItems.ingot_schrabidium, 'T', Item.getItemFromBlock(Blocks.tnt) }); - GameRegistry.addRecipe(new ItemStack(ModItems.fleija_core, 1), new Object[] { "NUU", "BHW", "NUU", 'N', ModItems.nugget_neptunium, 'B', ModItems.nugget_beryllium, 'U', ModItems.nugget_u235, 'H', ModItems.coil_copper, 'W', ModItems.wire_red_copper }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_generic, 1, 50), new Object[] { " A ", "PRP", "PRP", 'A', ModItems.wire_aluminium, 'P', "plateAluminum", 'R', Items.redstone })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_advanced, 1, 200), new Object[] { " A ", "PSP", "PLP", 'A', ModItems.wire_red_copper, 'P', "plateCopper", 'S', "sulfur", 'L', "dustLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_advanced, 1, 200), new Object[] { " A ", "PLP", "PSP", 'A', ModItems.wire_red_copper, 'P', "plateCopper", 'S', "sulfur", 'L', "dustLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_advanced, 1, 200), new Object[] { " A ", "PSP", "PLP", 'A', ModItems.wire_red_copper, 'P', "plateCopper", 'S', "dustSulfur", 'L', "dustLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_advanced, 1, 200), new Object[] { " A ", "PLP", "PSP", 'A', ModItems.wire_red_copper, 'P', "plateCopper", 'S', "dustSulfur", 'L', "dustLead" })); - GameRegistry.addRecipe(new ItemStack(ModItems.battery_schrabidium, 1, 10000), new Object[] { " A ", "PNP", "PSP", 'A', ModItems.wire_schrabidium, 'P', ModItems.plate_schrabidium, 'S', ModItems.powder_schrabidium, 'N', ModItems.powder_neptunium }); - GameRegistry.addRecipe(new ItemStack(ModItems.battery_schrabidium, 1, 10000), new Object[] { " A ", "PSP", "PNP", 'A', ModItems.wire_schrabidium, 'P', ModItems.plate_schrabidium, 'S', ModItems.powder_schrabidium, 'N', ModItems.powder_neptunium }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.energy_core, 1), new Object[] { "PCW", "TRD", "PCW", 'P', ModItems.plate_advanced_alloy, 'C', ModItems.coil_advanced_alloy, 'W', ModItems.wire_advanced_alloy, 'R', ModItems.cell_tritium, 'D', ModItems.cell_deuterium, 'T', "ingotTungsten" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.energy_core, 1), new Object[] { "PCW", "TDR", "PCW", 'P', ModItems.plate_advanced_alloy, 'C', ModItems.coil_advanced_alloy, 'W', ModItems.wire_advanced_alloy, 'R', ModItems.cell_tritium, 'D', ModItems.cell_deuterium, 'T', "ingotTungsten" })); - - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_schrabidium }); - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_schrabidium }); - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_schrabidium }); - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_schrabidium }); - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.steel_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_titanium }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_titanium }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_titanium }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_titanium }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_titanium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_titanium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_titanium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_titanium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.titanium_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_titanium, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_advanced_alloy }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_advanced_alloy }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_advanced_alloy }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_advanced_alloy }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_advanced_alloy, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_advanced_alloy, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_advanced_alloy, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_advanced_alloy, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.alloy_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_combine_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_combine_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_combine_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_combine_steel }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.cmb_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.chainsaw, 1), new Object[] { "TTG", "SSM", 'T', "plateIron", 'S', "plateSteel", 'M', ModItems.motor, 'G', ModItems.circuit_gold })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.tank_waste, 1), new Object[] { "PTP", "PTP", "PTP", 'T', ModItems.tank_steel, 'P', "plateSteel" })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hazmat_helmet, 1), new Object[] { "EEE", "EIE", "FPF", 'E', ModItems.hazmat_cloth, 'I', "paneGlass", 'P', "plateSteel", 'F', ModItems.filter_coal })); - GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.hazmat_cloth }); - GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.hazmat_cloth }); - GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.hazmat_cloth }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hazmat_paa_helmet, 1), new Object[] { "EEE", "IEI", "FPF", 'E', ModItems.plate_paa, 'I', "paneGlass", 'P', "plateSteel", 'F', ModItems.filter_coal })); - GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_paa_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.plate_paa }); - GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_paa_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.plate_paa }); - GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_paa_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.plate_paa }); -<<<<<<< HEAD - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.paa_plate, 1), new Object[] { "E E", "NEN", "ENE", 'E', ModItems.plate_paa, 'N', "plateDenseLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.paa_legs, 1), new Object[] { "EEE", "N N", "E E", 'E', ModItems.plate_paa, 'N', "plateDenseLead" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.paa_boots, 1), new Object[] { "E E", "N N", 'E', ModItems.plate_paa, 'N', "plateDenseLead" })); -======= ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.goggles, 1), new Object[] { "P P", "GPG", 'G', "paneGlass", 'P', "plateSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask, 1), new Object[] { "PPP", "GPG", "FPF", 'G', "paneGlass", 'P', "plateSteel", 'F', ModItems.filter_coal })); - - GameRegistry.addRecipe(new ItemStack(ModItems.cape_radiation, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 11), 'D', new ItemStack(Items.dye, 1, 11), 'I', ModItems.nuclear_waste }); - GameRegistry.addRecipe(new ItemStack(ModItems.cape_gasmask, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 4), 'D', new ItemStack(Items.dye, 1, 0), 'I', ModItems.gas_mask }); - GameRegistry.addRecipe(new ItemStack(ModItems.cape_schrabidium, 1), new Object[] { "W W", "WIW", "WDW", 'W', ModItems.ingot_schrabidium, 'D', new ItemStack(Items.dye, 1, 0), 'I', ModItems.circuit_red_copper }); - GameRegistry.addRecipe(new ItemStack(ModItems.cape_hbm, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 15), 'D', ModItems.ingot_neptunium, 'I', ModItems.ingot_euphemium }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.cape_dafnik, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 1), 'D', new ItemStack(Items.dye, 1, 0), 'I', "ingotSteel" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.cape_lpkukin, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 13), 'D', new ItemStack(Items.dye, 1, 8), 'I', "plateSteel" })); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.igniter, 1), new Object[] { " W", "SC", "CE", 'S', "plateSteel", 'W', ModItems.wire_schrabidium, 'C', ModItems.circuit_schrabidium, 'E', ModItems.ingot_euphemium })); - GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_euphemium }); - GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_plate, 1), new Object[] { "EWE", "EEE", "EEE", 'E', ModItems.ingot_euphemium, 'W', ModItems.watch }); - GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_euphemium }); - GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_euphemium }); - GameRegistry.addRecipe(new ItemStack(ModItems.watch, 1), new Object[] { "LEL", "EWE", "LEL", 'E', ModItems.ingot_euphemium, 'L', new ItemStack(Items.dye, 1, 4), 'W', Items.clock }); - GameRegistry.addRecipe(new ItemStack(ModItems.apple_euphemium, 1), new Object[] { "EEE", "EAE", "EEE", 'E', ModItems.nugget_euphemium, 'A', Items.apple }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mask_of_infamy, 1), new Object[] { "III", "III", " I ", 'I', "plateIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.designator, 1), new Object[] { " A", "#B#", "#B#", '#', "plateIron", 'A', "plateSteel", 'B', ModItems.circuit_red_copper })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.linker, 1), new Object[] { "I I", "ICI", "GGG", 'I', "plateIron", 'G', "plateGold", 'C', ModItems.circuit_gold })); - - GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_hammer, 1), new Object[] { "BBB", "BBB", " S ", 'B', Item.getItemFromBlock(ModBlocks.block_schrabidium), 'S', Items.stick }); - GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_stopper, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_euphemium, 'S', Items.stick }); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.matchstick, 16), new Object[] { "I", "S", 'I', "sulfur", 'S', Items.stick })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.matchstick, 16), new Object[] { "I", "S", 'I', "dustSulfur", 'S', Items.stick })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.remote, 1), new Object[] { "I", "S", 'I', "dustRedstone", 'S', "plateIron" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.crowbar, 1), new Object[] { "II", " I", " I", 'I', "ingotSteel" })); - - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_power, 5), new Object[] { "dustRedstone", "dustGlowstone", "dustDiamond", "dustNeptunium", "dustMagnetizedTungsten" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.coal, 1), new Object[] { "#", '#', "dustCoal" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.quartz, 1), new Object[] { "#", '#', "dustQuartz" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.quartz, 1), new Object[] { "#", '#', "dustNetherQuartz" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.dye, 1, 4), new Object[] { "#", '#', "dustLapis" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.diamond, 1), new Object[] { "#", '#', "dustDiamond" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.emerald, 1), new Object[] { "#", '#', "dustEmerald" })); - if(MainRegistry.enableNITAN) - GameRegistry.addShapelessRecipe(new ItemStack(ModItems.canister_NITAN, 1), new Object[] { ModItems.canister_empty, ModItems.canister_napalm, ModItems.powder_neptunium, ModItems.powder_iodine, ModItems.powder_thorium, ModItems.powder_astatine, ModItems.powder_neodymium }); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.record_lc, 1), new Object[] { " S ", "SDS", " S ", 'S', "ingotSteel", 'D', "dustLapis" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.record_ss, 1), new Object[] { " S ", "SDS", " S ", 'S', "ingotSteel", 'D', "dustAdvanced" })); - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.record_vc, 1), new Object[] { " S ", "SDS", " S ", 'S', "ingotSteel", 'D', "dustCMBSteel" })); - - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_advanced_alloy, 4), new Object[] { "dustRedstone", "dustIron", "dustCoal", "dustCopper" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_advanced_alloy, 3), new Object[] { "dustIron", "dustCoal", "dustRedstoneAlloy" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_advanced_alloy, 3), new Object[] { "dustRedstone", "dustSteel", "dustCopper" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_advanced_alloy, 2), new Object[] { "dustRedstoneAlloy", "dustSteel" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_magnetized_tungsten, 1), new Object[] { "dustTungsten", "nuggetSchrabidium" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_red_copper, 2), new Object[] { "dustRedstone", "dustCopper" })); - GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_steel, 2), new Object[] { "dustIron", "dustCoal" })); -<<<<<<< HEAD - - GameRegistry.addRecipe(new ItemStack(ModItems.chopper, 1), new Object[] { "BBB", "HTF", "GWW", 'B', ModItems.chopper_blades, 'H', ModItems.chopper_head, 'T', ModItems.chopper_torso, 'F', ModItems.chopper_tail, 'G', ModItems.chopper_gun, 'W', ModItems.chopper_wing }); -======= -<<<<<<< HEAD - - GameRegistry.addRecipe(new ItemStack(ModItems.chopper, 1), new Object[] { "BBB", "HTF", "GWW", 'B', ModItems.chopper_blades, 'H', ModItems.chopper_head, 'T', ModItems.chopper_torso, 'F', ModItems.chopper_tail, 'G', ModItems.chopper_gun, 'W', ModItems.chopper_wing }); -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - } - - public static void AddSmeltingRec() - { - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_uranium), new ItemStack(ModItems.ingot_uranium), 6.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_nether_uranium), new ItemStack(ModItems.ingot_uranium), 12.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_nether_plutonium), new ItemStack(ModItems.ingot_plutonium), 24.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_titanium), new ItemStack(ModItems.ingot_titanium), 3.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_copper), new ItemStack(ModItems.ingot_copper), 2.5F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_tungsten), new ItemStack(ModItems.ingot_tungsten), 6.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_nether_tungsten), new ItemStack(ModItems.ingot_tungsten), 12.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_aluminium), new ItemStack(ModItems.ingot_aluminium), 2.5F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_lead), new ItemStack(ModItems.ingot_lead), 3.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_beryllium), new ItemStack(ModItems.ingot_beryllium), 2.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_schrabidium), new ItemStack(ModItems.ingot_schrabidium), 128.0F); - GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_nether_schrabidium), new ItemStack(ModItems.ingot_schrabidium), 256.0F); - - GameRegistry.addSmelting(ModItems.powder_lead, new ItemStack(ModItems.ingot_lead), 1.0F); - GameRegistry.addSmelting(ModItems.powder_neptunium, new ItemStack(ModItems.ingot_neptunium), 1.0F); - GameRegistry.addSmelting(ModItems.powder_schrabidium, new ItemStack(ModItems.ingot_schrabidium), 5.0F); - GameRegistry.addSmelting(ModItems.powder_aluminium, new ItemStack(ModItems.ingot_aluminium), 1.0F); - GameRegistry.addSmelting(ModItems.powder_beryllium, new ItemStack(ModItems.ingot_beryllium), 1.0F); - GameRegistry.addSmelting(ModItems.powder_copper, new ItemStack(ModItems.ingot_copper), 1.0F); - GameRegistry.addSmelting(ModItems.powder_gold, new ItemStack(Items.gold_ingot), 1.0F); - GameRegistry.addSmelting(ModItems.powder_iron, new ItemStack(Items.iron_ingot), 1.0F); - GameRegistry.addSmelting(ModItems.powder_titanium, new ItemStack(ModItems.ingot_titanium), 1.0F); - GameRegistry.addSmelting(ModItems.powder_tungsten, new ItemStack(ModItems.ingot_tungsten), 1.0F); - GameRegistry.addSmelting(ModItems.powder_uranium, new ItemStack(ModItems.ingot_uranium), 1.0F); - GameRegistry.addSmelting(ModItems.powder_plutonium, new ItemStack(ModItems.ingot_plutonium), 1.0F); - GameRegistry.addSmelting(ModItems.powder_advanced_alloy, new ItemStack(ModItems.ingot_advanced_alloy), 1.0F); - GameRegistry.addSmelting(ModItems.powder_combine_steel, new ItemStack(ModItems.ingot_combine_steel), 1.0F); - GameRegistry.addSmelting(ModItems.powder_magnetized_tungsten, new ItemStack(ModItems.ingot_magnetized_tungsten), 1.0F); - GameRegistry.addSmelting(ModItems.powder_red_copper, new ItemStack(ModItems.ingot_red_copper), 1.0F); - GameRegistry.addSmelting(ModItems.powder_steel, new ItemStack(ModItems.ingot_steel), 1.0F); - GameRegistry.addSmelting(ModItems.powder_lithium, new ItemStack(ModItems.lithium), 1.0F); - - GameRegistry.addSmelting(ModItems.combine_scrap, new ItemStack(ModItems.ingot_combine_steel), 1.0F); -<<<<<<< HEAD - GameRegistry.addSmelting(ModItems.tank_waste, new ItemStack(ModItems.tank_waste), 0.0F); -======= -<<<<<<< HEAD - GameRegistry.addSmelting(ModItems.tank_waste, new ItemStack(ModItems.tank_waste), 0.0F); -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - GameRegistry.addSmelting(Items.bone, new ItemStack(Items.slime_ball, 3), 0.0F); - GameRegistry.addSmelting(new ItemStack(Items.dye, 1, 15), new ItemStack(Items.slime_ball, 1), 0.0F); - GameRegistry.addSmelting(new ItemStack(Blocks.gravel, 1), new ItemStack(Blocks.cobblestone, 1), 0.0F); - } -} +package com.hbm.main; + +import com.hbm.blocks.ModBlocks; +import com.hbm.items.ModItems; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraftforge.oredict.ShapedOreRecipe; +import net.minecraftforge.oredict.ShapelessOreRecipe; +import cpw.mods.fml.common.registry.GameRegistry; + +public class CraftingManager { + + public static void mainRegistry() + { + AddCraftingRec(); + AddSmeltingRec(); + } + + public static void AddCraftingRec() + { + GameRegistry.addRecipe(new ItemStack(ModItems.redstone_sword, 1), new Object[] { "R", "R", "S", 'R', Blocks.redstone_block, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.big_sword, 1), new Object[] { "QIQ", "QIQ", "GSG", 'G', Items.gold_ingot, 'S', Items.stick, 'I', Items.iron_ingot, 'Q', Items.quartz}); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_titanium, 16), true, new Object[] { "TT", "TT", 'T', "ingotTitanium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_aluminium, 16), new Object[] { "TT", "TT", 'T', "ingotAluminum" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_steel, 16), new Object[] { "TT", "TT", 'T', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_iron, 16), new Object[] { "TT", "TT", 'T', "ingotIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_lead, 16), new Object[] { "TT", "TT", 'T', "ingotLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_copper, 16), new Object[] { "TT", "TT", 'T', "ingotCopper" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.board_copper, 1), new Object[] { "TTT", "TTT", 'T', "plateCopper" })); + GameRegistry.addRecipe(new ItemStack(ModItems.plate_schrabidium, 16), new Object[] { "TT", "TT", 'T', ModItems.ingot_schrabidium}); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_gold, 16), new Object[] { "TT", "TT", 'T', "ingotGold" })); + GameRegistry.addRecipe(new ItemStack(ModItems.plate_advanced_alloy, 16), new Object[] { "TT", "TT", 'T', ModItems.ingot_advanced_alloy}); + GameRegistry.addRecipe(new ItemStack(ModItems.plate_combine_steel, 16), new Object[] { "TT", "TT", 'T', ModItems.ingot_combine_steel}); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_red_copper, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotRedstoneAlloy" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_tungsten, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotTungsten" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_aluminium, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotAluminum" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_copper, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotCopper" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wire_gold, 6), new Object[] { "CCC", 'S', Items.string, 'C', "ingotGold" })); + GameRegistry.addRecipe(new ItemStack(ModItems.wire_schrabidium, 6), new Object[] { "CCC", 'S', Items.string, 'C', ModItems.ingot_schrabidium }); + GameRegistry.addRecipe(new ItemStack(ModItems.wire_advanced_alloy, 6), new Object[] { "CCC", 'S', Items.string, 'C', ModItems.ingot_advanced_alloy }); + GameRegistry.addRecipe(new ItemStack(ModItems.wire_magnetized_tungsten, 6), new Object[] { "CCC", 'S', Items.string, 'C', ModItems.ingot_magnetized_tungsten }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hazmat_cloth, 4), new Object[] { "LN", "LN", 'L', Items.leather, 'N', "nuggetLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hazmat_cloth, 8), new Object[] { "SCS", "CPC", "SCS", 'S', Items.string, 'P', Items.leather, 'C', "dustLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.filter_coal, 1), new Object[] { "SCS", "CPC", "SCS", 'S', Items.string, 'P', Items.paper, 'C', "dustCoal" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_mixed, 3), new Object[] { "ANA", "NCN", "ANA", 'A', ModItems.plate_advanced_alloy, 'N', "plateDenseLead", 'C', ModItems.plate_combine_steel })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_aluminium, 1), new Object[] { "RAR", "ASA", "RAR", 'S', "plateSteel", 'R', "dustRedstone", 'A', ModItems.wire_aluminium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_copper, 1), new Object[] { "RAR", "ASA", "RAR", 'S', ModItems.circuit_aluminium, 'R', "dustNetherQuartz", 'A', ModItems.wire_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_red_copper, 1), new Object[] { "RAR", "ASA", "RAR", 'S', ModItems.circuit_copper, 'R', "dustGold", 'A', ModItems.wire_red_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_gold, 1), new Object[] { "RAR", "ASA", "RAR", 'S', ModItems.circuit_red_copper, 'R', "dustLapis", 'A', ModItems.wire_gold })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.circuit_schrabidium, 1), new Object[] { "RAR", "ASA", "RAR", 'S', ModItems.circuit_gold, 'R', "dustDiamond", 'A', ModItems.wire_schrabidium })); + + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.gunpowder, 3), new Object[] { "sulfur", "salpeter", Items.coal })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.gunpowder, 3), new Object[] { "sulfur", "salpeter", new ItemStack(Items.coal, 1, 1) })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.gunpowder, 3), new Object[] { "dustSulfur", "dustSalpeter", Items.coal })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.gunpowder, 3), new Object[] { "dustSulfur", "dustSalpeter", new ItemStack(Items.coal, 1, 1) })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.cell_empty, 6), new Object[] { "SSS", "G G", "SSS", 'S', "plateSteel", 'G', Item.getItemFromBlock(Blocks.glass_pane) })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.cell_uf6, 1), new Object[] { ModItems.cell_empty, "dustUranium", "dustFluorite", "dustFluorite", "dustFluorite", Items.water_bucket })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.cell_puf6, 1), new Object[] { ModItems.cell_empty, "dustPlutonium", "dustFluorite", "dustFluorite", "dustFluorite", Items.water_bucket })); + GameRegistry.addRecipe(new ItemStack(ModItems.cell_deuterium, 8), new Object[] { "DDD", "DTD", "DDD", 'D', ModItems.cell_empty, 'T', ModItems.mike_deut }); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.cell_sas3, 1), new Object[] { ModItems.cell_empty, ModItems.powder_schrabidium, "dustSulfur", "dustSulfur" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.cell_sas3, 1), new Object[] { ModItems.cell_empty, ModItems.powder_schrabidium, "sulfur", "sulfur" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.canister_empty, 2), new Object[] { "S ", "AA", "AA", 'S', ModItems.plate_steel, 'A', "plateAluminum" })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.red_barrel), 1), new Object[] { "DDD", "DTD", "DDD", 'D', ModItems.canister_fuel, 'T', ModItems.tank_steel }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.yellow_barrel), 1), new Object[] { "DDD", "DTD", "DDD", 'D', ModItems.nuclear_waste, 'T', ModItems.tank_steel }); + + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_aluminium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_aluminium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_copper), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_copper }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_fluorite), 1), new Object[] { "###", "###", "###", '#', ModItems.fluorite }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_niter), 1), new Object[] { "###", "###", "###", '#', ModItems.niter }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_red_copper), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_red_copper }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_steel), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_steel }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_sulfur), 1), new Object[] { "###", "###", "###", '#', ModItems.sulfur }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_titanium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_titanium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_tungsten), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_tungsten }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_uranium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_uranium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_lead), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_lead }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_trinitite), 1), new Object[] { "###", "###", "###", '#', ModItems.trinitite }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_waste), 1), new Object[] { "###", "###", "###", '#', ModItems.nuclear_waste }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_scrap), 1), new Object[] { "##", "##", '#', ModItems.scrap }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_scrap), 1), new Object[] { "###", "###", "###", '#', ModItems.dust }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_beryllium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_beryllium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_schrabidium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_schrabidium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_advanced_alloy), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_advanced_alloy }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_magnetized_tungsten), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_magnetized_tungsten }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_combine_steel), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_combine_steel }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_australium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_australium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_weidanium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_weidanium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_reiium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_reiium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_unobtainium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_unobtainium }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_daffergon), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_daffergon }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.block_verticium), 1), new Object[] { "###", "###", "###", '#', ModItems.ingot_verticium }); + + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_uranium_fuel, 1), new Object[] { "nuggetUranium235", "nuggetUranium235", "nuggetUranium235", "nuggetUranium238", "nuggetUranium238", "nuggetUranium238", "nuggetUranium238", "nuggetUranium238", "nuggetUranium238" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_plutonium_fuel, 1), new Object[] { "nuggetPlutonium238", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium240", "nuggetPlutonium240", "nuggetPlutonium240" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_mox_fuel, 1), new Object[] { "nuggetUranium235", "nuggetUranium235", "nuggetUranium235", "nuggetUranium238", "nuggetUranium238", "nuggetPlutonium238", "nuggetPlutonium239", "nuggetPlutonium239", "nuggetPlutonium239" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_uranium_fuel, 1), new Object[] { "tinyU235", "tinyU235", "tinyU235", "tinyU238", "tinyU238", "tinyU238", "tinyU238", "tinyU238", "tinyU238" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_plutonium_fuel, 1), new Object[] { "tinyPu238", "tinyPu239", "tinyPu239", "tinyPu239", "tinyPu239", "tinyPu239", "tinyPu240", "tinyPu240", "tinyPu240" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_mox_fuel, 1), new Object[] { "tinyU235", "tinyU235", "tinyU235", "tinyU238", "tinyU238", "tinyPu238", "tinyPu239", "tinyPu239", "tinyPu239" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_schrabidium_fuel, 1), new Object[] { "nuggetSchrabidium", "nuggetSchrabidium", "nuggetSchrabidium", "nuggetNeptunium", "nuggetNeptunium", "nuggetNeptunium", ModItems.nugget_beryllium, ModItems.nugget_beryllium, ModItems.nugget_beryllium })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_hes, 1), new Object[] { "nuggetSchrabidium", "nuggetSchrabidium", "nuggetSchrabidium", "nuggetSchrabidium", "nuggetSchrabidium", "nuggetNeptunium", "nuggetNeptunium", ModItems.nugget_beryllium, ModItems.nugget_beryllium })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.ingot_les, 1), new Object[] { "nuggetSchrabidium", "nuggetNeptunium", "nuggetNeptunium", "nuggetNeptunium", "nuggetNeptunium", ModItems.nugget_beryllium, ModItems.nugget_beryllium, ModItems.nugget_beryllium, ModItems.nugget_beryllium })); + + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_aluminium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_aluminium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_copper, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_copper) }); + GameRegistry.addRecipe(new ItemStack(ModItems.fluorite, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_fluorite) }); + GameRegistry.addRecipe(new ItemStack(ModItems.niter, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_niter) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_red_copper, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_red_copper) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_steel, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_steel) }); + GameRegistry.addRecipe(new ItemStack(ModItems.sulfur, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_sulfur) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_titanium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_titanium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_tungsten, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_tungsten) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_uranium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_uranium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_lead, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_lead) }); + GameRegistry.addRecipe(new ItemStack(ModItems.trinitite, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_trinitite) }); + GameRegistry.addRecipe(new ItemStack(ModItems.nuclear_waste, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_waste) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_beryllium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_beryllium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_schrabidium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_schrabidium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_advanced_alloy, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_advanced_alloy) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_magnetized_tungsten, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_magnetized_tungsten) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_combine_steel, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_combine_steel) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_australium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_australium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_weidanium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_weidanium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_reiium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_reiium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_unobtainium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_unobtainium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_daffergon, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_daffergon) }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_verticium, 9), new Object[] { "#", '#', Item.getItemFromBlock(ModBlocks.block_verticium) }); + + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_plutonium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_plutonium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_plutonium, 9), new Object[] { "#", '#', ModItems.ingot_plutonium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_pu238, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_pu238 }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_pu238, 9), new Object[] { "#", '#', ModItems.ingot_pu238 }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_pu239, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_pu239 }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_pu239, 9), new Object[] { "#", '#', ModItems.ingot_pu239 }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_pu240, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_pu240 }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_pu240, 9), new Object[] { "#", '#', ModItems.ingot_pu240 }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_uranium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_uranium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_uranium, 9), new Object[] { "#", '#', ModItems.ingot_uranium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_u235, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_u235 }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_u235, 9), new Object[] { "#", '#', ModItems.ingot_u235 }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_u238, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_u238 }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_u238, 9), new Object[] { "#", '#', ModItems.ingot_u238 }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_neptunium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_neptunium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_neptunium, 9), new Object[] { "#", '#', ModItems.ingot_neptunium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_lead, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_lead }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_lead, 9), new Object[] { "#", '#', ModItems.ingot_lead }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_beryllium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_beryllium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_beryllium, 9), new Object[] { "#", '#', ModItems.ingot_beryllium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_schrabidium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_schrabidium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_schrabidium, 9), new Object[] { "#", '#', ModItems.ingot_schrabidium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_uranium_fuel, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_uranium_fuel }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_uranium_fuel, 9), new Object[] { "#", '#', ModItems.ingot_uranium_fuel }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_plutonium_fuel, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_plutonium_fuel }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_plutonium_fuel, 9), new Object[] { "#", '#', ModItems.ingot_plutonium_fuel }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_mox_fuel, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_mox_fuel }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_mox_fuel, 9), new Object[] { "#", '#', ModItems.ingot_mox_fuel }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_schrabidium_fuel, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_schrabidium_fuel }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_schrabidium_fuel, 9), new Object[] { "#", '#', ModItems.ingot_schrabidium_fuel }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_hes, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_hes }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_hes, 9), new Object[] { "#", '#', ModItems.ingot_hes }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_les, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_les }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_les, 9), new Object[] { "#", '#', ModItems.ingot_les }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_australium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_australium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_australium, 9), new Object[] { "#", '#', ModItems.ingot_australium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_weidanium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_weidanium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_weidanium, 9), new Object[] { "#", '#', ModItems.ingot_weidanium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_reiium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_reiium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_reiium, 9), new Object[] { "#", '#', ModItems.ingot_reiium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_unobtainium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_unobtainium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_unobtainium, 9), new Object[] { "#", '#', ModItems.ingot_unobtainium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_daffergon, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_daffergon }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_daffergon, 9), new Object[] { "#", '#', ModItems.ingot_daffergon }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_verticium, 1), new Object[] { "###", "###", "###", '#', ModItems.nugget_verticium }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_verticium, 9), new Object[] { "#", '#', ModItems.ingot_verticium }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.rod_empty, 16), new Object[] { "SSS", "L L", "SSS", 'S', "plateSteel", 'L', "plateLead" })); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_uranium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_u235, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_u238, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_plutonium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_pu238, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_pu239, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_pu240, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_neptunium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_lead, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_schrabidium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_uranium_fuel, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_plutonium_fuel, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_mox_fuel, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_schrabidium_fuel, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_euphemium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_euphemium, ModItems.nugget_euphemium, ModItems.nugget_euphemium, ModItems.nugget_euphemium, ModItems.nugget_euphemium, ModItems.nugget_euphemium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_australium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_australium, ModItems.nugget_australium, ModItems.nugget_australium, ModItems.nugget_australium, ModItems.nugget_australium, ModItems.nugget_australium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_weidanium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_weidanium, ModItems.nugget_weidanium, ModItems.nugget_weidanium, ModItems.nugget_weidanium, ModItems.nugget_weidanium, ModItems.nugget_weidanium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_reiium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_reiium, ModItems.nugget_reiium, ModItems.nugget_reiium, ModItems.nugget_reiium, ModItems.nugget_reiium, ModItems.nugget_reiium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_unobtainium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_unobtainium, ModItems.nugget_unobtainium, ModItems.nugget_unobtainium, ModItems.nugget_unobtainium, ModItems.nugget_unobtainium, ModItems.nugget_unobtainium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_daffergon, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_daffergon, ModItems.nugget_daffergon, ModItems.nugget_daffergon, ModItems.nugget_daffergon, ModItems.nugget_daffergon, ModItems.nugget_daffergon }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_verticium, 1), new Object[] { ModItems.rod_empty, ModItems.nugget_verticium, ModItems.nugget_verticium, ModItems.nugget_verticium, ModItems.nugget_verticium, ModItems.nugget_verticium, ModItems.nugget_verticium }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_empty, 2), new Object[] { ModItems.rod_dual_empty }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_empty, 1), new Object[] { ModItems.rod_empty, ModItems.rod_empty }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_uranium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_u235, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_u238, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_plutonium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_pu238, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_pu239, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_pu240, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_neptunium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_lead, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_schrabidium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_uranium_fuel, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_plutonium_fuel, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_mox_fuel, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_schrabidium_fuel, 1), new Object[] { ModItems.rod_dual_empty, ModItems.ingot_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_lithium, 1), new Object[] { ModItems.rod_empty, ModItems.lithium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_lithium, 1), new Object[] { ModItems.rod_dual_empty, ModItems.lithium, ModItems.lithium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_lithium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.lithium, ModItems.lithium, ModItems.lithium, ModItems.lithium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.cell_tritium, 1), new Object[] { ModItems.rod_tritium, ModItems.cell_empty }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.cell_tritium, 2), new Object[] { ModItems.rod_dual_tritium, ModItems.cell_empty, ModItems.cell_empty }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.cell_tritium, 4), new Object[] { ModItems.rod_quad_tritium, ModItems.cell_empty, ModItems.cell_empty, ModItems.cell_empty, ModItems.cell_empty }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_empty, 4), new Object[] { ModItems.rod_quad_empty }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_empty, 1), new Object[] { ModItems.rod_empty, ModItems.rod_empty, ModItems.rod_empty, ModItems.rod_empty }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_empty, 1), new Object[] { ModItems.rod_dual_empty, ModItems.rod_dual_empty }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_uranium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_uranium, ModItems.ingot_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium, ModItems.nugget_uranium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_u235, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_u235, ModItems.ingot_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235, ModItems.nugget_u235 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_u238, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_u238, ModItems.ingot_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238, ModItems.nugget_u238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_plutonium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_plutonium, ModItems.ingot_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium, ModItems.nugget_plutonium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_pu238, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_pu238, ModItems.ingot_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238, ModItems.nugget_pu238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_pu239, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_pu239, ModItems.ingot_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239, ModItems.nugget_pu239 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_pu240, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_pu240, ModItems.ingot_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240, ModItems.nugget_pu240 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_neptunium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_neptunium, ModItems.ingot_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium, ModItems.nugget_neptunium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_lead, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_lead, ModItems.ingot_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead, ModItems.nugget_lead }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_schrabidium, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_schrabidium, ModItems.ingot_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium, ModItems.nugget_schrabidium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_uranium_fuel, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_uranium_fuel, ModItems.ingot_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel, ModItems.nugget_uranium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_plutonium_fuel, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_plutonium_fuel, ModItems.ingot_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel, ModItems.nugget_plutonium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_mox_fuel, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_mox_fuel, ModItems.ingot_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel, ModItems.nugget_mox_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_schrabidium_fuel, 1), new Object[] { ModItems.rod_quad_empty, ModItems.ingot_schrabidium_fuel, ModItems.ingot_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel, ModItems.nugget_schrabidium_fuel }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_water, 1), new Object[] { ModItems.rod_empty, Items.water_bucket }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_water, 1), new Object[] { ModItems.rod_dual_empty, Items.water_bucket, Items.water_bucket }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_water, 1), new Object[] { ModItems.rod_quad_empty, Items.water_bucket, Items.water_bucket, Items.water_bucket, Items.water_bucket }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_coolant, 1), new Object[] { ModItems.rod_empty, Items.water_bucket, ModItems.powder_ice }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_dual_coolant, 1), new Object[] { ModItems.rod_dual_empty, Items.water_bucket, Items.water_bucket, ModItems.powder_ice, ModItems.powder_ice }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rod_quad_coolant, 1), new Object[] { ModItems.rod_quad_empty, Items.water_bucket, Items.water_bucket, Items.water_bucket, Items.water_bucket, ModItems.powder_ice, ModItems.powder_ice, ModItems.powder_ice, ModItems.powder_ice }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium, 6), new Object[] { ModItems.rod_uranium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u235, 6), new Object[] { ModItems.rod_u235 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u238, 6), new Object[] { ModItems.rod_u238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium, 6), new Object[] { ModItems.rod_plutonium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu238, 6), new Object[] { ModItems.rod_pu238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu239, 6), new Object[] { ModItems.rod_pu239 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu240, 6), new Object[] { ModItems.rod_pu240 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_neptunium, 6), new Object[] { ModItems.rod_neptunium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_lead, 6), new Object[] { ModItems.rod_lead }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium, 6), new Object[] { ModItems.rod_schrabidium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium_fuel, 6), new Object[] { ModItems.rod_uranium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium_fuel, 6), new Object[] { ModItems.rod_plutonium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_mox_fuel, 6), new Object[] { ModItems.rod_mox_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium_fuel, 6), new Object[] { ModItems.rod_schrabidium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_australium, 6), new Object[] { ModItems.rod_australium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_weidanium, 6), new Object[] { ModItems.rod_weidanium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_reiium, 6), new Object[] { ModItems.rod_reiium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_unobtainium, 6), new Object[] { ModItems.rod_unobtainium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_daffergon, 6), new Object[] { ModItems.rod_daffergon }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_verticium, 6), new Object[] { ModItems.rod_verticium }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium, 12), new Object[] { ModItems.rod_dual_uranium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u235, 12), new Object[] { ModItems.rod_dual_u235 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u238, 12), new Object[] { ModItems.rod_dual_u238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium, 12), new Object[] { ModItems.rod_dual_plutonium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu238, 12), new Object[] { ModItems.rod_dual_pu238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu239, 12), new Object[] { ModItems.rod_dual_pu239 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu240, 12), new Object[] { ModItems.rod_dual_pu240 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_neptunium, 12), new Object[] { ModItems.rod_dual_neptunium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_lead, 12), new Object[] { ModItems.rod_dual_lead }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium, 12), new Object[] { ModItems.rod_dual_schrabidium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium_fuel, 12), new Object[] { ModItems.rod_dual_uranium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium_fuel, 12), new Object[] { ModItems.rod_dual_plutonium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_mox_fuel, 12), new Object[] { ModItems.rod_dual_mox_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium_fuel, 12), new Object[] { ModItems.rod_dual_schrabidium_fuel }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium, 24), new Object[] { ModItems.rod_quad_uranium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u235, 24), new Object[] { ModItems.rod_quad_u235 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_u238, 24), new Object[] { ModItems.rod_quad_u238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium, 24), new Object[] { ModItems.rod_quad_plutonium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu238, 24), new Object[] { ModItems.rod_quad_pu238 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu239, 24), new Object[] { ModItems.rod_quad_pu239 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_pu240, 24), new Object[] { ModItems.rod_quad_pu240 }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_neptunium, 24), new Object[] { ModItems.rod_quad_neptunium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_lead, 24), new Object[] { ModItems.rod_quad_lead }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium, 24), new Object[] { ModItems.rod_quad_schrabidium }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_uranium_fuel, 24), new Object[] { ModItems.rod_quad_uranium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_plutonium_fuel, 24), new Object[] { ModItems.rod_quad_plutonium_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_mox_fuel, 24), new Object[] { ModItems.rod_quad_mox_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_schrabidium_fuel, 24), new Object[] { ModItems.rod_quad_schrabidium_fuel }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 2), new Object[] { ModItems.rod_waste }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_dual_waste }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_quad_waste }); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_uranium_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_dual_uranium_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 16), new Object[] { ModItems.rod_quad_uranium_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_plutonium_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_dual_plutonium_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 16), new Object[] { ModItems.rod_quad_plutonium_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_mox_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_dual_mox_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 16), new Object[] { ModItems.rod_quad_mox_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 4), new Object[] { ModItems.rod_schrabidium_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 8), new Object[] { ModItems.rod_dual_schrabidium_fuel_depleted }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nuclear_waste, 16), new Object[] { ModItems.rod_quad_schrabidium_fuel_depleted }); + + if(false) + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.nugget_euphemium, 1, 34), new Object[] { ModItems.rod_quad_euphemium }); + GameRegistry.addRecipe(new ItemStack(ModItems.ingot_euphemium, 1, 34), new Object[] { "###", "###", "###", '#', new ItemStack(ModItems.nugget_euphemium, 1, 34) }); + GameRegistry.addRecipe(new ItemStack(ModItems.nugget_euphemium, 9, 34), new Object[] { "#", '#', new ItemStack(ModItems.ingot_euphemium, 1, 34) }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_rtg, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', "tinyPu238" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.tritium_deuterium_cake, 1), new Object[] { "DLD", "LTL", "DLD", 'L', "ingotLithium", 'D', ModItems.cell_deuterium, 'T', ModItems.cell_tritium })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_schrabidium, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', "ingotSchrabidium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_hes, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_hes })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_mes, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_schrabidium_fuel })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_les, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_les })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_beryllium, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_beryllium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_neptunium, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', "ingotNeptunium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_lead, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', "ingotLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_advanced, 1), new Object[] { "IPI", "PPP", "IPI", 'I', "plateIron", 'P', ModItems.ingot_advanced_alloy })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_copper, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_red_copper, 'I', "ingotIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_advanced_alloy, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_advanced_alloy, 'I', "ingotIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_gold, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_gold, 'I', "ingotIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_copper_torus, 2), new Object[] { "PCP", "C C", "PCP", 'P', "plateIron", 'C', ModItems.coil_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_advanced_torus, 2), new Object[] { "PCP", "C C", "PCP", 'P', "plateIron", 'C', ModItems.coil_advanced_alloy })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_gold_torus, 2), new Object[] { "PCP", "C C", "PCP", 'P', "plateIron", 'C', ModItems.coil_gold })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_tungsten, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_tungsten, 'I', "ingotIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.coil_magnetized_tungsten, 1), new Object[] { "WWW", "WIW", "WWW", 'W', ModItems.wire_magnetized_tungsten, 'I', "ingotIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.tank_steel, 1), new Object[] { "STS", "S S", "STS", 'S', "plateSteel", 'T', "plateTitanium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.motor, 1), new Object[] { " R ", "ICI", "ITI", 'R', ModItems.wire_red_copper, 'T', ModItems.coil_copper_torus, 'I', "plateIron", 'C', ModItems.coil_copper })); + GameRegistry.addRecipe(new ItemStack(ModItems.centrifuge_element, 1), new Object[] { " T ", "WTW", "RMR", 'R', ModItems.wire_red_copper, 'T', ModItems.tank_steel, 'M', ModItems.motor, 'W', ModItems.coil_tungsten }); + GameRegistry.addRecipe(new ItemStack(ModItems.centrifuge_tower, 1), new Object[] { "LL", "EE", "EE", 'E', ModItems.centrifuge_element, 'L', new ItemStack(Items.dye, 1, 4) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.reactor_core, 1), new Object[] { "LNL", "N N", "LNL", 'N', "plateDenseLead", 'L', "plateLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.rtg_unit, 1), new Object[] { "CLC", "NAN", "CLC", 'N', "plateDenseLead", 'L', "plateLead", 'C', "plateCopper", 'A', ModItems.circuit_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.thermo_unit_empty, 1), new Object[] { "TTT", " S ", "P P", 'S', "ingotSteel", 'P', "plateTitanium", 'T', ModItems.coil_copper_torus })); + GameRegistry.addRecipe(new ItemStack(ModItems.thermo_unit_endo, 1), new Object[] { "EEE", "ETE", "EEE", 'E', Item.getItemFromBlock(Blocks.ice), 'T', ModItems.thermo_unit_empty }); + GameRegistry.addRecipe(new ItemStack(ModItems.thermo_unit_exo, 1), new Object[] { "LLL", "LTL", "LLL", 'L', Items.lava_bucket, 'T', ModItems.thermo_unit_empty }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.levitation_unit, 1), new Object[] { "CSC", "TAT", "PSP", 'C', ModItems.coil_copper, 'S', ModItems.nugget_schrabidium, 'T', ModItems.coil_tungsten, 'P', "plateTitanium", 'A', "ingotSteel" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.cap_aluminium, 1), new Object[] { "PIP", 'P', "plateAluminum", 'I', "ingotAluminum" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_small_steel, 1), new Object[] { "PPP", " ", "PPP", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_small_aluminium, 1), new Object[] { "PPP", " ", "PPP", 'P', "plateAluminum", 'I', "ingotAluminum" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_big_steel, 1), new Object[] { "III", " ", "III", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_big_aluminium, 1), new Object[] { "III", " ", "III", 'P', "plateAluminum", 'I', "ingotAluminum" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hull_big_titanium, 1), new Object[] { "III", " ", "III", 'P', "plateTitanium", 'I', "ingotTitanium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_flat, 1), new Object[] { "IP", "PP", "IP", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_small_steel, 1), new Object[] { " PP", "PII", " PP", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_big_steel, 1), new Object[] { " PI", "III", " PI", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_tri_steel, 1), new Object[] { " PI", "IIB", " PI", 'P', "plateSteel", 'I', "ingotSteel", 'B', "blockSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fins_quad_titanium, 1), new Object[] { " PP", "III", " PP", 'P', "plateTitanium", 'I', "ingotTitanium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.sphere_steel, 1), new Object[] { "PIP", "I I", "PIP", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pedestal_steel, 1), new Object[] { "P P", "P P", "III", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.dysfunctional_reactor, 1), new Object[] { "PPP", "CDC", "PPP", 'P', "plateSteel", 'C', ModItems.rod_quad_empty, 'D', new ItemStack(Items.dye, 1, 3) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.warhead_generic_small, 1), new Object[] { " P ", "PTP", "PTP", 'P', "plateTitanium", 'T', Item.getItemFromBlock(Blocks.tnt) })); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_incendiary_small, 1), new Object[] { " P ", "PWP", " P ", 'P', ModItems.powder_fire, 'W', ModItems.warhead_generic_small }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_cluster_small, 1), new Object[] { " P ", "PWP", " P ", 'P', ModItems.pellet_cluster, 'W', ModItems.warhead_generic_small }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_buster_small, 1), new Object[] { " P ", "PWP", " P ", 'P', Item.getItemFromBlock(ModBlocks.det_cord), 'W', ModItems.warhead_generic_small }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.warhead_generic_medium, 1), new Object[] { " P ", "PTP", "TTT", 'P', "plateTitanium", 'T', Item.getItemFromBlock(Blocks.tnt) })); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_incendiary_medium, 1), new Object[] { "PPP", "PWP", "PPP", 'P', ModItems.powder_fire, 'W', ModItems.warhead_generic_medium }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_cluster_medium, 1), new Object[] { "PPP", "PWP", "PPP", 'P', ModItems.pellet_cluster, 'W', ModItems.warhead_generic_medium }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_buster_medium, 1), new Object[] { "PPP", "PWP", "PPP", 'P', Item.getItemFromBlock(ModBlocks.det_cord), 'W', ModItems.warhead_generic_medium }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.warhead_generic_large, 1), new Object[] { "PTP", "PTP", "TTT", 'P', "plateTitanium", 'T', Item.getItemFromBlock(Blocks.tnt) })); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_incendiary_large, 1), new Object[] { "PXP", "XWX", "PXP", 'P', ModItems.powder_fire, 'W', ModItems.warhead_generic_large, 'X', Items.lava_bucket }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_cluster_large, 1), new Object[] { "PXP", "XWX", "PXP", 'P', ModItems.pellet_cluster, 'W', ModItems.warhead_generic_large, 'X', Item.getItemFromBlock(ModBlocks.det_cord) }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_buster_large, 1), new Object[] { "PXP", "XWX", "PXP", 'P', Item.getItemFromBlock(ModBlocks.det_cord), 'W', ModItems.warhead_generic_large, 'X', Item.getItemFromBlock(Blocks.tnt) }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_nuclear, 1), new Object[] { " N ", "TZT", "TBT", 'N', ModItems.boy_shielding, 'Z', ModItems.boy_target, 'B', ModItems.boy_bullet, 'T', ModItems.plate_titanium }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_mirvlet, 1), new Object[] { " S ", "SPS", "STS", 'S', ModItems.plate_steel, 'P', ModItems.ingot_pu239, 'T', Item.getItemFromBlock(Blocks.tnt) }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_mirv, 1), new Object[] { "MMM", "MWM", "MMM", 'M', ModItems.warhead_mirvlet, 'W', ModItems.warhead_generic_large }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_thermo_endo, 1), new Object[] { " T ", "TBT", "TBT", 'T', ModItems.plate_titanium, 'B', Item.getItemFromBlock(ModBlocks.therm_endo) }); + GameRegistry.addRecipe(new ItemStack(ModItems.warhead_thermo_exo, 1), new Object[] { " T ", "TBT", "TBT", 'T', ModItems.plate_titanium, 'B', Item.getItemFromBlock(ModBlocks.therm_exo) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fuel_tank_small, 1), new Object[] { "PTP", "PTP", "PTP", 'P', "plateTitanium", 'T', Item.getItemFromBlock(ModBlocks.red_barrel) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fuel_tank_medium, 1), new Object[] { "PTP", "PTP", "PTP", 'P', "plateTitanium", 'T', ModItems.fuel_tank_small })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fuel_tank_large, 1), new Object[] { "PTP", "PTP", "PTP", 'P', "plateTitanium", 'T', ModItems.fuel_tank_medium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.thruster_small, 1), new Object[] { "AS ", "AH ", " L ", 'A', ModItems.wire_aluminium, 'S', "plateSteel", 'H', ModItems.hull_small_steel, 'L', ModItems.hull_small_steel })); + GameRegistry.addRecipe(new ItemStack(ModItems.thruster_medium, 1), new Object[] { "AS ", "AH ", " L ", 'A', ModItems.wire_copper, 'S', ModItems.thruster_small, 'H', ModItems.hull_small_steel, 'L', ModItems.hull_big_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.thruster_large, 1), new Object[] { "AS ", "AH ", " L ", 'A', ModItems.wire_red_copper, 'S', ModItems.thruster_medium, 'H', ModItems.hull_big_steel, 'L', ModItems.hull_big_steel }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.lemon, 1), new Object[] { " D ", "DSD", " D ", 'D', new ItemStack(Items.dye, 1, 11), 'S', "stone" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.chopper_blades, 1), new Object[] { "CCC", "SIS", " I ", 'C', ModItems.plate_combine_steel, 'S', "plateSteel", 'I', ModItems.ingot_combine_steel })); + GameRegistry.addRecipe(new ItemStack(ModItems.chopper_gun, 1), new Object[] { " PI", "WWC", " PM", 'P', ModItems.plate_combine_steel, 'W', ModItems.wire_magnetized_tungsten, 'I', ModItems.ingot_combine_steel, 'C', ModItems.coil_magnetized_tungsten, 'M', ModItems.motor }); + GameRegistry.addRecipe(new ItemStack(ModItems.chopper_head, 1), new Object[] { " GI", "WIB", "WCB", 'G', ModBlocks.reinforced_glass, 'W', ModItems.wire_magnetized_tungsten, 'I', ModItems.ingot_combine_steel, 'C', ModBlocks.fwatz_computer, 'B', ModBlocks.block_combine_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.chopper_tail, 1), new Object[] { "PPP", "IIM", " PR", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel, 'M', ModItems.motor, 'R', ModItems.chopper_blades }); + GameRegistry.addRecipe(new ItemStack(ModItems.chopper_torso, 1), new Object[] { "IMI", "MBB", "RCI", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel, 'M', ModItems.motor, 'B', ModBlocks.block_combine_steel, 'R', ModItems.chopper_blades, 'C', ModBlocks.fwatz_computer }); + GameRegistry.addRecipe(new ItemStack(ModItems.chopper_wing, 1), new Object[] { "III", " PP", " PP", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.telepad, 1), new Object[] { "CPC", "SUS", "WWW", 'C', ModItems.plate_combine_steel, 'P', ModItems.plate_schrabidium, 'S', "plateSteel", 'U', ModItems.circuit_schrabidium, 'W', ModItems.wire_gold })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.entanglement_kit, 1), new Object[] { "CEC", "PDP", "CSC", 'C', ModItems.coil_magnetized_tungsten, 'P', "plateDenseLead", 'S', ModItems.singularity_super_heated, 'E', ModItems.singularity_counter_resonant, 'D', ModItems.powder_power })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.entanglement_kit, 1), new Object[] { "CSC", "PDP", "CEC", 'C', ModItems.coil_magnetized_tungsten, 'P', "plateDenseLead", 'S', ModItems.singularity_super_heated, 'E', ModItems.singularity_counter_resonant, 'D', ModItems.powder_power })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blade_titanium, 2), new Object[] { "TP", "TP", "TT", 'P', "plateTitanium", 'T', "ingotTitanium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.turbine_titanium, 1), new Object[] { "BBB", "BSB", "BBB", 'B', ModItems.blade_titanium, 'S', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.rotor_steel, 3), new Object[] { "CCC", "SSS", "CCC", 'C', ModItems.coil_gold, 'S', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.generator_steel, 1), new Object[] { "RRR", "CCC", "SSS", 'C', ModItems.coil_gold_torus, 'S', "ingotSteel", 'R', ModItems.rotor_steel })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.generator_front, 1), new Object[] { "PSP", "TBT", "TWT", 'P', "plateSteel", 'S', "ingotSteel", 'T', ModItems.tank_steel, 'B', ModItems.turbine_titanium, 'W', ModBlocks.red_wire_coated })); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.toothpicks, 3), new Object[] { Items.stick, Items.stick, Items.stick }); + GameRegistry.addShapedRecipe(new ItemStack(ModItems.ducttape, 6), new Object[] { "FSF", "SPS", "FSF", 'F', Items.string, 'S', Items.slime_ball, 'P', Items.paper }); + + GameRegistry.addRecipe(new ItemStack(ModItems.missile_generic, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_generic_small, 'T', ModItems.fuel_tank_small, 'M', ModItems.thruster_small }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_incendiary, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_incendiary_small, 'T', ModItems.fuel_tank_small, 'M', ModItems.thruster_small }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_cluster, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_cluster_small, 'T', ModItems.fuel_tank_small, 'M', ModItems.thruster_small }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_buster, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_buster_small, 'T', ModItems.fuel_tank_small, 'M', ModItems.thruster_small }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_strong, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_generic_medium, 'T', ModItems.fuel_tank_medium, 'M', ModItems.thruster_medium }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_incendiary_strong, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_incendiary_medium, 'T', ModItems.fuel_tank_medium, 'M', ModItems.thruster_medium }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_cluster_strong, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_cluster_medium, 'T', ModItems.fuel_tank_medium, 'M', ModItems.thruster_medium }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_buster_strong, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_buster_medium, 'T', ModItems.fuel_tank_medium, 'M', ModItems.thruster_medium }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_burst, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_generic_large, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_inferno, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_incendiary_large, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_rain, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_cluster_large, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_drill, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_buster_large, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_nuclear, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_nuclear, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_nuclear_cluster, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_mirv, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_endo, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_thermo_endo, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); + GameRegistry.addRecipe(new ItemStack(ModItems.missile_exo, 1), new Object[] { "W", "T", "M", 'W', ModItems.warhead_thermo_exo, 'T', ModItems.fuel_tank_large, 'M', ModItems.thruster_large }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_difurnace_off), 1), new Object[] { "AHA", "TCT", "TPT", 'T', "plateTitanium", 'A', "plateAluminum", 'S', "plateSteel", 'C', "ingotCopper", 'P', Item.getItemFromBlock(Blocks.piston), 'H', Item.getItemFromBlock(Blocks.hopper) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_centrifuge), 1), new Object[] { " T ", "RDR", "RSR", 'S', "plateSteel", 'T', ModItems.centrifuge_tower, 'W', ModItems.coil_tungsten, 'R', ModItems.coil_copper, 'D', Item.getItemFromBlock(ModBlocks.machine_difurnace_off) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_uf6_tank), 1), new Object[] { "WTW", "WTW", "SRS", 'S', "plateTitanium", 'W', ModItems.coil_tungsten, 'T', ModItems.tank_steel, 'W', ModItems.coil_tungsten,'R', "ingotRedstoneAlloy" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_puf6_tank), 1), new Object[] { "WTW", "WTW", "SRS", 'S', "plateSteel", 'W', ModItems.coil_tungsten, 'T', ModItems.tank_steel, 'W', ModItems.coil_tungsten,'R', "ingotRedstoneAlloy" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_reactor), 1), new Object[] { "LSL", "SCS", "LSL", 'S', "ingotSteel", 'L', "ingotLead", 'C', ModItems.reactor_core })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_off), 1), new Object[] { "SSS", "SFS", "CCC", 'S', "plateSteel", 'C', "plateCopper", 'F', Item.getItemFromBlock(Blocks.furnace) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_off), 1), new Object[] { "NNN", "NFN", "UUU", 'N', "plateDenseLead", 'U', ModItems.rtg_unit, 'F', Item.getItemFromBlock(Blocks.furnace) })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off), 1), new Object[] { "BBB", "WFW", "RRR", 'B', ModItems.ingot_beryllium, 'R', ModItems.coil_tungsten, 'W', ModItems.wire_red_copper, 'F', Item.getItemFromBlock(Blocks.furnace) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_generator), 1), new Object[] { "SLS", "LCL", "SLS", 'C', ModItems.circuit_red_copper, 'L', ModItems.rod_quad_lead, 'S', "ingotSteel" })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_industrial_generator), 1), new Object[] { "PPP", "FGG", "WSS", 'P', ModItems.board_copper, 'F', ModItems.generator_front, 'G', ModItems.generator_steel, 'W', ModBlocks.red_wire_coated, 'S', ModItems.pedestal_steel }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.red_wire_coated), 16), new Object[] { "WRW", "RIR", "WRW", 'W', "ingotTungsten", 'I', "ingotRedstoneAlloy", 'R', ModItems.wire_red_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.red_cable), 16), new Object[] { "WRW", "RIR", "WRW", 'W', "plateSteel", 'I', "ingotRedstoneAlloy", 'R', ModItems.wire_red_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_deuterium), 1), new Object[] { "TIT", "RFR", "CCC", 'T', ModItems.tank_steel, 'I', "ingotTitanium", 'R', ModItems.wire_red_copper, 'F', Item.getItemFromBlock(ModBlocks.machine_difurnace_off), 'C', ModItems.coil_tungsten })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_battery), 1), new Object[] { "TST", "RIR", "TLT", 'T', "ingotTungsten", 'I', "ingotRedstoneAlloy", 'R', ModItems.wire_red_copper, 'S', "blockSulfur", 'L', "blockLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_battery), 1), new Object[] { "TLT", "RIR", "TST", 'T', "ingotTungsten", 'I', "ingotRedstoneAlloy", 'R', ModItems.wire_red_copper, 'S', "blockSulfur", 'L', "blockLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_coal_off), 1), new Object[] { "STS", "SCS", "SFS", 'S', "ingotSteel", 'T', ModItems.tank_steel, 'C', "ingotRedstoneAlloy", 'F', Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_converter_he_rf), 1), new Object[] { "SSS", "CRC", "SSS", 'S', "ingotSteel", 'C', ModItems.coil_copper, 'R', ModItems.coil_copper_torus })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_converter_rf_he), 1), new Object[] { "SSS", "CRC", "SSS", 'S', ModItems.ingot_beryllium, 'C', ModItems.coil_copper, 'R', ModItems.coil_copper_torus }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_schrabidium_transmutator), 1), new Object[] { "TST", "ARA", "BBB", 'S', ModItems.nugget_schrabidium , 'T', "ingotTitanium", 'A', Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 'R', Item.getItemFromBlock(ModBlocks.machine_reactor), 'B', Item.getItemFromBlock(ModBlocks.machine_battery) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_diesel), 1), new Object[] { "HTH", "PRP", "SFS", 'S', "ingotSteel", 'T', ModItems.tank_steel, 'H', ModItems.hull_small_steel, 'P', Item.getItemFromBlock(Blocks.piston), 'R', "ingotRedstoneAlloy", 'F', Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off) })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_shredder), 1), new Object[] { "SHS", "MBM", "CFC", 'H', ModItems.hull_big_steel, 'S', ModBlocks.steel_beam, 'M', ModItems.motor, 'B', Blocks.iron_bars, 'C', ModBlocks.red_wire_coated, 'F', Item.getItemFromBlock(ModBlocks.machine_electric_furnace_off) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_combine_factory), 1), new Object[] { "HCH", "STS", "RFR", 'H', ModItems.tank_steel, 'C', ModItems.coil_advanced_torus, 'S', "plateSteel", 'T', ModBlocks.block_magnetized_tungsten, 'R', ModItems.wire_red_copper, 'F', Item.getItemFromBlock(ModBlocks.machine_difurnace_off) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_teleporter), 1), new Object[] { "PTP", "FKF", "BBB", 'P', "plateTitanium", 'T', ModItems.telepad, 'F', Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 'K', ModItems.entanglement_kit, 'B', Item.getItemFromBlock(ModBlocks.machine_battery) })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_titanium_hull), 1), new Object[] { "PIP", "I I", "PIP", 'P', "plateTitanium", 'I', "ingotTitanium" })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_titanium_furnace), 1), new Object[] { "HMH", "MFM", "HMH", 'H', Item.getItemFromBlock(ModBlocks.factory_titanium_hull), 'M', ModItems.motor, 'F', Item.getItemFromBlock(Blocks.furnace) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_titanium_conductor), 1), new Object[] { "SWS", "FFF", "SWS", 'S', "ingotTitanium", 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'F', ModItems.fuse })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_titanium_core), 1), new Object[] { "HPH", "PCP", "HPH", 'H', Item.getItemFromBlock(ModBlocks.factory_titanium_hull), 'C', ModItems.circuit_aluminium, 'P', Item.getItemFromBlock(Blocks.piston) }); + GameRegistry.addRecipe(new ItemStack(ModItems.factory_core_titanium, 1, ModItems.factory_core_titanium.getMaxDamage()), new Object[] { "BRB", "RHR", "BRB", 'B', new ItemStack(ModItems.battery_generic, 1, ModItems.battery_generic.getMaxDamage()), 'R', Item.getItemFromBlock(Blocks.redstone_block), 'H', Item.getItemFromBlock(ModBlocks.factory_titanium_hull) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 1), new Object[] { "PIP", "I I", "PIP", 'P', ModItems.plate_advanced_alloy, 'I', ModItems.ingot_advanced_alloy }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_advanced_furnace), 1), new Object[] { "HMH", "MFM", "HMH", 'H', Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 'M', ModItems.motor, 'F', Item.getItemFromBlock(Blocks.furnace) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_advanced_conductor), 1), new Object[] { "SWS", "FFF", "SWS", 'S', ModItems.ingot_advanced_alloy, 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'F', ModItems.fuse }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.factory_advanced_core), 1), new Object[] { "HPH", "PCP", "HPH", 'H', Item.getItemFromBlock(ModBlocks.factory_advanced_hull), 'C', ModItems.circuit_red_copper, 'P', Item.getItemFromBlock(Blocks.piston) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.factory_core_advanced, 1, ModItems.factory_core_advanced.getMaxDamage()), new Object[] { "BLB", "SHS", "BLB", 'B', new ItemStack(ModItems.battery_advanced, 1, ModItems.battery_advanced.getMaxDamage()), 'S', "blockSulfur", 'L', "blockLead", 'H', Item.getItemFromBlock(ModBlocks.factory_advanced_hull) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.factory_core_advanced, 1, ModItems.factory_core_advanced.getMaxDamage()), new Object[] { "BSB", "LHL", "BSB", 'B', new ItemStack(ModItems.battery_advanced, 1, ModItems.battery_advanced.getMaxDamage()), 'S', "blockSulfur", 'L', "blockLead", 'H', Item.getItemFromBlock(ModBlocks.factory_advanced_hull) })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fuse, 1), new Object[] { " S ", "GAG", " S ", 'S', "plateSteel", 'G', Item.getItemFromBlock(Blocks.glass_pane), 'A', ModItems.wire_aluminium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.redcoil_capacitor, 1), new Object[] { "PFP", "CBC", "CBC", 'P', "plateGold", 'B', Item.getItemFromBlock(Blocks.redstone_block), 'C', ModItems.coil_advanced_alloy, 'F', ModItems.fuse })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.titanium_filter, 1), new Object[] { "PFP", "CBC", "CBC", 'P', "plateLead", 'B', "U238", 'C', "plateTitanium", 'F', ModItems.fuse })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.detonator, 1), new Object[] { " W", "SC", "CE", 'S', "plateSteel", 'W', ModItems.wire_red_copper, 'C', ModItems.circuit_red_copper, 'E', "ingotSteel" })); + + GameRegistry.addRecipe(new ItemStack(ModItems.singularity, 1), new Object[] { "ESE", "SBS", "ESE", 'E', new ItemStack(ModItems.nugget_euphemium, 1, 34), 'S', ModItems.cell_anti_schrabidium, 'B', Item.getItemFromBlock(ModBlocks.block_schrabidium) }); + GameRegistry.addRecipe(new ItemStack(ModItems.singularity_counter_resonant, 1), new Object[] { "CTC", "TST", "CTC", 'C', ModItems.plate_combine_steel, 'T', ModItems.ingot_magnetized_tungsten, 'S', ModItems.singularity }); + GameRegistry.addRecipe(new ItemStack(ModItems.singularity_super_heated, 1), new Object[] { "CTC", "TST", "CTC", 'C', ModItems.plate_advanced_alloy, 'T', ModItems.powder_power, 'S', ModItems.singularity }); + GameRegistry.addRecipe(new ItemStack(ModItems.black_hole, 1), new Object[] { "SSS", "SCS", "SSS", 'C', ModItems.singularity, 'S', ModItems.crystal_xen }); + GameRegistry.addRecipe(new ItemStack(ModItems.crystal_xen, 1), new Object[] { "EEE", "EIE", "EEE", 'E', ModItems.powder_power, 'I', new ItemStack(ModItems.ingot_euphemium, 1, 34) }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.screwdriver, 1), new Object[] { " I", " I ", "S ", 'S', "ingotSteel", 'I', "ingotIron" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.overfuse, 1), new Object[] { ModItems.screwdriver, "dustNeptunium", ModItems.powder_iodine, ModItems.powder_thorium, ModItems.powder_astatine, ModItems.powder_neodymium, ModItems.board_copper, ModItems.black_hole, ModItems.powder_caesium })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.thermo_element, 1), new Object[] { "GRG", "APA", "GRG", 'P', "plateSteel", 'G', Items.gold_nugget, 'R', ModItems.wire_red_copper, 'A', ModItems.wire_aluminium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.limiter, 1), new Object[] { "SC", "SC", "LS", 'S', "plateSteel", 'C', ModItems.circuit_copper, 'L', "plateLead" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_aluminium, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateAluminum", 'I', "ingotAluminum" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_gold, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateGold", 'I', "ingotGold" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_iron, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateIron", 'I', "ingotIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_steel, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_titanium, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateTitanium", 'I', "ingotTitanium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_advanced_alloy, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateAdvanced", 'I', "ingotAdvanced" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_combine_steel, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateCMBSteel", 'I', "ingotCMBSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.blades_schrabidium, 1), new Object[] { " P ", "PIP", " P ", 'P', "plateSchrabidium", 'I', "ingotSchrabidium" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_element), 1), new Object[] { "SCS", "CSC", "SCS", 'S', "ingotSteel", 'C', ModItems.rod_quad_empty })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_control), 1), new Object[] { "SLS", "SLS", "SLS", 'S', "ingotSteel", 'L', "ingotLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_conductor), 1), new Object[] { "SWS", "FFF", "SWS", 'S', "ingotSteel", 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'F', ModItems.fuse })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_computer), 1), new Object[] { "CWC", "CRC", "CWC", 'C', ModItems.circuit_red_copper, 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'R', Item.getItemFromBlock(ModBlocks.reactor_conductor) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reactor_hatch), 1), new Object[] { "BBB", "BFB", "BBB", 'B', Item.getItemFromBlock(ModBlocks.brick_concrete), 'F', Item.getItemFromBlock(Blocks.furnace) }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_conductor), 1), new Object[] { "SSS", "CCC", "SSS", 'S', "plateSteel", 'C', ModItems.coil_advanced_alloy })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_center), 1), new Object[] { "TMT", "TWT", "TMT", 'T', "ingotTungsten", 'M', Item.getItemFromBlock(ModBlocks.fusion_conductor), 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_motor), 1), new Object[] { "MTM", "TTT", "MTM", 'T', "ingotTitanium", 'M', ModItems.motor })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_heater), 1), new Object[] { "TTT", "CCC", "TTT", 'T', "ingotTungsten", 'C', ModItems.magnetron })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_hatch), 1), new Object[] { "TTT", "TFT", "TTT", 'T', Item.getItemFromBlock(ModBlocks.fusion_heater), 'F', Item.getItemFromBlock(Blocks.furnace) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fusion_core), 1), new Object[] { "CWC", "CRC", "CWC", 'C', ModItems.circuit_gold, 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'R', Item.getItemFromBlock(ModBlocks.fusion_center) }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_element), 2), new Object[] { "TET", "ERE", "TET", 'T', "ingotTungsten", 'R', Item.getItemFromBlock(ModBlocks.fusion_conductor), 'E', Item.getItemFromBlock(ModBlocks.reactor_element) })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_control), 2), new Object[] { "TMT", "MWM", "TMT", 'T', ModItems.ingot_advanced_alloy, 'M', Item.getItemFromBlock(ModBlocks.reactor_control), 'W', ModItems.coil_copper_torus }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_cooler), 1), new Object[] { "SCS", "CNC", "SCS", 'N', "blockSteel", 'C', ModItems.rod_quad_coolant, 'S', "dustNetherQuartz" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_end), 1), new Object[] { "TST", "SBS", "TST", 'T', "ingotTungsten", 'S', "ingotSteel", 'B', "blockLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_conductor), 1), new Object[] { "TWT", "FNF", "TWT", 'T', "ingotTungsten", 'W', Item.getItemFromBlock(ModBlocks.red_wire_coated), 'F', ModItems.fuse, 'N', "nuggetSchrabidium" })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_hatch), 1), new Object[] { "RRR", "RFR", "RRR", 'R', Item.getItemFromBlock(ModBlocks.reinforced_brick), 'F', Item.getItemFromBlock(Blocks.furnace) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.watz_core), 1), new Object[] { "CWC", "CRC", "CWC", 'C', ModItems.circuit_schrabidium, 'W', Item.getItemFromBlock(ModBlocks.watz_conductor), 'R', Item.getItemFromBlock(ModBlocks.block_meteor) }); + + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_conductor), 1), new Object[] { "SSS", "CCC", "SSS", 'S', ModItems.plate_combine_steel, 'C', ModItems.coil_magnetized_tungsten }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_cooler), 1), new Object[] { "IPI", "IPI", "IPI", 'I', "ingotTitanium", 'P', "plateTitanium" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_tank), 1), new Object[] { "CGC", "GGG", "CGC", 'C', ModItems.plate_combine_steel, 'G', "paneGlass" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_scaffold), 1), new Object[] { "IPI", "P P", "IPI", 'I', "ingotTungsten", 'P', "plateDenseLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_hatch), 1), new Object[] { "SSS", "SFS", "SSS", 'S', ModBlocks.fwatz_scaffold, 'F', Blocks.furnace })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_computer), 1), new Object[] { "DTD", "TMT", "DTD", 'D', "dustDiamond", 'T', "dustMagnetizedTungsten", 'M', ModBlocks.block_meteor })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.fwatz_core), 1), new Object[] { "CMC", "MAM", "CMC", 'C', ModItems.circuit_schrabidium, 'M', ModBlocks.fwatz_computer, 'A', ModBlocks.fwatz_conductor })); + + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_light), 4), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.fence, 'B', Blocks.brick_block }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_concrete), 4), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.stone }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.brick_obsidian), 4), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.obsidian }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.cmb_brick), 4), new Object[] { "PPP", "PIP", "PPP", 'P', ModItems.plate_combine_steel, 'I', ModItems.ingot_combine_steel }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.cmb_brick_reinforced), 8), new Object[] { "TBT", "BCB", "TBT", 'T', ModBlocks.block_magnetized_tungsten, 'B', ModBlocks.brick_concrete, 'C', ModBlocks.cmb_brick }); + + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_brick), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', ModBlocks.brick_concrete }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_glass), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.glass }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_light), 1), new Object[] { "FFF", "FBF", "FFF", 'F', Blocks.iron_bars, 'B', Blocks.glowstone }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_lamp_off), 1), new Object[] { "FFF", "FBF", "FFF", 'F', Blocks.iron_bars, 'B', Blocks.redstone_lamp }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_sand), 8), new Object[] { "FBF", "BFB", "FBF", 'F', Blocks.iron_bars, 'B', Blocks.sandstone }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.tape_recorder), 4), new Object[] { "TST", "SSS", 'T', "ingotTungsten", 'S', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_poles), 16), new Object[] { "S S", "SSS", "S S", 'S', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.pole_top), 1), new Object[] { "T T", "TRT", "BBB", 'T', "ingotTungsten", 'B', ModItems.ingot_beryllium, 'R', "ingotRedstoneAlloy" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.pole_satellite_receiver), 1), new Object[] { "SS ", "SCR", "SS ", 'S', "ingotSteel", 'C', ModItems.circuit_red_copper, 'R', ModItems.wire_red_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_beam), 8), new Object[] { "S", "S", "S", 'S', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_wall), 4), new Object[] { "SSS", "SSS", 'S', "ingotSteel" })); + GameRegistry.addShapelessRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_corner)), new Object[] { Item.getItemFromBlock(ModBlocks.steel_wall), Item.getItemFromBlock(ModBlocks.steel_wall) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_roof), 2), new Object[] { "SSS", 'S', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.steel_scaffold), 8), new Object[] { "SSS", " S ", "SSS", 'S', "ingotSteel" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.seal_frame, 2), new Object[] { "SSS", "WRW", "III", 'S', ModBlocks.steel_roof, 'W', ModItems.wire_aluminium, 'R', "dustRedstone", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.seal_controller, 1), new Object[] { "SSS", "RCR", "III", 'S', ModBlocks.steel_roof, 'C', ModItems.ingot_red_copper, 'R', "dustRedstone", 'I', "ingotSteel" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_rpg, 1), new Object[] { "SSW", " SW", 'S', "plateSteel", 'W', "plateIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_rpg_ammo, 8), new Object[] { "SI ", "ITI", " I ", 'S', "plateSteel", 'T', Item.getItemFromBlock(Blocks.tnt), 'I', "plateIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver, 1), new Object[] { "SSS", " RW", 'S', "plateSteel", 'W', Item.getItemFromBlock(Blocks.planks), 'R', ModItems.wire_aluminium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_ammo, 16), new Object[] { "L", "S", 'L', "plateLead", 'S', Items.gunpowder })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_iron, 1), new Object[] { "SSS", " RW", 'S', "plateIron", 'W', Item.getItemFromBlock(Blocks.planks), 'R', ModItems.wire_aluminium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_iron_ammo, 16), new Object[] { "L", "S", 'L', "plateIron", 'S', Items.gunpowder })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_gold, 1), new Object[] { "SSS", " RW", 'S', "plateGold", 'W', "ingotGold", 'R', ModItems.wire_gold })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_gold_ammo, 16), new Object[] { "L", "S", 'L', ModItems.plate_gold, 'S', Items.gunpowder })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead, 1), new Object[] { "SSS", " RW", 'S', "plateLead", 'W', "ingotTungsten", 'R', ModItems.wire_tungsten })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead_ammo, 16), new Object[] { "L", "S", 'L', "paneGlass", 'S', ModItems.ingot_u235 })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead_ammo, 16), new Object[] { "L", "S", 'L', "paneGlass", 'S', ModItems.ingot_pu239 })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead_ammo, 16), new Object[] { "L", "S", 'L', "paneGlass", 'S', ModItems.nuclear_waste })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_lead_ammo, 16), new Object[] { "L", "S", 'L', "paneGlass", 'S', ModItems.trinitite })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_schrabidium, 1), new Object[] { "SSS", " RW", 'S', ModItems.plate_schrabidium, 'W', "ingotTungsten", 'R', ModItems.wire_schrabidium })); + GameRegistry.addRecipe(new ItemStack(ModItems.gun_revolver_schrabidium_ammo, 16), new Object[] { "L", "S", 'L', ModItems.plate_schrabidium, 'S', Items.gunpowder }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_cursed, 1), new Object[] { "TTM", "SRI", 'S', "plateSteel", 'I', "ingotSteel", 'R', ModItems.wire_red_copper, 'T', "plateTitanium", 'M', ModItems.motor })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_cursed_ammo, 32), new Object[] { "L", "L", 'L', "plateSteel", 'S', Items.gunpowder })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_nightmare, 1), new Object[] { "SSE", " RW", 'S', "plateSteel", 'W', Item.getItemFromBlock(Blocks.planks), 'R', ModItems.wire_aluminium, 'E', ModItems.powder_power })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_nightmare_ammo, 16), new Object[] { "L", "S", 'L', "plateDenseLead", 'S', Items.gunpowder })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_revolver_nightmare2, 1), new Object[] { "SSS", "RRW", 'S', "plateDenseLead", 'W', "ingotTungsten", 'R', ModItems.wire_gold })); + GameRegistry.addRecipe(new ItemStack(ModItems.gun_revolver_nightmare2_ammo, 6), new Object[] { "L", "S", 'L', ModItems.powder_power, 'S', Items.gunpowder }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_fatman, 1), new Object[] { "SSI", "III", "WPH", 'S', "plateSteel", 'I', "ingotSteel", 'W', ModItems.wire_aluminium, 'H', ModItems.hull_small_steel, 'P', Item.getItemFromBlock(Blocks.piston) })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_fatman_ammo, 2), new Object[] { " S ", "SPS", "ITI", 'S', "plateSteel", 'P', ModItems.ingot_pu239, 'T', Item.getItemFromBlock(Blocks.tnt), 'I', "plateIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mirv, 1), new Object[] { "LLL", "WFW", "SSS", 'S', "plateSteel", 'L', "plateLead", 'W', ModItems.wire_gold, 'F', ModItems.gun_fatman })); + GameRegistry.addRecipe(new ItemStack(ModItems.gun_mirv_ammo, 1), new Object[] { "NNN", "NSN", "NNN", 'S', ModItems.hull_small_steel, 'N', ModItems.gun_fatman_ammo }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_bf, 1), new Object[] { "LLL", "WFW", "SSS", 'S', ModItems.plate_paa, 'L', "plateDenseLead", 'W', ModItems.wire_advanced_alloy, 'F', ModItems.gun_mirv })); + GameRegistry.addRecipe(new ItemStack(ModItems.gun_bf_ammo, 1), new Object[] { "AEA", "SHS", "AEA", 'H', ModItems.hull_small_steel, 'A', ModItems.cell_antimatter, 'S', ModItems.cell_anti_schrabidium, 'E', ModItems.powder_power }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp40, 1), new Object[] { "III", " SW", " S ", 'S', "plateSteel", 'I', "ingotSteel", 'W', "plankWood" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp40_ammo, 16), new Object[] { "P", "G", 'P', "plateCopper", 'G', Items.gunpowder })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_uboinik, 1), new Object[] { "II ", "SPW", 'P', "plateSteel", 'I', "ingotSteel", 'W', "plankWood", 'S', Items.stick })); + GameRegistry.addRecipe(new ItemStack(ModItems.gun_uboinik_ammo, 6), new Object[] { "P", "G", 'P', ModItems.pellet_buckshot, 'G', Items.gunpowder }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456, 1), new Object[] { "PBB", "ACC", "PRY", 'P', "plateSteel", 'R', ModItems.redcoil_capacitor, 'A', ModItems.coil_advanced_alloy, 'B', ModItems.battery_generic, 'C', ModItems.coil_advanced_torus, 'Y', ModItems.circuit_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 64), new Object[] { "SSS", "SRS", "SSS", 'S', "plateSteel", 'R', ModItems.rod_quad_uranium_fuel_depleted })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 32), new Object[] { " S ", "SRS", " S ", 'S', "plateSteel", 'R', ModItems.rod_dual_uranium_fuel_depleted })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 16), new Object[] { " S ", " R ", " S ", 'S', "plateSteel", 'R', ModItems.rod_uranium_fuel_depleted })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 16), new Object[] { "SRS", 'S', "plateSteel", 'R', ModItems.rod_uranium_fuel_depleted })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 16), new Object[] { " S ", " R ", " S ", 'S', "plateSteel", 'R', "U238" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_xvl1456_ammo, 16), new Object[] { "SRS", 'S', "plateSteel", 'R', "U238" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_osipr, 1), new Object[] { "CCT", "WWI", "MCC", 'C', ModItems.plate_combine_steel, 'T', "ingotTungsten", 'W', ModItems.wire_magnetized_tungsten, 'I', ModItems.ingot_magnetized_tungsten, 'M', ModItems.coil_magnetized_tungsten })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_osipr_ammo, 16), new Object[] { "G", "R", "S", 'G', "dustGlowstone", 'R', "dustRedstone", 'S', "plateSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_osipr_ammo, 16), new Object[] { "R", "G", "S", 'G', "dustGlowstone", 'R', "dustRedstone", 'S', "plateSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_osipr_ammo2, 1), new Object[] { " C ", "PPP", " C ", 'C', ModItems.plate_combine_steel, 'P', ModItems.powder_power })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_immolator, 1), new Object[] { "WCC", "PMT", "WAA", 'W', ModItems.wire_gold, 'C', "plateCopper", 'P', "plateAdvanced", 'M', ModItems.motor, 'T', ModItems.tank_steel, 'A', "plateSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_immolator_ammo, 16), new Object[] { "SPS", "PCP", "SPS", 'S', "plateSteel", 'C', "dustCoal", 'P', ModItems.powder_fire })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_immolator_ammo, 16), new Object[] { " F ", "SFS", " F ", 'S', "plateSteel", 'F', ModItems.canister_fuel })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_immolator_ammo, 24), new Object[] { " F ", "SFS", " F ", 'S', "plateSteel", 'F', ModItems.canister_napalm })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_cryolator, 1), new Object[] { "SSS", "IWL", "LMI", 'S', "plateSteel", 'I', "plateIron", 'L', Items.leather, 'M', ModItems.motor, 'W', ModItems.wire_aluminium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_cryolator_ammo, 16), new Object[] { "SPS", "PCP", "SPS", 'S', "plateSteel", 'C', "dustNiter", 'P', Items.snowball })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_cryolator_ammo, 16), new Object[] { " F ", "SFS", " F ", 'S', "plateSteel", 'F', ModItems.powder_ice })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_zomg, 1), new Object[] { "PRR", "CCS", "PXX", 'P', ModItems.plate_paa, 'R', "plateDenseLead", 'S', ModItems.singularity_counter_resonant, 'X', ModItems.crystal_xen, 'C', ModItems.coil_magnetized_tungsten})); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp, 1), new Object[] { "EEE", "SSM", "III", 'E', new ItemStack(ModItems.ingot_euphemium, 1, 34), 'S', "plateSteel", 'I', "ingotSteel", 'M', ModItems.motor})); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_mp_ammo, 32), new Object[] { "G", "C", 'G', "plateGold", 'C', "plateCopper", 'S', Items.gunpowder })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_emp, 1), new Object[] { "CPG", "CMF", "CPI", 'C', ModItems.coil_copper, 'P', "plateLead", 'G', ModItems.circuit_gold, 'M', ModItems.magnetron, 'I', "ingotTungsten", 'F', ModItems.fuse })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_emp_ammo, 8), new Object[] { "IGI", "IPI", "IPI", 'G', "plateGold", 'I', "plateIron", 'P', ModItems.powder_power })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_jack, 1), new Object[] { "WW ", "TSD", " TT", 'W', "ingotWeidanium", 'T', ModItems.toothpicks, 'S', ModItems.gun_uboinik, 'D', ModItems.ducttape })); + GameRegistry.addShapedRecipe(new ItemStack(ModItems.gun_jack_ammo, 3), new Object[] { "PP", "GG", 'G', Items.gunpowder, 'P', ModItems.pellet_buckshot }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.gun_jack_ammo, 1), new Object[] { ModItems.gun_uboinik_ammo, ModItems.gun_uboinik_ammo, ModItems.gun_uboinik_ammo, ModItems.gun_uboinik_ammo }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_euthanasia, 1), new Object[] { "TDT", "AAS", " T ", 'A', "ingotAustralium", 'T', ModItems.toothpicks, 'S', ModItems.gun_mp40, 'D', ModItems.ducttape })); + GameRegistry.addShapedRecipe(new ItemStack(ModItems.gun_euthanasia_ammo, 12), new Object[] { "P", "S", "N", 'P', ModItems.powder_poison, 'N', ModItems.niter, 'S', ModItems.syringe_metal_empty }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_generic, 4), new Object[] { "RS ", "ITI", " I ", 'I', "plateIron", 'R', ModItems.wire_red_copper, 'S', "plateSteel", 'T', Item.getItemFromBlock(Blocks.tnt) })); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_strong, 2), new Object[] { " G ", "SGS", " S ", 'G', ModItems.grenade_generic, 'S', Items.gunpowder }); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_frag, 2), new Object[] { " G ", "WGW", " K ", 'G', ModItems.grenade_generic, 'W', Item.getItemFromBlock(Blocks.planks), 'K', Item.getItemFromBlock(Blocks.gravel) }); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_fire, 2), new Object[] { " G ", "PFP", " P ", 'G', ModItems.grenade_generic, 'F', ModItems.grenade_frag, 'P', ModItems.powder_fire }); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_cluster, 2), new Object[] { " G ", "PFP", " P ", 'G', ModItems.grenade_generic, 'P', ModItems.pellet_cluster, 'F', ModItems.grenade_frag }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_flare, 2), new Object[] { " G ", "DGD", " D ", 'G', ModItems.grenade_generic, 'D', "dustGlowstone" })); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_electric, 2), new Object[] { " G ", "CSC", " C ", 'G', ModItems.grenade_generic, 'C', ModItems.circuit_red_copper, 'S', ModItems.grenade_strong }); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_poison, 2), new Object[] { " G ", "PGP", " P ", 'G', ModItems.grenade_generic, 'P', ModItems.powder_poison }); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_gas, 2), new Object[] { " G ", "CGC", " C ", 'G', ModItems.grenade_generic, 'C', ModItems.pellet_gas }); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_schrabidium, 2), new Object[] { " G ", "CFC", " C ", 'G', ModItems.grenade_generic, 'C', ModItems.ingot_schrabidium, 'F', ModItems.grenade_flare }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_nuclear, 1), new Object[] {"RS ", "ITI", " I ", 'I', "plateIron", 'R', ModItems.wire_red_copper, 'S', "plateSteel", 'T', ModItems.gun_fatman_ammo })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_plasma, 1), new Object[] {"RS ", "ICI", "TID", 'I', "plateIron", 'R', ModItems.wire_red_copper, 'S', "plateSteel", 'C', ModItems.coil_advanced_torus, 'D', ModItems.cell_deuterium, 'T', ModItems.cell_tritium })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_tau, 1), new Object[] {"RS ", "ITI", "UIU", 'I', "plateLead", 'R', ModItems.wire_red_copper, 'S', "plateAdvanced", 'T', ModItems.coil_advanced_torus, 'U', ModItems.gun_xvl1456_ammo })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_zomg, 1), new Object[] {"RC ", "PXP", "NPN", 'P', ModItems.plate_paa, 'R', ModItems.wire_red_copper, 'C', "plateCMBSteel", 'X', ModItems.crystal_xen, 'N', ModItems.powder_power })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_aschrab, 1), new Object[] {"RS ", "ITI", " S ", 'I', "paneGlassColorless", 'R', ModItems.wire_red_copper, 'S', "plateSteel", 'T', ModItems.cell_anti_schrabidium })); + GameRegistry.addRecipe(new ItemStack(ModItems.grenade_mk2, 2), new Object[] { " G ", "SGS", " S ", 'G', ModItems.grenade_strong, 'S', Items.gunpowder }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_pulse, 4), new Object[] { "WPW", "WSW", "SMS", 'W', ModItems.wire_red_copper, 'P', "plateIron", 'S', "plateSteel", 'M', ModItems.magnetron })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.grenade_lemon, 1), new Object[] { ModItems.lemon, ModItems.grenade_strong })); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.gun_moist_nugget, 12), new Object[] { Items.bread, Items.wheat, Items.cooked_chicken, Items.egg }); + + GameRegistry.addRecipe(new ItemStack(ModItems.bomb_waffle, 1), new Object[] { "WEW", "MPM", "WEW", 'W', Items.wheat, 'E', Items.egg, 'M', Items.milk_bucket, 'P', ModItems.man_core }); + GameRegistry.addRecipe(new ItemStack(ModItems.schnitzel_vegan, 3), new Object[] { "RWR", "WPW", "RWR", 'W', ModItems.nuclear_waste, 'R', Items.reeds, 'P', Items.pumpkin_seeds }); + GameRegistry.addRecipe(new ItemStack(ModItems.cotton_candy, 2), new Object[] { " S ", "SPS", " H ", 'P', ModItems.nugget_pu239, 'S', Items.sugar, 'H', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.apple_schrabidium, 1, 0), new Object[] { "SSS", "SAS", "SSS", 'S', ModItems.nugget_schrabidium, 'A', Items.apple }); + GameRegistry.addRecipe(new ItemStack(ModItems.apple_schrabidium, 1, 1), new Object[] { "SSS", "SAS", "SSS", 'S', ModItems.ingot_schrabidium, 'A', Items.apple }); + GameRegistry.addRecipe(new ItemStack(ModItems.apple_schrabidium, 1, 2), new Object[] { "SSS", "SAS", "SSS", 'S', Item.getItemFromBlock(ModBlocks.block_schrabidium), 'A', Items.apple }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.tem_flakes, 1, 0), new Object[] { Items.gold_nugget, Items.paper }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.tem_flakes, 1, 1), new Object[] { Items.gold_nugget, Items.gold_nugget, Items.gold_nugget, Items.paper }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.tem_flakes, 1, 2), new Object[] { Items.gold_ingot, Items.gold_ingot, Items.gold_nugget, Items.gold_nugget, Items.paper }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.glowing_stew, 1), new Object[] { Items.bowl, Item.getItemFromBlock(ModBlocks.mush), Item.getItemFromBlock(ModBlocks.mush) }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.can_empty, 1), new Object[] { "P", "P", 'P', "plateAluminum" })); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_smart, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.niter }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_creature, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.canister_fuel }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_redbomb, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.pellet_cluster }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_mrsugar, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.fluorite }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.can_overcharge, 1), new Object[] { ModItems.can_empty, Items.potionitem, Items.sugar, ModItems.sulfur }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.bottle_empty, 6), new Object[] { " G ", "G G", "GGG", 'G', "paneGlass" })); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.bottle_nuka, 1), new Object[] { ModItems.bottle_empty, Items.potionitem, Items.sugar, ModItems.powder_coal }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.bottle_cherry, 1), new Object[] { ModItems.bottle_empty, Items.potionitem, Items.sugar, Items.redstone }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.bottle_quantum, 1), new Object[] { ModItems.bottle_empty, Items.potionitem, Items.sugar, ModItems.trinitite }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_empty, 6), new Object[] { "P", "C", "B", 'B', Item.getItemFromBlock(Blocks.iron_bars), 'C', ModItems.cell_empty, 'P', "plateIron" })); + GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SSS", "PMP", "SSS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.milk_bucket }); + GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SPS", "SMS", "SPS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.milk_bucket }); + GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SSS", "PMP", "SSS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.reeds }); + GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SPS", "SMS", "SPS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.reeds }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_poison, 1), new Object[] { "SLS", "LCL", "SLS", 'C', ModItems.syringe_empty, 'S', Items.spider_eye, 'L', "dustLead" })); + GameRegistry.addRecipe(new ItemStack(ModItems.syringe_poison, 1), new Object[] { "SLS", "LCL", "SLS", 'C', ModItems.syringe_empty, 'S', Items.spider_eye, 'L', ModItems.powder_poison }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SPS", "NCN", "SPS", 'C', ModItems.syringe_empty, 'S', "sulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SNS", "PCP", "SNS", 'C', ModItems.syringe_empty, 'S', "sulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SPS", "NCN", "SPS", 'C', ModItems.syringe_empty, 'S', "dustSulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SNS", "PCP", "SNS", 'C', ModItems.syringe_empty, 'S', "dustSulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_metal_empty, 6), new Object[] { "P", "C", "B", 'B', Item.getItemFromBlock(Blocks.iron_bars), 'C', ModItems.rod_empty, 'P', "plateIron" })); + GameRegistry.addRecipe(new ItemStack(ModItems.syringe_metal_stimpak, 1), new Object[] { " N ", "NSN", " N ", 'N', Items.nether_wart, 'S', ModItems.syringe_metal_empty }); + GameRegistry.addRecipe(new ItemStack(ModItems.syringe_metal_medx, 1), new Object[] { " N ", "NSN", " N ", 'N', Items.quartz, 'S', ModItems.syringe_metal_empty }); + GameRegistry.addRecipe(new ItemStack(ModItems.syringe_metal_psycho, 1), new Object[] { " N ", "NSN", " N ", 'N', Items.glowstone_dust, 'S', ModItems.syringe_metal_empty }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.stealth_boy, 1), new Object[] { " B", "LI", "LC", 'B', Item.getItemFromBlock(Blocks.stone_button), 'L', Items.leather, 'I', "ingotSteel", 'C', ModItems.circuit_red_copper })); + + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_gadget), 1), new Object[] { "DGD", "FCF", "DPD", 'G', ModItems.wire_gold, 'F', ModItems.fins_flat, 'C', ModItems.sphere_steel, 'P', ModItems.pedestal_steel, 'D', new ItemStack(Items.dye, 1, 8) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_boy), 1), new Object[] { "ADD", "HHF", "CDD", 'A', ModItems.wire_aluminium, 'H', ModItems.hull_small_steel, 'C', ModItems.circuit_aluminium, 'F', ModItems.fins_small_steel, 'D', new ItemStack(Items.dye, 1, 4) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_man), 1), new Object[] { "ADD", "SHF", "CDD", 'A', ModItems.wire_aluminium, 'S', ModItems.sphere_steel, 'H', ModItems.hull_big_steel, 'F', ModItems.fins_big_steel, 'C', ModItems.circuit_aluminium, 'D', new ItemStack(Items.dye, 1, 11) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_mike), 1), new Object[] { "DCD", "HSH", "ATA", 'C', ModItems.cap_aluminium, 'H', ModItems.hull_big_aluminium, 'S', ModItems.sphere_steel, 'A', ModItems.circuit_red_copper, 'T', ModItems.tank_steel, 'D', new ItemStack(Items.dye, 1, 7) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_tsar), 1), new Object[] { "CHD", "STF", "CHD", 'C', ModItems.circuit_red_copper, 'H', ModItems.hull_big_titanium, 'S', ModItems.sphere_steel, 'T', ModItems.tank_steel, 'F', ModItems.fins_tri_steel, 'D', new ItemStack(Items.dye, 1, 0) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_fleija), 1), new Object[] { "DGD", "CHF", "DGD", 'G', ModItems.wire_gold, 'C', ModItems.circuit_gold, 'H', ModItems.hull_small_aluminium, 'F', ModItems.fins_quad_titanium, 'D', new ItemStack(Items.dye, 1, 15) }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_prototype), 1), new Object[] { "GCG", "HRH", "GCG", 'G', ModItems.wire_gold, 'C', new ItemStack(ModItems.ingot_euphemium, 1, 34), 'H', ModItems.hull_small_steel, 'R', ModItems.dysfunctional_reactor }); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.nuke_custom), 1), new Object[] { "ADD", "HHF", "CDD", 'A', ModItems.wire_gold, 'H', ModItems.hull_small_steel, 'C', ModItems.circuit_gold, 'F', ModItems.fins_small_steel, 'D', new ItemStack(Items.dye, 1, 8) }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.launch_pad), 1), new Object[] { "PPP", "ICI", "CBC", 'P', "plateSteel", 'I', "ingotSteel", 'C', ModItems.circuit_gold, 'B', Item.getItemFromBlock(ModBlocks.machine_battery) })); + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.book_guide), 1), new Object[] { "IBI", "LBL", "IBI", 'B', Items.book, 'I', new ItemStack(Items.dye, 1, 0), 'L', new ItemStack(Items.dye, 1, 4) }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.rail_highspeed), 16), new Object[] { "S S", "SIS", "S S", 'S', "ingotSteel", 'I', "plateIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.rail_booster), 6), new Object[] { "S S", "CIC", "SRS", 'S', "ingotSteel", 'I', "plateIron", 'R', "ingotRedstoneAlloy", 'C', ModItems.coil_copper })); + + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.bomb_multi), 1), new Object[] { "AAD", "CHF", "AAD", 'A', ModItems.wire_aluminium, 'C', ModItems.circuit_aluminium, 'H', ModItems.hull_small_aluminium, 'F', ModItems.fins_quad_titanium, 'D', new ItemStack(Items.dye, 1, 15) }); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.pellet_cluster, 8), new Object[] { "plateIron", Item.getItemFromBlock(Blocks.tnt), "plateSteel" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_fire, 4), new Object[] { Items.blaze_powder, "dustSulfur", "dustRedstone" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_ice, 4), new Object[] { Items.snowball, "dustNiter", "dustRedstone" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_poison, 4), new Object[] { Items.spider_eye, "dustRedstone", "gemQuartz" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.pellet_gas, 2), new Object[] { Items.water_bucket, "dustGlowstone", "plateSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.magnetron, 2), new Object[] { "PWP", "ITI", "PWP", 'P', "plateAdvanced", 'I', "ingotAdvanced", 'W', ModItems.wire_tungsten, 'T', ModItems.coil_tungsten })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.pellet_buckshot, 2), new Object[] { "nuggetLead", "nuggetLead", "nuggetLead" })); + + GameRegistry.addRecipe(new ItemStack(ModItems.flame_pony, 1), new Object[] { " O ", "DPD", " O ", 'D', new ItemStack(Items.dye, 1, 11), 'O', new ItemStack(Items.dye, 1, 9), 'P', Items.paper }); + GameRegistry.addRecipe(new ItemStack(ModItems.flame_conspiracy, 1), new Object[] { " S ", "STS", " S ", 'S', ModItems.canister_fuel, 'T', ModItems.ingot_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.flame_politics, 1), new Object[] { " I ", "IPI", " I ", 'P', Items.paper, 'I', new ItemStack(Items.dye, 1, 0) }); + GameRegistry.addRecipe(new ItemStack(ModItems.flame_opinion, 1), new Object[] { " R ", "RPR", " R ", 'P', Items.paper, 'R', new ItemStack(Items.dye, 1, 1) }); + + GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.flame_war), 1), new Object[] { "WHW", "CTP", "WOW", 'W', Item.getItemFromBlock(Blocks.planks), 'T', Item.getItemFromBlock(Blocks.tnt), 'H', ModItems.flame_pony, 'C', ModItems.flame_conspiracy, 'P', ModItems.flame_politics, 'O', ModItems.flame_opinion }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.float_bomb), 1), new Object[] { "TGT", "TUT", "TGT", 'T', "plateTitanium", 'U', ModItems.levitation_unit, 'G', ModItems.circuit_gold })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.therm_endo), 1), new Object[] { "TGT", "TUT", "TGT", 'T', "plateTitanium", 'U', ModItems.thermo_unit_endo, 'G', ModItems.circuit_gold })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.therm_exo), 1), new Object[] { "TGT", "TUT", "TGT", 'T', "plateTitanium", 'U', ModItems.thermo_unit_exo, 'G', ModItems.circuit_gold })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(ModBlocks.det_cord), 8), new Object[] { "TNT", "NGN", "TNT", 'T', "plateTitanium", 'N', "dustNiter", 'G', Items.gunpowder })); + + GameRegistry.addRecipe(new ItemStack(ModItems.gadget_core, 1), new Object[] { "PPP", "PUP", "PPP", 'P', ModItems.nugget_pu239, 'U', ModItems.nugget_u238 }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gadget_explosive, 16), new Object[] { "ATP", "ATW", "ATP", 'P', "plateTitanium", 'A', "plateAluminum", 'T', Item.getItemFromBlock(Blocks.tnt), 'W', ModItems.wire_gold })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gadget_explosive8, 1), new Object[] { "EEE", "EPE", "EEE", 'E', ModItems.gadget_explosive, 'P', "plateAluminum" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gadget_wireing, 1), new Object[] { "WWW", "WSW", "WWW", 'W', ModItems.wire_gold, 'S', "plateTitanium" })); + + GameRegistry.addRecipe(new ItemStack(ModItems.boy_bullet, 1), new Object[] { "##", '#', ModItems.nugget_u235 }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.boy_igniter, 1), new Object[] { " AA", "WWS", " AA", 'A', "plateAluminum", 'W', ModItems.wire_red_copper, 'S', ModItems.circuit_aluminium })); + GameRegistry.addRecipe(new ItemStack(ModItems.boy_propellant, 1), new Object[] { "TTT", "PPW", "TTT", 'T', ModItems.plate_titanium, 'W', ModItems.wire_red_copper, 'P', Item.getItemFromBlock(Blocks.tnt) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.boy_shielding, 1), new Object[] { "## ", "# #", "## ", '#', "plateDenseLead" })); + GameRegistry.addRecipe(new ItemStack(ModItems.boy_target, 1), new Object[] { "###", "# ", "###", '#', ModItems.nugget_u235 }); + + GameRegistry.addRecipe(new ItemStack(ModItems.man_core, 1), new Object[] { "PPP", "PBP", "PPP", 'P', ModItems.nugget_pu239, 'B', ModItems.nugget_beryllium }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.man_explosive, 16), new Object[] { "UTP", "UTW", "UTP", 'P', "plateTitanium", 'U', ModItems.nugget_u238, 'T', Item.getItemFromBlock(Blocks.tnt), 'W', ModItems.wire_red_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.man_explosive8, 1), new Object[] { "EEE", "ESE", "EEE", 'E', ModItems.man_explosive, 'S', "plateSteel" })); + GameRegistry.addRecipe(new ItemStack(ModItems.man_igniter, 1), new Object[] { " S ", "WWW", 'W', ModItems.wire_red_copper, 'S', ModItems.circuit_aluminium }); + + GameRegistry.addRecipe(new ItemStack(ModItems.mike_core, 1), new Object[] { "UPU", "UPU", "UPU", 'U', ModItems.nugget_u238, 'P', ModItems.nugget_pu239 }); + GameRegistry.addRecipe(new ItemStack(ModItems.mike_deut, 1), new Object[] { "DDD", "DTD", "DDD", 'D', ModItems.cell_deuterium, 'T', ModItems.tank_steel }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mike_cooling_unit, 1), new Object[] { "WSC", "WMC", "WAC", 'W', ModItems.coil_tungsten, 'C', ModItems.coil_copper, 'S', "plateSteel", 'M', ModItems.motor, 'A', ModItems.circuit_copper })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fleija_igniter, 1), new Object[] { " TT", "TSW", " TT", 'T', "plateTitanium", 'S', ModItems.circuit_schrabidium, 'W', ModItems.wire_schrabidium })); + GameRegistry.addRecipe(new ItemStack(ModItems.fleija_propellant, 1), new Object[] { "PPP", "TST", "PPP", 'P', ModItems.plate_schrabidium, 'S', ModItems.ingot_schrabidium, 'T', Item.getItemFromBlock(Blocks.tnt) }); + GameRegistry.addRecipe(new ItemStack(ModItems.fleija_core, 1), new Object[] { "NUU", "BHW", "NUU", 'N', ModItems.nugget_neptunium, 'B', ModItems.nugget_beryllium, 'U', ModItems.nugget_u235, 'H', ModItems.coil_copper, 'W', ModItems.wire_red_copper }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_generic, 1, 50), new Object[] { " A ", "PRP", "PRP", 'A', ModItems.wire_aluminium, 'P', "plateAluminum", 'R', Items.redstone })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_advanced, 1, 200), new Object[] { " A ", "PSP", "PLP", 'A', ModItems.wire_red_copper, 'P', "plateCopper", 'S', "sulfur", 'L', "dustLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_advanced, 1, 200), new Object[] { " A ", "PLP", "PSP", 'A', ModItems.wire_red_copper, 'P', "plateCopper", 'S', "sulfur", 'L', "dustLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_advanced, 1, 200), new Object[] { " A ", "PSP", "PLP", 'A', ModItems.wire_red_copper, 'P', "plateCopper", 'S', "dustSulfur", 'L', "dustLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.battery_advanced, 1, 200), new Object[] { " A ", "PLP", "PSP", 'A', ModItems.wire_red_copper, 'P', "plateCopper", 'S', "dustSulfur", 'L', "dustLead" })); + GameRegistry.addRecipe(new ItemStack(ModItems.battery_schrabidium, 1, 10000), new Object[] { " A ", "PNP", "PSP", 'A', ModItems.wire_schrabidium, 'P', ModItems.plate_schrabidium, 'S', ModItems.powder_schrabidium, 'N', ModItems.powder_neptunium }); + GameRegistry.addRecipe(new ItemStack(ModItems.battery_schrabidium, 1, 10000), new Object[] { " A ", "PSP", "PNP", 'A', ModItems.wire_schrabidium, 'P', ModItems.plate_schrabidium, 'S', ModItems.powder_schrabidium, 'N', ModItems.powder_neptunium }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.energy_core, 1), new Object[] { "PCW", "TRD", "PCW", 'P', ModItems.plate_advanced_alloy, 'C', ModItems.coil_advanced_alloy, 'W', ModItems.wire_advanced_alloy, 'R', ModItems.cell_tritium, 'D', ModItems.cell_deuterium, 'T', "ingotTungsten" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.energy_core, 1), new Object[] { "PCW", "TDR", "PCW", 'P', ModItems.plate_advanced_alloy, 'C', ModItems.coil_advanced_alloy, 'W', ModItems.wire_advanced_alloy, 'R', ModItems.cell_tritium, 'D', ModItems.cell_deuterium, 'T', "ingotTungsten" })); + + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_schrabidium }); + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_schrabidium }); + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_schrabidium }); + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_schrabidium }); + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_schrabidium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.steel_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_titanium }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_titanium }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_titanium }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_titanium }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_titanium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_titanium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_titanium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_titanium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.titanium_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_titanium, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_advanced_alloy }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_advanced_alloy }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_advanced_alloy }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_advanced_alloy }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_advanced_alloy, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_advanced_alloy, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_advanced_alloy, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_advanced_alloy, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.alloy_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.ingot_combine_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.ingot_combine_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.ingot_combine_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.ingot_combine_steel }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_sword, 1), new Object[] { "I", "I", "S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_pickaxe, 1), new Object[] { "III", " S ", " S ", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_axe, 1), new Object[] { "II", "IS", " S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_shovel, 1), new Object[] { "I", "S", "S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.cmb_hoe, 1), new Object[] { "II", " S", " S", 'I', ModItems.ingot_combine_steel, 'S', Items.stick }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.chainsaw, 1), new Object[] { "TTG", "SSM", 'T', "plateIron", 'S', "plateSteel", 'M', ModItems.motor, 'G', ModItems.circuit_gold })); + + ItemStack multitool = new ItemStack(ModItems.multitool_dig, 1); + multitool.addEnchantment(Enchantment.looting, 3); + multitool.addEnchantment(Enchantment.fortune, 3); + GameRegistry.addShapedRecipe((multitool), new Object[] { "R#V", "W+U", "A@D", 'R', ModItems.rod_reiium, 'W', ModItems.rod_weidanium, 'A', ModItems.rod_australium, 'V', ModItems.rod_verticium, 'U', ModItems.rod_unobtainium, 'D', ModItems.rod_daffergon, '#', ModBlocks.steel_scaffold, '+', ModItems.circuit_gold, '@', ModItems.ducttape }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.tank_waste, 1), new Object[] { "PTP", "PTP", "PTP", 'T', ModItems.tank_steel, 'P', "plateSteel" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hazmat_helmet, 1), new Object[] { "EEE", "EIE", "FPF", 'E', ModItems.hazmat_cloth, 'I', "paneGlass", 'P', "plateSteel", 'F', ModItems.filter_coal })); + GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.hazmat_cloth }); + GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.hazmat_cloth }); + GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.hazmat_cloth }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.hazmat_paa_helmet, 1), new Object[] { "EEE", "IEI", "FPF", 'E', ModItems.plate_paa, 'I', "paneGlass", 'P', "plateSteel", 'F', ModItems.filter_coal })); + GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_paa_plate, 1), new Object[] { "E E", "EEE", "EEE", 'E', ModItems.plate_paa }); + GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_paa_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', ModItems.plate_paa }); + GameRegistry.addRecipe(new ItemStack(ModItems.hazmat_paa_boots, 1), new Object[] { "E E", "E E", 'E', ModItems.plate_paa }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.paa_plate, 1), new Object[] { "E E", "NEN", "ENE", 'E', ModItems.plate_paa, 'N', "plateDenseLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.paa_legs, 1), new Object[] { "EEE", "N N", "E E", 'E', ModItems.plate_paa, 'N', "plateDenseLead" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.paa_boots, 1), new Object[] { "E E", "N N", 'E', ModItems.plate_paa, 'N', "plateDenseLead" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.australium_iii, 1), new Object[] { "WIW", "PAP", " W ", 'W', ModItems.wire_copper, 'I', "ingotSteel", 'A', ModItems.ingot_australium, 'P', "plateSteel" })); + //GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.australium_iv, 1), new Object[] { "WCW", "PAP", "SWS", 'W', ModItems.wire_red_copper, 'C', ModItems.circuit_red_copper, 'P', "plateTitanium", 'A', ModItems.rod_australium, 'S', ModItems.syringe_metal_empty })); + //GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.australium_v, 1), new Object[] { "SCS", "PAP", "ESE", 'S', ModItems.syringe_metal_empty, 'C', ModItems.circuit_gold, 'P', "plateAdvanced", 'A', ModItems.nugget_australium, 'E', ModItems.powder_power })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.goggles, 1), new Object[] { "P P", "GPG", 'G', "paneGlass", 'P', "plateSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask, 1), new Object[] { "PPP", "GPG", "FPF", 'G', "paneGlass", 'P', "plateSteel", 'F', ModItems.filter_coal })); + + GameRegistry.addRecipe(new ItemStack(ModItems.cape_radiation, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 11), 'D', new ItemStack(Items.dye, 1, 11), 'I', ModItems.nuclear_waste }); + GameRegistry.addRecipe(new ItemStack(ModItems.cape_gasmask, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 4), 'D', new ItemStack(Items.dye, 1, 0), 'I', ModItems.gas_mask }); + GameRegistry.addRecipe(new ItemStack(ModItems.cape_schrabidium, 1), new Object[] { "W W", "WIW", "WDW", 'W', ModItems.ingot_schrabidium, 'D', new ItemStack(Items.dye, 1, 0), 'I', ModItems.circuit_red_copper }); + GameRegistry.addRecipe(new ItemStack(ModItems.cape_hbm, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 15), 'D', ModItems.ingot_neptunium, 'I', new ItemStack(ModItems.ingot_euphemium, 1, 34) }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.cape_dafnik, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 1), 'D', new ItemStack(Items.dye, 1, 0), 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.cape_lpkukin, 1), new Object[] { "W W", "WIW", "WDW", 'W', new ItemStack(Item.getItemFromBlock(Blocks.wool), 1, 13), 'D', new ItemStack(Items.dye, 1, 8), 'I', "plateSteel" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.igniter, 1), new Object[] { " W", "SC", "CE", 'S', "plateSteel", 'W', ModItems.wire_schrabidium, 'C', ModItems.circuit_schrabidium, 'E', new ItemStack(ModItems.ingot_euphemium, 1, 34) })); + GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_helmet, 1), new Object[] { "EEE", "E E", 'E', new ItemStack(ModItems.ingot_euphemium, 1, 34) }); + GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_plate, 1), new Object[] { "EWE", "EEE", "EEE", 'E', new ItemStack(ModItems.ingot_euphemium, 1, 34), 'W', ModItems.watch }); + GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_legs, 1), new Object[] { "EEE", "E E", "E E", 'E', new ItemStack(ModItems.ingot_euphemium, 1, 34) }); + GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_boots, 1), new Object[] { "E E", "E E", 'E', new ItemStack(ModItems.ingot_euphemium, 1, 34) }); + GameRegistry.addRecipe(new ItemStack(ModItems.watch, 1), new Object[] { "LEL", "EWE", "LEL", 'E', new ItemStack(ModItems.ingot_euphemium, 1, 34), 'L', new ItemStack(Items.dye, 1, 4), 'W', Items.clock }); + GameRegistry.addRecipe(new ItemStack(ModItems.apple_euphemium, 1), new Object[] { "EEE", "EAE", "EEE", 'E', new ItemStack(ModItems.nugget_euphemium, 1, 34), 'A', Items.apple }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mask_of_infamy, 1), new Object[] { "III", "III", " I ", 'I', "plateIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.designator, 1), new Object[] { " A", "#B#", "#B#", '#', "plateIron", 'A', "plateSteel", 'B', ModItems.circuit_red_copper })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.linker, 1), new Object[] { "I I", "ICI", "GGG", 'I', "plateIron", 'G', "plateGold", 'C', ModItems.circuit_gold })); + + GameRegistry.addRecipe(new ItemStack(ModItems.schrabidium_hammer, 1), new Object[] { "BBB", "BBB", " S ", 'B', Item.getItemFromBlock(ModBlocks.block_schrabidium), 'S', Items.stick }); + GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_stopper, 1), new Object[] { "I", "S", "S", 'I', new ItemStack(ModItems.ingot_euphemium, 1, 34), 'S', Items.stick }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.matchstick, 16), new Object[] { "I", "S", 'I', "sulfur", 'S', Items.stick })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.matchstick, 16), new Object[] { "I", "S", 'I', "dustSulfur", 'S', Items.stick })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.remote, 1), new Object[] { "I", "S", 'I', "dustRedstone", 'S', "plateIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.crowbar, 1), new Object[] { "II", " I", " I", 'I', "ingotSteel" })); + + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_power, 5), new Object[] { "dustRedstone", "dustGlowstone", "dustDiamond", "dustNeptunium", "dustMagnetizedTungsten" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.coal, 1), new Object[] { "#", '#', "dustCoal" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.quartz, 1), new Object[] { "#", '#', "dustQuartz" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.quartz, 1), new Object[] { "#", '#', "dustNetherQuartz" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.dye, 1, 4), new Object[] { "#", '#', "dustLapis" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.diamond, 1), new Object[] { "#", '#', "dustDiamond" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.emerald, 1), new Object[] { "#", '#', "dustEmerald" })); + if(MainRegistry.enableNITAN) + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.canister_NITAN, 1), new Object[] { ModItems.canister_empty, ModItems.canister_napalm, ModItems.powder_neptunium, ModItems.powder_iodine, ModItems.powder_thorium, ModItems.powder_astatine, ModItems.powder_neodymium, ModItems.powder_caesium }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.record_lc, 1), new Object[] { " S ", "SDS", " S ", 'S', "ingotSteel", 'D', "dustLapis" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.record_ss, 1), new Object[] { " S ", "SDS", " S ", 'S', "ingotSteel", 'D', "dustAdvanced" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.record_vc, 1), new Object[] { " S ", "SDS", " S ", 'S', "ingotSteel", 'D', "dustCMBSteel" })); + + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_advanced_alloy, 4), new Object[] { "dustRedstone", "dustIron", "dustCoal", "dustCopper" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_advanced_alloy, 3), new Object[] { "dustIron", "dustCoal", "dustRedstoneAlloy" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_advanced_alloy, 3), new Object[] { "dustRedstone", "dustSteel", "dustCopper" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_advanced_alloy, 2), new Object[] { "dustRedstoneAlloy", "dustSteel" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_magnetized_tungsten, 1), new Object[] { "dustTungsten", "nuggetSchrabidium" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_red_copper, 2), new Object[] { "dustRedstone", "dustCopper" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.powder_steel, 2), new Object[] { "dustIron", "dustCoal" })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.saw, 1), new Object[] { "IIL", "PP ", 'P', "plateSteel", 'I', "ingotSteel", 'L', Items.leather })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.bat, 1), new Object[] { "P", "P", "S", 'S', "plateSteel", 'P', "plankWood" })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.bat_nail, 1), new Object[] { ModItems.bat, "plateSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.golf_club, 1), new Object[] { "IP", " P", " P", 'P', "plateSteel", 'I', "ingotSteel" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pipe_rusty, 1), new Object[] { "II", " I", " I", 'I', "ingotIron" })); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pipe_lead, 1), new Object[] { "II", " I", " I", 'I', "ingotLead" })); + + GameRegistry.addRecipe(new ItemStack(ModItems.chopper, 1), new Object[] { "BBB", "HTF", "GWW", 'B', ModItems.chopper_blades, 'H', ModItems.chopper_head, 'T', ModItems.chopper_torso, 'F', ModItems.chopper_tail, 'G', ModItems.chopper_gun, 'W', ModItems.chopper_wing }); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.polaroid, 1), new Object[] { " C ", "RPY", " B ", 'B', "dustLapis", 'C', "dustCoal", 'R', "dustAdvanced", 'Y', "dustGold", 'P', Items.paper })); + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ullapool_caber, 1), new Object[] { "ITI", " S ", " S ", 'I', "plateIron", 'T', Blocks.tnt, 'S', Items.stick })); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.chocolate_milk, 1), new Object[] { "paneGlass", new ItemStack(Items.dye, 1, 3), Items.milk_bucket, ModBlocks.block_niter, ModItems.sulfur, ModItems.sulfur, ModItems.sulfur, ModItems.powder_fire })); + + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.crystal_horn, 1), new Object[] { ModItems.powder_neptunium, ModItems.powder_iodine, ModItems.powder_thorium, ModItems.powder_astatine, ModItems.powder_neodymium, ModItems.powder_caesium, ModBlocks.block_meteor, ModBlocks.gravel_obsidian, Items.water_bucket }); + GameRegistry.addShapelessRecipe(new ItemStack(ModItems.crystal_charred, 1), new Object[] { ModItems.powder_strontium, ModItems.powder_cobalt, ModItems.powder_bromine, ModItems.powder_niobium, ModItems.powder_tennessine, ModItems.powder_cerium, ModBlocks.block_meteor, ModBlocks.block_aluminium, Items.water_bucket }); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.crystal_virus, 1), new Object[] { "STS", "THT", "STS", 'S', ModItems.cell_sas3, 'T', "dustTungsten", 'H', ModItems.crystal_horn })); + } + + public static void AddSmeltingRec() + { + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_uranium), new ItemStack(ModItems.ingot_uranium), 6.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_nether_uranium), new ItemStack(ModItems.ingot_uranium), 12.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_nether_plutonium), new ItemStack(ModItems.ingot_plutonium), 24.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_titanium), new ItemStack(ModItems.ingot_titanium), 3.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_copper), new ItemStack(ModItems.ingot_copper), 2.5F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_tungsten), new ItemStack(ModItems.ingot_tungsten), 6.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_nether_tungsten), new ItemStack(ModItems.ingot_tungsten), 12.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_aluminium), new ItemStack(ModItems.ingot_aluminium), 2.5F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_lead), new ItemStack(ModItems.ingot_lead), 3.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_beryllium), new ItemStack(ModItems.ingot_beryllium), 2.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_schrabidium), new ItemStack(ModItems.ingot_schrabidium), 128.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_nether_schrabidium), new ItemStack(ModItems.ingot_schrabidium), 256.0F); + + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_australium), new ItemStack(ModItems.nugget_australium), 2.5F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_weidanium), new ItemStack(ModItems.nugget_weidanium, 6), 16.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_reiium), new ItemStack(ModItems.ingot_reiium), 24.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_unobtainium), new ItemStack(ModItems.nugget_unobtainium, 4), 10.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_daffergon), new ItemStack(ModItems.nugget_daffergon, 3), 8.0F); + GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_verticium), new ItemStack(ModItems.ingot_verticium), 24.0F); + GameRegistry.addSmelting(ModItems.powder_australium, new ItemStack(ModItems.ingot_australium), 5.0F); + GameRegistry.addSmelting(ModItems.powder_weidanium, new ItemStack(ModItems.ingot_weidanium), 5.0F); + GameRegistry.addSmelting(ModItems.powder_reiium, new ItemStack(ModItems.ingot_reiium), 5.0F); + GameRegistry.addSmelting(ModItems.powder_unobtainium, new ItemStack(ModItems.ingot_unobtainium), 5.0F); + GameRegistry.addSmelting(ModItems.powder_daffergon, new ItemStack(ModItems.ingot_daffergon), 5.0F); + GameRegistry.addSmelting(ModItems.powder_verticium, new ItemStack(ModItems.ingot_verticium), 5.0F); + + GameRegistry.addSmelting(ModItems.powder_lead, new ItemStack(ModItems.ingot_lead), 1.0F); + GameRegistry.addSmelting(ModItems.powder_neptunium, new ItemStack(ModItems.ingot_neptunium), 1.0F); + GameRegistry.addSmelting(ModItems.powder_schrabidium, new ItemStack(ModItems.ingot_schrabidium), 5.0F); + GameRegistry.addSmelting(ModItems.powder_aluminium, new ItemStack(ModItems.ingot_aluminium), 1.0F); + GameRegistry.addSmelting(ModItems.powder_beryllium, new ItemStack(ModItems.ingot_beryllium), 1.0F); + GameRegistry.addSmelting(ModItems.powder_copper, new ItemStack(ModItems.ingot_copper), 1.0F); + GameRegistry.addSmelting(ModItems.powder_gold, new ItemStack(Items.gold_ingot), 1.0F); + GameRegistry.addSmelting(ModItems.powder_iron, new ItemStack(Items.iron_ingot), 1.0F); + GameRegistry.addSmelting(ModItems.powder_titanium, new ItemStack(ModItems.ingot_titanium), 1.0F); + GameRegistry.addSmelting(ModItems.powder_tungsten, new ItemStack(ModItems.ingot_tungsten), 1.0F); + GameRegistry.addSmelting(ModItems.powder_uranium, new ItemStack(ModItems.ingot_uranium), 1.0F); + GameRegistry.addSmelting(ModItems.powder_plutonium, new ItemStack(ModItems.ingot_plutonium), 1.0F); + GameRegistry.addSmelting(ModItems.powder_advanced_alloy, new ItemStack(ModItems.ingot_advanced_alloy), 1.0F); + GameRegistry.addSmelting(ModItems.powder_combine_steel, new ItemStack(ModItems.ingot_combine_steel), 1.0F); + GameRegistry.addSmelting(ModItems.powder_magnetized_tungsten, new ItemStack(ModItems.ingot_magnetized_tungsten), 1.0F); + GameRegistry.addSmelting(ModItems.powder_red_copper, new ItemStack(ModItems.ingot_red_copper), 1.0F); + GameRegistry.addSmelting(ModItems.powder_steel, new ItemStack(ModItems.ingot_steel), 1.0F); + GameRegistry.addSmelting(ModItems.powder_lithium, new ItemStack(ModItems.lithium), 1.0F); + + GameRegistry.addSmelting(ModItems.combine_scrap, new ItemStack(ModItems.ingot_combine_steel), 1.0F); + GameRegistry.addSmelting(ModItems.tank_waste, new ItemStack(ModItems.tank_waste), 0.0F); + + GameRegistry.addSmelting(Items.bone, new ItemStack(Items.slime_ball, 3), 0.0F); + GameRegistry.addSmelting(new ItemStack(Items.dye, 1, 15), new ItemStack(Items.slime_ball, 1), 0.0F); + GameRegistry.addSmelting(new ItemStack(Blocks.gravel, 1), new ItemStack(Blocks.cobblestone, 1), 0.0F); + } +} diff --git a/com/hbm/main/MainRegistry.java b/com/hbm/main/MainRegistry.java index 22c4b93dc..d9d04a5de 100644 --- a/com/hbm/main/MainRegistry.java +++ b/com/hbm/main/MainRegistry.java @@ -1,792 +1,788 @@ -package com.hbm.main; - -import net.minecraft.block.Block; -import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.item.Item; -import net.minecraft.item.Item.ToolMaterial; -import net.minecraft.item.ItemArmor.ArmorMaterial; -import net.minecraft.item.ItemStack; -import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.common.config.Configuration; -import net.minecraftforge.common.config.Property; -import net.minecraftforge.common.util.EnumHelper; -import net.minecraftforge.oredict.OreDictionary; -import cpw.mods.fml.common.FMLCommonHandler; -import cpw.mods.fml.common.Mod; -import cpw.mods.fml.common.Mod.EventHandler; -import cpw.mods.fml.common.Mod.Instance; -import cpw.mods.fml.common.Mod.Metadata; -import cpw.mods.fml.common.ModMetadata; - -import com.hbm.blocks.ModBlocks; -import com.hbm.creativetabs.BlockTab; -import com.hbm.creativetabs.NukeTab; -import com.hbm.creativetabs.PartsTab; -import com.hbm.creativetabs.TestTab; -<<<<<<< HEAD -import com.hbm.entity.effect.EntityCloudFleija; -import com.hbm.entity.effect.EntityEMPBlast; -import com.hbm.entity.effect.EntityFalloutRain; -import com.hbm.entity.effect.EntityNukeCloudBig; -import com.hbm.entity.effect.EntityNukeCloudNoShroom; -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.grenade.EntityGrenadeASchrab; -import com.hbm.entity.grenade.EntityGrenadeCluster; -import com.hbm.entity.grenade.EntityGrenadeElectric; -import com.hbm.entity.grenade.EntityGrenadeFire; -import com.hbm.entity.grenade.EntityGrenadeFlare; -import com.hbm.entity.grenade.EntityGrenadeFrag; -import com.hbm.entity.grenade.EntityGrenadeGas; -import com.hbm.entity.grenade.EntityGrenadeGeneric; -import com.hbm.entity.grenade.EntityGrenadeLemon; -import com.hbm.entity.grenade.EntityGrenadeMk2; -import com.hbm.entity.grenade.EntityGrenadeNuclear; -import com.hbm.entity.grenade.EntityGrenadeNuke; -import com.hbm.entity.grenade.EntityGrenadePlasma; -import com.hbm.entity.grenade.EntityGrenadePoison; -import com.hbm.entity.grenade.EntityGrenadeSchrabidium; -import com.hbm.entity.grenade.EntityGrenadeStrong; -import com.hbm.entity.grenade.EntityGrenadeTau; -import com.hbm.entity.grenade.EntityGrenadeZOMG; -import com.hbm.entity.logic.EntityNukeExplosion; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.entity.missile.EntityMIRV; -import com.hbm.entity.missile.EntityMissileAntiBallistic; -import com.hbm.entity.missile.EntityMissileBunkerBuster; -import com.hbm.entity.missile.EntityMissileBurst; -import com.hbm.entity.missile.EntityMissileBusterStrong; -import com.hbm.entity.missile.EntityMissileCluster; -import com.hbm.entity.missile.EntityMissileClusterStrong; -import com.hbm.entity.missile.EntityMissileDrill; -import com.hbm.entity.missile.EntityMissileEndo; -import com.hbm.entity.missile.EntityMissileExo; -import com.hbm.entity.missile.EntityMissileGeneric; -import com.hbm.entity.missile.EntityMissileIncendiary; -import com.hbm.entity.missile.EntityMissileIncendiaryStrong; -import com.hbm.entity.missile.EntityMissileInferno; -import com.hbm.entity.missile.EntityMissileMirv; -import com.hbm.entity.missile.EntityMissileNuclear; -import com.hbm.entity.missile.EntityMissileRain; -import com.hbm.entity.missile.EntityMissileStrong; -import com.hbm.entity.missile.EntityTestMissile; -import com.hbm.entity.mob.EntityHunterChopper; -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.entity.particle.EntityBSmokeFX; -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.entity.projectile.EntityBaleflare; -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityChopperMine; -import com.hbm.entity.projectile.EntityCombineBall; -import com.hbm.entity.projectile.EntityDischarge; -import com.hbm.entity.projectile.EntityFire; -import com.hbm.entity.projectile.EntityLN2; -import com.hbm.entity.projectile.EntityMiniMIRV; -import com.hbm.entity.projectile.EntityMiniNuke; -import com.hbm.entity.projectile.EntityPlasmaBeam; -import com.hbm.entity.projectile.EntityRainbow; -import com.hbm.entity.projectile.EntityRocket; -import com.hbm.entity.projectile.EntitySchrab; -======= -import com.hbm.entity.EntityBullet; -import com.hbm.entity.EntityChopperMine; -import com.hbm.entity.EntityCloudFleija; -import com.hbm.entity.EntityCombineBall; -<<<<<<< HEAD -import com.hbm.entity.EntityFalloutRain; -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 -import com.hbm.entity.EntityGrenadeASchrab; -import com.hbm.entity.EntityGrenadeCluster; -import com.hbm.entity.EntityGrenadeElectric; -import com.hbm.entity.EntityGrenadeFire; -import com.hbm.entity.EntityGrenadeFlare; -import com.hbm.entity.EntityGrenadeFrag; -import com.hbm.entity.EntityGrenadeGas; -import com.hbm.entity.EntityGrenadeGeneric; -import com.hbm.entity.EntityGrenadeLemon; -import com.hbm.entity.EntityGrenadeMk2; -import com.hbm.entity.EntityGrenadeNuclear; -import com.hbm.entity.EntityGrenadeNuke; -import com.hbm.entity.EntityGrenadePlasma; -import com.hbm.entity.EntityGrenadePoison; -import com.hbm.entity.EntityGrenadeSchrabidium; -import com.hbm.entity.EntityGrenadeStrong; -import com.hbm.entity.EntityGrenadeTau; -import com.hbm.entity.EntityGrenadeZOMG; -import com.hbm.entity.EntityHunterChopper; -import com.hbm.entity.EntityMiniNuke; -import com.hbm.entity.EntityMirv; -import com.hbm.entity.EntityMissileAntiBallistic; -import com.hbm.entity.EntityMissileBunkerBuster; -import com.hbm.entity.EntityMissileBurst; -import com.hbm.entity.EntityMissileBusterStrong; -import com.hbm.entity.EntityMissileCluster; -import com.hbm.entity.EntityMissileClusterStrong; -import com.hbm.entity.EntityMissileDrill; -import com.hbm.entity.EntityMissileEndo; -import com.hbm.entity.EntityMissileExo; -import com.hbm.entity.EntityMissileGeneric; -import com.hbm.entity.EntityMissileIncendiary; -import com.hbm.entity.EntityMissileIncendiaryStrong; -import com.hbm.entity.EntityMissileInferno; -import com.hbm.entity.EntityMissileMirv; -import com.hbm.entity.EntityMissileNuclear; -import com.hbm.entity.EntityMissileRain; -import com.hbm.entity.EntityMissileStrong; -import com.hbm.entity.EntityNuclearCreeper; -import com.hbm.entity.EntityNukeCloudBig; -import com.hbm.entity.EntityNukeCloudNoShroom; -import com.hbm.entity.EntityNukeCloudSmall; -import com.hbm.entity.EntityNukeExplosion; -import com.hbm.entity.EntityNukeExplosionAdvanced; -import com.hbm.entity.EntityRainbow; -import com.hbm.entity.EntityRocket; -import com.hbm.entity.EntitySchrab; -import com.hbm.entity.EntityTestMissile; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.gui.MachineRecipes; -import com.hbm.gui.MachineRecipes.ShredderRecipe; -import com.hbm.handler.FuelHandler; -import com.hbm.handler.GUIHandler; -import com.hbm.items.ModItems; -import com.hbm.lib.HbmWorld; -import com.hbm.lib.Library; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityBombMulti; -import com.hbm.tileentity.TileEntityCable; -import com.hbm.tileentity.TileEntityConverterHeRf; -import com.hbm.tileentity.TileEntityConverterRfHe; -import com.hbm.tileentity.TileEntityCoreAdvanced; -import com.hbm.tileentity.TileEntityCoreTitanium; -import com.hbm.tileentity.TileEntityCrashedBomb; -import com.hbm.tileentity.TileEntityDecoBlock; -import com.hbm.tileentity.TileEntityDecoPoleSatelliteReceiver; -import com.hbm.tileentity.TileEntityDecoPoleTop; -import com.hbm.tileentity.TileEntityDecoSteelPoles; -import com.hbm.tileentity.TileEntityDecoTapeRecorder; -import com.hbm.tileentity.TileEntityDiFurnace; -import com.hbm.tileentity.TileEntityFWatzCore; -import com.hbm.tileentity.TileEntityFusionMultiblock; -import com.hbm.tileentity.TileEntityLaunchPad; -import com.hbm.tileentity.TileEntityMachineBattery; -import com.hbm.tileentity.TileEntityMachineCMBFactory; -import com.hbm.tileentity.TileEntityMachineCentrifuge; -import com.hbm.tileentity.TileEntityMachineCoal; -import com.hbm.tileentity.TileEntityMachineDeuterium; -import com.hbm.tileentity.TileEntityMachineDiesel; -import com.hbm.tileentity.TileEntityMachineElectricFurnace; -import com.hbm.tileentity.TileEntityMachineGenerator; -import com.hbm.tileentity.TileEntityMachinePuF6Tank; -import com.hbm.tileentity.TileEntityMachineReactor; -import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; -import com.hbm.tileentity.TileEntityMachineShredder; -import com.hbm.tileentity.TileEntityMachineTeleporter; -import com.hbm.tileentity.TileEntityMachineUF6Tank; -import com.hbm.tileentity.TileEntityNukeBoy; -import com.hbm.tileentity.TileEntityNukeFleija; -import com.hbm.tileentity.TileEntityNukeFurnace; -import com.hbm.tileentity.TileEntityNukeGadget; -import com.hbm.tileentity.TileEntityNukeMan; -import com.hbm.tileentity.TileEntityNukeMike; -import com.hbm.tileentity.TileEntityNukePrototype; -import com.hbm.tileentity.TileEntityNukeTsar; -import com.hbm.tileentity.TileEntityObjTester; -import com.hbm.tileentity.TileEntityReactorMultiblock; -import com.hbm.tileentity.TileEntityRedBarrel; -import com.hbm.tileentity.TileEntityRotationTester; -import com.hbm.tileentity.TileEntityRtgFurnace; -import com.hbm.tileentity.TileEntityTestBombAdvanced; -import com.hbm.tileentity.TileEntityTestContainer; -import com.hbm.tileentity.TileEntityTestNuke; -import com.hbm.tileentity.TileEntityTestRender; -import com.hbm.tileentity.TileEntityWatzCore; -import com.hbm.tileentity.TileEntityWireCoated; -import com.hbm.tileentity.TileEntityYellowBarrel; - -import cpw.mods.fml.common.SidedProxy; -import cpw.mods.fml.common.event.FMLInitializationEvent; -import cpw.mods.fml.common.event.FMLPostInitializationEvent; -import cpw.mods.fml.common.event.FMLPreInitializationEvent; -import cpw.mods.fml.common.network.NetworkRegistry; -import cpw.mods.fml.common.registry.EntityRegistry; -import cpw.mods.fml.common.registry.GameData; -import cpw.mods.fml.common.registry.GameRegistry; - -@Mod(modid = RefStrings.MODID, name = RefStrings.NAME, version = RefStrings.VERSION) -public class MainRegistry -{ - @Instance(RefStrings.MODID) - public static MainRegistry instance; - - @SidedProxy(clientSide = RefStrings.CLIENTSIDE, serverSide = RefStrings.SERVERSIDE) - public static ServerProxy proxy; - - @Metadata - public static ModMetadata meta; - - //Tool Materials - public static ToolMaterial enumToolMaterialSchrabidium = EnumHelper.addToolMaterial("SCHRABIDIUM", 3, 10000, 50.0F, 100.0F, 200); - public static ToolMaterial enumToolMaterialHammer = EnumHelper.addToolMaterial("SCHRABIDIUMHAMMER", 3, 0, 50.0F, 999999996F, 200); - public static ToolMaterial enumToolMaterialChainsaw = EnumHelper.addToolMaterial("CHAINSAW", 3, 5000, 50.0F, 47.0F, 0); - public static ToolMaterial enumToolMaterialSteel = EnumHelper.addToolMaterial("STEEL", 2, 500, 7.5F, 2.0F, 10); - public static ToolMaterial enumToolMaterialTitanium = EnumHelper.addToolMaterial("TITANIUM", 3, 750, 9.0F, 2.5F, 15); - public static ToolMaterial enumToolMaterialAlloy= EnumHelper.addToolMaterial("ALLOY", 3, 2000, 15.0F, 5.0F, 5); - public static ToolMaterial enumToolMaterialCmb = EnumHelper.addToolMaterial("CMB", 3, 8500, 40.0F, 50F, 100); - - //Armor Materials - public static ArmorMaterial enumArmorMaterialEmerald = EnumHelper.addArmorMaterial("TEST", 2500, new int[] {3, 8, 6, 3}, 30); - public static ArmorMaterial enumArmorMaterialSchrabidium = EnumHelper.addArmorMaterial("SCHRABIDIUM", 100, new int[] {3, 8, 6, 3}, 50); - public static ArmorMaterial enumArmorMaterialEuphemium = EnumHelper.addArmorMaterial("EUPHEMIUM", 2147483647, new int[] {3, 8, 6, 3}, 100); - public static ArmorMaterial enumArmorMaterialHazmat = EnumHelper.addArmorMaterial("HAZMAT", 60, new int[] {2, 5, 4, 1}, 5); - public static ArmorMaterial enumArmorMaterialT45 = EnumHelper.addArmorMaterial("T45", 1000, new int[] {2, 5, 4, 1}, 0); - public static ArmorMaterial enumArmorMaterialSteel = EnumHelper.addArmorMaterial("STEEL", 20, new int[] {2, 6, 5, 2}, 5); - public static ArmorMaterial enumArmorMaterialTitanium = EnumHelper.addArmorMaterial("TITANIUM", 25, new int[] {3, 8, 6, 3}, 9); -<<<<<<< HEAD - public static ArmorMaterial enumArmorMaterialAlloy = EnumHelper.addArmorMaterial("ALLOY", 40, new int[] {3, 8, 6, 3}, 12); -======= -<<<<<<< HEAD - public static ArmorMaterial enumArmorMaterialAlloy = EnumHelper.addArmorMaterial("ALLOY", 40, new int[] {3, 8, 6, 3}, 12); -======= - public static ArmorMaterial enumArmorMaterialAlloy = EnumHelper.addArmorMaterial("ALLOY", 50, new int[] {3, 8, 6, 3}, 12); ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - public static ArmorMaterial enumArmorMaterialPaa = EnumHelper.addArmorMaterial("PAA", 75, new int[] {3, 8, 6, 3}, 25); - public static ArmorMaterial enumArmorMaterialCmb = EnumHelper.addArmorMaterial("CMB", 60, new int[] {3, 8, 6, 3}, 50); - - //Creative Tabs - public static CreativeTabs tabTest = new TestTab(CreativeTabs.getNextID(), "tabTest"); - public static CreativeTabs tabParts = new PartsTab(CreativeTabs.getNextID(), "tabParts"); - public static CreativeTabs tabBlock = new BlockTab(CreativeTabs.getNextID(), "tabBlocks"); - public static CreativeTabs tabNuke = new NukeTab(CreativeTabs.getNextID(), "tabNuke"); - - public static boolean enableDebugMode = true; - public static boolean enableMycelium = false; - public static boolean enablePlutoniumOre = false; - public static boolean enableDungeons = true; - public static boolean enableMDOres = true; - public static boolean enableBarrels = false; - public static boolean enableNITAN = true; - public static boolean enableNukeClouds = true; - public static int uraniumSpawn = 7; - public static int titaniumSpawn = 8; - public static int sulfurSpawn = 5; - public static int aluminiumSpawn = 7; - public static int copperSpawn = 12; - public static int fluoriteSpawn = 6; - public static int niterSpawn = 4; - public static int tungstenSpawn = 10; - public static int leadSpawn = 6; - public static int berylliumSpawn = 6; - public static int gadgetRadius = 150; - public static int boyRadius = 120; - public static int manRadius = 175; - public static int mikeRadius = 250; - public static int tsarRadius = 500; - public static int prototypeRadius = 150; - public static int fleijaRadius = 50; - public static int missileRadius = 100; - public static int mirvRadius = 100; - public static int fatmanRadius = 35; - public static int nukaRadius = 25; - public static int aSchrabRadius = 20; - public static int radioStructure = 500; - public static int antennaStructure = 250; - public static int atomStructure = 500; - public static int vertibirdStructure = 500; - public static int dungeonStructure = 64; - public static int relayStructure = 500; - public static int satelliteStructure = 500; - public static int bunkerStructure = 1000; - public static int siloStructure = 1000; - public static int factoryStructure = 1000; - public static int dudStructure = 500; - public static int spaceshipStructure = 1000; - - public static int x; - public static int y; - public static int z; - - @EventHandler - public void PreLoad(FMLPreInitializationEvent PreEvent) - { - ModBlocks.mainRegistry(); - ModItems.mainRegistry(); - CraftingManager.mainRegistry(); - proxy.registerRenderInfo(); - HbmWorld.mainRegistry(); - GameRegistry.registerFuelHandler(new FuelHandler()); - - Library.superuser.add("192af5d7-ed0f-48d8-bd89-9d41af8524f8"); - Library.superuser.add("5aee1e3d-3767-4987-a222-e7ce1fbdf88e"); - Library.superuser.add("937c9804-e11f-4ad2-a5b1-42e62ac73077"); - Library.superuser.add("3af1c262-61c0-4b12-a4cb-424cc3a9c8c0"); - Library.superuser.add("4729b498-a81c-42fd-8acd-20d6d9f759e0"); - Library.superuser.add("c3f5e449-6d8c-4fe3-acc9-47ef50e7e7ae"); - - Library.initBooks(); - - enumArmorMaterialSchrabidium.customCraftingMaterial = ModItems.ingot_schrabidium; - enumArmorMaterialHazmat.customCraftingMaterial = ModItems.hazmat_cloth; - enumArmorMaterialT45.customCraftingMaterial = ModItems.plate_titanium; - enumArmorMaterialTitanium.customCraftingMaterial = ModItems.ingot_titanium; - enumArmorMaterialSteel.customCraftingMaterial = ModItems.ingot_steel; - enumArmorMaterialAlloy.customCraftingMaterial = ModItems.ingot_advanced_alloy; - enumArmorMaterialPaa.customCraftingMaterial = ModItems.plate_paa; - enumArmorMaterialCmb.customCraftingMaterial = ModItems.ingot_combine_steel; - enumToolMaterialSchrabidium.setRepairItem(new ItemStack(ModItems.ingot_schrabidium)); - enumToolMaterialHammer.setRepairItem(new ItemStack(Item.getItemFromBlock(ModBlocks.block_schrabidium))); - enumToolMaterialChainsaw.setRepairItem(new ItemStack(ModItems.ingot_steel)); - enumToolMaterialTitanium.setRepairItem(new ItemStack(ModItems.ingot_titanium)); - enumToolMaterialSteel.setRepairItem(new ItemStack(ModItems.ingot_steel)); - enumToolMaterialAlloy.setRepairItem(new ItemStack(ModItems.ingot_advanced_alloy)); - enumToolMaterialCmb.setRepairItem(new ItemStack(ModItems.ingot_combine_steel)); - - NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GUIHandler()); - GameRegistry.registerTileEntity(TileEntityTestBombAdvanced.class, "tilentity_testbombadvanced"); - GameRegistry.registerTileEntity(TileEntityDiFurnace.class, "tilentity_diFurnace"); - GameRegistry.registerTileEntity(TileEntityTestNuke.class, "tilentity_testnuke"); - GameRegistry.registerTileEntity(TileEntityRotationTester.class, "tilentity_rotationtester"); - GameRegistry.registerTileEntity(TileEntityTestRender.class, "tilentity_testrenderer"); - GameRegistry.registerTileEntity(TileEntityTestContainer.class, "tilentity_testcontainer"); - GameRegistry.registerTileEntity(TileEntityObjTester.class, "tilentity_objtester"); - GameRegistry.registerTileEntity(TileEntityNukeGadget.class, "tilentity_nukegadget"); - GameRegistry.registerTileEntity(TileEntityNukeBoy.class, "tilentity_nukeboy"); - GameRegistry.registerTileEntity(TileEntityMachineCentrifuge.class, "tileentity_centrifuge"); - GameRegistry.registerTileEntity(TileEntityNukeMan.class, "tileentity_nukeman"); - GameRegistry.registerTileEntity(TileEntityMachineUF6Tank.class, "tileentity_uf6_tank"); - GameRegistry.registerTileEntity(TileEntityMachinePuF6Tank.class, "tileentity_puf6_tank"); - GameRegistry.registerTileEntity(TileEntityMachineReactor.class, "tileentity_reactor"); - GameRegistry.registerTileEntity(TileEntityBombMulti.class, "tileentity_bombmulti"); - GameRegistry.registerTileEntity(TileEntityNukeMike.class, "tileentity_nukemike"); - GameRegistry.registerTileEntity(TileEntityNukeTsar.class, "tileentity_nuketsar"); - GameRegistry.registerTileEntity(TileEntityNukeFurnace.class, "tileentity_nukefurnace"); - GameRegistry.registerTileEntity(TileEntityRtgFurnace.class, "tileentity_rtgfurnace"); - GameRegistry.registerTileEntity(TileEntityMachineGenerator.class, "tileentity_generator"); - GameRegistry.registerTileEntity(TileEntityMachineElectricFurnace.class, "tileentity_electric_furnace"); - GameRegistry.registerTileEntity(TileEntityNukeFleija.class, "tileentity_nukefleija"); - GameRegistry.registerTileEntity(TileEntityDecoTapeRecorder.class, "tileentity_taperecorder"); - GameRegistry.registerTileEntity(TileEntityDecoSteelPoles.class, "tileentity_steelpoles"); - GameRegistry.registerTileEntity(TileEntityDecoPoleTop.class, "tileentity_poletop"); - GameRegistry.registerTileEntity(TileEntityDecoPoleSatelliteReceiver.class, "tileentity_satellitereceicer"); - GameRegistry.registerTileEntity(TileEntityMachineDeuterium.class, "tileentity_deuterium"); - GameRegistry.registerTileEntity(TileEntityWireCoated.class, "tileentity_wirecoated"); - GameRegistry.registerTileEntity(TileEntityMachineBattery.class, "tileentity_battery"); - GameRegistry.registerTileEntity(TileEntityMachineCoal.class, "tileentity_coal"); - GameRegistry.registerTileEntity(TileEntityNukePrototype.class, "tileentity_nukeproto"); - GameRegistry.registerTileEntity(TileEntityRedBarrel.class, "tileentity_barrel"); - GameRegistry.registerTileEntity(TileEntityYellowBarrel.class, "tileentity_nukebarrel"); - GameRegistry.registerTileEntity(TileEntityLaunchPad.class, "tileentity_launch1"); - GameRegistry.registerTileEntity(TileEntityDecoBlock.class, "tileentity_deco"); - GameRegistry.registerTileEntity(TileEntityCoreTitanium.class, "tileentity_core_titanium"); - GameRegistry.registerTileEntity(TileEntityCoreAdvanced.class, "tileentity_core_advanced"); - GameRegistry.registerTileEntity(TileEntityReactorMultiblock.class, "tileentity_reactor_multiblock"); - GameRegistry.registerTileEntity(TileEntityFusionMultiblock.class, "tileentity_fusion_multiblock"); - GameRegistry.registerTileEntity(TileEntityCrashedBomb.class, "tileentity_crashed_balefire"); - GameRegistry.registerTileEntity(TileEntityCable.class, "tileentity_cable"); - GameRegistry.registerTileEntity(TileEntityConverterHeRf.class, "tileentity_converter_herf"); - GameRegistry.registerTileEntity(TileEntityConverterRfHe.class, "tileentity_converter_rfhe"); - GameRegistry.registerTileEntity(TileEntityMachineSchrabidiumTransmutator.class, "tileentity_schrabidium_transmutator"); - GameRegistry.registerTileEntity(TileEntityMachineDiesel.class, "tileentity_diesel_generator"); - GameRegistry.registerTileEntity(TileEntityWatzCore.class, "tileentity_watz_multiblock"); - GameRegistry.registerTileEntity(TileEntityMachineShredder.class, "tileentity_machine_shredder"); - GameRegistry.registerTileEntity(TileEntityMachineCMBFactory.class, "tileentity_machine_cmb"); - GameRegistry.registerTileEntity(TileEntityFWatzCore.class, "tileentity_fwatz_multiblock"); - GameRegistry.registerTileEntity(TileEntityMachineTeleporter.class, "tileentity_teleblock"); - - EntityRegistry.registerModEntity(EntityRocket.class, "entity_rocket", 0, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityNukeExplosion.class, "entity_nuke_explosion", 1, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityNukeExplosionAdvanced.class, "entity_nuke_explosion_advanced", 2, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeGeneric.class, "entity_grenade_generic", 3, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeStrong.class, "entity_grenade_strong", 4, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeFrag.class, "entity_grenade_frag", 5, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeFire.class, "entity_grenade_fire", 6, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeCluster.class, "entity_grenade_cluster", 7, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityTestMissile.class, "entity_test_missile", 8, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityNukeCloudSmall.class, "entity_nuke_cloud_small", 9, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityBullet.class, "entity_bullet", 10, this, 250, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeFlare.class, "entity_grenade_flare", 11, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeElectric.class, "entity_grenade_electric", 12, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadePoison.class, "entity_grenade_poison", 13, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeGas.class, "entity_grenade_gas", 14, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeSchrabidium.class, "entity_grenade_schrab", 15, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeNuke.class, "entity_grenade_nuke", 16, this, 500, 1, true); - EntityRegistry.registerModEntity(EntitySchrab.class, "entity_schrabnel", 17, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityMissileGeneric.class, "entity_missile_generic", 18, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileStrong.class, "entity_missile_strong", 19, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileNuclear.class, "entity_missile_nuclear", 20, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileCluster.class, "entity_missile_cluster", 21, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileIncendiary.class, "entity_missile_incendiary", 22, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileAntiBallistic.class, "entity_missile_anti", 23, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileBunkerBuster.class, "entity_missile_buster", 24, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileIncendiaryStrong.class, "entity_missile_incendiary_strong", 25, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileClusterStrong.class, "entity_missile_cluster_strong", 26, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileBusterStrong.class, "entity_missile_buster_strong", 27, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileBurst.class, "entity_missile_burst", 28, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileInferno.class, "entity_missile_inferno", 29, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileRain.class, "entity_missile_rain", 30, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileDrill.class, "entity_missile_drill", 31, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileEndo.class, "entity_missile_endo", 32, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileExo.class, "entity_missile_exo", 33, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMissileMirv.class, "entity_missile_mirv", 34, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMIRV.class, "entity_mirvlet", 35, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMiniNuke.class, "entity_mini_nuke", 36, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntitySmokeFX.class, "entity_smoke_fx", 37, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityNukeCloudBig.class, "entity_nuke_cloud_big", 38, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeNuclear.class, "entity_grenade_nuclear", 39, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityBSmokeFX.class, "entity_b_smoke_fx", 40, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityGrenadePlasma.class, "entity_grenade_plasma", 41, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeTau.class, "entity_grenade_tau", 42, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityChopperMine.class, "entity_chopper_mine", 43, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityCombineBall.class, "entity_combine_ball", 44, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityRainbow.class, "entity_rainbow", 45, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeLemon.class, "entity_grenade_lemon", 46, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityCloudFleija.class, "entity_cloud_fleija", 47, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeMk2.class, "entity_grenade_mk2", 48, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeZOMG.class, "entity_grenade_zomg", 49, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityGrenadeASchrab.class, "entity_grenade_aschrab", 50, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityNukeCloudNoShroom.class, "entity_nuke_cloud_no", 51, this, 1000, 1, true); -<<<<<<< HEAD - EntityRegistry.registerModEntity(EntityFalloutRain.class, "entity_fallout", 52, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityDischarge.class, "entity_emp_discharge", 53, this, 500, 1, true); - EntityRegistry.registerModEntity(EntityEMPBlast.class, "entity_emp_blast", 54, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityMiniMIRV.class, "entity_mini_mirv", 55, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityBaleflare.class, "entity_bf_projectile", 56, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityFire.class, "entity_fire", 57, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityPlasmaBeam.class, "entity_immolator_beam", 58, this, 1000, 1, true); - EntityRegistry.registerModEntity(EntityLN2.class, "entity_LN2", 59, this, 1000, 1, true); - -======= -<<<<<<< HEAD - EntityRegistry.registerModEntity(EntityFalloutRain.class, "entity_fallout", 52, this, 1000, 1, true); - -======= - ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - EntityRegistry.registerGlobalEntityID(EntityNuclearCreeper.class, "entity_mob_nuclear_creeper", EntityRegistry.findGlobalUniqueEntityId(), 0x204131, 0x75CE00); - EntityRegistry.registerGlobalEntityID(EntityHunterChopper.class, "entity_mob_hunter_chopper", EntityRegistry.findGlobalUniqueEntityId(), 0x000020, 0x2D2D72); - } - - @EventHandler - public static void load(FMLInitializationEvent event) - { - OreDictionary.registerOre("ingotUranium", ModItems.ingot_uranium); - OreDictionary.registerOre("ingotUranium235", ModItems.ingot_u235); - OreDictionary.registerOre("ingotUranium238", ModItems.ingot_u238); - OreDictionary.registerOre("ingotPlutonium", ModItems.ingot_plutonium); - OreDictionary.registerOre("ingotPlutonium238", ModItems.ingot_pu238); - OreDictionary.registerOre("ingotPlutonium239", ModItems.ingot_pu239); - OreDictionary.registerOre("ingotPlutonium240", ModItems.ingot_pu240); - OreDictionary.registerOre("U235", ModItems.ingot_u235); - OreDictionary.registerOre("U238", ModItems.ingot_u238); - OreDictionary.registerOre("Pu238", ModItems.ingot_pu238); - OreDictionary.registerOre("Pu39", ModItems.ingot_pu239); - OreDictionary.registerOre("Pu240", ModItems.ingot_pu240); - OreDictionary.registerOre("ingotTitanium", ModItems.ingot_titanium); - OreDictionary.registerOre("ingotSchrabidium", ModItems.ingot_schrabidium); - OreDictionary.registerOre("dustSchrabidium", ModItems.powder_schrabidium); - OreDictionary.registerOre("dustSulfur", ModItems.sulfur); - OreDictionary.registerOre("dustNiter", ModItems.niter); - OreDictionary.registerOre("dustSalpeter", ModItems.niter); - OreDictionary.registerOre("dustLead", ModItems.powder_lead); - OreDictionary.registerOre("dustNeptunium", ModItems.powder_neptunium); - OreDictionary.registerOre("ingotCopper", ModItems.ingot_copper); - OreDictionary.registerOre("ingotRedAlloy", ModItems.ingot_red_copper); - OreDictionary.registerOre("ingotRedstoneAlloy", ModItems.ingot_red_copper); - OreDictionary.registerOre("ingotAdvanced", ModItems.ingot_advanced_alloy); - OreDictionary.registerOre("ingotAdvancedAlloy", ModItems.ingot_advanced_alloy); - OreDictionary.registerOre("ingotTungsten", ModItems.ingot_tungsten); - OreDictionary.registerOre("ingotAluminum", ModItems.ingot_aluminium); - OreDictionary.registerOre("ingotNeptunium", ModItems.ingot_neptunium); - OreDictionary.registerOre("ingotLead", ModItems.ingot_lead); - OreDictionary.registerOre("ingotLithium", ModItems.lithium); - OreDictionary.registerOre("ingotMagnetizedTungsten", ModItems.ingot_magnetized_tungsten); - OreDictionary.registerOre("ingotCMBSteel", ModItems.ingot_combine_steel); - OreDictionary.registerOre("dustFluorite", ModItems.fluorite); - OreDictionary.registerOre("nuggetLead", ModItems.nugget_lead); - OreDictionary.registerOre("nuggetUranium", ModItems.nugget_uranium); - OreDictionary.registerOre("nuggetUranium235", ModItems.nugget_u235); - OreDictionary.registerOre("nuggetUranium238", ModItems.nugget_u238); - OreDictionary.registerOre("nuggetPlutonium", ModItems.nugget_plutonium); - OreDictionary.registerOre("nuggetPlutonium238", ModItems.nugget_pu238); - OreDictionary.registerOre("nuggetPlutonium239", ModItems.nugget_pu239); - OreDictionary.registerOre("nuggetPlutonium240", ModItems.nugget_pu240); - OreDictionary.registerOre("tinyU235", ModItems.nugget_u235); - OreDictionary.registerOre("tinyU238", ModItems.nugget_u238); - OreDictionary.registerOre("tinyPu238", ModItems.nugget_pu238); - OreDictionary.registerOre("tinyPu239", ModItems.nugget_pu239); - OreDictionary.registerOre("tinyPu240", ModItems.nugget_pu240); - OreDictionary.registerOre("nuggetNeptunium", ModItems.nugget_neptunium); - OreDictionary.registerOre("nuggetSchrabidium", ModItems.nugget_schrabidium); - OreDictionary.registerOre("plateTitanium", ModItems.plate_titanium); - OreDictionary.registerOre("plateAluminum", ModItems.plate_aluminium); - OreDictionary.registerOre("plateDenseLead", ModItems.neutron_reflector); - OreDictionary.registerOre("ingotSteel", ModItems.ingot_steel); - OreDictionary.registerOre("plateSteel", ModItems.plate_steel); - OreDictionary.registerOre("plateLead", ModItems.plate_lead); - OreDictionary.registerOre("plateCopper", ModItems.plate_copper); - OreDictionary.registerOre("plateIron", ModItems.plate_iron); - OreDictionary.registerOre("plateGold", ModItems.plate_gold); - OreDictionary.registerOre("plateAdvanced", ModItems.plate_advanced_alloy); - OreDictionary.registerOre("plateSchrabidium", ModItems.plate_schrabidium); - OreDictionary.registerOre("plateCMBSteel", ModItems.plate_combine_steel); - OreDictionary.registerOre("dustIron", ModItems.powder_iron); - OreDictionary.registerOre("dustGold", ModItems.powder_gold); - OreDictionary.registerOre("dustUranium", ModItems.powder_uranium); - OreDictionary.registerOre("dustPlutonium", ModItems.powder_plutonium); - OreDictionary.registerOre("dustTitanium", ModItems.powder_titanium); - OreDictionary.registerOre("dustTungsten", ModItems.powder_tungsten); - OreDictionary.registerOre("dustCopper", ModItems.powder_copper); - OreDictionary.registerOre("dustBeryllium", ModItems.powder_beryllium); - OreDictionary.registerOre("dustAluminum", ModItems.powder_aluminium); - OreDictionary.registerOre("dustDiamond", ModItems.powder_diamond); - OreDictionary.registerOre("dustEmerald", ModItems.powder_emerald); - OreDictionary.registerOre("dustLapis", ModItems.powder_lapis); - OreDictionary.registerOre("dustCoal", ModItems.powder_coal); - OreDictionary.registerOre("dustAdvanced", ModItems.powder_advanced_alloy); - OreDictionary.registerOre("dustAdvancedAlloy", ModItems.powder_advanced_alloy); - OreDictionary.registerOre("dustCMBSteel", ModItems.powder_combine_steel); - OreDictionary.registerOre("dustMagnetizedTungsten", ModItems.powder_magnetized_tungsten); - OreDictionary.registerOre("dustRedAlloy", ModItems.powder_red_copper); - OreDictionary.registerOre("dustRedstoneAlloy", ModItems.powder_red_copper); - OreDictionary.registerOre("dustSteel", ModItems.powder_steel); - OreDictionary.registerOre("dustLithium", ModItems.powder_lithium); - OreDictionary.registerOre("dustNetherQuartz", ModItems.powder_quartz); - - OreDictionary.registerOre("gemCoal", Items.coal); - - OreDictionary.registerOre("oreUranium", ModBlocks.ore_uranium); - OreDictionary.registerOre("oreTitanium", ModBlocks.ore_titanium); - OreDictionary.registerOre("oreSchrabidium", ModBlocks.ore_schrabidium); - OreDictionary.registerOre("oreSulfur", ModBlocks.ore_sulfur); - OreDictionary.registerOre("oreNiter", ModBlocks.ore_niter); - OreDictionary.registerOre("oreSapeter", ModBlocks.ore_niter); - OreDictionary.registerOre("oreCopper", ModBlocks.ore_copper); - OreDictionary.registerOre("oreTungsten", ModBlocks.ore_tungsten); - OreDictionary.registerOre("oreAluminum", ModBlocks.ore_aluminium); - OreDictionary.registerOre("oreFluorite", ModBlocks.ore_fluorite); - OreDictionary.registerOre("oreLead", ModBlocks.ore_lead); - OreDictionary.registerOre("oreBeryllium", ModBlocks.ore_beryllium); - - OreDictionary.registerOre("oreUranium", ModBlocks.ore_nether_uranium); - OreDictionary.registerOre("orePlutonium", ModBlocks.ore_nether_plutonium); - OreDictionary.registerOre("oreTungsten", ModBlocks.ore_nether_tungsten); - OreDictionary.registerOre("oreSulfur", ModBlocks.ore_nether_sulfur); - OreDictionary.registerOre("oreSchrabidium", ModBlocks.ore_nether_schrabidium); - - OreDictionary.registerOre("blockUranium", ModBlocks.block_uranium); - OreDictionary.registerOre("blockTitanium", ModBlocks.block_titanium); - OreDictionary.registerOre("blockSulfur", ModBlocks.block_sulfur); - OreDictionary.registerOre("blockNiter", ModBlocks.block_niter); - OreDictionary.registerOre("blockSalpeter", ModBlocks.block_niter); - OreDictionary.registerOre("blockCopper", ModBlocks.block_copper); - OreDictionary.registerOre("blockRedAlloy", ModBlocks.block_red_copper); - OreDictionary.registerOre("blockRedstoneAlloy", ModBlocks.block_red_copper); - OreDictionary.registerOre("blockAdvanced", ModBlocks.block_advanced_alloy); - OreDictionary.registerOre("blockTungsten", ModBlocks.block_tungsten); - OreDictionary.registerOre("blockAluminum", ModBlocks.block_aluminium); - OreDictionary.registerOre("blockFluorite", ModBlocks.block_fluorite); - OreDictionary.registerOre("blockSteel", ModBlocks.block_steel); - OreDictionary.registerOre("blockLead", ModBlocks.block_lead); - OreDictionary.registerOre("blockBeryllium", ModBlocks.block_beryllium); - OreDictionary.registerOre("blockSchrabidium", ModBlocks.block_schrabidium); - OreDictionary.registerOre("blockCMBSteel", ModBlocks.block_combine_steel); - OreDictionary.registerOre("blockMagnetizedTungsten", ModBlocks.block_magnetized_tungsten); - } - - @EventHandler - public static void PostLoad(FMLPostInitializationEvent PostEvent) - { - ShredderRecipe recipes = new MachineRecipes().new ShredderRecipe(); - - recipes.registerEverythingImSrs(); - - recipes.addRecipes(); - - recipes.removeDuplicates(); - - recipes.overridePreSetRecipe(new ItemStack(ModItems.scrap), new ItemStack(ModItems.dust)); - recipes.overridePreSetRecipe(new ItemStack(ModItems.dust), new ItemStack(ModItems.dust)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.glowstone), new ItemStack(Items.glowstone_dust, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_block, 1, 0), new ItemStack(ModItems.powder_quartz, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_block, 1, 1), new ItemStack(ModItems.powder_quartz, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_block, 1, 2), new ItemStack(ModItems.powder_quartz, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_stairs), new ItemStack(ModItems.powder_quartz, 3)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stone_slab, 1, 7), new ItemStack(ModItems.powder_quartz, 2)); - recipes.overridePreSetRecipe(new ItemStack(Items.quartz), new ItemStack(ModItems.powder_quartz)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_ore), new ItemStack(ModItems.powder_quartz, 2)); - recipes.overridePreSetRecipe(new ItemStack(ModBlocks.ore_nether_fire), new ItemStack(ModItems.powder_fire, 6)); -<<<<<<< HEAD -======= -<<<<<<< HEAD ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - recipes.overridePreSetRecipe(new ItemStack(ModBlocks.brick_light), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(ModBlocks.brick_concrete), new ItemStack(Blocks.gravel, 1)); - recipes.overridePreSetRecipe(new ItemStack(ModBlocks.brick_obsidian), new ItemStack(ModBlocks.gravel_obsidian, 1)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.obsidian), new ItemStack(ModBlocks.gravel_obsidian, 1)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stone), new ItemStack(Blocks.gravel, 1)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.cobblestone), new ItemStack(Blocks.gravel, 1)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stonebrick), new ItemStack(Blocks.gravel, 1)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.brick_block), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.brick_stairs), new ItemStack(Items.clay_ball, 3)); - recipes.overridePreSetRecipe(new ItemStack(Items.flower_pot), new ItemStack(Items.clay_ball, 3)); - recipes.overridePreSetRecipe(new ItemStack(Items.brick), new ItemStack(Items.clay_ball, 1)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.sandstone), new ItemStack(Blocks.sand, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.sandstone_stairs), new ItemStack(Blocks.sand, 6)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.clay), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.hardened_clay), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 0), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 1), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 2), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 3), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 4), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 5), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 6), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 7), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 8), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 9), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 10), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 11), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 12), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 13), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 14), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 15), new ItemStack(Items.clay_ball, 4)); - recipes.overridePreSetRecipe(new ItemStack(Blocks.tnt), new ItemStack(Items.gunpowder, 5)); -<<<<<<< HEAD -======= -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - recipes.PrintRecipes(); - } - - @EventHandler - public void preInit(FMLPreInitializationEvent event) - { - FMLCommonHandler.instance().bus().register(new ModEventHandler()); - MinecraftForge.EVENT_BUS.register(new ModEventHandler()); - MinecraftForge.TERRAIN_GEN_BUS.register(new ModEventHandler()); - MinecraftForge.ORE_GEN_BUS.register(new ModEventHandler()); - - Configuration config = new Configuration(event.getSuggestedConfigurationFile()); - config.load(); - enableDebugMode = config.get(Configuration.CATEGORY_GENERAL, "1.0_enableDebugMode", false).getBoolean(false); - enableMycelium = config.get(Configuration.CATEGORY_GENERAL, "1.1_enableMyceliumSpread", false).getBoolean(false); - enablePlutoniumOre = config.get(Configuration.CATEGORY_GENERAL, "1.2_enablePlutoniumNetherOre", false).getBoolean(false); - enableDungeons = config.get(Configuration.CATEGORY_GENERAL, "1.3_enableDungeonSpawn", true).getBoolean(true); - enableMDOres = config.get(Configuration.CATEGORY_GENERAL, "1.4_enableOresInModdedDimensions", true).getBoolean(true); - enableBarrels = config.get(Configuration.CATEGORY_GENERAL, "1.5_enableNuclearBarrelSpawn", false).getBoolean(false); - enableNITAN = config.get(Configuration.CATEGORY_GENERAL, "1.6_enableNITANChestSpawn", true).getBoolean(true); - enableNukeClouds = config.get(Configuration.CATEGORY_GENERAL, "1.7_enableMushroomClouds", true).getBoolean(true); - - Property PuraniumSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.0_uraniumSpawnrate", 7); - PuraniumSpawn.comment = "Ammount of uranium ore veins per chunk"; - uraniumSpawn = PuraniumSpawn.getInt(); - Property PtitaniumSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.1_titaniumSpawnrate", 8); - PtitaniumSpawn.comment = "Ammount of titanium ore veins per chunk"; - titaniumSpawn = PtitaniumSpawn.getInt(); - Property PsulfurSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.2_sulfurSpawnrate", 5); - PsulfurSpawn.comment = "Ammount of sulfur ore veins per chunk"; - sulfurSpawn = PsulfurSpawn.getInt(); - Property PaluminiumSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.3_aluminiumSpawnrate", 7); - PaluminiumSpawn.comment = "Ammount of aluminium ore veins per chunk"; - aluminiumSpawn = PaluminiumSpawn.getInt(); - Property PcopperSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.4_copperSpawnrate", 12); - PcopperSpawn.comment = "Ammount of copper ore veins per chunk"; - copperSpawn = PcopperSpawn.getInt(); - Property PFluoriteSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.5_fluoriteSpawnrate", 6); - PFluoriteSpawn.comment = "Ammount of fluorite ore veins per chunk"; - fluoriteSpawn = PFluoriteSpawn.getInt(); - Property PNiterSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.6_niterSpawnrate", 4); - PNiterSpawn.comment = "Ammount of niter ore veins per chunk"; - niterSpawn = PNiterSpawn.getInt(); - Property PtungstenSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.7_tungstenSpawnrate", 10); - PtungstenSpawn.comment = "Ammount of tungsten ore veins per chunk"; - tungstenSpawn = PtungstenSpawn.getInt(); - Property PleadSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.8_leadSpawnrate", 6); - PleadSpawn.comment = "Ammount of lead ore veins per chunk"; - leadSpawn = PleadSpawn.getInt(); - Property PberylliumSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.9_berylliumSpawnrate", 6); - PberylliumSpawn.comment = "Ammount of beryllium ore veins per chunk"; - berylliumSpawn = PberylliumSpawn.getInt(); - - Property propGadget = config.get(Configuration.CATEGORY_GENERAL, "3.0_gadgetRadius", 150); - propGadget.comment = "Radius of the Gadget"; - gadgetRadius = propGadget.getInt(); - Property propBoy = config.get(Configuration.CATEGORY_GENERAL, "3.1_boyRadius", 120); - propBoy.comment = "Radius of Little Boy"; - boyRadius = propBoy.getInt(); - Property propMan = config.get(Configuration.CATEGORY_GENERAL, "3.2_manRadius", 175); - propMan.comment = "Radius of Fat Man"; - manRadius = propMan.getInt(); - Property propMike = config.get(Configuration.CATEGORY_GENERAL, "3.3_mikeRadius", 250); - propMike.comment = "Radius of Ivy Mike"; - mikeRadius = propMike.getInt(); - Property propTsar = config.get(Configuration.CATEGORY_GENERAL, "3.4_tsarRadius", 500); - propTsar.comment = "Radius of the Tsar Bomba"; - tsarRadius = propTsar.getInt(); - Property propPrototype = config.get(Configuration.CATEGORY_GENERAL, "3.5_prototypeRadius", 150); - propPrototype.comment = "Radius of the Prototype"; - prototypeRadius = propPrototype.getInt(); - Property propFleija = config.get(Configuration.CATEGORY_GENERAL, "3.6_fleijaRadius", 50); - propFleija.comment = "Radius of F.L.E.I.J.A."; - fleijaRadius = propFleija.getInt(); - Property propMissile = config.get(Configuration.CATEGORY_GENERAL, "3.7_missileRadius", 100); - propMissile.comment = "Radius of the nuclear missile"; - missileRadius = propMissile.getInt(); - Property propMirv = config.get(Configuration.CATEGORY_GENERAL, "3.8_mirvRadius", 100); - propMirv.comment = "Radius of a MIRV"; - mirvRadius = propMirv.getInt(); - Property propFatman = config.get(Configuration.CATEGORY_GENERAL, "3.9_fatmanRadius", 35); - propFatman.comment = "Radius of the Fatman Launcher"; - fatmanRadius = propFatman.getInt(); - Property propNuka = config.get(Configuration.CATEGORY_GENERAL, "3.91_nukaRadius", 25); - propNuka.comment = "Radius of the nuka grenade"; - nukaRadius = propNuka.getInt(); - Property propASchrab = config.get(Configuration.CATEGORY_GENERAL, "3.92_aSchrabRadius", 20); - propASchrab.comment = "Radius of dropped anti schrabidium"; - aSchrabRadius = propASchrab.getInt(); - - Property propRadio = config.get(Configuration.CATEGORY_GENERAL, "4.0_radioSpawn", 500); - propRadio.comment = "Spawn radio station on every nTH chunk"; - radioStructure = propRadio.getInt(); - Property propAntenna = config.get(Configuration.CATEGORY_GENERAL, "4.1_antennaSpawn", 250); - propAntenna.comment = "Spawn antenna on every nTH chunk"; - antennaStructure = propAntenna.getInt(); - Property propAtom = config.get(Configuration.CATEGORY_GENERAL, "4.2_atomSpawn", 500); - propAtom.comment = "Spawn power plant on every nTH chunk"; - atomStructure = propAtom.getInt(); - Property propVertibird = config.get(Configuration.CATEGORY_GENERAL, "4.3_vertibirdSpawn", 500); - propVertibird.comment = "Spawn vertibird on every nTH chunk"; - vertibirdStructure = propVertibird.getInt(); - Property propDungeon = config.get(Configuration.CATEGORY_GENERAL, "4.4_dungeonSpawn", 64); - propDungeon.comment = "Spawn library dungeon on every nTH chunk"; - dungeonStructure = propDungeon.getInt(); - Property propRelay = config.get(Configuration.CATEGORY_GENERAL, "4.5_relaySpawn", 500); - propRelay.comment = "Spawn relay on every nTH chunk"; - relayStructure = propRelay.getInt(); - Property propSatellite = config.get(Configuration.CATEGORY_GENERAL, "4.6_satelliteSpawn", 500); - propSatellite.comment = "Spawn satellite dish on every nTH chunk"; - satelliteStructure = propSatellite.getInt(); - Property propBunker = config.get(Configuration.CATEGORY_GENERAL, "4.7_bunkerSpawn", 1000); - propBunker.comment = "Spawn bunker on every nTH chunk"; - bunkerStructure = propBunker.getInt(); - Property propSilo = config.get(Configuration.CATEGORY_GENERAL, "4.8_siloSpawn", 1000); - propSilo.comment = "Spawn missile silo on every nTH chunk"; - siloStructure = propSilo.getInt(); - Property propFactory = config.get(Configuration.CATEGORY_GENERAL, "4.9_factorySpawn", 1000); - propFactory.comment = "Spawn factory on every nTH chunk"; - factoryStructure = propFactory.getInt(); - Property propDud = config.get(Configuration.CATEGORY_GENERAL, "4.91_dudSpawn", 500); - propDud.comment = "Spawn dud on every nTH chunk"; - dudStructure = propDud.getInt(); - Property propSpaceship = config.get(Configuration.CATEGORY_GENERAL, "4.92_spaceshipSpawn", 1000); - propSpaceship.comment = "Spawn spaceship on every nTH chunk"; - spaceshipStructure = propSpaceship.getInt(); - - config.save(); - } -} +package com.hbm.main; + +import net.minecraft.block.Block; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.Item; +import net.minecraft.item.Item.ToolMaterial; +import net.minecraft.item.ItemArmor.ArmorMaterial; +import net.minecraft.item.ItemStack; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.common.config.Configuration; +import net.minecraftforge.common.config.Property; +import net.minecraftforge.common.util.EnumHelper; +import net.minecraftforge.oredict.OreDictionary; +import cpw.mods.fml.common.FMLCommonHandler; +import cpw.mods.fml.common.Mod; +import cpw.mods.fml.common.Mod.EventHandler; +import cpw.mods.fml.common.Mod.Instance; +import cpw.mods.fml.common.Mod.Metadata; +import cpw.mods.fml.common.ModMetadata; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.creativetabs.BlockTab; +import com.hbm.creativetabs.NukeTab; +import com.hbm.creativetabs.PartsTab; +import com.hbm.creativetabs.TestTab; +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.effect.EntityEMPBlast; +import com.hbm.entity.effect.EntityFalloutRain; +import com.hbm.entity.effect.EntityNukeCloudBig; +import com.hbm.entity.effect.EntityNukeCloudNoShroom; +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.grenade.EntityGrenadeASchrab; +import com.hbm.entity.grenade.EntityGrenadeCluster; +import com.hbm.entity.grenade.EntityGrenadeElectric; +import com.hbm.entity.grenade.EntityGrenadeFire; +import com.hbm.entity.grenade.EntityGrenadeFlare; +import com.hbm.entity.grenade.EntityGrenadeFrag; +import com.hbm.entity.grenade.EntityGrenadeGas; +import com.hbm.entity.grenade.EntityGrenadeGeneric; +import com.hbm.entity.grenade.EntityGrenadeLemon; +import com.hbm.entity.grenade.EntityGrenadeMk2; +import com.hbm.entity.grenade.EntityGrenadeNuclear; +import com.hbm.entity.grenade.EntityGrenadeNuke; +import com.hbm.entity.grenade.EntityGrenadePlasma; +import com.hbm.entity.grenade.EntityGrenadePoison; +import com.hbm.entity.grenade.EntityGrenadePulse; +import com.hbm.entity.grenade.EntityGrenadeSchrabidium; +import com.hbm.entity.grenade.EntityGrenadeShrapnel; +import com.hbm.entity.grenade.EntityGrenadeStrong; +import com.hbm.entity.grenade.EntityGrenadeTau; +import com.hbm.entity.grenade.EntityGrenadeZOMG; +import com.hbm.entity.logic.EntityNukeExplosion; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.entity.logic.EntityNukeExplosionPlus; +import com.hbm.entity.missile.EntityMIRV; +import com.hbm.entity.missile.EntityMissileAntiBallistic; +import com.hbm.entity.missile.EntityMissileBunkerBuster; +import com.hbm.entity.missile.EntityMissileBurst; +import com.hbm.entity.missile.EntityMissileBusterStrong; +import com.hbm.entity.missile.EntityMissileCluster; +import com.hbm.entity.missile.EntityMissileClusterStrong; +import com.hbm.entity.missile.EntityMissileDrill; +import com.hbm.entity.missile.EntityMissileEndo; +import com.hbm.entity.missile.EntityMissileExo; +import com.hbm.entity.missile.EntityMissileGeneric; +import com.hbm.entity.missile.EntityMissileIncendiary; +import com.hbm.entity.missile.EntityMissileIncendiaryStrong; +import com.hbm.entity.missile.EntityMissileInferno; +import com.hbm.entity.missile.EntityMissileMirv; +import com.hbm.entity.missile.EntityMissileNuclear; +import com.hbm.entity.missile.EntityMissileRain; +import com.hbm.entity.missile.EntityMissileStrong; +import com.hbm.entity.missile.EntityTestMissile; +import com.hbm.entity.mob.EntityHunterChopper; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.entity.particle.EntityBSmokeFX; +import com.hbm.entity.particle.EntityDSmokeFX; +import com.hbm.entity.particle.EntitySSmokeFX; +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.entity.projectile.EntityBaleflare; +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityChopperMine; +import com.hbm.entity.projectile.EntityCombineBall; +import com.hbm.entity.projectile.EntityDischarge; +import com.hbm.entity.projectile.EntityFire; +import com.hbm.entity.projectile.EntityLN2; +import com.hbm.entity.projectile.EntityLaserBeam; +import com.hbm.entity.projectile.EntityMinerBeam; +import com.hbm.entity.projectile.EntityMiniMIRV; +import com.hbm.entity.projectile.EntityMiniNuke; +import com.hbm.entity.projectile.EntityNightmareBlast; +import com.hbm.entity.projectile.EntityPlasmaBeam; +import com.hbm.entity.projectile.EntityRainbow; +import com.hbm.entity.projectile.EntityRocket; +import com.hbm.entity.projectile.EntityRubble; +import com.hbm.entity.projectile.EntitySchrab; +import com.hbm.entity.projectile.EntityShrapnel; +import com.hbm.gui.MachineRecipes; +import com.hbm.gui.MachineRecipes.ShredderRecipe; +import com.hbm.handler.FuelHandler; +import com.hbm.handler.GUIHandler; +import com.hbm.items.ModItems; +import com.hbm.lib.HbmWorld; +import com.hbm.lib.Library; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityBombMulti; +import com.hbm.tileentity.TileEntityCable; +import com.hbm.tileentity.TileEntityConverterHeRf; +import com.hbm.tileentity.TileEntityConverterRfHe; +import com.hbm.tileentity.TileEntityCoreAdvanced; +import com.hbm.tileentity.TileEntityCoreTitanium; +import com.hbm.tileentity.TileEntityCrashedBomb; +import com.hbm.tileentity.TileEntityDecoBlock; +import com.hbm.tileentity.TileEntityDecoPoleSatelliteReceiver; +import com.hbm.tileentity.TileEntityDecoPoleTop; +import com.hbm.tileentity.TileEntityDecoSteelPoles; +import com.hbm.tileentity.TileEntityDecoTapeRecorder; +import com.hbm.tileentity.TileEntityDiFurnace; +import com.hbm.tileentity.TileEntityDummy; +import com.hbm.tileentity.TileEntityFWatzCore; +import com.hbm.tileentity.TileEntityFusionMultiblock; +import com.hbm.tileentity.TileEntityHatch; +import com.hbm.tileentity.TileEntityIGenerator; +import com.hbm.tileentity.TileEntityLaunchPad; +import com.hbm.tileentity.TileEntityMachineBattery; +import com.hbm.tileentity.TileEntityMachineCMBFactory; +import com.hbm.tileentity.TileEntityMachineCentrifuge; +import com.hbm.tileentity.TileEntityMachineCoal; +import com.hbm.tileentity.TileEntityMachineDeuterium; +import com.hbm.tileentity.TileEntityMachineDiesel; +import com.hbm.tileentity.TileEntityMachineElectricFurnace; +import com.hbm.tileentity.TileEntityMachineGenerator; +import com.hbm.tileentity.TileEntityMachinePuF6Tank; +import com.hbm.tileentity.TileEntityMachineReactor; +import com.hbm.tileentity.TileEntityMachineSchrabidiumTransmutator; +import com.hbm.tileentity.TileEntityMachineShredder; +import com.hbm.tileentity.TileEntityMachineTeleporter; +import com.hbm.tileentity.TileEntityMachineUF6Tank; +import com.hbm.tileentity.TileEntityNukeBoy; +import com.hbm.tileentity.TileEntityNukeCustom; +import com.hbm.tileentity.TileEntityNukeFleija; +import com.hbm.tileentity.TileEntityNukeFurnace; +import com.hbm.tileentity.TileEntityNukeGadget; +import com.hbm.tileentity.TileEntityNukeMan; +import com.hbm.tileentity.TileEntityNukeMike; +import com.hbm.tileentity.TileEntityNukePrototype; +import com.hbm.tileentity.TileEntityNukeTsar; +import com.hbm.tileentity.TileEntityObjTester; +import com.hbm.tileentity.TileEntityReactorMultiblock; +import com.hbm.tileentity.TileEntityRedBarrel; +import com.hbm.tileentity.TileEntityRotationTester; +import com.hbm.tileentity.TileEntityRtgFurnace; +import com.hbm.tileentity.TileEntityTestBombAdvanced; +import com.hbm.tileentity.TileEntityTestContainer; +import com.hbm.tileentity.TileEntityTestNuke; +import com.hbm.tileentity.TileEntityTestRender; +import com.hbm.tileentity.TileEntityWatzCore; +import com.hbm.tileentity.TileEntityWireCoated; +import com.hbm.tileentity.TileEntityYellowBarrel; + +import cpw.mods.fml.common.SidedProxy; +import cpw.mods.fml.common.event.FMLInitializationEvent; +import cpw.mods.fml.common.event.FMLPostInitializationEvent; +import cpw.mods.fml.common.event.FMLPreInitializationEvent; +import cpw.mods.fml.common.network.NetworkRegistry; +import cpw.mods.fml.common.registry.EntityRegistry; +import cpw.mods.fml.common.registry.GameData; +import cpw.mods.fml.common.registry.GameRegistry; + +@Mod(modid = RefStrings.MODID, name = RefStrings.NAME, version = RefStrings.VERSION) +public class MainRegistry +{ + @Instance(RefStrings.MODID) + public static MainRegistry instance; + + @SidedProxy(clientSide = RefStrings.CLIENTSIDE, serverSide = RefStrings.SERVERSIDE) + public static ServerProxy proxy; + + @Metadata + public static ModMetadata meta; + + //Tool Materials + public static ToolMaterial enumToolMaterialSchrabidium = EnumHelper.addToolMaterial("SCHRABIDIUM", 3, 10000, 50.0F, 100.0F, 200); + public static ToolMaterial enumToolMaterialHammer = EnumHelper.addToolMaterial("SCHRABIDIUMHAMMER", 3, 0, 50.0F, 999999996F, 200); + public static ToolMaterial enumToolMaterialChainsaw = EnumHelper.addToolMaterial("CHAINSAW", 3, 5000, 50.0F, 47.0F, 0); + public static ToolMaterial enumToolMaterialSteel = EnumHelper.addToolMaterial("STEEL", 2, 500, 7.5F, 2.0F, 10); + public static ToolMaterial enumToolMaterialTitanium = EnumHelper.addToolMaterial("TITANIUM", 3, 750, 9.0F, 2.5F, 15); + public static ToolMaterial enumToolMaterialAlloy= EnumHelper.addToolMaterial("ALLOY", 3, 2000, 15.0F, 5.0F, 5); + public static ToolMaterial enumToolMaterialCmb = EnumHelper.addToolMaterial("CMB", 3, 8500, 40.0F, 55F, 100); + + public static ToolMaterial enumToolMaterialSaw = EnumHelper.addToolMaterial("SAW", 2, 750, 2.0F, 3.5F, 25); + public static ToolMaterial enumToolMaterialBat = EnumHelper.addToolMaterial("BAT", 0, 500, 1.5F, 3F, 25); + public static ToolMaterial enumToolMaterialBatNail = EnumHelper.addToolMaterial("BATNAIL", 0, 450, 1.0F, 4F, 25); + public static ToolMaterial enumToolMaterialGolfClub = EnumHelper.addToolMaterial("GOLFCLUB", 1, 1000, 2.0F, 5F, 25); + public static ToolMaterial enumToolMaterialPipeRusty = EnumHelper.addToolMaterial("PIPERUSTY", 1, 350, 1.5F, 4.5F, 25); + public static ToolMaterial enumToolMaterialPipeLead = EnumHelper.addToolMaterial("PIPELEAD", 1, 250, 1.5F, 5.5F, 25); + + public static ToolMaterial enumToolMaterialMultitool = EnumHelper.addToolMaterial("MULTITOOL", 3, 5000, 25F, 5.5F, 25); + + //Armor Materials + public static ArmorMaterial enumArmorMaterialEmerald = EnumHelper.addArmorMaterial("TEST", 2500, new int[] {3, 8, 6, 3}, 30); + public static ArmorMaterial enumArmorMaterialSchrabidium = EnumHelper.addArmorMaterial("SCHRABIDIUM", 100, new int[] {3, 8, 6, 3}, 50); + public static ArmorMaterial enumArmorMaterialEuphemium = EnumHelper.addArmorMaterial("EUPHEMIUM", 2147483647, new int[] {3, 8, 6, 3}, 100); + public static ArmorMaterial enumArmorMaterialHazmat = EnumHelper.addArmorMaterial("HAZMAT", 60, new int[] {2, 5, 4, 1}, 5); + public static ArmorMaterial enumArmorMaterialT45 = EnumHelper.addArmorMaterial("T45", 1000, new int[] {2, 5, 4, 1}, 0); + public static ArmorMaterial enumArmorMaterialSteel = EnumHelper.addArmorMaterial("STEEL", 20, new int[] {2, 6, 5, 2}, 5); + public static ArmorMaterial enumArmorMaterialTitanium = EnumHelper.addArmorMaterial("TITANIUM", 25, new int[] {3, 8, 6, 3}, 9); + public static ArmorMaterial enumArmorMaterialAlloy = EnumHelper.addArmorMaterial("ALLOY", 40, new int[] {3, 8, 6, 3}, 12); + public static ArmorMaterial enumArmorMaterialPaa = EnumHelper.addArmorMaterial("PAA", 75, new int[] {3, 8, 6, 3}, 25); + public static ArmorMaterial enumArmorMaterialCmb = EnumHelper.addArmorMaterial("CMB", 60, new int[] {3, 8, 6, 3}, 50); + public static ArmorMaterial enumArmorMaterialAusIII = EnumHelper.addArmorMaterial("AUSIII", 375, new int[] {2, 6, 5, 2}, 0); + public static ArmorMaterial enumArmorMaterialAusIV = EnumHelper.addArmorMaterial("AUSIV", 375, new int[] {2, 6, 5, 2}, 0); + public static ArmorMaterial enumArmorMaterialAusV = EnumHelper.addArmorMaterial("AUSV", 375, new int[] {2, 6, 5, 2}, 0); + + //Creative Tabs + public static CreativeTabs tabTest = new TestTab(CreativeTabs.getNextID(), "tabTest"); + public static CreativeTabs tabParts = new PartsTab(CreativeTabs.getNextID(), "tabParts"); + public static CreativeTabs tabBlock = new BlockTab(CreativeTabs.getNextID(), "tabBlocks"); + public static CreativeTabs tabNuke = new NukeTab(CreativeTabs.getNextID(), "tabNuke"); + + public static boolean enableDebugMode = true; + public static boolean enableMycelium = false; + public static boolean enablePlutoniumOre = false; + public static boolean enableDungeons = true; + public static boolean enableMDOres = true; + public static boolean enableBarrels = false; + public static boolean enableNITAN = true; + public static boolean enableNukeClouds = true; + public static int uraniumSpawn = 7; + public static int titaniumSpawn = 8; + public static int sulfurSpawn = 5; + public static int aluminiumSpawn = 7; + public static int copperSpawn = 12; + public static int fluoriteSpawn = 6; + public static int niterSpawn = 4; + public static int tungstenSpawn = 10; + public static int leadSpawn = 6; + public static int berylliumSpawn = 6; + public static int gadgetRadius = 150; + public static int boyRadius = 120; + public static int manRadius = 175; + public static int mikeRadius = 250; + public static int tsarRadius = 500; + public static int prototypeRadius = 150; + public static int fleijaRadius = 50; + public static int missileRadius = 100; + public static int mirvRadius = 100; + public static int fatmanRadius = 35; + public static int nukaRadius = 25; + public static int aSchrabRadius = 20; + public static int radioStructure = 500; + public static int antennaStructure = 250; + public static int atomStructure = 500; + public static int vertibirdStructure = 500; + public static int dungeonStructure = 64; + public static int relayStructure = 500; + public static int satelliteStructure = 500; + public static int bunkerStructure = 1000; + public static int siloStructure = 1000; + public static int factoryStructure = 1000; + public static int dudStructure = 500; + public static int spaceshipStructure = 1000; + + public static int polaroidID = 1; + + public static int x; + public static int y; + public static int z; + + Random rand = new Random(); + + @EventHandler + public void PreLoad(FMLPreInitializationEvent PreEvent) + { + //Reroll Polaroid + polaroidID = rand.nextInt(16) + 1; + while(polaroidID == 4 || polaroidID == 9) + polaroidID = rand.nextInt(16) + 1; + + ModBlocks.mainRegistry(); + ModItems.mainRegistry(); + CraftingManager.mainRegistry(); + proxy.registerRenderInfo(); + HbmWorld.mainRegistry(); + GameRegistry.registerFuelHandler(new FuelHandler()); + + Library.superuser.add("192af5d7-ed0f-48d8-bd89-9d41af8524f8"); + Library.superuser.add("5aee1e3d-3767-4987-a222-e7ce1fbdf88e"); + Library.superuser.add("937c9804-e11f-4ad2-a5b1-42e62ac73077"); + Library.superuser.add("3af1c262-61c0-4b12-a4cb-424cc3a9c8c0"); + Library.superuser.add("4729b498-a81c-42fd-8acd-20d6d9f759e0"); + Library.superuser.add("c3f5e449-6d8c-4fe3-acc9-47ef50e7e7ae"); + + Library.initBooks(); + + enumArmorMaterialSchrabidium.customCraftingMaterial = ModItems.ingot_schrabidium; + enumArmorMaterialHazmat.customCraftingMaterial = ModItems.hazmat_cloth; + enumArmorMaterialT45.customCraftingMaterial = ModItems.plate_titanium; + enumArmorMaterialTitanium.customCraftingMaterial = ModItems.ingot_titanium; + enumArmorMaterialSteel.customCraftingMaterial = ModItems.ingot_steel; + enumArmorMaterialAlloy.customCraftingMaterial = ModItems.ingot_advanced_alloy; + enumArmorMaterialPaa.customCraftingMaterial = ModItems.plate_paa; + enumArmorMaterialCmb.customCraftingMaterial = ModItems.ingot_combine_steel; + enumArmorMaterialAusIII.customCraftingMaterial = ModItems.ingot_australium; + enumArmorMaterialAusIV.customCraftingMaterial = ModItems.rod_australium; + enumArmorMaterialAusV.customCraftingMaterial = ModItems.nugget_australium; + enumToolMaterialSchrabidium.setRepairItem(new ItemStack(ModItems.ingot_schrabidium)); + enumToolMaterialHammer.setRepairItem(new ItemStack(Item.getItemFromBlock(ModBlocks.block_schrabidium))); + enumToolMaterialChainsaw.setRepairItem(new ItemStack(ModItems.ingot_steel)); + enumToolMaterialTitanium.setRepairItem(new ItemStack(ModItems.ingot_titanium)); + enumToolMaterialSteel.setRepairItem(new ItemStack(ModItems.ingot_steel)); + enumToolMaterialAlloy.setRepairItem(new ItemStack(ModItems.ingot_advanced_alloy)); + enumToolMaterialCmb.setRepairItem(new ItemStack(ModItems.ingot_combine_steel)); + + NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GUIHandler()); + GameRegistry.registerTileEntity(TileEntityTestBombAdvanced.class, "tilentity_testbombadvanced"); + GameRegistry.registerTileEntity(TileEntityDiFurnace.class, "tilentity_diFurnace"); + GameRegistry.registerTileEntity(TileEntityTestNuke.class, "tilentity_testnuke"); + GameRegistry.registerTileEntity(TileEntityRotationTester.class, "tilentity_rotationtester"); + GameRegistry.registerTileEntity(TileEntityTestRender.class, "tilentity_testrenderer"); + GameRegistry.registerTileEntity(TileEntityTestContainer.class, "tilentity_testcontainer"); + GameRegistry.registerTileEntity(TileEntityObjTester.class, "tilentity_objtester"); + GameRegistry.registerTileEntity(TileEntityNukeGadget.class, "tilentity_nukegadget"); + GameRegistry.registerTileEntity(TileEntityNukeBoy.class, "tilentity_nukeboy"); + GameRegistry.registerTileEntity(TileEntityMachineCentrifuge.class, "tileentity_centrifuge"); + GameRegistry.registerTileEntity(TileEntityNukeMan.class, "tileentity_nukeman"); + GameRegistry.registerTileEntity(TileEntityMachineUF6Tank.class, "tileentity_uf6_tank"); + GameRegistry.registerTileEntity(TileEntityMachinePuF6Tank.class, "tileentity_puf6_tank"); + GameRegistry.registerTileEntity(TileEntityMachineReactor.class, "tileentity_reactor"); + GameRegistry.registerTileEntity(TileEntityBombMulti.class, "tileentity_bombmulti"); + GameRegistry.registerTileEntity(TileEntityNukeMike.class, "tileentity_nukemike"); + GameRegistry.registerTileEntity(TileEntityNukeTsar.class, "tileentity_nuketsar"); + GameRegistry.registerTileEntity(TileEntityNukeFurnace.class, "tileentity_nukefurnace"); + GameRegistry.registerTileEntity(TileEntityRtgFurnace.class, "tileentity_rtgfurnace"); + GameRegistry.registerTileEntity(TileEntityMachineGenerator.class, "tileentity_generator"); + GameRegistry.registerTileEntity(TileEntityMachineElectricFurnace.class, "tileentity_electric_furnace"); + GameRegistry.registerTileEntity(TileEntityNukeFleija.class, "tileentity_nukefleija"); + GameRegistry.registerTileEntity(TileEntityDecoTapeRecorder.class, "tileentity_taperecorder"); + GameRegistry.registerTileEntity(TileEntityDecoSteelPoles.class, "tileentity_steelpoles"); + GameRegistry.registerTileEntity(TileEntityDecoPoleTop.class, "tileentity_poletop"); + GameRegistry.registerTileEntity(TileEntityDecoPoleSatelliteReceiver.class, "tileentity_satellitereceicer"); + GameRegistry.registerTileEntity(TileEntityMachineDeuterium.class, "tileentity_deuterium"); + GameRegistry.registerTileEntity(TileEntityWireCoated.class, "tileentity_wirecoated"); + GameRegistry.registerTileEntity(TileEntityMachineBattery.class, "tileentity_battery"); + GameRegistry.registerTileEntity(TileEntityMachineCoal.class, "tileentity_coal"); + GameRegistry.registerTileEntity(TileEntityNukePrototype.class, "tileentity_nukeproto"); + GameRegistry.registerTileEntity(TileEntityRedBarrel.class, "tileentity_barrel"); + GameRegistry.registerTileEntity(TileEntityYellowBarrel.class, "tileentity_nukebarrel"); + GameRegistry.registerTileEntity(TileEntityLaunchPad.class, "tileentity_launch1"); + GameRegistry.registerTileEntity(TileEntityDecoBlock.class, "tileentity_deco"); + GameRegistry.registerTileEntity(TileEntityCoreTitanium.class, "tileentity_core_titanium"); + GameRegistry.registerTileEntity(TileEntityCoreAdvanced.class, "tileentity_core_advanced"); + GameRegistry.registerTileEntity(TileEntityReactorMultiblock.class, "tileentity_reactor_multiblock"); + GameRegistry.registerTileEntity(TileEntityFusionMultiblock.class, "tileentity_fusion_multiblock"); + GameRegistry.registerTileEntity(TileEntityCrashedBomb.class, "tileentity_crashed_balefire"); + GameRegistry.registerTileEntity(TileEntityCable.class, "tileentity_cable"); + GameRegistry.registerTileEntity(TileEntityConverterHeRf.class, "tileentity_converter_herf"); + GameRegistry.registerTileEntity(TileEntityConverterRfHe.class, "tileentity_converter_rfhe"); + GameRegistry.registerTileEntity(TileEntityMachineSchrabidiumTransmutator.class, "tileentity_schrabidium_transmutator"); + GameRegistry.registerTileEntity(TileEntityMachineDiesel.class, "tileentity_diesel_generator"); + GameRegistry.registerTileEntity(TileEntityWatzCore.class, "tileentity_watz_multiblock"); + GameRegistry.registerTileEntity(TileEntityMachineShredder.class, "tileentity_machine_shredder"); + GameRegistry.registerTileEntity(TileEntityMachineCMBFactory.class, "tileentity_machine_cmb"); + GameRegistry.registerTileEntity(TileEntityFWatzCore.class, "tileentity_fwatz_multiblock"); + GameRegistry.registerTileEntity(TileEntityMachineTeleporter.class, "tileentity_teleblock"); + GameRegistry.registerTileEntity(TileEntityNukeCustom.class, "tileentity_nuke_custom"); + GameRegistry.registerTileEntity(TileEntityHatch.class, "tileentity_seal_lid"); + GameRegistry.registerTileEntity(TileEntityIGenerator.class, "tileentity_igenerator"); + GameRegistry.registerTileEntity(TileEntityDummy.class, "tileentity_dummy"); + + EntityRegistry.registerModEntity(EntityRocket.class, "entity_rocket", 0, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityNukeExplosion.class, "entity_nuke_explosion", 1, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityNukeExplosionAdvanced.class, "entity_nuke_explosion_advanced", 2, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeGeneric.class, "entity_grenade_generic", 3, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeStrong.class, "entity_grenade_strong", 4, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeFrag.class, "entity_grenade_frag", 5, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeFire.class, "entity_grenade_fire", 6, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeCluster.class, "entity_grenade_cluster", 7, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityTestMissile.class, "entity_test_missile", 8, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityNukeCloudSmall.class, "entity_nuke_cloud_small", 9, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityBullet.class, "entity_bullet", 10, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeFlare.class, "entity_grenade_flare", 11, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeElectric.class, "entity_grenade_electric", 12, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadePoison.class, "entity_grenade_poison", 13, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeGas.class, "entity_grenade_gas", 14, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeSchrabidium.class, "entity_grenade_schrab", 15, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeNuke.class, "entity_grenade_nuke", 16, this, 500, 1, true); + EntityRegistry.registerModEntity(EntitySchrab.class, "entity_schrabnel", 17, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityMissileGeneric.class, "entity_missile_generic", 18, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileStrong.class, "entity_missile_strong", 19, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileNuclear.class, "entity_missile_nuclear", 20, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileCluster.class, "entity_missile_cluster", 21, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileIncendiary.class, "entity_missile_incendiary", 22, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileAntiBallistic.class, "entity_missile_anti", 23, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileBunkerBuster.class, "entity_missile_buster", 24, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileIncendiaryStrong.class, "entity_missile_incendiary_strong", 25, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileClusterStrong.class, "entity_missile_cluster_strong", 26, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileBusterStrong.class, "entity_missile_buster_strong", 27, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileBurst.class, "entity_missile_burst", 28, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileInferno.class, "entity_missile_inferno", 29, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileRain.class, "entity_missile_rain", 30, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileDrill.class, "entity_missile_drill", 31, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileEndo.class, "entity_missile_endo", 32, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileExo.class, "entity_missile_exo", 33, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMissileMirv.class, "entity_missile_mirv", 34, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMIRV.class, "entity_mirvlet", 35, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMiniNuke.class, "entity_mini_nuke", 36, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntitySmokeFX.class, "entity_smoke_fx", 37, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityNukeCloudBig.class, "entity_nuke_cloud_big", 38, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeNuclear.class, "entity_grenade_nuclear", 39, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityBSmokeFX.class, "entity_b_smoke_fx", 40, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityGrenadePlasma.class, "entity_grenade_plasma", 41, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeTau.class, "entity_grenade_tau", 42, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityChopperMine.class, "entity_chopper_mine", 43, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityCombineBall.class, "entity_combine_ball", 44, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityRainbow.class, "entity_rainbow", 45, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeLemon.class, "entity_grenade_lemon", 46, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityCloudFleija.class, "entity_cloud_fleija", 47, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeMk2.class, "entity_grenade_mk2", 48, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeZOMG.class, "entity_grenade_zomg", 49, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeASchrab.class, "entity_grenade_aschrab", 50, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityNukeCloudNoShroom.class, "entity_nuke_cloud_no", 51, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityFalloutRain.class, "entity_fallout", 52, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityDischarge.class, "entity_emp_discharge", 53, this, 500, 1, true); + EntityRegistry.registerModEntity(EntityEMPBlast.class, "entity_emp_blast", 54, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMiniMIRV.class, "entity_mini_mirv", 55, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityBaleflare.class, "entity_bf_projectile", 56, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityFire.class, "entity_fire", 57, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityPlasmaBeam.class, "entity_immolator_beam", 58, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityLN2.class, "entity_LN2", 59, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityNightmareBlast.class, "entity_ominous_bullet", 60, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityGrenadePulse.class, "entity_grenade_pulse", 61, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityNukeExplosionPlus.class, "entity_nuke_explosion_advanced", 62, this, 250, 1, true); + EntityRegistry.registerModEntity(EntityLaserBeam.class, "entity_laser_beam", 63, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityMinerBeam.class, "entity_miner_beam", 64, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityRubble.class, "entity_rubble", 65, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityDSmokeFX.class, "entity_d_smoke_fx", 66, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntitySSmokeFX.class, "entity_s_smoke_fx", 67, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityShrapnel.class, "entity_shrapnel", 68, this, 1000, 1, true); + EntityRegistry.registerModEntity(EntityGrenadeShrapnel.class, "entity_grenade_shrapnel", 69, this, 250, 1, true); + + EntityRegistry.registerGlobalEntityID(EntityNuclearCreeper.class, "entity_mob_nuclear_creeper", EntityRegistry.findGlobalUniqueEntityId(), 0x204131, 0x75CE00); + EntityRegistry.registerGlobalEntityID(EntityHunterChopper.class, "entity_mob_hunter_chopper", EntityRegistry.findGlobalUniqueEntityId(), 0x000020, 0x2D2D72); + } + + @EventHandler + public static void load(FMLInitializationEvent event) + { + OreDictionary.registerOre("ingotUranium", ModItems.ingot_uranium); + OreDictionary.registerOre("ingotUranium235", ModItems.ingot_u235); + OreDictionary.registerOre("ingotUranium238", ModItems.ingot_u238); + OreDictionary.registerOre("ingotPlutonium", ModItems.ingot_plutonium); + OreDictionary.registerOre("ingotPlutonium238", ModItems.ingot_pu238); + OreDictionary.registerOre("ingotPlutonium239", ModItems.ingot_pu239); + OreDictionary.registerOre("ingotPlutonium240", ModItems.ingot_pu240); + OreDictionary.registerOre("U235", ModItems.ingot_u235); + OreDictionary.registerOre("U238", ModItems.ingot_u238); + OreDictionary.registerOre("Pu238", ModItems.ingot_pu238); + OreDictionary.registerOre("Pu39", ModItems.ingot_pu239); + OreDictionary.registerOre("Pu240", ModItems.ingot_pu240); + OreDictionary.registerOre("ingotTitanium", ModItems.ingot_titanium); + OreDictionary.registerOre("ingotSchrabidium", ModItems.ingot_schrabidium); + OreDictionary.registerOre("dustSchrabidium", ModItems.powder_schrabidium); + OreDictionary.registerOre("dustSulfur", ModItems.sulfur); + OreDictionary.registerOre("dustNiter", ModItems.niter); + OreDictionary.registerOre("dustSalpeter", ModItems.niter); + OreDictionary.registerOre("dustLead", ModItems.powder_lead); + OreDictionary.registerOre("dustNeptunium", ModItems.powder_neptunium); + OreDictionary.registerOre("ingotCopper", ModItems.ingot_copper); + OreDictionary.registerOre("ingotRedAlloy", ModItems.ingot_red_copper); + OreDictionary.registerOre("ingotRedstoneAlloy", ModItems.ingot_red_copper); + OreDictionary.registerOre("ingotAdvanced", ModItems.ingot_advanced_alloy); + OreDictionary.registerOre("ingotAdvancedAlloy", ModItems.ingot_advanced_alloy); + OreDictionary.registerOre("ingotTungsten", ModItems.ingot_tungsten); + OreDictionary.registerOre("ingotAluminum", ModItems.ingot_aluminium); + OreDictionary.registerOre("ingotNeptunium", ModItems.ingot_neptunium); + OreDictionary.registerOre("ingotLead", ModItems.ingot_lead); + OreDictionary.registerOre("ingotLithium", ModItems.lithium); + OreDictionary.registerOre("ingotMagnetizedTungsten", ModItems.ingot_magnetized_tungsten); + OreDictionary.registerOre("ingotCMBSteel", ModItems.ingot_combine_steel); + OreDictionary.registerOre("ingotAustralium", ModItems.ingot_australium); + OreDictionary.registerOre("ingotWeidanium", ModItems.ingot_weidanium); + OreDictionary.registerOre("ingotReiium", ModItems.ingot_reiium); + OreDictionary.registerOre("ingotUnobtainium", ModItems.ingot_unobtainium); + OreDictionary.registerOre("ingotDaffergon", ModItems.ingot_daffergon); + OreDictionary.registerOre("ingotVerticium", ModItems.ingot_verticium); + OreDictionary.registerOre("dustFluorite", ModItems.fluorite); + OreDictionary.registerOre("nuggetLead", ModItems.nugget_lead); + OreDictionary.registerOre("nuggetUranium", ModItems.nugget_uranium); + OreDictionary.registerOre("nuggetUranium235", ModItems.nugget_u235); + OreDictionary.registerOre("nuggetUranium238", ModItems.nugget_u238); + OreDictionary.registerOre("nuggetPlutonium", ModItems.nugget_plutonium); + OreDictionary.registerOre("nuggetPlutonium238", ModItems.nugget_pu238); + OreDictionary.registerOre("nuggetPlutonium239", ModItems.nugget_pu239); + OreDictionary.registerOre("nuggetPlutonium240", ModItems.nugget_pu240); + OreDictionary.registerOre("nuggetAustralium", ModItems.nugget_australium); + OreDictionary.registerOre("nuggetWeidanium", ModItems.nugget_weidanium); + OreDictionary.registerOre("nuggetReiium", ModItems.nugget_reiium); + OreDictionary.registerOre("nuggetUnobtainium", ModItems.nugget_unobtainium); + OreDictionary.registerOre("nuggetDaffergon", ModItems.nugget_daffergon); + OreDictionary.registerOre("nuggetVerticium", ModItems.nugget_verticium); + OreDictionary.registerOre("tinyU235", ModItems.nugget_u235); + OreDictionary.registerOre("tinyU238", ModItems.nugget_u238); + OreDictionary.registerOre("tinyPu238", ModItems.nugget_pu238); + OreDictionary.registerOre("tinyPu239", ModItems.nugget_pu239); + OreDictionary.registerOre("tinyPu240", ModItems.nugget_pu240); + OreDictionary.registerOre("nuggetNeptunium", ModItems.nugget_neptunium); + OreDictionary.registerOre("nuggetSchrabidium", ModItems.nugget_schrabidium); + OreDictionary.registerOre("plateTitanium", ModItems.plate_titanium); + OreDictionary.registerOre("plateAluminum", ModItems.plate_aluminium); + OreDictionary.registerOre("plateDenseLead", ModItems.neutron_reflector); + OreDictionary.registerOre("ingotSteel", ModItems.ingot_steel); + OreDictionary.registerOre("plateSteel", ModItems.plate_steel); + OreDictionary.registerOre("plateLead", ModItems.plate_lead); + OreDictionary.registerOre("plateCopper", ModItems.plate_copper); + OreDictionary.registerOre("plateIron", ModItems.plate_iron); + OreDictionary.registerOre("plateGold", ModItems.plate_gold); + OreDictionary.registerOre("plateAdvanced", ModItems.plate_advanced_alloy); + OreDictionary.registerOre("plateSchrabidium", ModItems.plate_schrabidium); + OreDictionary.registerOre("plateCMBSteel", ModItems.plate_combine_steel); + OreDictionary.registerOre("dustIron", ModItems.powder_iron); + OreDictionary.registerOre("dustGold", ModItems.powder_gold); + OreDictionary.registerOre("dustUranium", ModItems.powder_uranium); + OreDictionary.registerOre("dustPlutonium", ModItems.powder_plutonium); + OreDictionary.registerOre("dustTitanium", ModItems.powder_titanium); + OreDictionary.registerOre("dustTungsten", ModItems.powder_tungsten); + OreDictionary.registerOre("dustCopper", ModItems.powder_copper); + OreDictionary.registerOre("dustBeryllium", ModItems.powder_beryllium); + OreDictionary.registerOre("dustAluminum", ModItems.powder_aluminium); + OreDictionary.registerOre("dustDiamond", ModItems.powder_diamond); + OreDictionary.registerOre("dustEmerald", ModItems.powder_emerald); + OreDictionary.registerOre("dustLapis", ModItems.powder_lapis); + OreDictionary.registerOre("dustCoal", ModItems.powder_coal); + OreDictionary.registerOre("dustAdvanced", ModItems.powder_advanced_alloy); + OreDictionary.registerOre("dustAdvancedAlloy", ModItems.powder_advanced_alloy); + OreDictionary.registerOre("dustCMBSteel", ModItems.powder_combine_steel); + OreDictionary.registerOre("dustMagnetizedTungsten", ModItems.powder_magnetized_tungsten); + OreDictionary.registerOre("dustRedAlloy", ModItems.powder_red_copper); + OreDictionary.registerOre("dustRedstoneAlloy", ModItems.powder_red_copper); + OreDictionary.registerOre("dustSteel", ModItems.powder_steel); + OreDictionary.registerOre("dustLithium", ModItems.powder_lithium); + OreDictionary.registerOre("dustNetherQuartz", ModItems.powder_quartz); + OreDictionary.registerOre("dustAustralium", ModItems.powder_australium); + OreDictionary.registerOre("dustWeidanium", ModItems.powder_weidanium); + OreDictionary.registerOre("dustReiium", ModItems.powder_reiium); + OreDictionary.registerOre("dustUnobtainium", ModItems.powder_unobtainium); + OreDictionary.registerOre("dustDaffergon", ModItems.powder_daffergon); + OreDictionary.registerOre("dustVerticium", ModItems.powder_verticium); + + OreDictionary.registerOre("gemCoal", Items.coal); + + OreDictionary.registerOre("oreUranium", ModBlocks.ore_uranium); + OreDictionary.registerOre("oreTitanium", ModBlocks.ore_titanium); + OreDictionary.registerOre("oreSchrabidium", ModBlocks.ore_schrabidium); + OreDictionary.registerOre("oreSulfur", ModBlocks.ore_sulfur); + OreDictionary.registerOre("oreNiter", ModBlocks.ore_niter); + OreDictionary.registerOre("oreSapeter", ModBlocks.ore_niter); + OreDictionary.registerOre("oreCopper", ModBlocks.ore_copper); + OreDictionary.registerOre("oreTungsten", ModBlocks.ore_tungsten); + OreDictionary.registerOre("oreAluminum", ModBlocks.ore_aluminium); + OreDictionary.registerOre("oreFluorite", ModBlocks.ore_fluorite); + OreDictionary.registerOre("oreLead", ModBlocks.ore_lead); + OreDictionary.registerOre("oreBeryllium", ModBlocks.ore_beryllium); + + OreDictionary.registerOre("oreUranium", ModBlocks.ore_nether_uranium); + OreDictionary.registerOre("orePlutonium", ModBlocks.ore_nether_plutonium); + OreDictionary.registerOre("oreTungsten", ModBlocks.ore_nether_tungsten); + OreDictionary.registerOre("oreSulfur", ModBlocks.ore_nether_sulfur); + OreDictionary.registerOre("oreSchrabidium", ModBlocks.ore_nether_schrabidium); + + OreDictionary.registerOre("blockUranium", ModBlocks.block_uranium); + OreDictionary.registerOre("blockTitanium", ModBlocks.block_titanium); + OreDictionary.registerOre("blockSulfur", ModBlocks.block_sulfur); + OreDictionary.registerOre("blockNiter", ModBlocks.block_niter); + OreDictionary.registerOre("blockSalpeter", ModBlocks.block_niter); + OreDictionary.registerOre("blockCopper", ModBlocks.block_copper); + OreDictionary.registerOre("blockRedAlloy", ModBlocks.block_red_copper); + OreDictionary.registerOre("blockRedstoneAlloy", ModBlocks.block_red_copper); + OreDictionary.registerOre("blockAdvanced", ModBlocks.block_advanced_alloy); + OreDictionary.registerOre("blockTungsten", ModBlocks.block_tungsten); + OreDictionary.registerOre("blockAluminum", ModBlocks.block_aluminium); + OreDictionary.registerOre("blockFluorite", ModBlocks.block_fluorite); + OreDictionary.registerOre("blockSteel", ModBlocks.block_steel); + OreDictionary.registerOre("blockLead", ModBlocks.block_lead); + OreDictionary.registerOre("blockBeryllium", ModBlocks.block_beryllium); + OreDictionary.registerOre("blockSchrabidium", ModBlocks.block_schrabidium); + OreDictionary.registerOre("blockCMBSteel", ModBlocks.block_combine_steel); + OreDictionary.registerOre("blockMagnetizedTungsten", ModBlocks.block_magnetized_tungsten); + OreDictionary.registerOre("blockAustralium", ModBlocks.block_australium); + OreDictionary.registerOre("blockWeidanium", ModBlocks.block_weidanium); + OreDictionary.registerOre("blockReiium", ModBlocks.block_reiium); + OreDictionary.registerOre("blockUnobtainium", ModBlocks.block_unobtainium); + OreDictionary.registerOre("blockDaffergon", ModBlocks.block_daffergon); + OreDictionary.registerOre("blockVerticium", ModBlocks.block_verticium); + } + + @EventHandler + public static void PostLoad(FMLPostInitializationEvent PostEvent) + { + ShredderRecipe recipes = new MachineRecipes().new ShredderRecipe(); + + recipes.registerEverythingImSrs(); + + recipes.addRecipes(); + + recipes.removeDuplicates(); + + recipes.overridePreSetRecipe(new ItemStack(ModItems.scrap), new ItemStack(ModItems.dust)); + recipes.overridePreSetRecipe(new ItemStack(ModItems.dust), new ItemStack(ModItems.dust)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.glowstone), new ItemStack(Items.glowstone_dust, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_block, 1, 0), new ItemStack(ModItems.powder_quartz, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_block, 1, 1), new ItemStack(ModItems.powder_quartz, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_block, 1, 2), new ItemStack(ModItems.powder_quartz, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_stairs), new ItemStack(ModItems.powder_quartz, 3)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stone_slab, 1, 7), new ItemStack(ModItems.powder_quartz, 2)); + recipes.overridePreSetRecipe(new ItemStack(Items.quartz), new ItemStack(ModItems.powder_quartz)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.quartz_ore), new ItemStack(ModItems.powder_quartz, 2)); + recipes.overridePreSetRecipe(new ItemStack(ModBlocks.ore_nether_fire), new ItemStack(ModItems.powder_fire, 6)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.packed_ice), new ItemStack(ModItems.powder_ice, 1)); + recipes.overridePreSetRecipe(new ItemStack(ModBlocks.brick_light), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(ModBlocks.brick_concrete), new ItemStack(Blocks.gravel, 1)); + recipes.overridePreSetRecipe(new ItemStack(ModBlocks.brick_obsidian), new ItemStack(ModBlocks.gravel_obsidian, 1)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.obsidian), new ItemStack(ModBlocks.gravel_obsidian, 1)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stone), new ItemStack(Blocks.gravel, 1)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.cobblestone), new ItemStack(Blocks.gravel, 1)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stonebrick), new ItemStack(Blocks.gravel, 1)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.brick_block), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.brick_stairs), new ItemStack(Items.clay_ball, 3)); + recipes.overridePreSetRecipe(new ItemStack(Items.flower_pot), new ItemStack(Items.clay_ball, 3)); + recipes.overridePreSetRecipe(new ItemStack(Items.brick), new ItemStack(Items.clay_ball, 1)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.sandstone), new ItemStack(Blocks.sand, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.sandstone_stairs), new ItemStack(Blocks.sand, 6)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.clay), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.hardened_clay), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 0), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 1), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 2), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 3), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 4), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 5), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 6), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 7), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 8), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 9), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 10), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 11), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 12), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 13), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 14), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.stained_hardened_clay, 1, 15), new ItemStack(Items.clay_ball, 4)); + recipes.overridePreSetRecipe(new ItemStack(Blocks.tnt), new ItemStack(Items.gunpowder, 5)); + recipes.overridePreSetRecipe(new ItemStack(Items.wheat_seeds), new ItemStack(ModItems.oil_canola, 1)); + recipes.overridePreSetRecipe(new ItemStack(Items.pumpkin_seeds), new ItemStack(ModItems.oil_canola, 2)); + + recipes.PrintRecipes(); + } + + @EventHandler + public void preInit(FMLPreInitializationEvent event) + { + FMLCommonHandler.instance().bus().register(new ModEventHandler()); + MinecraftForge.EVENT_BUS.register(new ModEventHandler()); + MinecraftForge.TERRAIN_GEN_BUS.register(new ModEventHandler()); + MinecraftForge.ORE_GEN_BUS.register(new ModEventHandler()); + + Configuration config = new Configuration(event.getSuggestedConfigurationFile()); + config.load(); + enableDebugMode = config.get(Configuration.CATEGORY_GENERAL, "1.0_enableDebugMode", false).getBoolean(false); + enableMycelium = config.get(Configuration.CATEGORY_GENERAL, "1.1_enableMyceliumSpread", false).getBoolean(false); + enablePlutoniumOre = config.get(Configuration.CATEGORY_GENERAL, "1.2_enablePlutoniumNetherOre", false).getBoolean(false); + enableDungeons = config.get(Configuration.CATEGORY_GENERAL, "1.3_enableDungeonSpawn", true).getBoolean(true); + enableMDOres = config.get(Configuration.CATEGORY_GENERAL, "1.4_enableOresInModdedDimensions", true).getBoolean(true); + enableBarrels = config.get(Configuration.CATEGORY_GENERAL, "1.5_enableNuclearBarrelSpawn", false).getBoolean(false); + enableNITAN = config.get(Configuration.CATEGORY_GENERAL, "1.6_enableNITANChestSpawn", true).getBoolean(true); + enableNukeClouds = config.get(Configuration.CATEGORY_GENERAL, "1.7_enableMushroomClouds", true).getBoolean(true); + + Property PuraniumSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.0_uraniumSpawnrate", 7); + PuraniumSpawn.comment = "Ammount of uranium ore veins per chunk"; + uraniumSpawn = PuraniumSpawn.getInt(); + Property PtitaniumSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.1_titaniumSpawnrate", 8); + PtitaniumSpawn.comment = "Ammount of titanium ore veins per chunk"; + titaniumSpawn = PtitaniumSpawn.getInt(); + Property PsulfurSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.2_sulfurSpawnrate", 5); + PsulfurSpawn.comment = "Ammount of sulfur ore veins per chunk"; + sulfurSpawn = PsulfurSpawn.getInt(); + Property PaluminiumSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.3_aluminiumSpawnrate", 7); + PaluminiumSpawn.comment = "Ammount of aluminium ore veins per chunk"; + aluminiumSpawn = PaluminiumSpawn.getInt(); + Property PcopperSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.4_copperSpawnrate", 12); + PcopperSpawn.comment = "Ammount of copper ore veins per chunk"; + copperSpawn = PcopperSpawn.getInt(); + Property PFluoriteSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.5_fluoriteSpawnrate", 6); + PFluoriteSpawn.comment = "Ammount of fluorite ore veins per chunk"; + fluoriteSpawn = PFluoriteSpawn.getInt(); + Property PNiterSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.6_niterSpawnrate", 4); + PNiterSpawn.comment = "Ammount of niter ore veins per chunk"; + niterSpawn = PNiterSpawn.getInt(); + Property PtungstenSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.7_tungstenSpawnrate", 10); + PtungstenSpawn.comment = "Ammount of tungsten ore veins per chunk"; + tungstenSpawn = PtungstenSpawn.getInt(); + Property PleadSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.8_leadSpawnrate", 6); + PleadSpawn.comment = "Ammount of lead ore veins per chunk"; + leadSpawn = PleadSpawn.getInt(); + Property PberylliumSpawn = config.get(Configuration.CATEGORY_GENERAL, "2.9_berylliumSpawnrate", 6); + PberylliumSpawn.comment = "Ammount of beryllium ore veins per chunk"; + berylliumSpawn = PberylliumSpawn.getInt(); + + Property propGadget = config.get(Configuration.CATEGORY_GENERAL, "3.0_gadgetRadius", 150); + propGadget.comment = "Radius of the Gadget"; + gadgetRadius = propGadget.getInt(); + Property propBoy = config.get(Configuration.CATEGORY_GENERAL, "3.1_boyRadius", 120); + propBoy.comment = "Radius of Little Boy"; + boyRadius = propBoy.getInt(); + Property propMan = config.get(Configuration.CATEGORY_GENERAL, "3.2_manRadius", 175); + propMan.comment = "Radius of Fat Man"; + manRadius = propMan.getInt(); + Property propMike = config.get(Configuration.CATEGORY_GENERAL, "3.3_mikeRadius", 250); + propMike.comment = "Radius of Ivy Mike"; + mikeRadius = propMike.getInt(); + Property propTsar = config.get(Configuration.CATEGORY_GENERAL, "3.4_tsarRadius", 500); + propTsar.comment = "Radius of the Tsar Bomba"; + tsarRadius = propTsar.getInt(); + Property propPrototype = config.get(Configuration.CATEGORY_GENERAL, "3.5_prototypeRadius", 150); + propPrototype.comment = "Radius of the Prototype"; + prototypeRadius = propPrototype.getInt(); + Property propFleija = config.get(Configuration.CATEGORY_GENERAL, "3.6_fleijaRadius", 50); + propFleija.comment = "Radius of F.L.E.I.J.A."; + fleijaRadius = propFleija.getInt(); + Property propMissile = config.get(Configuration.CATEGORY_GENERAL, "3.7_missileRadius", 100); + propMissile.comment = "Radius of the nuclear missile"; + missileRadius = propMissile.getInt(); + Property propMirv = config.get(Configuration.CATEGORY_GENERAL, "3.8_mirvRadius", 100); + propMirv.comment = "Radius of a MIRV"; + mirvRadius = propMirv.getInt(); + Property propFatman = config.get(Configuration.CATEGORY_GENERAL, "3.9_fatmanRadius", 35); + propFatman.comment = "Radius of the Fatman Launcher"; + fatmanRadius = propFatman.getInt(); + Property propNuka = config.get(Configuration.CATEGORY_GENERAL, "3.91_nukaRadius", 25); + propNuka.comment = "Radius of the nuka grenade"; + nukaRadius = propNuka.getInt(); + Property propASchrab = config.get(Configuration.CATEGORY_GENERAL, "3.92_aSchrabRadius", 20); + propASchrab.comment = "Radius of dropped anti schrabidium"; + aSchrabRadius = propASchrab.getInt(); + + Property propRadio = config.get(Configuration.CATEGORY_GENERAL, "4.0_radioSpawn", 500); + propRadio.comment = "Spawn radio station on every nTH chunk"; + radioStructure = propRadio.getInt(); + Property propAntenna = config.get(Configuration.CATEGORY_GENERAL, "4.1_antennaSpawn", 250); + propAntenna.comment = "Spawn antenna on every nTH chunk"; + antennaStructure = propAntenna.getInt(); + Property propAtom = config.get(Configuration.CATEGORY_GENERAL, "4.2_atomSpawn", 500); + propAtom.comment = "Spawn power plant on every nTH chunk"; + atomStructure = propAtom.getInt(); + Property propVertibird = config.get(Configuration.CATEGORY_GENERAL, "4.3_vertibirdSpawn", 500); + propVertibird.comment = "Spawn vertibird on every nTH chunk"; + vertibirdStructure = propVertibird.getInt(); + Property propDungeon = config.get(Configuration.CATEGORY_GENERAL, "4.4_dungeonSpawn", 64); + propDungeon.comment = "Spawn library dungeon on every nTH chunk"; + dungeonStructure = propDungeon.getInt(); + Property propRelay = config.get(Configuration.CATEGORY_GENERAL, "4.5_relaySpawn", 500); + propRelay.comment = "Spawn relay on every nTH chunk"; + relayStructure = propRelay.getInt(); + Property propSatellite = config.get(Configuration.CATEGORY_GENERAL, "4.6_satelliteSpawn", 500); + propSatellite.comment = "Spawn satellite dish on every nTH chunk"; + satelliteStructure = propSatellite.getInt(); + Property propBunker = config.get(Configuration.CATEGORY_GENERAL, "4.7_bunkerSpawn", 1000); + propBunker.comment = "Spawn bunker on every nTH chunk"; + bunkerStructure = propBunker.getInt(); + Property propSilo = config.get(Configuration.CATEGORY_GENERAL, "4.8_siloSpawn", 1000); + propSilo.comment = "Spawn missile silo on every nTH chunk"; + siloStructure = propSilo.getInt(); + Property propFactory = config.get(Configuration.CATEGORY_GENERAL, "4.9_factorySpawn", 1000); + propFactory.comment = "Spawn factory on every nTH chunk"; + factoryStructure = propFactory.getInt(); + Property propDud = config.get(Configuration.CATEGORY_GENERAL, "4.91_dudSpawn", 500); + propDud.comment = "Spawn dud on every nTH chunk"; + dudStructure = propDud.getInt(); + Property propSpaceship = config.get(Configuration.CATEGORY_GENERAL, "4.92_spaceshipSpawn", 1000); + propSpaceship.comment = "Spawn spaceship on every nTH chunk"; + spaceshipStructure = propSpaceship.getInt(); + + config.save(); + } +} diff --git a/com/hbm/main/ModEventHandler.java b/com/hbm/main/ModEventHandler.java index a2519a6bc..82069bb56 100644 --- a/com/hbm/main/ModEventHandler.java +++ b/com/hbm/main/ModEventHandler.java @@ -1,23 +1,23 @@ -package com.hbm.main; - -import com.hbm.lib.RefStrings; - -import cpw.mods.fml.common.eventhandler.SubscribeEvent; -import cpw.mods.fml.common.gameevent.PlayerEvent; -import net.minecraft.client.Minecraft; -import net.minecraft.util.ChatComponentText; - -public class ModEventHandler -{ - public static boolean showMessage = true; - - @SubscribeEvent - public void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent event) { - if(showMessage) - { - event.player.addChatMessage(new ChatComponentText("Loaded world with Hbm's Nuclear Tech Mod " + RefStrings.VERSION + " for Minecraft 1.7.10!")); - } - - showMessage = !showMessage; - } -} +package com.hbm.main; + +import com.hbm.lib.RefStrings; + +import cpw.mods.fml.common.eventhandler.SubscribeEvent; +import cpw.mods.fml.common.gameevent.PlayerEvent; +import net.minecraft.client.Minecraft; +import net.minecraft.util.ChatComponentText; + +public class ModEventHandler +{ + public static boolean showMessage = true; + + @SubscribeEvent + public void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent event) { + if(showMessage) + { + event.player.addChatMessage(new ChatComponentText("Loaded world with Hbm's Nuclear Tech Mod " + RefStrings.VERSION + " for Minecraft 1.7.10!")); + } + + showMessage = !showMessage; + } +} diff --git a/com/hbm/main/ModEventHandlerClient.java b/com/hbm/main/ModEventHandlerClient.java index d9990d53b..c63c2e441 100644 --- a/com/hbm/main/ModEventHandlerClient.java +++ b/com/hbm/main/ModEventHandlerClient.java @@ -1,119 +1,92 @@ -package com.hbm.main; - -<<<<<<< HEAD -import java.util.ArrayList; -import java.util.List; - -import com.hbm.entity.mob.EntityHunterChopper; -import com.hbm.entity.projectile.EntityChopperMine; -======= -<<<<<<< HEAD -import java.util.ArrayList; -import java.util.List; - -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 -import com.hbm.entity.EntityChopperMine; -import com.hbm.entity.EntityHunterChopper; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.lib.Library; -import com.hbm.sound.MovingSoundChopper; -import com.hbm.sound.MovingSoundChopperMine; -import com.hbm.sound.MovingSoundCrashing; -import com.hbm.sound.MovingSoundPlayerLoop; -import com.hbm.sound.MovingSoundXVL1456; -import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; - -import codechicken.lib.render.IFaceRenderer; -import cpw.mods.fml.common.eventhandler.SubscribeEvent; -import net.minecraft.client.Minecraft; -import net.minecraft.client.audio.PositionedSound; -import net.minecraft.client.multiplayer.WorldClient; -import net.minecraft.entity.Entity; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.event.sound.PlaySoundEvent17; -<<<<<<< HEAD -import net.minecraftforge.event.entity.EntityJoinWorldEvent; -======= -<<<<<<< HEAD -import net.minecraftforge.event.entity.EntityJoinWorldEvent; -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - -public class ModEventHandlerClient { - - @SubscribeEvent - public void onPlaySound(PlaySoundEvent17 e) { - ResourceLocation r = e.sound.getPositionedSoundLocation(); - - WorldClient wc = Minecraft.getMinecraft().theWorld; - -<<<<<<< HEAD -======= -<<<<<<< HEAD ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - //Alright, alright, I give the fuck up, you've wasted my time enough with this bullshit. You win. - //A winner is you. - //Conglaturations. - //Fuck you. - -<<<<<<< HEAD -======= -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - if(r.toString().equals("hbm:misc.nullTau") && Library.getClosestPlayerForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2) != null) - { - EntityPlayer ent = Library.getClosestPlayerForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2); - - if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop) == null) { - MovingSoundPlayerLoop.globalSoundList.add(new MovingSoundXVL1456(new ResourceLocation("hbm:weapon.tauChargeLoop2"), ent, EnumHbmSound.soundTauLoop)); - MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop).setPitch(0.5F); - } else { - if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop).getPitch() < 1.5F) - MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop).setPitch(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop).getPitch() + 0.01F); - } - } - - if(r.toString().equals("hbm:misc.nullChopper") && Library.getClosestChopperForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2) != null) - { - EntityHunterChopper ent = Library.getClosestChopperForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2); - - if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundChopperLoop) == null) { - MovingSoundPlayerLoop.globalSoundList.add(new MovingSoundChopper(new ResourceLocation("hbm:entity.chopperFlyingLoop"), ent, EnumHbmSound.soundChopperLoop)); - MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundChopperLoop).setVolume(10.0F); - } - } - - if(r.toString().equals("hbm:misc.nullCrashing") && Library.getClosestChopperForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2) != null) - { - EntityHunterChopper ent = Library.getClosestChopperForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2); - - if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundCrashingLoop) == null) { - MovingSoundPlayerLoop.globalSoundList.add(new MovingSoundCrashing(new ResourceLocation("hbm:entity.chopperCrashingLoop"), ent, EnumHbmSound.soundCrashingLoop)); - MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundCrashingLoop).setVolume(10.0F); - } - } - - if(r.toString().equals("hbm:misc.nullMine") && Library.getClosestMineForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2) != null) - { - EntityChopperMine ent = Library.getClosestMineForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2); - - if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundMineLoop) == null) { - MovingSoundPlayerLoop.globalSoundList.add(new MovingSoundChopperMine(new ResourceLocation("hbm:entity.chopperMineLoop"), ent, EnumHbmSound.soundMineLoop)); - MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundMineLoop).setVolume(10.0F); - } - } - - for(MovingSoundPlayerLoop sounds : MovingSoundPlayerLoop.globalSoundList) - { - if(!sounds.init || sounds.isDonePlaying()) { - sounds.init = true; - sounds.setDone(false); - Minecraft.getMinecraft().getSoundHandler().playSound(sounds); - } - } - } -} +package com.hbm.main; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.entity.mob.EntityHunterChopper; +import com.hbm.entity.projectile.EntityChopperMine; +import com.hbm.lib.Library; +import com.hbm.sound.MovingSoundChopper; +import com.hbm.sound.MovingSoundChopperMine; +import com.hbm.sound.MovingSoundCrashing; +import com.hbm.sound.MovingSoundPlayerLoop; +import com.hbm.sound.MovingSoundXVL1456; +import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; + +import codechicken.lib.render.IFaceRenderer; +import cpw.mods.fml.common.eventhandler.SubscribeEvent; +import net.minecraft.client.Minecraft; +import net.minecraft.client.audio.PositionedSound; +import net.minecraft.client.multiplayer.WorldClient; +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.event.sound.PlaySoundEvent17; +import net.minecraftforge.event.entity.EntityJoinWorldEvent; + +public class ModEventHandlerClient { + + @SubscribeEvent + public void onPlaySound(PlaySoundEvent17 e) { + ResourceLocation r = e.sound.getPositionedSoundLocation(); + + WorldClient wc = Minecraft.getMinecraft().theWorld; + + //Alright, alright, I give the fuck up, you've wasted my time enough with this bullshit. You win. + //A winner is you. + //Conglaturations. + //Fuck you. + + if(r.toString().equals("hbm:misc.nullTau") && Library.getClosestPlayerForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2) != null) + { + EntityPlayer ent = Library.getClosestPlayerForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2); + + if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop) == null) { + MovingSoundPlayerLoop.globalSoundList.add(new MovingSoundXVL1456(new ResourceLocation("hbm:weapon.tauChargeLoop2"), ent, EnumHbmSound.soundTauLoop)); + MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop).setPitch(0.5F); + } else { + if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop).getPitch() < 1.5F) + MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop).setPitch(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundTauLoop).getPitch() + 0.01F); + } + } + + if(r.toString().equals("hbm:misc.nullChopper") && Library.getClosestChopperForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2) != null) + { + EntityHunterChopper ent = Library.getClosestChopperForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2); + + if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundChopperLoop) == null) { + MovingSoundPlayerLoop.globalSoundList.add(new MovingSoundChopper(new ResourceLocation("hbm:entity.chopperFlyingLoop"), ent, EnumHbmSound.soundChopperLoop)); + MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundChopperLoop).setVolume(10.0F); + } + } + + if(r.toString().equals("hbm:misc.nullCrashing") && Library.getClosestChopperForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2) != null) + { + EntityHunterChopper ent = Library.getClosestChopperForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2); + + if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundCrashingLoop) == null) { + MovingSoundPlayerLoop.globalSoundList.add(new MovingSoundCrashing(new ResourceLocation("hbm:entity.chopperCrashingLoop"), ent, EnumHbmSound.soundCrashingLoop)); + MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundCrashingLoop).setVolume(10.0F); + } + } + + if(r.toString().equals("hbm:misc.nullMine") && Library.getClosestMineForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2) != null) + { + EntityChopperMine ent = Library.getClosestMineForSound(wc, e.sound.getXPosF(), e.sound.getYPosF(), e.sound.getZPosF(), 2); + + if(MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundMineLoop) == null) { + MovingSoundPlayerLoop.globalSoundList.add(new MovingSoundChopperMine(new ResourceLocation("hbm:entity.chopperMineLoop"), ent, EnumHbmSound.soundMineLoop)); + MovingSoundPlayerLoop.getSoundByPlayer(ent, EnumHbmSound.soundMineLoop).setVolume(10.0F); + } + } + + for(MovingSoundPlayerLoop sounds : MovingSoundPlayerLoop.globalSoundList) + { + if(!sounds.init || sounds.isDonePlaying()) { + sounds.init = true; + sounds.setDone(false); + Minecraft.getMinecraft().getSoundHandler().playSound(sounds); + } + } + } +} diff --git a/com/hbm/main/NEIConfig.java b/com/hbm/main/NEIConfig.java index 3d2706692..73f48f02c 100644 --- a/com/hbm/main/NEIConfig.java +++ b/com/hbm/main/NEIConfig.java @@ -1,64 +1,67 @@ -package com.hbm.main; - -import com.hbm.blocks.ModBlocks; -import com.hbm.gui.gui.GUITestDiFurnace; -import com.hbm.handler.AlloyFurnaceRecipeHandler; -import com.hbm.handler.CentrifugeRecipeHandler; -import com.hbm.handler.ReactorRecipeHandler; -import com.hbm.handler.ShredderRecipeHandler; -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; - -import codechicken.nei.api.API; -import codechicken.nei.api.IConfigureNEI; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -public class NEIConfig implements IConfigureNEI { - - @Override - public void loadConfig() { - API.registerRecipeHandler(new AlloyFurnaceRecipeHandler()); - API.registerUsageHandler(new AlloyFurnaceRecipeHandler()); - API.registerRecipeHandler(new CentrifugeRecipeHandler()); - API.registerUsageHandler(new CentrifugeRecipeHandler()); - API.registerRecipeHandler(new ReactorRecipeHandler()); - API.registerUsageHandler(new ReactorRecipeHandler()); - API.registerRecipeHandler(new ShredderRecipeHandler()); - API.registerUsageHandler(new ShredderRecipeHandler()); - - //Some things are even beyond my control...or are they? - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_coal_on))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_electric_furnace_on))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_difurnace_on))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_on))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_on))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_lamp_on))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb_g))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb_w))); - API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb_f))); - API.hideItem(new ItemStack(ModItems.euphemium_helmet)); - API.hideItem(new ItemStack(ModItems.euphemium_plate)); - API.hideItem(new ItemStack(ModItems.euphemium_legs)); - API.hideItem(new ItemStack(ModItems.euphemium_boots)); - API.hideItem(new ItemStack(ModItems.apple_euphemium)); - API.hideItem(new ItemStack(ModItems.ingot_euphemium)); - API.hideItem(new ItemStack(ModItems.nugget_euphemium)); - API.hideItem(new ItemStack(ModItems.euphemium_kit)); - API.hideItem(new ItemStack(ModItems.euphemium_stopper)); - API.hideItem(new ItemStack(ModItems.watch)); - API.hideItem(new ItemStack(ModItems.rod_quad_euphemium)); - } - - @Override - public String getName() { - return "Nuclear Tech NEI Plugin"; - } - - @Override - public String getVersion() { - return RefStrings.VERSION; - } - -} +package com.hbm.main; + +import com.hbm.blocks.ModBlocks; +import com.hbm.gui.gui.GUITestDiFurnace; +import com.hbm.handler.AlloyFurnaceRecipeHandler; +import com.hbm.handler.CentrifugeRecipeHandler; +import com.hbm.handler.ReactorRecipeHandler; +import com.hbm.handler.ShredderRecipeHandler; +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +import codechicken.nei.api.API; +import codechicken.nei.api.IConfigureNEI; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class NEIConfig implements IConfigureNEI { + + @Override + public void loadConfig() { + API.registerRecipeHandler(new AlloyFurnaceRecipeHandler()); + API.registerUsageHandler(new AlloyFurnaceRecipeHandler()); + API.registerRecipeHandler(new CentrifugeRecipeHandler()); + API.registerUsageHandler(new CentrifugeRecipeHandler()); + API.registerRecipeHandler(new ReactorRecipeHandler()); + API.registerUsageHandler(new ReactorRecipeHandler()); + API.registerRecipeHandler(new ShredderRecipeHandler()); + API.registerUsageHandler(new ShredderRecipeHandler()); + + //Some things are even beyond my control...or are they? + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_coal_on))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_electric_furnace_on))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_difurnace_on))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_nuke_furnace_on))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.machine_rtg_furnace_on))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.reinforced_lamp_on))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb_g))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb_w))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.statue_elb_f))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.cheater_virus))); + API.hideItem(new ItemStack(Item.getItemFromBlock(ModBlocks.cheater_virus_seed))); + API.hideItem(new ItemStack(ModItems.euphemium_helmet)); + API.hideItem(new ItemStack(ModItems.euphemium_plate)); + API.hideItem(new ItemStack(ModItems.euphemium_legs)); + API.hideItem(new ItemStack(ModItems.euphemium_boots)); + API.hideItem(new ItemStack(ModItems.apple_euphemium)); + API.hideItem(new ItemStack(ModItems.ingot_euphemium)); + API.hideItem(new ItemStack(ModItems.nugget_euphemium)); + API.hideItem(new ItemStack(ModItems.euphemium_kit)); + API.hideItem(new ItemStack(ModItems.euphemium_stopper)); + API.hideItem(new ItemStack(ModItems.watch)); + API.hideItem(new ItemStack(ModItems.rod_quad_euphemium)); + API.hideItem(new ItemStack(ModItems.rod_euphemium)); + } + + @Override + public String getName() { + return "Nuclear Tech NEI Plugin"; + } + + @Override + public String getVersion() { + return RefStrings.VERSION; + } + +} diff --git a/com/hbm/main/ServerProxy.java b/com/hbm/main/ServerProxy.java index ab6e64a7f..022d0c416 100644 --- a/com/hbm/main/ServerProxy.java +++ b/com/hbm/main/ServerProxy.java @@ -1,13 +1,13 @@ -package com.hbm.main; - -public class ServerProxy -{ - public void registerRenderInfo() - { - - } - - public void registerTileEntitySpecialRenderer() { - - } +package com.hbm.main; + +public class ServerProxy +{ + public void registerRenderInfo() + { + + } + + public void registerTileEntitySpecialRenderer() { + + } } \ No newline at end of file diff --git a/com/hbm/render/RenderFallout.java b/com/hbm/render/RenderFallout.java deleted file mode 100644 index 277943505..000000000 --- a/com/hbm/render/RenderFallout.java +++ /dev/null @@ -1,287 +0,0 @@ -package com.hbm.render; - -import java.util.Random; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.EntityFalloutRain; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.multiplayer.WorldClient; -import net.minecraft.client.renderer.OpenGlHelper; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.util.MathHelper; -import net.minecraft.util.ResourceLocation; -import net.minecraft.util.Timer; -import net.minecraft.util.Vec3; -import net.minecraft.world.biome.BiomeGenBase; -import net.minecraftforge.client.IRenderHandler; - -public class RenderFallout extends Render { - - private Minecraft mc; - private Random random = new Random(); - float[] rainXCoords; - float[] rainYCoords; - private int rendererUpdateCount; - long lastTime = System.nanoTime(); - private static final ResourceLocation falloutTexture = new ResourceLocation(RefStrings.MODID, - "textures/entity/fallout.png"); - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, - float p_76986_9_) { - - if (p_76986_1_ instanceof EntityFalloutRain) - this.render((EntityFalloutRain) p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - - } - - public void render(EntityFalloutRain p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, - float p_76986_8_, float p_76986_9_) { - - this.mc = Minecraft.getMinecraft(); - - EntityLivingBase entitylivingbase = this.mc.renderViewEntity; - Vec3 vector = Vec3.createVectorHelper(entitylivingbase.posX - p_76986_1_.posX, - entitylivingbase.posY - p_76986_1_.posY, entitylivingbase.posZ - p_76986_1_.posZ); - - double d = vector.lengthVector(); - - if (d <= p_76986_1_.getScale()) { - rendererUpdateCount++; - long time = System.nanoTime(); - float t = (time - lastTime) / 50000000; - if (t <= 1.0F) - renderRainSnow(t); - else - renderRainSnow(1.0F); - - lastTime = time; - } - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return null; - } - - protected void renderRainSnow(float p_78474_1_) { - - IRenderHandler renderer = null; - if ((renderer = this.mc.theWorld.provider.getWeatherRenderer()) != null) { - renderer.render(p_78474_1_, this.mc.theWorld, mc); - return; - } - - // float f1 = this.mc.theWorld.getRainStrength(p_78474_1_); - - float f1 = 1; - - if (f1 > 0.0F) { - // this.enableLightmap((double)p_78474_1_); - - if (this.rainXCoords == null) { - this.rainXCoords = new float[1024]; - this.rainYCoords = new float[1024]; - - for (int i = 0; i < 32; ++i) { - for (int j = 0; j < 32; ++j) { - float f2 = (float) (j - 16); - float f3 = (float) (i - 16); - float f4 = MathHelper.sqrt_float(f2 * f2 + f3 * f3); - this.rainXCoords[i << 5 | j] = -f3 / f4; - this.rainYCoords[i << 5 | j] = f2 / f4; - } - } - } - - EntityLivingBase entitylivingbase = this.mc.renderViewEntity; - WorldClient worldclient = this.mc.theWorld; - int k2 = MathHelper.floor_double(entitylivingbase.posX); - int l2 = MathHelper.floor_double(entitylivingbase.posY); - int i3 = MathHelper.floor_double(entitylivingbase.posZ); - Tessellator tessellator = Tessellator.instance; - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glNormal3f(0.0F, 1.0F, 0.0F); - GL11.glEnable(GL11.GL_BLEND); - OpenGlHelper.glBlendFunc(770, 771, 1, 0); - GL11.glAlphaFunc(GL11.GL_GREATER, 0.1F); - double d0 = entitylivingbase.lastTickPosX - + (entitylivingbase.posX - entitylivingbase.lastTickPosX) * (double) p_78474_1_; - double d1 = entitylivingbase.lastTickPosY - + (entitylivingbase.posY - entitylivingbase.lastTickPosY) * (double) p_78474_1_; - double d2 = entitylivingbase.lastTickPosZ - + (entitylivingbase.posZ - entitylivingbase.lastTickPosZ) * (double) p_78474_1_; - int k = MathHelper.floor_double(d1); - byte b0 = 5; - - if (this.mc.gameSettings.fancyGraphics) { - b0 = 10; - } - - boolean flag = false; - byte b1 = -1; - float f5 = (float) this.rendererUpdateCount + p_78474_1_; - - if (this.mc.gameSettings.fancyGraphics) { - b0 = 10; - } - - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - flag = false; - - for (int l = i3 - b0; l <= i3 + b0; ++l) { - for (int i1 = k2 - b0; i1 <= k2 + b0; ++i1) { - int j1 = (l - i3 + 16) * 32 + i1 - k2 + 16; - float f6 = this.rainXCoords[j1] * 0.5F; - float f7 = this.rainYCoords[j1] * 0.5F; - BiomeGenBase biomegenbase = worldclient.getBiomeGenForCoords(i1, l); - - if (true) { - int k1 = worldclient.getPrecipitationHeight(i1, l); - int l1 = l2 - b0; - int i2 = l2 + b0; - - if (l1 < k1) { - l1 = k1; - } - - if (i2 < k1) { - i2 = k1; - } - - float f8 = 1.0F; - int j2 = k1; - - if (k1 < k) { - j2 = k; - } - - if (l1 != i2) { - this.random.setSeed((long) (i1 * i1 * 3121 + i1 * 45238971 ^ l * l * 418711 + l * 13761)); - float f9 = biomegenbase.getFloatTemperature(i1, l1, l); - float f10; - double d4; - - /* - * if (false) { if (b1 != 0) { if (b1 >= 0) { - * tessellator.draw(); } - * - * b1 = 0; - * this.mc.getTextureManager().bindTexture(this. - * falloutTexture); tessellator.startDrawingQuads(); - * //System.out.println("Called!"); } - * - * f10 = ((float)(this.rendererUpdateCount + i1 * i1 - * * 3121 + i1 * 45238971 + l * l * 418711 + l * - * 13761 & 31) + p_78474_1_) / 32.0F * (3.0F + - * this.random.nextFloat()); double d3 = - * (double)((float)i1 + 0.5F) - - * entitylivingbase.posX; d4 = (double)((float)l + - * 0.5F) - entitylivingbase.posZ; float f12 = - * MathHelper.sqrt_double(d3 * d3 + d4 * d4) / - * (float)b0; float f13 = 1.0F; - * tessellator.setBrightness(worldclient. - * getLightBrightnessForSkyBlocks(i1, j2, l, 0)); - * tessellator.setColorRGBA_F(f13, f13, f13, ((1.0F - * - f12 * f12) * 0.5F + 0.5F) * f1); - * tessellator.setTranslation(-d0 * 1.0D, -d1 * - * 1.0D, -d2 * 1.0D); - * tessellator.addVertexWithUV((double)((float)i1 - - * f6) + 0.5D, (double)l1, (double)((float)l - f7) + - * 0.5D, (double)(0.0F * f8), (double)((float)l1 * - * f8 / 4.0F + f10 * f8)); - * tessellator.addVertexWithUV((double)((float)i1 + - * f6) + 0.5D, (double)l1, (double)((float)l + f7) + - * 0.5D, (double)(1.0F * f8), (double)((float)l1 * - * f8 / 4.0F + f10 * f8)); - * tessellator.addVertexWithUV((double)((float)i1 + - * f6) + 0.5D, (double)i2, (double)((float)l + f7) + - * 0.5D, (double)(1.0F * f8), (double)((float)i2 * - * f8 / 4.0F + f10 * f8)); - * tessellator.addVertexWithUV((double)((float)i1 - - * f6) + 0.5D, (double)i2, (double)((float)l - f7) + - * 0.5D, (double)(0.0F * f8), (double)((float)i2 * - * f8 / 4.0F + f10 * f8)); - * tessellator.setTranslation(0.0D, 0.0D, 0.0D); } - * else - */ - { - if (b1 != 1) { - if (b1 >= 0) { - tessellator.draw(); - } - - b1 = 1; - this.mc.getTextureManager().bindTexture(this.falloutTexture); - tessellator.startDrawingQuads(); - } - - f10 = ((float) (this.rendererUpdateCount & 511) + p_78474_1_) / 512.0F; - float f16 = this.random.nextFloat() + f5 * 0.01F * (float) this.random.nextGaussian(); - float f11 = this.random.nextFloat() + f5 * (float) this.random.nextGaussian() * 0.001F; - d4 = (double) ((float) i1 + 0.5F) - entitylivingbase.posX; - double d5 = (double) ((float) l + 0.5F) - entitylivingbase.posZ; - float f14 = MathHelper.sqrt_double(d4 * d4 + d5 * d5) / (float) b0; - float f15 = 1.0F; - tessellator.setBrightness( - (worldclient.getLightBrightnessForSkyBlocks(i1, j2, l, 0) * 3 + 15728880) / 4); - tessellator.setColorRGBA_F(f15, f15, f15, ((1.0F - f14 * f14) * 0.3F + 0.5F) * f1); - tessellator.setTranslation(-d0 * 1.0D, -d1 * 1.0D, -d2 * 1.0D); - tessellator.addVertexWithUV((double) ((float) i1 - f6) + 0.5D, (double) l1, - (double) ((float) l - f7) + 0.5D, (double) (0.0F * f8 + f16), - (double) ((float) l1 * f8 / 4.0F + f10 * f8 + f11)); - tessellator.addVertexWithUV((double) ((float) i1 + f6) + 0.5D, (double) l1, - (double) ((float) l + f7) + 0.5D, (double) (1.0F * f8 + f16), - (double) ((float) l1 * f8 / 4.0F + f10 * f8 + f11)); - tessellator.addVertexWithUV((double) ((float) i1 + f6) + 0.5D, (double) i2, - (double) ((float) l + f7) + 0.5D, (double) (1.0F * f8 + f16), - (double) ((float) i2 * f8 / 4.0F + f10 * f8 + f11)); - tessellator.addVertexWithUV((double) ((float) i1 - f6) + 0.5D, (double) i2, - (double) ((float) l - f7) + 0.5D, (double) (0.0F * f8 + f16), - (double) ((float) i2 * f8 / 4.0F + f10 * f8 + f11)); - tessellator.setTranslation(0.0D, 0.0D, 0.0D); - } - } - } - } - } - - if (b1 >= 0) { - tessellator.draw(); - // System.out.println("Fired!"); - } - - GL11.glEnable(GL11.GL_CULL_FACE); - GL11.glDisable(GL11.GL_BLEND); - GL11.glAlphaFunc(GL11.GL_GREATER, 0.1F); - // this.disableLightmap((double)p_78474_1_); - } - } - - /* - * public void enableLightmap(double p_78463_1_) { - * OpenGlHelper.setActiveTexture(OpenGlHelper.lightmapTexUnit); - * GL11.glMatrixMode(GL11.GL_TEXTURE); GL11.glLoadIdentity(); float f = - * 0.00390625F; GL11.glScalef(f, f, f); GL11.glTranslatef(8.0F, 8.0F, 8.0F); - * GL11.glMatrixMode(GL11.GL_MODELVIEW); - * this.mc.getTextureManager().bindTexture(this.locationLightMap); - * GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MIN_FILTER, - * GL11.GL_LINEAR); GL11.glTexParameteri(GL11.GL_TEXTURE_2D, - * GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_LINEAR); - * GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MIN_FILTER, - * GL11.GL_LINEAR); GL11.glTexParameteri(GL11.GL_TEXTURE_2D, - * GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_LINEAR); - * GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_WRAP_S, - * GL11.GL_CLAMP); GL11.glTexParameteri(GL11.GL_TEXTURE_2D, - * GL11.GL_TEXTURE_WRAP_T, GL11.GL_CLAMP); GL11.glColor4f(1.0F, 1.0F, 1.0F, - * 1.0F); GL11.glEnable(GL11.GL_TEXTURE_2D); - * OpenGlHelper.setActiveTexture(OpenGlHelper.defaultTexUnit); } - */ - -} diff --git a/com/hbm/render/RenderNoCloud.java b/com/hbm/render/RenderNoCloud.java deleted file mode 100644 index 0cd87711f..000000000 --- a/com/hbm/render/RenderNoCloud.java +++ /dev/null @@ -1,137 +0,0 @@ -package com.hbm.render; - -import java.util.Random; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.EntityNukeCloudNoShroom; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.RenderHelper; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderNoCloud extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/NukeCloudSmall.obj"); - private IModelCustom blastModel; - private ResourceLocation blastTexture; - private static final ResourceLocation ringModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Ring.obj"); - private IModelCustom ringModel; - private ResourceLocation ringTexture; - private static final ResourceLocation ringBigModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/RingBig.obj"); - private IModelCustom ringBigModel; - private ResourceLocation ringBigTexture; - public float scale = 0; - public float ring = 0; - - public RenderNoCloud() { - blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); - blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/NukeCloudFire.png"); - ringModel = AdvancedModelLoader.loadModel(ringModelRL); - ringTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); - ringBigModel = AdvancedModelLoader.loadModel(ringBigModelRL); - ringBigTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); - scale = 0; - ring = 0; - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - if(((EntityNukeCloudNoShroom)p_76986_1_).age > 100) - { } else { - this.renderFlare((EntityNukeCloudNoShroom)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } - this.renderRing((EntityNukeCloudNoShroom)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } - - public void renderRing(EntityNukeCloudNoShroom p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glTranslatef(0.0F, 18F, 0.0F); - //ring += 0.1F; - GL11.glScalef(p_76986_1_.ring * 10, 30F, p_76986_1_.ring * 10); - - bindTexture(ringTexture); - ringModel.renderAll(); - GL11.glPopMatrix(); - } - - public void renderFlare(EntityNukeCloudNoShroom p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - Tessellator tessellator = Tessellator.instance; - RenderHelper.disableStandardItemLighting(); - float f1 = (p_76986_1_.ticksExisted + 2.0F) / 200.0F; - float f2 = 0.0F; - int count = 250; - - if(p_76986_1_.ticksExisted < 250) - { - count = p_76986_1_.ticksExisted * 3; - } - - if (f1 > 0.8F) - { - f2 = (f1 - 0.8F) / 0.2F; - } - - Random random = new Random(432L); - GL11.glDisable(GL11.GL_TEXTURE_2D); - GL11.glShadeModel(GL11.GL_SMOOTH); - GL11.glEnable(GL11.GL_BLEND); - GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); - GL11.glDisable(GL11.GL_ALPHA_TEST); - GL11.glEnable(GL11.GL_CULL_FACE); - GL11.glDepthMask(false); - GL11.glPushMatrix(); - //GL11.glTranslatef(0.0F, -1.0F, -2.0F); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_ + 15, (float)p_76986_6_); - GL11.glScalef(5F, 5F, 5F); - - //for (int i = 0; (float)i < (f1 + f1 * f1) / 2.0F * 60.0F; ++i) - for(int i = 0; i < count; i++) - { - GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F + f1 * 90.0F, 0.0F, 0.0F, 1.0F); - tessellator.startDrawing(6); - float f3 = random.nextFloat() * 20.0F + 5.0F + f2 * 10.0F; - float f4 = random.nextFloat() * 2.0F + 1.0F + f2 * 2.0F; - //tessellator.setColorRGBA_I(16777215, (int)(255.0F * (1.0F - f2))); - tessellator.setColorRGBA_I(59345715, (int)(255.0F * (1.0F - f2))); - tessellator.addVertex(0.0D, 0.0D, 0.0D); - //tessellator.setColorRGBA_I(16711935, 0); - tessellator.setColorRGBA_I(59345735, 0); - tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); - tessellator.addVertex(0.866D * f4, f3, -0.5F * f4); - tessellator.addVertex(0.0D, f3, 1.0F * f4); - tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); - tessellator.draw(); - } - - GL11.glPopMatrix(); - GL11.glDepthMask(true); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glDisable(GL11.GL_BLEND); - GL11.glShadeModel(GL11.GL_FLAT); - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - GL11.glEnable(GL11.GL_TEXTURE_2D); - GL11.glEnable(GL11.GL_ALPHA_TEST); - RenderHelper.enableStandardItemLighting(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return null; - } -} diff --git a/com/hbm/render/entity/BSmokeRenderer.java b/com/hbm/render/entity/BSmokeRenderer.java index ea9f576d3..34488e666 100644 --- a/com/hbm/render/entity/BSmokeRenderer.java +++ b/com/hbm/render/entity/BSmokeRenderer.java @@ -1,143 +1,143 @@ -package com.hbm.render.entity; - -import java.util.ArrayList; -import java.util.List; -import java.util.Random; -import java.util.concurrent.Callable; - -import org.lwjgl.opengl.GL11; -import org.lwjgl.opengl.GL12; - -import com.hbm.entity.particle.EntityBSmokeFX; -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.particle.EntityDiggingFX; -import net.minecraft.client.particle.EntityFX; -import net.minecraft.client.renderer.ActiveRenderInfo; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.client.renderer.texture.TextureManager; -import net.minecraft.client.renderer.texture.TextureMap; -import net.minecraft.crash.CrashReport; -import net.minecraft.crash.CrashReportCategory; -import net.minecraft.entity.Entity; -import net.minecraft.entity.projectile.EntityPotion; -import net.minecraft.item.Item; -import net.minecraft.item.ItemPotion; -import net.minecraft.potion.PotionHelper; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.ReportedException; -import net.minecraft.util.ResourceLocation; -import net.minecraft.world.World; - -public class BSmokeRenderer extends Render { - private Item field_94151_a; - private int field_94150_f; - private static final String __OBFID = "CL_00001008"; - - public BSmokeRenderer(Item p_i1259_1_, int p_i1259_2_) { - this.field_94151_a = p_i1259_1_; - this.field_94150_f = p_i1259_2_; - } - - public BSmokeRenderer(Item p_i1260_1_) { - this(p_i1260_1_, 0); - } - - /** - * Actually renders the given argument. This is a synthetic bridge method, - * always casting down its argument and then handing it off to a worker - * function which does the actual work. In all probabilty, the class Render - * is generic (Render= fx.maxAge / 8 * 7) { - field_94151_a = ModItems.b_smoke8; - } - - if (fx.particleAge < fx.maxAge / 8 * 7 && fx.particleAge >= fx.maxAge / 8 * 6) { - field_94151_a = ModItems.b_smoke7; - } - - if (fx.particleAge < fx.maxAge / 8 * 6 && fx.particleAge >= fx.maxAge / 8 * 5) { - field_94151_a = ModItems.b_smoke6; - } - - if (fx.particleAge < fx.maxAge / 8 * 5 && fx.particleAge >= fx.maxAge / 8 * 4) { - field_94151_a = ModItems.b_smoke5; - } - - if (fx.particleAge < fx.maxAge / 8 * 4 && fx.particleAge >= fx.maxAge / 8 * 3) { - field_94151_a = ModItems.b_smoke4; - } - - if (fx.particleAge < fx.maxAge / 8 * 3 && fx.particleAge >= fx.maxAge / 8 * 2) { - field_94151_a = ModItems.b_smoke3; - } - - if (fx.particleAge < fx.maxAge / 8 * 2 && fx.particleAge >= fx.maxAge / 8 * 1) { - field_94151_a = ModItems.b_smoke2; - } - - if (fx.particleAge < fx.maxAge / 8 && fx.particleAge >= 0) { - field_94151_a = ModItems.b_smoke1; - } - - IIcon iicon = field_94151_a.getIconFromDamage(0); - - if (iicon != null) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); - GL11.glEnable(GL12.GL_RESCALE_NORMAL); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glScalef(7.5F, 7.5F, 7.5F); - this.bindEntityTexture(p_76986_1_); - Tessellator tessellator = Tessellator.instance; - - this.func_77026_a(tessellator, iicon); - GL11.glDisable(GL12.GL_RESCALE_NORMAL); - GL11.glPopMatrix(); - } - } - } - - /** - * Returns the location of an entity's texture. Doesn't seem to be called - * unless you call Render.bindEntityTexture. - */ - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return TextureMap.locationItemsTexture; - } - - private void func_77026_a(Tessellator p_77026_1_, IIcon p_77026_2_) { - float f = p_77026_2_.getMinU(); - float f1 = p_77026_2_.getMaxU(); - float f2 = p_77026_2_.getMinV(); - float f3 = p_77026_2_.getMaxV(); - float f4 = 1.0F; - float f5 = 0.5F; - float f6 = 0.25F; - GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); - p_77026_1_.startDrawingQuads(); - p_77026_1_.setNormal(0.0F, 1.0F, 0.0F); - p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (0.0F - f6), 0.0D, (double) f, (double) f3); - p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (0.0F - f6), 0.0D, (double) f1, (double) f3); - p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (f4 - f6), 0.0D, (double) f1, (double) f2); - p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (f4 - f6), 0.0D, (double) f, (double) f2); - p_77026_1_.draw(); - } -} +package com.hbm.render.entity; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; +import java.util.concurrent.Callable; + +import org.lwjgl.opengl.GL11; +import org.lwjgl.opengl.GL12; + +import com.hbm.entity.particle.EntityBSmokeFX; +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.particle.EntityDiggingFX; +import net.minecraft.client.particle.EntityFX; +import net.minecraft.client.renderer.ActiveRenderInfo; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.client.renderer.texture.TextureManager; +import net.minecraft.client.renderer.texture.TextureMap; +import net.minecraft.crash.CrashReport; +import net.minecraft.crash.CrashReportCategory; +import net.minecraft.entity.Entity; +import net.minecraft.entity.projectile.EntityPotion; +import net.minecraft.item.Item; +import net.minecraft.item.ItemPotion; +import net.minecraft.potion.PotionHelper; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.ReportedException; +import net.minecraft.util.ResourceLocation; +import net.minecraft.world.World; + +public class BSmokeRenderer extends Render { + private Item field_94151_a; + private int field_94150_f; + private static final String __OBFID = "CL_00001008"; + + public BSmokeRenderer(Item p_i1259_1_, int p_i1259_2_) { + this.field_94151_a = p_i1259_1_; + this.field_94150_f = p_i1259_2_; + } + + public BSmokeRenderer(Item p_i1260_1_) { + this(p_i1260_1_, 0); + } + + /** + * Actually renders the given argument. This is a synthetic bridge method, + * always casting down its argument and then handing it off to a worker + * function which does the actual work. In all probabilty, the class Render + * is generic (Render= fx.maxAge / 8 * 7) { + field_94151_a = ModItems.b_smoke8; + } + + if (fx.particleAge < fx.maxAge / 8 * 7 && fx.particleAge >= fx.maxAge / 8 * 6) { + field_94151_a = ModItems.b_smoke7; + } + + if (fx.particleAge < fx.maxAge / 8 * 6 && fx.particleAge >= fx.maxAge / 8 * 5) { + field_94151_a = ModItems.b_smoke6; + } + + if (fx.particleAge < fx.maxAge / 8 * 5 && fx.particleAge >= fx.maxAge / 8 * 4) { + field_94151_a = ModItems.b_smoke5; + } + + if (fx.particleAge < fx.maxAge / 8 * 4 && fx.particleAge >= fx.maxAge / 8 * 3) { + field_94151_a = ModItems.b_smoke4; + } + + if (fx.particleAge < fx.maxAge / 8 * 3 && fx.particleAge >= fx.maxAge / 8 * 2) { + field_94151_a = ModItems.b_smoke3; + } + + if (fx.particleAge < fx.maxAge / 8 * 2 && fx.particleAge >= fx.maxAge / 8 * 1) { + field_94151_a = ModItems.b_smoke2; + } + + if (fx.particleAge < fx.maxAge / 8 && fx.particleAge >= 0) { + field_94151_a = ModItems.b_smoke1; + } + + IIcon iicon = field_94151_a.getIconFromDamage(0); + + if (iicon != null) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glEnable(GL12.GL_RESCALE_NORMAL); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glScalef(7.5F, 7.5F, 7.5F); + this.bindEntityTexture(p_76986_1_); + Tessellator tessellator = Tessellator.instance; + + this.func_77026_a(tessellator, iicon); + GL11.glDisable(GL12.GL_RESCALE_NORMAL); + GL11.glPopMatrix(); + } + } + } + + /** + * Returns the location of an entity's texture. Doesn't seem to be called + * unless you call Render.bindEntityTexture. + */ + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return TextureMap.locationItemsTexture; + } + + private void func_77026_a(Tessellator p_77026_1_, IIcon p_77026_2_) { + float f = p_77026_2_.getMinU(); + float f1 = p_77026_2_.getMaxU(); + float f2 = p_77026_2_.getMinV(); + float f3 = p_77026_2_.getMaxV(); + float f4 = 1.0F; + float f5 = 0.5F; + float f6 = 0.25F; + GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); + p_77026_1_.startDrawingQuads(); + p_77026_1_.setNormal(0.0F, 1.0F, 0.0F); + p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (0.0F - f6), 0.0D, (double) f, (double) f3); + p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (0.0F - f6), 0.0D, (double) f1, (double) f3); + p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (f4 - f6), 0.0D, (double) f1, (double) f2); + p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (f4 - f6), 0.0D, (double) f, (double) f2); + p_77026_1_.draw(); + } +} diff --git a/com/hbm/render/entity/DSmokeRenderer.java b/com/hbm/render/entity/DSmokeRenderer.java new file mode 100644 index 000000000..3bfa628df --- /dev/null +++ b/com/hbm/render/entity/DSmokeRenderer.java @@ -0,0 +1,138 @@ +package com.hbm.render.entity; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; +import java.util.concurrent.Callable; + +import org.lwjgl.opengl.GL11; +import org.lwjgl.opengl.GL12; + +import com.hbm.entity.particle.EntityDSmokeFX; +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.particle.EntityDiggingFX; +import net.minecraft.client.particle.EntityFX; +import net.minecraft.client.renderer.ActiveRenderInfo; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.client.renderer.texture.TextureManager; +import net.minecraft.client.renderer.texture.TextureMap; +import net.minecraft.crash.CrashReport; +import net.minecraft.crash.CrashReportCategory; +import net.minecraft.entity.Entity; +import net.minecraft.entity.projectile.EntityPotion; +import net.minecraft.item.Item; +import net.minecraft.item.ItemPotion; +import net.minecraft.potion.PotionHelper; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.ReportedException; +import net.minecraft.util.ResourceLocation; +import net.minecraft.world.World; + +public class DSmokeRenderer extends Render { + private Item field_94151_a; + private int field_94150_f; + private static final String __OBFID = "CL_00001008"; + + public DSmokeRenderer(Item p_i1259_1_, int p_i1259_2_) { + this.field_94151_a = p_i1259_1_; + this.field_94150_f = p_i1259_2_; + } + + public DSmokeRenderer(Item p_i1260_1_) { + this(p_i1260_1_, 0); + } + + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, + float p_76986_9_) { + + if (p_76986_1_ instanceof EntityDSmokeFX) { + EntityDSmokeFX fx = (EntityDSmokeFX) p_76986_1_; + + if (fx.particleAge <= fx.maxAge && fx.particleAge >= fx.maxAge / 8 * 7) { + field_94151_a = ModItems.d_smoke8; + } + + if (fx.particleAge < fx.maxAge / 8 * 7 && fx.particleAge >= fx.maxAge / 8 * 6) { + field_94151_a = ModItems.d_smoke7; + } + + if (fx.particleAge < fx.maxAge / 8 * 6 && fx.particleAge >= fx.maxAge / 8 * 5) { + field_94151_a = ModItems.d_smoke6; + } + + if (fx.particleAge < fx.maxAge / 8 * 5 && fx.particleAge >= fx.maxAge / 8 * 4) { + field_94151_a = ModItems.d_smoke5; + } + + if (fx.particleAge < fx.maxAge / 8 * 4 && fx.particleAge >= fx.maxAge / 8 * 3) { + field_94151_a = ModItems.d_smoke4; + } + + if (fx.particleAge < fx.maxAge / 8 * 3 && fx.particleAge >= fx.maxAge / 8 * 2) { + field_94151_a = ModItems.d_smoke3; + } + + if (fx.particleAge < fx.maxAge / 8 * 2 && fx.particleAge >= fx.maxAge / 8 * 1) { + field_94151_a = ModItems.d_smoke2; + } + + if (fx.particleAge < fx.maxAge / 8 && fx.particleAge >= 0) { + field_94151_a = ModItems.d_smoke1; + } + + IIcon iicon = field_94151_a.getIconFromDamage(0); + + if (iicon != null) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glEnable(GL12.GL_RESCALE_NORMAL); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glScalef(7.5F, 7.5F, 7.5F); + // + //GL11.glScalef(0.5F, 0.5F, 0.5F); + // + this.bindEntityTexture(p_76986_1_); + Tessellator tessellator = Tessellator.instance; + + this.func_77026_a(tessellator, iicon); + GL11.glDisable(GL12.GL_RESCALE_NORMAL); + GL11.glPopMatrix(); + } + } + } + + /** + * Returns the location of an entity's texture. Doesn't seem to be called + * unless you call Render.bindEntityTexture. + */ + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return TextureMap.locationItemsTexture; + } + + private void func_77026_a(Tessellator p_77026_1_, IIcon p_77026_2_) { + float f = p_77026_2_.getMinU(); + float f1 = p_77026_2_.getMaxU(); + float f2 = p_77026_2_.getMinV(); + float f3 = p_77026_2_.getMaxV(); + float f4 = 1.0F; + float f5 = 0.5F; + float f6 = 0.25F; + GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); + p_77026_1_.startDrawingQuads(); + p_77026_1_.setNormal(0.0F, 1.0F, 0.0F); + p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (0.0F - f6), 0.0D, (double) f, (double) f3); + p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (0.0F - f6), 0.0D, (double) f1, (double) f3); + p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (f4 - f6), 0.0D, (double) f1, (double) f2); + p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (f4 - f6), 0.0D, (double) f, (double) f2); + p_77026_1_.draw(); + } +} diff --git a/com/hbm/render/entity/ModEffectRenderer.java b/com/hbm/render/entity/ModEffectRenderer.java index fe1c3e0d9..d87863277 100644 --- a/com/hbm/render/entity/ModEffectRenderer.java +++ b/com/hbm/render/entity/ModEffectRenderer.java @@ -1,142 +1,142 @@ -package com.hbm.render.entity; - -import java.util.ArrayList; -import java.util.List; -import java.util.Random; -import java.util.concurrent.Callable; - -import org.lwjgl.opengl.GL11; -import org.lwjgl.opengl.GL12; - -import com.hbm.entity.particle.EntitySmokeFX; -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.client.particle.EntityDiggingFX; -import net.minecraft.client.particle.EntityFX; -import net.minecraft.client.renderer.ActiveRenderInfo; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.client.renderer.texture.IIconRegister; -import net.minecraft.client.renderer.texture.TextureManager; -import net.minecraft.client.renderer.texture.TextureMap; -import net.minecraft.crash.CrashReport; -import net.minecraft.crash.CrashReportCategory; -import net.minecraft.entity.Entity; -import net.minecraft.entity.projectile.EntityPotion; -import net.minecraft.item.Item; -import net.minecraft.item.ItemPotion; -import net.minecraft.potion.PotionHelper; -import net.minecraft.util.IIcon; -import net.minecraft.util.MathHelper; -import net.minecraft.util.MovingObjectPosition; -import net.minecraft.util.ReportedException; -import net.minecraft.util.ResourceLocation; -import net.minecraft.world.World; - -public class ModEffectRenderer extends Render { - private Item field_94151_a; - private int field_94150_f; - private static final String __OBFID = "CL_00001008"; - - public ModEffectRenderer(Item p_i1259_1_, int p_i1259_2_) { - this.field_94151_a = p_i1259_1_; - this.field_94150_f = p_i1259_2_; - } - - public ModEffectRenderer(Item p_i1260_1_) { - this(p_i1260_1_, 0); - } - - /** - * Actually renders the given argument. This is a synthetic bridge method, - * always casting down its argument and then handing it off to a worker - * function which does the actual work. In all probabilty, the class Render - * is generic (Render= fx.maxAge / 8 * 7) { - field_94151_a = ModItems.smoke8; - } - - if (fx.particleAge < fx.maxAge / 8 * 7 && fx.particleAge >= fx.maxAge / 8 * 6) { - field_94151_a = ModItems.smoke7; - } - - if (fx.particleAge < fx.maxAge / 8 * 6 && fx.particleAge >= fx.maxAge / 8 * 5) { - field_94151_a = ModItems.smoke6; - } - - if (fx.particleAge < fx.maxAge / 8 * 5 && fx.particleAge >= fx.maxAge / 8 * 4) { - field_94151_a = ModItems.smoke5; - } - - if (fx.particleAge < fx.maxAge / 8 * 4 && fx.particleAge >= fx.maxAge / 8 * 3) { - field_94151_a = ModItems.smoke4; - } - - if (fx.particleAge < fx.maxAge / 8 * 3 && fx.particleAge >= fx.maxAge / 8 * 2) { - field_94151_a = ModItems.smoke3; - } - - if (fx.particleAge < fx.maxAge / 8 * 2 && fx.particleAge >= fx.maxAge / 8 * 1) { - field_94151_a = ModItems.smoke2; - } - - if (fx.particleAge < fx.maxAge / 8 && fx.particleAge >= 0) { - field_94151_a = ModItems.smoke1; - } - - IIcon iicon = field_94151_a.getIconFromDamage(0); - - if (iicon != null) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); - GL11.glEnable(GL12.GL_RESCALE_NORMAL); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glScalef(7.5F, 7.5F, 7.5F); - this.bindEntityTexture(p_76986_1_); - Tessellator tessellator = Tessellator.instance; - - this.func_77026_a(tessellator, iicon); - GL11.glDisable(GL12.GL_RESCALE_NORMAL); - GL11.glPopMatrix(); - } - } - } - - /** - * Returns the location of an entity's texture. Doesn't seem to be called - * unless you call Render.bindEntityTexture. - */ - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return TextureMap.locationItemsTexture; - } - - private void func_77026_a(Tessellator p_77026_1_, IIcon p_77026_2_) { - float f = p_77026_2_.getMinU(); - float f1 = p_77026_2_.getMaxU(); - float f2 = p_77026_2_.getMinV(); - float f3 = p_77026_2_.getMaxV(); - float f4 = 1.0F; - float f5 = 0.5F; - float f6 = 0.25F; - GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); - p_77026_1_.startDrawingQuads(); - p_77026_1_.setNormal(0.0F, 1.0F, 0.0F); - p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (0.0F - f6), 0.0D, (double) f, (double) f3); - p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (0.0F - f6), 0.0D, (double) f1, (double) f3); - p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (f4 - f6), 0.0D, (double) f1, (double) f2); - p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (f4 - f6), 0.0D, (double) f, (double) f2); - p_77026_1_.draw(); - } -} +package com.hbm.render.entity; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; +import java.util.concurrent.Callable; + +import org.lwjgl.opengl.GL11; +import org.lwjgl.opengl.GL12; + +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.particle.EntityDiggingFX; +import net.minecraft.client.particle.EntityFX; +import net.minecraft.client.renderer.ActiveRenderInfo; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.client.renderer.texture.TextureManager; +import net.minecraft.client.renderer.texture.TextureMap; +import net.minecraft.crash.CrashReport; +import net.minecraft.crash.CrashReportCategory; +import net.minecraft.entity.Entity; +import net.minecraft.entity.projectile.EntityPotion; +import net.minecraft.item.Item; +import net.minecraft.item.ItemPotion; +import net.minecraft.potion.PotionHelper; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.ReportedException; +import net.minecraft.util.ResourceLocation; +import net.minecraft.world.World; + +public class ModEffectRenderer extends Render { + private Item field_94151_a; + private int field_94150_f; + private static final String __OBFID = "CL_00001008"; + + public ModEffectRenderer(Item p_i1259_1_, int p_i1259_2_) { + this.field_94151_a = p_i1259_1_; + this.field_94150_f = p_i1259_2_; + } + + public ModEffectRenderer(Item p_i1260_1_) { + this(p_i1260_1_, 0); + } + + /** + * Actually renders the given argument. This is a synthetic bridge method, + * always casting down its argument and then handing it off to a worker + * function which does the actual work. In all probabilty, the class Render + * is generic (Render= fx.maxAge / 8 * 7) { + field_94151_a = ModItems.smoke8; + } + + if (fx.particleAge < fx.maxAge / 8 * 7 && fx.particleAge >= fx.maxAge / 8 * 6) { + field_94151_a = ModItems.smoke7; + } + + if (fx.particleAge < fx.maxAge / 8 * 6 && fx.particleAge >= fx.maxAge / 8 * 5) { + field_94151_a = ModItems.smoke6; + } + + if (fx.particleAge < fx.maxAge / 8 * 5 && fx.particleAge >= fx.maxAge / 8 * 4) { + field_94151_a = ModItems.smoke5; + } + + if (fx.particleAge < fx.maxAge / 8 * 4 && fx.particleAge >= fx.maxAge / 8 * 3) { + field_94151_a = ModItems.smoke4; + } + + if (fx.particleAge < fx.maxAge / 8 * 3 && fx.particleAge >= fx.maxAge / 8 * 2) { + field_94151_a = ModItems.smoke3; + } + + if (fx.particleAge < fx.maxAge / 8 * 2 && fx.particleAge >= fx.maxAge / 8 * 1) { + field_94151_a = ModItems.smoke2; + } + + if (fx.particleAge < fx.maxAge / 8 && fx.particleAge >= 0) { + field_94151_a = ModItems.smoke1; + } + + IIcon iicon = field_94151_a.getIconFromDamage(0); + + if (iicon != null) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glEnable(GL12.GL_RESCALE_NORMAL); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glScalef(7.5F, 7.5F, 7.5F); + this.bindEntityTexture(p_76986_1_); + Tessellator tessellator = Tessellator.instance; + + this.func_77026_a(tessellator, iicon); + GL11.glDisable(GL12.GL_RESCALE_NORMAL); + GL11.glPopMatrix(); + } + } + } + + /** + * Returns the location of an entity's texture. Doesn't seem to be called + * unless you call Render.bindEntityTexture. + */ + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return TextureMap.locationItemsTexture; + } + + private void func_77026_a(Tessellator p_77026_1_, IIcon p_77026_2_) { + float f = p_77026_2_.getMinU(); + float f1 = p_77026_2_.getMaxU(); + float f2 = p_77026_2_.getMinV(); + float f3 = p_77026_2_.getMaxV(); + float f4 = 1.0F; + float f5 = 0.5F; + float f6 = 0.25F; + GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); + p_77026_1_.startDrawingQuads(); + p_77026_1_.setNormal(0.0F, 1.0F, 0.0F); + p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (0.0F - f6), 0.0D, (double) f, (double) f3); + p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (0.0F - f6), 0.0D, (double) f1, (double) f3); + p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (f4 - f6), 0.0D, (double) f1, (double) f2); + p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (f4 - f6), 0.0D, (double) f, (double) f2); + p_77026_1_.draw(); + } +} diff --git a/com/hbm/render/entity/RenderBeam2.java b/com/hbm/render/entity/RenderBeam2.java new file mode 100644 index 000000000..af53d34fc --- /dev/null +++ b/com/hbm/render/entity/RenderBeam2.java @@ -0,0 +1,86 @@ +package com.hbm.render.entity; + +import java.util.Random; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.projectile.EntityPlasmaBeam; +import com.hbm.entity.projectile.EntityRainbow; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelBullet; +import com.hbm.render.model.ModelMiniNuke; + +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class RenderBeam2 extends Render { + + Random rand = new Random(); + + @Override + public void doRender(Entity rocket, double x, double y, double z, float p_76986_8_, float p_76986_9_) { + float radius = 0.12F; + //float radius = 0.06F; + int distance = 4; + Tessellator tessellator = Tessellator.instance; + + GL11.glPushMatrix(); + GL11.glDisable(GL11.GL_TEXTURE_2D); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glEnable(GL11.GL_BLEND); + GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); + GL11.glTranslatef((float) x, (float) y, (float) z); + + GL11.glRotatef(rocket.rotationYaw, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-rocket.rotationPitch, 1.0F, 0.0F, 0.0F); + + boolean red = true; + boolean green = true; + boolean blue = true; + + for (float o = 0; o <= radius; o += radius / 8) { + float color = 1f - (o * 8.333f); + if (color < 0) + color = 0; + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 + o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 + o, 0); + tessellator.addVertex(0 + o, 0 + o, 0 + distance); + tessellator.addVertex(0 + o, 0 - o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 - o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 - o, 0 + distance); + tessellator.addVertex(0 - o, 0 - o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 - o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 - o, 0); + tessellator.addVertex(0 - o, 0 - o, 0 + distance); + tessellator.addVertex(0 - o, 0 + o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 + o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 + o, 0 + distance); + tessellator.addVertex(0 + o, 0 + o, 0 + distance); + tessellator.draw(); + } + GL11.glDisable(GL11.GL_BLEND); + GL11.glEnable(GL11.GL_TEXTURE_2D); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/PlasmaBeam.png"); + } +} diff --git a/com/hbm/render/entity/RenderBeam3.java b/com/hbm/render/entity/RenderBeam3.java new file mode 100644 index 000000000..ea5559a55 --- /dev/null +++ b/com/hbm/render/entity/RenderBeam3.java @@ -0,0 +1,86 @@ +package com.hbm.render.entity; + +import java.util.Random; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.projectile.EntityPlasmaBeam; +import com.hbm.entity.projectile.EntityRainbow; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelBullet; +import com.hbm.render.model.ModelMiniNuke; + +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class RenderBeam3 extends Render { + + Random rand = new Random(); + + @Override + public void doRender(Entity rocket, double x, double y, double z, float p_76986_8_, float p_76986_9_) { + float radius = 0.12F; + //float radius = 0.06F; + int distance = 4; + Tessellator tessellator = Tessellator.instance; + + GL11.glPushMatrix(); + GL11.glDisable(GL11.GL_TEXTURE_2D); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glEnable(GL11.GL_BLEND); + GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); + GL11.glTranslatef((float) x, (float) y, (float) z); + + GL11.glRotatef(rocket.rotationYaw, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-rocket.rotationPitch, 1.0F, 0.0F, 0.0F); + + boolean red = true; + boolean green = false; + boolean blue = true; + + for (float o = 0; o <= radius; o += radius / 8) { + float color = 1f - (o * 8.333f); + if (color < 0) + color = 0; + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 + o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 + o, 0); + tessellator.addVertex(0 + o, 0 + o, 0 + distance); + tessellator.addVertex(0 + o, 0 - o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 - o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 - o, 0 + distance); + tessellator.addVertex(0 - o, 0 - o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 - o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 - o, 0); + tessellator.addVertex(0 - o, 0 - o, 0 + distance); + tessellator.addVertex(0 - o, 0 + o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 + o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 + o, 0 + distance); + tessellator.addVertex(0 + o, 0 + o, 0 + distance); + tessellator.draw(); + } + GL11.glDisable(GL11.GL_BLEND); + GL11.glEnable(GL11.GL_TEXTURE_2D); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/PlasmaBeam.png"); + } +} diff --git a/com/hbm/render/entity/RenderBigNuke.java b/com/hbm/render/entity/RenderBigNuke.java index 2dd0666d4..01ed58354 100644 --- a/com/hbm/render/entity/RenderBigNuke.java +++ b/com/hbm/render/entity/RenderBigNuke.java @@ -1,179 +1,179 @@ -package com.hbm.render.entity; - -import java.util.Random; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.effect.EntityNukeCloudBig; -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.RenderHelper; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderBigNuke extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/NukeCloudHuge.obj"); - private IModelCustom blastModel; - private ResourceLocation blastTexture; - private static final ResourceLocation ringModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Ring.obj"); - private IModelCustom ringModel; - private ResourceLocation ringTexture; - private static final ResourceLocation ringBigModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/RingBig.obj"); - private IModelCustom ringBigModel; - private ResourceLocation ringBigTexture; - public float scale = 0; - public float ring = 0; - - public RenderBigNuke() { - blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); - blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/NukeCloudFire.png"); - ringModel = AdvancedModelLoader.loadModel(ringModelRL); - ringTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); - ringBigModel = AdvancedModelLoader.loadModel(ringBigModelRL); - ringBigTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); - scale = 0; - ring = 0; - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - if(((EntityNukeCloudBig)p_76986_1_).age > 100) - { - this.renderMush((EntityNukeCloudBig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - this.renderCloud((EntityNukeCloudBig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } else { - this.renderFlare((EntityNukeCloudBig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } - this.renderRing((EntityNukeCloudBig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } - - public void renderMush(EntityNukeCloudBig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - if(p_76986_1_.age < 150) - { - //GL11.glTranslatef(0.0F, -60F + ((p_76986_1_.age - 100) * 60 / 50), 0.0F); - GL11.glTranslatef(0.0F, p_76986_1_.height, 0.0F); - } - GL11.glScalef(10.0F, 10.0F, 10.0F); - - bindTexture(blastTexture); - blastModel.renderAll(); - GL11.glPopMatrix(); - } - - public void renderCloud(EntityNukeCloudBig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glTranslatef(0.0F, 80F, 0.0F); - /*if(scale < 1.5) - { - scale += 0.02; - }*/ - GL11.glScalef(p_76986_1_.scale, 1.0F, p_76986_1_.scale); - GL11.glScalef(125F, 25.0F, 125F); - - bindTexture(ringBigTexture); - ringBigModel.renderAll(); - GL11.glPopMatrix(); - } - - public void renderRing(EntityNukeCloudBig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glTranslatef(0.0F, 23F, 0.0F); - //ring += 0.1F; - GL11.glScalef(p_76986_1_.ring * 10, 50F, p_76986_1_.ring * 10); - - bindTexture(ringTexture); - ringModel.renderAll(); - GL11.glPopMatrix(); - } - - public void renderFlare(EntityNukeCloudBig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - Tessellator tessellator = Tessellator.instance; - RenderHelper.disableStandardItemLighting(); - float f1 = (p_76986_1_.ticksExisted + 2.0F) / 200.0F; - float f2 = 0.0F; - int count = 250; - - if(p_76986_1_.ticksExisted < 250) - { - count = p_76986_1_.ticksExisted * 3; - } - - if (f1 > 0.8F) - { - f2 = (f1 - 0.8F) / 0.2F; - } - - Random random = new Random(432L); - GL11.glDisable(GL11.GL_TEXTURE_2D); - GL11.glShadeModel(GL11.GL_SMOOTH); - GL11.glEnable(GL11.GL_BLEND); - GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); - GL11.glDisable(GL11.GL_ALPHA_TEST); - GL11.glEnable(GL11.GL_CULL_FACE); - GL11.glDepthMask(false); - GL11.glPushMatrix(); - //GL11.glTranslatef(0.0F, -1.0F, -2.0F); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_ + 15, (float)p_76986_6_); - GL11.glScalef(7.5F, 7.5F, 7.5F); - - //for (int i = 0; (float)i < (f1 + f1 * f1) / 2.0F * 60.0F; ++i) - for(int i = 0; i < count; i++) - { - GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F + f1 * 90.0F, 0.0F, 0.0F, 1.0F); - tessellator.startDrawing(6); - float f3 = random.nextFloat() * 20.0F + 5.0F + f2 * 10.0F; - float f4 = random.nextFloat() * 2.0F + 1.0F + f2 * 2.0F; - //tessellator.setColorRGBA_I(16777215, (int)(255.0F * (1.0F - f2))); - tessellator.setColorRGBA_I(59345715, (int)(255.0F * (1.0F - f2))); - tessellator.addVertex(0.0D, 0.0D, 0.0D); - //tessellator.setColorRGBA_I(16711935, 0); - tessellator.setColorRGBA_I(59345735, 0); - tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); - tessellator.addVertex(0.866D * f4, f3, -0.5F * f4); - tessellator.addVertex(0.0D, f3, 1.0F * f4); - tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); - tessellator.draw(); - } - - GL11.glPopMatrix(); - GL11.glDepthMask(true); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glDisable(GL11.GL_BLEND); - GL11.glShadeModel(GL11.GL_FLAT); - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - GL11.glEnable(GL11.GL_TEXTURE_2D); - GL11.glEnable(GL11.GL_ALPHA_TEST); - RenderHelper.enableStandardItemLighting(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return null; - } - -} +package com.hbm.render.entity; + +import java.util.Random; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.effect.EntityNukeCloudBig; +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.RenderHelper; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderBigNuke extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/NukeCloudHuge.obj"); + private IModelCustom blastModel; + private ResourceLocation blastTexture; + private static final ResourceLocation ringModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Ring.obj"); + private IModelCustom ringModel; + private ResourceLocation ringTexture; + private static final ResourceLocation ringBigModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/RingBig.obj"); + private IModelCustom ringBigModel; + private ResourceLocation ringBigTexture; + public float scale = 0; + public float ring = 0; + + public RenderBigNuke() { + blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); + blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/NukeCloudFire.png"); + ringModel = AdvancedModelLoader.loadModel(ringModelRL); + ringTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); + ringBigModel = AdvancedModelLoader.loadModel(ringBigModelRL); + ringBigTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); + scale = 0; + ring = 0; + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + if(((EntityNukeCloudBig)p_76986_1_).age > 100) + { + this.renderMush((EntityNukeCloudBig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + this.renderCloud((EntityNukeCloudBig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + } else { + this.renderFlare((EntityNukeCloudBig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + } + this.renderRing((EntityNukeCloudBig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + } + + public void renderMush(EntityNukeCloudBig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + if(p_76986_1_.age < 150) + { + //GL11.glTranslatef(0.0F, -60F + ((p_76986_1_.age - 100) * 60 / 50), 0.0F); + GL11.glTranslatef(0.0F, p_76986_1_.height, 0.0F); + } + GL11.glScalef(10.0F, 10.0F, 10.0F); + + bindTexture(blastTexture); + blastModel.renderAll(); + GL11.glPopMatrix(); + } + + public void renderCloud(EntityNukeCloudBig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glTranslatef(0.0F, 80F, 0.0F); + /*if(scale < 1.5) + { + scale += 0.02; + }*/ + GL11.glScalef(p_76986_1_.scale, 1.0F, p_76986_1_.scale); + GL11.glScalef(125F, 25.0F, 125F); + + bindTexture(ringBigTexture); + ringBigModel.renderAll(); + GL11.glPopMatrix(); + } + + public void renderRing(EntityNukeCloudBig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glTranslatef(0.0F, 23F, 0.0F); + //ring += 0.1F; + GL11.glScalef(p_76986_1_.ring * 10, 50F, p_76986_1_.ring * 10); + + bindTexture(ringTexture); + ringModel.renderAll(); + GL11.glPopMatrix(); + } + + public void renderFlare(EntityNukeCloudBig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + Tessellator tessellator = Tessellator.instance; + RenderHelper.disableStandardItemLighting(); + float f1 = (p_76986_1_.ticksExisted + 2.0F) / 200.0F; + float f2 = 0.0F; + int count = 250; + + if(p_76986_1_.ticksExisted < 250) + { + count = p_76986_1_.ticksExisted * 3; + } + + if (f1 > 0.8F) + { + f2 = (f1 - 0.8F) / 0.2F; + } + + Random random = new Random(432L); + GL11.glDisable(GL11.GL_TEXTURE_2D); + GL11.glShadeModel(GL11.GL_SMOOTH); + GL11.glEnable(GL11.GL_BLEND); + GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); + GL11.glDisable(GL11.GL_ALPHA_TEST); + GL11.glEnable(GL11.GL_CULL_FACE); + GL11.glDepthMask(false); + GL11.glPushMatrix(); + //GL11.glTranslatef(0.0F, -1.0F, -2.0F); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_ + 15, (float)p_76986_6_); + GL11.glScalef(7.5F, 7.5F, 7.5F); + + //for (int i = 0; (float)i < (f1 + f1 * f1) / 2.0F * 60.0F; ++i) + for(int i = 0; i < count; i++) + { + GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F + f1 * 90.0F, 0.0F, 0.0F, 1.0F); + tessellator.startDrawing(6); + float f3 = random.nextFloat() * 20.0F + 5.0F + f2 * 10.0F; + float f4 = random.nextFloat() * 2.0F + 1.0F + f2 * 2.0F; + //tessellator.setColorRGBA_I(16777215, (int)(255.0F * (1.0F - f2))); + tessellator.setColorRGBA_I(59345715, (int)(255.0F * (1.0F - f2))); + tessellator.addVertex(0.0D, 0.0D, 0.0D); + //tessellator.setColorRGBA_I(16711935, 0); + tessellator.setColorRGBA_I(59345735, 0); + tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); + tessellator.addVertex(0.866D * f4, f3, -0.5F * f4); + tessellator.addVertex(0.0D, f3, 1.0F * f4); + tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); + tessellator.draw(); + } + + GL11.glPopMatrix(); + GL11.glDepthMask(true); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glDisable(GL11.GL_BLEND); + GL11.glShadeModel(GL11.GL_FLAT); + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + GL11.glEnable(GL11.GL_TEXTURE_2D); + GL11.glEnable(GL11.GL_ALPHA_TEST); + RenderHelper.enableStandardItemLighting(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return null; + } + +} diff --git a/com/hbm/render/entity/RenderChopperMine.java b/com/hbm/render/entity/RenderChopperMine.java index 98cc2b6b1..2291eb90a 100644 --- a/com/hbm/render/entity/RenderChopperMine.java +++ b/com/hbm/render/entity/RenderChopperMine.java @@ -1,39 +1,39 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelChopperMine; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; - -public class RenderChopperMine extends Render { - - ModelChopperMine mine; - - public RenderChopperMine() { - mine = new ModelChopperMine(); - } - - @Override - public void doRender(Entity rocket, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, - float p_76986_9_) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); - GL11.glScalef(1.5F, 1.5F, 1.5F); - GL11.glRotatef(180, 1, 0, 0); - - bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/chopperBomb.png")); - - mine.renderAll(0.0625F); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID + ":textures/models/chopperBomb.png"); - } -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelChopperMine; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class RenderChopperMine extends Render { + + ModelChopperMine mine; + + public RenderChopperMine() { + mine = new ModelChopperMine(); + } + + @Override + public void doRender(Entity rocket, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, + float p_76986_9_) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glScalef(1.5F, 1.5F, 1.5F); + GL11.glRotatef(180, 1, 0, 0); + + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/chopperBomb.png")); + + mine.renderAll(0.0625F); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/chopperBomb.png"); + } +} diff --git a/com/hbm/render/entity/RenderCloudFleija.java b/com/hbm/render/entity/RenderCloudFleija.java index c389457d7..d200a13a1 100644 --- a/com/hbm/render/entity/RenderCloudFleija.java +++ b/com/hbm/render/entity/RenderCloudFleija.java @@ -1,59 +1,59 @@ -package com.hbm.render.entity; - -import java.util.Random; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.effect.EntityCloudFleija; -import com.hbm.entity.effect.EntityNukeCloudBig; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.RenderHelper; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderCloudFleija extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Sphere.obj"); - private IModelCustom blastModel; - private ResourceLocation blastTexture; - public float scale = 0; - public float ring = 0; - - public RenderCloudFleija() { - blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); - blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/BlastFleija.png"); - scale = 0; - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - render((EntityCloudFleija)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } - - public void render(EntityCloudFleija cloud, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - //if(cloud.age < 150) - { - //GL11.glTranslatef(0.0F, -60F + ((p_76986_1_.age - 100) * 60 / 50), 0.0F); - GL11.glTranslatef(0.0F, 0.0F, 0.0F); - } - GL11.glScalef(cloud.age, cloud.age, cloud.age); - - bindTexture(blastTexture); - blastModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return null; - } -} +package com.hbm.render.entity; + +import java.util.Random; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.effect.EntityCloudFleija; +import com.hbm.entity.effect.EntityNukeCloudBig; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.RenderHelper; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderCloudFleija extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Sphere.obj"); + private IModelCustom blastModel; + private ResourceLocation blastTexture; + public float scale = 0; + public float ring = 0; + + public RenderCloudFleija() { + blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); + blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/BlastFleija.png"); + scale = 0; + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + render((EntityCloudFleija)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + } + + public void render(EntityCloudFleija cloud, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + //if(cloud.age < 150) + { + //GL11.glTranslatef(0.0F, -60F + ((p_76986_1_.age - 100) * 60 / 50), 0.0F); + GL11.glTranslatef(0.0F, 0.0F, 0.0F); + } + GL11.glScalef(cloud.age, cloud.age, cloud.age); + + bindTexture(blastTexture); + blastModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return null; + } +} diff --git a/com/hbm/render/entity/RenderFlare.java b/com/hbm/render/entity/RenderFlare.java index 96bbbf59a..283703061 100644 --- a/com/hbm/render/entity/RenderFlare.java +++ b/com/hbm/render/entity/RenderFlare.java @@ -1,86 +1,86 @@ -package com.hbm.render.entity; - -import java.util.Random; - -import org.lwjgl.opengl.GL11; - -import net.minecraft.client.renderer.RenderHelper; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; - -public class RenderFlare extends Render { - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - Tessellator tessellator = Tessellator.instance; - RenderHelper.disableStandardItemLighting(); - float f1 = (p_76986_1_.ticksExisted + 2.0F) / 200.0F; - float f2 = 0.0F; - int count = 250; - - if(p_76986_1_.ticksExisted < 250) - { - count = p_76986_1_.ticksExisted * 3; - } - - if (f1 > 0.8F) - { - f2 = (f1 - 0.8F) / 0.2F; - } - - Random random = new Random(432L); - GL11.glDisable(GL11.GL_TEXTURE_2D); - GL11.glShadeModel(GL11.GL_SMOOTH); - GL11.glEnable(GL11.GL_BLEND); - GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); - GL11.glDisable(GL11.GL_ALPHA_TEST); - GL11.glEnable(GL11.GL_CULL_FACE); - GL11.glDepthMask(false); - GL11.glPushMatrix(); - //GL11.glTranslatef(0.0F, -1.0F, -2.0F); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - - //for (int i = 0; (float)i < (f1 + f1 * f1) / 2.0F * 60.0F; ++i) - for(int i = 0; i < count; i++) - { - GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F + f1 * 90.0F, 0.0F, 0.0F, 1.0F); - tessellator.startDrawing(6); - float f3 = random.nextFloat() * 20.0F + 5.0F + f2 * 10.0F; - float f4 = random.nextFloat() * 2.0F + 1.0F + f2 * 2.0F; - //tessellator.setColorRGBA_I(16777215, (int)(255.0F * (1.0F - f2))); - tessellator.setColorRGBA_I(59345715, (int)(255.0F * (1.0F - f2))); - tessellator.addVertex(0.0D, 0.0D, 0.0D); - //tessellator.setColorRGBA_I(16711935, 0); - tessellator.setColorRGBA_I(59345735, 0); - tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); - tessellator.addVertex(0.866D * f4, f3, -0.5F * f4); - tessellator.addVertex(0.0D, f3, 1.0F * f4); - tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); - tessellator.draw(); - } - - GL11.glPopMatrix(); - GL11.glDepthMask(true); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glDisable(GL11.GL_BLEND); - GL11.glShadeModel(GL11.GL_FLAT); - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - GL11.glEnable(GL11.GL_TEXTURE_2D); - GL11.glEnable(GL11.GL_ALPHA_TEST); - RenderHelper.enableStandardItemLighting(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return null; - } - -} +package com.hbm.render.entity; + +import java.util.Random; + +import org.lwjgl.opengl.GL11; + +import net.minecraft.client.renderer.RenderHelper; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class RenderFlare extends Render { + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + Tessellator tessellator = Tessellator.instance; + RenderHelper.disableStandardItemLighting(); + float f1 = (p_76986_1_.ticksExisted + 2.0F) / 200.0F; + float f2 = 0.0F; + int count = 250; + + if(p_76986_1_.ticksExisted < 250) + { + count = p_76986_1_.ticksExisted * 3; + } + + if (f1 > 0.8F) + { + f2 = (f1 - 0.8F) / 0.2F; + } + + Random random = new Random(432L); + GL11.glDisable(GL11.GL_TEXTURE_2D); + GL11.glShadeModel(GL11.GL_SMOOTH); + GL11.glEnable(GL11.GL_BLEND); + GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); + GL11.glDisable(GL11.GL_ALPHA_TEST); + GL11.glEnable(GL11.GL_CULL_FACE); + GL11.glDepthMask(false); + GL11.glPushMatrix(); + //GL11.glTranslatef(0.0F, -1.0F, -2.0F); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + + //for (int i = 0; (float)i < (f1 + f1 * f1) / 2.0F * 60.0F; ++i) + for(int i = 0; i < count; i++) + { + GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F + f1 * 90.0F, 0.0F, 0.0F, 1.0F); + tessellator.startDrawing(6); + float f3 = random.nextFloat() * 20.0F + 5.0F + f2 * 10.0F; + float f4 = random.nextFloat() * 2.0F + 1.0F + f2 * 2.0F; + //tessellator.setColorRGBA_I(16777215, (int)(255.0F * (1.0F - f2))); + tessellator.setColorRGBA_I(59345715, (int)(255.0F * (1.0F - f2))); + tessellator.addVertex(0.0D, 0.0D, 0.0D); + //tessellator.setColorRGBA_I(16711935, 0); + tessellator.setColorRGBA_I(59345735, 0); + tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); + tessellator.addVertex(0.866D * f4, f3, -0.5F * f4); + tessellator.addVertex(0.0D, f3, 1.0F * f4); + tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); + tessellator.draw(); + } + + GL11.glPopMatrix(); + GL11.glDepthMask(true); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glDisable(GL11.GL_BLEND); + GL11.glShadeModel(GL11.GL_FLAT); + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + GL11.glEnable(GL11.GL_TEXTURE_2D); + GL11.glEnable(GL11.GL_ALPHA_TEST); + RenderHelper.enableStandardItemLighting(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return null; + } + +} diff --git a/com/hbm/render/entity/RenderHunterChopper.java b/com/hbm/render/entity/RenderHunterChopper.java index d230479e7..4f03a866c 100644 --- a/com/hbm/render/entity/RenderHunterChopper.java +++ b/com/hbm/render/entity/RenderHunterChopper.java @@ -1,56 +1,56 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.mob.EntityHunterChopper; -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.render.model.ModelHunterChopper; -import com.hbm.render.model.ProtoCopter; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.entity.boss.BossStatus; -import net.minecraft.util.ResourceLocation; - -public class RenderHunterChopper extends Render { - - ProtoCopter mine; - ModelHunterChopper mine2; - - public RenderHunterChopper() { - mine = new ProtoCopter(); - mine2 = new ModelHunterChopper(); - } - - @Override - public void doRender(Entity rocket, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, - float p_76986_9_) { - BossStatus.setBossStatus((EntityHunterChopper)rocket, true); - GL11.glPushMatrix(); - GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); - GL11.glTranslatef(0.0625F * 0, 0.0625F * 32, 0.0625F * 0); - GL11.glTranslatef(0.0625F * 0, 0.0625F * 12, 0.0625F * 0); - GL11.glScalef(4F, 4F, 4F); - GL11.glRotatef(180, 1, 0, 0); - - float yaw = rocket.prevRotationYaw + (rocket.rotationYaw - rocket.prevRotationYaw) * p_76986_9_ - 90.0F; - float pitch = rocket.prevRotationPitch + (rocket.rotationPitch - rocket.prevRotationPitch) * p_76986_9_; - - GL11.glRotatef(rocket.prevRotationYaw + (rocket.rotationYaw - rocket.prevRotationYaw) * p_76986_9_ - 90.0F, 0, 1.0F, 0); - GL11.glRotatef(rocket.prevRotationPitch + (rocket.rotationPitch - rocket.prevRotationPitch) * p_76986_9_, 0, 0, 1.0F); - - bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/entity/chopper.png")); - - //if(rocket instanceof EntityHunterChopper) - // mine2.setGunRotations((EntityHunterChopper)rocket, yaw, pitch); - - mine2.renderAll(0.0625F); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID + ":textures/entity/chopper.png"); - } -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.mob.EntityHunterChopper; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.render.model.ModelHunterChopper; +import com.hbm.render.model.ProtoCopter; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.entity.boss.BossStatus; +import net.minecraft.util.ResourceLocation; + +public class RenderHunterChopper extends Render { + + ProtoCopter mine; + ModelHunterChopper mine2; + + public RenderHunterChopper() { + mine = new ProtoCopter(); + mine2 = new ModelHunterChopper(); + } + + @Override + public void doRender(Entity rocket, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, + float p_76986_9_) { + BossStatus.setBossStatus((EntityHunterChopper)rocket, true); + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glTranslatef(0.0625F * 0, 0.0625F * 32, 0.0625F * 0); + GL11.glTranslatef(0.0625F * 0, 0.0625F * 12, 0.0625F * 0); + GL11.glScalef(4F, 4F, 4F); + GL11.glRotatef(180, 1, 0, 0); + + float yaw = rocket.prevRotationYaw + (rocket.rotationYaw - rocket.prevRotationYaw) * p_76986_9_ - 90.0F; + float pitch = rocket.prevRotationPitch + (rocket.rotationPitch - rocket.prevRotationPitch) * p_76986_9_; + + GL11.glRotatef(rocket.prevRotationYaw + (rocket.rotationYaw - rocket.prevRotationYaw) * p_76986_9_ - 90.0F, 0, 1.0F, 0); + GL11.glRotatef(rocket.prevRotationPitch + (rocket.rotationPitch - rocket.prevRotationPitch) * p_76986_9_, 0, 0, 1.0F); + + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/entity/chopper.png")); + + //if(rocket instanceof EntityHunterChopper) + // mine2.setGunRotations((EntityHunterChopper)rocket, yaw, pitch); + + mine2.renderAll(0.0625F); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/entity/chopper.png"); + } +} diff --git a/com/hbm/render/entity/RenderMiniNuke.java b/com/hbm/render/entity/RenderMiniNuke.java index ecfdc6bd2..e1b4177ff 100644 --- a/com/hbm/render/entity/RenderMiniNuke.java +++ b/com/hbm/render/entity/RenderMiniNuke.java @@ -1,40 +1,40 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelMiniNuke; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderMiniNuke extends Render { - - private ModelMiniNuke miniNuke; - - public RenderMiniNuke() { - miniNuke = new ModelMiniNuke(); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_ + 180, 0.0F, 0.0F, 1.0F); - GL11.glScalef(1.5F, 1.5F, 1.5F); - - bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/MiniNuke.png")); - miniNuke.renderAll(0.0625F); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID + ":textures/models/MiniNuke.png"); - } -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelMiniNuke; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderMiniNuke extends Render { + + private ModelMiniNuke miniNuke; + + public RenderMiniNuke() { + miniNuke = new ModelMiniNuke(); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_ + 180, 0.0F, 0.0F, 1.0F); + GL11.glScalef(1.5F, 1.5F, 1.5F); + + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/MiniNuke.png")); + miniNuke.renderAll(0.0625F); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/MiniNuke.png"); + } +} diff --git a/com/hbm/render/entity/RenderMirv.java b/com/hbm/render/entity/RenderMirv.java index 018c754b3..565eb49f8 100644 --- a/com/hbm/render/entity/RenderMirv.java +++ b/com/hbm/render/entity/RenderMirv.java @@ -1,41 +1,41 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderMirv extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Mirv.obj"); - private IModelCustom boyModel; - private ResourceLocation boyTexture; - - public RenderMirv() { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); - - bindTexture(boyTexture); - boyModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID +":textures/models/TheGadget3_.png"); - } -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderMirv extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Mirv.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + + public RenderMirv() { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); + + bindTexture(boyTexture); + boyModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID +":textures/models/TheGadget3_.png"); + } +} diff --git a/com/hbm/render/entity/RenderMissileGeneric.java b/com/hbm/render/entity/RenderMissileGeneric.java index 7f0abd3ed..f50034d58 100644 --- a/com/hbm/render/entity/RenderMissileGeneric.java +++ b/com/hbm/render/entity/RenderMissileGeneric.java @@ -1,59 +1,59 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.missile.EntityMissileBunkerBuster; -import com.hbm.entity.missile.EntityMissileCluster; -import com.hbm.entity.missile.EntityMissileGeneric; -import com.hbm.entity.missile.EntityMissileIncendiary; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderMissileGeneric extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileV2.obj"); - private IModelCustom boyModel; - private ResourceLocation boyTexture; - private ResourceLocation missileIncendiaryTexture; - private ResourceLocation missileClusterTexture; - private ResourceLocation missileBusterTexture; - - public RenderMissileGeneric() { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileV2.png"); - missileIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileIncendiary.png"); - missileClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileCluster.png"); - missileBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileBuster.png"); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); - - if(p_76986_1_ instanceof EntityMissileGeneric) - bindTexture(boyTexture); - if(p_76986_1_ instanceof EntityMissileIncendiary) - bindTexture(missileIncendiaryTexture); - if(p_76986_1_ instanceof EntityMissileCluster) - bindTexture(missileClusterTexture); - if(p_76986_1_ instanceof EntityMissileBunkerBuster) - bindTexture(missileBusterTexture); - boyModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID +":textures/models/MissileV2.png"); - } - -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.missile.EntityMissileBunkerBuster; +import com.hbm.entity.missile.EntityMissileCluster; +import com.hbm.entity.missile.EntityMissileGeneric; +import com.hbm.entity.missile.EntityMissileIncendiary; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderMissileGeneric extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileV2.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + private ResourceLocation missileIncendiaryTexture; + private ResourceLocation missileClusterTexture; + private ResourceLocation missileBusterTexture; + + public RenderMissileGeneric() { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileV2.png"); + missileIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileIncendiary.png"); + missileClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileCluster.png"); + missileBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileBuster.png"); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); + + if(p_76986_1_ instanceof EntityMissileGeneric) + bindTexture(boyTexture); + if(p_76986_1_ instanceof EntityMissileIncendiary) + bindTexture(missileIncendiaryTexture); + if(p_76986_1_ instanceof EntityMissileCluster) + bindTexture(missileClusterTexture); + if(p_76986_1_ instanceof EntityMissileBunkerBuster) + bindTexture(missileBusterTexture); + boyModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID +":textures/models/MissileV2.png"); + } + +} diff --git a/com/hbm/render/entity/RenderMissileHuge.java b/com/hbm/render/entity/RenderMissileHuge.java index b541d52ee..c9c101632 100644 --- a/com/hbm/render/entity/RenderMissileHuge.java +++ b/com/hbm/render/entity/RenderMissileHuge.java @@ -1,63 +1,63 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.missile.EntityMissileBunkerBuster; -import com.hbm.entity.missile.EntityMissileBurst; -import com.hbm.entity.missile.EntityMissileCluster; -import com.hbm.entity.missile.EntityMissileDrill; -import com.hbm.entity.missile.EntityMissileGeneric; -import com.hbm.entity.missile.EntityMissileIncendiary; -import com.hbm.entity.missile.EntityMissileInferno; -import com.hbm.entity.missile.EntityMissileRain; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderMissileHuge extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileHuge.obj"); - private IModelCustom boyModel; - private ResourceLocation boyTexture; - private ResourceLocation missileIncendiaryTexture; - private ResourceLocation missileClusterTexture; - private ResourceLocation missileBusterTexture; - - public RenderMissileHuge() { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHuge.png"); - missileIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeIncendiary.png"); - missileClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeCluster.png"); - missileBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeBuster.png"); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glScalef(2F, 2F, 2F); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); - - if(p_76986_1_ instanceof EntityMissileBurst) - bindTexture(boyTexture); - if(p_76986_1_ instanceof EntityMissileInferno) - bindTexture(missileIncendiaryTexture); - if(p_76986_1_ instanceof EntityMissileRain) - bindTexture(missileClusterTexture); - if(p_76986_1_ instanceof EntityMissileDrill) - bindTexture(missileBusterTexture); - boyModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID +":textures/models/MissileHuge.png"); - } -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.missile.EntityMissileBunkerBuster; +import com.hbm.entity.missile.EntityMissileBurst; +import com.hbm.entity.missile.EntityMissileCluster; +import com.hbm.entity.missile.EntityMissileDrill; +import com.hbm.entity.missile.EntityMissileGeneric; +import com.hbm.entity.missile.EntityMissileIncendiary; +import com.hbm.entity.missile.EntityMissileInferno; +import com.hbm.entity.missile.EntityMissileRain; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderMissileHuge extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileHuge.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + private ResourceLocation missileIncendiaryTexture; + private ResourceLocation missileClusterTexture; + private ResourceLocation missileBusterTexture; + + public RenderMissileHuge() { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHuge.png"); + missileIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeIncendiary.png"); + missileClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeCluster.png"); + missileBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeBuster.png"); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glScalef(2F, 2F, 2F); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); + + if(p_76986_1_ instanceof EntityMissileBurst) + bindTexture(boyTexture); + if(p_76986_1_ instanceof EntityMissileInferno) + bindTexture(missileIncendiaryTexture); + if(p_76986_1_ instanceof EntityMissileRain) + bindTexture(missileClusterTexture); + if(p_76986_1_ instanceof EntityMissileDrill) + bindTexture(missileBusterTexture); + boyModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID +":textures/models/MissileHuge.png"); + } +} diff --git a/com/hbm/render/entity/RenderMissileMirv.java b/com/hbm/render/entity/RenderMissileMirv.java index f89c74552..ff732ad34 100644 --- a/com/hbm/render/entity/RenderMissileMirv.java +++ b/com/hbm/render/entity/RenderMissileMirv.java @@ -1,42 +1,42 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderMissileMirv extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileMirv.obj"); - private IModelCustom boyModel; - private ResourceLocation boyTexture; - - public RenderMissileMirv() { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileMirv.png"); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); - GL11.glScalef(2F, 2F, 2F); - - bindTexture(boyTexture); - boyModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID +":textures/models/MissileMirv.png"); - } -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderMissileMirv extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileMirv.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + + public RenderMissileMirv() { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileMirv.png"); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); + GL11.glScalef(2F, 2F, 2F); + + bindTexture(boyTexture); + boyModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID +":textures/models/MissileMirv.png"); + } +} diff --git a/com/hbm/render/entity/RenderMissileNuclear.java b/com/hbm/render/entity/RenderMissileNuclear.java index 99edaa4a7..daf5daf70 100644 --- a/com/hbm/render/entity/RenderMissileNuclear.java +++ b/com/hbm/render/entity/RenderMissileNuclear.java @@ -1,42 +1,42 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderMissileNuclear extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileNuke.obj"); - private IModelCustom boyModel; - private ResourceLocation boyTexture; - - public RenderMissileNuclear() { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileNuke.png"); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); - - bindTexture(boyTexture); - boyModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID +":textures/models/MissileNuke.png"); - } - -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderMissileNuclear extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileNuke.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + + public RenderMissileNuclear() { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileNuke.png"); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); + + bindTexture(boyTexture); + boyModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID +":textures/models/MissileNuke.png"); + } + +} diff --git a/com/hbm/render/entity/RenderMissileStrong.java b/com/hbm/render/entity/RenderMissileStrong.java index e99e7f88e..f9b9b4380 100644 --- a/com/hbm/render/entity/RenderMissileStrong.java +++ b/com/hbm/render/entity/RenderMissileStrong.java @@ -1,60 +1,60 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.missile.EntityMissileBusterStrong; -import com.hbm.entity.missile.EntityMissileClusterStrong; -import com.hbm.entity.missile.EntityMissileIncendiaryStrong; -import com.hbm.entity.missile.EntityMissileStrong; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderMissileStrong extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileGeneric.obj"); - private IModelCustom boyModel; - private ResourceLocation boyTexture; - private ResourceLocation missileStrongIncenidaryTexture; - private ResourceLocation missileStrongClusterTexture; - private ResourceLocation missileStrongBusterTexture; - - public RenderMissileStrong() { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGeneric.png"); - missileStrongIncenidaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericIncendiary.png"); - missileStrongClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericCluster.png"); - missileStrongBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericBuster.png"); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glScalef(1.5F, 1.5F, 1.5F); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); - - if(p_76986_1_ instanceof EntityMissileStrong) - bindTexture(boyTexture); - if(p_76986_1_ instanceof EntityMissileIncendiaryStrong) - bindTexture(missileStrongIncenidaryTexture); - if(p_76986_1_ instanceof EntityMissileClusterStrong) - bindTexture(missileStrongClusterTexture); - if(p_76986_1_ instanceof EntityMissileBusterStrong) - bindTexture(missileStrongBusterTexture); - boyModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID +":textures/models/MissileGeneric.png"); - } - -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.missile.EntityMissileBusterStrong; +import com.hbm.entity.missile.EntityMissileClusterStrong; +import com.hbm.entity.missile.EntityMissileIncendiaryStrong; +import com.hbm.entity.missile.EntityMissileStrong; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderMissileStrong extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileGeneric.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + private ResourceLocation missileStrongIncenidaryTexture; + private ResourceLocation missileStrongClusterTexture; + private ResourceLocation missileStrongBusterTexture; + + public RenderMissileStrong() { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGeneric.png"); + missileStrongIncenidaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericIncendiary.png"); + missileStrongClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericCluster.png"); + missileStrongBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericBuster.png"); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glScalef(1.5F, 1.5F, 1.5F); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); + + if(p_76986_1_ instanceof EntityMissileStrong) + bindTexture(boyTexture); + if(p_76986_1_ instanceof EntityMissileIncendiaryStrong) + bindTexture(missileStrongIncenidaryTexture); + if(p_76986_1_ instanceof EntityMissileClusterStrong) + bindTexture(missileStrongClusterTexture); + if(p_76986_1_ instanceof EntityMissileBusterStrong) + bindTexture(missileStrongBusterTexture); + boyModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID +":textures/models/MissileGeneric.png"); + } + +} diff --git a/com/hbm/render/entity/RenderMissileThermo.java b/com/hbm/render/entity/RenderMissileThermo.java index fd9205836..b24d2050d 100644 --- a/com/hbm/render/entity/RenderMissileThermo.java +++ b/com/hbm/render/entity/RenderMissileThermo.java @@ -1,50 +1,50 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.missile.EntityMissileEndo; -import com.hbm.entity.missile.EntityMissileExo; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderMissileThermo extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileThermal.obj"); - private IModelCustom boyModel; - private ResourceLocation missileThermoEndoTexture; - private ResourceLocation missileThermoExoTexture; - - public RenderMissileThermo() { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - missileThermoEndoTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileThermalEndo.png"); - missileThermoExoTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileThermalExo.png"); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); - GL11.glScalef(1.5F, 1.5F, 1.5F); - - if(p_76986_1_ instanceof EntityMissileEndo) - bindTexture(missileThermoEndoTexture); - if(p_76986_1_ instanceof EntityMissileExo) - bindTexture(missileThermoExoTexture); - boyModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID +":textures/models/MissileThermal.png"); - } - -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.missile.EntityMissileEndo; +import com.hbm.entity.missile.EntityMissileExo; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderMissileThermo extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileThermal.obj"); + private IModelCustom boyModel; + private ResourceLocation missileThermoEndoTexture; + private ResourceLocation missileThermoExoTexture; + + public RenderMissileThermo() { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + missileThermoEndoTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileThermalEndo.png"); + missileThermoExoTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileThermalExo.png"); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); + GL11.glScalef(1.5F, 1.5F, 1.5F); + + if(p_76986_1_ instanceof EntityMissileEndo) + bindTexture(missileThermoEndoTexture); + if(p_76986_1_ instanceof EntityMissileExo) + bindTexture(missileThermoExoTexture); + boyModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID +":textures/models/MissileThermal.png"); + } + +} diff --git a/com/hbm/render/entity/RenderNuclearCreeper.java b/com/hbm/render/entity/RenderNuclearCreeper.java index 79017938f..7eb2df8dc 100644 --- a/com/hbm/render/entity/RenderNuclearCreeper.java +++ b/com/hbm/render/entity/RenderNuclearCreeper.java @@ -1,190 +1,190 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.model.ModelBase; -import net.minecraft.client.model.ModelCreeper; -import net.minecraft.client.renderer.entity.RenderLiving; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.util.MathHelper; -import net.minecraft.util.ResourceLocation; - -public class RenderNuclearCreeper extends RenderLiving -{ - private static final ResourceLocation armoredCreeperTextures = new ResourceLocation(RefStrings.MODID + ":" + "textures/entity/creeper_armor.png"); - private static final ResourceLocation creeperTextures = new ResourceLocation(RefStrings.MODID + ":" + "textures/entity/creeper.png"); - /** The creeper model. */ - private ModelBase creeperModel = new ModelCreeper(2.0F); - private static final String __OBFID = "CL_00000985"; - - public RenderNuclearCreeper() - { - super(new ModelCreeper(), 0.5F); - } - - /** - * Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: - * entityLiving, partialTickTime - */ - protected void preRenderCallback(EntityNuclearCreeper p_77041_1_, float p_77041_2_) - { - float f1 = p_77041_1_.getCreeperFlashIntensity(p_77041_2_); - float f2 = 1.0F + MathHelper.sin(f1 * 100.0F) * f1 * 0.01F; - - if (f1 < 0.0F) - { - f1 = 0.0F; - } - - if (f1 > 1.0F) - { - f1 = 1.0F; - } - - f1 *= f1; - f1 *= f1; - float f3 = (1.0F + f1 * 0.4F) * f2; - float f4 = (1.0F + f1 * 0.1F) / f2; - GL11.glScalef(f3, f4, f3); - } - - /** - * Returns an ARGB int color back. Args: entityLiving, lightBrightness, partialTickTime - */ - protected int getColorMultiplier(EntityNuclearCreeper p_77030_1_, float p_77030_2_, float p_77030_3_) - { - float f2 = p_77030_1_.getCreeperFlashIntensity(p_77030_3_); - - if ((int)(f2 * 10.0F) % 2 == 0) - { - return 0; - } - else - { - int i = (int)(f2 * 0.2F * 255.0F); - - if (i < 0) - { - i = 0; - } - - if (i > 255) - { - i = 255; - } - - short short1 = 255; - short short2 = 255; - short short3 = 255; - return i << 24 | short1 << 16 | short2 << 8 | short3; - } - } - - /** - * Queries whether should render the specified pass or not. - */ - protected int shouldRenderPass(EntityNuclearCreeper p_77032_1_, int p_77032_2_, float p_77032_3_) - { - if (p_77032_1_.getPowered()) - { - if (p_77032_1_.isInvisible()) - { - GL11.glDepthMask(false); - } - else - { - GL11.glDepthMask(true); - } - - if (p_77032_2_ == 1) - { - float f1 = p_77032_1_.ticksExisted + p_77032_3_; - this.bindTexture(armoredCreeperTextures); - GL11.glMatrixMode(GL11.GL_TEXTURE); - GL11.glLoadIdentity(); - float f2 = f1 * 0.01F; - float f3 = f1 * 0.01F; - GL11.glTranslatef(f2, f3, 0.0F); - this.setRenderPassModel(this.creeperModel); - GL11.glMatrixMode(GL11.GL_MODELVIEW); - GL11.glEnable(GL11.GL_BLEND); - float f4 = 0.5F; - GL11.glColor4f(f4, f4, f4, 1.0F); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE); - return 1; - } - - if (p_77032_2_ == 2) - { - GL11.glMatrixMode(GL11.GL_TEXTURE); - GL11.glLoadIdentity(); - GL11.glMatrixMode(GL11.GL_MODELVIEW); - GL11.glEnable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_BLEND); - } - } - - return -1; - } - - protected int inheritRenderPass(EntityNuclearCreeper p_77035_1_, int p_77035_2_, float p_77035_3_) - { - return -1; - } - - /** - * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture. - */ - protected ResourceLocation getEntityTexture(EntityNuclearCreeper p_110775_1_) - { - return creeperTextures; - } - - /** - * Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: - * entityLiving, partialTickTime - */ - @Override - protected void preRenderCallback(EntityLivingBase p_77041_1_, float p_77041_2_) - { - this.preRenderCallback((EntityNuclearCreeper)p_77041_1_, p_77041_2_); - } - - /** - * Returns an ARGB int color back. Args: entityLiving, lightBrightness, partialTickTime - */ - @Override - protected int getColorMultiplier(EntityLivingBase p_77030_1_, float p_77030_2_, float p_77030_3_) - { - return this.getColorMultiplier((EntityNuclearCreeper)p_77030_1_, p_77030_2_, p_77030_3_); - } - - /** - * Queries whether should render the specified pass or not. - */ - @Override - protected int shouldRenderPass(EntityLivingBase p_77032_1_, int p_77032_2_, float p_77032_3_) - { - return this.shouldRenderPass((EntityNuclearCreeper)p_77032_1_, p_77032_2_, p_77032_3_); - } - - @Override - protected int inheritRenderPass(EntityLivingBase p_77035_1_, int p_77035_2_, float p_77035_3_) - { - return this.inheritRenderPass((EntityNuclearCreeper)p_77035_1_, p_77035_2_, p_77035_3_); - } - - /** - * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture. - */ - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) - { - return this.getEntityTexture((EntityNuclearCreeper)p_110775_1_); - } -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelCreeper; +import net.minecraft.client.renderer.entity.RenderLiving; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.util.MathHelper; +import net.minecraft.util.ResourceLocation; + +public class RenderNuclearCreeper extends RenderLiving +{ + private static final ResourceLocation armoredCreeperTextures = new ResourceLocation(RefStrings.MODID + ":" + "textures/entity/creeper_armor.png"); + private static final ResourceLocation creeperTextures = new ResourceLocation(RefStrings.MODID + ":" + "textures/entity/creeper.png"); + /** The creeper model. */ + private ModelBase creeperModel = new ModelCreeper(2.0F); + private static final String __OBFID = "CL_00000985"; + + public RenderNuclearCreeper() + { + super(new ModelCreeper(), 0.5F); + } + + /** + * Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: + * entityLiving, partialTickTime + */ + protected void preRenderCallback(EntityNuclearCreeper p_77041_1_, float p_77041_2_) + { + float f1 = p_77041_1_.getCreeperFlashIntensity(p_77041_2_); + float f2 = 1.0F + MathHelper.sin(f1 * 100.0F) * f1 * 0.01F; + + if (f1 < 0.0F) + { + f1 = 0.0F; + } + + if (f1 > 1.0F) + { + f1 = 1.0F; + } + + f1 *= f1; + f1 *= f1; + float f3 = (1.0F + f1 * 0.4F) * f2; + float f4 = (1.0F + f1 * 0.1F) / f2; + GL11.glScalef(f3, f4, f3); + } + + /** + * Returns an ARGB int color back. Args: entityLiving, lightBrightness, partialTickTime + */ + protected int getColorMultiplier(EntityNuclearCreeper p_77030_1_, float p_77030_2_, float p_77030_3_) + { + float f2 = p_77030_1_.getCreeperFlashIntensity(p_77030_3_); + + if ((int)(f2 * 10.0F) % 2 == 0) + { + return 0; + } + else + { + int i = (int)(f2 * 0.2F * 255.0F); + + if (i < 0) + { + i = 0; + } + + if (i > 255) + { + i = 255; + } + + short short1 = 255; + short short2 = 255; + short short3 = 255; + return i << 24 | short1 << 16 | short2 << 8 | short3; + } + } + + /** + * Queries whether should render the specified pass or not. + */ + protected int shouldRenderPass(EntityNuclearCreeper p_77032_1_, int p_77032_2_, float p_77032_3_) + { + if (p_77032_1_.getPowered()) + { + if (p_77032_1_.isInvisible()) + { + GL11.glDepthMask(false); + } + else + { + GL11.glDepthMask(true); + } + + if (p_77032_2_ == 1) + { + float f1 = p_77032_1_.ticksExisted + p_77032_3_; + this.bindTexture(armoredCreeperTextures); + GL11.glMatrixMode(GL11.GL_TEXTURE); + GL11.glLoadIdentity(); + float f2 = f1 * 0.01F; + float f3 = f1 * 0.01F; + GL11.glTranslatef(f2, f3, 0.0F); + this.setRenderPassModel(this.creeperModel); + GL11.glMatrixMode(GL11.GL_MODELVIEW); + GL11.glEnable(GL11.GL_BLEND); + float f4 = 0.5F; + GL11.glColor4f(f4, f4, f4, 1.0F); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE); + return 1; + } + + if (p_77032_2_ == 2) + { + GL11.glMatrixMode(GL11.GL_TEXTURE); + GL11.glLoadIdentity(); + GL11.glMatrixMode(GL11.GL_MODELVIEW); + GL11.glEnable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_BLEND); + } + } + + return -1; + } + + protected int inheritRenderPass(EntityNuclearCreeper p_77035_1_, int p_77035_2_, float p_77035_3_) + { + return -1; + } + + /** + * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture. + */ + protected ResourceLocation getEntityTexture(EntityNuclearCreeper p_110775_1_) + { + return creeperTextures; + } + + /** + * Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: + * entityLiving, partialTickTime + */ + @Override + protected void preRenderCallback(EntityLivingBase p_77041_1_, float p_77041_2_) + { + this.preRenderCallback((EntityNuclearCreeper)p_77041_1_, p_77041_2_); + } + + /** + * Returns an ARGB int color back. Args: entityLiving, lightBrightness, partialTickTime + */ + @Override + protected int getColorMultiplier(EntityLivingBase p_77030_1_, float p_77030_2_, float p_77030_3_) + { + return this.getColorMultiplier((EntityNuclearCreeper)p_77030_1_, p_77030_2_, p_77030_3_); + } + + /** + * Queries whether should render the specified pass or not. + */ + @Override + protected int shouldRenderPass(EntityLivingBase p_77032_1_, int p_77032_2_, float p_77032_3_) + { + return this.shouldRenderPass((EntityNuclearCreeper)p_77032_1_, p_77032_2_, p_77032_3_); + } + + @Override + protected int inheritRenderPass(EntityLivingBase p_77035_1_, int p_77035_2_, float p_77035_3_) + { + return this.inheritRenderPass((EntityNuclearCreeper)p_77035_1_, p_77035_2_, p_77035_3_); + } + + /** + * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture. + */ + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) + { + return this.getEntityTexture((EntityNuclearCreeper)p_110775_1_); + } +} diff --git a/com/hbm/render/entity/RenderOminousBullet.java b/com/hbm/render/entity/RenderOminousBullet.java new file mode 100644 index 000000000..75ae2e601 --- /dev/null +++ b/com/hbm/render/entity/RenderOminousBullet.java @@ -0,0 +1,89 @@ +package com.hbm.render.entity; + +import java.util.Random; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityRainbow; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class RenderOminousBullet extends Render { + + Random rand = new Random(); + + @Override + public void doRender(Entity rocket, double x, double y, double z, float p_76986_8_, float p_76986_9_) { + float radius = 0.12F; + int distance = 4; + + radius = 0.03F; + + Tessellator tessellator = Tessellator.instance; + + GL11.glPushMatrix(); + GL11.glDisable(GL11.GL_TEXTURE_2D); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glEnable(GL11.GL_BLEND); + GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); + GL11.glTranslatef((float) x, (float) y, (float) z); + + GL11.glRotatef(rocket.rotationYaw, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-rocket.rotationPitch, 1.0F, 0.0F, 0.0F); + + boolean red = false; + boolean green = false; + boolean blue = false; + + green = true; + red = true; + + //for (float o = 0; o <= radius; o += radius / 8) { + for (float o = 0; o <= radius; o += radius / 1) { + float color = 1f - (o * 8.333f); + if (color < 0) + color = 0; + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 + o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 + o, 0); + tessellator.addVertex(0 + o, 0 + o, 0 + distance); + tessellator.addVertex(0 + o, 0 - o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 - o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 - o, 0 + distance); + tessellator.addVertex(0 - o, 0 - o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 - o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 - o, 0); + tessellator.addVertex(0 - o, 0 - o, 0 + distance); + tessellator.addVertex(0 - o, 0 + o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 + o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 + o, 0 + distance); + tessellator.addVertex(0 + o, 0 + o, 0 + distance); + tessellator.draw(); + } + GL11.glDisable(GL11.GL_BLEND); + GL11.glEnable(GL11.GL_TEXTURE_2D); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/Rainbow.png"); + } +} diff --git a/com/hbm/render/entity/RenderRainbow.java b/com/hbm/render/entity/RenderRainbow.java index a4dedba17..862588ef5 100644 --- a/com/hbm/render/entity/RenderRainbow.java +++ b/com/hbm/render/entity/RenderRainbow.java @@ -1,89 +1,89 @@ -package com.hbm.render.entity; - -import java.util.Random; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityRainbow; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; - -public class RenderRainbow extends Render { - - Random rand = new Random(); - - @Override - public void doRender(Entity rocket, double x, double y, double z, float p_76986_8_, float p_76986_9_) { - float radius = 0.12F; - int distance = 4; - Tessellator tessellator = Tessellator.instance; - - GL11.glPushMatrix(); - GL11.glDisable(GL11.GL_TEXTURE_2D); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glEnable(GL11.GL_BLEND); - GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); - GL11.glTranslatef((float) x, (float) y, (float) z); - - GL11.glRotatef(rocket.rotationYaw, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-rocket.rotationPitch, 1.0F, 0.0F, 0.0F); - - boolean red = false; - boolean green = false; - boolean blue = false; - - if(rocket instanceof EntityRainbow && ((EntityRainbow)rocket).getDataWatcher() != null) - { - red = ((EntityRainbow)rocket).getDataWatcher().getWatchableObjectByte(20) == 1; - green = ((EntityRainbow)rocket).getDataWatcher().getWatchableObjectByte(21) == 1; - blue = ((EntityRainbow)rocket).getDataWatcher().getWatchableObjectByte(22) == 1; - } - - for (float o = 0; o <= radius; o += radius / 8) { - float color = 1f - (o * 8.333f); - if (color < 0) - color = 0; - tessellator.startDrawingQuads(); - tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); - tessellator.addVertex(0 + o, 0 - o, 0); - tessellator.addVertex(0 + o, 0 + o, 0); - tessellator.addVertex(0 + o, 0 + o, 0 + distance); - tessellator.addVertex(0 + o, 0 - o, 0 + distance); - tessellator.draw(); - tessellator.startDrawingQuads(); - tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); - tessellator.addVertex(0 - o, 0 - o, 0); - tessellator.addVertex(0 + o, 0 - o, 0); - tessellator.addVertex(0 + o, 0 - o, 0 + distance); - tessellator.addVertex(0 - o, 0 - o, 0 + distance); - tessellator.draw(); - tessellator.startDrawingQuads(); - tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); - tessellator.addVertex(0 - o, 0 + o, 0); - tessellator.addVertex(0 - o, 0 - o, 0); - tessellator.addVertex(0 - o, 0 - o, 0 + distance); - tessellator.addVertex(0 - o, 0 + o, 0 + distance); - tessellator.draw(); - tessellator.startDrawingQuads(); - tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); - tessellator.addVertex(0 + o, 0 + o, 0); - tessellator.addVertex(0 - o, 0 + o, 0); - tessellator.addVertex(0 - o, 0 + o, 0 + distance); - tessellator.addVertex(0 + o, 0 + o, 0 + distance); - tessellator.draw(); - } - GL11.glDisable(GL11.GL_BLEND); - GL11.glEnable(GL11.GL_TEXTURE_2D); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID + ":textures/models/Rainbow.png"); - } -} +package com.hbm.render.entity; + +import java.util.Random; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityRainbow; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class RenderRainbow extends Render { + + Random rand = new Random(); + + @Override + public void doRender(Entity rocket, double x, double y, double z, float p_76986_8_, float p_76986_9_) { + float radius = 0.12F; + int distance = 4; + Tessellator tessellator = Tessellator.instance; + + GL11.glPushMatrix(); + GL11.glDisable(GL11.GL_TEXTURE_2D); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glEnable(GL11.GL_BLEND); + GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); + GL11.glTranslatef((float) x, (float) y, (float) z); + + GL11.glRotatef(rocket.rotationYaw, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-rocket.rotationPitch, 1.0F, 0.0F, 0.0F); + + boolean red = false; + boolean green = false; + boolean blue = false; + + if(rocket instanceof EntityRainbow && ((EntityRainbow)rocket).getDataWatcher() != null) + { + red = ((EntityRainbow)rocket).getDataWatcher().getWatchableObjectByte(20) == 1; + green = ((EntityRainbow)rocket).getDataWatcher().getWatchableObjectByte(21) == 1; + blue = ((EntityRainbow)rocket).getDataWatcher().getWatchableObjectByte(22) == 1; + } + + for (float o = 0; o <= radius; o += radius / 8) { + float color = 1f - (o * 8.333f); + if (color < 0) + color = 0; + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 + o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 + o, 0); + tessellator.addVertex(0 + o, 0 + o, 0 + distance); + tessellator.addVertex(0 + o, 0 - o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 - o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 - o, 0); + tessellator.addVertex(0 + o, 0 - o, 0 + distance); + tessellator.addVertex(0 - o, 0 - o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 - o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 - o, 0); + tessellator.addVertex(0 - o, 0 - o, 0 + distance); + tessellator.addVertex(0 - o, 0 + o, 0 + distance); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setColorRGBA_F(red ? 1 : color, green ? 1 : color, blue ? 1 : color, 1f); + tessellator.addVertex(0 + o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 + o, 0); + tessellator.addVertex(0 - o, 0 + o, 0 + distance); + tessellator.addVertex(0 + o, 0 + o, 0 + distance); + tessellator.draw(); + } + GL11.glDisable(GL11.GL_BLEND); + GL11.glEnable(GL11.GL_TEXTURE_2D); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/Rainbow.png"); + } +} diff --git a/com/hbm/render/entity/RenderRocket.java b/com/hbm/render/entity/RenderRocket.java index 391e3b332..9484a8516 100644 --- a/com/hbm/render/entity/RenderRocket.java +++ b/com/hbm/render/entity/RenderRocket.java @@ -1,61 +1,61 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; -import net.minecraft.client.Minecraft; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; - -import com.hbm.entity.projectile.EntityBullet; -import com.hbm.entity.projectile.EntityRocket; -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelBullet; - -@SideOnly(Side.CLIENT) -public class RenderRocket extends Render { - - private ModelBullet miniNuke; - - public RenderRocket() { - miniNuke = new ModelBullet(); - } - - @Override - public void doRender(Entity rocket, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, - float p_76986_9_) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); - GL11.glRotatef(rocket.prevRotationYaw + (rocket.rotationYaw - rocket.prevRotationYaw) * p_76986_9_ - 90.0F, - 0.0F, 1.0F, 0.0F); - GL11.glRotatef(rocket.prevRotationPitch + (rocket.rotationPitch - rocket.prevRotationPitch) * p_76986_9_ + 180, - 0.0F, 0.0F, 1.0F); - GL11.glScalef(1.5F, 1.5F, 1.5F); - - if (rocket instanceof EntityBullet && ((EntityBullet) rocket).getIsChopper()) { - bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/emplacer.png")); - } else if (rocket instanceof EntityBullet && ((EntityBullet) rocket).getIsCritical()) { - bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/tau.png")); - } else if (rocket instanceof EntityBullet) { - bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/bullet.png")); - } - miniNuke.renderAll(0.0625F); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - if (p_110775_1_ instanceof EntityBullet && ((EntityBullet) p_110775_1_).getIsChopper()) { - return new ResourceLocation(RefStrings.MODID + ":textures/models/emplacer.png"); - } else if (p_110775_1_ instanceof EntityBullet && ((EntityBullet) p_110775_1_).getIsCritical()) { - return new ResourceLocation(RefStrings.MODID + ":textures/models/tau.png"); - } else if (p_110775_1_ instanceof EntityBullet) { - return new ResourceLocation(RefStrings.MODID + ":textures/models/bullet.png"); - } - - return null; - } - +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.Minecraft; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +import com.hbm.entity.projectile.EntityBullet; +import com.hbm.entity.projectile.EntityRocket; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelBullet; + +@SideOnly(Side.CLIENT) +public class RenderRocket extends Render { + + private ModelBullet miniNuke; + + public RenderRocket() { + miniNuke = new ModelBullet(); + } + + @Override + public void doRender(Entity rocket, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, + float p_76986_9_) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glRotatef(rocket.prevRotationYaw + (rocket.rotationYaw - rocket.prevRotationYaw) * p_76986_9_ - 90.0F, + 0.0F, 1.0F, 0.0F); + GL11.glRotatef(rocket.prevRotationPitch + (rocket.rotationPitch - rocket.prevRotationPitch) * p_76986_9_ + 180, + 0.0F, 0.0F, 1.0F); + GL11.glScalef(1.5F, 1.5F, 1.5F); + + if (rocket instanceof EntityBullet && ((EntityBullet) rocket).getIsChopper()) { + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/emplacer.png")); + } else if (rocket instanceof EntityBullet && ((EntityBullet) rocket).getIsCritical()) { + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/tau.png")); + } else if (rocket instanceof EntityBullet) { + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/bullet.png")); + } + miniNuke.renderAll(0.0625F); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + if (p_110775_1_ instanceof EntityBullet && ((EntityBullet) p_110775_1_).getIsChopper()) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/emplacer.png"); + } else if (p_110775_1_ instanceof EntityBullet && ((EntityBullet) p_110775_1_).getIsCritical()) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/tau.png"); + } else if (p_110775_1_ instanceof EntityBullet) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/bullet.png"); + } + + return null; + } + } \ No newline at end of file diff --git a/com/hbm/render/entity/RenderRubble.java b/com/hbm/render/entity/RenderRubble.java new file mode 100644 index 000000000..7ca51514c --- /dev/null +++ b/com/hbm/render/entity/RenderRubble.java @@ -0,0 +1,55 @@ +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelChopperMine; +import com.hbm.render.model.ModelRubble; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class RenderRubble extends Render { + + ModelRubble mine; + + public RenderRubble() { + mine = new ModelRubble(); + } + + @Override + public void doRender(Entity rocket, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, + float p_76986_9_) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glScalef(1.0F, 1.0F, 1.0F); + GL11.glRotatef(180, 1, 0, 0); + GL11.glRotatef((rocket.ticksExisted % 360) * 10, 1, 1, 1); + + byte b = rocket.getDataWatcher().getWatchableObjectByte(16); + + if(b == 0) + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/ModelRubbleMetal.png")); + if(b == 1) + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/ModelRubbleRock.png")); + if(b == 2) + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/ModelRubblePlant.png")); + if(b == 3) + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/ModelRubbleSand.png")); + if(b == 4) + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/ModelRubbleGround.png")); + if(b == 5) + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/ModelRubbleWood.png")); + if(b == 6) + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/models/ModelRubbleScrap.png")); + + mine.renderAll(0.0625F); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/ModelRubbleScrap.png"); + } +} diff --git a/com/hbm/render/entity/RenderShrapnel.java b/com/hbm/render/entity/RenderShrapnel.java new file mode 100644 index 000000000..4888ecda9 --- /dev/null +++ b/com/hbm/render/entity/RenderShrapnel.java @@ -0,0 +1,41 @@ +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelChopperMine; +import com.hbm.render.model.ModelRubble; +import com.hbm.render.model.ModelShrapnel; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class RenderShrapnel extends Render { + + ModelShrapnel mine; + + public RenderShrapnel() { + mine = new ModelShrapnel(); + } + + @Override + public void doRender(Entity rocket, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, + float p_76986_9_) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glScalef(1.0F, 1.0F, 1.0F); + GL11.glRotatef(180, 1, 0, 0); + GL11.glRotatef((rocket.ticksExisted % 360) * 10, 1, 1, 1); + + bindTexture(new ResourceLocation(RefStrings.MODID + ":textures/entity/shrapnel.png")); + + mine.renderAll(0.0625F); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID + ":textures/models/shrapnel.png"); + } +} diff --git a/com/hbm/render/entity/RenderSmallNuke.java b/com/hbm/render/entity/RenderSmallNuke.java index d3c646d94..f3c27bb12 100644 --- a/com/hbm/render/entity/RenderSmallNuke.java +++ b/com/hbm/render/entity/RenderSmallNuke.java @@ -1,104 +1,104 @@ -package com.hbm.render.entity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderSmallNuke extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/NukeCloudSmall.obj"); - private IModelCustom blastModel; - private ResourceLocation blastTexture; - private static final ResourceLocation ringModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Ring.obj"); - private IModelCustom ringModel; - private ResourceLocation ringTexture; - private static final ResourceLocation ringBigModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/RingBig.obj"); - private IModelCustom ringBigModel; - private ResourceLocation ringBigTexture; - public float scale = 0; - public float ring = 0; - public float color = 0; - public int alpha = 0; - - public RenderSmallNuke() { - blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); - blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/NukeCloudFire.png"); - ringModel = AdvancedModelLoader.loadModel(ringModelRL); - ringTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); - ringBigModel = AdvancedModelLoader.loadModel(ringBigModelRL); - ringBigTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); - scale = 0; - ring = 0; - color = 0; - alpha = 0; - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glEnable(GL11.GL_CULL_FACE); - GL11.glScalef(4.0F, 4.0F, 4.0F); - if(scale < 1) - scale += 0.01F; - { - GL11.glScalef(scale, scale, scale); - } - - if(((EntityNukeCloudSmall)p_76986_1_).age > ((EntityNukeCloudSmall)p_76986_1_).maxAge - 150) - { - if(color < 0.75) - color += 0.005; - } - - GL11.glColor4f(1.0f - color, 1.0f - color, 1.0f - color, 1.0F - alpha); - - //GL11.glTranslatef(0.0F, -2.5F, 0.0F); - //GL11.glTranslatef(0.0F, 11F, 0.0F); - - bindTexture(blastTexture); - blastModel.renderAll(); - - GL11.glTranslatef(0, 15F, 0); - GL11.glScalef(20.0F, 5.0F, 20.0F); - - bindTexture(ringBigTexture); - ringBigModel.renderAll(); - - GL11.glScalef(1/scale, 1/scale, 1/scale); - GL11.glTranslatef(0, -4.75F, 0); - //GL11.glScalef(1/20.0F, 1/5.0F, 1/20.0F); - ring += 0.1F; - { - GL11.glScalef(ring, 5, ring); - } - - GL11.glTranslatef(0, 1F, 0); - bindTexture(ringTexture); - ringModel.renderAll(); - - GL11.glPopMatrix(); - - if(((EntityNukeCloudSmall)p_76986_1_).age >= ((EntityNukeCloudSmall)p_76986_1_).maxAge - 1) - { - scale = 0; - ring = 0; - color = 0; - } - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return null; - } - -} +package com.hbm.render.entity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderSmallNuke extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/NukeCloudSmall.obj"); + private IModelCustom blastModel; + private ResourceLocation blastTexture; + private static final ResourceLocation ringModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Ring.obj"); + private IModelCustom ringModel; + private ResourceLocation ringTexture; + private static final ResourceLocation ringBigModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/RingBig.obj"); + private IModelCustom ringBigModel; + private ResourceLocation ringBigTexture; + public float scale = 0; + public float ring = 0; + public float color = 0; + public int alpha = 0; + + public RenderSmallNuke() { + blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); + blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/NukeCloudFire.png"); + ringModel = AdvancedModelLoader.loadModel(ringModelRL); + ringTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); + ringBigModel = AdvancedModelLoader.loadModel(ringBigModelRL); + ringBigTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); + scale = 0; + ring = 0; + color = 0; + alpha = 0; + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glEnable(GL11.GL_CULL_FACE); + GL11.glScalef(4.0F, 4.0F, 4.0F); + if(scale < 1) + scale += 0.01F; + { + GL11.glScalef(scale, scale, scale); + } + + if(((EntityNukeCloudSmall)p_76986_1_).age > ((EntityNukeCloudSmall)p_76986_1_).maxAge - 150) + { + if(color < 0.75) + color += 0.005; + } + + GL11.glColor4f(1.0f - color, 1.0f - color, 1.0f - color, 1.0F - alpha); + + //GL11.glTranslatef(0.0F, -2.5F, 0.0F); + //GL11.glTranslatef(0.0F, 11F, 0.0F); + + bindTexture(blastTexture); + blastModel.renderAll(); + + GL11.glTranslatef(0, 15F, 0); + GL11.glScalef(20.0F, 5.0F, 20.0F); + + bindTexture(ringBigTexture); + ringBigModel.renderAll(); + + GL11.glScalef(1/scale, 1/scale, 1/scale); + GL11.glTranslatef(0, -4.75F, 0); + //GL11.glScalef(1/20.0F, 1/5.0F, 1/20.0F); + ring += 0.1F; + { + GL11.glScalef(ring, 5, ring); + } + + GL11.glTranslatef(0, 1F, 0); + bindTexture(ringTexture); + ringModel.renderAll(); + + GL11.glPopMatrix(); + + if(((EntityNukeCloudSmall)p_76986_1_).age >= ((EntityNukeCloudSmall)p_76986_1_).maxAge - 1) + { + scale = 0; + ring = 0; + color = 0; + } + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return null; + } + +} diff --git a/com/hbm/render/entity/RenderSmallNukeAlt.java b/com/hbm/render/entity/RenderSmallNukeAlt.java index ceb3b873b..14f40471c 100644 --- a/com/hbm/render/entity/RenderSmallNukeAlt.java +++ b/com/hbm/render/entity/RenderSmallNukeAlt.java @@ -1,178 +1,178 @@ -package com.hbm.render.entity; - -import java.util.Random; - -import org.lwjgl.opengl.GL11; - -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.RenderHelper; -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderSmallNukeAlt extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/NukeCloudSmall.obj"); - private IModelCustom blastModel; - private ResourceLocation blastTexture; - private static final ResourceLocation ringModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Ring.obj"); - private IModelCustom ringModel; - private ResourceLocation ringTexture; - private static final ResourceLocation ringBigModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/RingBig.obj"); - private IModelCustom ringBigModel; - private ResourceLocation ringBigTexture; - public float scale = 0; - public float ring = 0; - - public RenderSmallNukeAlt() { - blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); - blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/NukeCloudFire.png"); - ringModel = AdvancedModelLoader.loadModel(ringModelRL); - ringTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); - ringBigModel = AdvancedModelLoader.loadModel(ringBigModelRL); - ringBigTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); - scale = 0; - ring = 0; - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - if(((EntityNukeCloudSmall)p_76986_1_).age > 100) - { - this.renderMush((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - this.renderCloud((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } else { - this.renderFlare((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } - this.renderRing((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); - } - - public void renderMush(EntityNukeCloudSmall p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - if(p_76986_1_.age < 150) - { - //GL11.glTranslatef(0.0F, -60F + ((p_76986_1_.age - 100) * 60 / 50), 0.0F); - GL11.glTranslatef(0.0F, p_76986_1_.height, 0.0F); - } - GL11.glScalef(4.0F, 4.0F, 4.0F); - - bindTexture(blastTexture); - blastModel.renderAll(); - GL11.glPopMatrix(); - } - - public void renderCloud(EntityNukeCloudSmall p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glTranslatef(0.0F, 60F, 0.0F); - /*if(scale < 1.5) - { - scale += 0.02; - }*/ - GL11.glScalef(p_76986_1_.scale, 1.0F, p_76986_1_.scale); - GL11.glScalef(50F, 25.0F, 50F); - - bindTexture(ringBigTexture); - ringBigModel.renderAll(); - GL11.glPopMatrix(); - } - - public void renderRing(EntityNukeCloudSmall p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glDisable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glTranslatef(0.0F, 18F, 0.0F); - //ring += 0.1F; - GL11.glScalef(p_76986_1_.ring * 10, 30F, p_76986_1_.ring * 10); - - bindTexture(ringTexture); - ringModel.renderAll(); - GL11.glPopMatrix(); - } - - public void renderFlare(EntityNukeCloudSmall p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - Tessellator tessellator = Tessellator.instance; - RenderHelper.disableStandardItemLighting(); - float f1 = (p_76986_1_.ticksExisted + 2.0F) / 200.0F; - float f2 = 0.0F; - int count = 250; - - if(p_76986_1_.ticksExisted < 250) - { - count = p_76986_1_.ticksExisted * 3; - } - - if (f1 > 0.8F) - { - f2 = (f1 - 0.8F) / 0.2F; - } - - Random random = new Random(432L); - GL11.glDisable(GL11.GL_TEXTURE_2D); - GL11.glShadeModel(GL11.GL_SMOOTH); - GL11.glEnable(GL11.GL_BLEND); - GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); - GL11.glDisable(GL11.GL_ALPHA_TEST); - GL11.glEnable(GL11.GL_CULL_FACE); - GL11.glDepthMask(false); - GL11.glPushMatrix(); - //GL11.glTranslatef(0.0F, -1.0F, -2.0F); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_ + 15, (float)p_76986_6_); - GL11.glScalef(5F, 5F, 5F); - - //for (int i = 0; (float)i < (f1 + f1 * f1) / 2.0F * 60.0F; ++i) - for(int i = 0; i < count; i++) - { - GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(random.nextFloat() * 360.0F + f1 * 90.0F, 0.0F, 0.0F, 1.0F); - tessellator.startDrawing(6); - float f3 = random.nextFloat() * 20.0F + 5.0F + f2 * 10.0F; - float f4 = random.nextFloat() * 2.0F + 1.0F + f2 * 2.0F; - //tessellator.setColorRGBA_I(16777215, (int)(255.0F * (1.0F - f2))); - tessellator.setColorRGBA_I(59345715, (int)(255.0F * (1.0F - f2))); - tessellator.addVertex(0.0D, 0.0D, 0.0D); - //tessellator.setColorRGBA_I(16711935, 0); - tessellator.setColorRGBA_I(59345735, 0); - tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); - tessellator.addVertex(0.866D * f4, f3, -0.5F * f4); - tessellator.addVertex(0.0D, f3, 1.0F * f4); - tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); - tessellator.draw(); - } - - GL11.glPopMatrix(); - GL11.glDepthMask(true); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glDisable(GL11.GL_BLEND); - GL11.glShadeModel(GL11.GL_FLAT); - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - GL11.glEnable(GL11.GL_TEXTURE_2D); - GL11.glEnable(GL11.GL_ALPHA_TEST); - RenderHelper.enableStandardItemLighting(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return null; - } - -} +package com.hbm.render.entity; + +import java.util.Random; + +import org.lwjgl.opengl.GL11; + +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.RenderHelper; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderSmallNukeAlt extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/NukeCloudSmall.obj"); + private IModelCustom blastModel; + private ResourceLocation blastTexture; + private static final ResourceLocation ringModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Ring.obj"); + private IModelCustom ringModel; + private ResourceLocation ringTexture; + private static final ResourceLocation ringBigModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/RingBig.obj"); + private IModelCustom ringBigModel; + private ResourceLocation ringBigTexture; + public float scale = 0; + public float ring = 0; + + public RenderSmallNukeAlt() { + blastModel = AdvancedModelLoader.loadModel(objTesterModelRL); + blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/NukeCloudFire.png"); + ringModel = AdvancedModelLoader.loadModel(ringModelRL); + ringTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); + ringBigModel = AdvancedModelLoader.loadModel(ringBigModelRL); + ringBigTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png"); + scale = 0; + ring = 0; + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + if(((EntityNukeCloudSmall)p_76986_1_).age > 100) + { + this.renderMush((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + this.renderCloud((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + } else { + this.renderFlare((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + } + this.renderRing((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_); + } + + public void renderMush(EntityNukeCloudSmall p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + if(p_76986_1_.age < 150) + { + //GL11.glTranslatef(0.0F, -60F + ((p_76986_1_.age - 100) * 60 / 50), 0.0F); + GL11.glTranslatef(0.0F, p_76986_1_.height, 0.0F); + } + GL11.glScalef(4.0F, 4.0F, 4.0F); + + bindTexture(blastTexture); + blastModel.renderAll(); + GL11.glPopMatrix(); + } + + public void renderCloud(EntityNukeCloudSmall p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glTranslatef(0.0F, 60F, 0.0F); + /*if(scale < 1.5) + { + scale += 0.02; + }*/ + GL11.glScalef(p_76986_1_.scale, 1.0F, p_76986_1_.scale); + GL11.glScalef(50F, 25.0F, 50F); + + bindTexture(ringBigTexture); + ringBigModel.renderAll(); + GL11.glPopMatrix(); + } + + public void renderRing(EntityNukeCloudSmall p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glDisable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glTranslatef(0.0F, 18F, 0.0F); + //ring += 0.1F; + GL11.glScalef(p_76986_1_.ring * 10, 30F, p_76986_1_.ring * 10); + + bindTexture(ringTexture); + ringModel.renderAll(); + GL11.glPopMatrix(); + } + + public void renderFlare(EntityNukeCloudSmall p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + Tessellator tessellator = Tessellator.instance; + RenderHelper.disableStandardItemLighting(); + float f1 = (p_76986_1_.ticksExisted + 2.0F) / 200.0F; + float f2 = 0.0F; + int count = 250; + + if(p_76986_1_.ticksExisted < 250) + { + count = p_76986_1_.ticksExisted * 3; + } + + if (f1 > 0.8F) + { + f2 = (f1 - 0.8F) / 0.2F; + } + + Random random = new Random(432L); + GL11.glDisable(GL11.GL_TEXTURE_2D); + GL11.glShadeModel(GL11.GL_SMOOTH); + GL11.glEnable(GL11.GL_BLEND); + GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); + GL11.glDisable(GL11.GL_ALPHA_TEST); + GL11.glEnable(GL11.GL_CULL_FACE); + GL11.glDepthMask(false); + GL11.glPushMatrix(); + //GL11.glTranslatef(0.0F, -1.0F, -2.0F); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_ + 15, (float)p_76986_6_); + GL11.glScalef(5F, 5F, 5F); + + //for (int i = 0; (float)i < (f1 + f1 * f1) / 2.0F * 60.0F; ++i) + for(int i = 0; i < count; i++) + { + GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(random.nextFloat() * 360.0F + f1 * 90.0F, 0.0F, 0.0F, 1.0F); + tessellator.startDrawing(6); + float f3 = random.nextFloat() * 20.0F + 5.0F + f2 * 10.0F; + float f4 = random.nextFloat() * 2.0F + 1.0F + f2 * 2.0F; + //tessellator.setColorRGBA_I(16777215, (int)(255.0F * (1.0F - f2))); + tessellator.setColorRGBA_I(59345715, (int)(255.0F * (1.0F - f2))); + tessellator.addVertex(0.0D, 0.0D, 0.0D); + //tessellator.setColorRGBA_I(16711935, 0); + tessellator.setColorRGBA_I(59345735, 0); + tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); + tessellator.addVertex(0.866D * f4, f3, -0.5F * f4); + tessellator.addVertex(0.0D, f3, 1.0F * f4); + tessellator.addVertex(-0.866D * f4, f3, -0.5F * f4); + tessellator.draw(); + } + + GL11.glPopMatrix(); + GL11.glDepthMask(true); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glDisable(GL11.GL_BLEND); + GL11.glShadeModel(GL11.GL_FLAT); + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + GL11.glEnable(GL11.GL_TEXTURE_2D); + GL11.glEnable(GL11.GL_ALPHA_TEST); + RenderHelper.enableStandardItemLighting(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return null; + } + +} diff --git a/com/hbm/render/entity/SSmokeRenderer.java b/com/hbm/render/entity/SSmokeRenderer.java new file mode 100644 index 000000000..982129ff7 --- /dev/null +++ b/com/hbm/render/entity/SSmokeRenderer.java @@ -0,0 +1,146 @@ +package com.hbm.render.entity; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; +import java.util.concurrent.Callable; + +import org.lwjgl.opengl.GL11; +import org.lwjgl.opengl.GL12; + +import com.hbm.entity.particle.EntitySSmokeFX; +import com.hbm.entity.particle.EntitySmokeFX; +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.particle.EntityDiggingFX; +import net.minecraft.client.particle.EntityFX; +import net.minecraft.client.renderer.ActiveRenderInfo; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.client.renderer.texture.TextureManager; +import net.minecraft.client.renderer.texture.TextureMap; +import net.minecraft.crash.CrashReport; +import net.minecraft.crash.CrashReportCategory; +import net.minecraft.entity.Entity; +import net.minecraft.entity.projectile.EntityPotion; +import net.minecraft.item.Item; +import net.minecraft.item.ItemPotion; +import net.minecraft.potion.PotionHelper; +import net.minecraft.util.IIcon; +import net.minecraft.util.MathHelper; +import net.minecraft.util.MovingObjectPosition; +import net.minecraft.util.ReportedException; +import net.minecraft.util.ResourceLocation; +import net.minecraft.world.World; + +public class SSmokeRenderer extends Render { + private Item field_94151_a; + private int field_94150_f; + private static final String __OBFID = "CL_00001008"; + + public SSmokeRenderer(Item p_i1259_1_, int p_i1259_2_) { + this.field_94151_a = p_i1259_1_; + this.field_94150_f = p_i1259_2_; + } + + public SSmokeRenderer(Item p_i1260_1_) { + this(p_i1260_1_, 0); + } + + /** + * Actually renders the given argument. This is a synthetic bridge method, + * always casting down its argument and then handing it off to a worker + * function which does the actual work. In all probabilty, the class Render + * is generic (Render= fx.maxAge / 8 * 7) { + field_94151_a = ModItems.smoke8; + } + + if (fx.particleAge < fx.maxAge / 8 * 7 && fx.particleAge >= fx.maxAge / 8 * 6) { + field_94151_a = ModItems.smoke7; + } + + if (fx.particleAge < fx.maxAge / 8 * 6 && fx.particleAge >= fx.maxAge / 8 * 5) { + field_94151_a = ModItems.smoke6; + } + + if (fx.particleAge < fx.maxAge / 8 * 5 && fx.particleAge >= fx.maxAge / 8 * 4) { + field_94151_a = ModItems.smoke5; + } + + if (fx.particleAge < fx.maxAge / 8 * 4 && fx.particleAge >= fx.maxAge / 8 * 3) { + field_94151_a = ModItems.smoke4; + } + + if (fx.particleAge < fx.maxAge / 8 * 3 && fx.particleAge >= fx.maxAge / 8 * 2) { + field_94151_a = ModItems.smoke3; + } + + if (fx.particleAge < fx.maxAge / 8 * 2 && fx.particleAge >= fx.maxAge / 8 * 1) { + field_94151_a = ModItems.smoke2; + } + + if (fx.particleAge < fx.maxAge / 8 && fx.particleAge >= 0) { + field_94151_a = ModItems.smoke1; + } + + IIcon iicon = field_94151_a.getIconFromDamage(0); + + if (iicon != null) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) p_76986_2_, (float) p_76986_4_, (float) p_76986_6_); + GL11.glEnable(GL12.GL_RESCALE_NORMAL); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glScalef(7.5F, 7.5F, 7.5F); + // + GL11.glScalef(0.25F, 0.25F, 0.25F); + // + this.bindEntityTexture(p_76986_1_); + Tessellator tessellator = Tessellator.instance; + + this.func_77026_a(tessellator, iicon); + GL11.glDisable(GL12.GL_RESCALE_NORMAL); + GL11.glPopMatrix(); + } + } + } + + /** + * Returns the location of an entity's texture. Doesn't seem to be called + * unless you call Render.bindEntityTexture. + */ + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return TextureMap.locationItemsTexture; + } + + private void func_77026_a(Tessellator p_77026_1_, IIcon p_77026_2_) { + float f = p_77026_2_.getMinU(); + float f1 = p_77026_2_.getMaxU(); + float f2 = p_77026_2_.getMinV(); + float f3 = p_77026_2_.getMaxV(); + float f4 = 1.0F; + float f5 = 0.5F; + float f6 = 0.25F; + GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); + p_77026_1_.startDrawingQuads(); + p_77026_1_.setNormal(0.0F, 1.0F, 0.0F); + p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (0.0F - f6), 0.0D, (double) f, (double) f3); + p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (0.0F - f6), 0.0D, (double) f1, (double) f3); + p_77026_1_.addVertexWithUV((double) (f4 - f5), (double) (f4 - f6), 0.0D, (double) f1, (double) f2); + p_77026_1_.addVertexWithUV((double) (0.0F - f5), (double) (f4 - f6), 0.0D, (double) f, (double) f2); + p_77026_1_.draw(); + } +} diff --git a/com/hbm/render/item/ItemRenderBigSword.java b/com/hbm/render/item/ItemRenderBigSword.java index cf02767f0..6a1c7f989 100644 --- a/com/hbm/render/item/ItemRenderBigSword.java +++ b/com/hbm/render/item/ItemRenderBigSword.java @@ -1,55 +1,55 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelBigSword; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderBigSword implements IItemRenderer { - - protected ModelBigSword bigSwordModel; - - public ItemRenderBigSword() { - bigSwordModel = new ModelBigSword(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelBigSwordTexture.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(90.0F, 0.0F, 1.0F, 0.0F); - GL11.glTranslatef(0.0F, 0.4F, -0.7F); - bigSwordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelBigSword; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderBigSword implements IItemRenderer { + + protected ModelBigSword bigSwordModel; + + public ItemRenderBigSword() { + bigSwordModel = new ModelBigSword(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelBigSwordTexture.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(90.0F, 0.0F, 1.0F, 0.0F); + GL11.glTranslatef(0.0F, 0.4F, -0.7F); + bigSwordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderDecoBlock.java b/com/hbm/render/item/ItemRenderDecoBlock.java index 29c1663fc..f76d52df5 100644 --- a/com/hbm/render/item/ItemRenderDecoBlock.java +++ b/com/hbm/render/item/ItemRenderDecoBlock.java @@ -1,120 +1,120 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelSteelBeam; -import com.hbm.render.model.ModelSteelCorner; -import com.hbm.render.model.ModelSteelRoof; -import com.hbm.render.model.ModelSteelScaffold; -import com.hbm.render.model.ModelSteelWall; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderDecoBlock implements IItemRenderer { - - protected ModelSteelWall wall; - protected ModelSteelCorner corner; - protected ModelSteelRoof roof; - protected ModelSteelBeam beam; - protected ModelSteelScaffold scaffold; - - public ItemRenderDecoBlock() { - wall = new ModelSteelWall(); - corner = new ModelSteelCorner(); - roof = new ModelSteelRoof(); - beam = new ModelSteelBeam(); - scaffold = new ModelSteelScaffold(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_wall)) - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelWall.png")); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_corner)) - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelCorner.png")); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_roof)) - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelRoof.png")); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_beam)) - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelBeam.png")); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_scaffold)) - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelScaffold.png")); - - switch(type) { - case ENTITY: - GL11.glPushMatrix(); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -1.0F, 0.0F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_wall)) - wall.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_corner)) - corner.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_roof)) - roof.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_beam)) - beam.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_scaffold)) - scaffold.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - GL11.glPushMatrix(); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glTranslatef(0.8F, -0.3F, 0.2F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_wall)) - wall.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_corner)) - corner.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_roof)) - roof.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_beam)) - beam.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_scaffold)) - scaffold.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.6F, -0.6F, -0.1F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_wall)) - wall.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_corner)) - corner.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_roof)) - roof.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_beam)) - beam.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_scaffold)) - scaffold.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelSteelBeam; +import com.hbm.render.model.ModelSteelCorner; +import com.hbm.render.model.ModelSteelRoof; +import com.hbm.render.model.ModelSteelScaffold; +import com.hbm.render.model.ModelSteelWall; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderDecoBlock implements IItemRenderer { + + protected ModelSteelWall wall; + protected ModelSteelCorner corner; + protected ModelSteelRoof roof; + protected ModelSteelBeam beam; + protected ModelSteelScaffold scaffold; + + public ItemRenderDecoBlock() { + wall = new ModelSteelWall(); + corner = new ModelSteelCorner(); + roof = new ModelSteelRoof(); + beam = new ModelSteelBeam(); + scaffold = new ModelSteelScaffold(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_wall)) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelWall.png")); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_corner)) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelCorner.png")); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_roof)) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelRoof.png")); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_beam)) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelBeam.png")); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_scaffold)) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/SteelScaffold.png")); + + switch(type) { + case ENTITY: + GL11.glPushMatrix(); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -1.0F, 0.0F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_wall)) + wall.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_corner)) + corner.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_roof)) + roof.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_beam)) + beam.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_scaffold)) + scaffold.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + GL11.glPushMatrix(); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glTranslatef(0.8F, -0.3F, 0.2F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_wall)) + wall.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_corner)) + corner.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_roof)) + roof.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_beam)) + beam.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_scaffold)) + scaffold.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.6F, -0.6F, -0.1F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_wall)) + wall.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_corner)) + corner.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_roof)) + roof.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_beam)) + beam.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == Item.getItemFromBlock(ModBlocks.steel_scaffold)) + scaffold.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderFatMan.java b/com/hbm/render/item/ItemRenderFatMan.java index 5cf795745..d0f8d1c3e 100644 --- a/com/hbm/render/item/ItemRenderFatMan.java +++ b/com/hbm/render/item/ItemRenderFatMan.java @@ -1,71 +1,71 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelFatman; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; -import net.minecraftforge.client.IItemRenderer.ItemRenderType; -import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; - -public class ItemRenderFatMan implements IItemRenderer { - - protected ModelFatman swordModel; - - public ItemRenderFatMan() { - swordModel = new ModelFatman(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/FatmanLauncher.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/FatmanLauncher.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(0.5F, -0.2F, 0.0F); - GL11.glScalef(1.5F, 1.5F, 1.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelFatman; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderFatMan implements IItemRenderer { + + protected ModelFatman swordModel; + + public ItemRenderFatMan() { + swordModel = new ModelFatman(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/FatmanLauncher.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/FatmanLauncher.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.5F, -0.2F, 0.0F); + GL11.glScalef(1.5F, 1.5F, 1.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderMP.java b/com/hbm/render/item/ItemRenderMP.java index ec83e495d..18ec740d5 100644 --- a/com/hbm/render/item/ItemRenderMP.java +++ b/com/hbm/render/item/ItemRenderMP.java @@ -1,73 +1,73 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelMP; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; -import net.minecraftforge.client.IItemRenderer.ItemRenderType; -import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; - -public class ItemRenderMP implements IItemRenderer { - - protected ModelMP swordModel; - - public ItemRenderMP() { - swordModel = new ModelMP(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelMP.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glTranslatef(-0.4F, -0.1F, 0.1F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelMP.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(0.5F, -0.2F, 0.0F); - GL11.glScalef(0.75F, 0.75F, 0.75F); - GL11.glTranslatef(-0.8F, -0.1F, 0.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelMP; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderMP implements IItemRenderer { + + protected ModelMP swordModel; + + public ItemRenderMP() { + swordModel = new ModelMP(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelMP.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glTranslatef(-0.4F, -0.1F, 0.1F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelMP.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.5F, -0.2F, 0.0F); + GL11.glScalef(0.75F, 0.75F, 0.75F); + GL11.glTranslatef(-0.8F, -0.1F, 0.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderMiniNuke.java b/com/hbm/render/item/ItemRenderMiniNuke.java index c322acf27..4d109cb8c 100644 --- a/com/hbm/render/item/ItemRenderMiniNuke.java +++ b/com/hbm/render/item/ItemRenderMiniNuke.java @@ -1,69 +1,69 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelMiniNuke; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; -import net.minecraftforge.client.IItemRenderer.ItemRenderType; -import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; - -public class ItemRenderMiniNuke implements IItemRenderer { - - protected ModelMiniNuke swordModel; - - public ItemRenderMiniNuke() { - swordModel = new ModelMiniNuke(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/MiniNuke.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glScalef(1.5F, 1.5F, 1.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/MiniNuke.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(1.5F, 1.5F, 1.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelMiniNuke; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderMiniNuke implements IItemRenderer { + + protected ModelMiniNuke swordModel; + + public ItemRenderMiniNuke() { + swordModel = new ModelMiniNuke(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/MiniNuke.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glScalef(1.5F, 1.5F, 1.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/MiniNuke.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(1.5F, 1.5F, 1.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderMultitool.java b/com/hbm/render/item/ItemRenderMultitool.java new file mode 100644 index 000000000..68c619592 --- /dev/null +++ b/com/hbm/render/item/ItemRenderMultitool.java @@ -0,0 +1,138 @@ +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.render.model.ModelMultitoolClaw; +import com.hbm.render.model.ModelMultitoolFist; +import com.hbm.render.model.ModelMultitoolOpen; +import com.hbm.render.model.ModelMultitoolPointer; +import com.hbm.render.model.ModelUboinik; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.client.renderer.entity.RenderPlayer; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderMultitool implements IItemRenderer { + + protected ModelMultitoolOpen open; + protected ModelMultitoolClaw claw; + protected ModelMultitoolFist fist; + protected ModelMultitoolPointer pointer; + public RenderPlayer renderPlayer; + + public ItemRenderMultitool() { + open = new ModelMultitoolOpen(); + claw = new ModelMultitoolClaw(); + fist = new ModelMultitoolFist(); + pointer = new ModelMultitoolPointer(); + renderPlayer = new RenderPlayer(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelMultitool.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + //GL11.glTranslatef(-0.4F, -0.1F, 0.1F); + GL11.glTranslatef(-0.2F, -0.1F, -0.1F); + if(item != null && item.getItem() == ModItems.multitool_dig) + claw.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_silk) + claw.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_ext) + open.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_miner) + pointer.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_hit) + fist.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_beam) + pointer.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_sky) + open.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_mega) + fist.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_joule) + fist.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_decon) + open.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + + GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glRotatef(90.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(6 * 0.0625F, -12 * 0.0625F, 0 * 0.0625F); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("textures/entity/steve.png")); + renderPlayer.modelBipedMain.bipedRightArm.render(0.0625F); + + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelMultitool.png")); + GL11.glScalef(0.75F, 0.75F, 0.75F); + + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + + GL11.glTranslatef(-4 * 0.0625F, 2 * 0.0625F, -9 * 0.0625F); + + if(item != null && item.getItem() == ModItems.multitool_dig) + claw.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_silk) + claw.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_ext) + open.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_miner) + pointer.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_hit) + fist.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_beam) + pointer.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_sky) + open.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_mega) + fist.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_joule) + fist.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item != null && item.getItem() == ModItems.multitool_decon) + open.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderNukeGadget.java b/com/hbm/render/item/ItemRenderNukeGadget.java index f43392a2b..62df3db47 100644 --- a/com/hbm/render/item/ItemRenderNukeGadget.java +++ b/com/hbm/render/item/ItemRenderNukeGadget.java @@ -1,62 +1,62 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.Minecraft; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class ItemRenderNukeGadget implements IItemRenderer { - - private IModelCustom gadgetModel; - private ResourceLocation gadgetTexture; - float f = -1; - - public ItemRenderNukeGadget() { - gadgetModel = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/TheGadget3.obj")); - gadgetTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - f += 0.1F; - if(f > 1.0F) - f = -1.0F; - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(gadgetTexture); - //GL11.glRotatef(0.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(15.0F, 0.0F, 0.0F, -1.0F); - GL11.glTranslatef(0.8F, 0.2F, 0.5F); - GL11.glScalef(0.25F, 0.25F, 0.25F); - gadgetModel.renderAll(); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.Minecraft; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class ItemRenderNukeGadget implements IItemRenderer { + + private IModelCustom gadgetModel; + private ResourceLocation gadgetTexture; + float f = -1; + + public ItemRenderNukeGadget() { + gadgetModel = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/TheGadget3.obj")); + gadgetTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + f += 0.1F; + if(f > 1.0F) + f = -1.0F; + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(gadgetTexture); + //GL11.glRotatef(0.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(15.0F, 0.0F, 0.0F, -1.0F); + GL11.glTranslatef(0.8F, 0.2F, 0.5F); + GL11.glScalef(0.25F, 0.25F, 0.25F); + gadgetModel.renderAll(); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderOSIPR.java b/com/hbm/render/item/ItemRenderOSIPR.java index cc1af635a..6b4442a86 100644 --- a/com/hbm/render/item/ItemRenderOSIPR.java +++ b/com/hbm/render/item/ItemRenderOSIPR.java @@ -1,73 +1,73 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelOSIPR; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; -import net.minecraftforge.client.IItemRenderer.ItemRenderType; -import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; - -public class ItemRenderOSIPR implements IItemRenderer { - - protected ModelOSIPR swordModel; - - public ItemRenderOSIPR() { - swordModel = new ModelOSIPR(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelOSIPR.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glTranslatef(-0.4F, -0.1F, -0.1F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelOSIPR.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(0.5F, -0.2F, 0.0F); - //GL11.glScalef(1.5F, 1.5F, 1.5F); - GL11.glTranslatef(-0.4F, -0.1F, 0.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelOSIPR; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderOSIPR implements IItemRenderer { + + protected ModelOSIPR swordModel; + + public ItemRenderOSIPR() { + swordModel = new ModelOSIPR(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelOSIPR.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glTranslatef(-0.4F, -0.1F, -0.1F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelOSIPR.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.5F, -0.2F, 0.0F); + //GL11.glScalef(1.5F, 1.5F, 1.5F); + GL11.glTranslatef(-0.4F, -0.1F, 0.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderOverkill.java b/com/hbm/render/item/ItemRenderOverkill.java new file mode 100644 index 000000000..1ad3b6fad --- /dev/null +++ b/com/hbm/render/item/ItemRenderOverkill.java @@ -0,0 +1,118 @@ +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelEuthanasia; +import com.hbm.render.model.ModelHP; +import com.hbm.render.model.ModelJack; +import com.hbm.render.model.ModelSpark; +import com.hbm.render.model.ModelUboinik; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderOverkill implements IItemRenderer { + + protected ModelJack powerJack; + protected ModelSpark sparkPlug; + protected ModelHP hppLaserjet; + protected ModelEuthanasia euthanasia; + + public ItemRenderOverkill() { + powerJack = new ModelJack(); + sparkPlug = new ModelSpark(); + hppLaserjet = new ModelHP(); + euthanasia = new ModelEuthanasia(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + + if(item.getItem() == ModItems.gun_jack) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelJack.png")); + //if(item.getItem() == ModItems.gun_spark) + // Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelSpark.png")); + //if(item.getItem() == ModItems.gun_hp) + // Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelHP.png")); + if(item.getItem() == ModItems.gun_euthanasia) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelEuthanasia.png")); + + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + //GL11.glTranslatef(-0.4F, -0.1F, 0.1F); + GL11.glTranslatef(-0.2F, -0.1F, -0.1F); + + if(item.getItem() == ModItems.gun_jack) + powerJack.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + //if(item.getItem() == ModItems.gun_spark) + // sparkPlug.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + //if(item.getItem() == ModItems.gun_hp) + // hppLaserjet.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == ModItems.gun_euthanasia) + euthanasia.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + if(item.getItem() == ModItems.gun_jack) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelJack.png")); + //if(item.getItem() == ModItems.gun_spark) + // Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelSpark.png")); + //if(item.getItem() == ModItems.gun_hp) + // Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelHP.png")); + if(item.getItem() == ModItems.gun_euthanasia) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelEuthanasia.png")); + + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.5F, -0.2F, 0.0F); + GL11.glScalef(0.75F, 0.75F, 0.75F); + GL11.glTranslatef(-1.4F, 0.0F, 0.0F); + + if(item.getItem() == ModItems.gun_jack) + powerJack.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + //if(item.getItem() == ModItems.gun_spark) + // sparkPlug.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + //if(item.getItem() == ModItems.gun_hp) + // hppLaserjet.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + if(item.getItem() == ModItems.gun_euthanasia) + euthanasia.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderPoleTop.java b/com/hbm/render/item/ItemRenderPoleTop.java index 4cf24e815..db35b5efa 100644 --- a/com/hbm/render/item/ItemRenderPoleTop.java +++ b/com/hbm/render/item/ItemRenderPoleTop.java @@ -1,72 +1,72 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelPoleTop; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderPoleTop implements IItemRenderer { - - protected ModelPoleTop swordModel; - - public ItemRenderPoleTop() { - swordModel = new ModelPoleTop(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleTop.png")); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -1.0F, 0.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleTop.png")); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.8F, -1.8F, -0.1F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleTop.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.6F, -0.6F, -0.1F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelPoleTop; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderPoleTop implements IItemRenderer { + + protected ModelPoleTop swordModel; + + public ItemRenderPoleTop() { + swordModel = new ModelPoleTop(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleTop.png")); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -1.0F, 0.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleTop.png")); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.8F, -1.8F, -0.1F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleTop.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.6F, -0.6F, -0.1F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderRedstoneSword.java b/com/hbm/render/item/ItemRenderRedstoneSword.java index c4afae33c..59864138b 100644 --- a/com/hbm/render/item/ItemRenderRedstoneSword.java +++ b/com/hbm/render/item/ItemRenderRedstoneSword.java @@ -1,54 +1,54 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelSword; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderRedstoneSword implements IItemRenderer { - - protected ModelSword swordModel; - - public ItemRenderRedstoneSword() { - swordModel = new ModelSword(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelSwordRedstone.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.8F, 0.4F, -0.1F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelSword; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderRedstoneSword implements IItemRenderer { + + protected ModelSword swordModel; + + public ItemRenderRedstoneSword() { + swordModel = new ModelSword(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelSwordRedstone.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.8F, 0.4F, -0.1F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderRevolver.java b/com/hbm/render/item/ItemRenderRevolver.java index d2057ba16..e7a0f4974 100644 --- a/com/hbm/render/item/ItemRenderRevolver.java +++ b/com/hbm/render/item/ItemRenderRevolver.java @@ -1,66 +1,66 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelRevolver; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderRevolver implements IItemRenderer { - - protected ModelRevolver swordModel; - - public ItemRenderRevolver() { - swordModel = new ModelRevolver(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolver.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolver.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelRevolver; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderRevolver implements IItemRenderer { + + protected ModelRevolver swordModel; + + public ItemRenderRevolver() { + swordModel = new ModelRevolver(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolver.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolver.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderRevolverCursed.java b/com/hbm/render/item/ItemRenderRevolverCursed.java index 3a71fa2f7..d294619ce 100644 --- a/com/hbm/render/item/ItemRenderRevolverCursed.java +++ b/com/hbm/render/item/ItemRenderRevolverCursed.java @@ -1,66 +1,66 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelGun; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderRevolverCursed implements IItemRenderer { - - protected ModelGun swordModel; - - public ItemRenderRevolverCursed() { - swordModel = new ModelGun(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelGun.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelGun.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelGun; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderRevolverCursed implements IItemRenderer { + + protected ModelGun swordModel; + + public ItemRenderRevolverCursed() { + swordModel = new ModelGun(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelGun.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelGun.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderRevolverGold.java b/com/hbm/render/item/ItemRenderRevolverGold.java index d11c2053a..a5b9b6ed1 100644 --- a/com/hbm/render/item/ItemRenderRevolverGold.java +++ b/com/hbm/render/item/ItemRenderRevolverGold.java @@ -1,66 +1,66 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelRevolver; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderRevolverGold implements IItemRenderer { - - protected ModelRevolver swordModel; - - public ItemRenderRevolverGold() { - swordModel = new ModelRevolver(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverGold.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverGold.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelRevolver; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderRevolverGold implements IItemRenderer { + + protected ModelRevolver swordModel; + + public ItemRenderRevolverGold() { + swordModel = new ModelRevolver(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverGold.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverGold.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderRevolverIron.java b/com/hbm/render/item/ItemRenderRevolverIron.java index ab2a99f40..4fb377454 100644 --- a/com/hbm/render/item/ItemRenderRevolverIron.java +++ b/com/hbm/render/item/ItemRenderRevolverIron.java @@ -1,66 +1,66 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelRevolver; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderRevolverIron implements IItemRenderer { - - protected ModelRevolver swordModel; - - public ItemRenderRevolverIron() { - swordModel = new ModelRevolver(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverIron.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverIron.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelRevolver; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderRevolverIron implements IItemRenderer { + + protected ModelRevolver swordModel; + + public ItemRenderRevolverIron() { + swordModel = new ModelRevolver(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverIron.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverIron.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderRevolverLead.java b/com/hbm/render/item/ItemRenderRevolverLead.java index b61d70b2b..b2a7e2e1d 100644 --- a/com/hbm/render/item/ItemRenderRevolverLead.java +++ b/com/hbm/render/item/ItemRenderRevolverLead.java @@ -1,67 +1,67 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelRevolver; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; -import net.minecraftforge.client.IItemRenderer.ItemRenderType; -import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; - -public class ItemRenderRevolverLead implements IItemRenderer { - - protected ModelRevolver swordModel; - - public ItemRenderRevolverLead() { - swordModel = new ModelRevolver(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverLead.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverLead.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelRevolver; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderRevolverLead implements IItemRenderer { + + protected ModelRevolver swordModel; + + public ItemRenderRevolverLead() { + swordModel = new ModelRevolver(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverLead.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverLead.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderRevolverNightmare.java b/com/hbm/render/item/ItemRenderRevolverNightmare.java new file mode 100644 index 000000000..03a41421c --- /dev/null +++ b/com/hbm/render/item/ItemRenderRevolverNightmare.java @@ -0,0 +1,87 @@ +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelNightmare; +import com.hbm.render.model.ModelNightmare2; +import com.hbm.render.model.ModelRevolver; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderRevolverNightmare implements IItemRenderer { + + protected ModelNightmare n1; + protected ModelNightmare2 n2; + protected Item item; + + public ItemRenderRevolverNightmare(Item item) { + n1 = new ModelNightmare(); + n2 = new ModelNightmare2(); + this.item = item; + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + if(this.item == ModItems.gun_revolver_nightmare) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelNightmare.png")); + if(this.item == ModItems.gun_revolver_nightmare2) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelNightmare2.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + if(this.item == ModItems.gun_revolver_nightmare) + n1.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, item); + if(this.item == ModItems.gun_revolver_nightmare2) + n2.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, item); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + if(this.item == ModItems.gun_revolver_nightmare) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelNightmare.png")); + if(this.item == ModItems.gun_revolver_nightmare2) + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelNightmare2.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + if(this.item == ModItems.gun_revolver_nightmare) + n1.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, item); + if(this.item == ModItems.gun_revolver_nightmare2) + n2.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, item); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderRevolverSchrabidium.java b/com/hbm/render/item/ItemRenderRevolverSchrabidium.java index d7e788412..e20925739 100644 --- a/com/hbm/render/item/ItemRenderRevolverSchrabidium.java +++ b/com/hbm/render/item/ItemRenderRevolverSchrabidium.java @@ -1,66 +1,66 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelRevolver; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderRevolverSchrabidium implements IItemRenderer { - - protected ModelRevolver swordModel; - - public ItemRenderRevolverSchrabidium() { - swordModel = new ModelRevolver(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverSchrabidium.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverSchrabidium.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelRevolver; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderRevolverSchrabidium implements IItemRenderer { + + protected ModelRevolver swordModel; + + public ItemRenderRevolverSchrabidium() { + swordModel = new ModelRevolver(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverSchrabidium.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolverSchrabidium.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderRocket.java b/com/hbm/render/item/ItemRenderRocket.java index 7576960c1..84846d5b3 100644 --- a/com/hbm/render/item/ItemRenderRocket.java +++ b/com/hbm/render/item/ItemRenderRocket.java @@ -1,64 +1,64 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelRocket; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderRocket implements IItemRenderer { - - protected ModelRocket swordModel; - - public ItemRenderRocket() { - swordModel = new ModelRocket(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRocket.png")); - GL11.glRotatef(-45.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(0.0F, 0.6F, -0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRocket.png")); - GL11.glRotatef(-110.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 2.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, 0.5F, 0.0F); - GL11.glScalef(2.0F, 2.0F, 2.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelRocket; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderRocket implements IItemRenderer { + + protected ModelRocket swordModel; + + public ItemRenderRocket() { + swordModel = new ModelRocket(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRocket.png")); + GL11.glRotatef(-45.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.0F, 0.6F, -0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRocket.png")); + GL11.glRotatef(-110.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 2.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, 0.5F, 0.0F); + GL11.glScalef(2.0F, 2.0F, 2.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderRpg.java b/com/hbm/render/item/ItemRenderRpg.java index a4660c262..33f506be5 100644 --- a/com/hbm/render/item/ItemRenderRpg.java +++ b/com/hbm/render/item/ItemRenderRpg.java @@ -1,68 +1,68 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelAt4; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderRpg implements IItemRenderer { - - protected ModelAt4 swordModel; - - public ItemRenderRpg() { - swordModel = new ModelAt4(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/At4New.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/At4New.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(0.2F, -0.2F, 0.0F); - GL11.glScalef(1.5F, 1.5F, 1.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelAt4; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderRpg implements IItemRenderer { + + protected ModelAt4 swordModel; + + public ItemRenderRpg() { + swordModel = new ModelAt4(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/At4New.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/At4New.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.2F, -0.2F, 0.0F); + GL11.glScalef(1.5F, 1.5F, 1.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderSatelliteReceiver.java b/com/hbm/render/item/ItemRenderSatelliteReceiver.java index 1987dd8db..1fab50ab2 100644 --- a/com/hbm/render/item/ItemRenderSatelliteReceiver.java +++ b/com/hbm/render/item/ItemRenderSatelliteReceiver.java @@ -1,73 +1,73 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelSatelliteReceiver; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderSatelliteReceiver implements IItemRenderer { - - protected ModelSatelliteReceiver swordModel; - - public ItemRenderSatelliteReceiver() { - swordModel = new ModelSatelliteReceiver(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleSatelliteReceiver.png")); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -1.0F, 0.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleSatelliteReceiver.png")); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glTranslatef(0.8F, -0.3F, 0.2F); - GL11.glRotatef(90.0F, 0.0F, -1.0F, 0.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleSatelliteReceiver.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.6F, -0.6F, -0.1F); - GL11.glRotatef(90.0F, 0.0F, 1.0F, 0.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelSatelliteReceiver; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderSatelliteReceiver implements IItemRenderer { + + protected ModelSatelliteReceiver swordModel; + + public ItemRenderSatelliteReceiver() { + swordModel = new ModelSatelliteReceiver(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleSatelliteReceiver.png")); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -1.0F, 0.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleSatelliteReceiver.png")); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glTranslatef(0.8F, -0.3F, 0.2F); + GL11.glRotatef(90.0F, 0.0F, -1.0F, 0.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/PoleSatelliteReceiver.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.6F, -0.6F, -0.1F); + GL11.glRotatef(90.0F, 0.0F, 1.0F, 0.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderSteelPoles.java b/com/hbm/render/item/ItemRenderSteelPoles.java index a49137871..8f5551343 100644 --- a/com/hbm/render/item/ItemRenderSteelPoles.java +++ b/com/hbm/render/item/ItemRenderSteelPoles.java @@ -1,71 +1,71 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelPoles; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderSteelPoles implements IItemRenderer { - - protected ModelPoles swordModel; - - public ItemRenderSteelPoles() { - swordModel = new ModelPoles(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/Poles.png")); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -1.0F, 0.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/Poles.png")); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glTranslatef(0.8F, -0.3F, 0.2F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/Poles.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.6F, -0.6F, -0.1F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelPoles; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderSteelPoles implements IItemRenderer { + + protected ModelPoles swordModel; + + public ItemRenderSteelPoles() { + swordModel = new ModelPoles(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/Poles.png")); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -1.0F, 0.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/Poles.png")); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glTranslatef(0.8F, -0.3F, 0.2F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/Poles.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.6F, -0.6F, -0.1F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderTapeRecorder.java b/com/hbm/render/item/ItemRenderTapeRecorder.java index fab8dad1e..68b08ec6b 100644 --- a/com/hbm/render/item/ItemRenderTapeRecorder.java +++ b/com/hbm/render/item/ItemRenderTapeRecorder.java @@ -1,73 +1,73 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelTapeRecorder; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderTapeRecorder implements IItemRenderer { - - protected ModelTapeRecorder swordModel; - - public ItemRenderTapeRecorder() { - swordModel = new ModelTapeRecorder(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case ENTITY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelTapeRecorder.png")); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -1.0F, 0.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelTapeRecorder.png")); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glTranslatef(0.8F, 1.7F, 0.2F); - GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(90.0F, 0.0F, -1.0F, 0.0F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelTapeRecorder.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.6F, -0.6F, -0.1F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - default: break; - } - } - -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelTapeRecorder; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderTapeRecorder implements IItemRenderer { + + protected ModelTapeRecorder swordModel; + + public ItemRenderTapeRecorder() { + swordModel = new ModelTapeRecorder(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case ENTITY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelTapeRecorder.png")); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -1.0F, 0.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelTapeRecorder.png")); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glTranslatef(0.8F, 1.7F, 0.2F); + GL11.glRotatef(180.0F, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(90.0F, 0.0F, -1.0F, 0.0F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelTapeRecorder.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.6F, -0.6F, -0.1F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + default: break; + } + } + +} diff --git a/com/hbm/render/item/ItemRenderTestBombAdvanced.java b/com/hbm/render/item/ItemRenderTestBombAdvanced.java index f630bfecd..fcc8a93e4 100644 --- a/com/hbm/render/item/ItemRenderTestBombAdvanced.java +++ b/com/hbm/render/item/ItemRenderTestBombAdvanced.java @@ -1,71 +1,71 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelTestBombAdvanced; -import com.hbm.tileentity.TileEntityTestBombAdvanced; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderTestBombAdvanced implements IItemRenderer { - - private ModelTestBombAdvanced bombModel; - - public ItemRenderTestBombAdvanced() { - bombModel = new ModelTestBombAdvanced(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - case INVENTORY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, - ItemRendererHelper helper) { - return true; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - //TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestBombAdvanced(), 0.0D, 0.0D, 0.0D, 0.0F); - - switch(type) { - case INVENTORY: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/NukeTestBomb.png")); - GL11.glRotatef(180.0F, 0.0F, 1.0F, 0.0F); - GL11.glScalef(0.65F, 0.65F, 0.65F); - GL11.glTranslatef(0.0F, -0.75F, 0.0F); - //bombModel.render((Entity)data[0], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestBombAdvanced(), 0.0D, 0.0D, 0.0D, 0.0F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/NukeTestBomb.png")); - GL11.glRotatef(90.0F, 0.0F, 1.0F, 0.0F); - GL11.glTranslatef(-1.5F, 0.0F, 0.0F); - //bombModel.render((Entity)data[0], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestBombAdvanced(), 0.0D, 0.0D, 0.0D, 0.0F); - GL11.glPopMatrix(); - break; - case EQUIPPED_FIRST_PERSON: - case ENTITY: - TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestBombAdvanced(), 0.0D, 0.0D, 0.0D, 0.0F); - default: break; - } - } -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelTestBombAdvanced; +import com.hbm.tileentity.TileEntityTestBombAdvanced; + +import net.minecraft.client.Minecraft; +import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderTestBombAdvanced implements IItemRenderer { + + private ModelTestBombAdvanced bombModel; + + public ItemRenderTestBombAdvanced() { + bombModel = new ModelTestBombAdvanced(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + case INVENTORY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, + ItemRendererHelper helper) { + return true; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + //TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestBombAdvanced(), 0.0D, 0.0D, 0.0D, 0.0F); + + switch(type) { + case INVENTORY: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/NukeTestBomb.png")); + GL11.glRotatef(180.0F, 0.0F, 1.0F, 0.0F); + GL11.glScalef(0.65F, 0.65F, 0.65F); + GL11.glTranslatef(0.0F, -0.75F, 0.0F); + //bombModel.render((Entity)data[0], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestBombAdvanced(), 0.0D, 0.0D, 0.0D, 0.0F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + GL11.glPushMatrix(); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/NukeTestBomb.png")); + GL11.glRotatef(90.0F, 0.0F, 1.0F, 0.0F); + GL11.glTranslatef(-1.5F, 0.0F, 0.0F); + //bombModel.render((Entity)data[0], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestBombAdvanced(), 0.0D, 0.0D, 0.0D, 0.0F); + GL11.glPopMatrix(); + break; + case EQUIPPED_FIRST_PERSON: + case ENTITY: + TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestBombAdvanced(), 0.0D, 0.0D, 0.0D, 0.0F); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderTestContainer.java b/com/hbm/render/item/ItemRenderTestContainer.java index 09a3efa96..5fa465355 100644 --- a/com/hbm/render/item/ItemRenderTestContainer.java +++ b/com/hbm/render/item/ItemRenderTestContainer.java @@ -1,30 +1,30 @@ -package com.hbm.render.item; - -import com.hbm.tileentity.TileEntityTestContainer; - -import net.minecraft.client.model.ModelChest; -import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher; -import net.minecraft.item.ItemStack; -import net.minecraftforge.client.IItemRenderer; - -public class ItemRenderTestContainer implements IItemRenderer { - - private ModelChest chestModel; - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - return true; - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, - ItemRendererHelper helper) { - return true; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestContainer(), 0.0D, 0.0D, 0.0D, 0.0F); - } - -} +package com.hbm.render.item; + +import com.hbm.tileentity.TileEntityTestContainer; + +import net.minecraft.client.model.ModelChest; +import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher; +import net.minecraft.item.ItemStack; +import net.minecraftforge.client.IItemRenderer; + +public class ItemRenderTestContainer implements IItemRenderer { + + private ModelChest chestModel; + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + return true; + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, + ItemRendererHelper helper) { + return true; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileEntityTestContainer(), 0.0D, 0.0D, 0.0D, 0.0F); + } + +} diff --git a/com/hbm/render/ItemRenderRevolverInverted.java b/com/hbm/render/item/ItemRenderUboinik.java similarity index 69% rename from com/hbm/render/ItemRenderRevolverInverted.java rename to com/hbm/render/item/ItemRenderUboinik.java index 133fd5d64..3296bd785 100644 --- a/com/hbm/render/ItemRenderRevolverInverted.java +++ b/com/hbm/render/item/ItemRenderUboinik.java @@ -1,8 +1,10 @@ -package com.hbm.render; +package com.hbm.render.item; import org.lwjgl.opengl.GL11; import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelCryolator; +import com.hbm.render.model.ModelUboinik; import net.minecraft.client.Minecraft; import net.minecraft.entity.Entity; @@ -12,12 +14,12 @@ import net.minecraftforge.client.IItemRenderer; import net.minecraftforge.client.IItemRenderer.ItemRenderType; import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; -public class ItemRenderRevolverInverted implements IItemRenderer { +public class ItemRenderUboinik implements IItemRenderer { - protected ModelRevolver swordModel; + protected ModelUboinik swordModel; - public ItemRenderRevolverInverted() { - swordModel = new ModelRevolver(); + public ItemRenderUboinik() { + swordModel = new ModelUboinik(); } @Override @@ -41,25 +43,30 @@ public class ItemRenderRevolverInverted implements IItemRenderer { switch(type) { case EQUIPPED_FIRST_PERSON: GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolver.png")); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelUboinik.png")); GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); GL11.glTranslatef(-0.5F, 0.0F, -0.2F); //GL11.glScalef(2.0F, 2.0F, 2.0F); GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glRotatef(180.0F, 0.0F, 1.0F, 0.0F); + //GL11.glTranslatef(-0.4F, -0.1F, 0.1F); + GL11.glTranslatef(-0.2F, -0.1F, -0.1F); swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); break; case EQUIPPED: case ENTITY: GL11.glPushMatrix(); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelRevolver.png")); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelUboinik.png")); GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); GL11.glTranslatef(0.0F, -0.2F, -0.5F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glRotatef(180.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.5F, -0.2F, 0.0F); + GL11.glScalef(0.75F, 0.75F, 0.75F); + GL11.glTranslatef(-1.4F, 0.0F, 0.0F); swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); default: break; diff --git a/com/hbm/render/item/ItemRenderXVL1456.java b/com/hbm/render/item/ItemRenderXVL1456.java index 6da056cf8..e194155e0 100644 --- a/com/hbm/render/item/ItemRenderXVL1456.java +++ b/com/hbm/render/item/ItemRenderXVL1456.java @@ -1,78 +1,78 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.items.weapon.GunXVL1456; -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelXVL1456; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.EnumAction; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; -import net.minecraftforge.client.IItemRenderer.ItemRenderType; -import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; - -public class ItemRenderXVL1456 implements IItemRenderer { - - protected ModelXVL1456 swordModel; - - public ItemRenderXVL1456() { - swordModel = new ModelXVL1456(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - float f = 0; - if((Entity)data[1] instanceof EntityPlayer) - //f = ((EntityPlayer)data[1]).getItemInUseCount() > 0 && ((Entity)data[1]).isSneaking() ? 0.05F : 0; - f = (((EntityPlayer)data[1]).getItemInUse() != null &&((EntityPlayer)data[1]).getItemInUse().getItemUseAction() == EnumAction.bow) ? 0.05F : 0; - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelXVL1456.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.9F, 0.0F, -0.2F); - GL11.glScalef(0.3F, 0.3F, 0.3F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, f); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelXVL1456.png")); - GL11.glTranslatef(0.25F, 0F, 1F); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(0.5F, -0.2F, -0.2F); - GL11.glScalef(0.75F, 0.75F, 0.75F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, f); - GL11.glPopMatrix(); - default: break; - } - } -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.items.weapon.GunXVL1456; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelXVL1456; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderXVL1456 implements IItemRenderer { + + protected ModelXVL1456 swordModel; + + public ItemRenderXVL1456() { + swordModel = new ModelXVL1456(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + float f = 0; + if((Entity)data[1] instanceof EntityPlayer) + //f = ((EntityPlayer)data[1]).getItemInUseCount() > 0 && ((Entity)data[1]).isSneaking() ? 0.05F : 0; + f = (((EntityPlayer)data[1]).getItemInUse() != null &&((EntityPlayer)data[1]).getItemInUse().getItemUseAction() == EnumAction.bow) ? 0.05F : 0; + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelXVL1456.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.9F, 0.0F, -0.2F); + GL11.glScalef(0.3F, 0.3F, 0.3F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, f); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelXVL1456.png")); + GL11.glTranslatef(0.25F, 0F, 1F); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.5F, -0.2F, -0.2F); + GL11.glScalef(0.75F, 0.75F, 0.75F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, f); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/item/ItemRenderZOMG.java b/com/hbm/render/item/ItemRenderZOMG.java index 7d7093678..6b8dc6d39 100644 --- a/com/hbm/render/item/ItemRenderZOMG.java +++ b/com/hbm/render/item/ItemRenderZOMG.java @@ -1,74 +1,74 @@ -package com.hbm.render.item; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.main.MainRegistry; -import com.hbm.render.model.ModelZOMG; - -import net.minecraft.client.Minecraft; -import net.minecraft.entity.Entity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.IItemRenderer; -import net.minecraftforge.client.IItemRenderer.ItemRenderType; -import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; - -public class ItemRenderZOMG implements IItemRenderer { - - protected ModelZOMG swordModel; - - public ItemRenderZOMG() { - swordModel = new ModelZOMG(); - } - - @Override - public boolean handleRenderType(ItemStack item, ItemRenderType type) { - switch(type) { - case EQUIPPED: - case EQUIPPED_FIRST_PERSON: - case ENTITY: - return true; - default: return false; - } - } - - @Override - public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { - return false; - } - - @Override - public void renderItem(ItemRenderType type, ItemStack item, Object... data) { - switch(type) { - case EQUIPPED_FIRST_PERSON: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelZOMG.png")); - GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(-0.5F, 0.0F, -0.2F); - //GL11.glScalef(2.0F, 2.0F, 2.0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glTranslatef(-0.4F, -0.1F, -0.1F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - break; - case EQUIPPED: - case ENTITY: - GL11.glPushMatrix(); - GL11.glEnable(GL11.GL_CULL_FACE); - Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelZOMG.png")); - GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); - GL11.glTranslatef(0.0F, -0.2F, -0.5F); - GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); - GL11.glTranslatef(0.5F, -0.2F, 0.0F); - GL11.glScalef(1.5F, 1.5F, 1.5F); - GL11.glTranslatef(-0.4F, -0.1F, -0.1F); - swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); - GL11.glPopMatrix(); - default: break; - } - } -} +package com.hbm.render.item; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.main.MainRegistry; +import com.hbm.render.model.ModelZOMG; + +import net.minecraft.client.Minecraft; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.IItemRenderer; +import net.minecraftforge.client.IItemRenderer.ItemRenderType; +import net.minecraftforge.client.IItemRenderer.ItemRendererHelper; + +public class ItemRenderZOMG implements IItemRenderer { + + protected ModelZOMG swordModel; + + public ItemRenderZOMG() { + swordModel = new ModelZOMG(); + } + + @Override + public boolean handleRenderType(ItemStack item, ItemRenderType type) { + switch(type) { + case EQUIPPED: + case EQUIPPED_FIRST_PERSON: + case ENTITY: + return true; + default: return false; + } + } + + @Override + public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { + return false; + } + + @Override + public void renderItem(ItemRenderType type, ItemStack item, Object... data) { + switch(type) { + case EQUIPPED_FIRST_PERSON: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelZOMG.png")); + GL11.glRotatef(-135.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(-0.5F, 0.0F, -0.2F); + //GL11.glScalef(2.0F, 2.0F, 2.0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glTranslatef(-0.4F, -0.1F, -0.1F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + break; + case EQUIPPED: + case ENTITY: + GL11.glPushMatrix(); + GL11.glEnable(GL11.GL_CULL_FACE); + Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID +":textures/models/ModelZOMG.png")); + GL11.glRotatef(-200.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(75.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.2F, -0.5F); + GL11.glRotatef(-5.0F, 0.0F, 0.0F, 1.0F); + GL11.glTranslatef(0.5F, -0.2F, 0.0F); + GL11.glScalef(1.5F, 1.5F, 1.5F); + GL11.glTranslatef(-0.4F, -0.1F, -0.1F); + swordModel.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); + GL11.glPopMatrix(); + default: break; + } + } +} diff --git a/com/hbm/render/model/ModelBullet.java b/com/hbm/render/model/ModelBullet.java index 3c5e42547..ad9a60a1a 100644 --- a/com/hbm/render/model/ModelBullet.java +++ b/com/hbm/render/model/ModelBullet.java @@ -1,45 +1,45 @@ -package com.hbm.render.model; - -import net.minecraft.client.model.ModelBase; -import net.minecraft.client.model.ModelRenderer; -import net.minecraft.entity.Entity; - -public class ModelBullet extends ModelBase { - - ModelRenderer bullet; - - public ModelBullet() { - textureWidth = 8; - textureHeight = 4; - - bullet = new ModelRenderer(this, 0, 0); - bullet.addBox(0F, 0F, 0F, 2, 1, 1); - bullet.setRotationPoint(1F, -0.5F, -0.5F); - bullet.setTextureSize(8, 4); - bullet.mirror = true; - setRotation(bullet, 0F, 0F, 0F); - } - - @Override - public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { - super.render(entity, f, f1, f2, f3, f4, f5); - setRotationAngles(f, f1, f2, f3, f4, f5, entity); - bullet.render(f5); - } - - private void setRotation(ModelRenderer model, float x, float y, float z) { - model.rotateAngleX = x; - model.rotateAngleY = y; - model.rotateAngleZ = z; - } - - @Override - public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { - super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); - } - - public void renderAll(float f5) { - bullet.render(f5); - } - +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelBullet extends ModelBase { + + ModelRenderer bullet; + + public ModelBullet() { + textureWidth = 8; + textureHeight = 4; + + bullet = new ModelRenderer(this, 0, 0); + bullet.addBox(0F, 0F, 0F, 2, 1, 1); + bullet.setRotationPoint(1F, -0.5F, -0.5F); + bullet.setTextureSize(8, 4); + bullet.mirror = true; + setRotation(bullet, 0F, 0F, 0F); + } + + @Override + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + bullet.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + @Override + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + + public void renderAll(float f5) { + bullet.render(f5); + } + } \ No newline at end of file diff --git a/com/hbm/render/model/ModelChopperMine.java b/com/hbm/render/model/ModelChopperMine.java index 7588d445d..dc9127c8e 100644 --- a/com/hbm/render/model/ModelChopperMine.java +++ b/com/hbm/render/model/ModelChopperMine.java @@ -1,45 +1,45 @@ -package com.hbm.render.model; - -import net.minecraft.client.model.ModelBase; -import net.minecraft.client.model.ModelRenderer; -import net.minecraft.entity.Entity; - -public class ModelChopperMine extends ModelBase { - - ModelRenderer bullet; - - public ModelChopperMine() { - textureWidth = 32; - textureHeight = 16; - - bullet = new ModelRenderer(this, 0, 0); - bullet.addBox(0F, 0F, 0F, 8, 8, 8); - bullet.setRotationPoint(-4F, -4F, -4F); - bullet.setTextureSize(32, 16); - bullet.mirror = true; - setRotation(bullet, 0F, 0F, 0F); - } - - @Override - public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { - super.render(entity, f, f1, f2, f3, f4, f5); - setRotationAngles(f, f1, f2, f3, f4, f5, entity); - bullet.render(f5); - } - - private void setRotation(ModelRenderer model, float x, float y, float z) { - model.rotateAngleX = x; - model.rotateAngleY = y; - model.rotateAngleZ = z; - } - - @Override - public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { - super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); - } - - public void renderAll(float f5) { - bullet.render(f5); - } - +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelChopperMine extends ModelBase { + + ModelRenderer bullet; + + public ModelChopperMine() { + textureWidth = 32; + textureHeight = 16; + + bullet = new ModelRenderer(this, 0, 0); + bullet.addBox(0F, 0F, 0F, 8, 8, 8); + bullet.setRotationPoint(-4F, -4F, -4F); + bullet.setTextureSize(32, 16); + bullet.mirror = true; + setRotation(bullet, 0F, 0F, 0F); + } + + @Override + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + bullet.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + @Override + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + + public void renderAll(float f5) { + bullet.render(f5); + } + } \ No newline at end of file diff --git a/com/hbm/render/model/ModelCloak.java b/com/hbm/render/model/ModelCloak.java index 44b4f684e..8a9f38114 100644 --- a/com/hbm/render/model/ModelCloak.java +++ b/com/hbm/render/model/ModelCloak.java @@ -1,90 +1,90 @@ -package com.hbm.render.model; - -import org.lwjgl.opengl.GL11; - -import net.minecraft.client.entity.AbstractClientPlayer; -import net.minecraft.client.model.ModelBiped; -import net.minecraft.client.model.ModelRenderer; -import net.minecraft.entity.Entity; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.util.MathHelper; - -public class ModelCloak extends ModelBiped -{ - public ModelCloak() - { - textureWidth = 64; - textureHeight = 32; - } - - private void setRotation(ModelRenderer model, float x, float y, float z) - { - model.rotateAngleX = x; - model.rotateAngleY = y; - model.rotateAngleZ = z; - } - - @Override - public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) - { - EntityPlayer player = (EntityPlayer)entity; - if(player.isSneaking()) - { - this.isSneak = true; - } else { - this.isSneak = false; - } - super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); - } - @Override - public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7) - { - if(par1Entity instanceof AbstractClientPlayer) - { - AbstractClientPlayer player = (AbstractClientPlayer) par1Entity; - - GL11.glPushMatrix(); - GL11.glTranslatef(0.0F, 0.0F, 0.125F); - double d3 = player.field_71091_bM + (player.field_71094_bP - player.field_71091_bM) * (double)par7 - (player.prevPosX + (player.posX - player.prevPosX) * (double)par7); - double d4 = player.field_71096_bN + (player.field_71095_bQ - player.field_71096_bN) * (double)par7 - (player.prevPosY + (player.posY - player.prevPosY) * (double)par7); - double d0 = player.field_71097_bO + (player.field_71085_bR - player.field_71097_bO) * (double)par7 - (player.prevPosZ + (player.posZ - player.prevPosZ) * (double)par7); - float f4 = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * par7; - double d1 = (double)MathHelper.sin(f4 * (float)Math.PI / 180.0F); - double d2 = (double)(-MathHelper.cos(f4 * (float)Math.PI / 180.0F)); - float f5 = (float)d4 * 10.0F; - - if (f5 < -6.0F) - { - f5 = -6.0F; - } - - if (f5 > 32.0F) - { - f5 = 32.0F; - } - - float f6 = (float)(d3 * d1 + d0 * d2) * 100.0F; - float f7 = (float)(d3 * d2 - d0 * d1) * 100.0F; - - if (f6 < 0.0F) - { - f6 = 0.0F; - } - - float f8 = player.prevCameraYaw + (player.cameraYaw - player.prevCameraYaw) * par7; - f5 += MathHelper.sin((player.prevDistanceWalkedModified + (player.distanceWalkedModified - player.prevDistanceWalkedModified) * par7) * 6.0F) * 32.0F * f8; - - if (player.isSneaking()) - { - f5 += 25.0F; - } - - GL11.glRotatef(6.0F + f6 / 2.0F + f5, 1.0F, 0.0F, 0.0F); - GL11.glRotatef(f7 / 2.0F, 0.0F, 0.0F, 1.0F); - GL11.glRotatef(-f7 / 2.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(180.0F, 0.0F, 1.0F, 0.0F); - this.bipedCloak.render(par7); - GL11.glPopMatrix(); - } - } -} +package com.hbm.render.model; + +import org.lwjgl.opengl.GL11; + +import net.minecraft.client.entity.AbstractClientPlayer; +import net.minecraft.client.model.ModelBiped; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.util.MathHelper; + +public class ModelCloak extends ModelBiped +{ + public ModelCloak() + { + textureWidth = 64; + textureHeight = 32; + } + + private void setRotation(ModelRenderer model, float x, float y, float z) + { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + @Override + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) + { + EntityPlayer player = (EntityPlayer)entity; + if(player.isSneaking()) + { + this.isSneak = true; + } else { + this.isSneak = false; + } + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + @Override + public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7) + { + if(par1Entity instanceof AbstractClientPlayer) + { + AbstractClientPlayer player = (AbstractClientPlayer) par1Entity; + + GL11.glPushMatrix(); + GL11.glTranslatef(0.0F, 0.0F, 0.125F); + double d3 = player.field_71091_bM + (player.field_71094_bP - player.field_71091_bM) * (double)par7 - (player.prevPosX + (player.posX - player.prevPosX) * (double)par7); + double d4 = player.field_71096_bN + (player.field_71095_bQ - player.field_71096_bN) * (double)par7 - (player.prevPosY + (player.posY - player.prevPosY) * (double)par7); + double d0 = player.field_71097_bO + (player.field_71085_bR - player.field_71097_bO) * (double)par7 - (player.prevPosZ + (player.posZ - player.prevPosZ) * (double)par7); + float f4 = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * par7; + double d1 = (double)MathHelper.sin(f4 * (float)Math.PI / 180.0F); + double d2 = (double)(-MathHelper.cos(f4 * (float)Math.PI / 180.0F)); + float f5 = (float)d4 * 10.0F; + + if (f5 < -6.0F) + { + f5 = -6.0F; + } + + if (f5 > 32.0F) + { + f5 = 32.0F; + } + + float f6 = (float)(d3 * d1 + d0 * d2) * 100.0F; + float f7 = (float)(d3 * d2 - d0 * d1) * 100.0F; + + if (f6 < 0.0F) + { + f6 = 0.0F; + } + + float f8 = player.prevCameraYaw + (player.cameraYaw - player.prevCameraYaw) * par7; + f5 += MathHelper.sin((player.prevDistanceWalkedModified + (player.distanceWalkedModified - player.prevDistanceWalkedModified) * par7) * 6.0F) * 32.0F * f8; + + if (player.isSneaking()) + { + f5 += 25.0F; + } + + GL11.glRotatef(6.0F + f6 / 2.0F + f5, 1.0F, 0.0F, 0.0F); + GL11.glRotatef(f7 / 2.0F, 0.0F, 0.0F, 1.0F); + GL11.glRotatef(-f7 / 2.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(180.0F, 0.0F, 1.0F, 0.0F); + this.bipedCloak.render(par7); + GL11.glPopMatrix(); + } + } +} diff --git a/com/hbm/render/model/ModelEuthanasia.java b/com/hbm/render/model/ModelEuthanasia.java new file mode 100644 index 000000000..ab96fe23a --- /dev/null +++ b/com/hbm/render/model/ModelEuthanasia.java @@ -0,0 +1,167 @@ +// Date: 21.02.2017 21:26:09 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + + + + + + +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelEuthanasia extends ModelBase +{ + //fields + ModelRenderer Barrel; + ModelRenderer Tank; + ModelRenderer ConnectorBF; + ModelRenderer ConnectorBB; + ModelRenderer ConnectorBeam; + ModelRenderer ConnectorTF; + ModelRenderer ConnectorTB; + ModelRenderer Body; + ModelRenderer Plate; + ModelRenderer Beam; + ModelRenderer Stock; + ModelRenderer StockBack; + ModelRenderer StockPlate; + ModelRenderer Handle; + ModelRenderer Trigger; + + public ModelEuthanasia() + { + textureWidth = 64; + textureHeight = 64; + + Barrel = new ModelRenderer(this, 0, 0); + Barrel.addBox(0F, 0F, 0F, 18, 3, 3); + Barrel.setRotationPoint(-11F, 0.5F, -1.5F); + Barrel.setTextureSize(64, 64); + Barrel.mirror = true; + setRotation(Barrel, 0F, 0F, 0F); + Tank = new ModelRenderer(this, 0, 6); + Tank.addBox(0F, 0F, 0F, 9, 5, 5); + Tank.setRotationPoint(-3F, -0.5F, -2.5F); + Tank.setTextureSize(64, 64); + Tank.mirror = true; + setRotation(Tank, 0F, 0F, 0F); + ConnectorBF = new ModelRenderer(this, 52, 0); + ConnectorBF.addBox(0F, 0F, 0F, 2, 8, 4); + ConnectorBF.setRotationPoint(-6F, 0F, -2F); + ConnectorBF.setTextureSize(64, 64); + ConnectorBF.mirror = true; + setRotation(ConnectorBF, 0F, 0F, 0F); + ConnectorBB = new ModelRenderer(this, 28, 6); + ConnectorBB.addBox(0F, 0F, 0F, 2, 8, 4); + ConnectorBB.setRotationPoint(7F, 0F, -2F); + ConnectorBB.setTextureSize(64, 64); + ConnectorBB.mirror = true; + setRotation(ConnectorBB, 0F, 0F, 0F); + ConnectorBeam = new ModelRenderer(this, 0, 18); + ConnectorBeam.addBox(0F, 0F, 0F, 11, 2, 4); + ConnectorBeam.setRotationPoint(-4F, 6F, -2F); + ConnectorBeam.setTextureSize(64, 64); + ConnectorBeam.mirror = true; + setRotation(ConnectorBeam, 0F, 0F, 0F); + ConnectorTF = new ModelRenderer(this, 40, 12); + ConnectorTF.addBox(0F, 0F, 0F, 2, 8, 4); + ConnectorTF.setRotationPoint(-9F, -4F, -2F); + ConnectorTF.setTextureSize(64, 64); + ConnectorTF.mirror = true; + setRotation(ConnectorTF, 0F, 0F, 0F); + ConnectorTB = new ModelRenderer(this, 52, 12); + ConnectorTB.addBox(0F, 0F, 0F, 2, 8, 4); + ConnectorTB.setRotationPoint(9F, -4F, -2F); + ConnectorTB.setTextureSize(64, 64); + ConnectorTB.mirror = true; + setRotation(ConnectorTB, 0F, 0F, 0F); + Body = new ModelRenderer(this, 0, 24); + Body.addBox(0F, 0F, 0F, 4, 5, 4); + Body.setRotationPoint(11F, -1F, -2F); + Body.setTextureSize(64, 64); + Body.mirror = true; + setRotation(Body, 0F, 0F, 0F); + Plate = new ModelRenderer(this, 16, 24); + Plate.addBox(0F, 0F, 0F, 5, 3, 4); + Plate.setRotationPoint(11F, -4F, -2F); + Plate.setTextureSize(64, 64); + Plate.mirror = true; + setRotation(Plate, 0F, 0F, 0.6457718F); + Beam = new ModelRenderer(this, 0, 33); + Beam.addBox(0F, 0F, 0F, 16, 1, 1); + Beam.setRotationPoint(-7F, -3.5F, -0.5F); + Beam.setTextureSize(64, 64); + Beam.mirror = true; + setRotation(Beam, 0F, 0F, 0F); + Stock = new ModelRenderer(this, 0, 35); + Stock.addBox(0F, 0F, 0F, 10, 2, 2); + Stock.setRotationPoint(15F, 1F, -1F); + Stock.setTextureSize(64, 64); + Stock.mirror = true; + setRotation(Stock, 0F, 0F, 0F); + StockBack = new ModelRenderer(this, 0, 39); + StockBack.addBox(0F, 0F, 0F, 1, 4, 2); + StockBack.setRotationPoint(24F, 3F, -1F); + StockBack.setTextureSize(64, 64); + StockBack.mirror = true; + setRotation(StockBack, 0F, 0F, 0F); + StockPlate = new ModelRenderer(this, 6, 39); + StockPlate.addBox(0F, -5F, 0F, 1, 5, 2); + StockPlate.setRotationPoint(24F, 7F, -1F); + StockPlate.setTextureSize(64, 64); + StockPlate.mirror = true; + setRotation(StockPlate, 0F, 0F, -0.2094395F); + Handle = new ModelRenderer(this, 12, 39); + Handle.addBox(0F, 0F, 0F, 2, 6, 2); + Handle.setRotationPoint(13F, 4F, -1F); + Handle.setTextureSize(64, 64); + Handle.mirror = true; + setRotation(Handle, 0F, 0F, -0.2094395F); + Trigger = new ModelRenderer(this, 20, 39); + Trigger.addBox(0F, 0F, 0F, 1, 4, 2); + Trigger.setRotationPoint(12F, 4F, -1F); + Trigger.setTextureSize(64, 64); + Trigger.mirror = true; + setRotation(Trigger, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) + { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + Barrel.render(f5); + Tank.render(f5); + ConnectorBF.render(f5); + ConnectorBB.render(f5); + ConnectorBeam.render(f5); + ConnectorTF.render(f5); + ConnectorTB.render(f5); + Body.render(f5); + Plate.render(f5); + Beam.render(f5); + Stock.render(f5); + StockBack.render(f5); + StockPlate.render(f5); + Handle.render(f5); + Trigger.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) + { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) + { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelHP.java b/com/hbm/render/model/ModelHP.java new file mode 100644 index 000000000..3587d1c0e --- /dev/null +++ b/com/hbm/render/model/ModelHP.java @@ -0,0 +1,187 @@ +// Date: 21.02.2017 20:44:50 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + + + + + + +package com.hbm.render.model; + +import org.lwjgl.opengl.GL11; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelHP extends ModelBase +{ + //fields + ModelRenderer Printer; + ModelRenderer Hatch; + ModelRenderer Display; + ModelRenderer Stock; + ModelRenderer StockBottom; + ModelRenderer StockPlate; + ModelRenderer Barrel; + ModelRenderer Lens1; + ModelRenderer Lens2; + ModelRenderer Lens3; + ModelRenderer Beam; + ModelRenderer Handle; + ModelRenderer Dot; + ModelRenderer Back; + ModelRenderer BackShaft; + ModelRenderer Muzzle; + ModelRenderer BarrelPlate; + + public ModelHP() + { + textureWidth = 64; + textureHeight = 64; + + Printer = new ModelRenderer(this, 0, 0); + Printer.addBox(0F, 0F, 0F, 12, 9, 6); + Printer.setRotationPoint(-6F, -3F, -3F); + Printer.setTextureSize(64, 64); + Printer.mirror = true; + setRotation(Printer, 0F, 0F, 0F); + Hatch = new ModelRenderer(this, 0, 15); + Hatch.addBox(0F, 0F, 0F, 6, 5, 1); + Hatch.setRotationPoint(-3F, -1F, -3F); + Hatch.setTextureSize(64, 64); + Hatch.mirror = true; + setRotation(Hatch, 0F, 0F, 0F); + Display = new ModelRenderer(this, 14, 15); + Display.addBox(0F, -2F, 0F, 2, 2, 1); + Display.setRotationPoint(3.5F, 0F, -3F); + Display.setTextureSize(64, 64); + Display.mirror = true; + setRotation(Display, 0.7853982F, 0F, 0F); + Stock = new ModelRenderer(this, 0, 21); + Stock.addBox(0F, 0F, 0F, 12, 3, 2); + Stock.setRotationPoint(6F, 0F, -1F); + Stock.setTextureSize(64, 64); + Stock.mirror = true; + setRotation(Stock, 0F, 0F, 0F); + StockBottom = new ModelRenderer(this, 20, 15); + StockBottom.addBox(0F, 0F, 0F, 3, 3, 2); + StockBottom.setRotationPoint(15F, 3F, -1F); + StockBottom.setTextureSize(64, 64); + StockBottom.mirror = true; + setRotation(StockBottom, 0F, 0F, 0F); + StockPlate = new ModelRenderer(this, 0, 26); + StockPlate.addBox(-8F, -3F, 0F, 8, 3, 2); + StockPlate.setRotationPoint(15F, 6F, -1F); + StockPlate.setTextureSize(64, 64); + StockPlate.mirror = true; + setRotation(StockPlate, 0F, 0F, 0.3839724F); + Barrel = new ModelRenderer(this, 0, 31); + Barrel.addBox(0F, 0F, 0F, 15, 2, 2); + Barrel.setRotationPoint(-21F, 0F, -1F); + Barrel.setTextureSize(64, 64); + Barrel.mirror = true; + setRotation(Barrel, 0F, 0F, 0F); + Lens1 = new ModelRenderer(this, 0, 35); + Lens1.addBox(0F, 0F, 0F, 1, 3, 3); + Lens1.setRotationPoint(-19F, -3F, -1.5F); + Lens1.setTextureSize(64, 64); + Lens1.mirror = true; + setRotation(Lens1, 0F, 0F, 0F); + Lens2 = new ModelRenderer(this, 8, 35); + Lens2.addBox(0F, 0F, 0F, 1, 4, 4); + Lens2.setRotationPoint(-16F, -3.5F, -2F); + Lens2.setTextureSize(64, 64); + Lens2.mirror = true; + setRotation(Lens2, 0F, 0F, 0F); + Lens3 = new ModelRenderer(this, 0, 41); + Lens3.addBox(0F, 0F, 0F, 1, 3, 3); + Lens3.setRotationPoint(-13F, -3F, -1.466667F); + Lens3.setTextureSize(64, 64); + Lens3.mirror = true; + setRotation(Lens3, 0F, 0F, 0F); + Beam = new ModelRenderer(this, 0, 47); + Beam.addBox(0F, 0F, 0F, 12, 1, 1); + Beam.setRotationPoint(-18F, -2F, -0.5F); + Beam.setTextureSize(64, 64); + Beam.mirror = true; + setRotation(Beam, 0F, 0F, 0F); + Handle = new ModelRenderer(this, 18, 35); + Handle.addBox(0F, 0F, 0F, 2, 6, 1); + Handle.setRotationPoint(-16F, 2F, -0.5F); + Handle.setTextureSize(64, 64); + Handle.mirror = true; + setRotation(Handle, 0F, 0F, -0.1745329F); + Dot = new ModelRenderer(this, 0, 49); + Dot.addBox(0F, 0F, 0F, 2, 1, 1); + Dot.setRotationPoint(-20F, 2F, -0.5F); + Dot.setTextureSize(64, 64); + Dot.mirror = true; + setRotation(Dot, 0F, 0F, 0F); + Back = new ModelRenderer(this, 0, 51); + Back.addBox(-1F, -3F, 0F, 1, 3, 2); + Back.setRotationPoint(7F, 0F, -1F); + Back.setTextureSize(64, 64); + Back.mirror = true; + setRotation(Back, 0F, 0F, -0.3490659F); + BackShaft = new ModelRenderer(this, 0, 56); + BackShaft.addBox(0F, 0F, 0F, 4, 1, 1); + BackShaft.setRotationPoint(6F, -1F, -0.5F); + BackShaft.setTextureSize(64, 64); + BackShaft.mirror = true; + setRotation(BackShaft, 0F, 0F, 0F); + Muzzle = new ModelRenderer(this, 0, 58); + Muzzle.addBox(0F, 0F, 0F, 1, 2, 2); + Muzzle.setRotationPoint(-6.5F, -2.5F, -1F); + Muzzle.setTextureSize(64, 64); + Muzzle.mirror = true; + setRotation(Muzzle, 0F, 0F, 0F); + BarrelPlate = new ModelRenderer(this, 6, 58); + BarrelPlate.addBox(-4F, -2F, 0F, 4, 2, 1); + BarrelPlate.setRotationPoint(-6F, 4F, -0.5F); + BarrelPlate.setTextureSize(64, 64); + BarrelPlate.mirror = true; + setRotation(BarrelPlate, 0F, 0F, 0.5235988F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) + { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + Printer.render(f5); + GL11.glDisable(GL11.GL_CULL_FACE); + Hatch.render(f5); + GL11.glEnable(GL11.GL_CULL_FACE); + Display.render(f5); + Stock.render(f5); + StockBottom.render(f5); + StockPlate.render(f5); + Barrel.render(f5); + Lens1.render(f5); + Lens2.render(f5); + Lens3.render(f5); + Beam.render(f5); + Handle.render(f5); + Dot.render(f5); + Back.render(f5); + BackShaft.render(f5); + Muzzle.render(f5); + BarrelPlate.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) + { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) + { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelJack.java b/com/hbm/render/model/ModelJack.java new file mode 100644 index 000000000..f133c4282 --- /dev/null +++ b/com/hbm/render/model/ModelJack.java @@ -0,0 +1,127 @@ +// Date: 14.02.2017 18:33:04 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + + + + + + +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelJack extends ModelBase +{ + //fields + ModelRenderer BarrelBR; + ModelRenderer BarrelBL; + ModelRenderer BarrelTR; + ModelRenderer BarrelTL; + ModelRenderer Body; + ModelRenderer Back; + ModelRenderer Plate; + ModelRenderer StockMain; + ModelRenderer StockBottom; + ModelRenderer StockPlate; + + public ModelJack() + { + textureWidth = 64; + textureHeight = 64; + + BarrelBR = new ModelRenderer(this, 0, 6); + BarrelBR.addBox(0F, 0F, 0F, 21, 3, 3); + BarrelBR.setRotationPoint(-18F, 0F, 0.2F); + BarrelBR.setTextureSize(64, 64); + BarrelBR.mirror = true; + setRotation(BarrelBR, 0F, 0F, 0F); + BarrelBL = new ModelRenderer(this, 0, 0); + BarrelBL.addBox(0F, 0F, 0F, 21, 3, 3); + BarrelBL.setRotationPoint(-18F, 0F, -3.2F); + BarrelBL.setTextureSize(64, 64); + BarrelBL.mirror = true; + setRotation(BarrelBL, 0F, 0F, 0F); + BarrelTR = new ModelRenderer(this, 0, 12); + BarrelTR.addBox(0F, 0F, 0F, 21, 3, 3); + BarrelTR.setRotationPoint(-18F, -3.2F, 0.2F); + BarrelTR.setTextureSize(64, 64); + BarrelTR.mirror = true; + setRotation(BarrelTR, 0F, 0F, 0F); + BarrelTL = new ModelRenderer(this, 0, 18); + BarrelTL.addBox(0F, 0F, 0F, 21, 3, 3); + BarrelTL.setRotationPoint(-18F, -3.2F, -3.2F); + BarrelTL.setTextureSize(64, 64); + BarrelTL.mirror = true; + setRotation(BarrelTL, 0F, 0F, 0F); + Body = new ModelRenderer(this, 0, 24); + Body.addBox(0F, 0F, 0F, 15, 7, 4); + Body.setRotationPoint(-9F, -2F, -2F); + Body.setTextureSize(64, 64); + Body.mirror = true; + setRotation(Body, 0F, 0F, 0F); + Back = new ModelRenderer(this, 38, 24); + Back.addBox(0F, 0F, 0F, 3, 5, 3); + Back.setRotationPoint(6F, 0F, -1.5F); + Back.setTextureSize(64, 64); + Back.mirror = true; + setRotation(Back, 0F, 0F, 0F); + Plate = new ModelRenderer(this, 0, 35); + Plate.addBox(0F, 0F, 0F, 4, 2, 3); + Plate.setRotationPoint(6F, -2F, -1.5F); + Plate.setTextureSize(64, 64); + Plate.mirror = true; + setRotation(Plate, 0F, 0F, 0.4363323F); + StockMain = new ModelRenderer(this, 0, 40); + StockMain.addBox(0F, 0F, 0F, 13, 3, 3); + StockMain.setRotationPoint(9F, 2F, -1.5F); + StockMain.setTextureSize(64, 64); + StockMain.mirror = true; + setRotation(StockMain, 0F, 0F, 0F); + StockBottom = new ModelRenderer(this, 0, 46); + StockBottom.addBox(0F, 0F, 0F, 6, 3, 3); + StockBottom.setRotationPoint(16F, 5F, -1.5F); + StockBottom.setTextureSize(64, 64); + StockBottom.mirror = true; + setRotation(StockBottom, 0F, 0F, 0F); + StockPlate = new ModelRenderer(this, 18, 46); + StockPlate.addBox(-8F, -3F, 0F, 8, 3, 3); + StockPlate.setRotationPoint(16F, 8F, -1.5F); + StockPlate.setTextureSize(64, 64); + StockPlate.mirror = true; + setRotation(StockPlate, 0F, 0F, 0.4014257F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) + { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + BarrelBR.render(f5); + BarrelBL.render(f5); + BarrelTR.render(f5); + BarrelTL.render(f5); + Body.render(f5); + Back.render(f5); + Plate.render(f5); + StockMain.render(f5); + StockBottom.render(f5); + StockPlate.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) + { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) + { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelMultitoolClaw.java b/com/hbm/render/model/ModelMultitoolClaw.java new file mode 100644 index 000000000..bb9f7267d --- /dev/null +++ b/com/hbm/render/model/ModelMultitoolClaw.java @@ -0,0 +1,285 @@ +// Date: 01.02.2017 10:09:53 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelMultitoolClaw extends ModelBase { + // fields + ModelRenderer Base; + ModelRenderer BTop; + ModelRenderer BBottom; + ModelRenderer BLeft; + ModelRenderer BRight; + ModelRenderer RTop; + ModelRenderer RBottom; + ModelRenderer RLeft; + ModelRenderer RRight; + ModelRenderer GPivot; + ModelRenderer GBase; + ModelRenderer F31; + ModelRenderer F21; + ModelRenderer F41; + ModelRenderer F51; + ModelRenderer F11; + ModelRenderer F22; + ModelRenderer F32; + ModelRenderer F42; + ModelRenderer F52; + ModelRenderer F12; + ModelRenderer F23; + ModelRenderer F33; + ModelRenderer F43; + ModelRenderer F53; + ModelRenderer F13; + ModelRenderer WireL; + ModelRenderer WireR; + ModelRenderer Gauge1; + ModelRenderer Gauge2; + ModelRenderer WireB; + + public ModelMultitoolClaw() { + textureWidth = 64; + textureHeight = 64; + + Base = new ModelRenderer(this, 0, 0); + Base.addBox(0F, 0F, 0F, 3, 8, 8); + Base.setRotationPoint(-3F, -4F, -4F); + Base.setTextureSize(64, 64); + Base.mirror = true; + setRotation(Base, 0F, 0F, 0F); + BTop = new ModelRenderer(this, 0, 16); + BTop.addBox(0F, 0F, 0F, 4, 2, 8); + BTop.setRotationPoint(-3F, -4F, -4F); + BTop.setTextureSize(64, 64); + BTop.mirror = true; + setRotation(BTop, 0F, 0F, -0.2617994F); + BBottom = new ModelRenderer(this, 0, 26); + BBottom.addBox(0F, -2F, 0F, 4, 2, 8); + BBottom.setRotationPoint(-3F, 4F, -4F); + BBottom.setTextureSize(64, 64); + BBottom.mirror = true; + setRotation(BBottom, 0F, 0F, 0.2617994F); + BLeft = new ModelRenderer(this, 0, 36); + BLeft.addBox(0F, 0F, 0F, 4, 8, 2); + BLeft.setRotationPoint(-3F, -4F, -4F); + BLeft.setTextureSize(64, 64); + BLeft.mirror = true; + setRotation(BLeft, 0F, 0.2617994F, 0F); + BRight = new ModelRenderer(this, 12, 36); + BRight.addBox(0F, 0F, -2F, 4, 8, 2); + BRight.setRotationPoint(-3F, -4F, 4F); + BRight.setTextureSize(64, 64); + BRight.mirror = true; + setRotation(BRight, 0F, -0.2617994F, 0F); + RTop = new ModelRenderer(this, 24, 0); + RTop.addBox(0F, 0F, 0F, 3, 2, 10); + RTop.setRotationPoint(4F, -6F, -6F); + RTop.setTextureSize(64, 64); + RTop.mirror = true; + setRotation(RTop, 0F, 0F, 0F); + RBottom = new ModelRenderer(this, 24, 12); + RBottom.addBox(0F, 0F, 0F, 3, 2, 10); + RBottom.setRotationPoint(4F, 4F, -4F); + RBottom.setTextureSize(64, 64); + RBottom.mirror = true; + setRotation(RBottom, 0F, 0F, 0F); + RLeft = new ModelRenderer(this, 0, 46); + RLeft.addBox(0F, 0F, 0F, 3, 10, 2); + RLeft.setRotationPoint(4F, -4F, -6F); + RLeft.setTextureSize(64, 64); + RLeft.mirror = true; + setRotation(RLeft, 0F, 0F, 0F); + RRight = new ModelRenderer(this, 10, 46); + RRight.addBox(0F, 0F, 0F, 3, 10, 2); + RRight.setRotationPoint(4F, -6F, 4F); + RRight.setTextureSize(64, 64); + RRight.mirror = true; + setRotation(RRight, 0F, 0F, 0F); + GPivot = new ModelRenderer(this, 24, 24); + GPivot.addBox(0F, 0F, 0F, 3, 4, 4); + GPivot.setRotationPoint(-6F, -2F, -2F); + GPivot.setTextureSize(64, 64); + GPivot.mirror = true; + setRotation(GPivot, 0F, 0F, 0F); + GBase = new ModelRenderer(this, 24, 32); + GBase.addBox(-2F, -3F, -4F, 4, 3, 8); + GBase.setRotationPoint(-6F, 0F, 1F); + GBase.setTextureSize(64, 64); + GBase.mirror = true; + setRotation(GBase, 0F, 0F, 1.047198F); + F31 = new ModelRenderer(this, 20, 52); + F31.addBox(-3F, -1F, 0F, 3, 2, 2); + F31.setRotationPoint(-5.5F, -2F, -1F); + F31.setTextureSize(64, 64); + F31.mirror = true; + setRotation(F31, 0F, 0F, 0.6981317F); + F21 = new ModelRenderer(this, 30, 52); + F21.addBox(-3F, -1F, -2F, 3, 2, 2); + F21.setRotationPoint(-5.5F, -2F, -1.2F); + F21.setTextureSize(64, 64); + F21.mirror = true; + setRotation(F21, 0F, 0F, 0.6981317F); + F41 = new ModelRenderer(this, 40, 52); + F41.addBox(-3F, -1F, 0F, 3, 2, 2); + F41.setRotationPoint(-5.5F, -2F, 1.2F); + F41.setTextureSize(64, 64); + F41.mirror = true; + setRotation(F41, 0F, 0F, 0.6981317F); + F51 = new ModelRenderer(this, 50, 52); + F51.addBox(-3F, -1F, 0F, 3, 2, 2); + F51.setRotationPoint(-5.5F, -2F, 3.4F); + F51.setTextureSize(64, 64); + F51.mirror = true; + setRotation(F51, 0F, 0F, 0.6981317F); + F11 = new ModelRenderer(this, 48, 38); + F11.addBox(0F, -1F, -3F, 2, 2, 3); + F11.setRotationPoint(-5.5F, -2F, -3F); + F11.setTextureSize(64, 64); + F11.mirror = true; + setRotation(F11, 0F, 0F, 1.047198F); + F22 = new ModelRenderer(this, 20, 56); + F22.addBox(-3F, -1F, -1F, 3, 2, 2); + F22.setRotationPoint(-7.6F, -3.7F, -2.2F); + F22.setTextureSize(64, 64); + F22.mirror = true; + setRotation(F22, 0F, 0F, 0.3490659F); + F32 = new ModelRenderer(this, 30, 56); + F32.addBox(-3F, -1F, -1F, 3, 2, 2); + F32.setRotationPoint(-7.6F, -3.7F, 0F); + F32.setTextureSize(64, 64); + F32.mirror = true; + setRotation(F32, 0F, 0F, 0.3490659F); + F42 = new ModelRenderer(this, 40, 56); + F42.addBox(-3F, -1F, -1F, 3, 2, 2); + F42.setRotationPoint(-7.6F, -3.7F, 2.2F); + F42.setTextureSize(64, 64); + F42.mirror = true; + setRotation(F42, 0F, 0F, 0.3490659F); + F52 = new ModelRenderer(this, 50, 56); + F52.addBox(-3F, -1F, -1F, 3, 2, 2); + F52.setRotationPoint(-7.6F, -3.7F, 4.4F); + F52.setTextureSize(64, 64); + F52.mirror = true; + setRotation(F52, 0F, 0F, 0.3490659F); + F12 = new ModelRenderer(this, 48, 34); + F12.addBox(-1F, -1F, -2F, 2, 2, 2); + F12.setRotationPoint(-5F, -1F, -5.8F); + F12.setTextureSize(64, 64); + F12.mirror = true; + setRotation(F12, 0F, 0.7853982F, 1.047198F); + F23 = new ModelRenderer(this, 20, 60); + F23.addBox(-3F, -1F, -1F, 3, 2, 2); + F23.setRotationPoint(-10F, -4.6F, -2.2F); + F23.setTextureSize(64, 64); + F23.mirror = true; + setRotation(F23, 0F, 0F, -0.1745329F); + F33 = new ModelRenderer(this, 30, 60); + F33.addBox(-3F, -1F, -1F, 3, 2, 2); + F33.setRotationPoint(-10F, -4.6F, 0F); + F33.setTextureSize(64, 64); + F33.mirror = true; + setRotation(F33, 0F, 0F, -0.1745329F); + F43 = new ModelRenderer(this, 40, 60); + F43.addBox(-3F, -1F, -1F, 3, 2, 2); + F43.setRotationPoint(-10F, -4.6F, 2.2F); + F43.setTextureSize(64, 64); + F43.mirror = true; + setRotation(F43, 0F, 0F, -0.1745329F); + F53 = new ModelRenderer(this, 50, 60); + F53.addBox(-3F, -1F, -1F, 3, 2, 2); + F53.setRotationPoint(-10F, -4.6F, 4.4F); + F53.setTextureSize(64, 64); + F53.mirror = true; + setRotation(F53, 0F, 0F, -0.1745329F); + F13 = new ModelRenderer(this, 48, 30); + F13.addBox(-1F, -1F, -2F, 2, 2, 2); + F13.setRotationPoint(-5.5F, -1F, -7.2F); + F13.setTextureSize(64, 64); + F13.mirror = true; + setRotation(F13, 0.6981317F, 1.047198F, 1.047198F); + WireL = new ModelRenderer(this, 38, 30); + WireL.addBox(0F, 0F, 0F, 4, 1, 1); + WireL.setRotationPoint(0F, -5.5F, 0F); + WireL.setTextureSize(64, 64); + WireL.mirror = true; + setRotation(WireL, 0F, 0F, 0F); + WireR = new ModelRenderer(this, 38, 28); + WireR.addBox(0F, 0F, 0F, 4, 1, 1); + WireR.setRotationPoint(0F, -5.5F, 2F); + WireR.setTextureSize(64, 64); + WireR.mirror = true; + setRotation(WireR, 0F, 0F, 0F); + Gauge1 = new ModelRenderer(this, 20, 47); + Gauge1.addBox(-1.5F, -1F, -2F, 3, 1, 4); + Gauge1.setRotationPoint(-1F, -4F, 4F); + Gauge1.setTextureSize(64, 64); + Gauge1.mirror = true; + setRotation(Gauge1, -0.7853982F, 0F, 0F); + Gauge2 = new ModelRenderer(this, 34, 48); + Gauge2.addBox(-2F, -1F, -1.5F, 4, 1, 3); + Gauge2.setRotationPoint(-1F, -4F, 4F); + Gauge2.setTextureSize(64, 64); + Gauge2.mirror = true; + setRotation(Gauge2, -0.7853982F, 0F, 0F); + WireB = new ModelRenderer(this, 48, 49); + WireB.addBox(0F, 0F, 0F, 4, 2, 1); + WireB.setRotationPoint(0F, -1F, -5.5F); + WireB.setTextureSize(64, 64); + WireB.mirror = true; + setRotation(WireB, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + Base.render(f5); + BTop.render(f5); + BBottom.render(f5); + BLeft.render(f5); + BRight.render(f5); + RTop.render(f5); + RBottom.render(f5); + RLeft.render(f5); + RRight.render(f5); + GPivot.render(f5); + GBase.render(f5); + F31.render(f5); + F21.render(f5); + F41.render(f5); + F51.render(f5); + F11.render(f5); + F22.render(f5); + F32.render(f5); + F42.render(f5); + F52.render(f5); + F12.render(f5); + F23.render(f5); + F33.render(f5); + F43.render(f5); + F53.render(f5); + F13.render(f5); + WireL.render(f5); + WireR.render(f5); + Gauge1.render(f5); + Gauge2.render(f5); + WireB.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelMultitoolFist.java b/com/hbm/render/model/ModelMultitoolFist.java new file mode 100644 index 000000000..bf917fecb --- /dev/null +++ b/com/hbm/render/model/ModelMultitoolFist.java @@ -0,0 +1,285 @@ +// Date: 31.01.2017 19:23:38 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelMultitoolFist extends ModelBase { + // fields + ModelRenderer Base; + ModelRenderer BTop; + ModelRenderer BBottom; + ModelRenderer BLeft; + ModelRenderer BRight; + ModelRenderer RTop; + ModelRenderer RBottom; + ModelRenderer RLeft; + ModelRenderer RRight; + ModelRenderer GPivot; + ModelRenderer GBase; + ModelRenderer F31; + ModelRenderer F21; + ModelRenderer F41; + ModelRenderer F51; + ModelRenderer F11; + ModelRenderer F22; + ModelRenderer F32; + ModelRenderer F42; + ModelRenderer F52; + ModelRenderer F12; + ModelRenderer F23; + ModelRenderer F33; + ModelRenderer F43; + ModelRenderer F53; + ModelRenderer F13; + ModelRenderer WireL; + ModelRenderer WireR; + ModelRenderer Gauge1; + ModelRenderer Gauge2; + ModelRenderer WireB; + + public ModelMultitoolFist() { + textureWidth = 64; + textureHeight = 64; + + Base = new ModelRenderer(this, 0, 0); + Base.addBox(0F, 0F, 0F, 3, 8, 8); + Base.setRotationPoint(-3F, -4F, -4F); + Base.setTextureSize(64, 64); + Base.mirror = true; + setRotation(Base, 0F, 0F, 0F); + BTop = new ModelRenderer(this, 0, 16); + BTop.addBox(0F, 0F, 0F, 4, 2, 8); + BTop.setRotationPoint(-3F, -4F, -4F); + BTop.setTextureSize(64, 64); + BTop.mirror = true; + setRotation(BTop, 0F, 0F, -0.2617994F); + BBottom = new ModelRenderer(this, 0, 26); + BBottom.addBox(0F, -2F, 0F, 4, 2, 8); + BBottom.setRotationPoint(-3F, 4F, -4F); + BBottom.setTextureSize(64, 64); + BBottom.mirror = true; + setRotation(BBottom, 0F, 0F, 0.2617994F); + BLeft = new ModelRenderer(this, 0, 36); + BLeft.addBox(0F, 0F, 0F, 4, 8, 2); + BLeft.setRotationPoint(-3F, -4F, -4F); + BLeft.setTextureSize(64, 64); + BLeft.mirror = true; + setRotation(BLeft, 0F, 0.2617994F, 0F); + BRight = new ModelRenderer(this, 12, 36); + BRight.addBox(0F, 0F, -2F, 4, 8, 2); + BRight.setRotationPoint(-3F, -4F, 4F); + BRight.setTextureSize(64, 64); + BRight.mirror = true; + setRotation(BRight, 0F, -0.2617994F, 0F); + RTop = new ModelRenderer(this, 24, 0); + RTop.addBox(0F, 0F, 0F, 3, 2, 10); + RTop.setRotationPoint(4F, -6F, -6F); + RTop.setTextureSize(64, 64); + RTop.mirror = true; + setRotation(RTop, 0F, 0F, 0F); + RBottom = new ModelRenderer(this, 24, 12); + RBottom.addBox(0F, 0F, 0F, 3, 2, 10); + RBottom.setRotationPoint(4F, 4F, -4F); + RBottom.setTextureSize(64, 64); + RBottom.mirror = true; + setRotation(RBottom, 0F, 0F, 0F); + RLeft = new ModelRenderer(this, 0, 46); + RLeft.addBox(0F, 0F, 0F, 3, 10, 2); + RLeft.setRotationPoint(4F, -4F, -6F); + RLeft.setTextureSize(64, 64); + RLeft.mirror = true; + setRotation(RLeft, 0F, 0F, 0F); + RRight = new ModelRenderer(this, 10, 46); + RRight.addBox(0F, 0F, 0F, 3, 10, 2); + RRight.setRotationPoint(4F, -6F, 4F); + RRight.setTextureSize(64, 64); + RRight.mirror = true; + setRotation(RRight, 0F, 0F, 0F); + GPivot = new ModelRenderer(this, 24, 24); + GPivot.addBox(0F, 0F, 0F, 3, 4, 4); + GPivot.setRotationPoint(-6F, -2F, -2F); + GPivot.setTextureSize(64, 64); + GPivot.mirror = true; + setRotation(GPivot, 0F, 0F, 0F); + GBase = new ModelRenderer(this, 24, 32); + GBase.addBox(-2F, -3F, -4F, 4, 3, 8); + GBase.setRotationPoint(-6F, 0F, 1F); + GBase.setTextureSize(64, 64); + GBase.mirror = true; + setRotation(GBase, 0F, 0F, 0.6108652F); + F31 = new ModelRenderer(this, 20, 52); + F31.addBox(-3F, -1F, 0F, 3, 2, 2); + F31.setRotationPoint(-6F, -2.8F, -1F); + F31.setTextureSize(64, 64); + F31.mirror = true; + setRotation(F31, 0F, 0F, -0.5235988F); + F21 = new ModelRenderer(this, 30, 52); + F21.addBox(-3F, -1F, -2F, 3, 2, 2); + F21.setRotationPoint(-6F, -2.8F, -1.2F); + F21.setTextureSize(64, 64); + F21.mirror = true; + setRotation(F21, 0F, 0F, -0.5235988F); + F41 = new ModelRenderer(this, 40, 52); + F41.addBox(-3F, -1F, 0F, 3, 2, 2); + F41.setRotationPoint(-6F, -2.8F, 1.2F); + F41.setTextureSize(64, 64); + F41.mirror = true; + setRotation(F41, 0F, 0F, -0.5235988F); + F51 = new ModelRenderer(this, 50, 52); + F51.addBox(-3F, -1F, 0F, 3, 2, 2); + F51.setRotationPoint(-6F, -2.8F, 3.4F); + F51.setTextureSize(64, 64); + F51.mirror = true; + setRotation(F51, 0F, 0F, -0.5235988F); + F11 = new ModelRenderer(this, 48, 38); + F11.addBox(-1F, -1F, -3F, 2, 2, 3); + F11.setRotationPoint(-5F, -1F, -2.5F); + F11.setTextureSize(64, 64); + F11.mirror = true; + setRotation(F11, 1.22173F, 1.745329F, -1.047198F); + F22 = new ModelRenderer(this, 20, 56); + F22.addBox(-3F, -1F, -1F, 3, 2, 2); + F22.setRotationPoint(-8.5F, -2F, -2.2F); + F22.setTextureSize(64, 64); + F22.mirror = true; + setRotation(F22, 0F, 0F, -1.919862F); + F32 = new ModelRenderer(this, 30, 56); + F32.addBox(-3F, -1F, -1F, 3, 2, 2); + F32.setRotationPoint(-8.5F, -2F, 0F); + F32.setTextureSize(64, 64); + F32.mirror = true; + setRotation(F32, 0F, 0F, -1.919862F); + F42 = new ModelRenderer(this, 40, 56); + F42.addBox(-3F, -1F, -1F, 3, 2, 2); + F42.setRotationPoint(-8.5F, -2F, 2.2F); + F42.setTextureSize(64, 64); + F42.mirror = true; + setRotation(F42, 0F, 0F, -1.919862F); + F52 = new ModelRenderer(this, 50, 56); + F52.addBox(-3F, -1F, -1F, 3, 2, 2); + F52.setRotationPoint(-8.5F, -2F, 4.4F); + F52.setTextureSize(64, 64); + F52.mirror = true; + setRotation(F52, 0F, 0F, -1.919862F); + F12 = new ModelRenderer(this, 48, 34); + F12.addBox(-1F, -1F, -2F, 2, 2, 2); + F12.setRotationPoint(-6F, 0.5F, -4.5F); + F12.setTextureSize(64, 64); + F12.mirror = true; + setRotation(F12, 1.22173F, 2.935045F, -1.047198F); + F23 = new ModelRenderer(this, 20, 60); + F23.addBox(-3F, -1F, -1F, 3, 2, 2); + F23.setRotationPoint(-8F, 0.5F, -2.2F); + F23.setTextureSize(64, 64); + F23.mirror = true; + setRotation(F23, 0F, 0F, -2.879793F); + F33 = new ModelRenderer(this, 30, 60); + F33.addBox(-3F, -1F, -1F, 3, 2, 2); + F33.setRotationPoint(-8F, 0.5F, 0F); + F33.setTextureSize(64, 64); + F33.mirror = true; + setRotation(F33, 0F, 0F, -2.879793F); + F43 = new ModelRenderer(this, 40, 60); + F43.addBox(-3F, -1F, -1F, 3, 2, 2); + F43.setRotationPoint(-8F, 0.5F, 2.2F); + F43.setTextureSize(64, 64); + F43.mirror = true; + setRotation(F43, 0F, 0F, -2.879793F); + F53 = new ModelRenderer(this, 50, 60); + F53.addBox(-3F, -1F, -1F, 3, 2, 2); + F53.setRotationPoint(-8F, 0.5F, 4.4F); + F53.setTextureSize(64, 64); + F53.mirror = true; + setRotation(F53, 0F, 0F, -2.879793F); + F13 = new ModelRenderer(this, 48, 30); + F13.addBox(-1F, -1F, -2F, 2, 2, 2); + F13.setRotationPoint(-7F, 1F, -4F); + F13.setTextureSize(64, 64); + F13.mirror = true; + setRotation(F13, 0.5235988F, 2.617994F, -1.047198F); + WireL = new ModelRenderer(this, 38, 30); + WireL.addBox(0F, 0F, 0F, 4, 1, 1); + WireL.setRotationPoint(0F, -5.5F, 0F); + WireL.setTextureSize(64, 64); + WireL.mirror = true; + setRotation(WireL, 0F, 0F, 0F); + WireR = new ModelRenderer(this, 38, 28); + WireR.addBox(0F, 0F, 0F, 4, 1, 1); + WireR.setRotationPoint(0F, -5.5F, 2F); + WireR.setTextureSize(64, 64); + WireR.mirror = true; + setRotation(WireR, 0F, 0F, 0F); + Gauge1 = new ModelRenderer(this, 20, 47); + Gauge1.addBox(-1.5F, -1F, -2F, 3, 1, 4); + Gauge1.setRotationPoint(-1F, -4F, 4F); + Gauge1.setTextureSize(64, 64); + Gauge1.mirror = true; + setRotation(Gauge1, -0.7853982F, 0F, 0F); + Gauge2 = new ModelRenderer(this, 34, 48); + Gauge2.addBox(-2F, -1F, -1.5F, 4, 1, 3); + Gauge2.setRotationPoint(-1F, -4F, 4F); + Gauge2.setTextureSize(64, 64); + Gauge2.mirror = true; + setRotation(Gauge2, -0.7853982F, 0F, 0F); + WireB = new ModelRenderer(this, 48, 49); + WireB.addBox(0F, 0F, 0F, 4, 2, 1); + WireB.setRotationPoint(0F, -1F, -5.5F); + WireB.setTextureSize(64, 64); + WireB.mirror = true; + setRotation(WireB, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + Base.render(f5); + BTop.render(f5); + BBottom.render(f5); + BLeft.render(f5); + BRight.render(f5); + RTop.render(f5); + RBottom.render(f5); + RLeft.render(f5); + RRight.render(f5); + GPivot.render(f5); + GBase.render(f5); + F31.render(f5); + F21.render(f5); + F41.render(f5); + F51.render(f5); + F11.render(f5); + F22.render(f5); + F32.render(f5); + F42.render(f5); + F52.render(f5); + F12.render(f5); + F23.render(f5); + F33.render(f5); + F43.render(f5); + F53.render(f5); + F13.render(f5); + WireL.render(f5); + WireR.render(f5); + Gauge1.render(f5); + Gauge2.render(f5); + WireB.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelMultitoolOpen.java b/com/hbm/render/model/ModelMultitoolOpen.java new file mode 100644 index 000000000..291d41b70 --- /dev/null +++ b/com/hbm/render/model/ModelMultitoolOpen.java @@ -0,0 +1,285 @@ +// Date: 31.01.2017 19:23:57 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelMultitoolOpen extends ModelBase { + // fields + ModelRenderer Base; + ModelRenderer BTop; + ModelRenderer BBottom; + ModelRenderer BLeft; + ModelRenderer BRight; + ModelRenderer RTop; + ModelRenderer RBottom; + ModelRenderer RLeft; + ModelRenderer RRight; + ModelRenderer GPivot; + ModelRenderer GBase; + ModelRenderer F31; + ModelRenderer F21; + ModelRenderer F41; + ModelRenderer F51; + ModelRenderer F11; + ModelRenderer F22; + ModelRenderer F32; + ModelRenderer F42; + ModelRenderer F52; + ModelRenderer F12; + ModelRenderer F23; + ModelRenderer F33; + ModelRenderer F43; + ModelRenderer F53; + ModelRenderer F13; + ModelRenderer WireL; + ModelRenderer WireR; + ModelRenderer Gauge1; + ModelRenderer Gauge2; + ModelRenderer WireB; + + public ModelMultitoolOpen() { + textureWidth = 64; + textureHeight = 64; + + Base = new ModelRenderer(this, 0, 0); + Base.addBox(0F, 0F, 0F, 3, 8, 8); + Base.setRotationPoint(-3F, -4F, -4F); + Base.setTextureSize(64, 64); + Base.mirror = true; + setRotation(Base, 0F, 0F, 0F); + BTop = new ModelRenderer(this, 0, 16); + BTop.addBox(0F, 0F, 0F, 4, 2, 8); + BTop.setRotationPoint(-3F, -4F, -4F); + BTop.setTextureSize(64, 64); + BTop.mirror = true; + setRotation(BTop, 0F, 0F, -0.2617994F); + BBottom = new ModelRenderer(this, 0, 26); + BBottom.addBox(0F, -2F, 0F, 4, 2, 8); + BBottom.setRotationPoint(-3F, 4F, -4F); + BBottom.setTextureSize(64, 64); + BBottom.mirror = true; + setRotation(BBottom, 0F, 0F, 0.2617994F); + BLeft = new ModelRenderer(this, 0, 36); + BLeft.addBox(0F, 0F, 0F, 4, 8, 2); + BLeft.setRotationPoint(-3F, -4F, -4F); + BLeft.setTextureSize(64, 64); + BLeft.mirror = true; + setRotation(BLeft, 0F, 0.2617994F, 0F); + BRight = new ModelRenderer(this, 12, 36); + BRight.addBox(0F, 0F, -2F, 4, 8, 2); + BRight.setRotationPoint(-3F, -4F, 4F); + BRight.setTextureSize(64, 64); + BRight.mirror = true; + setRotation(BRight, 0F, -0.2617994F, 0F); + RTop = new ModelRenderer(this, 24, 0); + RTop.addBox(0F, 0F, 0F, 3, 2, 10); + RTop.setRotationPoint(4F, -6F, -6F); + RTop.setTextureSize(64, 64); + RTop.mirror = true; + setRotation(RTop, 0F, 0F, 0F); + RBottom = new ModelRenderer(this, 24, 12); + RBottom.addBox(0F, 0F, 0F, 3, 2, 10); + RBottom.setRotationPoint(4F, 4F, -4F); + RBottom.setTextureSize(64, 64); + RBottom.mirror = true; + setRotation(RBottom, 0F, 0F, 0F); + RLeft = new ModelRenderer(this, 0, 46); + RLeft.addBox(0F, 0F, 0F, 3, 10, 2); + RLeft.setRotationPoint(4F, -4F, -6F); + RLeft.setTextureSize(64, 64); + RLeft.mirror = true; + setRotation(RLeft, 0F, 0F, 0F); + RRight = new ModelRenderer(this, 10, 46); + RRight.addBox(0F, 0F, 0F, 3, 10, 2); + RRight.setRotationPoint(4F, -6F, 4F); + RRight.setTextureSize(64, 64); + RRight.mirror = true; + setRotation(RRight, 0F, 0F, 0F); + GPivot = new ModelRenderer(this, 24, 24); + GPivot.addBox(0F, 0F, 0F, 3, 4, 4); + GPivot.setRotationPoint(-6F, -2F, -2F); + GPivot.setTextureSize(64, 64); + GPivot.mirror = true; + setRotation(GPivot, 0F, 0F, 0F); + GBase = new ModelRenderer(this, 24, 32); + GBase.addBox(-2F, -3F, -4F, 4, 3, 8); + GBase.setRotationPoint(-6F, 0F, 1F); + GBase.setTextureSize(64, 64); + GBase.mirror = true; + setRotation(GBase, 0F, 0F, 1.047198F); + F31 = new ModelRenderer(this, 20, 52); + F31.addBox(-3F, -1F, 0F, 3, 2, 2); + F31.setRotationPoint(-5.5F, -2F, -1F); + F31.setTextureSize(64, 64); + F31.mirror = true; + setRotation(F31, 0F, 0F, 1.48353F); + F21 = new ModelRenderer(this, 30, 52); + F21.addBox(-3F, -1F, -2F, 3, 2, 2); + F21.setRotationPoint(-5.5F, -2F, -1.2F); + F21.setTextureSize(64, 64); + F21.mirror = true; + setRotation(F21, 0F, 0F, 1.48353F); + F41 = new ModelRenderer(this, 40, 52); + F41.addBox(-3F, -1F, 0F, 3, 2, 2); + F41.setRotationPoint(-5.5F, -2F, 1.2F); + F41.setTextureSize(64, 64); + F41.mirror = true; + setRotation(F41, 0F, 0F, 1.48353F); + F51 = new ModelRenderer(this, 50, 52); + F51.addBox(-3F, -1F, 0F, 3, 2, 2); + F51.setRotationPoint(-5.5F, -2F, 3.4F); + F51.setTextureSize(64, 64); + F51.mirror = true; + setRotation(F51, 0F, 0F, 1.48353F); + F11 = new ModelRenderer(this, 48, 38); + F11.addBox(0F, -1F, -3F, 2, 2, 3); + F11.setRotationPoint(-5.5F, -2F, -3F); + F11.setTextureSize(64, 64); + F11.mirror = true; + setRotation(F11, 0F, 0F, 1.047198F); + F22 = new ModelRenderer(this, 20, 56); + F22.addBox(-3F, -1F, -1F, 3, 2, 2); + F22.setRotationPoint(-5.6F, -4.5F, -2.2F); + F22.setTextureSize(64, 64); + F22.mirror = true; + setRotation(F22, 0F, 0F, 1.134464F); + F32 = new ModelRenderer(this, 30, 56); + F32.addBox(-3F, -1F, -1F, 3, 2, 2); + F32.setRotationPoint(-5.6F, -4.5F, 0F); + F32.setTextureSize(64, 64); + F32.mirror = true; + setRotation(F32, 0F, 0F, 1.134464F); + F42 = new ModelRenderer(this, 40, 56); + F42.addBox(-3F, -1F, -1F, 3, 2, 2); + F42.setRotationPoint(-5.6F, -4.5F, 2.2F); + F42.setTextureSize(64, 64); + F42.mirror = true; + setRotation(F42, 0F, 0F, 1.134464F); + F52 = new ModelRenderer(this, 50, 56); + F52.addBox(-3F, -1F, -1F, 3, 2, 2); + F52.setRotationPoint(-5.6F, -4.5F, 4.4F); + F52.setTextureSize(64, 64); + F52.mirror = true; + setRotation(F52, 0F, 0F, 1.134464F); + F12 = new ModelRenderer(this, 48, 34); + F12.addBox(-1F, -1F, -2F, 2, 2, 2); + F12.setRotationPoint(-5F, -1F, -5.8F); + F12.setTextureSize(64, 64); + F12.mirror = true; + setRotation(F12, 0F, 0.3490659F, 1.047198F); + F23 = new ModelRenderer(this, 20, 60); + F23.addBox(-3F, -1F, -1F, 3, 2, 2); + F23.setRotationPoint(-6.6F, -6.8F, -2.2F); + F23.setTextureSize(64, 64); + F23.mirror = true; + setRotation(F23, 0F, 0F, 0.5235988F); + F33 = new ModelRenderer(this, 30, 60); + F33.addBox(-3F, -1F, -1F, 3, 2, 2); + F33.setRotationPoint(-6.6F, -6.8F, 0F); + F33.setTextureSize(64, 64); + F33.mirror = true; + setRotation(F33, 0F, 0F, 0.5235988F); + F43 = new ModelRenderer(this, 40, 60); + F43.addBox(-3F, -1F, -1F, 3, 2, 2); + F43.setRotationPoint(-6.6F, -6.8F, 2.2F); + F43.setTextureSize(64, 64); + F43.mirror = true; + setRotation(F43, 0F, 0F, 0.5235988F); + F53 = new ModelRenderer(this, 50, 60); + F53.addBox(-3F, -1F, -1F, 3, 2, 2); + F53.setRotationPoint(-6.6F, -6.8F, 4.4F); + F53.setTextureSize(64, 64); + F53.mirror = true; + setRotation(F53, 0F, 0F, 0.5235988F); + F13 = new ModelRenderer(this, 48, 30); + F13.addBox(-1F, -1F, -2F, 2, 2, 2); + F13.setRotationPoint(-5.5F, -1F, -7.2F); + F13.setTextureSize(64, 64); + F13.mirror = true; + setRotation(F13, 0F, 1.047198F, 1.047198F); + WireL = new ModelRenderer(this, 38, 30); + WireL.addBox(0F, 0F, 0F, 4, 1, 1); + WireL.setRotationPoint(0F, -5.5F, 0F); + WireL.setTextureSize(64, 64); + WireL.mirror = true; + setRotation(WireL, 0F, 0F, 0F); + WireR = new ModelRenderer(this, 38, 28); + WireR.addBox(0F, 0F, 0F, 4, 1, 1); + WireR.setRotationPoint(0F, -5.5F, 2F); + WireR.setTextureSize(64, 64); + WireR.mirror = true; + setRotation(WireR, 0F, 0F, 0F); + Gauge1 = new ModelRenderer(this, 20, 47); + Gauge1.addBox(-1.5F, -1F, -2F, 3, 1, 4); + Gauge1.setRotationPoint(-1F, -4F, 4F); + Gauge1.setTextureSize(64, 64); + Gauge1.mirror = true; + setRotation(Gauge1, -0.7853982F, 0F, 0F); + Gauge2 = new ModelRenderer(this, 34, 48); + Gauge2.addBox(-2F, -1F, -1.5F, 4, 1, 3); + Gauge2.setRotationPoint(-1F, -4F, 4F); + Gauge2.setTextureSize(64, 64); + Gauge2.mirror = true; + setRotation(Gauge2, -0.7853982F, 0F, 0F); + WireB = new ModelRenderer(this, 48, 49); + WireB.addBox(0F, 0F, 0F, 4, 2, 1); + WireB.setRotationPoint(0F, -1F, -5.5F); + WireB.setTextureSize(64, 64); + WireB.mirror = true; + setRotation(WireB, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + Base.render(f5); + BTop.render(f5); + BBottom.render(f5); + BLeft.render(f5); + BRight.render(f5); + RTop.render(f5); + RBottom.render(f5); + RLeft.render(f5); + RRight.render(f5); + GPivot.render(f5); + GBase.render(f5); + F31.render(f5); + F21.render(f5); + F41.render(f5); + F51.render(f5); + F11.render(f5); + F22.render(f5); + F32.render(f5); + F42.render(f5); + F52.render(f5); + F12.render(f5); + F23.render(f5); + F33.render(f5); + F43.render(f5); + F53.render(f5); + F13.render(f5); + WireL.render(f5); + WireR.render(f5); + Gauge1.render(f5); + Gauge2.render(f5); + WireB.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelMultitoolPointer.java b/com/hbm/render/model/ModelMultitoolPointer.java new file mode 100644 index 000000000..df2bd022e --- /dev/null +++ b/com/hbm/render/model/ModelMultitoolPointer.java @@ -0,0 +1,285 @@ +// Date: 31.01.2017 19:24:21 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelMultitoolPointer extends ModelBase { + // fields + ModelRenderer Base; + ModelRenderer BTop; + ModelRenderer BBottom; + ModelRenderer BLeft; + ModelRenderer BRight; + ModelRenderer RTop; + ModelRenderer RBottom; + ModelRenderer RLeft; + ModelRenderer RRight; + ModelRenderer GPivot; + ModelRenderer GBase; + ModelRenderer F31; + ModelRenderer F21; + ModelRenderer F41; + ModelRenderer F51; + ModelRenderer F11; + ModelRenderer F22; + ModelRenderer F32; + ModelRenderer F42; + ModelRenderer F52; + ModelRenderer F12; + ModelRenderer F23; + ModelRenderer F33; + ModelRenderer F43; + ModelRenderer F53; + ModelRenderer F13; + ModelRenderer WireL; + ModelRenderer WireR; + ModelRenderer Gauge1; + ModelRenderer Gauge2; + ModelRenderer WireB; + + public ModelMultitoolPointer() { + textureWidth = 64; + textureHeight = 64; + + Base = new ModelRenderer(this, 0, 0); + Base.addBox(0F, 0F, 0F, 3, 8, 8); + Base.setRotationPoint(-3F, -4F, -4F); + Base.setTextureSize(64, 64); + Base.mirror = true; + setRotation(Base, 0F, 0F, 0F); + BTop = new ModelRenderer(this, 0, 16); + BTop.addBox(0F, 0F, 0F, 4, 2, 8); + BTop.setRotationPoint(-3F, -4F, -4F); + BTop.setTextureSize(64, 64); + BTop.mirror = true; + setRotation(BTop, 0F, 0F, -0.2617994F); + BBottom = new ModelRenderer(this, 0, 26); + BBottom.addBox(0F, -2F, 0F, 4, 2, 8); + BBottom.setRotationPoint(-3F, 4F, -4F); + BBottom.setTextureSize(64, 64); + BBottom.mirror = true; + setRotation(BBottom, 0F, 0F, 0.2617994F); + BLeft = new ModelRenderer(this, 0, 36); + BLeft.addBox(0F, 0F, 0F, 4, 8, 2); + BLeft.setRotationPoint(-3F, -4F, -4F); + BLeft.setTextureSize(64, 64); + BLeft.mirror = true; + setRotation(BLeft, 0F, 0.2617994F, 0F); + BRight = new ModelRenderer(this, 12, 36); + BRight.addBox(0F, 0F, -2F, 4, 8, 2); + BRight.setRotationPoint(-3F, -4F, 4F); + BRight.setTextureSize(64, 64); + BRight.mirror = true; + setRotation(BRight, 0F, -0.2617994F, 0F); + RTop = new ModelRenderer(this, 24, 0); + RTop.addBox(0F, 0F, 0F, 3, 2, 10); + RTop.setRotationPoint(4F, -6F, -6F); + RTop.setTextureSize(64, 64); + RTop.mirror = true; + setRotation(RTop, 0F, 0F, 0F); + RBottom = new ModelRenderer(this, 24, 12); + RBottom.addBox(0F, 0F, 0F, 3, 2, 10); + RBottom.setRotationPoint(4F, 4F, -4F); + RBottom.setTextureSize(64, 64); + RBottom.mirror = true; + setRotation(RBottom, 0F, 0F, 0F); + RLeft = new ModelRenderer(this, 0, 46); + RLeft.addBox(0F, 0F, 0F, 3, 10, 2); + RLeft.setRotationPoint(4F, -4F, -6F); + RLeft.setTextureSize(64, 64); + RLeft.mirror = true; + setRotation(RLeft, 0F, 0F, 0F); + RRight = new ModelRenderer(this, 10, 46); + RRight.addBox(0F, 0F, 0F, 3, 10, 2); + RRight.setRotationPoint(4F, -6F, 4F); + RRight.setTextureSize(64, 64); + RRight.mirror = true; + setRotation(RRight, 0F, 0F, 0F); + GPivot = new ModelRenderer(this, 24, 24); + GPivot.addBox(0F, 0F, 0F, 3, 4, 4); + GPivot.setRotationPoint(-6F, -2F, -2F); + GPivot.setTextureSize(64, 64); + GPivot.mirror = true; + setRotation(GPivot, 0F, 0F, 0F); + GBase = new ModelRenderer(this, 24, 32); + GBase.addBox(-2F, -3F, -4F, 4, 3, 8); + GBase.setRotationPoint(-6F, 0F, 1F); + GBase.setTextureSize(64, 64); + GBase.mirror = true; + setRotation(GBase, 0F, 0F, 0.6108652F); + F31 = new ModelRenderer(this, 20, 52); + F31.addBox(-3F, -1F, 0F, 3, 2, 2); + F31.setRotationPoint(-6F, -2.8F, -1F); + F31.setTextureSize(64, 64); + F31.mirror = true; + setRotation(F31, 0F, 0F, -0.5235988F); + F21 = new ModelRenderer(this, 30, 52); + F21.addBox(-3F, -1F, -2F, 3, 2, 2); + F21.setRotationPoint(-6F, -2.8F, -1.2F); + F21.setTextureSize(64, 64); + F21.mirror = true; + setRotation(F21, 0F, 0F, 0F); + F41 = new ModelRenderer(this, 40, 52); + F41.addBox(-3F, -1F, 0F, 3, 2, 2); + F41.setRotationPoint(-6F, -2.8F, 1.2F); + F41.setTextureSize(64, 64); + F41.mirror = true; + setRotation(F41, 0F, 0F, -0.5235988F); + F51 = new ModelRenderer(this, 50, 52); + F51.addBox(-3F, -1F, 0F, 3, 2, 2); + F51.setRotationPoint(-6F, -2.8F, 3.4F); + F51.setTextureSize(64, 64); + F51.mirror = true; + setRotation(F51, 0F, 0F, -0.5235988F); + F11 = new ModelRenderer(this, 48, 38); + F11.addBox(-1F, -1F, -3F, 2, 2, 3); + F11.setRotationPoint(-5F, -1F, -2.5F); + F11.setTextureSize(64, 64); + F11.mirror = true; + setRotation(F11, 1.22173F, 1.745329F, -1.047198F); + F22 = new ModelRenderer(this, 20, 56); + F22.addBox(-3F, -1F, -1F, 3, 2, 2); + F22.setRotationPoint(-8.5F, -3F, -2.2F); + F22.setTextureSize(64, 64); + F22.mirror = true; + setRotation(F22, 0F, 0F, 0F); + F32 = new ModelRenderer(this, 30, 56); + F32.addBox(-3F, -1F, -1F, 3, 2, 2); + F32.setRotationPoint(-8.5F, -2F, 0F); + F32.setTextureSize(64, 64); + F32.mirror = true; + setRotation(F32, 0F, 0F, -1.919862F); + F42 = new ModelRenderer(this, 40, 56); + F42.addBox(-3F, -1F, -1F, 3, 2, 2); + F42.setRotationPoint(-8.5F, -2F, 2.2F); + F42.setTextureSize(64, 64); + F42.mirror = true; + setRotation(F42, 0F, 0F, -1.919862F); + F52 = new ModelRenderer(this, 50, 56); + F52.addBox(-3F, -1F, -1F, 3, 2, 2); + F52.setRotationPoint(-8.5F, -2F, 4.4F); + F52.setTextureSize(64, 64); + F52.mirror = true; + setRotation(F52, 0F, 0F, -1.919862F); + F12 = new ModelRenderer(this, 48, 34); + F12.addBox(-1F, -1F, -2F, 2, 2, 2); + F12.setRotationPoint(-6F, 0.5F, -4.5F); + F12.setTextureSize(64, 64); + F12.mirror = true; + setRotation(F12, 1.22173F, 2.935045F, -1.047198F); + F23 = new ModelRenderer(this, 20, 60); + F23.addBox(-3F, -1F, -1F, 3, 2, 2); + F23.setRotationPoint(-11F, -2.8F, -2.2F); + F23.setTextureSize(64, 64); + F23.mirror = true; + setRotation(F23, 0F, 0F, 0F); + F33 = new ModelRenderer(this, 30, 60); + F33.addBox(-3F, -1F, -1F, 3, 2, 2); + F33.setRotationPoint(-8F, 0.5F, 0F); + F33.setTextureSize(64, 64); + F33.mirror = true; + setRotation(F33, 0F, 0F, -2.879793F); + F43 = new ModelRenderer(this, 40, 60); + F43.addBox(-3F, -1F, -1F, 3, 2, 2); + F43.setRotationPoint(-8F, 0.5F, 2.2F); + F43.setTextureSize(64, 64); + F43.mirror = true; + setRotation(F43, 0F, 0F, -2.879793F); + F53 = new ModelRenderer(this, 50, 60); + F53.addBox(-3F, -1F, -1F, 3, 2, 2); + F53.setRotationPoint(-8F, 0.5F, 4.4F); + F53.setTextureSize(64, 64); + F53.mirror = true; + setRotation(F53, 0F, 0F, -2.879793F); + F13 = new ModelRenderer(this, 48, 30); + F13.addBox(-1F, -1F, -2F, 2, 2, 2); + F13.setRotationPoint(-7F, 1F, -4F); + F13.setTextureSize(64, 64); + F13.mirror = true; + setRotation(F13, 0.5235988F, 2.617994F, -1.047198F); + WireL = new ModelRenderer(this, 38, 30); + WireL.addBox(0F, 0F, 0F, 4, 1, 1); + WireL.setRotationPoint(0F, -5.5F, 0F); + WireL.setTextureSize(64, 64); + WireL.mirror = true; + setRotation(WireL, 0F, 0F, 0F); + WireR = new ModelRenderer(this, 38, 28); + WireR.addBox(0F, 0F, 0F, 4, 1, 1); + WireR.setRotationPoint(0F, -5.5F, 2F); + WireR.setTextureSize(64, 64); + WireR.mirror = true; + setRotation(WireR, 0F, 0F, 0F); + Gauge1 = new ModelRenderer(this, 20, 47); + Gauge1.addBox(-1.5F, -1F, -2F, 3, 1, 4); + Gauge1.setRotationPoint(-1F, -4F, 4F); + Gauge1.setTextureSize(64, 64); + Gauge1.mirror = true; + setRotation(Gauge1, -0.7853982F, 0F, 0F); + Gauge2 = new ModelRenderer(this, 34, 48); + Gauge2.addBox(-2F, -1F, -1.5F, 4, 1, 3); + Gauge2.setRotationPoint(-1F, -4F, 4F); + Gauge2.setTextureSize(64, 64); + Gauge2.mirror = true; + setRotation(Gauge2, -0.7853982F, 0F, 0F); + WireB = new ModelRenderer(this, 48, 49); + WireB.addBox(0F, 0F, 0F, 4, 2, 1); + WireB.setRotationPoint(0F, -1F, -5.5F); + WireB.setTextureSize(64, 64); + WireB.mirror = true; + setRotation(WireB, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + Base.render(f5); + BTop.render(f5); + BBottom.render(f5); + BLeft.render(f5); + BRight.render(f5); + RTop.render(f5); + RBottom.render(f5); + RLeft.render(f5); + RRight.render(f5); + GPivot.render(f5); + GBase.render(f5); + F31.render(f5); + F21.render(f5); + F41.render(f5); + F51.render(f5); + F11.render(f5); + F22.render(f5); + F32.render(f5); + F42.render(f5); + F52.render(f5); + F12.render(f5); + F23.render(f5); + F33.render(f5); + F43.render(f5); + F53.render(f5); + F13.render(f5); + WireL.render(f5); + WireR.render(f5); + Gauge1.render(f5); + Gauge2.render(f5); + WireB.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelNightmare.java b/com/hbm/render/model/ModelNightmare.java new file mode 100644 index 000000000..f175a44ac --- /dev/null +++ b/com/hbm/render/model/ModelNightmare.java @@ -0,0 +1,193 @@ +// Date: 08.12.2016 20:24:28 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package com.hbm.render.model; + +import org.lwjgl.opengl.GL11; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ModelNightmare extends ModelBase { + // fields + ModelRenderer Shape1; + ModelRenderer Shape2; + ModelRenderer Shape3; + ModelRenderer Shape4; + ModelRenderer Shape5; + ModelRenderer Shape6; + ModelRenderer Shape7; + ModelRenderer Shape8; + ModelRenderer Shape9; + ModelRenderer Shape10; + ModelRenderer Shape11; + ModelRenderer Shape12; + ModelRenderer Bullet1; + ModelRenderer Bullet2; + ModelRenderer Bullet3; + ModelRenderer Bullet4; + ModelRenderer Bullet5; + ModelRenderer Bullet6; + + public ModelNightmare() { + textureWidth = 64; + textureHeight = 32; + + Shape1 = new ModelRenderer(this, 0, 0); + Shape1.addBox(0F, 0F, 0F, 3, 8, 2); + Shape1.setRotationPoint(0F, 0F, 0F); + Shape1.setTextureSize(64, 32); + Shape1.mirror = true; + setRotation(Shape1, 0F, 0F, -0.3490659F); + Shape2 = new ModelRenderer(this, 42, 0); + Shape2.addBox(0F, 0F, 0F, 9, 6, 2); + Shape2.setRotationPoint(-8F, -5F, 0F); + Shape2.setTextureSize(64, 32); + Shape2.mirror = true; + setRotation(Shape2, 0F, 0F, 0F); + Shape3 = new ModelRenderer(this, 0, 14); + Shape3.addBox(0F, 0F, 0F, 4, 2, 1); + Shape3.setRotationPoint(-0.03333334F, -3F, 0.5F); + Shape3.setTextureSize(64, 32); + Shape3.mirror = true; + setRotation(Shape3, 0F, 0F, 0.715585F); + Shape4 = new ModelRenderer(this, 22, 0); + Shape4.addBox(0F, 0F, 0F, 6, 4, 3); + Shape4.setRotationPoint(-7F, -4F, 0F); + Shape4.setTextureSize(64, 32); + Shape4.mirror = true; + setRotation(Shape4, 0F, 0F, 0F); + Shape5 = new ModelRenderer(this, 0, 0); + Shape5.addBox(0F, 0F, 0F, 1, 1, 1); + Shape5.setRotationPoint(0F, 0F, 0F); + Shape5.setTextureSize(64, 32); + Shape5.mirror = true; + setRotation(Shape5, 0F, 0F, 0F); + Shape6 = new ModelRenderer(this, 34, 8); + Shape6.addBox(0F, 0F, 0F, 13, 2, 2); + Shape6.setRotationPoint(-21F, -4F, 0F); + Shape6.setTextureSize(64, 32); + Shape6.mirror = true; + setRotation(Shape6, 0F, 0F, 0F); + Shape7 = new ModelRenderer(this, 0, 17); + Shape7.addBox(0F, 0F, 0F, 1, 2, 1); + Shape7.setRotationPoint(2F, -3F, 0.5F); + Shape7.setTextureSize(64, 32); + Shape7.mirror = true; + setRotation(Shape7, 0F, 0F, 0.715585F); + Shape8 = new ModelRenderer(this, 4, 17); + Shape8.addBox(0F, 0F, 0F, 2, 1, 1); + Shape8.setRotationPoint(2F, -4F, 0.5F); + Shape8.setTextureSize(64, 32); + Shape8.mirror = true; + setRotation(Shape8, 0F, 0F, 0.715585F); + Shape9 = new ModelRenderer(this, 0, 20); + Shape9.addBox(0F, 0F, 0F, 6, 1, 1); + Shape9.setRotationPoint(-14F, -2F, 0.5F); + Shape9.setTextureSize(64, 32); + Shape9.mirror = true; + setRotation(Shape9, 0F, 0F, 0F); + Shape10 = new ModelRenderer(this, 26, 8); + Shape10.addBox(0F, 0F, 0F, 2, 2, 2); + Shape10.setRotationPoint(-19F, -5F, 0F); + Shape10.setTextureSize(64, 32); + Shape10.mirror = true; + setRotation(Shape10, 0F, 0F, 0.6108652F); + Shape11 = new ModelRenderer(this, 0, 10); + Shape11.addBox(0F, 0F, 0F, 4, 3, 1); + Shape11.setRotationPoint(-2F, 1F, 0.5F); + Shape11.setTextureSize(64, 32); + Shape11.mirror = true; + setRotation(Shape11, 0F, 0F, 0F); + Shape12 = new ModelRenderer(this, 10, 0); + Shape12.addBox(0F, 0F, 0F, 1, 3, 1); + Shape12.setRotationPoint(0F, 0F, 0.5F); + Shape12.setTextureSize(64, 32); + Shape12.mirror = true; + setRotation(Shape12, 0F, 0F, 0.5235988F); + Bullet1 = new ModelRenderer(this, 6, 22); + Bullet1.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet1.setRotationPoint(-7.5F, -4F, -1F); + Bullet1.setTextureSize(64, 32); + Bullet1.mirror = true; + setRotation(Bullet1, 0F, 0F, 0F); + Bullet2 = new ModelRenderer(this, 0, 22); + Bullet2.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet2.setRotationPoint(-6.5F, -4F, -1F); + Bullet2.setTextureSize(64, 32); + Bullet2.mirror = true; + setRotation(Bullet2, 0F, 0F, 0F); + Bullet3 = new ModelRenderer(this, 6, 22); + Bullet3.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet3.setRotationPoint(-4.5F, -4F, -1F); + Bullet3.setTextureSize(64, 32); + Bullet3.mirror = true; + setRotation(Bullet3, 0F, 0F, 0F); + Bullet4 = new ModelRenderer(this, 0, 22); + Bullet4.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet4.setRotationPoint(-3.5F, -4F, -1F); + Bullet4.setTextureSize(64, 32); + Bullet4.mirror = true; + setRotation(Bullet4, 0F, 0F, 0F); + Bullet5 = new ModelRenderer(this, 6, 22); + Bullet5.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet5.setRotationPoint(-1.5F, -4F, -1F); + Bullet5.setTextureSize(64, 32); + Bullet5.mirror = true; + setRotation(Bullet5, 0F, 0F, 0F); + Bullet6 = new ModelRenderer(this, 0, 22); + Bullet6.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet6.setRotationPoint(-0.5F, -4F, -1F); + Bullet6.setTextureSize(64, 32); + Bullet6.mirror = true; + setRotation(Bullet6, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5, ItemStack item) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + GL11.glDisable(GL11.GL_CULL_FACE); + Shape1.render(f5); + Shape2.render(f5); + Shape3.render(f5); + Shape4.render(f5); + Shape5.render(f5); + Shape6.render(f5); + Shape7.render(f5); + Shape8.render(f5); + Shape9.render(f5); + Shape10.render(f5); + Shape11.render(f5); + Shape12.render(f5); + GL11.glEnable(GL11.GL_CULL_FACE); + if(item.getItemDamage() <= 0) + Bullet1.render(f5); + if(item.getItemDamage() <= 1) + Bullet2.render(f5); + if(item.getItemDamage() <= 2) + Bullet3.render(f5); + if(item.getItemDamage() <= 3) + Bullet4.render(f5); + if(item.getItemDamage() <= 4) + Bullet5.render(f5); + if(item.getItemDamage() <= 5) + Bullet6.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelNightmare2.java b/com/hbm/render/model/ModelNightmare2.java new file mode 100644 index 000000000..ab218f7b0 --- /dev/null +++ b/com/hbm/render/model/ModelNightmare2.java @@ -0,0 +1,241 @@ +// Date: 08.12.2016 20:42:59 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package com.hbm.render.model; + +import org.lwjgl.opengl.GL11; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + +public class ModelNightmare2 extends ModelBase { + // fields + ModelRenderer Shape1; + ModelRenderer Shape2; + ModelRenderer Shape3; + ModelRenderer Shape4; + ModelRenderer Shape6; + ModelRenderer Shape7; + ModelRenderer Shape8; + ModelRenderer Shape9; + ModelRenderer Shape10; + ModelRenderer Shape11; + ModelRenderer Shape12; + ModelRenderer Bullet1; + ModelRenderer Bullet2; + ModelRenderer Bullet3; + ModelRenderer Bullet4; + ModelRenderer Bullet5; + ModelRenderer Bullet6; + ModelRenderer Shape13; + ModelRenderer Shape14; + ModelRenderer Shape15; + ModelRenderer Shape16; + ModelRenderer Shape17; + ModelRenderer Shape18; + ModelRenderer Shape19; + + public ModelNightmare2() { + textureWidth = 64; + textureHeight = 32; + + Shape1 = new ModelRenderer(this, 0, 0); + Shape1.addBox(0F, 0F, 0F, 3, 8, 2); + Shape1.setRotationPoint(0F, 0F, 0F); + Shape1.setTextureSize(64, 32); + Shape1.mirror = true; + setRotation(Shape1, 0F, 0F, -0.3490659F); + Shape2 = new ModelRenderer(this, 42, 0); + Shape2.addBox(0F, 0F, 0F, 9, 6, 2); + Shape2.setRotationPoint(-8F, -5F, 0F); + Shape2.setTextureSize(64, 32); + Shape2.mirror = true; + setRotation(Shape2, 0F, 0F, 0F); + Shape3 = new ModelRenderer(this, 0, 14); + Shape3.addBox(0F, 0F, 0F, 4, 2, 1); + Shape3.setRotationPoint(-0.03333334F, -3F, 0.5F); + Shape3.setTextureSize(64, 32); + Shape3.mirror = true; + setRotation(Shape3, 0F, 0F, 0.715585F); + Shape4 = new ModelRenderer(this, 22, 0); + Shape4.addBox(0F, 0F, 0F, 6, 4, 3); + Shape4.setRotationPoint(-7F, -4F, 0F); + Shape4.setTextureSize(64, 32); + Shape4.mirror = true; + setRotation(Shape4, 0F, 0F, 0F); + Shape6 = new ModelRenderer(this, 34, 8); + Shape6.addBox(0F, 0F, 0F, 13, 2, 2); + Shape6.setRotationPoint(-21F, -4F, 0F); + Shape6.setTextureSize(64, 32); + Shape6.mirror = true; + setRotation(Shape6, 0F, 0F, 0F); + Shape7 = new ModelRenderer(this, 0, 17); + Shape7.addBox(0F, 0F, 0F, 1, 2, 1); + Shape7.setRotationPoint(2F, -3F, 0.5F); + Shape7.setTextureSize(64, 32); + Shape7.mirror = true; + setRotation(Shape7, 0F, 0F, 0.715585F); + Shape8 = new ModelRenderer(this, 4, 17); + Shape8.addBox(0F, 0F, 0F, 2, 1, 1); + Shape8.setRotationPoint(2F, -4F, 0.5F); + Shape8.setTextureSize(64, 32); + Shape8.mirror = true; + setRotation(Shape8, 0F, 0F, 0.715585F); + Shape9 = new ModelRenderer(this, 0, 20); + Shape9.addBox(0F, 0F, 0F, 6, 1, 1); + Shape9.setRotationPoint(-14F, -2F, 0.5F); + Shape9.setTextureSize(64, 32); + Shape9.mirror = true; + setRotation(Shape9, 0F, 0F, 0F); + Shape10 = new ModelRenderer(this, 26, 8); + Shape10.addBox(0F, 0F, 0F, 2, 2, 2); + Shape10.setRotationPoint(-19F, -5F, 0F); + Shape10.setTextureSize(64, 32); + Shape10.mirror = true; + setRotation(Shape10, 0F, 0F, 0.6108652F); + Shape11 = new ModelRenderer(this, 0, 10); + Shape11.addBox(0F, 0F, 0F, 4, 3, 1); + Shape11.setRotationPoint(-2F, 1F, 0.5F); + Shape11.setTextureSize(64, 32); + Shape11.mirror = true; + setRotation(Shape11, 0F, 0F, 0F); + Shape12 = new ModelRenderer(this, 10, 0); + Shape12.addBox(0F, 0F, 0F, 1, 3, 1); + Shape12.setRotationPoint(0F, 0F, 0.5F); + Shape12.setTextureSize(64, 32); + Shape12.mirror = true; + setRotation(Shape12, 0F, 0F, 0.5235988F); + Bullet1 = new ModelRenderer(this, 6, 22); + Bullet1.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet1.setRotationPoint(-7.5F, -4F, -1F); + Bullet1.setTextureSize(64, 32); + Bullet1.mirror = true; + setRotation(Bullet1, 0F, 0F, 0F); + Bullet2 = new ModelRenderer(this, 0, 22); + Bullet2.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet2.setRotationPoint(-6.5F, -4F, -1F); + Bullet2.setTextureSize(64, 32); + Bullet2.mirror = true; + setRotation(Bullet2, 0F, 0F, 0F); + Bullet3 = new ModelRenderer(this, 6, 22); + Bullet3.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet3.setRotationPoint(-4.5F, -4F, -1F); + Bullet3.setTextureSize(64, 32); + Bullet3.mirror = true; + setRotation(Bullet3, 0F, 0F, 0F); + Bullet4 = new ModelRenderer(this, 0, 22); + Bullet4.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet4.setRotationPoint(-3.5F, -4F, -1F); + Bullet4.setTextureSize(64, 32); + Bullet4.mirror = true; + setRotation(Bullet4, 0F, 0F, 0F); + Bullet5 = new ModelRenderer(this, 6, 22); + Bullet5.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet5.setRotationPoint(-1.5F, -4F, -1F); + Bullet5.setTextureSize(64, 32); + Bullet5.mirror = true; + setRotation(Bullet5, 0F, 0F, 0F); + Bullet6 = new ModelRenderer(this, 0, 22); + Bullet6.addBox(0F, 0F, 0F, 1, 2, 1); + Bullet6.setRotationPoint(-0.5F, -4F, -1F); + Bullet6.setTextureSize(64, 32); + Bullet6.mirror = true; + setRotation(Bullet6, 0F, 0F, 0F); + Shape13 = new ModelRenderer(this, 14, 0); + Shape13.addBox(0F, 0F, 0F, 1, 1, 2); + Shape13.setRotationPoint(-13F, -3.5F, -2F); + Shape13.setTextureSize(64, 32); + Shape13.mirror = true; + setRotation(Shape13, 0F, 0F, 0F); + Shape14 = new ModelRenderer(this, 34, 12); + Shape14.addBox(0F, 0F, 0F, 6, 1, 1); + Shape14.setRotationPoint(-19F, -3.5F, -1.533333F); + Shape14.setTextureSize(64, 32); + Shape14.mirror = true; + setRotation(Shape14, 0F, 0F, 0F); + Shape15 = new ModelRenderer(this, 10, 4); + Shape15.addBox(0F, 0F, 0F, 1, 5, 1); + Shape15.setRotationPoint(-4F, -5F, 3F); + Shape15.setTextureSize(64, 32); + Shape15.mirror = true; + setRotation(Shape15, 0F, 0F, 0F); + Shape16 = new ModelRenderer(this, 10, 10); + Shape16.addBox(-1F, -4F, 0F, 1, 4, 1); + Shape16.setRotationPoint(-3F, -5F, 3F); + Shape16.setTextureSize(64, 32); + Shape16.mirror = true; + setRotation(Shape16, 0F, 0F, -0.5235988F); + Shape17 = new ModelRenderer(this, 14, 8); + Shape17.addBox(0F, 0F, 0F, 5, 1, 1); + Shape17.setRotationPoint(-10F, -8.5F, 3F); + Shape17.setTextureSize(64, 32); + Shape17.mirror = true; + setRotation(Shape17, 0F, 0F, 0F); + Shape18 = new ModelRenderer(this, 14, 12); + Shape18.addBox(-9F, 0F, 0F, 9, 1, 1); + Shape18.setRotationPoint(-10F, -8.5F, 3F); + Shape18.setTextureSize(64, 32); + Shape18.mirror = true; + setRotation(Shape18, 0F, 0F, -0.6108652F); + Shape19 = new ModelRenderer(this, 14, 10); + Shape19.addBox(-5F, 0F, -1F, 5, 1, 1); + Shape19.setRotationPoint(-16F, -3.5F, 4F); + Shape19.setTextureSize(64, 32); + Shape19.mirror = true; + setRotation(Shape19, 0F, -0.4461433F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5, ItemStack item) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + GL11.glDisable(GL11.GL_CULL_FACE); + Shape1.render(f5); + Shape2.render(f5); + Shape3.render(f5); + Shape4.render(f5); + Shape6.render(f5); + Shape7.render(f5); + Shape8.render(f5); + Shape9.render(f5); + Shape10.render(f5); + Shape11.render(f5); + Shape12.render(f5); + GL11.glEnable(GL11.GL_CULL_FACE); + if(item.getItemDamage() <= 0) + Bullet1.render(f5); + if(item.getItemDamage() <= 1) + Bullet2.render(f5); + if(item.getItemDamage() <= 2) + Bullet3.render(f5); + if(item.getItemDamage() <= 3) + Bullet4.render(f5); + if(item.getItemDamage() <= 4) + Bullet5.render(f5); + if(item.getItemDamage() <= 5) + Bullet6.render(f5); + Shape13.render(f5); + Shape14.render(f5); + Shape15.render(f5); + Shape16.render(f5); + Shape17.render(f5); + Shape18.render(f5); + Shape19.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelOxygenMask.java b/com/hbm/render/model/ModelOxygenMask.java new file mode 100644 index 000000000..893bf5bda --- /dev/null +++ b/com/hbm/render/model/ModelOxygenMask.java @@ -0,0 +1,114 @@ + +package com.hbm.render.model; + +import org.lwjgl.opengl.GL11; + +import net.minecraft.client.model.ModelBiped; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; + +public class ModelOxygenMask extends ModelBiped { + // fields + ModelRenderer mask; + ModelRenderer Shape1; + ModelRenderer Shape2; + ModelRenderer Shape3; + ModelRenderer Shape4; + ModelRenderer Shape5; + ModelRenderer Shape6; + + public ModelOxygenMask() { + textureWidth = 64; + textureHeight = 32; + + mask = new ModelRenderer(this, 0, 0); + Shape1 = new ModelRenderer(this, 0, 0); + Shape1.addBox(0F, 0F, 0F, 8, 8, 3); + Shape1.setRotationPoint(0F - 4, 0F - 8 + 0.075F / 2, 0F - 4); + Shape1.setTextureSize(64, 32); + Shape1.mirror = true; + setRotation(Shape1, 0F, 0F, 0F); + convertToChild(mask, Shape1); + Shape2 = new ModelRenderer(this, 22, 0); + Shape2.addBox(0F, 0F, 0F, 2, 2, 1); + Shape2.setRotationPoint(1F - 4, 3F - 8 + 0.075F / 2, -0.5333334F - 4); + Shape2.setTextureSize(64, 32); + Shape2.mirror = true; + setRotation(Shape2, 0F, 0F, 0F); + convertToChild(mask, Shape2); + Shape3 = new ModelRenderer(this, 22, 0); + Shape3.addBox(0F, 0F, 0F, 2, 2, 1); + Shape3.setRotationPoint(5F - 4, 3F - 8 + 0.075F / 2, -0.5F - 4); + Shape3.setTextureSize(64, 32); + Shape3.mirror = true; + setRotation(Shape3, 0F, 0F, 0F); + convertToChild(mask, Shape3); + Shape4 = new ModelRenderer(this, 0, 11); + Shape4.addBox(0F, 0F, 0F, 2, 2, 2); + Shape4.setRotationPoint(3F - 4, 5F - 8 + 0.075F / 2, 0F - 4); + Shape4.setTextureSize(64, 32); + Shape4.mirror = true; + setRotation(Shape4, -0.7853982F, 0F, 0F); + convertToChild(mask, Shape4); + Shape5 = new ModelRenderer(this, 0, 15); + Shape5.addBox(0F, 2F, -0.5F, 3, 4, 3); + Shape5.setRotationPoint(2.5F - 4, 5F - 8 + 0.075F / 2, 0F - 4); + Shape5.setTextureSize(64, 32); + Shape5.mirror = true; + setRotation(Shape5, -0.7853982F, 0F, 0F); + convertToChild(mask, Shape5); + Shape6 = new ModelRenderer(this, 0, 22); + Shape6.addBox(0F, 0F, 0F, 8, 1, 5); + Shape6.setRotationPoint(0F - 4, 3F - 8 + 0.075F / 2, 3F - 4); + Shape6.setTextureSize(64, 32); + Shape6.mirror = true; + setRotation(Shape6, 0F, 0F, 0F); + + + convertToChild(mask, Shape6); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + @Override + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + EntityPlayer player = (EntityPlayer) entity; + if (player.isSneaking()) { + this.isSneak = true; + } else { + this.isSneak = false; + } + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + this.mask.rotationPointX = this.bipedHead.rotationPointX; + this.mask.rotationPointY = this.bipedHead.rotationPointY; + this.mask.rotateAngleY = this.bipedHead.rotateAngleY; + this.mask.rotateAngleX = this.bipedHead.rotateAngleX; + } + + @Override + public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7) { + setRotationAngles(par2, par3, par4, par5, par6, par7, par1Entity); + GL11.glPushMatrix(); + GL11.glScalef(1.15F, 1.15F, 1.15F); + this.mask.render(par7); + GL11.glPopMatrix(); + } + + protected void convertToChild(ModelRenderer parParent, ModelRenderer parChild) { + // move child rotation point to be relative to parent + parChild.rotationPointX -= parParent.rotationPointX; + parChild.rotationPointY -= parParent.rotationPointY; + parChild.rotationPointZ -= parParent.rotationPointZ; + // make rotations relative to parent + parChild.rotateAngleX -= parParent.rotateAngleX; + parChild.rotateAngleY -= parParent.rotateAngleY; + parChild.rotateAngleZ -= parParent.rotateAngleZ; + // create relationship + parParent.addChild(parChild); + } +} diff --git a/com/hbm/render/model/ModelRubble.java b/com/hbm/render/model/ModelRubble.java new file mode 100644 index 000000000..07c4fccff --- /dev/null +++ b/com/hbm/render/model/ModelRubble.java @@ -0,0 +1,130 @@ +// Date: 11.02.2017 13:00:27 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelRubble extends ModelBase { + // fields + ModelRenderer Shape1; + ModelRenderer Shape2; + ModelRenderer Shape3; + ModelRenderer Shape4; + ModelRenderer Shape5; + ModelRenderer Shape6; + ModelRenderer Shape7; + ModelRenderer Shape8; + ModelRenderer Shape9; + ModelRenderer Shape10; + + public ModelRubble() { + textureWidth = 64; + textureHeight = 32; + + Shape1 = new ModelRenderer(this, 0, 0); + Shape1.addBox(0F, 0F, 0F, 14, 6, 6); + Shape1.setRotationPoint(-7F, 1F, 2F); + Shape1.setTextureSize(64, 32); + Shape1.mirror = true; + setRotation(Shape1, 0F, 0F, 0F); + Shape2 = new ModelRenderer(this, 0, 0); + Shape2.addBox(0F, 0F, 0F, 6, 13, 5); + Shape2.setRotationPoint(-7F, -6F, -5F); + Shape2.setTextureSize(64, 32); + Shape2.mirror = true; + setRotation(Shape2, 0F, 0F, 0F); + Shape3 = new ModelRenderer(this, 0, 0); + Shape3.addBox(0F, 0F, 0F, 6, 6, 6); + Shape3.setRotationPoint(1F, 1F, -5F); + Shape3.setTextureSize(64, 32); + Shape3.mirror = true; + setRotation(Shape3, 0F, 0F, 0F); + Shape4 = new ModelRenderer(this, 0, 0); + Shape4.addBox(0F, 0F, 0F, 14, 7, 4); + Shape4.setRotationPoint(-7F, -7F, 2F); + Shape4.setTextureSize(64, 32); + Shape4.mirror = true; + setRotation(Shape4, 0F, 0.4363323F, 0F); + Shape5 = new ModelRenderer(this, 0, 0); + Shape5.addBox(0F, 0F, 0F, 6, 6, 11); + Shape5.setRotationPoint(0F, -6F, -5F); + Shape5.setTextureSize(64, 32); + Shape5.mirror = true; + setRotation(Shape5, 0F, 0F, 0F); + Shape6 = new ModelRenderer(this, 0, 0); + Shape6.addBox(0F, 0F, 0F, 8, 8, 8); + Shape6.setRotationPoint(-4F, -4F, -4F); + Shape6.setTextureSize(64, 32); + Shape6.mirror = true; + setRotation(Shape6, 0F, 0F, 0F); + Shape7 = new ModelRenderer(this, 0, 0); + Shape7.addBox(0F, 0F, 0F, 6, 5, 7); + Shape7.setRotationPoint(-7F, -5F, 1F); + Shape7.setTextureSize(64, 32); + Shape7.mirror = true; + setRotation(Shape7, 0F, 0F, 0F); + Shape8 = new ModelRenderer(this, 0, 0); + Shape8.addBox(0F, 0F, 0F, 12, 6, 4); + Shape8.setRotationPoint(-6F, -1F, 3F); + Shape8.setTextureSize(64, 32); + Shape8.mirror = true; + setRotation(Shape8, 0F, 0F, -0.3490659F); + Shape9 = new ModelRenderer(this, 0, 0); + Shape9.addBox(0F, 0F, 0F, 12, 6, 6); + Shape9.setRotationPoint(-6F, 2F, -3F); + Shape9.setTextureSize(64, 32); + Shape9.mirror = true; + setRotation(Shape9, 0F, -0.2094395F, 0F); + Shape10 = new ModelRenderer(this, 0, 0); + Shape10.addBox(0F, 0F, 0F, 6, 10, 4); + Shape10.setRotationPoint(-5F, -3F, -6F); + Shape10.setTextureSize(64, 32); + Shape10.mirror = true; + setRotation(Shape10, 0F, 0F, -0.3490659F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + Shape1.render(f5); + Shape2.render(f5); + Shape3.render(f5); + Shape4.render(f5); + Shape5.render(f5); + Shape6.render(f5); + Shape7.render(f5); + Shape8.render(f5); + Shape9.render(f5); + Shape10.render(f5); + } + + public void renderAll(float f5) { + Shape1.render(f5); + Shape2.render(f5); + Shape3.render(f5); + Shape4.render(f5); + Shape5.render(f5); + Shape6.render(f5); + Shape7.render(f5); + Shape8.render(f5); + Shape9.render(f5); + Shape10.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelShrapnel.java b/com/hbm/render/model/ModelShrapnel.java new file mode 100644 index 000000000..4c037cdbf --- /dev/null +++ b/com/hbm/render/model/ModelShrapnel.java @@ -0,0 +1,45 @@ +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelShrapnel extends ModelBase { + + ModelRenderer bullet; + + public ModelShrapnel() { + textureWidth = 16; + textureHeight = 8; + + bullet = new ModelRenderer(this, 0, 0); + bullet.addBox(0F, 0F, 0F, 4, 4, 4); + bullet.setRotationPoint(1F, -0.5F, -0.5F); + bullet.setTextureSize(16, 8); + bullet.mirror = true; + setRotation(bullet, 0F, 0F, 0F); + } + + @Override + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + bullet.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + @Override + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + + public void renderAll(float f5) { + bullet.render(f5); + } + +} \ No newline at end of file diff --git a/com/hbm/render/model/ModelSpark.java b/com/hbm/render/model/ModelSpark.java new file mode 100644 index 000000000..8e7bd6443 --- /dev/null +++ b/com/hbm/render/model/ModelSpark.java @@ -0,0 +1,183 @@ +// Date: 14.02.2017 20:27:10 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + + + + + + +package com.hbm.render.model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelSpark extends ModelBase +{ + //fields + ModelRenderer BarrelMain; + ModelRenderer BarrelSide; + ModelRenderer PlateFront; + ModelRenderer Sight; + ModelRenderer Grip; + ModelRenderer Cell1; + ModelRenderer Cell2; + ModelRenderer Cell3; + ModelRenderer Cell4; + ModelRenderer Cell5; + ModelRenderer Cell8; + ModelRenderer Cell7; + ModelRenderer Cell6; + ModelRenderer PlateBack; + ModelRenderer Body; + ModelRenderer Handle1; + ModelRenderer Handle2; + + public ModelSpark() + { + textureWidth = 64; + textureHeight = 64; + + BarrelMain = new ModelRenderer(this, 0, 0); + BarrelMain.addBox(0F, 0F, 0F, 18, 6, 6); + BarrelMain.setRotationPoint(-18F, 0F, -3F); + BarrelMain.setTextureSize(64, 64); + BarrelMain.mirror = true; + setRotation(BarrelMain, 0F, 0F, 0F); + BarrelSide = new ModelRenderer(this, 0, 12); + BarrelSide.addBox(0F, -3F, -3F, 14, 6, 6); + BarrelSide.setRotationPoint(-14F, 3F, 0F); + BarrelSide.setTextureSize(64, 64); + BarrelSide.mirror = true; + setRotation(BarrelSide, 0.7853982F, 0F, 0F); + PlateFront = new ModelRenderer(this, 40, 12); + PlateFront.addBox(0F, 0F, 0F, 2, 8, 8); + PlateFront.setRotationPoint(0F, -1F, -4F); + PlateFront.setTextureSize(64, 64); + PlateFront.mirror = true; + setRotation(PlateFront, 0F, 0F, 0F); + Sight = new ModelRenderer(this, 48, 0); + Sight.addBox(0F, 0F, 0F, 1, 4, 2); + Sight.setRotationPoint(-16F, -4F, -1F); + Sight.setTextureSize(64, 64); + Sight.mirror = true; + setRotation(Sight, 0F, 0F, 0F); + Grip = new ModelRenderer(this, 0, 24); + Grip.addBox(0F, 0F, 0F, 12, 2, 2); + Grip.setRotationPoint(-10F, 5F, -6F); + Grip.setTextureSize(64, 64); + Grip.mirror = true; + setRotation(Grip, 0F, 0F, 0F); + Cell1 = new ModelRenderer(this, 0, 28); + Cell1.addBox(0F, -3.5F, -1F, 3, 2, 2); + Cell1.setRotationPoint(2F, 3F, 0F); + Cell1.setTextureSize(64, 64); + Cell1.mirror = true; + setRotation(Cell1, 0F, 0F, 0F); + Cell2 = new ModelRenderer(this, 0, 32); + Cell2.addBox(0F, -3.5F, -1F, 3, 2, 2); + Cell2.setRotationPoint(2F, 3F, 0F); + Cell2.setTextureSize(64, 64); + Cell2.mirror = true; + setRotation(Cell2, 0.7853982F, 0F, 0F); + Cell3 = new ModelRenderer(this, 0, 36); + Cell3.addBox(0F, -3.5F, -1F, 3, 2, 2); + Cell3.setRotationPoint(2F, 3F, 0F); + Cell3.setTextureSize(64, 64); + Cell3.mirror = true; + setRotation(Cell3, 1.570796F, 0F, 0F); + Cell4 = new ModelRenderer(this, 0, 40); + Cell4.addBox(0F, -3.5F, -1F, 3, 2, 2); + Cell4.setRotationPoint(2F, 3F, 0F); + Cell4.setTextureSize(64, 64); + Cell4.mirror = true; + setRotation(Cell4, 2.356194F, 0F, 0F); + Cell5 = new ModelRenderer(this, 0, 44); + Cell5.addBox(0F, -3.5F, -1F, 3, 2, 2); + Cell5.setRotationPoint(2F, 3F, 0F); + Cell5.setTextureSize(64, 64); + Cell5.mirror = true; + setRotation(Cell5, 3.141593F, 0F, 0F); + Cell8 = new ModelRenderer(this, 0, 48); + Cell8.addBox(0F, -3.5F, -1F, 3, 2, 2); + Cell8.setRotationPoint(2F, 3F, 0F); + Cell8.setTextureSize(64, 64); + Cell8.mirror = true; + setRotation(Cell8, -0.7853982F, 0F, 0F); + Cell7 = new ModelRenderer(this, 0, 52); + Cell7.addBox(0F, -3.5F, -1F, 3, 2, 2); + Cell7.setRotationPoint(2F, 3F, 0F); + Cell7.setTextureSize(64, 64); + Cell7.mirror = true; + setRotation(Cell7, -1.570796F, 0F, 0F); + Cell6 = new ModelRenderer(this, 0, 56); + Cell6.addBox(0F, -3.5F, -1F, 3, 2, 2); + Cell6.setRotationPoint(2F, 3F, 0F); + Cell6.setTextureSize(64, 64); + Cell6.mirror = true; + setRotation(Cell6, -2.356194F, 0F, 0F); + PlateBack = new ModelRenderer(this, 10, 28); + PlateBack.addBox(0F, 0F, 0F, 2, 8, 8); + PlateBack.setRotationPoint(5F, -1F, -4F); + PlateBack.setTextureSize(64, 64); + PlateBack.mirror = true; + setRotation(PlateBack, 0F, 0F, 0F); + Body = new ModelRenderer(this, 10, 44); + Body.addBox(0F, 0F, 0F, 8, 6, 4); + Body.setRotationPoint(7F, 1F, -2F); + Body.setTextureSize(64, 64); + Body.mirror = true; + setRotation(Body, 0F, 0F, 0F); + Handle1 = new ModelRenderer(this, 10, 54); + Handle1.addBox(0F, 0F, 0F, 2, 2, 2); + Handle1.setRotationPoint(15F, 4F, -1F); + Handle1.setTextureSize(64, 64); + Handle1.mirror = true; + setRotation(Handle1, 0F, 0F, 0F); + Handle2 = new ModelRenderer(this, 18, 54); + Handle2.addBox(0F, 0F, 0F, 1, 4, 1); + Handle2.setRotationPoint(17F, 2F, -0.5F); + Handle2.setTextureSize(64, 64); + Handle2.mirror = true; + setRotation(Handle2, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) + { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + BarrelMain.render(f5); + BarrelSide.render(f5); + PlateFront.render(f5); + Sight.render(f5); + Grip.render(f5); + Cell1.render(f5); + Cell2.render(f5); + Cell3.render(f5); + Cell4.render(f5); + Cell5.render(f5); + Cell8.render(f5); + Cell7.render(f5); + Cell6.render(f5); + PlateBack.render(f5); + Body.render(f5); + Handle1.render(f5); + Handle2.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) + { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) + { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/model/ModelUboinik.java b/com/hbm/render/model/ModelUboinik.java new file mode 100644 index 000000000..e1c03b94c --- /dev/null +++ b/com/hbm/render/model/ModelUboinik.java @@ -0,0 +1,269 @@ +// Date: 03.12.2016 21:30:48 +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package com.hbm.render.model; + +import org.lwjgl.opengl.GL11; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelUboinik extends ModelBase { + // fields + ModelRenderer Barrel; + ModelRenderer ConnectorFront; + ModelRenderer ConnectorBack; + ModelRenderer Grip; + ModelRenderer Coil; + ModelRenderer FrontBase; + ModelRenderer FrontTip; + ModelRenderer DrumCenter; + ModelRenderer DrumBack; + ModelRenderer DrumBottom; + ModelRenderer Shell1; + ModelRenderer Shell2; + ModelRenderer Shell3; + ModelRenderer Shell4; + ModelRenderer Shell5; + ModelRenderer Shell6; + ModelRenderer Clip1; + ModelRenderer Clip2; + ModelRenderer Clip3; + ModelRenderer ChamberBack; + ModelRenderer ChamberBackConnector; + ModelRenderer ChamberTop; + ModelRenderer Chamber; + ModelRenderer Stock; + ModelRenderer TriggerFrame; + ModelRenderer Trigger; + ModelRenderer Handle; + ModelRenderer StockBottom; + + public ModelUboinik() { + textureWidth = 64; + textureHeight = 64; + + Barrel = new ModelRenderer(this, 0, 11); + Barrel.addBox(0F, 0F, 0F, 24, 2, 2); + Barrel.setRotationPoint(-24F, 0F, -1F); + Barrel.setTextureSize(64, 64); + Barrel.mirror = true; + setRotation(Barrel, 0F, 0F, 0F); + ConnectorFront = new ModelRenderer(this, 0, 53); + ConnectorFront.addBox(0F, 0F, 0F, 1, 8, 3); + ConnectorFront.setRotationPoint(-16F, -0.5F, -1.5F); + ConnectorFront.setTextureSize(64, 64); + ConnectorFront.mirror = true; + setRotation(ConnectorFront, 0F, 0F, 0F); + ConnectorBack = new ModelRenderer(this, 8, 53); + ConnectorBack.addBox(0F, 0F, 0F, 1, 8, 3); + ConnectorBack.setRotationPoint(0F, -0.5F, -1.5F); + ConnectorBack.setTextureSize(64, 64); + ConnectorBack.mirror = true; + setRotation(ConnectorBack, 0F, 0F, 0F); + Grip = new ModelRenderer(this, 16, 57); + Grip.addBox(0F, 0F, 0F, 15, 4, 3); + Grip.setRotationPoint(-15F, 3.5F, -1.5F); + Grip.setTextureSize(64, 64); + Grip.mirror = true; + setRotation(Grip, 0F, 0F, 0F); + Coil = new ModelRenderer(this, 16, 51); + Coil.addBox(0F, 0F, 0F, 15, 3, 3); + Coil.setRotationPoint(-15F, -0.5F, -1.5F); + Coil.setTextureSize(64, 64); + Coil.mirror = true; + setRotation(Coil, 0F, 0F, 0F); + FrontBase = new ModelRenderer(this, 0, 49); + FrontBase.addBox(0F, 0F, 0F, 1, 2, 2); + FrontBase.setRotationPoint(-17F, 4.5F, -1F); + FrontBase.setTextureSize(64, 64); + FrontBase.mirror = true; + setRotation(FrontBase, 0F, 0F, 0F); + FrontTip = new ModelRenderer(this, 6, 51); + FrontTip.addBox(0F, 0F, 0F, 4, 1, 1); + FrontTip.setRotationPoint(-21F, 5F, -0.5F); + FrontTip.setTextureSize(64, 64); + FrontTip.mirror = true; + setRotation(FrontTip, 0F, 0F, 0F); + DrumCenter = new ModelRenderer(this, 6, 49); + DrumCenter.addBox(0F, 0F, 0F, 6, 1, 1); + DrumCenter.setRotationPoint(1F, 3F, -0.5F); + DrumCenter.setTextureSize(64, 64); + DrumCenter.mirror = true; + setRotation(DrumCenter, 0F, 0F, 0F); + DrumBack = new ModelRenderer(this, 0, 40); + DrumBack.addBox(0F, 0F, 0F, 1, 7, 2); + DrumBack.setRotationPoint(7F, 1F, -1F); + DrumBack.setTextureSize(64, 64); + DrumBack.mirror = true; + setRotation(DrumBack, 0F, 0F, 0F); + DrumBottom = new ModelRenderer(this, 6, 46); + DrumBottom.addBox(0F, 0F, 0F, 7, 1, 2); + DrumBottom.setRotationPoint(0F, 7.5F, -1F); + DrumBottom.setTextureSize(64, 64); + DrumBottom.mirror = true; + setRotation(DrumBottom, 0F, 0F, 0F); + Shell1 = new ModelRenderer(this, 0, 34); + Shell1.addBox(0F, -3.5F, -1F, 5, 2, 2); + Shell1.setRotationPoint(1.5F, 3.5F, 0F); + Shell1.setTextureSize(64, 64); + Shell1.mirror = true; + setRotation(Shell1, 1.047198F, 0F, 0F); + Shell2 = new ModelRenderer(this, 0, 34); + Shell2.addBox(0F, -3.5F, -1F, 5, 2, 2); + Shell2.setRotationPoint(1.5F, 3.5F, 0F); + Shell2.setTextureSize(64, 64); + Shell2.mirror = true; + setRotation(Shell2, 2.094395F, 0F, 0F); + Shell3 = new ModelRenderer(this, 0, 34); + Shell3.addBox(0F, -3.5F, -1F, 5, 2, 2); + Shell3.setRotationPoint(1.5F, 3.5F, 0F); + Shell3.setTextureSize(64, 64); + Shell3.mirror = true; + setRotation(Shell3, 3.141593F, 0F, 0F); + Shell4 = new ModelRenderer(this, 0, 34); + Shell4.addBox(0F, -3.5F, -1F, 5, 2, 2); + Shell4.setRotationPoint(1.5F, 3.5F, 0F); + Shell4.setTextureSize(64, 64); + Shell4.mirror = true; + setRotation(Shell4, -2.094395F, 0F, 0F); + Shell5 = new ModelRenderer(this, 0, 34); + Shell5.addBox(0F, -3.5F, -1F, 5, 2, 2); + Shell5.setRotationPoint(1.5F, 3.5F, 0F); + Shell5.setTextureSize(64, 64); + Shell5.mirror = true; + setRotation(Shell5, -1.047198F, 0F, 0F); + Shell6 = new ModelRenderer(this, 0, 34); + Shell6.addBox(0F, -3.5F, -1F, 5, 2, 2); + Shell6.setRotationPoint(1.5F, 3.5F, 0F); + Shell6.setTextureSize(64, 64); + Shell6.mirror = true; + setRotation(Shell6, 0F, 0F, 0F); + Clip1 = new ModelRenderer(this, 6, 42); + Clip1.addBox(0F, -1.5F, -0.5F, 2, 3, 1); + Clip1.setRotationPoint(4F, 3.5F, 0F); + Clip1.setTextureSize(64, 64); + Clip1.mirror = true; + setRotation(Clip1, 0F, 0F, 0F); + Clip2 = new ModelRenderer(this, 6, 42); + Clip2.addBox(0F, -1.5F, -0.5F, 2, 3, 1); + Clip2.setRotationPoint(4F, 3.5F, 0F); + Clip2.setTextureSize(64, 64); + Clip2.mirror = true; + setRotation(Clip2, 1.047198F, 0F, 0F); + Clip3 = new ModelRenderer(this, 6, 42); + Clip3.addBox(0F, -1.5F, -0.5F, 2, 3, 1); + Clip3.setRotationPoint(4F, 3.5F, 0F); + Clip3.setTextureSize(64, 64); + Clip3.mirror = true; + setRotation(Clip3, 2.094395F, 0F, 0F); + ChamberBack = new ModelRenderer(this, 0, 28); + ChamberBack.addBox(0F, 0F, 0F, 8, 2, 2); + ChamberBack.setRotationPoint(8F, 1F, -1F); + ChamberBack.setTextureSize(64, 64); + ChamberBack.mirror = true; + setRotation(ChamberBack, 0F, 0F, 0F); + ChamberBackConnector = new ModelRenderer(this, 12, 43); + ChamberBackConnector.addBox(0F, 0F, 0F, 4, 1, 2); + ChamberBackConnector.setRotationPoint(12F, 0F, -1F); + ChamberBackConnector.setTextureSize(64, 64); + ChamberBackConnector.mirror = true; + setRotation(ChamberBackConnector, 0F, 0F, 0F); + ChamberTop = new ModelRenderer(this, 0, 25); + ChamberTop.addBox(0F, 0F, 0F, 9, 1, 2); + ChamberTop.setRotationPoint(7F, -1F, -1F); + ChamberTop.setTextureSize(64, 64); + ChamberTop.mirror = true; + setRotation(ChamberTop, 0F, 0F, 0F); + Chamber = new ModelRenderer(this, 0, 20); + Chamber.addBox(0F, 0F, 0F, 6, 2, 3); + Chamber.setRotationPoint(1F, -1F, -1.5F); + Chamber.setTextureSize(64, 64); + Chamber.mirror = true; + setRotation(Chamber, 0F, 0F, 0F); + Stock = new ModelRenderer(this, 0, 15); + Stock.addBox(0F, 0F, 0F, 23, 3, 2); + Stock.setRotationPoint(13F, 3F, -1F); + Stock.setTextureSize(64, 64); + Stock.mirror = true; + setRotation(Stock, 0F, 0F, 0F); + TriggerFrame = new ModelRenderer(this, 24, 45); + TriggerFrame.addBox(0F, 0F, 0F, 5, 5, 1); + TriggerFrame.setRotationPoint(8F, 3F, -0.5F); + TriggerFrame.setTextureSize(64, 64); + TriggerFrame.mirror = true; + setRotation(TriggerFrame, 0F, 0F, 0F); + Trigger = new ModelRenderer(this, 36, 46); + Trigger.addBox(-1F, 0F, 0F, 1, 4, 1); + Trigger.setRotationPoint(12.5F, 3F, -0.5F); + Trigger.setTextureSize(64, 64); + Trigger.mirror = true; + setRotation(Trigger, 0F, 0F, 0.4363323F); + Handle = new ModelRenderer(this, 40, 43); + Handle.addBox(0F, 0F, 0F, 3, 6, 2); + Handle.setRotationPoint(13F, 6F, -1F); + Handle.setTextureSize(64, 64); + Handle.mirror = true; + setRotation(Handle, 0F, 0F, -0.1745329F); + StockBottom = new ModelRenderer(this, 26, 36); + StockBottom.addBox(0F, 0F, 0F, 10, 5, 2); + StockBottom.setRotationPoint(26F, 6F, -1F); + StockBottom.setTextureSize(64, 64); + StockBottom.mirror = true; + setRotation(StockBottom, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5, entity); + Barrel.render(f5); + ConnectorFront.render(f5); + ConnectorBack.render(f5); + Grip.render(f5); + GL11.glDisable(GL11.GL_CULL_FACE); + Coil.render(f5); + GL11.glEnable(GL11.GL_CULL_FACE); + FrontBase.render(f5); + FrontTip.render(f5); + DrumCenter.render(f5); + DrumBack.render(f5); + DrumBottom.render(f5); + Shell1.render(f5); + Shell2.render(f5); + Shell3.render(f5); + Shell4.render(f5); + Shell5.render(f5); + Shell6.render(f5); + Clip1.render(f5); + Clip2.render(f5); + Clip3.render(f5); + ChamberBack.render(f5); + ChamberBackConnector.render(f5); + ChamberTop.render(f5); + GL11.glDisable(GL11.GL_CULL_FACE); + Chamber.render(f5); + GL11.glEnable(GL11.GL_CULL_FACE); + Stock.render(f5); + GL11.glDisable(GL11.GL_CULL_FACE); + TriggerFrame.render(f5); + GL11.glEnable(GL11.GL_CULL_FACE); + Trigger.render(f5); + Handle.render(f5); + StockBottom.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { + super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); + } + +} diff --git a/com/hbm/render/tileentity/RenderBombMulti.java b/com/hbm/render/tileentity/RenderBombMulti.java index 623a380ef..68e05579a 100644 --- a/com/hbm/render/tileentity/RenderBombMulti.java +++ b/com/hbm/render/tileentity/RenderBombMulti.java @@ -1,48 +1,48 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderBombMulti extends TileEntitySpecialRenderer { - - private static final ResourceLocation bombModel = new ResourceLocation(RefStrings.MODID, "models/BombGeneric.obj"); - private IModelCustom bombModelC; - private ResourceLocation bombTexture; - - public RenderBombMulti() - { - bombModelC = AdvancedModelLoader.loadModel(bombModel); - bombTexture = new ResourceLocation(RefStrings.MODID, "textures/models/BombGeneric.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(bombTexture); - bombModelC.renderAll(); - - GL11.glPopMatrix(); - } -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderBombMulti extends TileEntitySpecialRenderer { + + private static final ResourceLocation bombModel = new ResourceLocation(RefStrings.MODID, "models/BombGeneric.obj"); + private IModelCustom bombModelC; + private ResourceLocation bombTexture; + + public RenderBombMulti() + { + bombModelC = AdvancedModelLoader.loadModel(bombModel); + bombTexture = new ResourceLocation(RefStrings.MODID, "textures/models/BombGeneric.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(bombTexture); + bombModelC.renderAll(); + + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RenderBombMultiLarge.java b/com/hbm/render/tileentity/RenderBombMultiLarge.java index d814e0959..75eec21a1 100644 --- a/com/hbm/render/tileentity/RenderBombMultiLarge.java +++ b/com/hbm/render/tileentity/RenderBombMultiLarge.java @@ -1,48 +1,48 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderBombMultiLarge extends TileEntitySpecialRenderer { - - private static final ResourceLocation bombModel = new ResourceLocation(RefStrings.MODID, "models/BombGenericLarge.obj"); - private IModelCustom bombModelC; - private ResourceLocation bombTexture; - - public RenderBombMultiLarge() - { - bombModelC = AdvancedModelLoader.loadModel(bombModel); - bombTexture = new ResourceLocation(RefStrings.MODID, "textures/models/BombGenericLargeLayout.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(bombTexture); - bombModelC.renderAll(); - - GL11.glPopMatrix(); - } -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderBombMultiLarge extends TileEntitySpecialRenderer { + + private static final ResourceLocation bombModel = new ResourceLocation(RefStrings.MODID, "models/BombGenericLarge.obj"); + private IModelCustom bombModelC; + private ResourceLocation bombTexture; + + public RenderBombMultiLarge() + { + bombModelC = AdvancedModelLoader.loadModel(bombModel); + bombTexture = new ResourceLocation(RefStrings.MODID, "textures/models/BombGenericLargeLayout.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(bombTexture); + bombModelC.renderAll(); + + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RenderCable.java b/com/hbm/render/tileentity/RenderCable.java index cf9232e06..53dccdf40 100644 --- a/com/hbm/render/tileentity/RenderCable.java +++ b/com/hbm/render/tileentity/RenderCable.java @@ -1,160 +1,160 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityCable; - -import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.common.util.ForgeDirection; - -public class RenderCable extends TileEntitySpecialRenderer { - - public ResourceLocation texture = new ResourceLocation(RefStrings.MODID, "textures/blocks/red_cable.png"); - float pixel = 1F/16F; - float textureP = 1F / 32F; - - @Override - public void renderTileEntityAt(TileEntity tileentity, double offsetX, double offsetY, double offsetZ, float f) { - GL11.glTranslated(offsetX, offsetY, offsetZ); - GL11.glDisable(GL11.GL_LIGHTING); - this.bindTexture(texture); - drawCore(tileentity); - TileEntityCable cable = (TileEntityCable) tileentity; - for(int i = 0; i < cable.connections.length; i++) - { - if(cable.connections[i] != null) - { - drawConnection(cable.connections[i]); - } - } - GL11.glTranslated(-offsetX, -offsetY, -offsetZ); - GL11.glEnable(GL11.GL_LIGHTING); - - } - - public void drawCore(TileEntity tileentity) { - Tessellator tesseract = Tessellator.instance; - tesseract.startDrawingQuads(); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 0 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP); - - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 0 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP); - - tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 5 * textureP); - - tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 5 * textureP); - - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP); - - tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP); - tesseract.draw(); - - // M�hsam muss ich hier im BSH meine genialen Mods schreiben, obwohl ich die Zeit eigentlich doch besser nutzen k�nnte. - // Da mir das aber Spa� macht, wird auch in Zukunft gutes Zeug von mir geben (und damit meine ich NICHT Drogen, etc.) - // Danke. - - //I didn't write this, but I'm gonna leave it there. - } - - public void drawConnection(ForgeDirection direction) - { - Tessellator tesseract = Tessellator.instance; - tesseract.startDrawingQuads(); - GL11.glTranslatef(0.5F, 0.5F, 0.5F); - if(direction.equals(ForgeDirection.UP)) - { - - } - if(direction.equals(ForgeDirection.DOWN)) - { - GL11.glRotatef(180, 1, 0, 0); - } - if(direction.equals(ForgeDirection.NORTH)) - { - GL11.glRotatef(270, 1, 0, 0); - } - if(direction.equals(ForgeDirection.SOUTH)) - { - GL11.glRotatef(90, 1, 0, 0); - } - if(direction.equals(ForgeDirection.EAST)) - { - GL11.glRotatef(270, 0, 0, 1); - } - if(direction.equals(ForgeDirection.WEST)) - { - GL11.glRotatef(90, 0, 0, 1); - } - GL11.glTranslatef(-0.5F, -0.5F, -0.5F); - - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 5 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 0 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP); - - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 5 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 0 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); - - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 5 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 0 * textureP); - tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP); - - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 5 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 0 * textureP); - tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); - tesseract.draw(); - - GL11.glTranslatef(0.5F, 0.5F, 0.5F); - if(direction.equals(ForgeDirection.UP)) - { - - } - if(direction.equals(ForgeDirection.DOWN)) - { - GL11.glRotatef(-180, 1, 0, 0); - } - if(direction.equals(ForgeDirection.NORTH)) - { - GL11.glRotatef(-270, 1, 0, 0); - } - if(direction.equals(ForgeDirection.SOUTH)) - { - GL11.glRotatef(-90, 1, 0, 0); - } - if(direction.equals(ForgeDirection.EAST)) - { - GL11.glRotatef(-270, 0, 0, 1); - } - if(direction.equals(ForgeDirection.WEST)) - { - GL11.glRotatef(-90, 0, 0, 1); - } - GL11.glTranslatef(-0.5F, -0.5F, -0.5F); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityCable; + +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.common.util.ForgeDirection; + +public class RenderCable extends TileEntitySpecialRenderer { + + public ResourceLocation texture = new ResourceLocation(RefStrings.MODID, "textures/blocks/red_cable.png"); + float pixel = 1F/16F; + float textureP = 1F / 32F; + + @Override + public void renderTileEntityAt(TileEntity tileentity, double offsetX, double offsetY, double offsetZ, float f) { + GL11.glTranslated(offsetX, offsetY, offsetZ); + GL11.glDisable(GL11.GL_LIGHTING); + this.bindTexture(texture); + drawCore(tileentity); + TileEntityCable cable = (TileEntityCable) tileentity; + for(int i = 0; i < cable.connections.length; i++) + { + if(cable.connections[i] != null) + { + drawConnection(cable.connections[i]); + } + } + GL11.glTranslated(-offsetX, -offsetY, -offsetZ); + GL11.glEnable(GL11.GL_LIGHTING); + + } + + public void drawCore(TileEntity tileentity) { + Tessellator tesseract = Tessellator.instance; + tesseract.startDrawingQuads(); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 0 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP); + + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 0 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP); + + tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 5 * textureP); + + tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 5 * textureP); + + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP); + + tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP); + tesseract.draw(); + + // Muehsam muss ich hier im BSH meine genialen Mods schreiben, obwohl ich die Zeit eigentlich doch besser nutzen koennte. + // Da mir das aber Spass macht, wird auch in Zukunft gutes Zeug von mir geben (und damit meine ich NICHT Drogen, etc.) + // Danke. + + //I didn't write this, but I'm gonna leave it there. + } + + public void drawConnection(ForgeDirection direction) + { + Tessellator tesseract = Tessellator.instance; + tesseract.startDrawingQuads(); + GL11.glTranslatef(0.5F, 0.5F, 0.5F); + if(direction.equals(ForgeDirection.UP)) + { + + } + if(direction.equals(ForgeDirection.DOWN)) + { + GL11.glRotatef(180, 1, 0, 0); + } + if(direction.equals(ForgeDirection.NORTH)) + { + GL11.glRotatef(270, 1, 0, 0); + } + if(direction.equals(ForgeDirection.SOUTH)) + { + GL11.glRotatef(90, 1, 0, 0); + } + if(direction.equals(ForgeDirection.EAST)) + { + GL11.glRotatef(270, 0, 0, 1); + } + if(direction.equals(ForgeDirection.WEST)) + { + GL11.glRotatef(90, 0, 0, 1); + } + GL11.glTranslatef(-0.5F, -0.5F, -0.5F); + + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 5 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 0 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP); + + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 5 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 0 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); + + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 5 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 0 * textureP); + tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP); + + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 5 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 0 * textureP); + tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP); + tesseract.draw(); + + GL11.glTranslatef(0.5F, 0.5F, 0.5F); + if(direction.equals(ForgeDirection.UP)) + { + + } + if(direction.equals(ForgeDirection.DOWN)) + { + GL11.glRotatef(-180, 1, 0, 0); + } + if(direction.equals(ForgeDirection.NORTH)) + { + GL11.glRotatef(-270, 1, 0, 0); + } + if(direction.equals(ForgeDirection.SOUTH)) + { + GL11.glRotatef(-90, 1, 0, 0); + } + if(direction.equals(ForgeDirection.EAST)) + { + GL11.glRotatef(-270, 0, 0, 1); + } + if(direction.equals(ForgeDirection.WEST)) + { + GL11.glRotatef(-90, 0, 0, 1); + } + GL11.glTranslatef(-0.5F, -0.5F, -0.5F); + } + +} diff --git a/com/hbm/render/tileentity/RenderCentrifuge.java b/com/hbm/render/tileentity/RenderCentrifuge.java index b0e2e3ad7..5a99c90b9 100644 --- a/com/hbm/render/tileentity/RenderCentrifuge.java +++ b/com/hbm/render/tileentity/RenderCentrifuge.java @@ -1,48 +1,48 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderCentrifuge extends TileEntitySpecialRenderer { - - private static final ResourceLocation centrifugeModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/centrifuge.obj"); - private IModelCustom centrifugeModelC; - private ResourceLocation centrifugeTexture; - - public RenderCentrifuge() - { - centrifugeModelC = AdvancedModelLoader.loadModel(centrifugeModel); - centrifugeTexture = new ResourceLocation(RefStrings.MODID, "textures/models/centrifuge.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 4: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(centrifugeTexture); - centrifugeModelC.renderAll(); - - GL11.glPopMatrix(); - } -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderCentrifuge extends TileEntitySpecialRenderer { + + private static final ResourceLocation centrifugeModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/centrifuge.obj"); + private IModelCustom centrifugeModelC; + private ResourceLocation centrifugeTexture; + + public RenderCentrifuge() + { + centrifugeModelC = AdvancedModelLoader.loadModel(centrifugeModel); + centrifugeTexture = new ResourceLocation(RefStrings.MODID, "textures/models/centrifuge.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 4: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(centrifugeTexture); + centrifugeModelC.renderAll(); + + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RenderCrashedBomb.java b/com/hbm/render/tileentity/RenderCrashedBomb.java index 8d993a06b..34c9299b8 100644 --- a/com/hbm/render/tileentity/RenderCrashedBomb.java +++ b/com/hbm/render/tileentity/RenderCrashedBomb.java @@ -1,50 +1,50 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderCrashedBomb extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/BalefireCrashed.obj"); - private IModelCustom manModel; - private ResourceLocation manTexture; - - public RenderCrashedBomb() - { - manModel = AdvancedModelLoader.loadModel(objTesterModelRL); - manTexture = new ResourceLocation(RefStrings.MODID, "textures/models/BalefireCrashed.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glDisable(GL11.GL_CULL_FACE); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(manTexture); - manModel.renderAll(); - - GL11.glEnable(GL11.GL_CULL_FACE); - GL11.glPopMatrix(); - } -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderCrashedBomb extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/BalefireCrashed.obj"); + private IModelCustom manModel; + private ResourceLocation manTexture; + + public RenderCrashedBomb() + { + manModel = AdvancedModelLoader.loadModel(objTesterModelRL); + manTexture = new ResourceLocation(RefStrings.MODID, "textures/models/BalefireCrashed.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(manTexture); + manModel.renderAll(); + + GL11.glEnable(GL11.GL_CULL_FACE); + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RenderDecoBlock.java b/com/hbm/render/tileentity/RenderDecoBlock.java index 2c1baf00c..f621549cc 100644 --- a/com/hbm/render/tileentity/RenderDecoBlock.java +++ b/com/hbm/render/tileentity/RenderDecoBlock.java @@ -1,114 +1,114 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelSteelBeam; -import com.hbm.render.model.ModelSteelCorner; -import com.hbm.render.model.ModelSteelRoof; -import com.hbm.render.model.ModelSteelScaffold; -import com.hbm.render.model.ModelSteelWall; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderDecoBlock extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture1 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelWall.png"); - private static final ResourceLocation texture2 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelCorner.png"); - private static final ResourceLocation texture3 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelRoof.png"); - private static final ResourceLocation texture4 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelBeam.png"); - private static final ResourceLocation texture5 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelScaffold.png"); - - private ModelSteelWall model1; - private ModelSteelCorner model2; - private ModelSteelRoof model3; - private ModelSteelBeam model4; - private ModelSteelScaffold model5; - - public RenderDecoBlock() { - this.model1 = new ModelSteelWall(); - this.model2 = new ModelSteelCorner(); - this.model3 = new ModelSteelRoof(); - this.model4 = new ModelSteelBeam(); - this.model5 = new ModelSteelScaffold(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_wall) - { - this.bindTexture(texture1); - switch(tileentity.getBlockMetadata()) - { - case 4: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - } - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_corner) - { - this.bindTexture(texture2); - switch(tileentity.getBlockMetadata()) - { - case 4: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - } - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_roof) - { - this.bindTexture(texture3); - } - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_beam) - { - this.bindTexture(texture4); - } - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_scaffold) - { - this.bindTexture(texture5); - switch(tileentity.getBlockMetadata()) - { - case 4: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(0, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - } - - GL11.glPushMatrix(); - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_wall) - this.model1.renderModel(0.0625F); - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_corner) - this.model2.renderModel(0.0625F); - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_roof) - this.model3.renderModel(0.0625F); - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_beam) - this.model4.renderModel(0.0625F); - if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_scaffold) - this.model5.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelSteelBeam; +import com.hbm.render.model.ModelSteelCorner; +import com.hbm.render.model.ModelSteelRoof; +import com.hbm.render.model.ModelSteelScaffold; +import com.hbm.render.model.ModelSteelWall; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderDecoBlock extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture1 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelWall.png"); + private static final ResourceLocation texture2 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelCorner.png"); + private static final ResourceLocation texture3 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelRoof.png"); + private static final ResourceLocation texture4 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelBeam.png"); + private static final ResourceLocation texture5 = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/SteelScaffold.png"); + + private ModelSteelWall model1; + private ModelSteelCorner model2; + private ModelSteelRoof model3; + private ModelSteelBeam model4; + private ModelSteelScaffold model5; + + public RenderDecoBlock() { + this.model1 = new ModelSteelWall(); + this.model2 = new ModelSteelCorner(); + this.model3 = new ModelSteelRoof(); + this.model4 = new ModelSteelBeam(); + this.model5 = new ModelSteelScaffold(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_wall) + { + this.bindTexture(texture1); + switch(tileentity.getBlockMetadata()) + { + case 4: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + } + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_corner) + { + this.bindTexture(texture2); + switch(tileentity.getBlockMetadata()) + { + case 4: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + } + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_roof) + { + this.bindTexture(texture3); + } + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_beam) + { + this.bindTexture(texture4); + } + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_scaffold) + { + this.bindTexture(texture5); + switch(tileentity.getBlockMetadata()) + { + case 4: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(0, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + } + + GL11.glPushMatrix(); + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_wall) + this.model1.renderModel(0.0625F); + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_corner) + this.model2.renderModel(0.0625F); + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_roof) + this.model3.renderModel(0.0625F); + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_beam) + this.model4.renderModel(0.0625F); + if(tileentity.getWorldObj().getBlock(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) == ModBlocks.steel_scaffold) + this.model5.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderDecoBlockAlt.java b/com/hbm/render/tileentity/RenderDecoBlockAlt.java index 667410613..d86a1c227 100644 --- a/com/hbm/render/tileentity/RenderDecoBlockAlt.java +++ b/com/hbm/render/tileentity/RenderDecoBlockAlt.java @@ -1,79 +1,79 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.items.ModItems; -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelGun; -import com.hbm.render.model.ModelStatue; -import com.hbm.tileentity.TileEntityDecoBlockAltF; -import com.hbm.tileentity.TileEntityDecoBlockAltG; -import com.hbm.tileentity.TileEntityDecoBlockAltW; - -import net.minecraft.client.renderer.entity.RenderItem; -import net.minecraft.client.renderer.entity.RenderManager; -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.entity.item.EntityItem; -import net.minecraft.item.ItemStack; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderDecoBlockAlt extends TileEntitySpecialRenderer { - -private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelStatue.png"); -private static final ResourceLocation gunTexture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelGun.png"); - - private ModelStatue model; - private ModelGun gun; - private RenderItem itemRenderer; - private RenderManager renderManager = RenderManager.instance; - - public RenderDecoBlockAlt() { - this.model = new ModelStatue(); - this.gun = new ModelGun(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - itemRenderer = new RenderDecoItem(this); - itemRenderer.setRenderManager(renderManager); - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - switch(tileentity.getBlockMetadata()) - { - case 4: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - EntityItem watch = new EntityItem(null, 0.0D, 0.0D, 0.0D, new ItemStack(ModItems.watch)); - - this.bindTexture(texture); - RenderItem.renderInFrame = true; - this.model.renderModel(0.0625F); - float g = 0.0625F; - float q = g * 2 + 0.0625F / 3; - GL11.glTranslatef(0.0F, -2 * g, q); - GL11.glRotatef(180, 0F, 0F, 1F); - if(tileentity instanceof TileEntityDecoBlockAltW || tileentity instanceof TileEntityDecoBlockAltF) - this.itemRenderer.doRender(watch, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F); - RenderItem.renderInFrame = false; - - GL11.glTranslatef(0.0F, 2 * g, -q); - GL11.glRotatef(180, 0F, 0F, 1F); - GL11.glRotatef(90, 0F, 1F, 0F); - GL11.glScalef(0.5F, 0.5F, 0.5F); - GL11.glTranslatef(-g * 20, g * 4, g * 11); - GL11.glRotatef(-20, 0F, 0F, 1F); - this.bindTexture(gunTexture); - if(tileentity instanceof TileEntityDecoBlockAltG || tileentity instanceof TileEntityDecoBlockAltF) - this.gun.renderModel(0.0625F); - GL11.glPopMatrix(); - } -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.items.ModItems; +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelGun; +import com.hbm.render.model.ModelStatue; +import com.hbm.tileentity.TileEntityDecoBlockAltF; +import com.hbm.tileentity.TileEntityDecoBlockAltG; +import com.hbm.tileentity.TileEntityDecoBlockAltW; + +import net.minecraft.client.renderer.entity.RenderItem; +import net.minecraft.client.renderer.entity.RenderManager; +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderDecoBlockAlt extends TileEntitySpecialRenderer { + +private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelStatue.png"); +private static final ResourceLocation gunTexture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelGun.png"); + + private ModelStatue model; + private ModelGun gun; + private RenderItem itemRenderer; + private RenderManager renderManager = RenderManager.instance; + + public RenderDecoBlockAlt() { + this.model = new ModelStatue(); + this.gun = new ModelGun(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + itemRenderer = new RenderDecoItem(this); + itemRenderer.setRenderManager(renderManager); + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + switch(tileentity.getBlockMetadata()) + { + case 4: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + EntityItem watch = new EntityItem(null, 0.0D, 0.0D, 0.0D, new ItemStack(ModItems.watch)); + + this.bindTexture(texture); + RenderItem.renderInFrame = true; + this.model.renderModel(0.0625F); + float g = 0.0625F; + float q = g * 2 + 0.0625F / 3; + GL11.glTranslatef(0.0F, -2 * g, q); + GL11.glRotatef(180, 0F, 0F, 1F); + if(tileentity instanceof TileEntityDecoBlockAltW || tileentity instanceof TileEntityDecoBlockAltF) + this.itemRenderer.doRender(watch, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F); + RenderItem.renderInFrame = false; + + GL11.glTranslatef(0.0F, 2 * g, -q); + GL11.glRotatef(180, 0F, 0F, 1F); + GL11.glRotatef(90, 0F, 1F, 0F); + GL11.glScalef(0.5F, 0.5F, 0.5F); + GL11.glTranslatef(-g * 20, g * 4, g * 11); + GL11.glRotatef(-20, 0F, 0F, 1F); + this.bindTexture(gunTexture); + if(tileentity instanceof TileEntityDecoBlockAltG || tileentity instanceof TileEntityDecoBlockAltF) + this.gun.renderModel(0.0625F); + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RenderDecoItem.java b/com/hbm/render/tileentity/RenderDecoItem.java index 218da4918..85a5cc103 100644 --- a/com/hbm/render/tileentity/RenderDecoItem.java +++ b/com/hbm/render/tileentity/RenderDecoItem.java @@ -1,32 +1,32 @@ -package com.hbm.render.tileentity; - -import net.minecraft.client.renderer.entity.RenderItem; -import net.minecraft.item.ItemStack; - - public class RenderDecoItem extends RenderItem { - RenderDecoItem(RenderDecoBlockAlt render) {} - - @Override - public byte getMiniBlockCount(ItemStack stack, byte original) - { - return 1; - } - - @Override - public byte getMiniItemCount(ItemStack stack, byte original) - { - return 1; - } - - @Override - public boolean shouldBob() - { - return false; - } - - @Override - public boolean shouldSpreadItems() - { - return false; - } -} +package com.hbm.render.tileentity; + +import net.minecraft.client.renderer.entity.RenderItem; +import net.minecraft.item.ItemStack; + + public class RenderDecoItem extends RenderItem { + RenderDecoItem(RenderDecoBlockAlt render) {} + + @Override + public byte getMiniBlockCount(ItemStack stack, byte original) + { + return 1; + } + + @Override + public byte getMiniItemCount(ItemStack stack, byte original) + { + return 1; + } + + @Override + public boolean shouldBob() + { + return false; + } + + @Override + public boolean shouldSpreadItems() + { + return false; + } +} diff --git a/com/hbm/render/tileentity/RenderIGenerator.java b/com/hbm/render/tileentity/RenderIGenerator.java new file mode 100644 index 000000000..5039fb34b --- /dev/null +++ b/com/hbm/render/tileentity/RenderIGenerator.java @@ -0,0 +1,93 @@ +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderIGenerator extends TileEntitySpecialRenderer { + + private static final ResourceLocation body = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/generator_body.obj"); + private static final ResourceLocation rotor = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/generator_rotor.obj"); + private IModelCustom genModel; + private IModelCustom rotModel; + private ResourceLocation gadgetTexture; + + public RenderIGenerator() + { + genModel = AdvancedModelLoader.loadModel(body); + rotModel = AdvancedModelLoader.loadModel(rotor); + gadgetTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glRotatef(180, 0F, 1F, 0F); + switch(tileEntity.getBlockMetadata()) + { + case 2: + GL11.glRotatef(90, 0F, 1F, 0F); + GL11.glTranslated(0.5D, 0.0D, 0.0D); break; + case 4: + GL11.glRotatef(180, 0F, 1F, 0F); + GL11.glTranslated(0.5D, 0.0D, 0.0D); break; + case 3: + GL11.glRotatef(270, 0F, 1F, 0F); + GL11.glTranslated(0.5D, 0.0D, 0.0D); break; + case 5: + GL11.glRotatef(0, 0F, 1F, 0F); + GL11.glTranslated(0.5D, 0.0D, 0.0D); break; + } + + bindTexture(gadgetTexture); + + genModel.renderAll(); + + GL11.glPopMatrix(); + + renderTileEntityAt2(tileEntity, x, y, z, f); + } + + int i = 0; + + public void renderTileEntityAt2(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y + 1.5D, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glRotatef(180, 0F, 1F, 0F); + switch(tileEntity.getBlockMetadata()) + { + case 2: + GL11.glRotatef(90, 0F, 1F, 0F); + GL11.glTranslated(0.5D, 0.0D, 0.0D); break; + case 4: + GL11.glRotatef(180, 0F, 1F, 0F); + GL11.glTranslated(0.5D, 0.0D, 0.0D); break; + case 3: + GL11.glRotatef(270, 0F, 1F, 0F); + GL11.glTranslated(0.5D, 0.0D, 0.0D); break; + case 5: + GL11.glRotatef(0, 0F, 1F, 0F); + GL11.glTranslated(0.5D, 0.0D, 0.0D); break; + } + i++; + GL11.glRotatef(i, 1F, 0F, 0F); + + bindTexture(gadgetTexture); + rotModel.renderAll(); + + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RenderLaunchPadTier1.java b/com/hbm/render/tileentity/RenderLaunchPadTier1.java index e2ab6e781..e3c41d5ba 100644 --- a/com/hbm/render/tileentity/RenderLaunchPadTier1.java +++ b/com/hbm/render/tileentity/RenderLaunchPadTier1.java @@ -1,202 +1,202 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityLaunchPad; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderLaunchPadTier1 extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/LaunchPad.obj"); - private static final ResourceLocation missileGenericModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileV2.obj"); - private static final ResourceLocation missileStrongModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileGeneric.obj"); - private static final ResourceLocation missileHugeModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileHuge.obj"); - private static final ResourceLocation missileNuclearModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileNuke.obj"); - private static final ResourceLocation missileMirvModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileMirv.obj"); - private static final ResourceLocation missileThermoModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileThermal.obj"); - private IModelCustom padModel; - private IModelCustom missileGeneric; - private IModelCustom missileStrong; - private IModelCustom missileHuge; - private IModelCustom missileNuclear; - private IModelCustom missileMirv; - private IModelCustom missileThermo; - private ResourceLocation padTexture; - private ResourceLocation missileGenericTexture; - private ResourceLocation missileIncendiaryTexture; - private ResourceLocation missileClusterTexture; - private ResourceLocation missileBusterTexture; - private ResourceLocation missileStrongTexture; - private ResourceLocation missileStrongIncendiaryTexture; - private ResourceLocation missileStrongClusterTexture; - private ResourceLocation missileStrongBusterTexture; - private ResourceLocation missileHugeTexture; - private ResourceLocation missileHugeIncendiaryTexture; - private ResourceLocation missileHugeClusterTexture; - private ResourceLocation missileHugeBusterTexture; - private ResourceLocation missileNuclearTexture; - private ResourceLocation missileMirvTexture; - private ResourceLocation missileThermoEndoTexture; - private ResourceLocation missileThermoExoTexture; - - public RenderLaunchPadTier1() - { - padModel = AdvancedModelLoader.loadModel(objTesterModelRL); - missileGeneric = AdvancedModelLoader.loadModel(missileGenericModel); - missileStrong = AdvancedModelLoader.loadModel(missileStrongModel); - missileHuge = AdvancedModelLoader.loadModel(missileHugeModel); - missileNuclear = AdvancedModelLoader.loadModel(missileNuclearModel); - missileMirv = AdvancedModelLoader.loadModel(missileMirvModel); - missileThermo = AdvancedModelLoader.loadModel(missileThermoModel); - padTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); - missileGenericTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileV2.png"); - missileIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileIncendiary.png"); - missileClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileCluster.png"); - missileBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileBuster.png"); - missileStrongTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGeneric.png"); - missileStrongIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericIncendiary.png"); - missileStrongClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericCluster.png"); - missileStrongBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericBuster.png"); - missileHugeTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHuge.png"); - missileHugeIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeIncendiary.png"); - missileHugeClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeCluster.png"); - missileHugeBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeBuster.png"); - missileNuclearTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileNuke.png"); - missileMirvTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileMirv.png"); - missileThermoEndoTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileThermalEndo.png"); - missileThermoExoTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileThermalExo.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(padTexture); - padModel.renderAll(); - - //if(((TileEntityLaunchPad)tileEntity).getThatWorld().isRemote) - { - GL11.glTranslated(0, 0.5, 0); - - if(((TileEntityLaunchPad)tileEntity).state == 1) - { - GL11.glScalef(1.0F, 1.0F, 1.0F); - bindTexture(missileGenericTexture); - missileGeneric.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 2) - { - GL11.glScalef(1.5F, 1.5F, 1.5F); - bindTexture(missileStrongTexture); - missileStrong.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 3) - { - GL11.glScalef(1.0F, 1.0F, 1.0F); - bindTexture(missileClusterTexture); - missileGeneric.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 4) - { - GL11.glScalef(1.5F, 1.5F, 1.5F); - bindTexture(missileNuclearTexture); - missileNuclear.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 5) - { - GL11.glScalef(1.0F, 1.0F, 1.0F); - bindTexture(missileIncendiaryTexture); - missileGeneric.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 6) - { - GL11.glScalef(1.0F, 1.0F, 1.0F); - bindTexture(missileBusterTexture); - missileGeneric.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 7) - { - GL11.glScalef(1.5F, 1.5F, 1.5F); - bindTexture(missileStrongIncendiaryTexture); - missileStrong.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 8) - { - GL11.glScalef(1.5F, 1.5F, 1.5F); - bindTexture(missileStrongClusterTexture); - missileStrong.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 9) - { - GL11.glScalef(1.5F, 1.5F, 1.5F); - bindTexture(missileStrongBusterTexture); - missileStrong.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 10) - { - GL11.glScalef(2.0F, 2.0F, 2.0F); - bindTexture(missileHugeTexture); - missileHuge.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 11) - { - GL11.glScalef(2.0F, 2.0F, 2.0F); - bindTexture(missileHugeIncendiaryTexture); - missileHuge.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 12) - { - GL11.glScalef(2.0F, 2.0F, 2.0F); - bindTexture(missileHugeClusterTexture); - missileHuge.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 13) - { - GL11.glScalef(2.0F, 2.0F, 2.0F); - bindTexture(missileHugeBusterTexture); - missileHuge.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 14) - { - GL11.glScalef(1.5F, 1.5F, 1.5F); - bindTexture(missileThermoEndoTexture); - missileThermo.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 15) - { - GL11.glScalef(1.5F, 1.5F, 1.5F); - bindTexture(missileThermoExoTexture); - missileThermo.renderAll(); - } - if(((TileEntityLaunchPad)tileEntity).state == 16) - { - GL11.glScalef(2F, 2F, 2F); - bindTexture(missileMirvTexture); - missileMirv.renderAll(); - } - } - - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityLaunchPad; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderLaunchPadTier1 extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/LaunchPad.obj"); + private static final ResourceLocation missileGenericModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileV2.obj"); + private static final ResourceLocation missileStrongModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileGeneric.obj"); + private static final ResourceLocation missileHugeModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileHuge.obj"); + private static final ResourceLocation missileNuclearModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileNuke.obj"); + private static final ResourceLocation missileMirvModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileMirv.obj"); + private static final ResourceLocation missileThermoModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/MissileThermal.obj"); + private IModelCustom padModel; + private IModelCustom missileGeneric; + private IModelCustom missileStrong; + private IModelCustom missileHuge; + private IModelCustom missileNuclear; + private IModelCustom missileMirv; + private IModelCustom missileThermo; + private ResourceLocation padTexture; + private ResourceLocation missileGenericTexture; + private ResourceLocation missileIncendiaryTexture; + private ResourceLocation missileClusterTexture; + private ResourceLocation missileBusterTexture; + private ResourceLocation missileStrongTexture; + private ResourceLocation missileStrongIncendiaryTexture; + private ResourceLocation missileStrongClusterTexture; + private ResourceLocation missileStrongBusterTexture; + private ResourceLocation missileHugeTexture; + private ResourceLocation missileHugeIncendiaryTexture; + private ResourceLocation missileHugeClusterTexture; + private ResourceLocation missileHugeBusterTexture; + private ResourceLocation missileNuclearTexture; + private ResourceLocation missileMirvTexture; + private ResourceLocation missileThermoEndoTexture; + private ResourceLocation missileThermoExoTexture; + + public RenderLaunchPadTier1() + { + padModel = AdvancedModelLoader.loadModel(objTesterModelRL); + missileGeneric = AdvancedModelLoader.loadModel(missileGenericModel); + missileStrong = AdvancedModelLoader.loadModel(missileStrongModel); + missileHuge = AdvancedModelLoader.loadModel(missileHugeModel); + missileNuclear = AdvancedModelLoader.loadModel(missileNuclearModel); + missileMirv = AdvancedModelLoader.loadModel(missileMirvModel); + missileThermo = AdvancedModelLoader.loadModel(missileThermoModel); + padTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); + missileGenericTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileV2.png"); + missileIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileIncendiary.png"); + missileClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileCluster.png"); + missileBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileBuster.png"); + missileStrongTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGeneric.png"); + missileStrongIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericIncendiary.png"); + missileStrongClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericCluster.png"); + missileStrongBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileGenericBuster.png"); + missileHugeTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHuge.png"); + missileHugeIncendiaryTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeIncendiary.png"); + missileHugeClusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeCluster.png"); + missileHugeBusterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileHugeBuster.png"); + missileNuclearTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileNuke.png"); + missileMirvTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileMirv.png"); + missileThermoEndoTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileThermalEndo.png"); + missileThermoExoTexture = new ResourceLocation(RefStrings.MODID, "textures/models/MissileThermalExo.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(padTexture); + padModel.renderAll(); + + //if(((TileEntityLaunchPad)tileEntity).getThatWorld().isRemote) + { + GL11.glTranslated(0, 0.5, 0); + + if(((TileEntityLaunchPad)tileEntity).state == 1) + { + GL11.glScalef(1.0F, 1.0F, 1.0F); + bindTexture(missileGenericTexture); + missileGeneric.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 2) + { + GL11.glScalef(1.5F, 1.5F, 1.5F); + bindTexture(missileStrongTexture); + missileStrong.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 3) + { + GL11.glScalef(1.0F, 1.0F, 1.0F); + bindTexture(missileClusterTexture); + missileGeneric.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 4) + { + GL11.glScalef(1.5F, 1.5F, 1.5F); + bindTexture(missileNuclearTexture); + missileNuclear.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 5) + { + GL11.glScalef(1.0F, 1.0F, 1.0F); + bindTexture(missileIncendiaryTexture); + missileGeneric.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 6) + { + GL11.glScalef(1.0F, 1.0F, 1.0F); + bindTexture(missileBusterTexture); + missileGeneric.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 7) + { + GL11.glScalef(1.5F, 1.5F, 1.5F); + bindTexture(missileStrongIncendiaryTexture); + missileStrong.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 8) + { + GL11.glScalef(1.5F, 1.5F, 1.5F); + bindTexture(missileStrongClusterTexture); + missileStrong.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 9) + { + GL11.glScalef(1.5F, 1.5F, 1.5F); + bindTexture(missileStrongBusterTexture); + missileStrong.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 10) + { + GL11.glScalef(2.0F, 2.0F, 2.0F); + bindTexture(missileHugeTexture); + missileHuge.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 11) + { + GL11.glScalef(2.0F, 2.0F, 2.0F); + bindTexture(missileHugeIncendiaryTexture); + missileHuge.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 12) + { + GL11.glScalef(2.0F, 2.0F, 2.0F); + bindTexture(missileHugeClusterTexture); + missileHuge.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 13) + { + GL11.glScalef(2.0F, 2.0F, 2.0F); + bindTexture(missileHugeBusterTexture); + missileHuge.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 14) + { + GL11.glScalef(1.5F, 1.5F, 1.5F); + bindTexture(missileThermoEndoTexture); + missileThermo.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 15) + { + GL11.glScalef(1.5F, 1.5F, 1.5F); + bindTexture(missileThermoExoTexture); + missileThermo.renderAll(); + } + if(((TileEntityLaunchPad)tileEntity).state == 16) + { + GL11.glScalef(2F, 2F, 2F); + bindTexture(missileMirvTexture); + missileMirv.renderAll(); + } + } + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderNukeBoy.java b/com/hbm/render/tileentity/RenderNukeBoy.java index 9c9ccdc5e..d751ae31d 100644 --- a/com/hbm/render/tileentity/RenderNukeBoy.java +++ b/com/hbm/render/tileentity/RenderNukeBoy.java @@ -1,53 +1,53 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderNukeBoy extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/LilBoy1.obj"); - private IModelCustom boyModel; - private ResourceLocation boyTexture; - - public RenderNukeBoy() - { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/LilBoy2.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 2: - GL11.glRotatef(90, 0F, 1F, 0F); - GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; - case 4: - GL11.glRotatef(180, 0F, 1F, 0F); - GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; - case 3: - GL11.glRotatef(270, 0F, 1F, 0F); - GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; - case 5: - GL11.glRotatef(0, 0F, 1F, 0F); - GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; - } - - bindTexture(boyTexture); - boyModel.renderAll(); - - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderNukeBoy extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/LilBoy1.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + + public RenderNukeBoy() + { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/LilBoy2.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 2: + GL11.glRotatef(90, 0F, 1F, 0F); + GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; + case 4: + GL11.glRotatef(180, 0F, 1F, 0F); + GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; + case 3: + GL11.glRotatef(270, 0F, 1F, 0F); + GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; + case 5: + GL11.glRotatef(0, 0F, 1F, 0F); + GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; + } + + bindTexture(boyTexture); + boyModel.renderAll(); + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderNukeCustom.java b/com/hbm/render/tileentity/RenderNukeCustom.java new file mode 100644 index 000000000..7cbcdc457 --- /dev/null +++ b/com/hbm/render/tileentity/RenderNukeCustom.java @@ -0,0 +1,53 @@ +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderNukeCustom extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/LilBoy1.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + + public RenderNukeCustom() + { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/CustomNuke.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 2: + GL11.glRotatef(90, 0F, 1F, 0F); + GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; + case 4: + GL11.glRotatef(180, 0F, 1F, 0F); + GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; + case 3: + GL11.glRotatef(270, 0F, 1F, 0F); + GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; + case 5: + GL11.glRotatef(0, 0F, 1F, 0F); + GL11.glTranslated(-2.0D, 0.0D, 0.0D); break; + } + + bindTexture(boyTexture); + boyModel.renderAll(); + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderNukeFleija.java b/com/hbm/render/tileentity/RenderNukeFleija.java index ae5eb6556..d91e56694 100644 --- a/com/hbm/render/tileentity/RenderNukeFleija.java +++ b/com/hbm/render/tileentity/RenderNukeFleija.java @@ -1,51 +1,51 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderNukeFleija extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Fleija.obj"); - //private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Prototype.obj"); - private IModelCustom manModel; - private ResourceLocation manTexture; - - public RenderNukeFleija() - { - manModel = AdvancedModelLoader.loadModel(objTesterModelRL); - manTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Fleija.png"); - //manTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Prototype.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(manTexture); - manModel.renderAll(); - - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderNukeFleija extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Fleija.obj"); + //private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Prototype.obj"); + private IModelCustom manModel; + private ResourceLocation manTexture; + + public RenderNukeFleija() + { + manModel = AdvancedModelLoader.loadModel(objTesterModelRL); + manTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Fleija.png"); + //manTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Prototype.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(manTexture); + manModel.renderAll(); + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderNukeGadget.java b/com/hbm/render/tileentity/RenderNukeGadget.java index 7f84f01d6..43303eade 100644 --- a/com/hbm/render/tileentity/RenderNukeGadget.java +++ b/com/hbm/render/tileentity/RenderNukeGadget.java @@ -1,50 +1,50 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderNukeGadget extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/TheGadget3.obj"); - private IModelCustom gadgetModel; - private ResourceLocation gadgetTexture; - - public RenderNukeGadget() - { - gadgetModel = AdvancedModelLoader.loadModel(objTesterModelRL); - gadgetTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - switch(tileEntity.getBlockMetadata()) - { - case 2: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(gadgetTexture); - gadgetModel.renderAll(); - - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderNukeGadget extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/TheGadget3.obj"); + private IModelCustom gadgetModel; + private ResourceLocation gadgetTexture; + + public RenderNukeGadget() + { + gadgetModel = AdvancedModelLoader.loadModel(objTesterModelRL); + gadgetTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + switch(tileEntity.getBlockMetadata()) + { + case 2: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(gadgetTexture); + gadgetModel.renderAll(); + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderNukeMan.java b/com/hbm/render/tileentity/RenderNukeMan.java index 2ac10cd18..c66393067 100644 --- a/com/hbm/render/tileentity/RenderNukeMan.java +++ b/com/hbm/render/tileentity/RenderNukeMan.java @@ -1,49 +1,49 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderNukeMan extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/FatMan.obj"); - private IModelCustom manModel; - private ResourceLocation manTexture; - - public RenderNukeMan() - { - manModel = AdvancedModelLoader.loadModel(objTesterModelRL); - manTexture = new ResourceLocation(RefStrings.MODID, "textures/models/FatMan.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 3: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(manTexture); - manModel.renderAll(); - - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderNukeMan extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/FatMan.obj"); + private IModelCustom manModel; + private ResourceLocation manTexture; + + public RenderNukeMan() + { + manModel = AdvancedModelLoader.loadModel(objTesterModelRL); + manTexture = new ResourceLocation(RefStrings.MODID, "textures/models/FatMan.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 3: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(manTexture); + manModel.renderAll(); + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderNukeMike.java b/com/hbm/render/tileentity/RenderNukeMike.java index d935e2e71..da7557109 100644 --- a/com/hbm/render/tileentity/RenderNukeMike.java +++ b/com/hbm/render/tileentity/RenderNukeMike.java @@ -1,50 +1,50 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderNukeMike extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/IvyMike.obj"); - private IModelCustom mikeModel; - private ResourceLocation mikeTexture; - - public RenderNukeMike() - { - mikeModel = AdvancedModelLoader.loadModel(objTesterModelRL); - mikeTexture = new ResourceLocation(RefStrings.MODID, "textures/models/IvyMike.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - switch(tileEntity.getBlockMetadata()) - { - case 3: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(mikeTexture); - mikeModel.renderAll(); - - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderNukeMike extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/IvyMike.obj"); + private IModelCustom mikeModel; + private ResourceLocation mikeTexture; + + public RenderNukeMike() + { + mikeModel = AdvancedModelLoader.loadModel(objTesterModelRL); + mikeTexture = new ResourceLocation(RefStrings.MODID, "textures/models/IvyMike.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + switch(tileEntity.getBlockMetadata()) + { + case 3: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(mikeTexture); + mikeModel.renderAll(); + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderNukePrototype.java b/com/hbm/render/tileentity/RenderNukePrototype.java index 4db2bac08..e8ccb4a5a 100644 --- a/com/hbm/render/tileentity/RenderNukePrototype.java +++ b/com/hbm/render/tileentity/RenderNukePrototype.java @@ -1,50 +1,50 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderNukePrototype extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Prototype.obj"); - private IModelCustom tsarModel; - private ResourceLocation tsarTexture; - - public RenderNukePrototype() - { - tsarModel = AdvancedModelLoader.loadModel(objTesterModelRL); - tsarTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Prototype.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - switch(tileEntity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(tsarTexture); - tsarModel.renderAll(); - - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderNukePrototype extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Prototype.obj"); + private IModelCustom tsarModel; + private ResourceLocation tsarTexture; + + public RenderNukePrototype() + { + tsarModel = AdvancedModelLoader.loadModel(objTesterModelRL); + tsarTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Prototype.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + switch(tileEntity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(tsarTexture); + tsarModel.renderAll(); + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderNukeTsar.java b/com/hbm/render/tileentity/RenderNukeTsar.java index ade93d563..199cd22b5 100644 --- a/com/hbm/render/tileentity/RenderNukeTsar.java +++ b/com/hbm/render/tileentity/RenderNukeTsar.java @@ -1,50 +1,50 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderNukeTsar extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/TsarBomba.obj"); - private IModelCustom tsarModel; - private ResourceLocation tsarTexture; - - public RenderNukeTsar() - { - tsarModel = AdvancedModelLoader.loadModel(objTesterModelRL); - tsarTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TsarBomba.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - GL11.glDisable(GL11.GL_CULL_FACE); - switch(tileEntity.getBlockMetadata()) - { - case 2: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(tsarTexture); - tsarModel.renderAll(); - - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderNukeTsar extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/TsarBomba.obj"); + private IModelCustom tsarModel; + private ResourceLocation tsarTexture; + + public RenderNukeTsar() + { + tsarModel = AdvancedModelLoader.loadModel(objTesterModelRL); + tsarTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TsarBomba.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + switch(tileEntity.getBlockMetadata()) + { + case 2: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(tsarTexture); + tsarModel.renderAll(); + + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderPoleSatelliteReceiver.java b/com/hbm/render/tileentity/RenderPoleSatelliteReceiver.java index e6510d6b1..d952962c1 100644 --- a/com/hbm/render/tileentity/RenderPoleSatelliteReceiver.java +++ b/com/hbm/render/tileentity/RenderPoleSatelliteReceiver.java @@ -1,48 +1,48 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelSatelliteReceiver; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderPoleSatelliteReceiver extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/PoleSatelliteReceiver.png"); - - private ModelSatelliteReceiver model; - - public RenderPoleSatelliteReceiver() { - this.model = new ModelSatelliteReceiver(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - switch(tileentity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.model.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelSatelliteReceiver; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderPoleSatelliteReceiver extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/PoleSatelliteReceiver.png"); + + private ModelSatelliteReceiver model; + + public RenderPoleSatelliteReceiver() { + this.model = new ModelSatelliteReceiver(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + switch(tileentity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.model.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderPoleTop.java b/com/hbm/render/tileentity/RenderPoleTop.java index 00172dcd3..4f82b0959 100644 --- a/com/hbm/render/tileentity/RenderPoleTop.java +++ b/com/hbm/render/tileentity/RenderPoleTop.java @@ -1,36 +1,36 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelPoleTop; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderPoleTop extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/PoleTop.png"); - - private ModelPoleTop model; - - public RenderPoleTop() { - this.model = new ModelPoleTop(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.model.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelPoleTop; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderPoleTop extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/PoleTop.png"); + + private ModelPoleTop model; + + public RenderPoleTop() { + this.model = new ModelPoleTop(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.model.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderPuF6Tank.java b/com/hbm/render/tileentity/RenderPuF6Tank.java index 3a2d1aebf..80aba0d6f 100644 --- a/com/hbm/render/tileentity/RenderPuF6Tank.java +++ b/com/hbm/render/tileentity/RenderPuF6Tank.java @@ -1,48 +1,48 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderPuF6Tank extends TileEntitySpecialRenderer { - - private static final ResourceLocation tankModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/tank.obj"); - private IModelCustom tankModelC; - private ResourceLocation tankTexture; - - public RenderPuF6Tank() - { - tankModelC = AdvancedModelLoader.loadModel(tankModel); - tankTexture = new ResourceLocation(RefStrings.MODID, "textures/models/PUF6Tank.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 4: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(tankTexture); - tankModelC.renderAll(); - - GL11.glPopMatrix(); - } -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderPuF6Tank extends TileEntitySpecialRenderer { + + private static final ResourceLocation tankModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/tank.obj"); + private IModelCustom tankModelC; + private ResourceLocation tankTexture; + + public RenderPuF6Tank() + { + tankModelC = AdvancedModelLoader.loadModel(tankModel); + tankTexture = new ResourceLocation(RefStrings.MODID, "textures/models/PUF6Tank.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 4: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(tankTexture); + tankModelC.renderAll(); + + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RenderRedBarrel.java b/com/hbm/render/tileentity/RenderRedBarrel.java index fbf7682da..8e6974cfd 100644 --- a/com/hbm/render/tileentity/RenderRedBarrel.java +++ b/com/hbm/render/tileentity/RenderRedBarrel.java @@ -1,36 +1,36 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelTestRender; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderRedBarrel extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelRedBarrel.png"); - - private ModelTestRender model; - - public RenderRedBarrel() { - this.model = new ModelTestRender(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.model.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelTestRender; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderRedBarrel extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelRedBarrel.png"); + + private ModelTestRender model; + + public RenderRedBarrel() { + this.model = new ModelTestRender(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.model.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderRotationTester.java b/com/hbm/render/tileentity/RenderRotationTester.java index 010d853a2..8f6322d40 100644 --- a/com/hbm/render/tileentity/RenderRotationTester.java +++ b/com/hbm/render/tileentity/RenderRotationTester.java @@ -1,47 +1,47 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelRotationTester; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderRotationTester extends TileEntitySpecialRenderer { - -private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/blocks/test_container.png"); - - private ModelRotationTester model; - - public RenderRotationTester() { - this.model = new ModelRotationTester(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - switch(tileentity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.model.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelRotationTester; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderRotationTester extends TileEntitySpecialRenderer { + +private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/blocks/test_container.png"); + + private ModelRotationTester model; + + public RenderRotationTester() { + this.model = new ModelRotationTester(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + switch(tileentity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.model.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderSteelPoles.java b/com/hbm/render/tileentity/RenderSteelPoles.java index 6554fa83f..475bdcf9c 100644 --- a/com/hbm/render/tileentity/RenderSteelPoles.java +++ b/com/hbm/render/tileentity/RenderSteelPoles.java @@ -1,48 +1,48 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelPoles; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderSteelPoles extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/Poles.png"); - - private ModelPoles model; - - public RenderSteelPoles() { - this.model = new ModelPoles(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - switch(tileentity.getBlockMetadata()) - { - case 4: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.model.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelPoles; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderSteelPoles extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/Poles.png"); + + private ModelPoles model; + + public RenderSteelPoles() { + this.model = new ModelPoles(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + switch(tileentity.getBlockMetadata()) + { + case 4: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.model.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderTapeRecorder.java b/com/hbm/render/tileentity/RenderTapeRecorder.java index eda7689e3..0d01ee957 100644 --- a/com/hbm/render/tileentity/RenderTapeRecorder.java +++ b/com/hbm/render/tileentity/RenderTapeRecorder.java @@ -1,49 +1,49 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelTapeRecorder; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderTapeRecorder extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelTapeRecorder.png"); - - private ModelTapeRecorder model; - private int i = 0; - - public RenderTapeRecorder() { - this.model = new ModelTapeRecorder(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - switch(tileentity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.model.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelTapeRecorder; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderTapeRecorder extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelTapeRecorder.png"); + + private ModelTapeRecorder model; + private int i = 0; + + public RenderTapeRecorder() { + this.model = new ModelTapeRecorder(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + switch(tileentity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.model.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderTestBombAdvanced.java b/com/hbm/render/tileentity/RenderTestBombAdvanced.java index d9a3d6224..d28da090f 100644 --- a/com/hbm/render/tileentity/RenderTestBombAdvanced.java +++ b/com/hbm/render/tileentity/RenderTestBombAdvanced.java @@ -1,36 +1,36 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelTestBombAdvanced; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderTestBombAdvanced extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/NukeTestBomb.png"); - - private ModelTestBombAdvanced modelBomb; - - public RenderTestBombAdvanced() { - this.modelBomb = new ModelTestBombAdvanced(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.modelBomb.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelTestBombAdvanced; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderTestBombAdvanced extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/NukeTestBomb.png"); + + private ModelTestBombAdvanced modelBomb; + + public RenderTestBombAdvanced() { + this.modelBomb = new ModelTestBombAdvanced(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.modelBomb.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderTestContainer.java b/com/hbm/render/tileentity/RenderTestContainer.java index 1e9907364..76c33c813 100644 --- a/com/hbm/render/tileentity/RenderTestContainer.java +++ b/com/hbm/render/tileentity/RenderTestContainer.java @@ -1,167 +1,167 @@ -package com.hbm.render.tileentity; - -import cpw.mods.fml.common.FMLLog; -import cpw.mods.fml.relauncher.Side; -import cpw.mods.fml.relauncher.SideOnly; - -import java.util.Calendar; - -import net.minecraft.block.Block; -import net.minecraft.client.model.ModelChest; -import net.minecraft.client.model.ModelLargeChest; -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -import org.lwjgl.opengl.GL11; -import org.lwjgl.opengl.GL12; - -import com.hbm.blocks.TestContainer; -import com.hbm.lib.RefStrings; -import com.hbm.tileentity.TileEntityTestContainer; - -@SideOnly(Side.CLIENT) -public class RenderTestContainer extends TileEntitySpecialRenderer -{ - private static final ResourceLocation field_147505_d = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/test_container_double.png"); - private static final ResourceLocation field_147504_g = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/test_container_single.png"); - private ModelChest field_147510_h = new ModelChest(); - private ModelChest field_147511_i = new ModelLargeChest(); - private boolean field_147509_j; - private static final String __OBFID = "CL_00000965"; - - public RenderTestContainer() - { - Calendar calendar = Calendar.getInstance(); - - if (calendar.get(2) + 1 == 12 && calendar.get(5) >= 24 && calendar.get(5) <= 26) - { - this.field_147509_j = true; - } - } - - public void renderTileEntityAt(TileEntityTestContainer p_147500_1_, double p_147500_2_, double p_147500_4_, double p_147500_6_, float p_147500_8_) - { - int i; - - if (!p_147500_1_.hasWorldObj()) - { - i = 0; - } - else - { - Block block = p_147500_1_.getBlockType(); - i = p_147500_1_.getBlockMetadata(); - - if (block instanceof TestContainer && i == 0) - { - try - { - ((TestContainer)block).func_149954_e(p_147500_1_.getWorldObj(), p_147500_1_.xCoord, p_147500_1_.yCoord, p_147500_1_.zCoord); - } - catch (ClassCastException e) - { - FMLLog.severe("Attempted to render a chest at %d, %d, %d that was not a chest", p_147500_1_.xCoord, p_147500_1_.yCoord, p_147500_1_.zCoord); - } - i = p_147500_1_.getBlockMetadata(); - } - - p_147500_1_.checkForAdjacentChests(); - } - - if (p_147500_1_.adjacentChestZNeg == null && p_147500_1_.adjacentChestXNeg == null) - { - ModelChest modelchest; - - if (p_147500_1_.adjacentChestXPos == null && p_147500_1_.adjacentChestZPos == null) - { - modelchest = this.field_147510_h; - - this.bindTexture(field_147504_g); - } - else - { - modelchest = this.field_147511_i; - - this.bindTexture(field_147505_d); - } - - GL11.glPushMatrix(); - GL11.glEnable(GL12.GL_RESCALE_NORMAL); - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - GL11.glTranslatef((float)p_147500_2_, (float)p_147500_4_ + 1.0F, (float)p_147500_6_ + 1.0F); - GL11.glScalef(1.0F, -1.0F, -1.0F); - GL11.glTranslatef(0.5F, 0.5F, 0.5F); - short short1 = 0; - - if (i == 2) - { - short1 = 180; - } - - if (i == 3) - { - short1 = 0; - } - - if (i == 4) - { - short1 = 90; - } - - if (i == 5) - { - short1 = -90; - } - - if (i == 2 && p_147500_1_.adjacentChestXPos != null) - { - GL11.glTranslatef(1.0F, 0.0F, 0.0F); - } - - if (i == 5 && p_147500_1_.adjacentChestZPos != null) - { - GL11.glTranslatef(0.0F, 0.0F, -1.0F); - } - - GL11.glRotatef(short1, 0.0F, 1.0F, 0.0F); - GL11.glTranslatef(-0.5F, -0.5F, -0.5F); - float f1 = p_147500_1_.prevLidAngle + (p_147500_1_.lidAngle - p_147500_1_.prevLidAngle) * p_147500_8_; - float f2; - - if (p_147500_1_.adjacentChestZNeg != null) - { - f2 = p_147500_1_.adjacentChestZNeg.prevLidAngle + (p_147500_1_.adjacentChestZNeg.lidAngle - p_147500_1_.adjacentChestZNeg.prevLidAngle) * p_147500_8_; - - if (f2 > f1) - { - f1 = f2; - } - } - - if (p_147500_1_.adjacentChestXNeg != null) - { - f2 = p_147500_1_.adjacentChestXNeg.prevLidAngle + (p_147500_1_.adjacentChestXNeg.lidAngle - p_147500_1_.adjacentChestXNeg.prevLidAngle) * p_147500_8_; - - if (f2 > f1) - { - f1 = f2; - } - } - - f1 = 1.0F - f1; - f1 = 1.0F - f1 * f1 * f1; - modelchest.chestLid.rotateAngleX = -(f1 * (float)Math.PI / 2.0F); - modelchest.renderAll(); - GL11.glDisable(GL12.GL_RESCALE_NORMAL); - GL11.glPopMatrix(); - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - } - } - - @Override - public void renderTileEntityAt(TileEntity p_147500_1_, double p_147500_2_, double p_147500_4_, double p_147500_6_, float p_147500_8_) - { - this.renderTileEntityAt((TileEntityTestContainer)p_147500_1_, p_147500_2_, p_147500_4_, p_147500_6_, p_147500_8_); - } +package com.hbm.render.tileentity; + +import cpw.mods.fml.common.FMLLog; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +import java.util.Calendar; + +import net.minecraft.block.Block; +import net.minecraft.client.model.ModelChest; +import net.minecraft.client.model.ModelLargeChest; +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +import org.lwjgl.opengl.GL11; +import org.lwjgl.opengl.GL12; + +import com.hbm.blocks.test.TestContainer; +import com.hbm.lib.RefStrings; +import com.hbm.tileentity.TileEntityTestContainer; + +@SideOnly(Side.CLIENT) +public class RenderTestContainer extends TileEntitySpecialRenderer +{ + private static final ResourceLocation field_147505_d = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/test_container_double.png"); + private static final ResourceLocation field_147504_g = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/test_container_single.png"); + private ModelChest field_147510_h = new ModelChest(); + private ModelChest field_147511_i = new ModelLargeChest(); + private boolean field_147509_j; + private static final String __OBFID = "CL_00000965"; + + public RenderTestContainer() + { + Calendar calendar = Calendar.getInstance(); + + if (calendar.get(2) + 1 == 12 && calendar.get(5) >= 24 && calendar.get(5) <= 26) + { + this.field_147509_j = true; + } + } + + public void renderTileEntityAt(TileEntityTestContainer p_147500_1_, double p_147500_2_, double p_147500_4_, double p_147500_6_, float p_147500_8_) + { + int i; + + if (!p_147500_1_.hasWorldObj()) + { + i = 0; + } + else + { + Block block = p_147500_1_.getBlockType(); + i = p_147500_1_.getBlockMetadata(); + + if (block instanceof TestContainer && i == 0) + { + try + { + ((TestContainer)block).func_149954_e(p_147500_1_.getWorldObj(), p_147500_1_.xCoord, p_147500_1_.yCoord, p_147500_1_.zCoord); + } + catch (ClassCastException e) + { + FMLLog.severe("Attempted to render a chest at %d, %d, %d that was not a chest", p_147500_1_.xCoord, p_147500_1_.yCoord, p_147500_1_.zCoord); + } + i = p_147500_1_.getBlockMetadata(); + } + + p_147500_1_.checkForAdjacentChests(); + } + + if (p_147500_1_.adjacentChestZNeg == null && p_147500_1_.adjacentChestXNeg == null) + { + ModelChest modelchest; + + if (p_147500_1_.adjacentChestXPos == null && p_147500_1_.adjacentChestZPos == null) + { + modelchest = this.field_147510_h; + + this.bindTexture(field_147504_g); + } + else + { + modelchest = this.field_147511_i; + + this.bindTexture(field_147505_d); + } + + GL11.glPushMatrix(); + GL11.glEnable(GL12.GL_RESCALE_NORMAL); + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + GL11.glTranslatef((float)p_147500_2_, (float)p_147500_4_ + 1.0F, (float)p_147500_6_ + 1.0F); + GL11.glScalef(1.0F, -1.0F, -1.0F); + GL11.glTranslatef(0.5F, 0.5F, 0.5F); + short short1 = 0; + + if (i == 2) + { + short1 = 180; + } + + if (i == 3) + { + short1 = 0; + } + + if (i == 4) + { + short1 = 90; + } + + if (i == 5) + { + short1 = -90; + } + + if (i == 2 && p_147500_1_.adjacentChestXPos != null) + { + GL11.glTranslatef(1.0F, 0.0F, 0.0F); + } + + if (i == 5 && p_147500_1_.adjacentChestZPos != null) + { + GL11.glTranslatef(0.0F, 0.0F, -1.0F); + } + + GL11.glRotatef(short1, 0.0F, 1.0F, 0.0F); + GL11.glTranslatef(-0.5F, -0.5F, -0.5F); + float f1 = p_147500_1_.prevLidAngle + (p_147500_1_.lidAngle - p_147500_1_.prevLidAngle) * p_147500_8_; + float f2; + + if (p_147500_1_.adjacentChestZNeg != null) + { + f2 = p_147500_1_.adjacentChestZNeg.prevLidAngle + (p_147500_1_.adjacentChestZNeg.lidAngle - p_147500_1_.adjacentChestZNeg.prevLidAngle) * p_147500_8_; + + if (f2 > f1) + { + f1 = f2; + } + } + + if (p_147500_1_.adjacentChestXNeg != null) + { + f2 = p_147500_1_.adjacentChestXNeg.prevLidAngle + (p_147500_1_.adjacentChestXNeg.lidAngle - p_147500_1_.adjacentChestXNeg.prevLidAngle) * p_147500_8_; + + if (f2 > f1) + { + f1 = f2; + } + } + + f1 = 1.0F - f1; + f1 = 1.0F - f1 * f1 * f1; + modelchest.chestLid.rotateAngleX = -(f1 * (float)Math.PI / 2.0F); + modelchest.renderAll(); + GL11.glDisable(GL12.GL_RESCALE_NORMAL); + GL11.glPopMatrix(); + GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); + } + } + + @Override + public void renderTileEntityAt(TileEntity p_147500_1_, double p_147500_2_, double p_147500_4_, double p_147500_6_, float p_147500_8_) + { + this.renderTileEntityAt((TileEntityTestContainer)p_147500_1_, p_147500_2_, p_147500_4_, p_147500_6_, p_147500_8_); + } } \ No newline at end of file diff --git a/com/hbm/render/tileentity/RenderTestMissile.java b/com/hbm/render/tileentity/RenderTestMissile.java index 2e4c6c788..b39ff2863 100644 --- a/com/hbm/render/tileentity/RenderTestMissile.java +++ b/com/hbm/render/tileentity/RenderTestMissile.java @@ -1,42 +1,42 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.entity.Render; -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderTestMissile extends Render { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Missile.obj"); - private IModelCustom boyModel; - private ResourceLocation boyTexture; - - public RenderTestMissile() { - boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); - boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Missile.png"); - } - - @Override - public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { - - GL11.glPushMatrix(); - GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); - GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); - GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); - - bindTexture(boyTexture); - boyModel.renderAll(); - GL11.glPopMatrix(); - } - - @Override - protected ResourceLocation getEntityTexture(Entity p_110775_1_) { - return new ResourceLocation(RefStrings.MODID +":textures/models/Missile.png"); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.entity.Render; +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderTestMissile extends Render { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Missile.obj"); + private IModelCustom boyModel; + private ResourceLocation boyTexture; + + public RenderTestMissile() { + boyModel = AdvancedModelLoader.loadModel(objTesterModelRL); + boyTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Missile.png"); + } + + @Override + public void doRender(Entity p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_) { + + GL11.glPushMatrix(); + GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); + GL11.glRotatef(p_76986_1_.prevRotationYaw + (p_76986_1_.rotationYaw - p_76986_1_.prevRotationYaw) * p_76986_9_ - 90.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(p_76986_1_.prevRotationPitch + (p_76986_1_.rotationPitch - p_76986_1_.prevRotationPitch) * p_76986_9_, 0.0F, 0.0F, 1.0F); + + bindTexture(boyTexture); + boyModel.renderAll(); + GL11.glPopMatrix(); + } + + @Override + protected ResourceLocation getEntityTexture(Entity p_110775_1_) { + return new ResourceLocation(RefStrings.MODID +":textures/models/Missile.png"); + } + +} diff --git a/com/hbm/render/tileentity/RenderTestRender.java b/com/hbm/render/tileentity/RenderTestRender.java index 900bef7d0..bb590ebb4 100644 --- a/com/hbm/render/tileentity/RenderTestRender.java +++ b/com/hbm/render/tileentity/RenderTestRender.java @@ -1,36 +1,36 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelTestRender; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderTestRender extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelTestRender.png"); - - private ModelTestRender model; - - public RenderTestRender() { - this.model = new ModelTestRender(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.model.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } - -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelTestRender; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderTestRender extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelTestRender.png"); + + private ModelTestRender model; + + public RenderTestRender() { + this.model = new ModelTestRender(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.model.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } + +} diff --git a/com/hbm/render/tileentity/RenderUF6Tank.java b/com/hbm/render/tileentity/RenderUF6Tank.java index fe3cb232b..741ed4998 100644 --- a/com/hbm/render/tileentity/RenderUF6Tank.java +++ b/com/hbm/render/tileentity/RenderUF6Tank.java @@ -1,48 +1,48 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RenderUF6Tank extends TileEntitySpecialRenderer { - - private static final ResourceLocation tankModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/tank.obj"); - private IModelCustom tankModelC; - private ResourceLocation tankTexture; - - public RenderUF6Tank() - { - tankModelC = AdvancedModelLoader.loadModel(tankModel); - tankTexture = new ResourceLocation(RefStrings.MODID, "textures/models/UF6Tank.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y, z + 0.5D); - GL11.glEnable(GL11.GL_LIGHTING); - switch(tileEntity.getBlockMetadata()) - { - case 4: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 5: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(tankTexture); - tankModelC.renderAll(); - - GL11.glPopMatrix(); - } -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RenderUF6Tank extends TileEntitySpecialRenderer { + + private static final ResourceLocation tankModel = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/tank.obj"); + private IModelCustom tankModelC; + private ResourceLocation tankTexture; + + public RenderUF6Tank() + { + tankModelC = AdvancedModelLoader.loadModel(tankModel); + tankTexture = new ResourceLocation(RefStrings.MODID, "textures/models/UF6Tank.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + switch(tileEntity.getBlockMetadata()) + { + case 4: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 5: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(tankTexture); + tankModelC.renderAll(); + + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RenderYellowBarrel.java b/com/hbm/render/tileentity/RenderYellowBarrel.java index 13c104b05..bbcfaf6d5 100644 --- a/com/hbm/render/tileentity/RenderYellowBarrel.java +++ b/com/hbm/render/tileentity/RenderYellowBarrel.java @@ -1,35 +1,35 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; -import com.hbm.render.model.ModelTestRender; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; - -public class RenderYellowBarrel extends TileEntitySpecialRenderer { - - private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelYellowBarrel.png"); - - private ModelTestRender model; - - public RenderYellowBarrel() { - this.model = new ModelTestRender(); - } - - @Override - public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { - GL11.glPushMatrix(); - GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); - GL11.glRotatef(180, 0F, 0F, 1F); - - this.bindTexture(texture); - - GL11.glPushMatrix(); - this.model.renderModel(0.0625F); - GL11.glPopMatrix(); - GL11.glPopMatrix(); - } -} +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; +import com.hbm.render.model.ModelTestRender; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; + +public class RenderYellowBarrel extends TileEntitySpecialRenderer { + + private static final ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":" + "textures/models/ModelYellowBarrel.png"); + + private ModelTestRender model; + + public RenderYellowBarrel() { + this.model = new ModelTestRender(); + } + + @Override + public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { + GL11.glPushMatrix(); + GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float) z + 0.5F); + GL11.glRotatef(180, 0F, 0F, 1F); + + this.bindTexture(texture); + + GL11.glPushMatrix(); + this.model.renderModel(0.0625F); + GL11.glPopMatrix(); + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/render/tileentity/RendererObjTester.java b/com/hbm/render/tileentity/RendererObjTester.java index 6ad79d388..b919309fb 100644 --- a/com/hbm/render/tileentity/RendererObjTester.java +++ b/com/hbm/render/tileentity/RendererObjTester.java @@ -1,51 +1,51 @@ -package com.hbm.render.tileentity; - -import org.lwjgl.opengl.GL11; - -import com.hbm.lib.RefStrings; - -import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.ResourceLocation; -import net.minecraftforge.client.model.AdvancedModelLoader; -import net.minecraftforge.client.model.IModelCustom; - -public class RendererObjTester extends TileEntitySpecialRenderer { - - private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/TestObj.obj"); - //private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Prototype.obj"); - private IModelCustom objTesterModel; - private ResourceLocation objTesterTexture; - - public RendererObjTester() - { - objTesterModel = AdvancedModelLoader.loadModel(objTesterModelRL); - objTesterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TestObj.png"); - //objTesterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Prototype.png"); - } - - @Override - public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) - { - GL11.glPushMatrix(); - GL11.glTranslated(x + 0.5D, y + 3, z + 0.5D); - GL11.glRotatef(180, 0F, 0F, 1F); - switch(tileEntity.getBlockMetadata()) - { - case 5: - GL11.glRotatef(90, 0F, 1F, 0F); break; - case 3: - GL11.glRotatef(180, 0F, 1F, 0F); break; - case 4: - GL11.glRotatef(270, 0F, 1F, 0F); break; - case 2: - GL11.glRotatef(0, 0F, 1F, 0F); break; - } - - bindTexture(objTesterTexture); - objTesterModel.renderAll(); - - GL11.glPopMatrix(); - } - +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.lib.RefStrings; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.client.model.AdvancedModelLoader; +import net.minecraftforge.client.model.IModelCustom; + +public class RendererObjTester extends TileEntitySpecialRenderer { + + private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/TestObj.obj"); + //private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/Prototype.obj"); + private IModelCustom objTesterModel; + private ResourceLocation objTesterTexture; + + public RendererObjTester() + { + objTesterModel = AdvancedModelLoader.loadModel(objTesterModelRL); + objTesterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/TestObj.png"); + //objTesterTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Prototype.png"); + } + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y + 3, z + 0.5D); + GL11.glRotatef(180, 0F, 0F, 1F); + switch(tileEntity.getBlockMetadata()) + { + case 5: + GL11.glRotatef(90, 0F, 1F, 0F); break; + case 3: + GL11.glRotatef(180, 0F, 1F, 0F); break; + case 4: + GL11.glRotatef(270, 0F, 1F, 0F); break; + case 2: + GL11.glRotatef(0, 0F, 1F, 0F); break; + } + + bindTexture(objTesterTexture); + objTesterModel.renderAll(); + + GL11.glPopMatrix(); + } + } \ No newline at end of file diff --git a/com/hbm/sound/MovingSoundChopper.java b/com/hbm/sound/MovingSoundChopper.java index 5e82bf332..cfafb36c3 100644 --- a/com/hbm/sound/MovingSoundChopper.java +++ b/com/hbm/sound/MovingSoundChopper.java @@ -1,29 +1,25 @@ -package com.hbm.sound; - -<<<<<<< HEAD -import com.hbm.entity.mob.EntityHunterChopper; -======= -import com.hbm.entity.EntityHunterChopper; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.items.ModItems; -import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; - -public class MovingSoundChopper extends MovingSoundPlayerLoop { - - public MovingSoundChopper(ResourceLocation p_i45104_1_, Entity player, EnumHbmSound type) { - super(p_i45104_1_, player, type); - } - - @Override - public void update() { - super.update(); - - if(player instanceof EntityHunterChopper && ((EntityHunterChopper)player).getIsDying()) - this.stop(); - } -} +package com.hbm.sound; + +import com.hbm.entity.mob.EntityHunterChopper; +import com.hbm.items.ModItems; +import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; + +public class MovingSoundChopper extends MovingSoundPlayerLoop { + + public MovingSoundChopper(ResourceLocation p_i45104_1_, Entity player, EnumHbmSound type) { + super(p_i45104_1_, player, type); + } + + @Override + public void update() { + super.update(); + + if(player instanceof EntityHunterChopper && ((EntityHunterChopper)player).getIsDying()) + this.stop(); + } +} diff --git a/com/hbm/sound/MovingSoundChopperMine.java b/com/hbm/sound/MovingSoundChopperMine.java index 5e0b77173..1c5d21526 100644 --- a/com/hbm/sound/MovingSoundChopperMine.java +++ b/com/hbm/sound/MovingSoundChopperMine.java @@ -1,18 +1,14 @@ -package com.hbm.sound; - -<<<<<<< HEAD -import com.hbm.entity.mob.EntityHunterChopper; -======= -import com.hbm.entity.EntityHunterChopper; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; - -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; - -public class MovingSoundChopperMine extends MovingSoundPlayerLoop { - - public MovingSoundChopperMine(ResourceLocation p_i45104_1_, Entity player, EnumHbmSound type) { - super(p_i45104_1_, player, type); - } -} +package com.hbm.sound; + +import com.hbm.entity.mob.EntityHunterChopper; +import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; + +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class MovingSoundChopperMine extends MovingSoundPlayerLoop { + + public MovingSoundChopperMine(ResourceLocation p_i45104_1_, Entity player, EnumHbmSound type) { + super(p_i45104_1_, player, type); + } +} diff --git a/com/hbm/sound/MovingSoundCrashing.java b/com/hbm/sound/MovingSoundCrashing.java index 6968f0e86..a56ba230f 100644 --- a/com/hbm/sound/MovingSoundCrashing.java +++ b/com/hbm/sound/MovingSoundCrashing.java @@ -1,26 +1,22 @@ -package com.hbm.sound; - -<<<<<<< HEAD -import com.hbm.entity.mob.EntityHunterChopper; -======= -import com.hbm.entity.EntityHunterChopper; ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af -import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; - -import net.minecraft.entity.Entity; -import net.minecraft.util.ResourceLocation; - -public class MovingSoundCrashing extends MovingSoundPlayerLoop { - - public MovingSoundCrashing(ResourceLocation p_i45104_1_, Entity player, EnumHbmSound type) { - super(p_i45104_1_, player, type); - } - - @Override - public void update() { - super.update(); - - if(player instanceof EntityHunterChopper && !((EntityHunterChopper)player).getIsDying()) - this.stop(); - } -} +package com.hbm.sound; + +import com.hbm.entity.mob.EntityHunterChopper; +import com.hbm.sound.MovingSoundPlayerLoop.EnumHbmSound; + +import net.minecraft.entity.Entity; +import net.minecraft.util.ResourceLocation; + +public class MovingSoundCrashing extends MovingSoundPlayerLoop { + + public MovingSoundCrashing(ResourceLocation p_i45104_1_, Entity player, EnumHbmSound type) { + super(p_i45104_1_, player, type); + } + + @Override + public void update() { + super.update(); + + if(player instanceof EntityHunterChopper && !((EntityHunterChopper)player).getIsDying()) + this.stop(); + } +} diff --git a/com/hbm/sound/MovingSoundPlayerLoop.java b/com/hbm/sound/MovingSoundPlayerLoop.java index c5c696fb2..f73359121 100644 --- a/com/hbm/sound/MovingSoundPlayerLoop.java +++ b/com/hbm/sound/MovingSoundPlayerLoop.java @@ -1,93 +1,74 @@ -package com.hbm.sound; - -import java.util.ArrayList; -import java.util.List; - -import net.minecraft.client.audio.MovingSound; -import net.minecraft.entity.Entity; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.util.ResourceLocation; - -public abstract class MovingSoundPlayerLoop extends MovingSound { -<<<<<<< HEAD - - public static List globalSoundList = new ArrayList(); - public List playerForSound = new ArrayList(); -======= -<<<<<<< HEAD - - public static List globalSoundList = new ArrayList(); - public List playerForSound = new ArrayList(); -======= - - public static List globalSoundList = new ArrayList(); ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - public Entity player; - public enum EnumHbmSound { soundTauLoop, soundChopperLoop, soundCrashingLoop, soundMineLoop }; - public EnumHbmSound type; - public boolean init; - - public MovingSoundPlayerLoop(ResourceLocation res, Entity player, EnumHbmSound type) { - super(res); - this.player = player; - this.type = type; - this.init = false; - this.repeat = true; - if(MovingSoundPlayerLoop.getSoundByPlayer(player, type) == null) - globalSoundList.add(this); - } - - @Override - public void update() { - - if(player != null) { - this.xPosF = (float)player.posX; - this.yPosF = (float)player.posY; - this.zPosF = (float)player.posZ; - } - - if(player == null || player.isDead) - this.stop(); - } - - public void stop() { -<<<<<<< HEAD - -======= -<<<<<<< HEAD - -======= ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - this.donePlaying = true; - this.repeat = false; - while(MovingSoundPlayerLoop.getSoundByPlayer(player, type) != null) - globalSoundList.remove(MovingSoundPlayerLoop.getSoundByPlayer(player, type)); - - this.player = null; - } - - public static MovingSoundPlayerLoop getSoundByPlayer(Entity player, EnumHbmSound type) { - - for(MovingSoundPlayerLoop sound : globalSoundList) { - if(sound.player == player && sound.type == type) - return sound; - } - - return null; - } - - public void setPitch(float f) { - this.field_147663_c = f; - } - - public void setVolume(float f) { - this.volume = f; - } - - public void setDone(boolean b) { - this.donePlaying = b; - } - -} +package com.hbm.sound; + +import java.util.ArrayList; +import java.util.List; + +import net.minecraft.client.audio.MovingSound; +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.util.ResourceLocation; + +public abstract class MovingSoundPlayerLoop extends MovingSound { + + public static List globalSoundList = new ArrayList(); + public List playerForSound = new ArrayList(); + public Entity player; + public enum EnumHbmSound { soundTauLoop, soundChopperLoop, soundCrashingLoop, soundMineLoop }; + public EnumHbmSound type; + public boolean init; + + public MovingSoundPlayerLoop(ResourceLocation res, Entity player, EnumHbmSound type) { + super(res); + this.player = player; + this.type = type; + this.init = false; + this.repeat = true; + if(MovingSoundPlayerLoop.getSoundByPlayer(player, type) == null) + globalSoundList.add(this); + } + + @Override + public void update() { + + if(player != null) { + this.xPosF = (float)player.posX; + this.yPosF = (float)player.posY; + this.zPosF = (float)player.posZ; + } + + if(player == null || player.isDead) + this.stop(); + } + + public void stop() { + this.donePlaying = true; + this.repeat = false; + while(MovingSoundPlayerLoop.getSoundByPlayer(player, type) != null) + globalSoundList.remove(MovingSoundPlayerLoop.getSoundByPlayer(player, type)); + + this.player = null; + } + + public static MovingSoundPlayerLoop getSoundByPlayer(Entity player, EnumHbmSound type) { + + for(MovingSoundPlayerLoop sound : globalSoundList) { + if(sound.player == player && sound.type == type) + return sound; + } + + return null; + } + + public void setPitch(float f) { + this.field_147663_c = f; + } + + public void setVolume(float f) { + this.volume = f; + } + + public void setDone(boolean b) { + this.donePlaying = b; + } + +} diff --git a/com/hbm/sound/MovingSoundXVL1456.java b/com/hbm/sound/MovingSoundXVL1456.java index 4a9e91020..9944ba24a 100644 --- a/com/hbm/sound/MovingSoundXVL1456.java +++ b/com/hbm/sound/MovingSoundXVL1456.java @@ -1,42 +1,34 @@ -package com.hbm.sound; - -import com.hbm.items.ModItems; - -import net.minecraft.client.audio.MovingSound; -import net.minecraft.entity.Entity; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ResourceLocation; - -public class MovingSoundXVL1456 extends MovingSoundPlayerLoop { - - public MovingSoundXVL1456(ResourceLocation p_i45104_1_, Entity player, EnumHbmSound type) { - super(p_i45104_1_, player, type); - this.setPitch(0.5F); - } - - @Override - public void update() { - super.update(); - - ItemStack i = null; - - if(this.player != null) { - i = ((EntityPlayer)this.player).getItemInUse(); - } - -<<<<<<< HEAD - //this.setPitch(this.getPitch() + 0.1F); -======= -<<<<<<< HEAD - //this.setPitch(this.getPitch() + 0.1F); -======= - this.setPitch(this.getPitch() + 0.1F); ->>>>>>> 540fb3d256a0f4ae6a8b1db586f8e9cfd6ed7372 ->>>>>>> 5525318475377d238c79edc90a14ee8fa48397af - - if(i == null || (i != null && i.getItem() != ModItems.gun_xvl1456) || !((EntityPlayer)this.player).isSneaking() || ((EntityPlayer)this.player).getItemInUseDuration() <= 0) - this.stop(); - } +package com.hbm.sound; + +import com.hbm.items.ModItems; + +import net.minecraft.client.audio.MovingSound; +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; + +public class MovingSoundXVL1456 extends MovingSoundPlayerLoop { + + public MovingSoundXVL1456(ResourceLocation p_i45104_1_, Entity player, EnumHbmSound type) { + super(p_i45104_1_, player, type); + this.setPitch(0.5F); + } + + @Override + public void update() { + super.update(); + + ItemStack i = null; + + if(this.player != null) { + i = ((EntityPlayer)this.player).getItemInUse(); + } + + //this.setPitch(this.getPitch() + 0.1F); + + if(i == null || (i != null && i.getItem() != ModItems.gun_xvl1456) || !((EntityPlayer)this.player).isSneaking() || ((EntityPlayer)this.player).getItemInUseDuration() <= 0) + this.stop(); + } } \ No newline at end of file diff --git a/com/hbm/threads/ThreadLaser.java b/com/hbm/threads/ThreadLaser.java index 507055383..19aed28ad 100644 --- a/com/hbm/threads/ThreadLaser.java +++ b/com/hbm/threads/ThreadLaser.java @@ -1,73 +1,73 @@ -package com.hbm.threads; - -import cpw.mods.fml.common.FMLCommonHandler; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; -import net.minecraftforge.common.MinecraftForge; - -public class ThreadLaser implements Runnable { - - public Thread thread; - public boolean running = false; - public int x; - public int y; - public int z; - public World world; - public String direction; - public int age; - - public ThreadLaser(World world, int x, int y, int z, String direction) { - thread = new Thread(this); - this.x = x; - this.y = y; - this.z = z; - this.world = world; - this.direction = direction; - //MinecraftForge.EVENT_BUS.register(this); - //FMLCommonHandler.instance().bus().register(this); - } - - public void start() { - running = true; - if(running) - { - thread.start(); - } - } - - public void stop() { - running = false; - thread.stop(); - } - - @Override - public void run() { - while(running) - { - if(direction == "north") - { - for(int i = -1; i < 2; i++) - { - for(int j = -1; j < 2; j++) - { - world.setBlock(x, y + i, z + j, Blocks.air); - } - } - - x += 1; - } - - if(!(world.checkChunksExist(x - 1, y - 1, z - 1, x + 1, y + 1, z + 1))) - stop(); - - - try { - age++; - thread.sleep(2000); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } - } - -} +package com.hbm.threads; + +import cpw.mods.fml.common.FMLCommonHandler; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; + +public class ThreadLaser implements Runnable { + + public Thread thread; + public boolean running = false; + public int x; + public int y; + public int z; + public World world; + public String direction; + public int age; + + public ThreadLaser(World world, int x, int y, int z, String direction) { + thread = new Thread(this); + this.x = x; + this.y = y; + this.z = z; + this.world = world; + this.direction = direction; + //MinecraftForge.EVENT_BUS.register(this); + //FMLCommonHandler.instance().bus().register(this); + } + + public void start() { + running = true; + if(running) + { + thread.start(); + } + } + + public void stop() { + running = false; + thread.stop(); + } + + @Override + public void run() { + while(running) + { + if(direction == "north") + { + for(int i = -1; i < 2; i++) + { + for(int j = -1; j < 2; j++) + { + world.setBlock(x, y + i, z + j, Blocks.air); + } + } + + x += 1; + } + + if(!(world.checkChunksExist(x - 1, y - 1, z - 1, x + 1, y + 1, z + 1))) + stop(); + + + try { + age++; + thread.sleep(2000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + } + +} diff --git a/com/hbm/tileentity/TileEntityBombMulti.java b/com/hbm/tileentity/TileEntityBombMulti.java index abeff2355..ec3c4d64c 100644 --- a/com/hbm/tileentity/TileEntityBombMulti.java +++ b/com/hbm/tileentity/TileEntityBombMulti.java @@ -1,270 +1,270 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityBombMulti extends TileEntity implements ISidedInventory { - - public ItemStack slots[]; - private String customName; - - public TileEntityBombMulti() { - slots = new ItemStack[6]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.bombMulti"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 1; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - public boolean isLoaded(){ - - if(slots[0] != null && slots[0].getItem() == Item.getItemFromBlock(Blocks.tnt) && - slots[1] != null && slots[1].getItem() == Item.getItemFromBlock(Blocks.tnt) && - slots[3] != null && slots[3].getItem() == Item.getItemFromBlock(Blocks.tnt) && - slots[4] != null && slots[4].getItem() == Item.getItemFromBlock(Blocks.tnt)) - { - return true; - } - - return false; - } - - public int return2type() { - - if(slots[2] != null) - { - if(slots[2].getItem() == Items.gunpowder) - { - return 1; - } - - if(slots[2].getItem() == Item.getItemFromBlock(Blocks.tnt)) - { - return 2; - } - - if(slots[2].getItem() == ModItems.pellet_cluster) - { - return 3; - } - - if(slots[2].getItem() == ModItems.powder_fire) - { - return 4; - } - - if(slots[2].getItem() == ModItems.powder_poison) - { - return 5; - } - - if(slots[2].getItem() == ModItems.pellet_gas) - { - return 6; - } - } - return 0; - } - - public int return5type() { - - if(slots[5] != null) - { - if(slots[5].getItem() == Items.gunpowder) - { - return 1; - } - - if(slots[5].getItem() == Item.getItemFromBlock(Blocks.tnt)) - { - return 2; - } - - if(slots[5].getItem() == ModItems.pellet_cluster) - { - return 3; - } - - if(slots[5].getItem() == ModItems.powder_fire) - { - return 4; - } - - if(slots[5].getItem() == ModItems.powder_poison) - { - return 5; - } - - if(slots[5].getItem() == ModItems.pellet_gas) - { - return 6; - } - } - return 0; - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityBombMulti extends TileEntity implements ISidedInventory { + + public ItemStack slots[]; + private String customName; + + public TileEntityBombMulti() { + slots = new ItemStack[6]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.bombMulti"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 1; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + public boolean isLoaded(){ + + if(slots[0] != null && slots[0].getItem() == Item.getItemFromBlock(Blocks.tnt) && + slots[1] != null && slots[1].getItem() == Item.getItemFromBlock(Blocks.tnt) && + slots[3] != null && slots[3].getItem() == Item.getItemFromBlock(Blocks.tnt) && + slots[4] != null && slots[4].getItem() == Item.getItemFromBlock(Blocks.tnt)) + { + return true; + } + + return false; + } + + public int return2type() { + + if(slots[2] != null) + { + if(slots[2].getItem() == Items.gunpowder) + { + return 1; + } + + if(slots[2].getItem() == Item.getItemFromBlock(Blocks.tnt)) + { + return 2; + } + + if(slots[2].getItem() == ModItems.pellet_cluster) + { + return 3; + } + + if(slots[2].getItem() == ModItems.powder_fire) + { + return 4; + } + + if(slots[2].getItem() == ModItems.powder_poison) + { + return 5; + } + + if(slots[2].getItem() == ModItems.pellet_gas) + { + return 6; + } + } + return 0; + } + + public int return5type() { + + if(slots[5] != null) + { + if(slots[5].getItem() == Items.gunpowder) + { + return 1; + } + + if(slots[5].getItem() == Item.getItemFromBlock(Blocks.tnt)) + { + return 2; + } + + if(slots[5].getItem() == ModItems.pellet_cluster) + { + return 3; + } + + if(slots[5].getItem() == ModItems.powder_fire) + { + return 4; + } + + if(slots[5].getItem() == ModItems.powder_poison) + { + return 5; + } + + if(slots[5].getItem() == ModItems.pellet_gas) + { + return 6; + } + } + return 0; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } } \ No newline at end of file diff --git a/com/hbm/tileentity/TileEntityCable.java b/com/hbm/tileentity/TileEntityCable.java index 20c681bb1..fab71442b 100644 --- a/com/hbm/tileentity/TileEntityCable.java +++ b/com/hbm/tileentity/TileEntityCable.java @@ -1,48 +1,48 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; - -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.interfaces.IConductor; -import com.hbm.lib.Library; - -import net.minecraft.tileentity.TileEntity; -import net.minecraftforge.common.util.ForgeDirection; -import scala.Int; - -public class TileEntityCable extends TileEntity implements IConductor { - - public ForgeDirection[] connections = new ForgeDirection[6]; - - public List uoteab = new ArrayList(); - - public TileEntityCable() { - - } - - public void updateEntity() { - this.updateConnections(); - } - - public void updateConnections() { - if(Library.checkConnectables(this.worldObj, xCoord, yCoord + 1, zCoord)) connections[0] = ForgeDirection.UP; - else connections[0] = null; - - if(Library.checkConnectables(this.worldObj, xCoord, yCoord - 1, zCoord)) connections[1] = ForgeDirection.DOWN; - else connections[1] = null; - - if(Library.checkConnectables(this.worldObj, xCoord, yCoord, zCoord - 1)) connections[2] = ForgeDirection.NORTH; - else connections[2] = null; - - if(Library.checkConnectables(this.worldObj, xCoord + 1, yCoord, zCoord)) connections[3] = ForgeDirection.EAST; - else connections[3] = null; - - if(Library.checkConnectables(this.worldObj, xCoord, yCoord, zCoord + 1)) connections[4] = ForgeDirection.SOUTH; - else connections[4] = null; - - if(Library.checkConnectables(this.worldObj, xCoord - 1, yCoord, zCoord)) connections[5] = ForgeDirection.WEST; - else connections[5] = null; - } - -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.interfaces.IConductor; +import com.hbm.lib.Library; + +import net.minecraft.tileentity.TileEntity; +import net.minecraftforge.common.util.ForgeDirection; +import scala.Int; + +public class TileEntityCable extends TileEntity implements IConductor { + + public ForgeDirection[] connections = new ForgeDirection[6]; + + public List uoteab = new ArrayList(); + + public TileEntityCable() { + + } + + public void updateEntity() { + this.updateConnections(); + } + + public void updateConnections() { + if(Library.checkConnectables(this.worldObj, xCoord, yCoord + 1, zCoord)) connections[0] = ForgeDirection.UP; + else connections[0] = null; + + if(Library.checkConnectables(this.worldObj, xCoord, yCoord - 1, zCoord)) connections[1] = ForgeDirection.DOWN; + else connections[1] = null; + + if(Library.checkConnectables(this.worldObj, xCoord, yCoord, zCoord - 1)) connections[2] = ForgeDirection.NORTH; + else connections[2] = null; + + if(Library.checkConnectables(this.worldObj, xCoord + 1, yCoord, zCoord)) connections[3] = ForgeDirection.EAST; + else connections[3] = null; + + if(Library.checkConnectables(this.worldObj, xCoord, yCoord, zCoord + 1)) connections[4] = ForgeDirection.SOUTH; + else connections[4] = null; + + if(Library.checkConnectables(this.worldObj, xCoord - 1, yCoord, zCoord)) connections[5] = ForgeDirection.WEST; + else connections[5] = null; + } + +} diff --git a/com/hbm/tileentity/TileEntityConverterHeRf.java b/com/hbm/tileentity/TileEntityConverterHeRf.java index b94a6f227..e1af17051 100644 --- a/com/hbm/tileentity/TileEntityConverterHeRf.java +++ b/com/hbm/tileentity/TileEntityConverterHeRf.java @@ -1,118 +1,118 @@ -package com.hbm.tileentity; - -import com.hbm.calc.Location; -import com.hbm.interfaces.IConsumer; - -import cofh.api.energy.EnergyStorage; -import cofh.api.energy.IEnergyHandler; -import cofh.api.energy.IEnergyProvider; -import cofh.api.energy.IEnergyReceiver; -import net.minecraft.tileentity.TileEntity; -import net.minecraftforge.common.util.ForgeDirection; - -public class TileEntityConverterHeRf extends TileEntity implements IConsumer, IEnergyProvider { - - public int power; - public final int maxPower = 1000000; - public EnergyStorage storage = new EnergyStorage(4000000, 2500000, 2500000); - - //Thanks to the great people of Fusion Warfare for helping me with this part. - - @Override - public void updateEntity() { - if (!worldObj.isRemote) { - - if(power >= 100000 && storage.getEnergyStored() + 400000 <= storage.getMaxEnergyStored()) - { - power -= 100000; - storage.setEnergyStored(storage.getEnergyStored() + 400000); - } - if(power >= 10000 && storage.getEnergyStored() + 40000 <= storage.getMaxEnergyStored()) - { - power -= 10000; - storage.setEnergyStored(storage.getEnergyStored() + 40000); - } - if(power >= 1000 && storage.getEnergyStored() + 4000 <= storage.getMaxEnergyStored()) - { - power -= 1000; - storage.setEnergyStored(storage.getEnergyStored() + 4000); - } - if(power >= 100 && storage.getEnergyStored() + 400 <= storage.getMaxEnergyStored()) - { - power -= 100; - storage.setEnergyStored(storage.getEnergyStored() + 400); - } - if(power >= 10 && storage.getEnergyStored() + 40 <= storage.getMaxEnergyStored()) - { - power -= 10; - storage.setEnergyStored(storage.getEnergyStored() + 4); - } - if(power >= 1 && storage.getEnergyStored() + 4 <= storage.getMaxEnergyStored()) - { - power -= 1; - storage.setEnergyStored(storage.getEnergyStored() + 40); - } - - for (ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS) { - - Location loc = new Location(worldObj, xCoord, yCoord, zCoord).add(dir); - TileEntity entity = loc.getTileEntity(); - - if (entity != null && entity instanceof IEnergyReceiver) { - - IEnergyReceiver receiver = (IEnergyReceiver) entity; - - int maxExtract = storage.getMaxExtract(); - int maxAvailable = storage.extractEnergy(maxExtract, true); - int energyTransferred = receiver.receiveEnergy(dir.getOpposite(), maxAvailable, false); - - storage.extractEnergy(energyTransferred, false); - } - } - } - } - - @Override - public boolean canConnectEnergy(ForgeDirection from) { - return true; - } - - @Override - public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate) { - return storage.extractEnergy(maxExtract, simulate); - } - - @Override - public int getEnergyStored(ForgeDirection from) { - return storage.getEnergyStored(); - } - - @Override - public int getMaxEnergyStored(ForgeDirection from) { - return storage.getMaxEnergyStored(); - } - - @Override - public void setPower(int i) { - power = i; - } - - @Override - public int getPower() { - return power; - } - - @Override - public int getMaxPower() { - return maxPower; - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - public int getFluxScaled(int i) { - return (storage.getEnergyStored() * i) / storage.getMaxEnergyStored(); - } - -} +package com.hbm.tileentity; + +import com.hbm.calc.Location; +import com.hbm.interfaces.IConsumer; + +import cofh.api.energy.EnergyStorage; +import cofh.api.energy.IEnergyHandler; +import cofh.api.energy.IEnergyProvider; +import cofh.api.energy.IEnergyReceiver; +import net.minecraft.tileentity.TileEntity; +import net.minecraftforge.common.util.ForgeDirection; + +public class TileEntityConverterHeRf extends TileEntity implements IConsumer, IEnergyProvider { + + public int power; + public final int maxPower = 1000000; + public EnergyStorage storage = new EnergyStorage(4000000, 2500000, 2500000); + + //Thanks to the great people of Fusion Warfare for helping me with this part. + + @Override + public void updateEntity() { + if (!worldObj.isRemote) { + + if(power >= 100000 && storage.getEnergyStored() + 400000 <= storage.getMaxEnergyStored()) + { + power -= 100000; + storage.setEnergyStored(storage.getEnergyStored() + 400000); + } + if(power >= 10000 && storage.getEnergyStored() + 40000 <= storage.getMaxEnergyStored()) + { + power -= 10000; + storage.setEnergyStored(storage.getEnergyStored() + 40000); + } + if(power >= 1000 && storage.getEnergyStored() + 4000 <= storage.getMaxEnergyStored()) + { + power -= 1000; + storage.setEnergyStored(storage.getEnergyStored() + 4000); + } + if(power >= 100 && storage.getEnergyStored() + 400 <= storage.getMaxEnergyStored()) + { + power -= 100; + storage.setEnergyStored(storage.getEnergyStored() + 400); + } + if(power >= 10 && storage.getEnergyStored() + 40 <= storage.getMaxEnergyStored()) + { + power -= 10; + storage.setEnergyStored(storage.getEnergyStored() + 4); + } + if(power >= 1 && storage.getEnergyStored() + 4 <= storage.getMaxEnergyStored()) + { + power -= 1; + storage.setEnergyStored(storage.getEnergyStored() + 40); + } + + for (ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS) { + + Location loc = new Location(worldObj, xCoord, yCoord, zCoord).add(dir); + TileEntity entity = loc.getTileEntity(); + + if (entity != null && entity instanceof IEnergyReceiver) { + + IEnergyReceiver receiver = (IEnergyReceiver) entity; + + int maxExtract = storage.getMaxExtract(); + int maxAvailable = storage.extractEnergy(maxExtract, true); + int energyTransferred = receiver.receiveEnergy(dir.getOpposite(), maxAvailable, false); + + storage.extractEnergy(energyTransferred, false); + } + } + } + } + + @Override + public boolean canConnectEnergy(ForgeDirection from) { + return true; + } + + @Override + public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate) { + return storage.extractEnergy(maxExtract, simulate); + } + + @Override + public int getEnergyStored(ForgeDirection from) { + return storage.getEnergyStored(); + } + + @Override + public int getMaxEnergyStored(ForgeDirection from) { + return storage.getMaxEnergyStored(); + } + + @Override + public void setPower(int i) { + power = i; + } + + @Override + public int getPower() { + return power; + } + + @Override + public int getMaxPower() { + return maxPower; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + public int getFluxScaled(int i) { + return (storage.getEnergyStored() * i) / storage.getMaxEnergyStored(); + } + +} diff --git a/com/hbm/tileentity/TileEntityConverterRfHe.java b/com/hbm/tileentity/TileEntityConverterRfHe.java index 6b5ccafb4..aff5667c3 100644 --- a/com/hbm/tileentity/TileEntityConverterRfHe.java +++ b/com/hbm/tileentity/TileEntityConverterRfHe.java @@ -1,225 +1,225 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; - -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.ISource; -import com.hbm.lib.Library; - -import cofh.api.energy.EnergyStorage; -import cofh.api.energy.IEnergyProvider; -import cofh.api.energy.IEnergyReceiver; -import net.minecraft.block.Block; -import net.minecraft.tileentity.TileEntity; -import net.minecraftforge.common.util.ForgeDirection; - -public class TileEntityConverterRfHe extends TileEntity implements ISource, IEnergyReceiver { - - public int power; - public final int maxPower = 1000000; - public List list = new ArrayList(); - public int age = 0; - public EnergyStorage storage = new EnergyStorage(4000000, 2500000, 2500000); - - @Override - public void updateEntity() { - if (!worldObj.isRemote) { - - if(storage.getEnergyStored() >= 400000 && power + 100000 <= maxPower) - { - storage.setEnergyStored(storage.getEnergyStored() - 400000); - power += 100000; - } - if(storage.getEnergyStored() >= 40000 && power + 10000 <= maxPower) - { - storage.setEnergyStored(storage.getEnergyStored() - 40000); - power += 10000; - } - if(storage.getEnergyStored() >= 4000 && power + 1000 <= maxPower) - { - storage.setEnergyStored(storage.getEnergyStored() - 4000); - power += 1000; - } - if(storage.getEnergyStored() >= 400 && power + 100 <= maxPower) - { - storage.setEnergyStored(storage.getEnergyStored() - 400); - power += 100; - } - if(storage.getEnergyStored() >= 40 && power + 10 <= maxPower) - { - storage.setEnergyStored(storage.getEnergyStored() - 40); - power += 10; - } - if(storage.getEnergyStored() >= 4 && power + 1 <= maxPower) - { - storage.setEnergyStored(storage.getEnergyStored() - 4); - power += 1; - } - } - - age++; - if(age >= 20) - { - age = 0; - } - - if(age == 9 || age == 19) - ffgeuaInit(); - } - - @Override - public boolean canConnectEnergy(ForgeDirection from) { - return true; - } - - @Override - public int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate) { - return storage.receiveEnergy(maxReceive, simulate); - } - - @Override - public int getEnergyStored(ForgeDirection from) { - return storage.getEnergyStored(); - } - - @Override - public int getMaxEnergyStored(ForgeDirection from) { - return storage.getMaxEnergyStored(); - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if(tileentity instanceof IConductor) - { - if(tileentity instanceof TileEntityCable) - { - if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) - { - if(((TileEntityCable)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if(tileentity instanceof TileEntityWireCoated) - { - if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) - { - list.add((IConsumer)tileentity); - } - - if(!newTact) - { - int size = list.size(); - if(size > 0) - { - int part = this.power / size; - for(IConsumer consume : list) - { - if(consume.getPower() < consume.getMaxPower()) - { - if(consume.getMaxPower() - consume.getPower() >= part) - { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); - ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); - } - - public boolean getTact() { - if(age >= 0 && age < 10) - { - return true; - } - - return false; - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - public int getFluxScaled(int i) { - return (storage.getEnergyStored() * i) / storage.getMaxEnergyStored(); - } - -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.blocks.ModBlocks; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.lib.Library; + +import cofh.api.energy.EnergyStorage; +import cofh.api.energy.IEnergyProvider; +import cofh.api.energy.IEnergyReceiver; +import net.minecraft.block.Block; +import net.minecraft.tileentity.TileEntity; +import net.minecraftforge.common.util.ForgeDirection; + +public class TileEntityConverterRfHe extends TileEntity implements ISource, IEnergyReceiver { + + public int power; + public final int maxPower = 1000000; + public List list = new ArrayList(); + public int age = 0; + public EnergyStorage storage = new EnergyStorage(4000000, 2500000, 2500000); + + @Override + public void updateEntity() { + if (!worldObj.isRemote) { + + if(storage.getEnergyStored() >= 400000 && power + 100000 <= maxPower) + { + storage.setEnergyStored(storage.getEnergyStored() - 400000); + power += 100000; + } + if(storage.getEnergyStored() >= 40000 && power + 10000 <= maxPower) + { + storage.setEnergyStored(storage.getEnergyStored() - 40000); + power += 10000; + } + if(storage.getEnergyStored() >= 4000 && power + 1000 <= maxPower) + { + storage.setEnergyStored(storage.getEnergyStored() - 4000); + power += 1000; + } + if(storage.getEnergyStored() >= 400 && power + 100 <= maxPower) + { + storage.setEnergyStored(storage.getEnergyStored() - 400); + power += 100; + } + if(storage.getEnergyStored() >= 40 && power + 10 <= maxPower) + { + storage.setEnergyStored(storage.getEnergyStored() - 40); + power += 10; + } + if(storage.getEnergyStored() >= 4 && power + 1 <= maxPower) + { + storage.setEnergyStored(storage.getEnergyStored() - 4); + power += 1; + } + } + + age++; + if(age >= 20) + { + age = 0; + } + + if(age == 9 || age == 19) + ffgeuaInit(); + } + + @Override + public boolean canConnectEnergy(ForgeDirection from) { + return true; + } + + @Override + public int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate) { + return storage.receiveEnergy(maxReceive, simulate); + } + + @Override + public int getEnergyStored(ForgeDirection from) { + return storage.getEnergyStored(); + } + + @Override + public int getMaxEnergyStored(ForgeDirection from) { + return storage.getMaxEnergyStored(); + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if(tileentity instanceof IConductor) + { + if(tileentity instanceof TileEntityCable) + { + if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) + { + if(((TileEntityCable)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if(tileentity instanceof TileEntityWireCoated) + { + if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) + { + list.add((IConsumer)tileentity); + } + + if(!newTact) + { + int size = list.size(); + if(size > 0) + { + int part = this.power / size; + for(IConsumer consume : list) + { + if(consume.getPower() < consume.getMaxPower()) + { + if(consume.getMaxPower() - consume.getPower() >= part) + { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); + ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); + } + + public boolean getTact() { + if(age >= 0 && age < 10) + { + return true; + } + + return false; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + public int getFluxScaled(int i) { + return (storage.getEnergyStored() * i) / storage.getMaxEnergyStored(); + } + +} diff --git a/com/hbm/tileentity/TileEntityCoreAdvanced.java b/com/hbm/tileentity/TileEntityCoreAdvanced.java index 701e1c3ff..03cb1f207 100644 --- a/com/hbm/tileentity/TileEntityCoreAdvanced.java +++ b/com/hbm/tileentity/TileEntityCoreAdvanced.java @@ -1,645 +1,645 @@ -package com.hbm.tileentity; - -import com.hbm.blocks.ModBlocks; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.IFactory; -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.item.crafting.FurnaceRecipes; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class TileEntityCoreAdvanced extends TileEntity implements ISidedInventory, IFactory, IConsumer { - - public int progress = 0; - public int power = 0; - public int soundCycle = 0; - public final static int processTime = 100; - public final static int maxPower = ModItems.factory_core_advanced.getMaxDamage(); - private ItemStack slots[]; - - private String customName; - - public TileEntityCoreAdvanced() { - slots = new ItemStack[27]; - } - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.factoryAdvanced"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() {} - - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { - return false; - } - - @Override - public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { - return false; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - this.progress = nbt.getShort("cookTime"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("cookTime", (short) progress); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public boolean isStructureValid(World world) { - if(world.getBlock(this.xCoord, this.yCoord, this.zCoord) == ModBlocks.factory_advanced_core && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord) == ModBlocks.factory_advanced_hull && - (world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.factory_advanced_conductor || world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.factory_advanced_hull) && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord, this.yCoord, this.zCoord - 1) == ModBlocks.factory_advanced_furnace && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord) == ModBlocks.factory_advanced_furnace && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord) == ModBlocks.factory_advanced_furnace && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord, this.yCoord, this.zCoord + 1) == ModBlocks.factory_advanced_furnace && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord) == ModBlocks.factory_advanced_hull && - (world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.factory_advanced_conductor || world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.factory_advanced_hull) && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull) - { - return true; - } - return false; - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - public int getProgressScaled(int i) { - return (progress * i) / processTime; - } - - public boolean isProcessable(ItemStack item) { - if(item != null) - { - return FurnaceRecipes.smelting().getSmeltingResult(item) != null; - } else { - return false; - } - } - - @Override - public void updateEntity() { - if(this.slots[22] != null && this.slots[22].getItem() == ModItems.factory_core_advanced) - { - this.power = ModItems.factory_core_advanced.getMaxDamage() - this.slots[22].getItemDamage(); - } else { - this.power = 0; - } - - if(this.slots[9] == null) - { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && isProcessable(slots[i])) - { - slots[9] = slots[i].copy(); - slots[i] = null; - break; - } - } - } else { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null) - { - if(slots[i].getItem() == slots[9].getItem() && slots[i].getItemDamage() == slots[9].getItemDamage()) - { - if(slots[9].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) - { - slots[9].stackSize += slots[i].stackSize; - slots[i] = null; - } else { - int j = slots[9].getMaxStackSize() - slots[9].stackSize; - slots[9].stackSize += j; - slots[i].stackSize -= j; - } - break; - } - } - } - } - - if(this.slots[10] == null) - { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && isProcessable(slots[i])) - { - slots[10] = slots[i].copy(); - slots[i] = null; - break; - } - } - } else { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null) - { - if(slots[i].getItem() == slots[10].getItem() && slots[i].getItemDamage() == slots[10].getItemDamage()) - { - if(slots[10].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) - { - slots[10].stackSize += slots[i].stackSize; - slots[i] = null; - } else { - int j = slots[10].getMaxStackSize() - slots[10].stackSize; - slots[10].stackSize += j; - slots[i].stackSize -= j; - } - break; - } - } - } - } - - if(this.slots[23] == null) - { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && isProcessable(slots[i])) - { - slots[23] = slots[i].copy(); - slots[i] = null; - break; - } - } - } else { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null) - { - if(slots[i].getItem() == slots[23].getItem() && slots[i].getItemDamage() == slots[23].getItemDamage()) - { - if(slots[23].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) - { - slots[23].stackSize += slots[i].stackSize; - slots[i] = null; - } else { - int j = slots[23].getMaxStackSize() - slots[23].stackSize; - slots[23].stackSize += j; - slots[i].stackSize -= j; - } - break; - } - } - } - } - - if(this.slots[24] == null) - { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && isProcessable(slots[i])) - { - slots[24] = slots[i].copy(); - slots[i] = null; - break; - } - } - } else { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null) - { - if(slots[i].getItem() == slots[24].getItem() && slots[i].getItemDamage() == slots[24].getItemDamage()) - { - if(slots[24].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) - { - slots[24].stackSize += slots[i].stackSize; - slots[i] = null; - } else { - int j = slots[24].getMaxStackSize() - slots[24].stackSize; - slots[24].stackSize += j; - slots[i].stackSize -= j; - } - break; - } - } - } - } - - if(this.power > 0 && (isProcessable(slots[9]) || isProcessable(slots[10]) || isProcessable(slots[23]) || isProcessable(slots[24])) && isStructureValid(worldObj)) - { - this.progress += 1; - this.slots[22].setItemDamage(this.slots[22].getItemDamage() + 1); - if(soundCycle == 0) - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 0.75F); - soundCycle++; - - if(soundCycle >= 50) - soundCycle = 0; - } else { - this.progress = 0; - } - - if(slots[9] != null && slots[11] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[9]).getItem() != slots[11].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[9]).getItemDamage() != slots[11].getItemDamage())) - { - this.progress = 0; - } - - if(slots[10] != null && slots[12] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[10]).getItem() != slots[12].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[10]).getItemDamage() != slots[12].getItemDamage())) - { - this.progress = 0; - } - - if(slots[23] != null && slots[25] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[23]).getItem() != slots[25].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[23]).getItemDamage() != slots[25].getItemDamage())) - { - this.progress = 0; - } - - if(slots[24] != null && slots[26] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[24]).getItem() != slots[26].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[24]).getItemDamage() != slots[26].getItemDamage())) - { - this.progress = 0; - } - - if(this.progress >= this.processTime) - { - if(this.slots[9] != null && isProcessable(this.slots[9])) - { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[9]); - if(slots[11] == null) - { - slots[11] = itemStack.copy(); - }else if(slots[11].isItemEqual(itemStack)) { - slots[11].stackSize += itemStack.stackSize; - } - if(slots[9].stackSize <= 0) - { - slots[9] = new ItemStack(slots[9].getItem().setFull3D()); - }else{ - slots[9].stackSize--; - } - if(slots[9].stackSize <= 0) - { - slots[9] = null; - } - } - if(this.slots[10] != null && isProcessable(this.slots[10])) - { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[10]); - if(slots[12] == null) - { - slots[12] = itemStack.copy(); - }else if(slots[12].isItemEqual(itemStack)) { - slots[12].stackSize += itemStack.stackSize; - } - if(slots[10].stackSize <= 0) - { - slots[10] = new ItemStack(slots[10].getItem().setFull3D()); - }else{ - slots[10].stackSize--; - } - if(slots[10].stackSize <= 0) - { - slots[10] = null; - } - } - if(this.slots[23] != null && isProcessable(this.slots[23])) - { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[23]); - if(slots[25] == null) - { - slots[25] = itemStack.copy(); - }else if(slots[25].isItemEqual(itemStack)) { - slots[25].stackSize += itemStack.stackSize; - } - if(slots[23].stackSize <= 0) - { - slots[23] = new ItemStack(slots[23].getItem().setFull3D()); - }else{ - slots[23].stackSize--; - } - if(slots[23].stackSize <= 0) - { - slots[23] = null; - } - } - if(this.slots[24] != null && isProcessable(this.slots[24])) - { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[24]); - if(slots[26] == null) - { - slots[26] = itemStack.copy(); - }else if(slots[26].isItemEqual(itemStack)) { - slots[26].stackSize += itemStack.stackSize; - } - if(slots[24].stackSize <= 0) - { - slots[24] = new ItemStack(slots[24].getItem().setFull3D()); - }else{ - slots[24].stackSize--; - } - if(slots[24].stackSize <= 0) - { - slots[24] = null; - } - } - - this.progress = 0; - } - - if(this.slots[11] != null) - { - for(int i = 0; i < 9; i++) - { - int j = i + 13; - if(slots[j] != null) - { - if(slots[j].getItem() == slots[11].getItem() && slots[j].getItemDamage() == slots[11].getItemDamage()) - { - if(slots[j].stackSize < slots[j].getMaxStackSize()) - { - if(slots[j].stackSize + slots[11].stackSize <= slots[11].getMaxStackSize()) - { - slots[j].stackSize += slots[11].stackSize; - slots[11] = null; - break; - } else { - int k = slots[j].getMaxStackSize() - slots[j].stackSize; - if(k < 0) - { - slots[j].stackSize += k; - slots[11].stackSize -= k; - break; - } - } - } - } - } else { - slots[j] = slots[11].copy(); - slots[11] = null; - break; - } - } - } - - if(this.slots[12] != null) - { - for(int i = 0; i < 9; i++) - { - int j = i + 13; - if(slots[j] != null) - { - if(slots[j].getItem() == slots[12].getItem() && slots[j].getItemDamage() == slots[12].getItemDamage()) - { - if(slots[j].stackSize < slots[j].getMaxStackSize()) - { - if(slots[j].stackSize + slots[12].stackSize <= slots[12].getMaxStackSize()) - { - slots[j].stackSize += slots[12].stackSize; - slots[12] = null; - break; - } else { - int k = slots[j].getMaxStackSize() - slots[j].stackSize; - if(k < 0) - { - slots[j].stackSize += k; - slots[12].stackSize -= k; - break; - } - } - } - } - } else { - slots[j] = slots[12].copy(); - slots[12] = null; - break; - } - } - } - - if(this.slots[25] != null) - { - for(int i = 0; i < 9; i++) - { - int j = i + 13; - if(slots[j] != null) - { - if(slots[j].getItem() == slots[25].getItem() && slots[j].getItemDamage() == slots[25].getItemDamage()) - { - if(slots[j].stackSize < slots[j].getMaxStackSize()) - { - if(slots[j].stackSize + slots[25].stackSize <= slots[25].getMaxStackSize()) - { - slots[j].stackSize += slots[25].stackSize; - slots[25] = null; - break; - } else { - int k = slots[j].getMaxStackSize() - slots[j].stackSize; - if(k < 0) - { - slots[j].stackSize += k; - slots[25].stackSize -= k; - break; - } - } - } - } - } else { - slots[j] = slots[25].copy(); - slots[25] = null; - break; - } - } - } - - if(this.slots[26] != null) - { - for(int i = 0; i < 9; i++) - { - int j = i + 13; - if(slots[j] != null) - { - if(slots[j].getItem() == slots[26].getItem() && slots[j].getItemDamage() == slots[26].getItemDamage()) - { - if(slots[j].stackSize < slots[j].getMaxStackSize()) - { - if(slots[j].stackSize + slots[26].stackSize <= slots[26].getMaxStackSize()) - { - slots[j].stackSize += slots[26].stackSize; - slots[26] = null; - break; - } else { - int k = slots[j].getMaxStackSize() - slots[j].stackSize; - if(k < 0) - { - slots[j].stackSize += k; - slots[26].stackSize -= k; - break; - } - } - } - } - } else { - slots[j] = slots[26].copy(); - slots[26] = null; - break; - } - } - } - } - @Override - public void setPower(int i) { - if(this.slots[22] != null && this.slots[22].getItem() == ModItems.factory_core_advanced) - { - slots[22].setItemDamage(maxPower - i); - } - } - @Override - public int getPower() { - return power; - } - @Override - public int getMaxPower() { - return maxPower; - } -} +package com.hbm.tileentity; + +import com.hbm.blocks.ModBlocks; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.IFactory; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class TileEntityCoreAdvanced extends TileEntity implements ISidedInventory, IFactory, IConsumer { + + public int progress = 0; + public int power = 0; + public int soundCycle = 0; + public final static int processTime = 100; + public final static int maxPower = ModItems.factory_core_advanced.getMaxDamage(); + private ItemStack slots[]; + + private String customName; + + public TileEntityCoreAdvanced() { + slots = new ItemStack[27]; + } + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.factoryAdvanced"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { + return false; + } + + @Override + public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { + return false; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.progress = nbt.getShort("cookTime"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("cookTime", (short) progress); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public boolean isStructureValid(World world) { + if(world.getBlock(this.xCoord, this.yCoord, this.zCoord) == ModBlocks.factory_advanced_core && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord) == ModBlocks.factory_advanced_hull && + (world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.factory_advanced_conductor || world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.factory_advanced_hull) && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord, this.yCoord, this.zCoord - 1) == ModBlocks.factory_advanced_furnace && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord) == ModBlocks.factory_advanced_furnace && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord) == ModBlocks.factory_advanced_furnace && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord, this.yCoord, this.zCoord + 1) == ModBlocks.factory_advanced_furnace && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord) == ModBlocks.factory_advanced_hull && + (world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.factory_advanced_conductor || world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.factory_advanced_hull) && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_advanced_hull) + { + return true; + } + return false; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + public int getProgressScaled(int i) { + return (progress * i) / processTime; + } + + public boolean isProcessable(ItemStack item) { + if(item != null) + { + return FurnaceRecipes.smelting().getSmeltingResult(item) != null; + } else { + return false; + } + } + + @Override + public void updateEntity() { + if(this.slots[22] != null && this.slots[22].getItem() == ModItems.factory_core_advanced) + { + this.power = ModItems.factory_core_advanced.getMaxDamage() - this.slots[22].getItemDamage(); + } else { + this.power = 0; + } + + if(this.slots[9] == null) + { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && isProcessable(slots[i])) + { + slots[9] = slots[i].copy(); + slots[i] = null; + break; + } + } + } else { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null) + { + if(slots[i].getItem() == slots[9].getItem() && slots[i].getItemDamage() == slots[9].getItemDamage()) + { + if(slots[9].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) + { + slots[9].stackSize += slots[i].stackSize; + slots[i] = null; + } else { + int j = slots[9].getMaxStackSize() - slots[9].stackSize; + slots[9].stackSize += j; + slots[i].stackSize -= j; + } + break; + } + } + } + } + + if(this.slots[10] == null) + { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && isProcessable(slots[i])) + { + slots[10] = slots[i].copy(); + slots[i] = null; + break; + } + } + } else { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null) + { + if(slots[i].getItem() == slots[10].getItem() && slots[i].getItemDamage() == slots[10].getItemDamage()) + { + if(slots[10].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) + { + slots[10].stackSize += slots[i].stackSize; + slots[i] = null; + } else { + int j = slots[10].getMaxStackSize() - slots[10].stackSize; + slots[10].stackSize += j; + slots[i].stackSize -= j; + } + break; + } + } + } + } + + if(this.slots[23] == null) + { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && isProcessable(slots[i])) + { + slots[23] = slots[i].copy(); + slots[i] = null; + break; + } + } + } else { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null) + { + if(slots[i].getItem() == slots[23].getItem() && slots[i].getItemDamage() == slots[23].getItemDamage()) + { + if(slots[23].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) + { + slots[23].stackSize += slots[i].stackSize; + slots[i] = null; + } else { + int j = slots[23].getMaxStackSize() - slots[23].stackSize; + slots[23].stackSize += j; + slots[i].stackSize -= j; + } + break; + } + } + } + } + + if(this.slots[24] == null) + { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && isProcessable(slots[i])) + { + slots[24] = slots[i].copy(); + slots[i] = null; + break; + } + } + } else { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null) + { + if(slots[i].getItem() == slots[24].getItem() && slots[i].getItemDamage() == slots[24].getItemDamage()) + { + if(slots[24].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) + { + slots[24].stackSize += slots[i].stackSize; + slots[i] = null; + } else { + int j = slots[24].getMaxStackSize() - slots[24].stackSize; + slots[24].stackSize += j; + slots[i].stackSize -= j; + } + break; + } + } + } + } + + if(this.power > 0 && (isProcessable(slots[9]) || isProcessable(slots[10]) || isProcessable(slots[23]) || isProcessable(slots[24])) && isStructureValid(worldObj)) + { + this.progress += 1; + this.slots[22].setItemDamage(this.slots[22].getItemDamage() + 1); + if(soundCycle == 0) + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 0.75F); + soundCycle++; + + if(soundCycle >= 50) + soundCycle = 0; + } else { + this.progress = 0; + } + + if(slots[9] != null && slots[11] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[9]).getItem() != slots[11].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[9]).getItemDamage() != slots[11].getItemDamage())) + { + this.progress = 0; + } + + if(slots[10] != null && slots[12] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[10]).getItem() != slots[12].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[10]).getItemDamage() != slots[12].getItemDamage())) + { + this.progress = 0; + } + + if(slots[23] != null && slots[25] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[23]).getItem() != slots[25].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[23]).getItemDamage() != slots[25].getItemDamage())) + { + this.progress = 0; + } + + if(slots[24] != null && slots[26] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[24]).getItem() != slots[26].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[24]).getItemDamage() != slots[26].getItemDamage())) + { + this.progress = 0; + } + + if(this.progress >= this.processTime) + { + if(this.slots[9] != null && isProcessable(this.slots[9])) + { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[9]); + if(slots[11] == null) + { + slots[11] = itemStack.copy(); + }else if(slots[11].isItemEqual(itemStack)) { + slots[11].stackSize += itemStack.stackSize; + } + if(slots[9].stackSize <= 0) + { + slots[9] = new ItemStack(slots[9].getItem().setFull3D()); + }else{ + slots[9].stackSize--; + } + if(slots[9].stackSize <= 0) + { + slots[9] = null; + } + } + if(this.slots[10] != null && isProcessable(this.slots[10])) + { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[10]); + if(slots[12] == null) + { + slots[12] = itemStack.copy(); + }else if(slots[12].isItemEqual(itemStack)) { + slots[12].stackSize += itemStack.stackSize; + } + if(slots[10].stackSize <= 0) + { + slots[10] = new ItemStack(slots[10].getItem().setFull3D()); + }else{ + slots[10].stackSize--; + } + if(slots[10].stackSize <= 0) + { + slots[10] = null; + } + } + if(this.slots[23] != null && isProcessable(this.slots[23])) + { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[23]); + if(slots[25] == null) + { + slots[25] = itemStack.copy(); + }else if(slots[25].isItemEqual(itemStack)) { + slots[25].stackSize += itemStack.stackSize; + } + if(slots[23].stackSize <= 0) + { + slots[23] = new ItemStack(slots[23].getItem().setFull3D()); + }else{ + slots[23].stackSize--; + } + if(slots[23].stackSize <= 0) + { + slots[23] = null; + } + } + if(this.slots[24] != null && isProcessable(this.slots[24])) + { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[24]); + if(slots[26] == null) + { + slots[26] = itemStack.copy(); + }else if(slots[26].isItemEqual(itemStack)) { + slots[26].stackSize += itemStack.stackSize; + } + if(slots[24].stackSize <= 0) + { + slots[24] = new ItemStack(slots[24].getItem().setFull3D()); + }else{ + slots[24].stackSize--; + } + if(slots[24].stackSize <= 0) + { + slots[24] = null; + } + } + + this.progress = 0; + } + + if(this.slots[11] != null) + { + for(int i = 0; i < 9; i++) + { + int j = i + 13; + if(slots[j] != null) + { + if(slots[j].getItem() == slots[11].getItem() && slots[j].getItemDamage() == slots[11].getItemDamage()) + { + if(slots[j].stackSize < slots[j].getMaxStackSize()) + { + if(slots[j].stackSize + slots[11].stackSize <= slots[11].getMaxStackSize()) + { + slots[j].stackSize += slots[11].stackSize; + slots[11] = null; + break; + } else { + int k = slots[j].getMaxStackSize() - slots[j].stackSize; + if(k < 0) + { + slots[j].stackSize += k; + slots[11].stackSize -= k; + break; + } + } + } + } + } else { + slots[j] = slots[11].copy(); + slots[11] = null; + break; + } + } + } + + if(this.slots[12] != null) + { + for(int i = 0; i < 9; i++) + { + int j = i + 13; + if(slots[j] != null) + { + if(slots[j].getItem() == slots[12].getItem() && slots[j].getItemDamage() == slots[12].getItemDamage()) + { + if(slots[j].stackSize < slots[j].getMaxStackSize()) + { + if(slots[j].stackSize + slots[12].stackSize <= slots[12].getMaxStackSize()) + { + slots[j].stackSize += slots[12].stackSize; + slots[12] = null; + break; + } else { + int k = slots[j].getMaxStackSize() - slots[j].stackSize; + if(k < 0) + { + slots[j].stackSize += k; + slots[12].stackSize -= k; + break; + } + } + } + } + } else { + slots[j] = slots[12].copy(); + slots[12] = null; + break; + } + } + } + + if(this.slots[25] != null) + { + for(int i = 0; i < 9; i++) + { + int j = i + 13; + if(slots[j] != null) + { + if(slots[j].getItem() == slots[25].getItem() && slots[j].getItemDamage() == slots[25].getItemDamage()) + { + if(slots[j].stackSize < slots[j].getMaxStackSize()) + { + if(slots[j].stackSize + slots[25].stackSize <= slots[25].getMaxStackSize()) + { + slots[j].stackSize += slots[25].stackSize; + slots[25] = null; + break; + } else { + int k = slots[j].getMaxStackSize() - slots[j].stackSize; + if(k < 0) + { + slots[j].stackSize += k; + slots[25].stackSize -= k; + break; + } + } + } + } + } else { + slots[j] = slots[25].copy(); + slots[25] = null; + break; + } + } + } + + if(this.slots[26] != null) + { + for(int i = 0; i < 9; i++) + { + int j = i + 13; + if(slots[j] != null) + { + if(slots[j].getItem() == slots[26].getItem() && slots[j].getItemDamage() == slots[26].getItemDamage()) + { + if(slots[j].stackSize < slots[j].getMaxStackSize()) + { + if(slots[j].stackSize + slots[26].stackSize <= slots[26].getMaxStackSize()) + { + slots[j].stackSize += slots[26].stackSize; + slots[26] = null; + break; + } else { + int k = slots[j].getMaxStackSize() - slots[j].stackSize; + if(k < 0) + { + slots[j].stackSize += k; + slots[26].stackSize -= k; + break; + } + } + } + } + } else { + slots[j] = slots[26].copy(); + slots[26] = null; + break; + } + } + } + } + @Override + public void setPower(int i) { + if(this.slots[22] != null && this.slots[22].getItem() == ModItems.factory_core_advanced) + { + slots[22].setItemDamage(maxPower - i); + } + } + @Override + public int getPower() { + return power; + } + @Override + public int getMaxPower() { + return maxPower; + } +} diff --git a/com/hbm/tileentity/TileEntityCoreTitanium.java b/com/hbm/tileentity/TileEntityCoreTitanium.java index 8f3026fac..510dc1347 100644 --- a/com/hbm/tileentity/TileEntityCoreTitanium.java +++ b/com/hbm/tileentity/TileEntityCoreTitanium.java @@ -1,461 +1,461 @@ -package com.hbm.tileentity; - -import com.hbm.blocks.ModBlocks; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.IFactory; -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.item.crafting.FurnaceRecipes; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class TileEntityCoreTitanium extends TileEntity implements ISidedInventory, IFactory, IConsumer { - - public int progress = 0; - public int power = 0; - public int soundCycle = 0; - public final static int processTime = 200; - public final static int maxPower = ModItems.factory_core_titanium.getMaxDamage(); - private ItemStack slots[]; - - private String customName; - - public TileEntityCoreTitanium() { - slots = new ItemStack[23]; - } - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.factoryTitanium"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() {} - - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { - return false; - } - - @Override - public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { - return false; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - this.progress = nbt.getShort("cookTime"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("cookTime", (short) progress); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public boolean isStructureValid(World world) { - if(world.getBlock(this.xCoord, this.yCoord, this.zCoord) == ModBlocks.factory_titanium_core && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord) == ModBlocks.factory_titanium_hull && - (world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.factory_titanium_conductor || world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.factory_titanium_hull) && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord, this.yCoord, this.zCoord - 1) == ModBlocks.factory_titanium_furnace && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord) == ModBlocks.factory_titanium_furnace && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord) == ModBlocks.factory_titanium_furnace && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord, this.yCoord, this.zCoord + 1) == ModBlocks.factory_titanium_furnace && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord) == ModBlocks.factory_titanium_hull && - (world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.factory_titanium_conductor || world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.factory_titanium_hull) && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull) - { - return true; - } - return false; - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - public int getProgressScaled(int i) { - return (progress * i) / processTime; - } - - public boolean isProcessable(ItemStack item) { - if(item != null) - { - return FurnaceRecipes.smelting().getSmeltingResult(item) != null; - } else { - return false; - } - } - - @Override - public void updateEntity() { - if(this.slots[22] != null && this.slots[22].getItem() == ModItems.factory_core_titanium) - { - this.power = ModItems.factory_core_titanium.getMaxDamage() - this.slots[22].getItemDamage(); - } else { - this.power = 0; - } - - if(this.slots[9] == null) - { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && isProcessable(slots[i])) - { - slots[9] = slots[i].copy(); - slots[i] = null; - break; - } - } - } else { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null) - { - if(slots[i].getItem() == slots[9].getItem() && slots[i].getItemDamage() == slots[9].getItemDamage()) - { - if(slots[9].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) - { - slots[9].stackSize += slots[i].stackSize; - slots[i] = null; - } else { - int j = 64 - slots[9].stackSize; - slots[9].stackSize += j; - slots[i].stackSize -= j; - } - break; - } - } - } - } - - if(this.slots[10] == null) - { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && isProcessable(slots[i])) - { - slots[10] = slots[i].copy(); - slots[i] = null; - break; - } - } - } else { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null) - { - if(slots[i].getItem() == slots[10].getItem() && slots[i].getItemDamage() == slots[10].getItemDamage()) - { - if(slots[10].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) - { - slots[10].stackSize += slots[i].stackSize; - slots[i] = null; - } else { - int j = 64 - slots[10].stackSize; - slots[10].stackSize += j; - slots[i].stackSize -= j; - } - break; - } - } - } - } - - if(this.power > 0 && (isProcessable(slots[9]) || isProcessable(slots[10])) && isStructureValid(worldObj)) - { - this.progress += 1; - this.slots[22].setItemDamage(this.slots[22].getItemDamage() + 1); - if(soundCycle == 0) - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 0.75F); - soundCycle++; - - if(soundCycle >= 50) - soundCycle = 0; - } else { - this.progress = 0; - } - - if(slots[9] != null && slots[11] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[9]).getItem() != slots[11].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[9]).getItemDamage() != slots[11].getItemDamage())) - { - this.progress = 0; - } - - if(slots[10] != null && slots[12] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[10]).getItem() != slots[12].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[10]).getItemDamage() != slots[12].getItemDamage())) - { - this.progress = 0; - } - - if(this.progress >= this.processTime) - { - if(this.slots[9] != null && isProcessable(this.slots[9])) - { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[9]); - if(slots[11] == null) - { - slots[11] = itemStack.copy(); - }else if(slots[11].isItemEqual(itemStack)) { - slots[11].stackSize += itemStack.stackSize; - } - if(slots[9].stackSize <= 0) - { - slots[9] = new ItemStack(slots[9].getItem().setFull3D()); - }else{ - slots[9].stackSize--; - } - if(slots[9].stackSize <= 0) - { - slots[9] = null; - } - } - if(this.slots[10] != null && isProcessable(this.slots[10])) - { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[10]); - if(slots[12] == null) - { - slots[12] = itemStack.copy(); - }else if(slots[12].isItemEqual(itemStack)) { - slots[12].stackSize += itemStack.stackSize; - } - if(slots[10].stackSize <= 0) - { - slots[10] = new ItemStack(slots[10].getItem().setFull3D()); - }else{ - slots[10].stackSize--; - } - if(slots[10].stackSize <= 0) - { - slots[10] = null; - } - } - - this.progress = 0; - } - - if(this.slots[11] != null) - { - for(int i = 0; i < 9; i++) - { - int j = i + 13; - if(slots[j] != null) - { - if(slots[j].getItem() == slots[11].getItem() && slots[j].getItemDamage() == slots[11].getItemDamage()) - { - if(slots[j].stackSize < slots[j].getMaxStackSize()) - { - if(slots[j].stackSize + slots[11].stackSize <= slots[11].getMaxStackSize()) - { - slots[j].stackSize += slots[11].stackSize; - slots[11] = null; - break; - } else { - int k = slots[j].getMaxStackSize() - slots[j].stackSize; - if(k < 0) - { - slots[j].stackSize += k; - slots[11].stackSize -= k; - break; - } - } - } - } - } else { - slots[j] = slots[11].copy(); - slots[11] = null; - break; - } - } - } - - if(this.slots[12] != null) - { - for(int i = 0; i < 9; i++) - { - int j = i + 13; - if(slots[j] != null) - { - if(slots[j].getItem() == slots[12].getItem() && slots[j].getItemDamage() == slots[12].getItemDamage()) - { - if(slots[j].stackSize < slots[j].getMaxStackSize()) - { - if(slots[j].stackSize + slots[12].stackSize <= slots[12].getMaxStackSize()) - { - slots[j].stackSize += slots[12].stackSize; - slots[12] = null; - break; - } else { - int k = slots[j].getMaxStackSize() - slots[j].stackSize; - if(k < 0) - { - slots[j].stackSize += k; - slots[12].stackSize -= k; - break; - } - } - } - } - } else { - slots[j] = slots[12].copy(); - slots[12] = null; - break; - } - } - } - } - @Override - public void setPower(int i) { - if(this.slots[22] != null && this.slots[22].getItem() == ModItems.factory_core_titanium) - { - slots[22].setItemDamage(maxPower - i); - } - } - @Override - public int getPower() { - return power; - } - @Override - public int getMaxPower() { - return maxPower; - } - -} +package com.hbm.tileentity; + +import com.hbm.blocks.ModBlocks; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.IFactory; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class TileEntityCoreTitanium extends TileEntity implements ISidedInventory, IFactory, IConsumer { + + public int progress = 0; + public int power = 0; + public int soundCycle = 0; + public final static int processTime = 200; + public final static int maxPower = ModItems.factory_core_titanium.getMaxDamage(); + private ItemStack slots[]; + + private String customName; + + public TileEntityCoreTitanium() { + slots = new ItemStack[23]; + } + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.factoryTitanium"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { + return false; + } + + @Override + public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { + return false; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.progress = nbt.getShort("cookTime"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("cookTime", (short) progress); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public boolean isStructureValid(World world) { + if(world.getBlock(this.xCoord, this.yCoord, this.zCoord) == ModBlocks.factory_titanium_core && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord) == ModBlocks.factory_titanium_hull && + (world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.factory_titanium_conductor || world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.factory_titanium_hull) && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord, this.yCoord, this.zCoord - 1) == ModBlocks.factory_titanium_furnace && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord) == ModBlocks.factory_titanium_furnace && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord) == ModBlocks.factory_titanium_furnace && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord, this.yCoord, this.zCoord + 1) == ModBlocks.factory_titanium_furnace && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord) == ModBlocks.factory_titanium_hull && + (world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.factory_titanium_conductor || world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.factory_titanium_hull) && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.factory_titanium_hull) + { + return true; + } + return false; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + public int getProgressScaled(int i) { + return (progress * i) / processTime; + } + + public boolean isProcessable(ItemStack item) { + if(item != null) + { + return FurnaceRecipes.smelting().getSmeltingResult(item) != null; + } else { + return false; + } + } + + @Override + public void updateEntity() { + if(this.slots[22] != null && this.slots[22].getItem() == ModItems.factory_core_titanium) + { + this.power = ModItems.factory_core_titanium.getMaxDamage() - this.slots[22].getItemDamage(); + } else { + this.power = 0; + } + + if(this.slots[9] == null) + { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && isProcessable(slots[i])) + { + slots[9] = slots[i].copy(); + slots[i] = null; + break; + } + } + } else { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null) + { + if(slots[i].getItem() == slots[9].getItem() && slots[i].getItemDamage() == slots[9].getItemDamage()) + { + if(slots[9].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) + { + slots[9].stackSize += slots[i].stackSize; + slots[i] = null; + } else { + int j = 64 - slots[9].stackSize; + slots[9].stackSize += j; + slots[i].stackSize -= j; + } + break; + } + } + } + } + + if(this.slots[10] == null) + { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && isProcessable(slots[i])) + { + slots[10] = slots[i].copy(); + slots[i] = null; + break; + } + } + } else { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null) + { + if(slots[i].getItem() == slots[10].getItem() && slots[i].getItemDamage() == slots[10].getItemDamage()) + { + if(slots[10].stackSize + slots[i].stackSize <= slots[i].getMaxStackSize()) + { + slots[10].stackSize += slots[i].stackSize; + slots[i] = null; + } else { + int j = 64 - slots[10].stackSize; + slots[10].stackSize += j; + slots[i].stackSize -= j; + } + break; + } + } + } + } + + if(this.power > 0 && (isProcessable(slots[9]) || isProcessable(slots[10])) && isStructureValid(worldObj)) + { + this.progress += 1; + this.slots[22].setItemDamage(this.slots[22].getItemDamage() + 1); + if(soundCycle == 0) + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 0.75F); + soundCycle++; + + if(soundCycle >= 50) + soundCycle = 0; + } else { + this.progress = 0; + } + + if(slots[9] != null && slots[11] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[9]).getItem() != slots[11].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[9]).getItemDamage() != slots[11].getItemDamage())) + { + this.progress = 0; + } + + if(slots[10] != null && slots[12] != null && (FurnaceRecipes.smelting().getSmeltingResult(slots[10]).getItem() != slots[12].getItem() || FurnaceRecipes.smelting().getSmeltingResult(slots[10]).getItemDamage() != slots[12].getItemDamage())) + { + this.progress = 0; + } + + if(this.progress >= this.processTime) + { + if(this.slots[9] != null && isProcessable(this.slots[9])) + { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[9]); + if(slots[11] == null) + { + slots[11] = itemStack.copy(); + }else if(slots[11].isItemEqual(itemStack)) { + slots[11].stackSize += itemStack.stackSize; + } + if(slots[9].stackSize <= 0) + { + slots[9] = new ItemStack(slots[9].getItem().setFull3D()); + }else{ + slots[9].stackSize--; + } + if(slots[9].stackSize <= 0) + { + slots[9] = null; + } + } + if(this.slots[10] != null && isProcessable(this.slots[10])) + { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(slots[10]); + if(slots[12] == null) + { + slots[12] = itemStack.copy(); + }else if(slots[12].isItemEqual(itemStack)) { + slots[12].stackSize += itemStack.stackSize; + } + if(slots[10].stackSize <= 0) + { + slots[10] = new ItemStack(slots[10].getItem().setFull3D()); + }else{ + slots[10].stackSize--; + } + if(slots[10].stackSize <= 0) + { + slots[10] = null; + } + } + + this.progress = 0; + } + + if(this.slots[11] != null) + { + for(int i = 0; i < 9; i++) + { + int j = i + 13; + if(slots[j] != null) + { + if(slots[j].getItem() == slots[11].getItem() && slots[j].getItemDamage() == slots[11].getItemDamage()) + { + if(slots[j].stackSize < slots[j].getMaxStackSize()) + { + if(slots[j].stackSize + slots[11].stackSize <= slots[11].getMaxStackSize()) + { + slots[j].stackSize += slots[11].stackSize; + slots[11] = null; + break; + } else { + int k = slots[j].getMaxStackSize() - slots[j].stackSize; + if(k < 0) + { + slots[j].stackSize += k; + slots[11].stackSize -= k; + break; + } + } + } + } + } else { + slots[j] = slots[11].copy(); + slots[11] = null; + break; + } + } + } + + if(this.slots[12] != null) + { + for(int i = 0; i < 9; i++) + { + int j = i + 13; + if(slots[j] != null) + { + if(slots[j].getItem() == slots[12].getItem() && slots[j].getItemDamage() == slots[12].getItemDamage()) + { + if(slots[j].stackSize < slots[j].getMaxStackSize()) + { + if(slots[j].stackSize + slots[12].stackSize <= slots[12].getMaxStackSize()) + { + slots[j].stackSize += slots[12].stackSize; + slots[12] = null; + break; + } else { + int k = slots[j].getMaxStackSize() - slots[j].stackSize; + if(k < 0) + { + slots[j].stackSize += k; + slots[12].stackSize -= k; + break; + } + } + } + } + } else { + slots[j] = slots[12].copy(); + slots[12] = null; + break; + } + } + } + } + @Override + public void setPower(int i) { + if(this.slots[22] != null && this.slots[22].getItem() == ModItems.factory_core_titanium) + { + slots[22].setItemDamage(maxPower - i); + } + } + @Override + public int getPower() { + return power; + } + @Override + public int getMaxPower() { + return maxPower; + } + +} diff --git a/com/hbm/tileentity/TileEntityCrashedBomb.java b/com/hbm/tileentity/TileEntityCrashedBomb.java index 3f4d21043..198a1e83f 100644 --- a/com/hbm/tileentity/TileEntityCrashedBomb.java +++ b/com/hbm/tileentity/TileEntityCrashedBomb.java @@ -1,13 +1,13 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityCrashedBomb extends TileEntity { - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityCrashedBomb extends TileEntity { + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + +} diff --git a/com/hbm/tileentity/TileEntityDecoBlock.java b/com/hbm/tileentity/TileEntityDecoBlock.java index 084f6e616..6d24a9ead 100644 --- a/com/hbm/tileentity/TileEntityDecoBlock.java +++ b/com/hbm/tileentity/TileEntityDecoBlock.java @@ -1,13 +1,13 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityDecoBlock extends TileEntity { - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityDecoBlock extends TileEntity { + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + +} diff --git a/com/hbm/tileentity/TileEntityDecoBlockAlt.java b/com/hbm/tileentity/TileEntityDecoBlockAlt.java index 2d1674fff..d959bbb9c 100644 --- a/com/hbm/tileentity/TileEntityDecoBlockAlt.java +++ b/com/hbm/tileentity/TileEntityDecoBlockAlt.java @@ -1,13 +1,13 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityDecoBlockAlt extends TileEntity { - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityDecoBlockAlt extends TileEntity { + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + +} diff --git a/com/hbm/tileentity/TileEntityDecoBlockAltF.java b/com/hbm/tileentity/TileEntityDecoBlockAltF.java index 8d9c48015..f519d1feb 100644 --- a/com/hbm/tileentity/TileEntityDecoBlockAltF.java +++ b/com/hbm/tileentity/TileEntityDecoBlockAltF.java @@ -1,70 +1,70 @@ -package com.hbm.tileentity; - -import java.util.HashSet; -import java.util.List; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; - -public class TileEntityDecoBlockAltF extends TileEntity { - - @Override - public void updateEntity() { - int strength = 4; - float f = strength; - HashSet hashset = new HashSet(); - int i; - int j; - int k; - double d5; - double d6; - double d7; - double wat = 4*2; - boolean isOccupied = false; - - - strength *= 2.0F; - i = MathHelper.floor_double(this.xCoord - wat - 1.0D); - j = MathHelper.floor_double(this.xCoord + wat + 1.0D); - k = MathHelper.floor_double(this.yCoord - wat - 1.0D); - int i2 = MathHelper.floor_double(this.yCoord + wat + 1.0D); - int l = MathHelper.floor_double(this.zCoord - wat - 1.0D); - int j2 = MathHelper.floor_double(this.zCoord + wat + 1.0D); - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); - Vec3 vec3 = Vec3.createVectorHelper(this.xCoord, this.yCoord, this.zCoord); - - for (int i1 = 0; i1 < list.size(); ++i1) - { - Entity entity = (Entity)list.get(i1); - double d4 = entity.getDistance(this.xCoord, this.yCoord, this.zCoord) / 4; - - if (d4 <= 1.0D) - { - d5 = entity.posX - this.xCoord; - d6 = entity.posY + entity.getEyeHeight() - this.yCoord; - d7 = entity.posZ - this.zCoord; - double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); - if (d9 < wat) - { - if(entity instanceof EntityPlayer) { - ((EntityPlayer)entity).addPotionEffect(new PotionEffect(Potion.heal.id, 5, 99)); - ((EntityPlayer)entity).addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 5, 99)); - } - } - } - } - - strength = (int)f; - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import java.util.HashSet; +import java.util.List; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; + +public class TileEntityDecoBlockAltF extends TileEntity { + + @Override + public void updateEntity() { + int strength = 4; + float f = strength; + HashSet hashset = new HashSet(); + int i; + int j; + int k; + double d5; + double d6; + double d7; + double wat = 4*2; + boolean isOccupied = false; + + + strength *= 2.0F; + i = MathHelper.floor_double(this.xCoord - wat - 1.0D); + j = MathHelper.floor_double(this.xCoord + wat + 1.0D); + k = MathHelper.floor_double(this.yCoord - wat - 1.0D); + int i2 = MathHelper.floor_double(this.yCoord + wat + 1.0D); + int l = MathHelper.floor_double(this.zCoord - wat - 1.0D); + int j2 = MathHelper.floor_double(this.zCoord + wat + 1.0D); + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); + Vec3 vec3 = Vec3.createVectorHelper(this.xCoord, this.yCoord, this.zCoord); + + for (int i1 = 0; i1 < list.size(); ++i1) + { + Entity entity = (Entity)list.get(i1); + double d4 = entity.getDistance(this.xCoord, this.yCoord, this.zCoord) / 4; + + if (d4 <= 1.0D) + { + d5 = entity.posX - this.xCoord; + d6 = entity.posY + entity.getEyeHeight() - this.yCoord; + d7 = entity.posZ - this.zCoord; + double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); + if (d9 < wat) + { + if(entity instanceof EntityPlayer) { + ((EntityPlayer)entity).addPotionEffect(new PotionEffect(Potion.heal.id, 5, 99)); + ((EntityPlayer)entity).addPotionEffect(new PotionEffect(Potion.field_76443_y.id, 5, 99)); + } + } + } + } + + strength = (int)f; + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityDecoBlockAltG.java b/com/hbm/tileentity/TileEntityDecoBlockAltG.java index 8207a701a..f2ea2ef2a 100644 --- a/com/hbm/tileentity/TileEntityDecoBlockAltG.java +++ b/com/hbm/tileentity/TileEntityDecoBlockAltG.java @@ -1,13 +1,13 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityDecoBlockAltG extends TileEntity { - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityDecoBlockAltG extends TileEntity { + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + +} diff --git a/com/hbm/tileentity/TileEntityDecoBlockAltW.java b/com/hbm/tileentity/TileEntityDecoBlockAltW.java index df735af34..a03331de5 100644 --- a/com/hbm/tileentity/TileEntityDecoBlockAltW.java +++ b/com/hbm/tileentity/TileEntityDecoBlockAltW.java @@ -1,13 +1,13 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityDecoBlockAltW extends TileEntity { - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityDecoBlockAltW extends TileEntity { + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + +} diff --git a/com/hbm/tileentity/TileEntityDecoPoleSatelliteReceiver.java b/com/hbm/tileentity/TileEntityDecoPoleSatelliteReceiver.java index 604a2dee0..48971f53f 100644 --- a/com/hbm/tileentity/TileEntityDecoPoleSatelliteReceiver.java +++ b/com/hbm/tileentity/TileEntityDecoPoleSatelliteReceiver.java @@ -1,7 +1,7 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityDecoPoleSatelliteReceiver extends TileEntity { - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityDecoPoleSatelliteReceiver extends TileEntity { + +} diff --git a/com/hbm/tileentity/TileEntityDecoPoleTop.java b/com/hbm/tileentity/TileEntityDecoPoleTop.java index 05aed17ea..26ec8ecb4 100644 --- a/com/hbm/tileentity/TileEntityDecoPoleTop.java +++ b/com/hbm/tileentity/TileEntityDecoPoleTop.java @@ -1,7 +1,7 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityDecoPoleTop extends TileEntity { - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityDecoPoleTop extends TileEntity { + +} diff --git a/com/hbm/tileentity/TileEntityDecoSteelPoles.java b/com/hbm/tileentity/TileEntityDecoSteelPoles.java index a5b7706b2..7fcdbfd7e 100644 --- a/com/hbm/tileentity/TileEntityDecoSteelPoles.java +++ b/com/hbm/tileentity/TileEntityDecoSteelPoles.java @@ -1,7 +1,7 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityDecoSteelPoles extends TileEntity { - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityDecoSteelPoles extends TileEntity { + +} diff --git a/com/hbm/tileentity/TileEntityDecoTapeRecorder.java b/com/hbm/tileentity/TileEntityDecoTapeRecorder.java index 657efdb45..c8109aed6 100644 --- a/com/hbm/tileentity/TileEntityDecoTapeRecorder.java +++ b/com/hbm/tileentity/TileEntityDecoTapeRecorder.java @@ -1,29 +1,29 @@ -package com.hbm.tileentity; - -import com.hbm.blocks.DecoTapeRecorder; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityDecoTapeRecorder extends TileEntity { - - private int rot = 0; - - public int getRotation() { - if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof DecoTapeRecorder) - { - if(this.worldObj.isBlockIndirectlyGettingPowered(this.xCoord, this.yCoord, this.zCoord)) - { - rot += 3; - if(rot >= 360) - { - rot -=360; - } - return rot; - } - - rot = 0; - } - - return 0; - } -} +package com.hbm.tileentity; + +import com.hbm.blocks.generic.DecoTapeRecorder; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityDecoTapeRecorder extends TileEntity { + + private int rot = 0; + + public int getRotation() { + if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof DecoTapeRecorder) + { + if(this.worldObj.isBlockIndirectlyGettingPowered(this.xCoord, this.yCoord, this.zCoord)) + { + rot += 3; + if(rot >= 360) + { + rot -=360; + } + return rot; + } + + rot = 0; + } + + return 0; + } +} diff --git a/com/hbm/tileentity/TileEntityDiFurnace.java b/com/hbm/tileentity/TileEntityDiFurnace.java index 73c3f54d1..b27b29d6a 100644 --- a/com/hbm/tileentity/TileEntityDiFurnace.java +++ b/com/hbm/tileentity/TileEntityDiFurnace.java @@ -1,348 +1,348 @@ -package com.hbm.tileentity; - -import com.hbm.blocks.MachineDiFurnace; -import com.hbm.gui.MachineRecipes; -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityDiFurnace extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - - public int dualCookTime; - public int dualPower; - public static final int maxPower = 100000; - public static final int processingSpeed = 100; - - private static final int[] slots_top = new int[] {0}; - private static final int[] slots_bottom = new int[] {3}; - private static final int[] slots_side = new int[] {1}; - - private String customName; - - public TileEntityDiFurnace() { - slots = new ItemStack[4]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.diFurnace"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - if(i == 3) - { - return false; - } - - return true; - } - - public boolean hasItemPower(ItemStack itemStack) { - return getItemPower(itemStack) > 0; - } - - private static int getItemPower(ItemStack itemStack) { - if(itemStack == null) - { - return 0; - }else{ - Item item = itemStack.getItem(); - - if(item == Items.coal) return 2500; - if(item == Item.getItemFromBlock(Blocks.coal_block)) return 25000; - if(item == Items.lava_bucket) return 50000; - if(item == Items.redstone) return 1000; - if(item == Item.getItemFromBlock(Blocks.redstone_block)) return 10000; - if(item == Item.getItemFromBlock(Blocks.netherrack)) return 1750; - if(item == Items.blaze_rod) return 15000; - if(item == Items.blaze_powder) return 5000; - - return 0; - } - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - this.dualPower = nbt.getShort("powerTime"); - this.dualCookTime = nbt.getShort("cookTime"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("powerTime", (short) dualPower); - nbt.setShort("cookTime", (short) dualCookTime); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return true; - } - - public int getDiFurnaceProgressScaled(int i) { - return (dualCookTime * i) / processingSpeed; - } - - public int getPowerRemainingScaled(int i) { - return (dualPower * i) / maxPower; - } - - public boolean canProcess() { - if(slots[0] == null || slots[1] == null) - { - return false; - } - ItemStack itemStack = MachineRecipes.getFurnaceProcessingResult(slots[0].getItem(), slots[1].getItem()); - if(itemStack == null) - { - return false; - } - - if(slots[3] == null) - { - return true; - } - - if(!slots[3].isItemEqual(itemStack)) { - return false; - } - - if(slots[3].stackSize < getInventoryStackLimit() && slots[3].stackSize < slots[3].getMaxStackSize()) { - return true; - }else{ - return slots[3].stackSize < itemStack.getMaxStackSize(); - } - } - - private void processItem() { - if(canProcess()) { - ItemStack itemStack = MachineRecipes.getFurnaceProcessingResult(slots[0].getItem(), slots[1].getItem()); - - if(slots[3] == null) - { - slots[3] = itemStack.copy(); - }else if(slots[3].isItemEqual(itemStack)) { - slots[3].stackSize += itemStack.stackSize; - } - - for(int i = 0; i < 2; i++) - { - if(slots[i].stackSize <= 0) - { - slots[i] = new ItemStack(slots[i].getItem().setFull3D()); - }else{ - slots[i].stackSize--; - } - if(slots[i].stackSize <= 0) - { - slots[i] = null; - } - } - } - } - - public boolean hasPower() { - return dualPower > 0; - } - - public boolean isProcessing() { - return this.dualCookTime > 0; - } - - @Override - public void updateEntity() { - boolean flag = this.hasPower(); - boolean flag1 = false; - - if(hasPower() && isProcessing()) - { - this.dualPower = this.dualPower - 50; - - if(this.dualPower < 0) - { - this.dualPower = 0; - } - } - if (this.hasItemPower(this.slots[2]) - && this.dualPower <= (TileEntityDiFurnace.maxPower - TileEntityDiFurnace.getItemPower(this.slots[2]))) { - this.dualPower += getItemPower(this.slots[2]); - if (this.slots[2] != null) { - flag1 = true; - this.slots[2].stackSize--; - if (this.slots[2].stackSize == 0) { - this.slots[2] = this.slots[2].getItem().getContainerItem(this.slots[2]); - } - } - } - - if (hasPower() && canProcess()) { - dualCookTime++; - - if (this.dualCookTime == TileEntityDiFurnace.processingSpeed) { - this.dualCookTime = 0; - this.processItem(); - flag1 = true; - } - } else { - dualCookTime = 0; - } - - if(!worldObj.isRemote) - { - boolean trigger = true; - - if(hasPower() && canProcess() && this.dualCookTime == 0) - { - trigger = false; - } - - if (this.slots[2] != null && this.slots[2].getItem() == ModItems.pellet_rtg) { - - this.dualPower = maxPower; - } - - if(trigger) - { - flag1 = true; - MachineDiFurnace.updateBlockState(this.dualCookTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(flag1) - { - this.markDirty(); - } - } -} +package com.hbm.tileentity; + +import com.hbm.blocks.machine.MachineDiFurnace; +import com.hbm.gui.MachineRecipes; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityDiFurnace extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + + public int dualCookTime; + public int dualPower; + public static final int maxPower = 100000; + public static final int processingSpeed = 100; + + private static final int[] slots_top = new int[] {0}; + private static final int[] slots_bottom = new int[] {3}; + private static final int[] slots_side = new int[] {1}; + + private String customName; + + public TileEntityDiFurnace() { + slots = new ItemStack[4]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.diFurnace"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + if(i == 3) + { + return false; + } + + return true; + } + + public boolean hasItemPower(ItemStack itemStack) { + return getItemPower(itemStack) > 0; + } + + private static int getItemPower(ItemStack itemStack) { + if(itemStack == null) + { + return 0; + }else{ + Item item = itemStack.getItem(); + + if(item == Items.coal) return 2500; + if(item == Item.getItemFromBlock(Blocks.coal_block)) return 25000; + if(item == Items.lava_bucket) return 50000; + if(item == Items.redstone) return 1000; + if(item == Item.getItemFromBlock(Blocks.redstone_block)) return 10000; + if(item == Item.getItemFromBlock(Blocks.netherrack)) return 1750; + if(item == Items.blaze_rod) return 15000; + if(item == Items.blaze_powder) return 5000; + + return 0; + } + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.dualPower = nbt.getShort("powerTime"); + this.dualCookTime = nbt.getShort("cookTime"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("powerTime", (short) dualPower); + nbt.setShort("cookTime", (short) dualCookTime); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return true; + } + + public int getDiFurnaceProgressScaled(int i) { + return (dualCookTime * i) / processingSpeed; + } + + public int getPowerRemainingScaled(int i) { + return (dualPower * i) / maxPower; + } + + public boolean canProcess() { + if(slots[0] == null || slots[1] == null) + { + return false; + } + ItemStack itemStack = MachineRecipes.getFurnaceProcessingResult(slots[0].getItem(), slots[1].getItem()); + if(itemStack == null) + { + return false; + } + + if(slots[3] == null) + { + return true; + } + + if(!slots[3].isItemEqual(itemStack)) { + return false; + } + + if(slots[3].stackSize < getInventoryStackLimit() && slots[3].stackSize < slots[3].getMaxStackSize()) { + return true; + }else{ + return slots[3].stackSize < itemStack.getMaxStackSize(); + } + } + + private void processItem() { + if(canProcess()) { + ItemStack itemStack = MachineRecipes.getFurnaceProcessingResult(slots[0].getItem(), slots[1].getItem()); + + if(slots[3] == null) + { + slots[3] = itemStack.copy(); + }else if(slots[3].isItemEqual(itemStack)) { + slots[3].stackSize += itemStack.stackSize; + } + + for(int i = 0; i < 2; i++) + { + if(slots[i].stackSize <= 0) + { + slots[i] = new ItemStack(slots[i].getItem().setFull3D()); + }else{ + slots[i].stackSize--; + } + if(slots[i].stackSize <= 0) + { + slots[i] = null; + } + } + } + } + + public boolean hasPower() { + return dualPower > 0; + } + + public boolean isProcessing() { + return this.dualCookTime > 0; + } + + @Override + public void updateEntity() { + boolean flag = this.hasPower(); + boolean flag1 = false; + + if(hasPower() && isProcessing()) + { + this.dualPower = this.dualPower - 50; + + if(this.dualPower < 0) + { + this.dualPower = 0; + } + } + if (this.hasItemPower(this.slots[2]) + && this.dualPower <= (TileEntityDiFurnace.maxPower - TileEntityDiFurnace.getItemPower(this.slots[2]))) { + this.dualPower += getItemPower(this.slots[2]); + if (this.slots[2] != null) { + flag1 = true; + this.slots[2].stackSize--; + if (this.slots[2].stackSize == 0) { + this.slots[2] = this.slots[2].getItem().getContainerItem(this.slots[2]); + } + } + } + + if (hasPower() && canProcess()) { + dualCookTime++; + + if (this.dualCookTime == TileEntityDiFurnace.processingSpeed) { + this.dualCookTime = 0; + this.processItem(); + flag1 = true; + } + } else { + dualCookTime = 0; + } + + if(!worldObj.isRemote) + { + boolean trigger = true; + + if(hasPower() && canProcess() && this.dualCookTime == 0) + { + trigger = false; + } + + if (this.slots[2] != null && this.slots[2].getItem() == ModItems.pellet_rtg) { + + this.dualPower = maxPower; + } + + if(trigger) + { + flag1 = true; + MachineDiFurnace.updateBlockState(this.dualCookTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(flag1) + { + this.markDirty(); + } + } +} diff --git a/com/hbm/tileentity/TileEntityDummy.java b/com/hbm/tileentity/TileEntityDummy.java new file mode 100644 index 000000000..767c9d51d --- /dev/null +++ b/com/hbm/tileentity/TileEntityDummy.java @@ -0,0 +1,41 @@ +package com.hbm.tileentity; + +import com.hbm.interfaces.IBomb; +import com.hbm.interfaces.IMultiblock; +import com.hbm.interfaces.ISource; + +import net.minecraft.block.BlockContainer; +import net.minecraft.init.Blocks; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityDummy extends TileEntity { + + public int targetX; + public int targetY; + public int targetZ; + + public void updateEntity() { + if(!this.worldObj.isRemote) { + if(!(this.worldObj.getBlock(targetX, targetY, targetZ) instanceof IMultiblock)) { + worldObj.func_147480_a(xCoord, yCoord, zCoord, false); + } + } + } + + public void readFromNBT(NBTTagCompound nbt) + { + super.readFromNBT(nbt); + this.targetX = nbt.getInteger("tx"); + this.targetY = nbt.getInteger("ty"); + this.targetZ = nbt.getInteger("tz"); + } + + public void writeToNBT(NBTTagCompound nbt) + { + super.writeToNBT(nbt); + nbt.setInteger("tx", this.targetX); + nbt.setInteger("ty", this.targetY); + nbt.setInteger("tz", this.targetZ); + } +} diff --git a/com/hbm/tileentity/TileEntityFWatzCore.java b/com/hbm/tileentity/TileEntityFWatzCore.java index 0da146e29..bbbadd9f6 100644 --- a/com/hbm/tileentity/TileEntityFWatzCore.java +++ b/com/hbm/tileentity/TileEntityFWatzCore.java @@ -1,547 +1,547 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.IReactor; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.items.special.WatzFuel; -import com.hbm.lib.Library; -import com.hbm.main.MainRegistry; -import com.hbm.world.FWatz; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class TileEntityFWatzCore extends TileEntity implements ISidedInventory, IReactor, ISource { - - public int cool; - public final static int maxCool = 100000000; - public int power; - public final static int maxPower = 100000000; - public int amat; - public final static int maxAmat = 100000000; - public int aSchrab; - public final static int maxASchrab = 100000000; - public boolean cooldown = false; - - Random rand = new Random(); - - private ItemStack slots[]; - public int age = 0; - public List list = new ArrayList(); - - private String customName; - - public TileEntityFWatzCore() { - slots = new ItemStack[5]; - } - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.fusionaryWatzPlant"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return true; - } - } - - @Override - public void openInventory() {} - - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { - return false; - } - - @Override - public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { - return false; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - cool = nbt.getShort("cool") * 10000; - power = nbt.getShort("power") * 10000; - amat = nbt.getShort("amat") * 10000; - aSchrab = nbt.getShort("aSchrab") * 10000; - - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("cool", (short) (cool/10000)); - nbt.setShort("power", (short) (power/10000)); - nbt.setShort("amat", (short) (amat/10000)); - nbt.setShort("aSchrab", (short) (aSchrab/10000)); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public boolean isStructureValid(World world) { - return FWatz.checkHull(world, this.xCoord, this.yCoord, this.zCoord); - } - - @Override - public boolean isCoatingValid(World world) { - { - return true; - } - } - - @Override - public boolean hasFuse() { - return slots[1] != null && (slots[1].getItem() == ModItems.fuse || slots[1].getItem() == ModItems.screwdriver); - } - - @Override - public int getCoolantScaled(int i) { - return (cool/100 * i) / (maxCool/100); - } - - @Override - public int getPowerScaled(int i) { - return (power/100 * i) / (maxPower/100); - } - - @Override - public int getWaterScaled(int i) { - return (amat/100 * i) / (maxAmat/100); - } - - @Override - public int getHeatScaled(int i) { - return (aSchrab/100 * i) / (maxASchrab/100); - } - - public int getSingularityType() { - - if(slots[2] != null) { - Item item = slots[2].getItem(); - - if(item == ModItems.singularity) - return 1; - if(item == ModItems.singularity_counter_resonant) - return 2; - if(item == ModItems.singularity_super_heated) - return 3; - if(item == ModItems.black_hole) - return 4; - if(item == ModItems.overfuse) - return 5; - } - - return 0; - } - - @Override - public void updateEntity() { - if (this.isStructureValid(this.worldObj)) { - - age++; - if (age >= 20) { - age = 0; - } - - if (age == 9 || age == 19) - ffgeuaInit(); - - if (hasFuse() && getSingularityType() > 0 && isStructureValid(worldObj)) { - if(cooldown) { - - int i = getSingularityType(); - - if(i == 1) - cool += 1500; - if(i == 2) - cool += 3000; - if(i == 3) - cool += 750; - if(i == 4) - cool += 7500; - if(i == 5) - cool += 150000; - - if(cool >= maxCool) { - cooldown = false; - cool = maxCool; - } - - } else { - int i = getSingularityType(); - - boolean isWorking = false; - - if(i == 1 && amat - 750 >= 0 && aSchrab - 750 >= 0) { - cool -= 150; - amat -= 750; - aSchrab -= 750; - power += 500000; - isWorking = true; - } - if(i == 2 && amat - 750 >= 0 && aSchrab - 350 >= 0) { - cool -= 75; - amat -= 350; - aSchrab -= 300; - power += 250000; - isWorking = true; - } - if(i == 3 && amat - 750 >= 0 && aSchrab - 1400 >= 0) { - cool -= 300; - amat -= 750; - aSchrab -= 1400; - power += 1000000; - isWorking = true; - } - if(i == 4 && amat - 1000 >= 0 && aSchrab - 1000 >= 0) { - cool -= 100; - amat -= 1000; - aSchrab -= 1000; - power += 1000000; - isWorking = true; - } - if(i == 5 && amat - 150 >= 0 && aSchrab - 150 >= 0) { - cool -= 150; - amat -= 150; - aSchrab -= 150; - power += 10000000; - isWorking = true; - } - - if(power > maxPower) - power = maxPower; - - if(cool <= 0) { - cooldown = true; - cool = 0; - } - } - } - - if(power > maxPower) - power = maxPower; - - if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.battery_generic && slots[0].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[0].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced && slots[0].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[0].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium && slots[0].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[0].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.factory_core_titanium && slots[0].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[0].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.factory_core_advanced && slots[0].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[0].getItemDamage() - 1); - } - if(amat + 1000000 <= maxAmat && slots[3] != null && slots[3].getItem() == ModItems.cell_antimatter) - { - this.slots[3].stackSize--; - this.amat += 1000000; - if(this.slots[3].stackSize == 0) - { - this.slots[3] = null; - } - } - if(aSchrab + 1000000 <= maxASchrab && slots[4] != null && slots[4].getItem() == ModItems.cell_anti_schrabidium) - { - this.slots[4].stackSize--; - this.aSchrab += 1000000; - if(this.slots[4].stackSize == 0) - { - this.slots[4] = null; - } - } - - if(slots[3] != null && slots[3].getItem() == ModItems.inf_antimatter) - { - this.amat = maxAmat; - } - if(slots[4] != null && slots[4].getItem() == ModItems.inf_antischrabidium) - { - this.aSchrab = maxASchrab; - } - } - - if(this.isRunning() && (amat <= 0 || aSchrab <= 0 || !hasFuse() || getSingularityType() == 0) || cooldown || !this.isStructureValid(worldObj)) - this.emptyPlasma(); - - if(!this.isRunning() && amat >= 1000 && aSchrab >= 1000 && hasFuse() && getSingularityType() > 0 && !cooldown && this.isStructureValid(worldObj)) - this.fillPlasma(); - } - - public void fillPlasma() { - if(!this.worldObj.isRemote) - FWatz.fillPlasma(worldObj, this.xCoord, this.yCoord, this.zCoord); - } - - public void emptyPlasma() { - if(!this.worldObj.isRemote) - FWatz.emptyPlasma(worldObj, this.xCoord, this.yCoord, this.zCoord); - } - - public boolean isRunning() { - return FWatz.getPlasma(worldObj, this.xCoord, this.yCoord, this.zCoord) && this.isStructureValid(worldObj); - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if(tileentity instanceof IConductor) - { - if(tileentity instanceof TileEntityCable) - { - if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) - { - if(((TileEntityCable)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if(tileentity instanceof TileEntityWireCoated) - { - if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) - { - list.add((IConsumer)tileentity); - } - - if(!newTact) - { - int size = list.size(); - if(size > 0) - { - int part = this.power / size; - for(IConsumer consume : list) - { - if(consume.getPower() < consume.getMaxPower()) - { - if(consume.getMaxPower() - consume.getPower() >= part) - { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord + 10, this.yCoord - 11, this.zCoord, getTact()); - ffgeua(this.xCoord - 10, this.yCoord - 11, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 11, this.zCoord + 10, getTact()); - ffgeua(this.xCoord, this.yCoord - 11, this.zCoord - 10, getTact()); - } - - public boolean getTact() { - if(age >= 0 && age < 10) - { - return true; - } - - return false; - } -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.IReactor; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.items.special.WatzFuel; +import com.hbm.lib.Library; +import com.hbm.main.MainRegistry; +import com.hbm.world.FWatz; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class TileEntityFWatzCore extends TileEntity implements ISidedInventory, IReactor, ISource { + + public int cool; + public final static int maxCool = 100000000; + public int power; + public final static int maxPower = 100000000; + public int amat; + public final static int maxAmat = 100000000; + public int aSchrab; + public final static int maxASchrab = 100000000; + public boolean cooldown = false; + + Random rand = new Random(); + + private ItemStack slots[]; + public int age = 0; + public List list = new ArrayList(); + + private String customName; + + public TileEntityFWatzCore() { + slots = new ItemStack[5]; + } + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.fusionaryWatzPlant"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return true; + } + } + + @Override + public void openInventory() {} + + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { + return false; + } + + @Override + public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { + return false; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + cool = nbt.getShort("cool") * 10000; + power = nbt.getShort("power") * 10000; + amat = nbt.getShort("amat") * 10000; + aSchrab = nbt.getShort("aSchrab") * 10000; + + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("cool", (short) (cool/10000)); + nbt.setShort("power", (short) (power/10000)); + nbt.setShort("amat", (short) (amat/10000)); + nbt.setShort("aSchrab", (short) (aSchrab/10000)); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public boolean isStructureValid(World world) { + return FWatz.checkHull(world, this.xCoord, this.yCoord, this.zCoord); + } + + @Override + public boolean isCoatingValid(World world) { + { + return true; + } + } + + @Override + public boolean hasFuse() { + return slots[1] != null && (slots[1].getItem() == ModItems.fuse || slots[1].getItem() == ModItems.screwdriver); + } + + @Override + public int getCoolantScaled(int i) { + return (cool/100 * i) / (maxCool/100); + } + + @Override + public int getPowerScaled(int i) { + return (power/100 * i) / (maxPower/100); + } + + @Override + public int getWaterScaled(int i) { + return (amat/100 * i) / (maxAmat/100); + } + + @Override + public int getHeatScaled(int i) { + return (aSchrab/100 * i) / (maxASchrab/100); + } + + public int getSingularityType() { + + if(slots[2] != null) { + Item item = slots[2].getItem(); + + if(item == ModItems.singularity) + return 1; + if(item == ModItems.singularity_counter_resonant) + return 2; + if(item == ModItems.singularity_super_heated) + return 3; + if(item == ModItems.black_hole) + return 4; + if(item == ModItems.overfuse) + return 5; + } + + return 0; + } + + @Override + public void updateEntity() { + if (this.isStructureValid(this.worldObj)) { + + age++; + if (age >= 20) { + age = 0; + } + + if (age == 9 || age == 19) + ffgeuaInit(); + + if (hasFuse() && getSingularityType() > 0 && isStructureValid(worldObj)) { + if(cooldown) { + + int i = getSingularityType(); + + if(i == 1) + cool += 1500; + if(i == 2) + cool += 3000; + if(i == 3) + cool += 750; + if(i == 4) + cool += 7500; + if(i == 5) + cool += 150000; + + if(cool >= maxCool) { + cooldown = false; + cool = maxCool; + } + + } else { + int i = getSingularityType(); + + boolean isWorking = false; + + if(i == 1 && amat - 750 >= 0 && aSchrab - 750 >= 0) { + cool -= 150; + amat -= 750; + aSchrab -= 750; + power += 500000; + isWorking = true; + } + if(i == 2 && amat - 750 >= 0 && aSchrab - 350 >= 0) { + cool -= 75; + amat -= 350; + aSchrab -= 300; + power += 250000; + isWorking = true; + } + if(i == 3 && amat - 750 >= 0 && aSchrab - 1400 >= 0) { + cool -= 300; + amat -= 750; + aSchrab -= 1400; + power += 1000000; + isWorking = true; + } + if(i == 4 && amat - 1000 >= 0 && aSchrab - 1000 >= 0) { + cool -= 100; + amat -= 1000; + aSchrab -= 1000; + power += 1000000; + isWorking = true; + } + if(i == 5 && amat - 150 >= 0 && aSchrab - 150 >= 0) { + cool -= 150; + amat -= 150; + aSchrab -= 150; + power += 10000000; + isWorking = true; + } + + if(power > maxPower) + power = maxPower; + + if(cool <= 0) { + cooldown = true; + cool = 0; + } + } + } + + if(power > maxPower) + power = maxPower; + + if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.battery_generic && slots[0].getItemDamage() > 0) + { + power -= 100; + slots[0].setItemDamage(slots[0].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced && slots[0].getItemDamage() > 0) + { + power -= 100; + slots[0].setItemDamage(slots[0].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium && slots[0].getItemDamage() > 0) + { + power -= 100; + slots[0].setItemDamage(slots[0].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.factory_core_titanium && slots[0].getItemDamage() > 0) + { + power -= 100; + slots[0].setItemDamage(slots[0].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[0] != null && slots[0].getItem() == ModItems.factory_core_advanced && slots[0].getItemDamage() > 0) + { + power -= 100; + slots[0].setItemDamage(slots[0].getItemDamage() - 1); + } + if(amat + 1000000 <= maxAmat && slots[3] != null && slots[3].getItem() == ModItems.cell_antimatter) + { + this.slots[3].stackSize--; + this.amat += 1000000; + if(this.slots[3].stackSize == 0) + { + this.slots[3] = null; + } + } + if(aSchrab + 1000000 <= maxASchrab && slots[4] != null && slots[4].getItem() == ModItems.cell_anti_schrabidium) + { + this.slots[4].stackSize--; + this.aSchrab += 1000000; + if(this.slots[4].stackSize == 0) + { + this.slots[4] = null; + } + } + + if(slots[3] != null && slots[3].getItem() == ModItems.inf_antimatter) + { + this.amat = maxAmat; + } + if(slots[4] != null && slots[4].getItem() == ModItems.inf_antischrabidium) + { + this.aSchrab = maxASchrab; + } + } + + if(this.isRunning() && (amat <= 0 || aSchrab <= 0 || !hasFuse() || getSingularityType() == 0) || cooldown || !this.isStructureValid(worldObj)) + this.emptyPlasma(); + + if(!this.isRunning() && amat >= 1000 && aSchrab >= 1000 && hasFuse() && getSingularityType() > 0 && !cooldown && this.isStructureValid(worldObj)) + this.fillPlasma(); + } + + public void fillPlasma() { + if(!this.worldObj.isRemote) + FWatz.fillPlasma(worldObj, this.xCoord, this.yCoord, this.zCoord); + } + + public void emptyPlasma() { + if(!this.worldObj.isRemote) + FWatz.emptyPlasma(worldObj, this.xCoord, this.yCoord, this.zCoord); + } + + public boolean isRunning() { + return FWatz.getPlasma(worldObj, this.xCoord, this.yCoord, this.zCoord) && this.isStructureValid(worldObj); + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if(tileentity instanceof IConductor) + { + if(tileentity instanceof TileEntityCable) + { + if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) + { + if(((TileEntityCable)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if(tileentity instanceof TileEntityWireCoated) + { + if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) + { + list.add((IConsumer)tileentity); + } + + if(!newTact) + { + int size = list.size(); + if(size > 0) + { + int part = this.power / size; + for(IConsumer consume : list) + { + if(consume.getPower() < consume.getMaxPower()) + { + if(consume.getMaxPower() - consume.getPower() >= part) + { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord + 10, this.yCoord - 11, this.zCoord, getTact()); + ffgeua(this.xCoord - 10, this.yCoord - 11, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 11, this.zCoord + 10, getTact()); + ffgeua(this.xCoord, this.yCoord - 11, this.zCoord - 10, getTact()); + } + + public boolean getTact() { + if(age >= 0 && age < 10) + { + return true; + } + + return false; + } +} diff --git a/com/hbm/tileentity/TileEntityFusionMultiblock.java b/com/hbm/tileentity/TileEntityFusionMultiblock.java index 952b611ae..ab4e72c65 100644 --- a/com/hbm/tileentity/TileEntityFusionMultiblock.java +++ b/com/hbm/tileentity/TileEntityFusionMultiblock.java @@ -1,1389 +1,1389 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; - -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.IReactor; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class TileEntityFusionMultiblock extends TileEntity implements ISidedInventory, IReactor, ISource { - - public int water; - public final static int waterMax = 10000000; - public int deut; - public final static int deutMax = 10000000; - public int trit; - public final static int tritMax = 10000000; - public int power; - public final static int maxPower = 10000000; - private ItemStack slots[]; - public int age = 0; - public List list = new ArrayList(); - - private String customName; - - public TileEntityFusionMultiblock() { - slots = new ItemStack[9]; - } - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.fusionMultiblock"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return true; - } - } - - @Override - public void openInventory() {} - - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { - return false; - } - - @Override - public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { - return false; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - water = nbt.getShort("water") * 1000; - deut = nbt.getShort("deut") * 1000; - power = nbt.getShort("power") * 1000; - trit = nbt.getShort("trit") * 1000; - - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("water", (short) (water/1000)); - nbt.setShort("deut", (short) (deut/1000)); - nbt.setShort("power", (short) (power/1000)); - nbt.setShort("trit", (short) (trit/1000)); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public boolean isStructureValid(World world) { - if(world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 8, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_center && - world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_motor && - - world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 8, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_center && - world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_motor && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_motor && - - world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 4) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 4) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 4) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 4) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 4) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 4) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 8, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 7) == ModBlocks.fusion_heater && - - world.getBlock(this.xCoord + 8, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 7) == ModBlocks.fusion_heater && - - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.fusion_center && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.fusion_center && - world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord + 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord - 3) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord + 3) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord - 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord, this.zCoord - 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 4, this.yCoord, this.zCoord + 5) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 4) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 4, this.yCoord, this.zCoord + 5) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && - - world.getBlock(this.xCoord + 8, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 8, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_hatch && - world.getBlock(this.xCoord + 8, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 7, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 8, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_hatch && - world.getBlock(this.xCoord - 8, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 7, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord + 8) == ModBlocks.fusion_hatch && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord - 8) == ModBlocks.fusion_hatch && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 8) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord - 7) == ModBlocks.fusion_heater && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 7) == ModBlocks.fusion_heater && - - world.getBlock(this.xCoord, this.yCoord, this.zCoord) == ModBlocks.fusion_core) - { - return true; - } - - return false; - } - - @Override - public boolean isCoatingValid(World world) { - if(world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 3) == ModBlocks.block_tungsten && - - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 3) == ModBlocks.block_tungsten && - - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord - 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord - 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord + 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord + 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord - 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord - 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord + 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord + 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && - - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord - 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord - 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 0) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord - 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord - 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 0) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 1) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 2) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord + 4, this.yCoord, this.zCoord - 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord, this.zCoord + 4) == ModBlocks.block_tungsten && - world.getBlock(this.xCoord - 4, this.yCoord, this.zCoord - 4) == ModBlocks.block_tungsten) - { - return true; - } - - return false; - } - - @Override - public boolean hasFuse() { - return slots[8] != null && (slots[8].getItem() == ModItems.fuse || slots[8].getItem() == ModItems.screwdriver); - } - - @Override - public int getWaterScaled(int i) { - return (water * i) / waterMax; - } - - @Override - public int getCoolantScaled(int i) { - return (deut * i) / deutMax; - } - - @Override - public int getHeatScaled(int i) { - return (trit * i) / tritMax; - } - - @Override - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - @Override - public void updateEntity() { - age++; - if(age >= 20) - { - age = 0; - } - - if(age == 9 || age == 19) - ffgeuaInit(); - - //if(!worldObj.isRemote) - { - if(slots[0] != null && slots[0].getItem() == Items.water_bucket && this.water + 250000 <= waterMax) - { - this.slots[0].stackSize--; - this.water += 250000; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - if(slots[0] != null && slots[0].getItem() == ModItems.rod_water && this.water + 250000 <= waterMax) - { - this.slots[0].stackSize--; - this.water += 250000; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - if(slots[0] != null && slots[0].getItem() == ModItems.rod_dual_water && this.water + 500000 <= waterMax) - { - this.slots[0].stackSize--; - this.water += 500000; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - if(slots[0] != null && slots[0].getItem() == ModItems.rod_quad_water && this.water + 1000000 <= waterMax) - { - this.slots[0].stackSize--; - this.water += 1000000; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - - if(slots[2] != null && slots[2].getItem() == ModItems.cell_deuterium && this.deut + 1000000 <= deutMax) - { - this.slots[2].stackSize--; - this.deut += 1000000; - if(this.slots[2].stackSize == 0) - { - this.slots[2] = null; - } - } - if(slots[3] != null && slots[3].getItem() == ModItems.cell_tritium && this.trit + 1000000 <= tritMax) - { - this.slots[3].stackSize--; - this.trit += 1000000; - if(this.slots[3].stackSize == 0) - { - this.slots[3] = null; - } - } - - if(slots[2] != null && slots[2].getItem() == ModItems.tritium_deuterium_cake && trit + 7500000 <= tritMax && deut + 7500000 <= deutMax) - { - this.slots[2].stackSize--; - this.deut += 7500000; - this.trit += 7500000; - if(this.slots[2].stackSize == 0) - { - this.slots[2] = null; - } - } - - if(slots[3] != null && slots[3].getItem() == ModItems.tritium_deuterium_cake && trit + 7500000 <= tritMax && deut + 7500000 <= deutMax) - { - this.slots[3].stackSize--; - this.deut += 7500000; - this.trit += 7500000; - if(this.slots[3].stackSize == 0) - { - this.slots[3] = null; - } - } - - if(slots[0] != null && slots[0].getItem() == ModItems.inf_water) - { - this.water = waterMax; - } - if(slots[2] != null && slots[2].getItem() == ModItems.inf_deuterium) - { - this.deut = deutMax; - } - if(slots[3] != null && slots[3].getItem() == ModItems.inf_tritium) - { - this.trit = tritMax; - } - - if(!isRunning() && - slots[4] != null && (slots[4].getItem() == ModItems.fusion_core || slots[4].getItem() == ModItems.energy_core) && slots[4].getItemDamage() == 0 && - slots[5] != null && (slots[5].getItem() == ModItems.fusion_core || slots[5].getItem() == ModItems.energy_core) && slots[5].getItemDamage() == 0 && - slots[6] != null && (slots[6].getItem() == ModItems.fusion_core || slots[6].getItem() == ModItems.energy_core) && slots[6].getItemDamage() == 0 && - slots[7] != null && (slots[7].getItem() == ModItems.fusion_core || slots[7].getItem() == ModItems.energy_core) && slots[7].getItemDamage() == 0 && - hasFuse() && - deut > 0 && trit > 0) - { - slots[4] = null; - slots[5] = null; - slots[6] = null; - slots[7] = null; - fillPlasma(); - } else { - if(isStructureValid(worldObj) && isRunning()) - { - deut -= 100; - trit -= 100; - - if(water - 1000 >= 0) - { - water -= 1000; - power += 10000; - - if(isCoatingValid(worldObj)) - { - power += 10000; - } - - if(power > maxPower) - { - power = maxPower; - } - } - - fillPlasma(); - } else { - emptyPlasma(); - } - } - - if(!isRunning()) - { - emptyPlasma(); - } - - if(deut <= 0 || trit <= 0) - { - emptyPlasma(); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_generic && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_advanced && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_schrabidium && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.factory_core_titanium && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.factory_core_advanced && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - } - } - - public boolean isRunning() { - if(hasFuse() && ( - worldObj.getBlock(xCoord + 4, yCoord, zCoord - 3) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 4, yCoord, zCoord - 2) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 4, yCoord, zCoord - 1) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 4, yCoord, zCoord + 0) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 4, yCoord, zCoord + 1) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 4, yCoord, zCoord + 2) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 4, yCoord, zCoord + 3) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 4, yCoord, zCoord - 3) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 4, yCoord, zCoord - 2) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 4, yCoord, zCoord - 1) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 4, yCoord, zCoord + 0) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 4, yCoord, zCoord + 1) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 4, yCoord, zCoord + 2) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 4, yCoord, zCoord + 3) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 3, yCoord, zCoord + 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 2, yCoord, zCoord + 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 1, yCoord, zCoord + 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 0, yCoord, zCoord + 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 1, yCoord, zCoord + 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 2, yCoord, zCoord + 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 3, yCoord, zCoord + 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 3, yCoord, zCoord - 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 2, yCoord, zCoord - 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 1, yCoord, zCoord - 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 0, yCoord, zCoord - 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 1, yCoord, zCoord - 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 2, yCoord, zCoord - 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 3, yCoord, zCoord - 4) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 3, yCoord, zCoord + 3) == ModBlocks.plasma || - worldObj.getBlock(xCoord + 3, yCoord, zCoord - 3) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 3, yCoord, zCoord + 3) == ModBlocks.plasma || - worldObj.getBlock(xCoord - 3, yCoord, zCoord - 3) == ModBlocks.plasma)) - { - return true; - } - return false; - } - - public void fillPlasma() { - setPlasma(xCoord + 4, yCoord, zCoord - 3); - setPlasma(xCoord + 4, yCoord, zCoord - 2); - setPlasma(xCoord + 4, yCoord, zCoord - 1); - setPlasma(xCoord + 4, yCoord, zCoord + 0); - setPlasma(xCoord + 4, yCoord, zCoord + 1); - setPlasma(xCoord + 4, yCoord, zCoord + 2); - setPlasma(xCoord + 4, yCoord, zCoord + 3); - setPlasma(xCoord - 4, yCoord, zCoord - 3); - setPlasma(xCoord - 4, yCoord, zCoord - 2); - setPlasma(xCoord - 4, yCoord, zCoord - 1); - setPlasma(xCoord - 4, yCoord, zCoord + 0); - setPlasma(xCoord - 4, yCoord, zCoord + 1); - setPlasma(xCoord - 4, yCoord, zCoord + 2); - setPlasma(xCoord - 4, yCoord, zCoord + 3); - setPlasma(xCoord - 3, yCoord, zCoord + 4); - setPlasma(xCoord - 2, yCoord, zCoord + 4); - setPlasma(xCoord - 1, yCoord, zCoord + 4); - setPlasma(xCoord + 0, yCoord, zCoord + 4); - setPlasma(xCoord + 1, yCoord, zCoord + 4); - setPlasma(xCoord + 2, yCoord, zCoord + 4); - setPlasma(xCoord + 3, yCoord, zCoord + 4); - setPlasma(xCoord - 3, yCoord, zCoord - 4); - setPlasma(xCoord - 2, yCoord, zCoord - 4); - setPlasma(xCoord - 1, yCoord, zCoord - 4); - setPlasma(xCoord + 0, yCoord, zCoord - 4); - setPlasma(xCoord + 1, yCoord, zCoord - 4); - setPlasma(xCoord + 2, yCoord, zCoord - 4); - setPlasma(xCoord + 3, yCoord, zCoord - 4); - setPlasma(xCoord + 3, yCoord, zCoord + 3); - setPlasma(xCoord + 3, yCoord, zCoord - 3); - setPlasma(xCoord - 3, yCoord, zCoord + 3); - setPlasma(xCoord - 3, yCoord, zCoord - 3); - } - - public void emptyPlasma() { - removePlasma(xCoord + 4, yCoord, zCoord - 3); - removePlasma(xCoord + 4, yCoord, zCoord - 2); - removePlasma(xCoord + 4, yCoord, zCoord - 1); - removePlasma(xCoord + 4, yCoord, zCoord + 0); - removePlasma(xCoord + 4, yCoord, zCoord + 1); - removePlasma(xCoord + 4, yCoord, zCoord + 2); - removePlasma(xCoord + 4, yCoord, zCoord + 3); - removePlasma(xCoord - 4, yCoord, zCoord - 3); - removePlasma(xCoord - 4, yCoord, zCoord - 2); - removePlasma(xCoord - 4, yCoord, zCoord - 1); - removePlasma(xCoord - 4, yCoord, zCoord + 0); - removePlasma(xCoord - 4, yCoord, zCoord + 1); - removePlasma(xCoord - 4, yCoord, zCoord + 2); - removePlasma(xCoord - 4, yCoord, zCoord + 3); - removePlasma(xCoord - 3, yCoord, zCoord + 4); - removePlasma(xCoord - 2, yCoord, zCoord + 4); - removePlasma(xCoord - 1, yCoord, zCoord + 4); - removePlasma(xCoord + 0, yCoord, zCoord + 4); - removePlasma(xCoord + 1, yCoord, zCoord + 4); - removePlasma(xCoord + 2, yCoord, zCoord + 4); - removePlasma(xCoord + 3, yCoord, zCoord + 4); - removePlasma(xCoord - 3, yCoord, zCoord - 4); - removePlasma(xCoord - 2, yCoord, zCoord - 4); - removePlasma(xCoord - 1, yCoord, zCoord - 4); - removePlasma(xCoord + 0, yCoord, zCoord - 4); - removePlasma(xCoord + 1, yCoord, zCoord - 4); - removePlasma(xCoord + 2, yCoord, zCoord - 4); - removePlasma(xCoord + 3, yCoord, zCoord - 4); - removePlasma(xCoord + 3, yCoord, zCoord + 3); - removePlasma(xCoord + 3, yCoord, zCoord - 3); - removePlasma(xCoord - 3, yCoord, zCoord + 3); - removePlasma(xCoord - 3, yCoord, zCoord - 3); - } - - public void setPlasma(int x, int y, int z) { - if(worldObj.getBlock(x, y, z) != ModBlocks.plasma) - worldObj.setBlock(x, y, z, ModBlocks.plasma); - } - - public void removePlasma(int x, int y, int z) { - if(worldObj.getBlock(x, y, z) == ModBlocks.plasma) - worldObj.setBlock(x, y, z, Blocks.air); - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if(tileentity instanceof IConductor) - { - if(tileentity instanceof TileEntityCable) - { - if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) - { - if(((TileEntityCable)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if(tileentity instanceof TileEntityWireCoated) - { - if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) - { - list.add((IConsumer)tileentity); - } - - if(!newTact) - { - int size = list.size(); - if(size > 0) - { - int part = this.power / size; - for(IConsumer consume : list) - { - if(consume.getPower() < consume.getMaxPower()) - { - if(consume.getMaxPower() - consume.getPower() >= part) - { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord, this.yCoord + 3, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 3, this.zCoord, getTact()); - } - - public boolean getTact() { - if(age >= 0 && age < 10) - { - return true; - } - - return false; - } - -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.blocks.ModBlocks; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.IReactor; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class TileEntityFusionMultiblock extends TileEntity implements ISidedInventory, IReactor, ISource { + + public int water; + public final static int waterMax = 10000000; + public int deut; + public final static int deutMax = 10000000; + public int trit; + public final static int tritMax = 10000000; + public int power; + public final static int maxPower = 10000000; + private ItemStack slots[]; + public int age = 0; + public List list = new ArrayList(); + + private String customName; + + public TileEntityFusionMultiblock() { + slots = new ItemStack[9]; + } + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.fusionMultiblock"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return true; + } + } + + @Override + public void openInventory() {} + + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { + return false; + } + + @Override + public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { + return false; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + water = nbt.getShort("water") * 1000; + deut = nbt.getShort("deut") * 1000; + power = nbt.getShort("power") * 1000; + trit = nbt.getShort("trit") * 1000; + + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("water", (short) (water/1000)); + nbt.setShort("deut", (short) (deut/1000)); + nbt.setShort("power", (short) (power/1000)); + nbt.setShort("trit", (short) (trit/1000)); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public boolean isStructureValid(World world) { + if(world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 8, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_center && + world.getBlock(this.xCoord + 0, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 0) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 1) == ModBlocks.fusion_motor && + + world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 2, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 8, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_center && + world.getBlock(this.xCoord + 0, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 1) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 0) == ModBlocks.fusion_motor && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 1) == ModBlocks.fusion_motor && + + world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord - 1, this.zCoord + 4) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord - 1, this.zCoord + 4) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 4) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 6) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 6) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord + 1, this.zCoord + 4) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord + 1, this.zCoord + 4) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 5) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 5) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 4) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 2) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 8, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord + 1, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord + 1, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord + 1, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord + 1, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 7) == ModBlocks.fusion_heater && + + world.getBlock(this.xCoord + 8, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord - 1, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord - 1, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord - 1, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord - 1, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 7) == ModBlocks.fusion_heater && + + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.fusion_center && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.fusion_center && + world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 6, this.yCoord, this.zCoord + 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord - 3) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 6, this.yCoord, this.zCoord + 3) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord + 6) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord - 6) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord - 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord, this.zCoord - 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 4, this.yCoord, this.zCoord + 5) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 4) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 4, this.yCoord, this.zCoord + 5) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 2) == ModBlocks.fusion_conductor && + + world.getBlock(this.xCoord + 8, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 8, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_hatch && + world.getBlock(this.xCoord + 8, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 7, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 8, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_hatch && + world.getBlock(this.xCoord - 8, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord, this.zCoord - 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord, this.zCoord + 0) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 7, this.yCoord, this.zCoord + 1) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord + 8) == ModBlocks.fusion_hatch && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord - 8) == ModBlocks.fusion_hatch && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 8) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord - 7) == ModBlocks.fusion_heater && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 7) == ModBlocks.fusion_heater && + + world.getBlock(this.xCoord, this.yCoord, this.zCoord) == ModBlocks.fusion_core) + { + return true; + } + + return false; + } + + @Override + public boolean isCoatingValid(World world) { + if(world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord - 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord - 1, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord - 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord - 1, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord - 1, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord - 1, this.zCoord - 3) == ModBlocks.block_tungsten && + + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord - 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord + 1, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord - 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord + 1, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord + 1, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord + 1, this.zCoord - 3) == ModBlocks.block_tungsten && + + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord - 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord - 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord + 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord + 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord - 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord - 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord + 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord + 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && + + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord - 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord - 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 0) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 5, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord - 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord - 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord - 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 0) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 1) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 2) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 5, this.yCoord, this.zCoord + 3) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord + 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 0, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord - 5) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord + 4, this.yCoord, this.zCoord - 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord, this.zCoord + 4) == ModBlocks.block_tungsten && + world.getBlock(this.xCoord - 4, this.yCoord, this.zCoord - 4) == ModBlocks.block_tungsten) + { + return true; + } + + return false; + } + + @Override + public boolean hasFuse() { + return slots[8] != null && (slots[8].getItem() == ModItems.fuse || slots[8].getItem() == ModItems.screwdriver); + } + + @Override + public int getWaterScaled(int i) { + return (water * i) / waterMax; + } + + @Override + public int getCoolantScaled(int i) { + return (deut * i) / deutMax; + } + + @Override + public int getHeatScaled(int i) { + return (trit * i) / tritMax; + } + + @Override + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + @Override + public void updateEntity() { + age++; + if(age >= 20) + { + age = 0; + } + + if(age == 9 || age == 19) + ffgeuaInit(); + + //if(!worldObj.isRemote) + { + if(slots[0] != null && slots[0].getItem() == Items.water_bucket && this.water + 250000 <= waterMax) + { + this.slots[0].stackSize--; + this.water += 250000; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + if(slots[0] != null && slots[0].getItem() == ModItems.rod_water && this.water + 250000 <= waterMax) + { + this.slots[0].stackSize--; + this.water += 250000; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + if(slots[0] != null && slots[0].getItem() == ModItems.rod_dual_water && this.water + 500000 <= waterMax) + { + this.slots[0].stackSize--; + this.water += 500000; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + if(slots[0] != null && slots[0].getItem() == ModItems.rod_quad_water && this.water + 1000000 <= waterMax) + { + this.slots[0].stackSize--; + this.water += 1000000; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + + if(slots[2] != null && slots[2].getItem() == ModItems.cell_deuterium && this.deut + 1000000 <= deutMax) + { + this.slots[2].stackSize--; + this.deut += 1000000; + if(this.slots[2].stackSize == 0) + { + this.slots[2] = null; + } + } + if(slots[3] != null && slots[3].getItem() == ModItems.cell_tritium && this.trit + 1000000 <= tritMax) + { + this.slots[3].stackSize--; + this.trit += 1000000; + if(this.slots[3].stackSize == 0) + { + this.slots[3] = null; + } + } + + if(slots[2] != null && slots[2].getItem() == ModItems.tritium_deuterium_cake && trit + 7500000 <= tritMax && deut + 7500000 <= deutMax) + { + this.slots[2].stackSize--; + this.deut += 7500000; + this.trit += 7500000; + if(this.slots[2].stackSize == 0) + { + this.slots[2] = null; + } + } + + if(slots[3] != null && slots[3].getItem() == ModItems.tritium_deuterium_cake && trit + 7500000 <= tritMax && deut + 7500000 <= deutMax) + { + this.slots[3].stackSize--; + this.deut += 7500000; + this.trit += 7500000; + if(this.slots[3].stackSize == 0) + { + this.slots[3] = null; + } + } + + if(slots[0] != null && slots[0].getItem() == ModItems.inf_water) + { + this.water = waterMax; + } + if(slots[2] != null && slots[2].getItem() == ModItems.inf_deuterium) + { + this.deut = deutMax; + } + if(slots[3] != null && slots[3].getItem() == ModItems.inf_tritium) + { + this.trit = tritMax; + } + + if(!isRunning() && + slots[4] != null && (slots[4].getItem() == ModItems.fusion_core || slots[4].getItem() == ModItems.energy_core) && slots[4].getItemDamage() == 0 && + slots[5] != null && (slots[5].getItem() == ModItems.fusion_core || slots[5].getItem() == ModItems.energy_core) && slots[5].getItemDamage() == 0 && + slots[6] != null && (slots[6].getItem() == ModItems.fusion_core || slots[6].getItem() == ModItems.energy_core) && slots[6].getItemDamage() == 0 && + slots[7] != null && (slots[7].getItem() == ModItems.fusion_core || slots[7].getItem() == ModItems.energy_core) && slots[7].getItemDamage() == 0 && + hasFuse() && + deut > 0 && trit > 0) + { + slots[4] = null; + slots[5] = null; + slots[6] = null; + slots[7] = null; + fillPlasma(); + } else { + if(isStructureValid(worldObj) && isRunning()) + { + deut -= 100; + trit -= 100; + + if(water - 1000 >= 0) + { + water -= 1000; + power += 10000; + + if(isCoatingValid(worldObj)) + { + power += 10000; + } + + if(power > maxPower) + { + power = maxPower; + } + } + + fillPlasma(); + } else { + emptyPlasma(); + } + } + + if(!isRunning()) + { + emptyPlasma(); + } + + if(deut <= 0 || trit <= 0) + { + emptyPlasma(); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_generic && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_advanced && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_schrabidium && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.factory_core_titanium && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.factory_core_advanced && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + } + } + + public boolean isRunning() { + if(hasFuse() && ( + worldObj.getBlock(xCoord + 4, yCoord, zCoord - 3) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 4, yCoord, zCoord - 2) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 4, yCoord, zCoord - 1) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 4, yCoord, zCoord + 0) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 4, yCoord, zCoord + 1) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 4, yCoord, zCoord + 2) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 4, yCoord, zCoord + 3) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 4, yCoord, zCoord - 3) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 4, yCoord, zCoord - 2) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 4, yCoord, zCoord - 1) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 4, yCoord, zCoord + 0) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 4, yCoord, zCoord + 1) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 4, yCoord, zCoord + 2) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 4, yCoord, zCoord + 3) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 3, yCoord, zCoord + 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 2, yCoord, zCoord + 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 1, yCoord, zCoord + 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 0, yCoord, zCoord + 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 1, yCoord, zCoord + 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 2, yCoord, zCoord + 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 3, yCoord, zCoord + 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 3, yCoord, zCoord - 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 2, yCoord, zCoord - 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 1, yCoord, zCoord - 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 0, yCoord, zCoord - 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 1, yCoord, zCoord - 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 2, yCoord, zCoord - 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 3, yCoord, zCoord - 4) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 3, yCoord, zCoord + 3) == ModBlocks.plasma || + worldObj.getBlock(xCoord + 3, yCoord, zCoord - 3) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 3, yCoord, zCoord + 3) == ModBlocks.plasma || + worldObj.getBlock(xCoord - 3, yCoord, zCoord - 3) == ModBlocks.plasma)) + { + return true; + } + return false; + } + + public void fillPlasma() { + setPlasma(xCoord + 4, yCoord, zCoord - 3); + setPlasma(xCoord + 4, yCoord, zCoord - 2); + setPlasma(xCoord + 4, yCoord, zCoord - 1); + setPlasma(xCoord + 4, yCoord, zCoord + 0); + setPlasma(xCoord + 4, yCoord, zCoord + 1); + setPlasma(xCoord + 4, yCoord, zCoord + 2); + setPlasma(xCoord + 4, yCoord, zCoord + 3); + setPlasma(xCoord - 4, yCoord, zCoord - 3); + setPlasma(xCoord - 4, yCoord, zCoord - 2); + setPlasma(xCoord - 4, yCoord, zCoord - 1); + setPlasma(xCoord - 4, yCoord, zCoord + 0); + setPlasma(xCoord - 4, yCoord, zCoord + 1); + setPlasma(xCoord - 4, yCoord, zCoord + 2); + setPlasma(xCoord - 4, yCoord, zCoord + 3); + setPlasma(xCoord - 3, yCoord, zCoord + 4); + setPlasma(xCoord - 2, yCoord, zCoord + 4); + setPlasma(xCoord - 1, yCoord, zCoord + 4); + setPlasma(xCoord + 0, yCoord, zCoord + 4); + setPlasma(xCoord + 1, yCoord, zCoord + 4); + setPlasma(xCoord + 2, yCoord, zCoord + 4); + setPlasma(xCoord + 3, yCoord, zCoord + 4); + setPlasma(xCoord - 3, yCoord, zCoord - 4); + setPlasma(xCoord - 2, yCoord, zCoord - 4); + setPlasma(xCoord - 1, yCoord, zCoord - 4); + setPlasma(xCoord + 0, yCoord, zCoord - 4); + setPlasma(xCoord + 1, yCoord, zCoord - 4); + setPlasma(xCoord + 2, yCoord, zCoord - 4); + setPlasma(xCoord + 3, yCoord, zCoord - 4); + setPlasma(xCoord + 3, yCoord, zCoord + 3); + setPlasma(xCoord + 3, yCoord, zCoord - 3); + setPlasma(xCoord - 3, yCoord, zCoord + 3); + setPlasma(xCoord - 3, yCoord, zCoord - 3); + } + + public void emptyPlasma() { + removePlasma(xCoord + 4, yCoord, zCoord - 3); + removePlasma(xCoord + 4, yCoord, zCoord - 2); + removePlasma(xCoord + 4, yCoord, zCoord - 1); + removePlasma(xCoord + 4, yCoord, zCoord + 0); + removePlasma(xCoord + 4, yCoord, zCoord + 1); + removePlasma(xCoord + 4, yCoord, zCoord + 2); + removePlasma(xCoord + 4, yCoord, zCoord + 3); + removePlasma(xCoord - 4, yCoord, zCoord - 3); + removePlasma(xCoord - 4, yCoord, zCoord - 2); + removePlasma(xCoord - 4, yCoord, zCoord - 1); + removePlasma(xCoord - 4, yCoord, zCoord + 0); + removePlasma(xCoord - 4, yCoord, zCoord + 1); + removePlasma(xCoord - 4, yCoord, zCoord + 2); + removePlasma(xCoord - 4, yCoord, zCoord + 3); + removePlasma(xCoord - 3, yCoord, zCoord + 4); + removePlasma(xCoord - 2, yCoord, zCoord + 4); + removePlasma(xCoord - 1, yCoord, zCoord + 4); + removePlasma(xCoord + 0, yCoord, zCoord + 4); + removePlasma(xCoord + 1, yCoord, zCoord + 4); + removePlasma(xCoord + 2, yCoord, zCoord + 4); + removePlasma(xCoord + 3, yCoord, zCoord + 4); + removePlasma(xCoord - 3, yCoord, zCoord - 4); + removePlasma(xCoord - 2, yCoord, zCoord - 4); + removePlasma(xCoord - 1, yCoord, zCoord - 4); + removePlasma(xCoord + 0, yCoord, zCoord - 4); + removePlasma(xCoord + 1, yCoord, zCoord - 4); + removePlasma(xCoord + 2, yCoord, zCoord - 4); + removePlasma(xCoord + 3, yCoord, zCoord - 4); + removePlasma(xCoord + 3, yCoord, zCoord + 3); + removePlasma(xCoord + 3, yCoord, zCoord - 3); + removePlasma(xCoord - 3, yCoord, zCoord + 3); + removePlasma(xCoord - 3, yCoord, zCoord - 3); + } + + public void setPlasma(int x, int y, int z) { + if(worldObj.getBlock(x, y, z) != ModBlocks.plasma) + worldObj.setBlock(x, y, z, ModBlocks.plasma); + } + + public void removePlasma(int x, int y, int z) { + if(worldObj.getBlock(x, y, z) == ModBlocks.plasma) + worldObj.setBlock(x, y, z, Blocks.air); + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if(tileentity instanceof IConductor) + { + if(tileentity instanceof TileEntityCable) + { + if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) + { + if(((TileEntityCable)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if(tileentity instanceof TileEntityWireCoated) + { + if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) + { + list.add((IConsumer)tileentity); + } + + if(!newTact) + { + int size = list.size(); + if(size > 0) + { + int part = this.power / size; + for(IConsumer consume : list) + { + if(consume.getPower() < consume.getMaxPower()) + { + if(consume.getMaxPower() - consume.getPower() >= part) + { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 3, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 3, this.zCoord, getTact()); + } + + public boolean getTact() { + if(age >= 0 && age < 10) + { + return true; + } + + return false; + } + +} diff --git a/com/hbm/tileentity/TileEntityHatch.java b/com/hbm/tileentity/TileEntityHatch.java new file mode 100644 index 000000000..dfef7efd5 --- /dev/null +++ b/com/hbm/tileentity/TileEntityHatch.java @@ -0,0 +1,48 @@ +package com.hbm.tileentity; + +import com.hbm.blocks.ModBlocks; +import com.hbm.blocks.machine.BlockSeal; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityHatch extends TileEntity { + + public int x; + public int y; + public int z; + + @Override + public void updateEntity() { + + Block b = worldObj.getBlock(x, y, z); + + if(b != ModBlocks.seal_controller && !worldObj.isRemote) { + this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord, Blocks.air); + } else { + if(BlockSeal.getFrameSize(worldObj, x, y, z) == 0 && !worldObj.isRemote) + this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord, Blocks.air); + } + } + + public void readFromNBT(NBTTagCompound p_145839_1_) { + this.x = p_145839_1_.getInteger("x1"); + this.y = p_145839_1_.getInteger("y1"); + this.z = p_145839_1_.getInteger("z1"); + } + + public void writeToNBT(NBTTagCompound p_145841_1_) { + p_145841_1_.setInteger("x1", this.x); + p_145841_1_.setInteger("y1", this.y); + p_145841_1_.setInteger("z1", this.z); + } + + public void setControllerPos(int x, int y, int z) { + this.x = x; + this.y = y; + this.z = z; + } + +} diff --git a/com/hbm/tileentity/TileEntityIGenerator.java b/com/hbm/tileentity/TileEntityIGenerator.java new file mode 100644 index 000000000..85af6b469 --- /dev/null +++ b/com/hbm/tileentity/TileEntityIGenerator.java @@ -0,0 +1,606 @@ +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.blocks.ModBlocks; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityIGenerator extends TileEntity implements ISidedInventory, ISource { + + private ItemStack slots[]; + + public int power; + public int torque; + public int heat; + public int water; + public int lubricant; + public int fuel; + public int burn; + public int soundCycle = 0; + public static final int maxPower = 100000; + public static final int maxTorque = 2500; + public static final int maxHeat = 7500; + public static final int maxWater = 10000; + public static final int maxLubricant = 10000; + public static final int maxFuel = 50000; + public int age = 0; + public List list = new ArrayList(); + + private static final int[] slots_top = new int[] { 0 }; + private static final int[] slots_bottom = new int[] { 0, 0 }; + private static final int[] slots_side = new int[] { 0 }; + + private String customName; + + public TileEntityIGenerator() { + slots = new ItemStack[16]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if (slots[i] != null) { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if (itemStack != null && itemStack.stackSize > getInventoryStackLimit()) { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.iGenerator"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if (worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) { + return false; + } else { + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <= 64; + } + } + + // You scrubs aren't needed for anything (right now) + @Override + public void openInventory() { + } + + @Override + public void closeInventory() { + } + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + if(i < 12) + return true; + if(i == 14) + return false; + if(i == 15) + if(stack.getItem() instanceof ItemBattery) + return true; + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if (slots[i] != null) { + if (slots[i].stackSize <= j) { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.power = nbt.getInteger("power"); + this.torque = nbt.getInteger("torque"); + this.heat = nbt.getInteger("heat"); + this.water = nbt.getInteger("water"); + this.lubricant = nbt.getInteger("lubricant"); + this.fuel = nbt.getInteger("fuel"); + this.burn = nbt.getInteger("burn"); + slots = new ItemStack[getSizeInventory()]; + + for (int i = 0; i < list.tagCount(); i++) { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if (b0 >= 0 && b0 < slots.length) { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setInteger("power", power); + nbt.setInteger("torque", torque); + nbt.setInteger("heat", heat); + nbt.setInteger("water", water); + nbt.setInteger("lubricant", lubricant); + nbt.setInteger("fuel", fuel); + nbt.setInteger("burn", burn); + NBTTagList list = new NBTTagList(); + + for (int i = 0; i < slots.length; i++) { + if (slots[i] != null) { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte) i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return false; + } + + @Override + public void updateEntity() { + + if (!worldObj.isRemote) { + + if(burn > 0) { + burn--; + + if(heat + 10 <= maxHeat) + heat += 10; + } + + if(water > 0) { + + if(heat >= 8) { + + heat -= 8; + torque += 10; + water--; + } + } else { + + if(heat >= 4) { + + heat -= 4; + torque += 5; + } + } + + for(int i = 0; i < this.canLocateThermalElement(); i++) { + if(heat >= 10) { + heat -= 10; + + if(power + 10 <= maxPower) { + power += 10; + } + } + } + + this.power += this.torque; + + if(power > maxPower) + power = maxPower; + + if(torque > 0) { + if(lubricant > 0 ) { + torque--; + lubricant--; + } else { + torque -= 5; + } + } + + if(torque < 0) + torque = 0; + + if(torque > maxTorque && this.hasLimiter()) + torque = maxTorque; + + if(torque > maxTorque) { + worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord, Blocks.air); + } + + if(this.getHeatScaled(100) < 90) { + + if(fuel > 0) { + fuel --; + if(heat + 10 <= maxHeat) + heat += 10; + } + + doSolidFuelTask(); + } + doFuelTask(); + doLubeTask(); + doWaterTask(); + } + } + + public void doFuelTask() { + + if (slots[13] != null && slots[13].getItem() == ModItems.canister_fuel && fuel + 625 <= maxFuel) { + if (slots[14] == null || slots[14] != null && slots[14].getItem() == slots[13].getItem().getContainerItem() + && slots[14].stackSize < slots[14].getMaxStackSize()) { + if (slots[14] == null) + slots[14] = new ItemStack(slots[13].getItem().getContainerItem()); + else + slots[14].stackSize++; + + slots[13].stackSize--; + if (slots[13].stackSize <= 0) + slots[13] = null; + + fuel += 625; + } + } + if (slots[13] != null && slots[13].getItem() == Item.getItemFromBlock(ModBlocks.red_barrel) && fuel + 5000 <= maxFuel) { + if (slots[14] == null || slots[14] != null && slots[14].getItem() == ModItems.tank_steel + && slots[14].stackSize < slots[14].getMaxStackSize()) { + if (slots[14] == null) + slots[14] = new ItemStack(ModItems.tank_steel); + else + slots[14].stackSize++; + + slots[13].stackSize--; + if (slots[13].stackSize <= 0) + slots[13] = null; + + fuel += 5000; + } + } + + if (slots[13] != null && slots[13].getItem() == ModItems.inf_diesel) + this.fuel = this.maxFuel; + } + + public void doLubeTask() { + + if (slots[13] != null && slots[13].getItem() == ModItems.canister_canola && lubricant + 625 <= maxLubricant) { + if (slots[14] == null || slots[14] != null && slots[14].getItem() == slots[13].getItem().getContainerItem() + && slots[14].stackSize < slots[14].getMaxStackSize()) { + if (slots[14] == null) + slots[14] = new ItemStack(slots[13].getItem().getContainerItem()); + else + slots[14].stackSize++; + + slots[13].stackSize--; + if (slots[13].stackSize <= 0) + slots[13] = null; + + lubricant += 625; + } + } + } + + public void doWaterTask() { + + if (slots[13] != null && slots[13].getItem() == Items.water_bucket && water + 625 <= maxWater) { + if (slots[14] == null || slots[14] != null && slots[14].getItem() == slots[13].getItem().getContainerItem() + && slots[14].stackSize < slots[14].getMaxStackSize()) { + if (slots[14] == null) + slots[14] = new ItemStack(slots[13].getItem().getContainerItem()); + else + slots[14].stackSize++; + + slots[13].stackSize--; + if (slots[13].stackSize <= 0) + slots[13] = null; + + water += 625; + } + } + if (slots[13] != null && slots[13].getItem() == ModItems.rod_water && water + 625 <= maxWater) { + if (slots[14] == null || slots[14] != null && slots[14].getItem() == slots[13].getItem().getContainerItem() + && slots[14].stackSize < slots[14].getMaxStackSize()) { + if (slots[14] == null) + slots[14] = new ItemStack(slots[13].getItem().getContainerItem()); + else + slots[14].stackSize++; + + slots[13].stackSize--; + if (slots[13].stackSize <= 0) + slots[13] = null; + + water += 625; + } + } + if (slots[13] != null && slots[13].getItem() == ModItems.rod_dual_water && water + 1250 <= maxWater) { + if (slots[14] == null || slots[14] != null && slots[14].getItem() == slots[13].getItem().getContainerItem() + && slots[14].stackSize < slots[14].getMaxStackSize()) { + if (slots[14] == null) + slots[14] = new ItemStack(slots[13].getItem().getContainerItem()); + else + slots[14].stackSize++; + + slots[13].stackSize--; + if (slots[13].stackSize <= 0) + slots[13] = null; + + water += 1250; + } + } + if (slots[13] != null && slots[13].getItem() == ModItems.rod_quad_water && water + 2500 <= maxWater) { + if (slots[14] == null || slots[14] != null && slots[14].getItem() == slots[13].getItem().getContainerItem() + && slots[14].stackSize < slots[14].getMaxStackSize()) { + if (slots[14] == null) + slots[14] = new ItemStack(slots[13].getItem().getContainerItem()); + else + slots[14].stackSize++; + + slots[13].stackSize--; + if (slots[13].stackSize <= 0) + slots[13] = null; + + water += 2500; + } + } + + if (slots[13] != null && slots[13].getItem() == ModItems.inf_water) + this.water = this.maxWater; + } + + public void doSolidFuelTask() { + if(slots[12] != null && slots[12].getItem() == Items.coal && burn <= 0) + { + slots[12].stackSize -= 1; + burn = 200; + if(slots[12].stackSize == 0) + { + slots[12] = null; + } + } + if(slots[12] != null && slots[12].getItem() == ModItems.powder_coal && burn <= 0) + { + slots[12].stackSize -= 1; + burn = 200; + if(slots[12].stackSize == 0) + { + slots[12] = null; + } + } + if(slots[12] != null && slots[12].getItem() == Item.getItemFromBlock(Blocks.coal_block) && burn <= 0) + { + slots[12].stackSize -= 1; + burn = 2000; + if(slots[12].stackSize == 0) + { + slots[12] = null; + } + } + } + + public int canLocateThermalElement() { + + int thermo = 0; + + for(int i = 0; i < slots.length; i++) { + if(slots[i] != null && slots[i].getItem() == ModItems.thermo_element) + thermo ++; + } + + return thermo; + } + + public boolean hasLimiter() { + + for(int i = 0; i < slots.length; i++) { + if(slots[i] != null && slots[i].getItem() == ModItems.limiter) + return true; + } + + return false; + } + + public int getFuelScaled(int i) { + return (fuel * i) / maxFuel; + } + + public int getLubeScaled(int i) { + return (lubricant * i) / maxLubricant; + } + + public int getWaterScaled(int i) { + return (water * i) / maxWater; + } + + public int getHeatScaled(int i) { + return (heat * i) / maxHeat; + } + + public int getTorqueScaled(int i) { + return (torque * i) / maxTorque; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if (block == ModBlocks.factory_titanium_conductor + && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if (block == ModBlocks.factory_titanium_conductor + && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if (block == ModBlocks.factory_advanced_conductor + && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if (block == ModBlocks.factory_advanced_conductor + && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if (tileentity instanceof IConductor) { + if (tileentity instanceof TileEntityCable) { + if (Library.checkUnionList(((TileEntityCable) tileentity).uoteab, this)) { + for (int i = 0; i < ((TileEntityCable) tileentity).uoteab.size(); i++) { + if (((TileEntityCable) tileentity).uoteab.get(i).source == this) { + if (((TileEntityCable) tileentity).uoteab.get(i).ticked != newTact) { + ((TileEntityCable) tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable) tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if (tileentity instanceof TileEntityWireCoated) { + if (Library.checkUnionList(((TileEntityWireCoated) tileentity).uoteab, this)) { + for (int i = 0; i < ((TileEntityWireCoated) tileentity).uoteab.size(); i++) { + if (((TileEntityWireCoated) tileentity).uoteab.get(i).source == this) { + if (((TileEntityWireCoated) tileentity).uoteab.get(i).ticked != newTact) { + ((TileEntityWireCoated) tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated) tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if (tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery + && ((TileEntityMachineBattery) tileentity).conducts)) { + list.add((IConsumer) tileentity); + } + + if (!newTact) { + int size = list.size(); + if (size > 0) { + int part = this.power / size; + for (IConsumer consume : list) { + if (consume.getPower() < consume.getMaxPower()) { + if (consume.getMaxPower() - consume.getPower() >= part) { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); + ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); + } + + public boolean getTact() { + if (age >= 0 && age < 10) { + return true; + } + + return false; + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + +} diff --git a/com/hbm/tileentity/TileEntityLaunchPad.java b/com/hbm/tileentity/TileEntityLaunchPad.java index 3de12d71d..71fd4d3d2 100644 --- a/com/hbm/tileentity/TileEntityLaunchPad.java +++ b/com/hbm/tileentity/TileEntityLaunchPad.java @@ -1,447 +1,447 @@ -package com.hbm.tileentity; - -import com.hbm.blocks.LaunchPad; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.world.World; - -public class TileEntityLaunchPad extends TileEntity implements ISidedInventory, IConsumer { - - public ItemStack slots[]; - - public int power; - public final int maxPower = 100000; - - private static final int[] slots_top = new int[] {0}; - private static final int[] slots_bottom = new int[] {2}; - private static final int[] slots_side = new int[] {1}; - - public int targetX = this.xCoord + 50; - public int targetZ = this.zCoord; - - public int state = 0; - public int preState = 0; - - private String customName; - - public TileEntityLaunchPad() { - slots = new ItemStack[3]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.launchPad"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - power = nbt.getShort("power"); - state = nbt.getShort("state"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - nbt.setShort("power", (short) power); - nbt.setShort("state", (short) state); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - @Override - public void updateEntity() { - - if(/*power + 100 <= maxPower && */slots[2] != null && slots[2].getItem() == ModItems.battery_creative) - { - power = maxPower; - } - - if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.battery_generic && slots[2].getItemDamage() < 50) - { - power += 100; - slots[2].setItemDamage(slots[2].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.battery_advanced && slots[2].getItemDamage() < 200) - { - power += 100; - slots[2].setItemDamage(slots[2].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.battery_schrabidium && slots[2].getItemDamage() < 10000) - { - power += 100; - slots[2].setItemDamage(slots[2].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.fusion_core && slots[2].getItemDamage() < 5000) - { - power += 100; - slots[2].setItemDamage(slots[2].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.energy_core && slots[2].getItemDamage() < 5000) - { - power += 100; - slots[2].setItemDamage(slots[2].getItemDamage() + 1); - } - - this.preState = this.state; - - if(this.slots[0] == null || - (this.slots[0] != null && - (this.slots[0].getItem() != ModItems.missile_generic && - this.slots[0].getItem() != ModItems.missile_strong && - this.slots[0].getItem() != ModItems.missile_cluster && - this.slots[0].getItem() != ModItems.missile_nuclear && - this.slots[0].getItem() != ModItems.missile_incendiary && - this.slots[0].getItem() != ModItems.missile_buster && - this.slots[0].getItem() != ModItems.missile_incendiary_strong && - this.slots[0].getItem() != ModItems.missile_cluster_strong && - this.slots[0].getItem() != ModItems.missile_buster_strong && - this.slots[0].getItem() != ModItems.missile_burst && - this.slots[0].getItem() != ModItems.missile_inferno && - this.slots[0].getItem() != ModItems.missile_rain && - this.slots[0].getItem() != ModItems.missile_drill && - this.slots[0].getItem() != ModItems.missile_endo && - this.slots[0].getItem() != ModItems.missile_exo && - this.slots[0].getItem() != ModItems.missile_nuclear_cluster))) - { - this.state = 0; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_generic) - { - this.state = 1; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_strong) - { - this.state = 2; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_cluster) - { - this.state = 3; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_nuclear) - { - this.state = 4; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_incendiary) - { - this.state = 5; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_buster) - { - this.state = 6; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_incendiary_strong) - { - this.state = 7; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_cluster_strong) - { - this.state = 8; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_buster_strong) - { - this.state = 9; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_burst) - { - this.state = 10; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_inferno) - { - this.state = 11; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_rain) - { - this.state = 12; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_drill) - { - this.state = 13; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_endo) - { - this.state = 14; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_exo) - { - this.state = 15; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_nuclear_cluster) - { - this.state = 16; - - if(this.state != this.preState) - { - LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } - - public World getThatWorld() { - return this.worldObj; - } - - @Override - public void setPower(int i) { - power = i; - - } - - @Override - public int getPower() { - return power; - - } - - @Override - public int getMaxPower() { - return maxPower; - } - -} +package com.hbm.tileentity; + +import com.hbm.blocks.bomb.LaunchPad; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.World; + +public class TileEntityLaunchPad extends TileEntity implements ISidedInventory, IConsumer { + + public ItemStack slots[]; + + public int power; + public final int maxPower = 100000; + + private static final int[] slots_top = new int[] {0}; + private static final int[] slots_bottom = new int[] {2}; + private static final int[] slots_side = new int[] {1}; + + public int targetX = this.xCoord + 50; + public int targetZ = this.zCoord; + + public int state = 0; + public int preState = 0; + + private String customName; + + public TileEntityLaunchPad() { + slots = new ItemStack[3]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.launchPad"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + power = nbt.getShort("power"); + state = nbt.getShort("state"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + nbt.setShort("power", (short) power); + nbt.setShort("state", (short) state); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + @Override + public void updateEntity() { + + if(/*power + 100 <= maxPower && */slots[2] != null && slots[2].getItem() == ModItems.battery_creative) + { + power = maxPower; + } + + if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.battery_generic && slots[2].getItemDamage() < 50) + { + power += 100; + slots[2].setItemDamage(slots[2].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.battery_advanced && slots[2].getItemDamage() < 200) + { + power += 100; + slots[2].setItemDamage(slots[2].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.battery_schrabidium && slots[2].getItemDamage() < 10000) + { + power += 100; + slots[2].setItemDamage(slots[2].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.fusion_core && slots[2].getItemDamage() < 5000) + { + power += 100; + slots[2].setItemDamage(slots[2].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[2] != null && slots[2].getItem() == ModItems.energy_core && slots[2].getItemDamage() < 5000) + { + power += 100; + slots[2].setItemDamage(slots[2].getItemDamage() + 1); + } + + this.preState = this.state; + + if(this.slots[0] == null || + (this.slots[0] != null && + (this.slots[0].getItem() != ModItems.missile_generic && + this.slots[0].getItem() != ModItems.missile_strong && + this.slots[0].getItem() != ModItems.missile_cluster && + this.slots[0].getItem() != ModItems.missile_nuclear && + this.slots[0].getItem() != ModItems.missile_incendiary && + this.slots[0].getItem() != ModItems.missile_buster && + this.slots[0].getItem() != ModItems.missile_incendiary_strong && + this.slots[0].getItem() != ModItems.missile_cluster_strong && + this.slots[0].getItem() != ModItems.missile_buster_strong && + this.slots[0].getItem() != ModItems.missile_burst && + this.slots[0].getItem() != ModItems.missile_inferno && + this.slots[0].getItem() != ModItems.missile_rain && + this.slots[0].getItem() != ModItems.missile_drill && + this.slots[0].getItem() != ModItems.missile_endo && + this.slots[0].getItem() != ModItems.missile_exo && + this.slots[0].getItem() != ModItems.missile_nuclear_cluster))) + { + this.state = 0; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_generic) + { + this.state = 1; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_strong) + { + this.state = 2; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_cluster) + { + this.state = 3; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_nuclear) + { + this.state = 4; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_incendiary) + { + this.state = 5; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_buster) + { + this.state = 6; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_incendiary_strong) + { + this.state = 7; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_cluster_strong) + { + this.state = 8; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_buster_strong) + { + this.state = 9; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_burst) + { + this.state = 10; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_inferno) + { + this.state = 11; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_rain) + { + this.state = 12; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_drill) + { + this.state = 13; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_endo) + { + this.state = 14; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_exo) + { + this.state = 15; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.missile_nuclear_cluster) + { + this.state = 16; + + if(this.state != this.preState) + { + LaunchPad.updateBlockState(this.state, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + + public World getThatWorld() { + return this.worldObj; + } + + @Override + public void setPower(int i) { + power = i; + + } + + @Override + public int getPower() { + return power; + + } + + @Override + public int getMaxPower() { + return maxPower; + } + +} diff --git a/com/hbm/tileentity/TileEntityMachineBattery.java b/com/hbm/tileentity/TileEntityMachineBattery.java index e4b644250..676ea81e0 100644 --- a/com/hbm/tileentity/TileEntityMachineBattery.java +++ b/com/hbm/tileentity/TileEntityMachineBattery.java @@ -1,412 +1,412 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; - -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.lib.Library; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineBattery extends TileEntity implements ISidedInventory, IConsumer, ISource { - - private ItemStack slots[]; - - public int power = 0; - public final int maxPower = 100000; - - public boolean conducts = false; - - private static final int[] slots_top = new int[] {0}; - private static final int[] slots_bottom = new int[] {0, 1}; - private static final int[] slots_side = new int[] {1}; - public int age = 0; - public List list = new ArrayList(); - - private String customName; - - public TileEntityMachineBattery() { - slots = new ItemStack[2]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.battery"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - this.power = nbt.getShort("power"); - this.conducts = nbt.getBoolean("conducts"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("power", (short) power); - nbt.setBoolean("conducts", conducts); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - public int getPowerRemainingScaled(int i) { - return (power * i) / maxPower; - } - - @Override - public void updateEntity() { - if(this.conducts) - { - age++; - if(age >= 20) - { - age = 0; - } - - if(age == 9 || age == 19) - ffgeuaInit(); - } - - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_generic && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_advanced && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_schrabidium && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.factory_core_titanium && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.factory_core_advanced && slots[1].getItemDamage() > 0) - { - power -= 100; - slots[1].setItemDamage(slots[1].getItemDamage() - 1); - } - - if(slots[0] != null && slots[0].getItem() == ModItems.battery_creative) - { - power = maxPower; - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_generic && slots[0].getItemDamage() < 50) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced && slots[0].getItemDamage() < 200) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium && slots[0].getItemDamage() < 10000) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.fusion_core && slots[0].getItemDamage() < 5000) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.energy_core && slots[0].getItemDamage() < 5000) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - } - - @Override - public void setPower(int i) { - power = i; - - } - - @Override - public int getPower() { - return power; - - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if(tileentity instanceof IConductor) - { - if(tileentity instanceof TileEntityCable) - { - if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) - { - if(((TileEntityCable)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if(tileentity instanceof TileEntityWireCoated) - { - if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) - { - list.add((IConsumer)tileentity); - } - - if(!newTact) - { - int size = list.size(); - if(size > 0) - { - int part = this.power / size; - for(IConsumer consume : list) - { - if(consume.getPower() < consume.getMaxPower()) - { - if(consume.getMaxPower() - consume.getPower() >= part) - { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); - ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); - } - - public boolean getTact() { - if(age >= 0 && age < 10) - { - return true; - } - - return false; - } - - @Override - public int getMaxPower() { - return maxPower; - } - -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.blocks.ModBlocks; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineBattery extends TileEntity implements ISidedInventory, IConsumer, ISource { + + private ItemStack slots[]; + + public int power = 0; + public final int maxPower = 100000; + + public boolean conducts = false; + + private static final int[] slots_top = new int[] {0}; + private static final int[] slots_bottom = new int[] {0, 1}; + private static final int[] slots_side = new int[] {1}; + public int age = 0; + public List list = new ArrayList(); + + private String customName; + + public TileEntityMachineBattery() { + slots = new ItemStack[2]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.battery"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.power = nbt.getShort("power"); + this.conducts = nbt.getBoolean("conducts"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("power", (short) power); + nbt.setBoolean("conducts", conducts); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + public int getPowerRemainingScaled(int i) { + return (power * i) / maxPower; + } + + @Override + public void updateEntity() { + if(this.conducts) + { + age++; + if(age >= 20) + { + age = 0; + } + + if(age == 9 || age == 19) + ffgeuaInit(); + } + + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_generic && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_advanced && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.battery_schrabidium && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.factory_core_titanium && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[1] != null && slots[1].getItem() == ModItems.factory_core_advanced && slots[1].getItemDamage() > 0) + { + power -= 100; + slots[1].setItemDamage(slots[1].getItemDamage() - 1); + } + + if(slots[0] != null && slots[0].getItem() == ModItems.battery_creative) + { + power = maxPower; + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_generic && slots[0].getItemDamage() < 50) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced && slots[0].getItemDamage() < 200) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium && slots[0].getItemDamage() < 10000) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.fusion_core && slots[0].getItemDamage() < 5000) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.energy_core && slots[0].getItemDamage() < 5000) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + } + + @Override + public void setPower(int i) { + power = i; + + } + + @Override + public int getPower() { + return power; + + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if(tileentity instanceof IConductor) + { + if(tileentity instanceof TileEntityCable) + { + if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) + { + if(((TileEntityCable)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if(tileentity instanceof TileEntityWireCoated) + { + if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) + { + list.add((IConsumer)tileentity); + } + + if(!newTact) + { + int size = list.size(); + if(size > 0) + { + int part = this.power / size; + for(IConsumer consume : list) + { + if(consume.getPower() < consume.getMaxPower()) + { + if(consume.getMaxPower() - consume.getPower() >= part) + { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); + ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); + } + + public boolean getTact() { + if(age >= 0 && age < 10) + { + return true; + } + + return false; + } + + @Override + public int getMaxPower() { + return maxPower; + } + +} diff --git a/com/hbm/tileentity/TileEntityMachineCMBFactory.java b/com/hbm/tileentity/TileEntityMachineCMBFactory.java index fba85b901..ae7dccc23 100644 --- a/com/hbm/tileentity/TileEntityMachineCMBFactory.java +++ b/com/hbm/tileentity/TileEntityMachineCMBFactory.java @@ -1,356 +1,356 @@ -package com.hbm.tileentity; - -import com.hbm.interfaces.IConsumer; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemBattery; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineCMBFactory extends TileEntity implements ISidedInventory, IConsumer { - - private ItemStack slots[]; - - public int power = 0; - public int waste = 0; - public int process = 0; - public int soundCycle = 0; - public static final int maxFill = 1000; - public static final int maxPower = 10000; - public static final int processSpeed = 200; - - private static final int[] slots_top = new int[] {1, 3}; - private static final int[] slots_bottom = new int[] {0, 2, 4}; - private static final int[] slots_side = new int[] {0, 2}; - - private String customName; - - public TileEntityMachineCMBFactory() { - slots = new ItemStack[5]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.machineCMB"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack stack) { - switch(i) - { - case 0: - if(stack.getItem() instanceof ItemBattery) - return true; - break; - case 1: - if(stack.getItem() == ModItems.ingot_magnetized_tungsten || stack.getItem() == ModItems.powder_magnetized_tungsten) - return true; - break; - case 2: - if(stack.getItem() == ModItems.bucket_mud || (stack.getItem() == ModItems.tank_waste && stack.getItemDamage() > 0)) - return true; - break; - case 3: - if(stack.getItem() == ModItems.ingot_advanced_alloy || stack.getItem() == ModItems.powder_advanced_alloy) - return true; - break; - } - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - power = nbt.getShort("power"); - waste = nbt.getShort("waste"); - process = nbt.getShort("process"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("power", (short) power); - nbt.setShort("waste", (short) waste); - nbt.setShort("process", (short) process); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if(i == 4) - return true; - if(i == 0 && itemStack.getItem() instanceof ItemBattery) - if(itemStack.getItemDamage() == itemStack.getMaxDamage()) - return true; - if(i == 2) - if(itemStack.getItem() == Items.bucket || (itemStack.getItem() == ModItems.tank_waste && itemStack.getItemDamage() <= 0)) - return true; - - return false; - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - public int getWasteScaled(int i) { - return (waste * i) / maxFill; - } - - public int getProgressScaled(int i) { - return (process * i) / processSpeed; - } - - public boolean canProcess() { - - boolean b = false; - - if(waste > 0 && power > 0 && slots[1] != null && slots[3] != null && (slots[4] == null || slots[4].stackSize <= 60)) - { - boolean flag0 = slots[1].getItem() == ModItems.ingot_magnetized_tungsten || slots[1].getItem() == ModItems.powder_magnetized_tungsten; - boolean flag1 = slots[3].getItem() == ModItems.ingot_advanced_alloy || slots[3].getItem() == ModItems.powder_advanced_alloy; - - b = flag0 && flag1; - } - - return b; - } - - public boolean isProcessing() { - return process > 0; - } - - public void process() { - waste -= 1; - power -= 3; - - process++; - - if(process >= processSpeed) { - - slots[1].stackSize--; - if (slots[1].stackSize == 0) { - slots[1] = null; - } - - slots[3].stackSize--; - if (slots[3].stackSize == 0) { - slots[3] = null; - } - - if(slots[4] == null) - { - slots[4] = new ItemStack(ModItems.ingot_combine_steel, 4); - } else { - - slots[4].stackSize += 4; - } - - process = 0; - } - } - - @Override - public void updateEntity() { - - if (!worldObj.isRemote) { - - if (slots[0] != null && slots[0].getItem() == ModItems.battery_creative) { - power = maxPower; - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_generic - && slots[0].getItemDamage() < 50) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced - && slots[0].getItemDamage() < 200) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium - && slots[0].getItemDamage() < 1000) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.fusion_core - && slots[0].getItemDamage() < 5000) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.energy_core - && slots[0].getItemDamage() < 5000) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(waste + 500 <= maxFill && slots[2] != null && slots[2].getItem() == ModItems.bucket_mud) { - waste += 500; - slots[2] = new ItemStack(slots[2].getItem().getContainerItem()); - } - - if(waste + 500 <= maxFill && slots[2] != null && slots[2].getItem() == ModItems.tank_waste && slots[2].getItemDamage() > 0) { - waste += 500; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - - if (canProcess()) { - process(); - if(soundCycle == 0) - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 1.5F); - soundCycle++; - - if(soundCycle >= 25) - soundCycle = 0; - } else { - process = 0; - } - } - } - - @Override - public void setPower(int i) { - power = i; - - } - - @Override - public int getPower() { - return power; - - } - - @Override - public int getMaxPower() { - return maxPower; - } -} +package com.hbm.tileentity; + +import com.hbm.interfaces.IConsumer; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineCMBFactory extends TileEntity implements ISidedInventory, IConsumer { + + private ItemStack slots[]; + + public int power = 0; + public int waste = 0; + public int process = 0; + public int soundCycle = 0; + public static final int maxFill = 1000; + public static final int maxPower = 10000; + public static final int processSpeed = 200; + + private static final int[] slots_top = new int[] {1, 3}; + private static final int[] slots_bottom = new int[] {0, 2, 4}; + private static final int[] slots_side = new int[] {0, 2}; + + private String customName; + + public TileEntityMachineCMBFactory() { + slots = new ItemStack[5]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.machineCMB"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + switch(i) + { + case 0: + if(stack.getItem() instanceof ItemBattery) + return true; + break; + case 1: + if(stack.getItem() == ModItems.ingot_magnetized_tungsten || stack.getItem() == ModItems.powder_magnetized_tungsten) + return true; + break; + case 2: + if(stack.getItem() == ModItems.bucket_mud || (stack.getItem() == ModItems.tank_waste && stack.getItemDamage() > 0)) + return true; + break; + case 3: + if(stack.getItem() == ModItems.ingot_advanced_alloy || stack.getItem() == ModItems.powder_advanced_alloy) + return true; + break; + } + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + power = nbt.getShort("power"); + waste = nbt.getShort("waste"); + process = nbt.getShort("process"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("power", (short) power); + nbt.setShort("waste", (short) waste); + nbt.setShort("process", (short) process); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i == 4) + return true; + if(i == 0 && itemStack.getItem() instanceof ItemBattery) + if(itemStack.getItemDamage() == itemStack.getMaxDamage()) + return true; + if(i == 2) + if(itemStack.getItem() == Items.bucket || (itemStack.getItem() == ModItems.tank_waste && itemStack.getItemDamage() <= 0)) + return true; + + return false; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + public int getWasteScaled(int i) { + return (waste * i) / maxFill; + } + + public int getProgressScaled(int i) { + return (process * i) / processSpeed; + } + + public boolean canProcess() { + + boolean b = false; + + if(waste > 0 && power > 0 && slots[1] != null && slots[3] != null && (slots[4] == null || slots[4].stackSize <= 60)) + { + boolean flag0 = slots[1].getItem() == ModItems.ingot_magnetized_tungsten || slots[1].getItem() == ModItems.powder_magnetized_tungsten; + boolean flag1 = slots[3].getItem() == ModItems.ingot_advanced_alloy || slots[3].getItem() == ModItems.powder_advanced_alloy; + + b = flag0 && flag1; + } + + return b; + } + + public boolean isProcessing() { + return process > 0; + } + + public void process() { + waste -= 1; + power -= 3; + + process++; + + if(process >= processSpeed) { + + slots[1].stackSize--; + if (slots[1].stackSize == 0) { + slots[1] = null; + } + + slots[3].stackSize--; + if (slots[3].stackSize == 0) { + slots[3] = null; + } + + if(slots[4] == null) + { + slots[4] = new ItemStack(ModItems.ingot_combine_steel, 4); + } else { + + slots[4].stackSize += 4; + } + + process = 0; + } + } + + @Override + public void updateEntity() { + + if (!worldObj.isRemote) { + + if (slots[0] != null && slots[0].getItem() == ModItems.battery_creative) { + power = maxPower; + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_generic + && slots[0].getItemDamage() < 50) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced + && slots[0].getItemDamage() < 200) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium + && slots[0].getItemDamage() < 1000) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.fusion_core + && slots[0].getItemDamage() < 5000) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.energy_core + && slots[0].getItemDamage() < 5000) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(waste + 500 <= maxFill && slots[2] != null && slots[2].getItem() == ModItems.bucket_mud) { + waste += 500; + slots[2] = new ItemStack(slots[2].getItem().getContainerItem()); + } + + if(waste + 500 <= maxFill && slots[2] != null && slots[2].getItem() == ModItems.tank_waste && slots[2].getItemDamage() > 0) { + waste += 500; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + + if (canProcess()) { + process(); + if(soundCycle == 0) + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 1.5F); + soundCycle++; + + if(soundCycle >= 25) + soundCycle = 0; + } else { + process = 0; + } + } + } + + @Override + public void setPower(int i) { + power = i; + + } + + @Override + public int getPower() { + return power; + + } + + @Override + public int getMaxPower() { + return maxPower; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineCentrifuge.java b/com/hbm/tileentity/TileEntityMachineCentrifuge.java index 6b0382677..b8d9759b0 100644 --- a/com/hbm/tileentity/TileEntityMachineCentrifuge.java +++ b/com/hbm/tileentity/TileEntityMachineCentrifuge.java @@ -1,395 +1,395 @@ -package com.hbm.tileentity; - -import com.hbm.gui.MachineRecipes; -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityMachineCentrifuge extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - - public int dualCookTime; - public int dualPower; - public int soundCycle = 0; - public static final int maxPower = 100000; - public static final int processingSpeed = 500; - - private static final int[] slots_top = new int[] {0}; - private static final int[] slots_bottom = new int[] {2, 3, 4, 5}; - private static final int[] slots_side = new int[] {1}; - - private String customName; - - public TileEntityMachineCentrifuge() { - slots = new ItemStack[6]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.centrifuge"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - if(i == 2 || i == 3 || i == 4 || i == 5) - { - return false; - } - - if(i == 1 && hasItemPower(itemStack)) - { - return true; - } - - return true; - } - - public boolean hasItemPower(ItemStack itemStack) { - return getItemPower(itemStack) > 0; - } - - private static int getItemPower(ItemStack itemStack) { - if(itemStack == null) - { - return 0; - }else{ - Item item = itemStack.getItem(); - - if(item == Items.coal) return 2500; - if(item == Item.getItemFromBlock(Blocks.coal_block)) return 25000; - if(item == Items.lava_bucket) return 50000; - if(item == Items.redstone) return 1000; - if(item == Item.getItemFromBlock(Blocks.redstone_block)) return 10000; - if(item == Item.getItemFromBlock(Blocks.netherrack)) return 1750; - if(item == Items.blaze_rod) return 15000; - if(item == Items.blaze_powder) return 5000; - - return 0; - } - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - dualPower = nbt.getShort("powerTime"); - dualCookTime = nbt.getShort("CookTime"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("powerTime", (short) dualPower); - nbt.setShort("cookTime", (short) dualCookTime); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - public int getCentrifugeProgressScaled(int i) { - return (dualCookTime * i) / processingSpeed; - } - - public int getPowerRemainingScaled(int i) { - return (dualPower * i) / maxPower; - } - - - public boolean canProcess() { - - if(slots[0] == null) - { - return false; - } - ItemStack[] itemStack = MachineRecipes.getCentrifugeProcessingResult(slots[0].getItem()); - if(itemStack == null) - { - return false; - } - - if(slots[2] == null && slots[3] == null && slots[4] == null && slots[5] == null) - { - return true; - } - - if((slots[2] == null || (itemStack[0] != null && (slots[2].isItemEqual(itemStack[0])) && slots[2].stackSize + itemStack[0].stackSize <= itemStack[0].getMaxStackSize())) && - (slots[3] == null || (itemStack[1] != null && (slots[3].isItemEqual(itemStack[1])) && slots[3].stackSize + itemStack[1].stackSize <= itemStack[1].getMaxStackSize())) && - (slots[4] == null || (itemStack[2] != null && (slots[4].isItemEqual(itemStack[2])) && slots[4].stackSize + itemStack[2].stackSize <= itemStack[2].getMaxStackSize())) && - (slots[5] == null || (itemStack[3] != null && (slots[5].isItemEqual(itemStack[3])) && slots[5].stackSize + itemStack[3].stackSize <= itemStack[3].getMaxStackSize()))) - { - return true; - } - - return false; - } - - private void processItem() { - if(canProcess()) { - ItemStack[] itemStack = MachineRecipes.getCentrifugeProcessingResult(slots[0].getItem()); - - if(slots[2] == null && itemStack[0] != null) - { - slots [2] = itemStack[0].copy(); - }else if(itemStack[0] != null && slots[2].isItemEqual(itemStack[0])) - { - slots[2].stackSize += itemStack[0].stackSize; - } - - if(slots[3] == null && itemStack[1] != null) - { - slots [3] = itemStack[1].copy(); - }else if(itemStack[1] != null && slots[3].isItemEqual(itemStack[1])) - { - slots[3].stackSize += itemStack[1].stackSize; - } - - if(slots[4] == null && itemStack[2] != null) - { - slots [4] = itemStack[2].copy(); - }else if(itemStack[2] != null && slots[4].isItemEqual(itemStack[2])) - { - slots[4].stackSize += itemStack[2].stackSize; - } - - if(slots[5] == null && itemStack[3] != null) - { - slots [5] = itemStack[3].copy(); - }else if(itemStack[3] != null && slots[5].isItemEqual(itemStack[3])) - { - slots[5].stackSize += itemStack[3].stackSize; - } - - for(int i = 0; i < 1; i++) - { - if(slots[i].stackSize <= 0) - { - slots[i] = new ItemStack(slots[i].getItem().setFull3D()); - }else{ - slots[i].stackSize--; - } - if(slots[i].stackSize <= 0) - { - slots[i] = null; - } - } - } - } - - public boolean hasPower() { - return dualPower > 0; - } - - public boolean isProcessing() { - return this.dualCookTime > 0; - } - - @Override - public void updateEntity() { - boolean flag = this.hasPower(); - boolean flag1 = false; - - if(hasPower() && isProcessing()) - { - this.dualPower = this.dualPower - 50; - - if(this.dualPower < 0) - { - this.dualPower = 0; - } - } - - if(!worldObj.isRemote) - { - if(this.hasItemPower(this.slots[1]) && this.dualPower <= (TileEntityMachineCentrifuge.maxPower - TileEntityMachineCentrifuge.getItemPower(this.slots[1]))) - { - this.dualPower += getItemPower(this.slots[1]); - if(this.slots[1] != null) - { - flag1 = true; - this.slots[1].stackSize--; - if(this.slots[1].stackSize == 0) - { - this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); - } - } - } - - if(this.slots[1] != null && this.slots[1].getItem() == ModItems.pellet_rtg) - { - this.dualPower = maxPower; - } - - boolean trigger = true; - - if(hasPower() && canProcess() && this.dualCookTime == 0) - { - trigger = false; - } - - if(trigger) - { - flag1 = true; - } - } - - if(hasPower() && canProcess()) - { - dualCookTime++; - if(soundCycle == 0) - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 1.5F); - soundCycle++; - - if(soundCycle >= 25) - soundCycle = 0; - - if(this.dualCookTime >= TileEntityMachineCentrifuge.processingSpeed) - { - this.dualCookTime = 0; - this.processItem(); - } - }else{ - dualCookTime = 0; - } - - if(flag1) - { - this.markDirty(); - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import com.hbm.gui.MachineRecipes; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityMachineCentrifuge extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + + public int dualCookTime; + public int dualPower; + public int soundCycle = 0; + public static final int maxPower = 100000; + public static final int processingSpeed = 500; + + private static final int[] slots_top = new int[] {0}; + private static final int[] slots_bottom = new int[] {2, 3, 4, 5}; + private static final int[] slots_side = new int[] {1}; + + private String customName; + + public TileEntityMachineCentrifuge() { + slots = new ItemStack[6]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.centrifuge"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + if(i == 2 || i == 3 || i == 4 || i == 5) + { + return false; + } + + if(i == 1 && hasItemPower(itemStack)) + { + return true; + } + + return true; + } + + public boolean hasItemPower(ItemStack itemStack) { + return getItemPower(itemStack) > 0; + } + + private static int getItemPower(ItemStack itemStack) { + if(itemStack == null) + { + return 0; + }else{ + Item item = itemStack.getItem(); + + if(item == Items.coal) return 2500; + if(item == Item.getItemFromBlock(Blocks.coal_block)) return 25000; + if(item == Items.lava_bucket) return 50000; + if(item == Items.redstone) return 1000; + if(item == Item.getItemFromBlock(Blocks.redstone_block)) return 10000; + if(item == Item.getItemFromBlock(Blocks.netherrack)) return 1750; + if(item == Items.blaze_rod) return 15000; + if(item == Items.blaze_powder) return 5000; + + return 0; + } + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + dualPower = nbt.getShort("powerTime"); + dualCookTime = nbt.getShort("CookTime"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("powerTime", (short) dualPower); + nbt.setShort("cookTime", (short) dualCookTime); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + public int getCentrifugeProgressScaled(int i) { + return (dualCookTime * i) / processingSpeed; + } + + public int getPowerRemainingScaled(int i) { + return (dualPower * i) / maxPower; + } + + + public boolean canProcess() { + + if(slots[0] == null) + { + return false; + } + ItemStack[] itemStack = MachineRecipes.getCentrifugeProcessingResult(slots[0].getItem()); + if(itemStack == null) + { + return false; + } + + if(slots[2] == null && slots[3] == null && slots[4] == null && slots[5] == null) + { + return true; + } + + if((slots[2] == null || (itemStack[0] != null && (slots[2].isItemEqual(itemStack[0])) && slots[2].stackSize + itemStack[0].stackSize <= itemStack[0].getMaxStackSize())) && + (slots[3] == null || (itemStack[1] != null && (slots[3].isItemEqual(itemStack[1])) && slots[3].stackSize + itemStack[1].stackSize <= itemStack[1].getMaxStackSize())) && + (slots[4] == null || (itemStack[2] != null && (slots[4].isItemEqual(itemStack[2])) && slots[4].stackSize + itemStack[2].stackSize <= itemStack[2].getMaxStackSize())) && + (slots[5] == null || (itemStack[3] != null && (slots[5].isItemEqual(itemStack[3])) && slots[5].stackSize + itemStack[3].stackSize <= itemStack[3].getMaxStackSize()))) + { + return true; + } + + return false; + } + + private void processItem() { + if(canProcess()) { + ItemStack[] itemStack = MachineRecipes.getCentrifugeProcessingResult(slots[0].getItem()); + + if(slots[2] == null && itemStack[0] != null) + { + slots [2] = itemStack[0].copy(); + }else if(itemStack[0] != null && slots[2].isItemEqual(itemStack[0])) + { + slots[2].stackSize += itemStack[0].stackSize; + } + + if(slots[3] == null && itemStack[1] != null) + { + slots [3] = itemStack[1].copy(); + }else if(itemStack[1] != null && slots[3].isItemEqual(itemStack[1])) + { + slots[3].stackSize += itemStack[1].stackSize; + } + + if(slots[4] == null && itemStack[2] != null) + { + slots [4] = itemStack[2].copy(); + }else if(itemStack[2] != null && slots[4].isItemEqual(itemStack[2])) + { + slots[4].stackSize += itemStack[2].stackSize; + } + + if(slots[5] == null && itemStack[3] != null) + { + slots [5] = itemStack[3].copy(); + }else if(itemStack[3] != null && slots[5].isItemEqual(itemStack[3])) + { + slots[5].stackSize += itemStack[3].stackSize; + } + + for(int i = 0; i < 1; i++) + { + if(slots[i].stackSize <= 0) + { + slots[i] = new ItemStack(slots[i].getItem().setFull3D()); + }else{ + slots[i].stackSize--; + } + if(slots[i].stackSize <= 0) + { + slots[i] = null; + } + } + } + } + + public boolean hasPower() { + return dualPower > 0; + } + + public boolean isProcessing() { + return this.dualCookTime > 0; + } + + @Override + public void updateEntity() { + boolean flag = this.hasPower(); + boolean flag1 = false; + + if(hasPower() && isProcessing()) + { + this.dualPower = this.dualPower - 50; + + if(this.dualPower < 0) + { + this.dualPower = 0; + } + } + + if(!worldObj.isRemote) + { + if(this.hasItemPower(this.slots[1]) && this.dualPower <= (TileEntityMachineCentrifuge.maxPower - TileEntityMachineCentrifuge.getItemPower(this.slots[1]))) + { + this.dualPower += getItemPower(this.slots[1]); + if(this.slots[1] != null) + { + flag1 = true; + this.slots[1].stackSize--; + if(this.slots[1].stackSize == 0) + { + this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); + } + } + } + + if(this.slots[1] != null && this.slots[1].getItem() == ModItems.pellet_rtg) + { + this.dualPower = maxPower; + } + + boolean trigger = true; + + if(hasPower() && canProcess() && this.dualCookTime == 0) + { + trigger = false; + } + + if(trigger) + { + flag1 = true; + } + } + + if(hasPower() && canProcess()) + { + dualCookTime++; + if(soundCycle == 0) + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 1.5F); + soundCycle++; + + if(soundCycle >= 25) + soundCycle = 0; + + if(this.dualCookTime >= TileEntityMachineCentrifuge.processingSpeed) + { + this.dualCookTime = 0; + this.processItem(); + } + }else{ + dualCookTime = 0; + } + + if(flag1) + { + this.markDirty(); + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineCoal.java b/com/hbm/tileentity/TileEntityMachineCoal.java index 7f2acb509..fe1debaa8 100644 --- a/com/hbm/tileentity/TileEntityMachineCoal.java +++ b/com/hbm/tileentity/TileEntityMachineCoal.java @@ -1,513 +1,513 @@ -package com.hbm.tileentity; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -import java.util.ArrayList; -import java.util.List; - -import com.hbm.blocks.MachineCoal; -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemBattery; -import com.hbm.lib.Library; - -public class TileEntityMachineCoal extends TileEntity implements ISidedInventory, ISource { - - private ItemStack slots[]; - - public int power; - public int water; - public int burnTime; - public static final int maxPower = 10000; - public static final int maxWater = 10000; - public int age = 0; - public List list = new ArrayList(); - - private static final int[] slots_top = new int[] {1}; - private static final int[] slots_bottom = new int[] {0, 2}; - private static final int[] slots_side = new int[] {0, 2}; - - private String customName; - - public TileEntityMachineCoal() { - slots = new ItemStack[3]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.machineCoal"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack stack) { - if(i == 0) - if(stack.getItem() == ModItems.rod_water || stack.getItem() == ModItems.rod_dual_water || stack.getItem() == ModItems.rod_quad_water || stack.getItem() == Items.water_bucket) - return true; - if(i == 2) - if(stack.getItem() instanceof ItemBattery) - return true; - if(i == 1) - if(stack.getItem() == Items.coal || stack.getItem() == ModItems.powder_coal || stack.getItem() == Item.getItemFromBlock(Blocks.coal_block)) - return true; - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - this.power = nbt.getShort("powerTime"); - this.water = nbt.getShort("water"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("powerTime", (short) power); - nbt.setShort("water", (short) water); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if(i == 0) - if(itemStack.getItem() == Items.bucket || itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) - return true; - if(i == 2) - if(itemStack.getItemDamage() == 0) - return true; - - return false; - } - - public int getWaterScaled(int i) { - return (water * i) / maxWater; - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - @Override - public void updateEntity() { - age++; - if(age >= 20) - { - age = 0; - } - - if(age == 9 || age == 19) - ffgeuaInit(); - - //Water - if(slots[0] != null && slots[0].getItem() == Items.water_bucket && this.water + 2500 <= maxWater) - { - this.slots[0].stackSize--; - this.water += 2500; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - if(slots[0] != null && slots[0].getItem() == ModItems.rod_water && this.water + 2500 <= maxWater) - { - this.slots[0].stackSize--; - this.water += 2500; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - if(slots[0] != null && slots[0].getItem() == ModItems.rod_dual_water && this.water + 5000 <= maxWater) - { - this.slots[0].stackSize--; - this.water += 5000; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - if(slots[0] != null && slots[0].getItem() == ModItems.rod_quad_water && this.water + 10000 <= maxWater) - { - this.slots[0].stackSize--; - this.water += 10000; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - if(slots[0] != null && slots[0].getItem() == ModItems.inf_water) - { - this.water = this.maxWater; - } - - //Battery Item - if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_generic && slots[2].getItemDamage() > 0) - { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_advanced && slots[2].getItemDamage() > 0) - { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_schrabidium && slots[2].getItemDamage() > 0) - { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.factory_core_titanium && slots[2].getItemDamage() > 0) - { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.factory_core_advanced && slots[2].getItemDamage() > 0) - { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - - boolean flag = this.burnTime > 0; - boolean flag1 = false; - - if(!worldObj.isRemote) - { - - boolean trigger = true; - - if(isItemValid() && this.burnTime == 0) - { - trigger = false; - } - - if(trigger) - { - flag1 = true; - MachineCoal.updateBlockState(this.burnTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - generate(); - } - - public void generate() { - if(slots[1] != null && slots[1].getItem() == Items.coal && burnTime <= 0) - { - slots[1].stackSize -= 1; - burnTime = 200; - if(slots[1].stackSize == 0) - { - slots[1] = null; - } - } - if(slots[1] != null && slots[1].getItem() == ModItems.powder_coal && burnTime <= 0) - { - slots[1].stackSize -= 1; - burnTime = 200; - if(slots[1].stackSize == 0) - { - slots[1] = null; - } - } - if(slots[1] != null && slots[1].getItem() == Item.getItemFromBlock(Blocks.coal_block) && burnTime <= 0) - { - slots[1].stackSize -= 1; - burnTime = 2000; - if(slots[1].stackSize == 0) - { - slots[1] = null; - } - } - - if(burnTime > 0) - { - burnTime--; - - if(water > 0) - { - water -= 1; - - if(power + 10 <= maxPower) - { - power += 10; - } else { - power = maxPower; - } - } - } - } - - public boolean isItemValid() { - - if(slots[1] != null && slots[1].getItem() == Items.coal) - { - return true; - } - if(slots[1] != null && slots[1].getItem() == ModItems.powder_coal) - { - return true; - } - if(slots[1] != null && slots[1].getItem() == Item.getItemFromBlock(Blocks.coal_block)) - { - return true; - } - - return false; - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if(tileentity instanceof IConductor) - { - if(tileentity instanceof TileEntityCable) - { - if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) - { - if(((TileEntityCable)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if(tileentity instanceof TileEntityWireCoated) - { - if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) - { - list.add((IConsumer)tileentity); - } - - if(!newTact) - { - int size = list.size(); - if(size > 0) - { - int part = this.power / size; - for(IConsumer consume : list) - { - if(consume.getPower() < consume.getMaxPower()) - { - if(consume.getMaxPower() - consume.getPower() >= part) - { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); - ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); - } - - public boolean getTact() { - if(age >= 0 && age < 10) - { - return true; - } - - return false; - } -} +package com.hbm.tileentity; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.blocks.ModBlocks; +import com.hbm.blocks.machine.MachineCoal; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; +import com.hbm.lib.Library; + +public class TileEntityMachineCoal extends TileEntity implements ISidedInventory, ISource { + + private ItemStack slots[]; + + public int power; + public int water; + public int burnTime; + public static final int maxPower = 10000; + public static final int maxWater = 10000; + public int age = 0; + public List list = new ArrayList(); + + private static final int[] slots_top = new int[] {1}; + private static final int[] slots_bottom = new int[] {0, 2}; + private static final int[] slots_side = new int[] {0, 2}; + + private String customName; + + public TileEntityMachineCoal() { + slots = new ItemStack[3]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.machineCoal"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + if(i == 0) + if(stack.getItem() == ModItems.rod_water || stack.getItem() == ModItems.rod_dual_water || stack.getItem() == ModItems.rod_quad_water || stack.getItem() == Items.water_bucket) + return true; + if(i == 2) + if(stack.getItem() instanceof ItemBattery) + return true; + if(i == 1) + if(stack.getItem() == Items.coal || stack.getItem() == ModItems.powder_coal || stack.getItem() == Item.getItemFromBlock(Blocks.coal_block)) + return true; + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.power = nbt.getShort("powerTime"); + this.water = nbt.getShort("water"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("powerTime", (short) power); + nbt.setShort("water", (short) water); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i == 0) + if(itemStack.getItem() == Items.bucket || itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) + return true; + if(i == 2) + if(itemStack.getItemDamage() == 0) + return true; + + return false; + } + + public int getWaterScaled(int i) { + return (water * i) / maxWater; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + @Override + public void updateEntity() { + age++; + if(age >= 20) + { + age = 0; + } + + if(age == 9 || age == 19) + ffgeuaInit(); + + //Water + if(slots[0] != null && slots[0].getItem() == Items.water_bucket && this.water + 2500 <= maxWater) + { + this.slots[0].stackSize--; + this.water += 2500; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + if(slots[0] != null && slots[0].getItem() == ModItems.rod_water && this.water + 2500 <= maxWater) + { + this.slots[0].stackSize--; + this.water += 2500; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + if(slots[0] != null && slots[0].getItem() == ModItems.rod_dual_water && this.water + 5000 <= maxWater) + { + this.slots[0].stackSize--; + this.water += 5000; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + if(slots[0] != null && slots[0].getItem() == ModItems.rod_quad_water && this.water + 10000 <= maxWater) + { + this.slots[0].stackSize--; + this.water += 10000; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + if(slots[0] != null && slots[0].getItem() == ModItems.inf_water) + { + this.water = this.maxWater; + } + + //Battery Item + if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_generic && slots[2].getItemDamage() > 0) + { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_advanced && slots[2].getItemDamage() > 0) + { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_schrabidium && slots[2].getItemDamage() > 0) + { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.factory_core_titanium && slots[2].getItemDamage() > 0) + { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.factory_core_advanced && slots[2].getItemDamage() > 0) + { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + + boolean flag = this.burnTime > 0; + boolean flag1 = false; + + if(!worldObj.isRemote) + { + + boolean trigger = true; + + if(isItemValid() && this.burnTime == 0) + { + trigger = false; + } + + if(trigger) + { + flag1 = true; + MachineCoal.updateBlockState(this.burnTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + generate(); + } + + public void generate() { + if(slots[1] != null && slots[1].getItem() == Items.coal && burnTime <= 0) + { + slots[1].stackSize -= 1; + burnTime = 200; + if(slots[1].stackSize == 0) + { + slots[1] = null; + } + } + if(slots[1] != null && slots[1].getItem() == ModItems.powder_coal && burnTime <= 0) + { + slots[1].stackSize -= 1; + burnTime = 200; + if(slots[1].stackSize == 0) + { + slots[1] = null; + } + } + if(slots[1] != null && slots[1].getItem() == Item.getItemFromBlock(Blocks.coal_block) && burnTime <= 0) + { + slots[1].stackSize -= 1; + burnTime = 2000; + if(slots[1].stackSize == 0) + { + slots[1] = null; + } + } + + if(burnTime > 0) + { + burnTime--; + + if(water > 0) + { + water -= 1; + + if(power + 10 <= maxPower) + { + power += 10; + } else { + power = maxPower; + } + } + } + } + + public boolean isItemValid() { + + if(slots[1] != null && slots[1].getItem() == Items.coal) + { + return true; + } + if(slots[1] != null && slots[1].getItem() == ModItems.powder_coal) + { + return true; + } + if(slots[1] != null && slots[1].getItem() == Item.getItemFromBlock(Blocks.coal_block)) + { + return true; + } + + return false; + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if(tileentity instanceof IConductor) + { + if(tileentity instanceof TileEntityCable) + { + if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) + { + if(((TileEntityCable)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if(tileentity instanceof TileEntityWireCoated) + { + if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) + { + list.add((IConsumer)tileentity); + } + + if(!newTact) + { + int size = list.size(); + if(size > 0) + { + int part = this.power / size; + for(IConsumer consume : list) + { + if(consume.getPower() < consume.getMaxPower()) + { + if(consume.getMaxPower() - consume.getPower() >= part) + { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); + ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); + } + + public boolean getTact() { + if(age >= 0 && age < 10) + { + return true; + } + + return false; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineDeuterium.java b/com/hbm/tileentity/TileEntityMachineDeuterium.java index c48612fd9..7098fc354 100644 --- a/com/hbm/tileentity/TileEntityMachineDeuterium.java +++ b/com/hbm/tileentity/TileEntityMachineDeuterium.java @@ -1,384 +1,384 @@ -package com.hbm.tileentity; - -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemBattery; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineDeuterium extends TileEntity implements ISidedInventory, IConsumer { - - private ItemStack slots[]; - - public int power = 0; - public int water = 0; - public int sulfur = 0; - public int process = 0; - public static final int maxFill = 1000; - public static final int maxPower = 10000; - public static final int processSpeed = 200; - - private static final int[] slots_top = new int[] {3}; - private static final int[] slots_bottom = new int[] {4, 0, 1}; - private static final int[] slots_side = new int[] {0, 1, 2}; - - private String customName; - - public TileEntityMachineDeuterium() { - slots = new ItemStack[5]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.machine_deuterium"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack stack) { - switch(i) - { - case 0: - if(stack.getItem() instanceof ItemBattery) - return true; - break; - case 1: - if(stack.getItem() == ModItems.rod_water || stack.getItem() == ModItems.rod_dual_water || stack.getItem() == ModItems.rod_quad_water || stack.getItem() == Items.water_bucket) - return true; - break; - case 2: - if(stack.getItem() == ModItems.sulfur) - return true; - break; - case 3: - if(stack.getItem() == ModItems.cell_empty) - return true; - break; - } - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - power = nbt.getShort("power"); - water = nbt.getShort("water"); - sulfur = nbt.getShort("sulfur"); - process = nbt.getShort("process"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("power", (short) power); - nbt.setShort("water", (short) water); - nbt.setShort("sulfur", (short) sulfur); - nbt.setShort("process", (short) process); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if(i == 4) - return true; - if(i == 0 && itemStack.getItem() instanceof ItemBattery) - if(itemStack.getItemDamage() == itemStack.getMaxDamage()) - return true; - if(i == 1) - if(itemStack.getItem() == Items.bucket || itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) - return true; - - return false; - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - public int getWaterScaled(int i) { - return (water * i) / maxFill; - } - - public int getSulfurScaled(int i) { - return (sulfur * i) / maxFill; - } - - public int getProgressScaled(int i) { - return (process * i) / processSpeed; - } - - public boolean canProcess() { - if(water != 0 && power != 0 && sulfur != 0 && slots[3] != null && slots[3].getItem() == ModItems.cell_empty && (slots[4] == null || (slots[4] != null && slots[4].stackSize < 64))) - { - return true; - } - return false; - } - - public boolean isProcessing() { - return process > 0; - } - - public void process() { - water -= 2; - sulfur -= 1; - power -= 5; - - process++; - - if(process >= processSpeed) { - - slots[3].stackSize--; - - if(slots[3].stackSize == 0) - { - slots[3] = null; - } - - if(slots[4] == null) - { - slots[4] = new ItemStack(ModItems.cell_deuterium); - } else { - - slots[4].stackSize++; - } - - process = 0; - } - } - - @Override - public void updateEntity() { - - if (!worldObj.isRemote) { - if (slots[2] != null && slots[2].getItem() == ModItems.sulfur && sulfur + 125 <= maxFill) { - sulfur += 125; - slots[2].stackSize--; - if (slots[2].stackSize == 0) { - slots[2] = null; - } - } - if (slots[2] != null && slots[2].getItem() == ModItems.inf_sulfur) { - sulfur = maxFill; - } - - if (slots[1] != null && slots[1].getItem() == Items.water_bucket && water + 250 <= maxFill) { - water += 250; - slots[1].stackSize--; - if (slots[1].stackSize == 0) { - this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); - } - } - - if (slots[1] != null && slots[1].getItem() == ModItems.rod_water && water + 250 <= maxFill) { - water += 250; - slots[1].stackSize--; - if (slots[1].stackSize == 0) { - this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); - } - } - - if (slots[1] != null && slots[1].getItem() == ModItems.rod_dual_water && water + 500 <= maxFill) { - water += 500; - slots[1].stackSize--; - if (slots[1].stackSize == 0) { - this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); - } - } - - if (slots[1] != null && slots[1].getItem() == ModItems.rod_quad_water && water + 1000 <= maxFill) { - water += 1000; - slots[1].stackSize--; - if (slots[1].stackSize == 0) { - this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); - } - } - - if (slots[1] != null && slots[1].getItem() == ModItems.inf_water) { - water = maxFill; - } - - if (/* power + 100 <= maxPower && */slots[0] != null && slots[0].getItem() == ModItems.battery_creative) { - power = maxPower; - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_generic - && slots[0].getItemDamage() < 50) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced - && slots[0].getItemDamage() < 200) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium - && slots[0].getItemDamage() < 1000) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.fusion_core - && slots[0].getItemDamage() < 5000) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.energy_core - && slots[0].getItemDamage() < 5000) { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if (canProcess()) { - process(); - } else { - process = 0; - } - } - } - - @Override - public void setPower(int i) { - power = i; - - } - - @Override - public int getPower() { - return power; - - } - - @Override - public int getMaxPower() { - return maxPower; - } -} +package com.hbm.tileentity; + +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineDeuterium extends TileEntity implements ISidedInventory, IConsumer { + + private ItemStack slots[]; + + public int power = 0; + public int water = 0; + public int sulfur = 0; + public int process = 0; + public static final int maxFill = 1000; + public static final int maxPower = 10000; + public static final int processSpeed = 200; + + private static final int[] slots_top = new int[] {3}; + private static final int[] slots_bottom = new int[] {4, 0, 1}; + private static final int[] slots_side = new int[] {0, 1, 2}; + + private String customName; + + public TileEntityMachineDeuterium() { + slots = new ItemStack[5]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.machine_deuterium"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + switch(i) + { + case 0: + if(stack.getItem() instanceof ItemBattery) + return true; + break; + case 1: + if(stack.getItem() == ModItems.rod_water || stack.getItem() == ModItems.rod_dual_water || stack.getItem() == ModItems.rod_quad_water || stack.getItem() == Items.water_bucket) + return true; + break; + case 2: + if(stack.getItem() == ModItems.sulfur) + return true; + break; + case 3: + if(stack.getItem() == ModItems.cell_empty) + return true; + break; + } + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + power = nbt.getShort("power"); + water = nbt.getShort("water"); + sulfur = nbt.getShort("sulfur"); + process = nbt.getShort("process"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("power", (short) power); + nbt.setShort("water", (short) water); + nbt.setShort("sulfur", (short) sulfur); + nbt.setShort("process", (short) process); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i == 4) + return true; + if(i == 0 && itemStack.getItem() instanceof ItemBattery) + if(itemStack.getItemDamage() == itemStack.getMaxDamage()) + return true; + if(i == 1) + if(itemStack.getItem() == Items.bucket || itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) + return true; + + return false; + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + public int getWaterScaled(int i) { + return (water * i) / maxFill; + } + + public int getSulfurScaled(int i) { + return (sulfur * i) / maxFill; + } + + public int getProgressScaled(int i) { + return (process * i) / processSpeed; + } + + public boolean canProcess() { + if(water != 0 && power != 0 && sulfur != 0 && slots[3] != null && slots[3].getItem() == ModItems.cell_empty && (slots[4] == null || (slots[4] != null && slots[4].stackSize < 64))) + { + return true; + } + return false; + } + + public boolean isProcessing() { + return process > 0; + } + + public void process() { + water -= 2; + sulfur -= 1; + power -= 5; + + process++; + + if(process >= processSpeed) { + + slots[3].stackSize--; + + if(slots[3].stackSize == 0) + { + slots[3] = null; + } + + if(slots[4] == null) + { + slots[4] = new ItemStack(ModItems.cell_deuterium); + } else { + + slots[4].stackSize++; + } + + process = 0; + } + } + + @Override + public void updateEntity() { + + if (!worldObj.isRemote) { + if (slots[2] != null && slots[2].getItem() == ModItems.sulfur && sulfur + 125 <= maxFill) { + sulfur += 125; + slots[2].stackSize--; + if (slots[2].stackSize == 0) { + slots[2] = null; + } + } + if (slots[2] != null && slots[2].getItem() == ModItems.inf_sulfur) { + sulfur = maxFill; + } + + if (slots[1] != null && slots[1].getItem() == Items.water_bucket && water + 250 <= maxFill) { + water += 250; + slots[1].stackSize--; + if (slots[1].stackSize == 0) { + this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); + } + } + + if (slots[1] != null && slots[1].getItem() == ModItems.rod_water && water + 250 <= maxFill) { + water += 250; + slots[1].stackSize--; + if (slots[1].stackSize == 0) { + this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); + } + } + + if (slots[1] != null && slots[1].getItem() == ModItems.rod_dual_water && water + 500 <= maxFill) { + water += 500; + slots[1].stackSize--; + if (slots[1].stackSize == 0) { + this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); + } + } + + if (slots[1] != null && slots[1].getItem() == ModItems.rod_quad_water && water + 1000 <= maxFill) { + water += 1000; + slots[1].stackSize--; + if (slots[1].stackSize == 0) { + this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]); + } + } + + if (slots[1] != null && slots[1].getItem() == ModItems.inf_water) { + water = maxFill; + } + + if (/* power + 100 <= maxPower && */slots[0] != null && slots[0].getItem() == ModItems.battery_creative) { + power = maxPower; + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_generic + && slots[0].getItemDamage() < 50) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced + && slots[0].getItemDamage() < 200) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium + && slots[0].getItemDamage() < 1000) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.fusion_core + && slots[0].getItemDamage() < 5000) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.energy_core + && slots[0].getItemDamage() < 5000) { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if (canProcess()) { + process(); + } else { + process = 0; + } + } + } + + @Override + public void setPower(int i) { + power = i; + + } + + @Override + public int getPower() { + return power; + + } + + @Override + public int getMaxPower() { + return maxPower; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineDiesel.java b/com/hbm/tileentity/TileEntityMachineDiesel.java index 7d053d90b..89837bce9 100644 --- a/com/hbm/tileentity/TileEntityMachineDiesel.java +++ b/com/hbm/tileentity/TileEntityMachineDiesel.java @@ -1,462 +1,462 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; - -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemBattery; -import com.hbm.lib.Library; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineDiesel extends TileEntity implements ISidedInventory, ISource { - - private ItemStack slots[]; - - public int power; - public int diesel; - public int soundCycle = 0; - public static final int maxPower = 10000; - public int powerCap = 10000; - public int superTimer; - public static final int maxDiesel = 10000; - public int age = 0; - public List list = new ArrayList(); - - private static final int[] slots_top = new int[] { 0 }; - private static final int[] slots_bottom = new int[] { 1, 2 }; - private static final int[] slots_side = new int[] { 2 }; - - private String customName; - - public TileEntityMachineDiesel() { - slots = new ItemStack[3]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if (slots[i] != null) { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if (itemStack != null && itemStack.stackSize > getInventoryStackLimit()) { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.machineDiesel"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if (worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) { - return false; - } else { - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <= 64; - } - } - - // You scrubs aren't needed for anything (right now) - @Override - public void openInventory() { - } - - @Override - public void closeInventory() { - } - - @Override - public boolean isItemValidForSlot(int i, ItemStack stack) { - if (i == 0) - if (stack.getItem() == ModItems.canister_fuel || stack.getItem() == ModItems.canister_NITAN - || stack.getItem() == Item.getItemFromBlock(ModBlocks.red_barrel)) - return true; - if (i == 2) - if (stack.getItem() instanceof ItemBattery) - return true; - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if (slots[i] != null) { - if (slots[i].stackSize <= j) { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - this.power = nbt.getInteger("powerTime"); - this.diesel = nbt.getShort("diesel"); - this.powerCap = nbt.getInteger("powerCap"); - this.superTimer = nbt.getInteger("superTimer"); - slots = new ItemStack[getSizeInventory()]; - - for (int i = 0; i < list.tagCount(); i++) { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if (b0 >= 0 && b0 < slots.length) { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setInteger("powerTime", power); - nbt.setShort("diesel", (short) diesel); - nbt.setInteger("powerCap", powerCap); - nbt.setInteger("superTimer", superTimer); - NBTTagList list = new NBTTagList(); - - for (int i = 0; i < slots.length; i++) { - if (slots[i] != null) { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte) i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if (i == 1) - if (itemStack.getItem() == ModItems.canister_empty || itemStack.getItem() == ModItems.tank_steel) - return true; - if (i == 2) - if (itemStack.getItemDamage() == 0) - return true; - - return false; - } - - public int getDieselScaled(int i) { - return (diesel * i) / maxDiesel; - } - - public int getPowerScaled(int i) { - return (power * i) / powerCap; - } - - @Override - public void updateEntity() { - if (!worldObj.isRemote) { - age++; - if (age >= 20) { - age = 0; - } - - if(superTimer > 0) - { - superTimer--; - powerCap = 1000000000; - } - - if(superTimer <= 0 && powerCap != maxPower) - { - powerCap = maxPower; - - if(worldObj.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == Blocks.air) - worldObj.setBlock(this.xCoord, this.yCoord + 1, this.zCoord, Blocks.fire); - } - - if (age == 9 || age == 19) - ffgeuaInit(); - - if (slots[0] != null && slots[0].getItem() == ModItems.inf_diesel) { - diesel = maxDiesel; - } - - if (slots[0] != null && slots[0].getItem() == ModItems.canister_fuel && diesel + 625 <= maxDiesel) { - if (slots[1] == null || slots[1] != null && slots[1].getItem() == slots[0].getItem().getContainerItem() - && slots[1].stackSize < slots[1].getMaxStackSize()) { - if (slots[1] == null) - slots[1] = new ItemStack(slots[0].getItem().getContainerItem()); - else - slots[1].stackSize++; - - slots[0].stackSize--; - if (slots[0].stackSize <= 0) - slots[0] = null; - - diesel += 625; - } - } - - if (slots[0] != null && slots[0].getItem() == ModItems.canister_NITAN && diesel + 625 <= maxDiesel) { - if (slots[1] == null || slots[1] != null && slots[1].getItem() == slots[0].getItem().getContainerItem() - && slots[1].stackSize < slots[1].getMaxStackSize()) { - if (slots[1] == null) - slots[1] = new ItemStack(slots[0].getItem().getContainerItem()); - else - slots[1].stackSize++; - - slots[0].stackSize--; - if (slots[0].stackSize <= 0) - slots[0] = null; - - diesel += 625; - superTimer += 200; - } - } - - if (slots[0] != null && slots[0].getItem() == Item.getItemFromBlock(ModBlocks.red_barrel) - && diesel + 5000 <= maxDiesel) { - if (slots[1] == null || slots[1] != null && slots[1].getItem() == ModItems.tank_steel - && slots[1].stackSize < slots[1].getMaxStackSize()) { - if (slots[1] == null) - slots[1] = new ItemStack(ModItems.tank_steel); - else - slots[1].stackSize++; - - slots[0].stackSize--; - if (slots[0].stackSize <= 0) - slots[0] = null; - - diesel += 5000; - } - } - - // Battery Item - if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_generic - && slots[2].getItemDamage() > 0) { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_advanced - && slots[2].getItemDamage() > 0) { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_schrabidium - && slots[2].getItemDamage() > 0) { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.factory_core_titanium - && slots[2].getItemDamage() > 0) { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.factory_core_advanced - && slots[2].getItemDamage() > 0) { - power -= 100; - slots[2].setItemDamage(slots[2].getItemDamage() - 1); - } - - generate(); - } - } - - public void generate() { - if (diesel > 0) { - if (soundCycle == 0) { - if(this.superTimer > 0) - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "fireworks.blast", 1.0F, 1.0F); - else - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "fireworks.blast", 1.0F, 0.5F); - } - soundCycle++; - - if (soundCycle >= 3 && this.superTimer <= 0) - soundCycle = 0; - if(this.superTimer > 0) - soundCycle = 0; - - diesel -= 10; - if (diesel < 0) - diesel = 0; - - if (power + 25 <= powerCap && this.superTimer <= 0) { - power += 25; - } else if (power + 1000000000 <= powerCap && this.superTimer > 0) { - power += 1000000000; - } else { - power = powerCap; - } - } - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if (block == ModBlocks.factory_titanium_conductor - && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if (block == ModBlocks.factory_titanium_conductor - && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if (block == ModBlocks.factory_advanced_conductor - && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if (block == ModBlocks.factory_advanced_conductor - && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if (tileentity instanceof IConductor) { - if (tileentity instanceof TileEntityCable) { - if (Library.checkUnionList(((TileEntityCable) tileentity).uoteab, this)) { - for (int i = 0; i < ((TileEntityCable) tileentity).uoteab.size(); i++) { - if (((TileEntityCable) tileentity).uoteab.get(i).source == this) { - if (((TileEntityCable) tileentity).uoteab.get(i).ticked != newTact) { - ((TileEntityCable) tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable) tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if (tileentity instanceof TileEntityWireCoated) { - if (Library.checkUnionList(((TileEntityWireCoated) tileentity).uoteab, this)) { - for (int i = 0; i < ((TileEntityWireCoated) tileentity).uoteab.size(); i++) { - if (((TileEntityWireCoated) tileentity).uoteab.get(i).source == this) { - if (((TileEntityWireCoated) tileentity).uoteab.get(i).ticked != newTact) { - ((TileEntityWireCoated) tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated) tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if (tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery - && ((TileEntityMachineBattery) tileentity).conducts)) { - list.add((IConsumer) tileentity); - } - - if (!newTact) { - int size = list.size(); - if (size > 0) { - int part = this.power / size; - for (IConsumer consume : list) { - if (consume.getPower() < consume.getMaxPower()) { - if (consume.getMaxPower() - consume.getPower() >= part) { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); - ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); - } - - public boolean getTact() { - if (age >= 0 && age < 10) { - return true; - } - - return false; - } -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.blocks.ModBlocks; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineDiesel extends TileEntity implements ISidedInventory, ISource { + + private ItemStack slots[]; + + public int power; + public int diesel; + public int soundCycle = 0; + public static final int maxPower = 10000; + public int powerCap = 10000; + public int superTimer; + public static final int maxDiesel = 10000; + public int age = 0; + public List list = new ArrayList(); + + private static final int[] slots_top = new int[] { 0 }; + private static final int[] slots_bottom = new int[] { 1, 2 }; + private static final int[] slots_side = new int[] { 2 }; + + private String customName; + + public TileEntityMachineDiesel() { + slots = new ItemStack[3]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if (slots[i] != null) { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if (itemStack != null && itemStack.stackSize > getInventoryStackLimit()) { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.machineDiesel"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if (worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) { + return false; + } else { + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <= 64; + } + } + + // You scrubs aren't needed for anything (right now) + @Override + public void openInventory() { + } + + @Override + public void closeInventory() { + } + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + if (i == 0) + if (stack.getItem() == ModItems.canister_fuel || stack.getItem() == ModItems.canister_NITAN + || stack.getItem() == Item.getItemFromBlock(ModBlocks.red_barrel)) + return true; + if (i == 2) + if (stack.getItem() instanceof ItemBattery) + return true; + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if (slots[i] != null) { + if (slots[i].stackSize <= j) { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.power = nbt.getInteger("powerTime"); + this.diesel = nbt.getShort("diesel"); + this.powerCap = nbt.getInteger("powerCap"); + this.superTimer = nbt.getInteger("superTimer"); + slots = new ItemStack[getSizeInventory()]; + + for (int i = 0; i < list.tagCount(); i++) { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if (b0 >= 0 && b0 < slots.length) { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setInteger("powerTime", power); + nbt.setShort("diesel", (short) diesel); + nbt.setInteger("powerCap", powerCap); + nbt.setInteger("superTimer", superTimer); + NBTTagList list = new NBTTagList(); + + for (int i = 0; i < slots.length; i++) { + if (slots[i] != null) { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte) i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if (i == 1) + if (itemStack.getItem() == ModItems.canister_empty || itemStack.getItem() == ModItems.tank_steel) + return true; + if (i == 2) + if (itemStack.getItemDamage() == 0) + return true; + + return false; + } + + public int getDieselScaled(int i) { + return (diesel * i) / maxDiesel; + } + + public int getPowerScaled(int i) { + return (power * i) / powerCap; + } + + @Override + public void updateEntity() { + if (!worldObj.isRemote) { + age++; + if (age >= 20) { + age = 0; + } + + if(superTimer > 0) + { + superTimer--; + powerCap = 1000000000; + } + + if(superTimer <= 0 && powerCap != maxPower) + { + powerCap = maxPower; + + if(worldObj.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == Blocks.air) + worldObj.setBlock(this.xCoord, this.yCoord + 1, this.zCoord, Blocks.fire); + } + + if (age == 9 || age == 19) + ffgeuaInit(); + + if (slots[0] != null && slots[0].getItem() == ModItems.inf_diesel) { + diesel = maxDiesel; + } + + if (slots[0] != null && slots[0].getItem() == ModItems.canister_fuel && diesel + 625 <= maxDiesel) { + if (slots[1] == null || slots[1] != null && slots[1].getItem() == slots[0].getItem().getContainerItem() + && slots[1].stackSize < slots[1].getMaxStackSize()) { + if (slots[1] == null) + slots[1] = new ItemStack(slots[0].getItem().getContainerItem()); + else + slots[1].stackSize++; + + slots[0].stackSize--; + if (slots[0].stackSize <= 0) + slots[0] = null; + + diesel += 625; + } + } + + if (slots[0] != null && slots[0].getItem() == ModItems.canister_NITAN && diesel + 625 <= maxDiesel) { + if (slots[1] == null || slots[1] != null && slots[1].getItem() == slots[0].getItem().getContainerItem() + && slots[1].stackSize < slots[1].getMaxStackSize()) { + if (slots[1] == null) + slots[1] = new ItemStack(slots[0].getItem().getContainerItem()); + else + slots[1].stackSize++; + + slots[0].stackSize--; + if (slots[0].stackSize <= 0) + slots[0] = null; + + diesel += 625; + superTimer += 200; + } + } + + if (slots[0] != null && slots[0].getItem() == Item.getItemFromBlock(ModBlocks.red_barrel) + && diesel + 5000 <= maxDiesel) { + if (slots[1] == null || slots[1] != null && slots[1].getItem() == ModItems.tank_steel + && slots[1].stackSize < slots[1].getMaxStackSize()) { + if (slots[1] == null) + slots[1] = new ItemStack(ModItems.tank_steel); + else + slots[1].stackSize++; + + slots[0].stackSize--; + if (slots[0].stackSize <= 0) + slots[0] = null; + + diesel += 5000; + } + } + + // Battery Item + if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_generic + && slots[2].getItemDamage() > 0) { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_advanced + && slots[2].getItemDamage() > 0) { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.battery_schrabidium + && slots[2].getItemDamage() > 0) { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.factory_core_titanium + && slots[2].getItemDamage() > 0) { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + if (power - 100 >= 0 && slots[2] != null && slots[2].getItem() == ModItems.factory_core_advanced + && slots[2].getItemDamage() > 0) { + power -= 100; + slots[2].setItemDamage(slots[2].getItemDamage() - 1); + } + + generate(); + } + } + + public void generate() { + if (diesel > 0) { + if (soundCycle == 0) { + if(this.superTimer > 0) + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "fireworks.blast", 1.0F, 1.0F); + else + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "fireworks.blast", 1.0F, 0.5F); + } + soundCycle++; + + if (soundCycle >= 3 && this.superTimer <= 0) + soundCycle = 0; + if(this.superTimer > 0) + soundCycle = 0; + + diesel -= 10; + if (diesel < 0) + diesel = 0; + + if (power + 25 <= powerCap && this.superTimer <= 0) { + power += 25; + } else if (power + 1000000000 <= powerCap && this.superTimer > 0) { + power += 1000000000; + } else { + power = powerCap; + } + } + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if (block == ModBlocks.factory_titanium_conductor + && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if (block == ModBlocks.factory_titanium_conductor + && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if (block == ModBlocks.factory_advanced_conductor + && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if (block == ModBlocks.factory_advanced_conductor + && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if (tileentity instanceof IConductor) { + if (tileentity instanceof TileEntityCable) { + if (Library.checkUnionList(((TileEntityCable) tileentity).uoteab, this)) { + for (int i = 0; i < ((TileEntityCable) tileentity).uoteab.size(); i++) { + if (((TileEntityCable) tileentity).uoteab.get(i).source == this) { + if (((TileEntityCable) tileentity).uoteab.get(i).ticked != newTact) { + ((TileEntityCable) tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable) tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if (tileentity instanceof TileEntityWireCoated) { + if (Library.checkUnionList(((TileEntityWireCoated) tileentity).uoteab, this)) { + for (int i = 0; i < ((TileEntityWireCoated) tileentity).uoteab.size(); i++) { + if (((TileEntityWireCoated) tileentity).uoteab.get(i).source == this) { + if (((TileEntityWireCoated) tileentity).uoteab.get(i).ticked != newTact) { + ((TileEntityWireCoated) tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated) tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if (tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery + && ((TileEntityMachineBattery) tileentity).conducts)) { + list.add((IConsumer) tileentity); + } + + if (!newTact) { + int size = list.size(); + if (size > 0) { + int part = this.power / size; + for (IConsumer consume : list) { + if (consume.getPower() < consume.getMaxPower()) { + if (consume.getMaxPower() - consume.getPower() >= part) { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); + ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); + } + + public boolean getTact() { + if (age >= 0 && age < 10) { + return true; + } + + return false; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineElectricFurnace.java b/com/hbm/tileentity/TileEntityMachineElectricFurnace.java index fa5d59ffb..66ad64691 100644 --- a/com/hbm/tileentity/TileEntityMachineElectricFurnace.java +++ b/com/hbm/tileentity/TileEntityMachineElectricFurnace.java @@ -1,366 +1,366 @@ -package com.hbm.tileentity; - -import com.hbm.blocks.MachineElectricFurnace; -import com.hbm.gui.MachineRecipes; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemBattery; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.item.crafting.FurnaceRecipes; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineElectricFurnace extends TileEntity implements ISidedInventory, IConsumer { - - private ItemStack slots[]; - - public int dualCookTime; - public int power; - public static final int maxPower = 10000; - public static final int processingSpeed = 100; - - private static final int[] slots_top = new int[] {1}; - private static final int[] slots_bottom = new int[] {2, 0}; - private static final int[] slots_side = new int[] {0}; - - private String customName; - - public TileEntityMachineElectricFurnace() { - slots = new ItemStack[3]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.electricFurnace"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - if(i == 0) - if(itemStack.getItem() instanceof ItemBattery) - return true; - - if(i == 1) - return true; - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - this.power = nbt.getShort("powerTime"); - this.dualCookTime = nbt.getShort("cookTime"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("powerTime", (short) power); - nbt.setShort("cookTime", (short) dualCookTime); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if(i == 0) - if(itemStack.getItemDamage() == itemStack.getMaxDamage()) - return true; - if(i == 2) - return true; - - return false; - } - - public int getDiFurnaceProgressScaled(int i) { - return (dualCookTime * i) / processingSpeed; - } - - public int getPowerRemainingScaled(int i) { - return (power * i) / maxPower; - } - - public boolean hasPower() { - return power > 0; - } - - public boolean isProcessing() { - return this.dualCookTime > 0; - } - - public boolean canProcess() { - if(slots[1] == null) - { - return false; - } - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[1]); - //ItemStack itemStack = MachineRecipes.getShredderResult(this.slots[1]); - if(itemStack == null) - { - return false; - } - - if(slots[2] == null) - { - return true; - } - - if(!slots[2].isItemEqual(itemStack)) { - return false; - } - - if(slots[2].stackSize < getInventoryStackLimit() && slots[2].stackSize < slots[2].getMaxStackSize()) { - return true; - }else{ - return slots[2].stackSize < itemStack.getMaxStackSize(); - } - } - - private void processItem() { - if(canProcess()) { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[1]); - //ItemStack itemStack = MachineRecipes.getShredderResult(this.slots[1]); - - if(slots[2] == null) - { - slots[2] = itemStack.copy(); - }else if(slots[2].isItemEqual(itemStack)) { - slots[2].stackSize += itemStack.stackSize; - } - - for(int i = 1; i < 2; i++) - { - if(slots[i].stackSize <= 0) - { - slots[i] = new ItemStack(slots[i].getItem().setFull3D()); - }else{ - slots[i].stackSize--; - } - if(slots[i].stackSize <= 0) - { - slots[i] = null; - } - } - } - } - - @Override - public void updateEntity() { - boolean flag = this.hasPower(); - boolean flag1 = false; - - if(!worldObj.isRemote) - { - if(hasPower() && canProcess()) - { - dualCookTime++; - - power -= 5; - - if(this.dualCookTime == TileEntityMachineElectricFurnace.processingSpeed) - { - this.dualCookTime = 0; - this.processItem(); - flag1 = true; - } - }else{ - dualCookTime = 0; - } - - boolean trigger = true; - - if(hasPower() && canProcess() && this.dualCookTime == 0) - { - trigger = false; - } - - if(trigger) - { - flag1 = true; - MachineElectricFurnace.updateBlockState(this.dualCookTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(/*power + 100 <= maxPower && */slots[0] != null && slots[0].getItem() == ModItems.battery_creative) - { - power = maxPower; - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_generic && slots[0].getItemDamage() < 50) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced && slots[0].getItemDamage() < 200) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium && slots[0].getItemDamage() < 10000) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.fusion_core && slots[0].getItemDamage() < 5000) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.energy_core && slots[0].getItemDamage() < 5000) - { - power += 100; - slots[0].setItemDamage(slots[0].getItemDamage() + 1); - } - - if(flag1) - { - this.markDirty(); - } - } - - @Override - public void setPower(int i) { - power = i; - - } - - @Override - public int getPower() { - return power; - - } - - @Override - public int getMaxPower() { - return maxPower; - } -} +package com.hbm.tileentity; + +import com.hbm.blocks.machine.MachineElectricFurnace; +import com.hbm.gui.MachineRecipes; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineElectricFurnace extends TileEntity implements ISidedInventory, IConsumer { + + private ItemStack slots[]; + + public int dualCookTime; + public int power; + public static final int maxPower = 10000; + public static final int processingSpeed = 100; + + private static final int[] slots_top = new int[] {1}; + private static final int[] slots_bottom = new int[] {2, 0}; + private static final int[] slots_side = new int[] {0}; + + private String customName; + + public TileEntityMachineElectricFurnace() { + slots = new ItemStack[3]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.electricFurnace"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + if(i == 0) + if(itemStack.getItem() instanceof ItemBattery) + return true; + + if(i == 1) + return true; + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.power = nbt.getShort("powerTime"); + this.dualCookTime = nbt.getShort("cookTime"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("powerTime", (short) power); + nbt.setShort("cookTime", (short) dualCookTime); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i == 0) + if(itemStack.getItemDamage() == itemStack.getMaxDamage()) + return true; + if(i == 2) + return true; + + return false; + } + + public int getDiFurnaceProgressScaled(int i) { + return (dualCookTime * i) / processingSpeed; + } + + public int getPowerRemainingScaled(int i) { + return (power * i) / maxPower; + } + + public boolean hasPower() { + return power > 0; + } + + public boolean isProcessing() { + return this.dualCookTime > 0; + } + + public boolean canProcess() { + if(slots[1] == null) + { + return false; + } + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[1]); + //ItemStack itemStack = MachineRecipes.getShredderResult(this.slots[1]); + if(itemStack == null) + { + return false; + } + + if(slots[2] == null) + { + return true; + } + + if(!slots[2].isItemEqual(itemStack)) { + return false; + } + + if(slots[2].stackSize < getInventoryStackLimit() && slots[2].stackSize < slots[2].getMaxStackSize()) { + return true; + }else{ + return slots[2].stackSize < itemStack.getMaxStackSize(); + } + } + + private void processItem() { + if(canProcess()) { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[1]); + //ItemStack itemStack = MachineRecipes.getShredderResult(this.slots[1]); + + if(slots[2] == null) + { + slots[2] = itemStack.copy(); + }else if(slots[2].isItemEqual(itemStack)) { + slots[2].stackSize += itemStack.stackSize; + } + + for(int i = 1; i < 2; i++) + { + if(slots[i].stackSize <= 0) + { + slots[i] = new ItemStack(slots[i].getItem().setFull3D()); + }else{ + slots[i].stackSize--; + } + if(slots[i].stackSize <= 0) + { + slots[i] = null; + } + } + } + } + + @Override + public void updateEntity() { + boolean flag = this.hasPower(); + boolean flag1 = false; + + if(!worldObj.isRemote) + { + if(hasPower() && canProcess()) + { + dualCookTime++; + + power -= 5; + + if(this.dualCookTime == TileEntityMachineElectricFurnace.processingSpeed) + { + this.dualCookTime = 0; + this.processItem(); + flag1 = true; + } + }else{ + dualCookTime = 0; + } + + boolean trigger = true; + + if(hasPower() && canProcess() && this.dualCookTime == 0) + { + trigger = false; + } + + if(trigger) + { + flag1 = true; + MachineElectricFurnace.updateBlockState(this.dualCookTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(/*power + 100 <= maxPower && */slots[0] != null && slots[0].getItem() == ModItems.battery_creative) + { + power = maxPower; + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_generic && slots[0].getItemDamage() < 50) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_advanced && slots[0].getItemDamage() < 200) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.battery_schrabidium && slots[0].getItemDamage() < 10000) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.fusion_core && slots[0].getItemDamage() < 5000) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[0] != null && slots[0].getItem() == ModItems.energy_core && slots[0].getItemDamage() < 5000) + { + power += 100; + slots[0].setItemDamage(slots[0].getItemDamage() + 1); + } + + if(flag1) + { + this.markDirty(); + } + } + + @Override + public void setPower(int i) { + power = i; + + } + + @Override + public int getPower() { + return power; + + } + + @Override + public int getMaxPower() { + return maxPower; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineGenerator.java b/com/hbm/tileentity/TileEntityMachineGenerator.java index 1d978fec3..c2e629a28 100644 --- a/com/hbm/tileentity/TileEntityMachineGenerator.java +++ b/com/hbm/tileentity/TileEntityMachineGenerator.java @@ -1,758 +1,758 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; -import java.util.Random; - -import com.hbm.blocks.MachineGenerator; -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.explosion.ExplosionNukeGeneric; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemBattery; -import com.hbm.items.special.ItemFuelRod; -import com.hbm.lib.Library; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineGenerator extends TileEntity implements ISidedInventory, ISource { - - private ItemStack slots[]; - - public int water; - public final int waterMax = 1000000; - public int cool; - public final int coolMax = 1000000; - public int heat; - public final int heatMax = 100000; - public int power; - public final int powerMax = 100000; - public boolean isLoaded = false; - public int age = 0; - public List list = new ArrayList(); - - private static final int[] slots_top = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8}; - private static final int[] slots_bottom = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; - private static final int[] slots_side = new int[] {9, 10, 11}; - - private String customName; - - public TileEntityMachineGenerator() { - slots = new ItemStack[12]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.generator"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - if(i == 0 || - i == 1 || - i == 2 || - i == 3 || - i == 4 || - i == 5 || - i == 6 || - i == 7 || - i == 8) - if(itemStack.getItem() instanceof ItemFuelRod) - return true; - if(i == 9) - if(itemStack.getItem() == ModItems.rod_water || itemStack.getItem() == ModItems.rod_dual_water || itemStack.getItem() == ModItems.rod_quad_water || itemStack.getItem() == Items.water_bucket) - return true; - if(i == 10) - if(itemStack.getItem() == ModItems.rod_coolant || itemStack.getItem() == ModItems.rod_dual_coolant || itemStack.getItem() == ModItems.rod_quad_coolant) - return true; - if(i == 11) - if(itemStack.getItem() instanceof ItemBattery) - return true; - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - water = nbt.getShort("water") * 100; - cool = nbt.getShort("cool") * 100; - power = nbt.getShort("power") * 100; - heat = nbt.getShort("heat") * 100; - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("water", (short) (water/100)); - nbt.setShort("cool", (short) (cool/100)); - nbt.setShort("power", (short) (power/100)); - nbt.setShort("heat", (short) (heat/100)); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if(i == 0 || - i == 1 || - i == 2 || - i == 3 || - i == 4 || - i == 5 || - i == 6 || - i == 7 || - i == 8) - if(itemStack.getItem() == ModItems.rod_uranium_fuel_depleted || - itemStack.getItem() == ModItems.rod_dual_uranium_fuel_depleted || - itemStack.getItem() == ModItems.rod_quad_uranium_fuel_depleted || - itemStack.getItem() == ModItems.rod_plutonium_fuel_depleted || - itemStack.getItem() == ModItems.rod_dual_plutonium_fuel_depleted || - itemStack.getItem() == ModItems.rod_quad_plutonium_fuel_depleted || - itemStack.getItem() == ModItems.rod_mox_fuel_depleted || - itemStack.getItem() == ModItems.rod_dual_mox_fuel_depleted || - itemStack.getItem() == ModItems.rod_quad_mox_fuel_depleted || - itemStack.getItem() == ModItems.rod_schrabidium_fuel_depleted || - itemStack.getItem() == ModItems.rod_dual_schrabidium_fuel_depleted || - itemStack.getItem() == ModItems.rod_quad_schrabidium_fuel_depleted) - return true; - if(i == 9 || i == 10) - if(itemStack.getItem() == Items.bucket || itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) - return true; - if(i == 11) - if(itemStack.getItemDamage() == 0) - return true; - - return false; - } - - public int getWaterScaled(int i) { - return (water * i) / waterMax; - } - - public int getCoolantScaled(int i) { - return (cool * i) / coolMax; - } - - public int getPowerScaled(int i) { - return (power * i) / powerMax; - } - - public int getHeatScaled(int i) { - return (heat * i) / heatMax; - } - - public boolean hasWater() { - return water > 0; - } - - public boolean hasCoolant() { - return cool > 0; - } - - public boolean hasPower() { - return power > 0; - } - - public boolean hasHeat() { - return heat > 0; - } - - @Override - public void updateEntity() { - - age++; - if(age >= 20) - { - age = 0; - } - - if(age == 9 || age == 19) - ffgeuaInit(); - - //if(!worldObj.isRemote) - { - if(slots[9] != null && slots[9].getItem() == Items.water_bucket && this.water + 250000 <= waterMax) - { - this.slots[9].stackSize--; - this.water += 250000; - if(this.slots[9].stackSize == 0) - { - this.slots[9] = this.slots[9].getItem().getContainerItem(this.slots[9]); - } - } - if(slots[9] != null && slots[9].getItem() == ModItems.rod_water && this.water + 250000 <= waterMax) - { - this.slots[9].stackSize--; - this.water += 250000; - if(this.slots[9].stackSize == 0) - { - this.slots[9] = this.slots[9].getItem().getContainerItem(this.slots[9]); - } - } - if(slots[9] != null && slots[9].getItem() == ModItems.rod_dual_water && this.water + 500000 <= waterMax) - { - this.slots[9].stackSize--; - this.water += 500000; - if(this.slots[9].stackSize == 0) - { - this.slots[9] = this.slots[9].getItem().getContainerItem(this.slots[9]); - } - } - if(slots[9] != null && slots[9].getItem() == ModItems.rod_quad_water && this.water + 1000000 <= waterMax) - { - this.slots[9].stackSize--; - this.water += 1000000; - if(this.slots[9].stackSize == 0) - { - this.slots[9] = this.slots[9].getItem().getContainerItem(this.slots[9]); - } - } - if(slots[9] != null && slots[9].getItem() == ModItems.inf_water) - { - this.water = this.waterMax; - } - - if(slots[10] != null && slots[10].getItem() == ModItems.rod_coolant && this.cool + 250000 <= coolMax) - { - this.slots[10].stackSize--; - this.cool += 250000; - if(this.slots[10].stackSize == 0) - { - this.slots[10] = this.slots[10].getItem().getContainerItem(this.slots[10]); - } - } - - if(slots[10] != null && slots[10].getItem() == ModItems.rod_dual_coolant && this.cool + 500000 <= coolMax) - { - this.slots[10].stackSize--; - this.cool += 500000; - if(this.slots[10].stackSize == 0) - { - this.slots[10] = this.slots[10].getItem().getContainerItem(this.slots[10]); - } - } - - if(slots[10] != null && slots[10].getItem() == ModItems.rod_quad_coolant && this.cool + 1000000 <= coolMax) - { - this.slots[10].stackSize--; - this.cool += 1000000; - if(this.slots[10].stackSize == 0) - { - this.slots[10] = this.slots[10].getItem().getContainerItem(this.slots[10]); - } - } - - if(slots[10] != null && slots[10].getItem() == ModItems.inf_coolant) - { - this.cool = coolMax; - } - - - - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && slots[i].getItem() == ModItems.rod_uranium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(10); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_uranium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_uranium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(10); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_dual_uranium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_uranium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(10); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_quad_uranium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_plutonium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(2); - attemptPower(15); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_plutonium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_plutonium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(2); - attemptPower(15); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_dual_plutonium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_plutonium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(2); - attemptPower(15); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_quad_plutonium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_mox_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(5); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_mox_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_mox_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(5); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_dual_mox_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_mox_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(5); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_quad_mox_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_schrabidium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(10); - attemptPower(25); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_schrabidium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_schrabidium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(10); - attemptPower(25); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_dual_schrabidium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_schrabidium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(10); - attemptPower(25); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_quad_schrabidium_fuel_depleted); - } - } - } - - if(this.power > powerMax) - { - this.power = powerMax; - } - - if(this.heat > heatMax) - { - this.explode(); - } - - if(((slots[0] != null && slots[0].getItem() instanceof ItemFuelRod) || slots[0] == null) && - ((slots[1] != null && !(slots[1].getItem() instanceof ItemFuelRod)) || slots[1] == null) && - ((slots[2] != null && !(slots[2].getItem() instanceof ItemFuelRod)) || slots[2] == null) && - ((slots[3] != null && !(slots[3].getItem() instanceof ItemFuelRod)) || slots[3] == null) && - ((slots[4] != null && !(slots[4].getItem() instanceof ItemFuelRod)) || slots[4] == null) && - ((slots[5] != null && !(slots[5].getItem() instanceof ItemFuelRod)) || slots[5] == null) && - ((slots[6] != null && !(slots[6].getItem() instanceof ItemFuelRod)) || slots[6] == null) && - ((slots[7] != null && !(slots[7].getItem() instanceof ItemFuelRod)) || slots[7] == null) && - ((slots[8] != null && !(slots[8].getItem() instanceof ItemFuelRod)) || slots[8] == null)) - { - if(this.heat - 10 >= 0 && this.cool - 10 >= 0) - { - this.heat -= 10; - this.cool -= 10; - } - - if(this.heat < 10 && this.cool != 0) - { - this.heat--; - this.cool--; - } - - if(this.heat != 0 && this.cool == 0) - { - this.heat--; - } - - if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof MachineGenerator) - this.isLoaded = false; - - } else { - - if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof MachineGenerator) - this.isLoaded = true; - } - } - - //Batteries - if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.battery_generic && slots[11].getItemDamage() > 0) - { - power -= 100; - slots[11].setItemDamage(slots[11].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.battery_advanced && slots[11].getItemDamage() > 0) - { - power -= 100; - slots[11].setItemDamage(slots[11].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.battery_schrabidium && slots[11].getItemDamage() > 0) - { - power -= 100; - slots[11].setItemDamage(slots[11].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.factory_core_titanium && slots[11].getItemDamage() > 0) - { - power -= 100; - slots[11].setItemDamage(slots[11].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.factory_core_advanced && slots[11].getItemDamage() > 0) - { - power -= 100; - slots[11].setItemDamage(slots[11].getItemDamage() - 1); - } - } - - public void attemptPower(int i) { - if(this.water - i >= 0) - { - this.power += i; - this.water -= i; - } - } - - public void attemptHeat(int i) { - Random rand = new Random(); - - int j = rand.nextInt(i); - - if(this.cool - j >= 0) - { - this.cool -= j; - } else { - this.heat += i; - } - } - - public void explode() { - for(int i = 0; i < slots.length; i++) - { - this.slots[i] = null; - } - - worldObj.createExplosion(null, this.xCoord, this.yCoord, this.zCoord, 18.0F, true); - ExplosionNukeGeneric.waste(worldObj, this.xCoord, this.yCoord, this.zCoord, 35); - worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord, Blocks.flowing_lava); - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if(tileentity instanceof IConductor) - { - if(tileentity instanceof TileEntityCable) - { - if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) - { - if(((TileEntityCable)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if(tileentity instanceof TileEntityWireCoated) - { - if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) - { - list.add((IConsumer)tileentity); - } - - if(!newTact) - { - int size = list.size(); - if(size > 0) - { - int part = this.power / size; - for(IConsumer consume : list) - { - if(consume.getPower() < consume.getMaxPower()) - { - if(consume.getMaxPower() - consume.getPower() >= part) - { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); - ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); - ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); - } - - public boolean getTact() { - if(age >= 0 && age < 10) - { - return true; - } - - return false; - } +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.blocks.machine.MachineGenerator; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.explosion.ExplosionNukeGeneric; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; +import com.hbm.items.special.ItemFuelRod; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineGenerator extends TileEntity implements ISidedInventory, ISource { + + private ItemStack slots[]; + + public int water; + public final int waterMax = 1000000; + public int cool; + public final int coolMax = 1000000; + public int heat; + public final int heatMax = 100000; + public int power; + public final int powerMax = 100000; + public boolean isLoaded = false; + public int age = 0; + public List list = new ArrayList(); + + private static final int[] slots_top = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8}; + private static final int[] slots_bottom = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; + private static final int[] slots_side = new int[] {9, 10, 11}; + + private String customName; + + public TileEntityMachineGenerator() { + slots = new ItemStack[12]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.generator"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + if(i == 0 || + i == 1 || + i == 2 || + i == 3 || + i == 4 || + i == 5 || + i == 6 || + i == 7 || + i == 8) + if(itemStack.getItem() instanceof ItemFuelRod) + return true; + if(i == 9) + if(itemStack.getItem() == ModItems.rod_water || itemStack.getItem() == ModItems.rod_dual_water || itemStack.getItem() == ModItems.rod_quad_water || itemStack.getItem() == Items.water_bucket) + return true; + if(i == 10) + if(itemStack.getItem() == ModItems.rod_coolant || itemStack.getItem() == ModItems.rod_dual_coolant || itemStack.getItem() == ModItems.rod_quad_coolant) + return true; + if(i == 11) + if(itemStack.getItem() instanceof ItemBattery) + return true; + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + water = nbt.getShort("water") * 100; + cool = nbt.getShort("cool") * 100; + power = nbt.getShort("power") * 100; + heat = nbt.getShort("heat") * 100; + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("water", (short) (water/100)); + nbt.setShort("cool", (short) (cool/100)); + nbt.setShort("power", (short) (power/100)); + nbt.setShort("heat", (short) (heat/100)); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i == 0 || + i == 1 || + i == 2 || + i == 3 || + i == 4 || + i == 5 || + i == 6 || + i == 7 || + i == 8) + if(itemStack.getItem() == ModItems.rod_uranium_fuel_depleted || + itemStack.getItem() == ModItems.rod_dual_uranium_fuel_depleted || + itemStack.getItem() == ModItems.rod_quad_uranium_fuel_depleted || + itemStack.getItem() == ModItems.rod_plutonium_fuel_depleted || + itemStack.getItem() == ModItems.rod_dual_plutonium_fuel_depleted || + itemStack.getItem() == ModItems.rod_quad_plutonium_fuel_depleted || + itemStack.getItem() == ModItems.rod_mox_fuel_depleted || + itemStack.getItem() == ModItems.rod_dual_mox_fuel_depleted || + itemStack.getItem() == ModItems.rod_quad_mox_fuel_depleted || + itemStack.getItem() == ModItems.rod_schrabidium_fuel_depleted || + itemStack.getItem() == ModItems.rod_dual_schrabidium_fuel_depleted || + itemStack.getItem() == ModItems.rod_quad_schrabidium_fuel_depleted) + return true; + if(i == 9 || i == 10) + if(itemStack.getItem() == Items.bucket || itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) + return true; + if(i == 11) + if(itemStack.getItemDamage() == 0) + return true; + + return false; + } + + public int getWaterScaled(int i) { + return (water * i) / waterMax; + } + + public int getCoolantScaled(int i) { + return (cool * i) / coolMax; + } + + public int getPowerScaled(int i) { + return (power * i) / powerMax; + } + + public int getHeatScaled(int i) { + return (heat * i) / heatMax; + } + + public boolean hasWater() { + return water > 0; + } + + public boolean hasCoolant() { + return cool > 0; + } + + public boolean hasPower() { + return power > 0; + } + + public boolean hasHeat() { + return heat > 0; + } + + @Override + public void updateEntity() { + + age++; + if(age >= 20) + { + age = 0; + } + + if(age == 9 || age == 19) + ffgeuaInit(); + + //if(!worldObj.isRemote) + { + if(slots[9] != null && slots[9].getItem() == Items.water_bucket && this.water + 250000 <= waterMax) + { + this.slots[9].stackSize--; + this.water += 250000; + if(this.slots[9].stackSize == 0) + { + this.slots[9] = this.slots[9].getItem().getContainerItem(this.slots[9]); + } + } + if(slots[9] != null && slots[9].getItem() == ModItems.rod_water && this.water + 250000 <= waterMax) + { + this.slots[9].stackSize--; + this.water += 250000; + if(this.slots[9].stackSize == 0) + { + this.slots[9] = this.slots[9].getItem().getContainerItem(this.slots[9]); + } + } + if(slots[9] != null && slots[9].getItem() == ModItems.rod_dual_water && this.water + 500000 <= waterMax) + { + this.slots[9].stackSize--; + this.water += 500000; + if(this.slots[9].stackSize == 0) + { + this.slots[9] = this.slots[9].getItem().getContainerItem(this.slots[9]); + } + } + if(slots[9] != null && slots[9].getItem() == ModItems.rod_quad_water && this.water + 1000000 <= waterMax) + { + this.slots[9].stackSize--; + this.water += 1000000; + if(this.slots[9].stackSize == 0) + { + this.slots[9] = this.slots[9].getItem().getContainerItem(this.slots[9]); + } + } + if(slots[9] != null && slots[9].getItem() == ModItems.inf_water) + { + this.water = this.waterMax; + } + + if(slots[10] != null && slots[10].getItem() == ModItems.rod_coolant && this.cool + 250000 <= coolMax) + { + this.slots[10].stackSize--; + this.cool += 250000; + if(this.slots[10].stackSize == 0) + { + this.slots[10] = this.slots[10].getItem().getContainerItem(this.slots[10]); + } + } + + if(slots[10] != null && slots[10].getItem() == ModItems.rod_dual_coolant && this.cool + 500000 <= coolMax) + { + this.slots[10].stackSize--; + this.cool += 500000; + if(this.slots[10].stackSize == 0) + { + this.slots[10] = this.slots[10].getItem().getContainerItem(this.slots[10]); + } + } + + if(slots[10] != null && slots[10].getItem() == ModItems.rod_quad_coolant && this.cool + 1000000 <= coolMax) + { + this.slots[10].stackSize--; + this.cool += 1000000; + if(this.slots[10].stackSize == 0) + { + this.slots[10] = this.slots[10].getItem().getContainerItem(this.slots[10]); + } + } + + if(slots[10] != null && slots[10].getItem() == ModItems.inf_coolant) + { + this.cool = coolMax; + } + + + + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && slots[i].getItem() == ModItems.rod_uranium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(10); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_uranium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_uranium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(10); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_dual_uranium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_uranium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(10); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_quad_uranium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_plutonium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(2); + attemptPower(15); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_plutonium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_plutonium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(2); + attemptPower(15); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_dual_plutonium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_plutonium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(2); + attemptPower(15); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_quad_plutonium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_mox_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(5); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_mox_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_mox_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(5); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_dual_mox_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_mox_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(5); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_quad_mox_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_schrabidium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(10); + attemptPower(25); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_schrabidium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_schrabidium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(10); + attemptPower(25); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_dual_schrabidium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_schrabidium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(10); + attemptPower(25); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_quad_schrabidium_fuel_depleted); + } + } + } + + if(this.power > powerMax) + { + this.power = powerMax; + } + + if(this.heat > heatMax) + { + this.explode(); + } + + if(((slots[0] != null && slots[0].getItem() instanceof ItemFuelRod) || slots[0] == null) && + ((slots[1] != null && !(slots[1].getItem() instanceof ItemFuelRod)) || slots[1] == null) && + ((slots[2] != null && !(slots[2].getItem() instanceof ItemFuelRod)) || slots[2] == null) && + ((slots[3] != null && !(slots[3].getItem() instanceof ItemFuelRod)) || slots[3] == null) && + ((slots[4] != null && !(slots[4].getItem() instanceof ItemFuelRod)) || slots[4] == null) && + ((slots[5] != null && !(slots[5].getItem() instanceof ItemFuelRod)) || slots[5] == null) && + ((slots[6] != null && !(slots[6].getItem() instanceof ItemFuelRod)) || slots[6] == null) && + ((slots[7] != null && !(slots[7].getItem() instanceof ItemFuelRod)) || slots[7] == null) && + ((slots[8] != null && !(slots[8].getItem() instanceof ItemFuelRod)) || slots[8] == null)) + { + if(this.heat - 10 >= 0 && this.cool - 10 >= 0) + { + this.heat -= 10; + this.cool -= 10; + } + + if(this.heat < 10 && this.cool != 0) + { + this.heat--; + this.cool--; + } + + if(this.heat != 0 && this.cool == 0) + { + this.heat--; + } + + if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof MachineGenerator) + this.isLoaded = false; + + } else { + + if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof MachineGenerator) + this.isLoaded = true; + } + } + + //Batteries + if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.battery_generic && slots[11].getItemDamage() > 0) + { + power -= 100; + slots[11].setItemDamage(slots[11].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.battery_advanced && slots[11].getItemDamage() > 0) + { + power -= 100; + slots[11].setItemDamage(slots[11].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.battery_schrabidium && slots[11].getItemDamage() > 0) + { + power -= 100; + slots[11].setItemDamage(slots[11].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.factory_core_titanium && slots[11].getItemDamage() > 0) + { + power -= 100; + slots[11].setItemDamage(slots[11].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[11] != null && slots[11].getItem() == ModItems.factory_core_advanced && slots[11].getItemDamage() > 0) + { + power -= 100; + slots[11].setItemDamage(slots[11].getItemDamage() - 1); + } + } + + public void attemptPower(int i) { + if(this.water - i >= 0) + { + this.power += i; + this.water -= i; + } + } + + public void attemptHeat(int i) { + Random rand = new Random(); + + int j = rand.nextInt(i); + + if(this.cool - j >= 0) + { + this.cool -= j; + } else { + this.heat += i; + } + } + + public void explode() { + for(int i = 0; i < slots.length; i++) + { + this.slots[i] = null; + } + + worldObj.createExplosion(null, this.xCoord, this.yCoord, this.zCoord, 18.0F, true); + ExplosionNukeGeneric.waste(worldObj, this.xCoord, this.yCoord, this.zCoord, 35); + worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord, Blocks.flowing_lava); + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if(tileentity instanceof IConductor) + { + if(tileentity instanceof TileEntityCable) + { + if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) + { + if(((TileEntityCable)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if(tileentity instanceof TileEntityWireCoated) + { + if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) + { + list.add((IConsumer)tileentity); + } + + if(!newTact) + { + int size = list.size(); + if(size > 0) + { + int part = this.power / size; + for(IConsumer consume : list) + { + if(consume.getPower() < consume.getMaxPower()) + { + if(consume.getMaxPower() - consume.getPower() >= part) + { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 1, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 1, this.zCoord, getTact()); + ffgeua(this.xCoord - 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord + 1, this.yCoord, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord - 1, getTact()); + ffgeua(this.xCoord, this.yCoord, this.zCoord + 1, getTact()); + } + + public boolean getTact() { + if(age >= 0 && age < 10) + { + return true; + } + + return false; + } } \ No newline at end of file diff --git a/com/hbm/tileentity/TileEntityMachinePuF6Tank.java b/com/hbm/tileentity/TileEntityMachinePuF6Tank.java index e464b1b4c..18114dfcd 100644 --- a/com/hbm/tileentity/TileEntityMachinePuF6Tank.java +++ b/com/hbm/tileentity/TileEntityMachinePuF6Tank.java @@ -1,267 +1,267 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityMachinePuF6Tank extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - - public int fillState; - public static final int maxFill = 64 * 3; - - private static final int[] slots_top = new int[] {0}; - private static final int[] slots_bottom = new int[] {1, 3}; - private static final int[] slots_side = new int[] {2}; - - private String customName; - - public TileEntityMachinePuF6Tank() { - slots = new ItemStack[4]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.puf6_tank"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack stack) { - if(i == 0 && stack.getItem() == ModItems.cell_puf6) - return true; - if(i == 2 && stack.getItem() == ModItems.cell_empty) - return true; - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - fillState = nbt.getShort("fillState"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("fillState", (short) fillState); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return true; - } - - public int getFillStateScaled(int i) { - return (fillState * i) / maxFill; - } - - public boolean canGive() { - if(slots[0] != null && slots[0].getItem() == ModItems.cell_puf6) - { - if(slots[1] == null || (slots[1] != null && slots[1].getItem() == ModItems.cell_empty && slots[1].stackSize < slots[1].getMaxStackSize())) - { - if(fillState < maxFill) - { - return true; - } - } - } - - return false; - } - - public boolean canTake() { - if(slots[2] != null && slots[2].getItem() == ModItems.cell_empty) - { - if(slots[3] == null || (slots[3] != null && slots[3].getItem() == ModItems.cell_puf6 && slots[3].stackSize < slots[3].getMaxStackSize())) - { - if(fillState > 0) - { - return true; - } - } - } - - return false; - } - - @Override - public void updateEntity() { - - if(!worldObj.isRemote) - { - if(this.canGive()) - { - this.slots[0].stackSize--; - if(slots[0].stackSize <= 0) - { - slots[0] = null; - } - - this.fillState++; - - if(slots[1] != null) - { - slots[1].stackSize++; - } - else - { - slots[1] = new ItemStack(ModItems.cell_empty, 1); - } - } - - if(this.canTake()) - { - this.slots[2].stackSize--; - if(slots[2].stackSize <= 0) - { - slots[2] = null; - } - - this.fillState--; - - if(slots[3] != null) - { - slots[3].stackSize++; - } - else - { - slots[3] = new ItemStack(ModItems.cell_puf6, 1); - } - } - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityMachinePuF6Tank extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + + public int fillState; + public static final int maxFill = 64 * 3; + + private static final int[] slots_top = new int[] {0}; + private static final int[] slots_bottom = new int[] {1, 3}; + private static final int[] slots_side = new int[] {2}; + + private String customName; + + public TileEntityMachinePuF6Tank() { + slots = new ItemStack[4]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.puf6_tank"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + if(i == 0 && stack.getItem() == ModItems.cell_puf6) + return true; + if(i == 2 && stack.getItem() == ModItems.cell_empty) + return true; + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + fillState = nbt.getShort("fillState"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("fillState", (short) fillState); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return true; + } + + public int getFillStateScaled(int i) { + return (fillState * i) / maxFill; + } + + public boolean canGive() { + if(slots[0] != null && slots[0].getItem() == ModItems.cell_puf6) + { + if(slots[1] == null || (slots[1] != null && slots[1].getItem() == ModItems.cell_empty && slots[1].stackSize < slots[1].getMaxStackSize())) + { + if(fillState < maxFill) + { + return true; + } + } + } + + return false; + } + + public boolean canTake() { + if(slots[2] != null && slots[2].getItem() == ModItems.cell_empty) + { + if(slots[3] == null || (slots[3] != null && slots[3].getItem() == ModItems.cell_puf6 && slots[3].stackSize < slots[3].getMaxStackSize())) + { + if(fillState > 0) + { + return true; + } + } + } + + return false; + } + + @Override + public void updateEntity() { + + if(!worldObj.isRemote) + { + if(this.canGive()) + { + this.slots[0].stackSize--; + if(slots[0].stackSize <= 0) + { + slots[0] = null; + } + + this.fillState++; + + if(slots[1] != null) + { + slots[1].stackSize++; + } + else + { + slots[1] = new ItemStack(ModItems.cell_empty, 1); + } + } + + if(this.canTake()) + { + this.slots[2].stackSize--; + if(slots[2].stackSize <= 0) + { + slots[2] = null; + } + + this.fillState--; + + if(slots[3] != null) + { + slots[3].stackSize++; + } + else + { + slots[3] = new ItemStack(ModItems.cell_puf6, 1); + } + } + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineReactor.java b/com/hbm/tileentity/TileEntityMachineReactor.java index 6612fe5d2..84c7d2b14 100644 --- a/com/hbm/tileentity/TileEntityMachineReactor.java +++ b/com/hbm/tileentity/TileEntityMachineReactor.java @@ -1,374 +1,374 @@ -package com.hbm.tileentity; - -import com.hbm.gui.MachineRecipes; -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineReactor extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - - public int dualCookTime; - public int dualPower; - public static final int maxPower = 1000; - public static final int processingSpeed = 1000; - public boolean runsOnRtg = false; - - private static final int[] slots_top = new int[] {1}; - private static final int[] slots_bottom = new int[] {2, 0}; - private static final int[] slots_side = new int[] {0}; - - private String customName; - - public TileEntityMachineReactor() { - slots = new ItemStack[3]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.reactor"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return i == 2 ? false : (i == 1 ? hasItemPower(itemStack) : true); - } - - public boolean hasItemPower(ItemStack itemStack) { - return getItemPower(itemStack) > 0; - } - - private static int getItemPower(ItemStack itemStack) { - if(itemStack == null) - { - return 0; - }else{ - Item item = itemStack.getItem(); - - if(item == ModItems.rod_u238) return 1; - if(item == ModItems.rod_dual_u238) return 2; - if(item == ModItems.rod_quad_u238) return 4; - if(item == ModItems.rod_u235) return 3; - if(item == ModItems.rod_dual_u235) return 6; - if(item == ModItems.rod_quad_u235) return 12; - if(item == ModItems.rod_pu238) return 5; - if(item == ModItems.rod_dual_pu238) return 10; - if(item == ModItems.rod_quad_pu238) return 20; - if(item == ModItems.rod_pu239) return 3; - if(item == ModItems.rod_dual_pu239) return 6; - if(item == ModItems.rod_quad_pu239) return 12; - if(item == ModItems.rod_pu240) return 1; - if(item == ModItems.rod_dual_pu240) return 2; - if(item == ModItems.rod_quad_pu240) return 4; - if(item == ModItems.rod_neptunium) return 3; - if(item == ModItems.rod_dual_neptunium) return 6; - if(item == ModItems.rod_quad_neptunium) return 12; - if(item == ModItems.rod_schrabidium) return 15; - if(item == ModItems.rod_dual_schrabidium) return 30; - if(item == ModItems.rod_quad_schrabidium) return 60; - - return 0; - } - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - dualPower = nbt.getShort("powerTime"); - dualCookTime = nbt.getShort("CookTime"); - runsOnRtg = nbt.getBoolean("runsOnRtg"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("powerTime", (short) dualPower); - nbt.setShort("cookTime", (short) dualCookTime); - nbt.setBoolean("runsOnRtg", runsOnRtg); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if(i == 0) - { - if(itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) - { - return true; - } - - return false; - } - - return true; - } - - public int getDiFurnaceProgressScaled(int i) { - return (dualCookTime * i) / processingSpeed; - } - - public int getPowerRemainingScaled(int i) { - return (dualPower * i) / maxPower; - } - - public boolean canProcess() { - if(slots[1] == null) - { - return false; - } - ItemStack itemStack = MachineRecipes.getReactorProcessingResult(slots[1].getItem()); - if(itemStack == null) - { - return false; - } - - if(slots[2] == null) - { - return true; - } - - if(!slots[2].isItemEqual(itemStack)) { - return false; - } - - if(slots[2].stackSize < getInventoryStackLimit() && slots[2].stackSize < slots[2].getMaxStackSize()) { - return true; - }else{ - return slots[2].stackSize < itemStack.getMaxStackSize(); - } - } - - private void processItem() { - if(canProcess()) { - ItemStack itemStack = MachineRecipes.getReactorProcessingResult(slots[1].getItem()); - - if(slots[2] == null) - { - slots[2] = itemStack.copy(); - }else if(slots[2].isItemEqual(itemStack)) { - slots[2].stackSize += itemStack.stackSize; - } - - for(int i = 1; i < 2; i++) - { - if(slots[i].stackSize <= 0) - { - slots[i] = new ItemStack(slots[i].getItem().setFull3D()); - }else{ - slots[i].stackSize--; - } - if(slots[i].stackSize <= 0) - { - slots[i] = null; - } - } - - if(!runsOnRtg) - { - dualPower--; - } - } - } - - public boolean hasPower() { - return dualPower > 0; - } - - public boolean isProcessing() { - return this.dualCookTime > 0; - } - - @Override - public void updateEntity() { - boolean flag = this.hasPower(); - boolean flag1 = false; - - if(!worldObj.isRemote) - { - if(this.hasItemPower(this.slots[0]) && this.dualPower == 0) - { - this.dualPower += getItemPower(this.slots[0]); - if(this.slots[0] != null) - { - flag1 = true; - this.slots[0].stackSize--; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - } - - if(this.slots[0] != null && this.slots[0].getItem() == ModItems.pellet_rtg && this.dualPower == 0) - { - this.slots[0].stackSize--; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - - this.runsOnRtg = true; - - this.dualPower = 1; - } - - if(hasPower() && canProcess()) - { - dualCookTime++; - - if(this.dualCookTime == TileEntityMachineReactor.processingSpeed) - { - this.dualCookTime = 0; - this.processItem(); - flag1 = true; - } - }else{ - dualCookTime = 0; - } - - boolean trigger = true; - - if(hasPower() && canProcess() && this.dualCookTime == 0) - { - trigger = false; - } - - if(trigger) - { - flag1 = true; - } - } - - if(flag1) - { - this.markDirty(); - } - } +package com.hbm.tileentity; + +import com.hbm.gui.MachineRecipes; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineReactor extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + + public int dualCookTime; + public int dualPower; + public static final int maxPower = 1000; + public static final int processingSpeed = 1000; + public boolean runsOnRtg = false; + + private static final int[] slots_top = new int[] {1}; + private static final int[] slots_bottom = new int[] {2, 0}; + private static final int[] slots_side = new int[] {0}; + + private String customName; + + public TileEntityMachineReactor() { + slots = new ItemStack[3]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.reactor"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return i == 2 ? false : (i == 1 ? hasItemPower(itemStack) : true); + } + + public boolean hasItemPower(ItemStack itemStack) { + return getItemPower(itemStack) > 0; + } + + private static int getItemPower(ItemStack itemStack) { + if(itemStack == null) + { + return 0; + }else{ + Item item = itemStack.getItem(); + + if(item == ModItems.rod_u238) return 1; + if(item == ModItems.rod_dual_u238) return 2; + if(item == ModItems.rod_quad_u238) return 4; + if(item == ModItems.rod_u235) return 3; + if(item == ModItems.rod_dual_u235) return 6; + if(item == ModItems.rod_quad_u235) return 12; + if(item == ModItems.rod_pu238) return 5; + if(item == ModItems.rod_dual_pu238) return 10; + if(item == ModItems.rod_quad_pu238) return 20; + if(item == ModItems.rod_pu239) return 3; + if(item == ModItems.rod_dual_pu239) return 6; + if(item == ModItems.rod_quad_pu239) return 12; + if(item == ModItems.rod_pu240) return 1; + if(item == ModItems.rod_dual_pu240) return 2; + if(item == ModItems.rod_quad_pu240) return 4; + if(item == ModItems.rod_neptunium) return 3; + if(item == ModItems.rod_dual_neptunium) return 6; + if(item == ModItems.rod_quad_neptunium) return 12; + if(item == ModItems.rod_schrabidium) return 15; + if(item == ModItems.rod_dual_schrabidium) return 30; + if(item == ModItems.rod_quad_schrabidium) return 60; + + return 0; + } + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + dualPower = nbt.getShort("powerTime"); + dualCookTime = nbt.getShort("CookTime"); + runsOnRtg = nbt.getBoolean("runsOnRtg"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("powerTime", (short) dualPower); + nbt.setShort("cookTime", (short) dualCookTime); + nbt.setBoolean("runsOnRtg", runsOnRtg); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i == 0) + { + if(itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) + { + return true; + } + + return false; + } + + return true; + } + + public int getDiFurnaceProgressScaled(int i) { + return (dualCookTime * i) / processingSpeed; + } + + public int getPowerRemainingScaled(int i) { + return (dualPower * i) / maxPower; + } + + public boolean canProcess() { + if(slots[1] == null) + { + return false; + } + ItemStack itemStack = MachineRecipes.getReactorProcessingResult(slots[1].getItem()); + if(itemStack == null) + { + return false; + } + + if(slots[2] == null) + { + return true; + } + + if(!slots[2].isItemEqual(itemStack)) { + return false; + } + + if(slots[2].stackSize < getInventoryStackLimit() && slots[2].stackSize < slots[2].getMaxStackSize()) { + return true; + }else{ + return slots[2].stackSize < itemStack.getMaxStackSize(); + } + } + + private void processItem() { + if(canProcess()) { + ItemStack itemStack = MachineRecipes.getReactorProcessingResult(slots[1].getItem()); + + if(slots[2] == null) + { + slots[2] = itemStack.copy(); + }else if(slots[2].isItemEqual(itemStack)) { + slots[2].stackSize += itemStack.stackSize; + } + + for(int i = 1; i < 2; i++) + { + if(slots[i].stackSize <= 0) + { + slots[i] = new ItemStack(slots[i].getItem().setFull3D()); + }else{ + slots[i].stackSize--; + } + if(slots[i].stackSize <= 0) + { + slots[i] = null; + } + } + + if(!runsOnRtg) + { + dualPower--; + } + } + } + + public boolean hasPower() { + return dualPower > 0; + } + + public boolean isProcessing() { + return this.dualCookTime > 0; + } + + @Override + public void updateEntity() { + boolean flag = this.hasPower(); + boolean flag1 = false; + + if(!worldObj.isRemote) + { + if(this.hasItemPower(this.slots[0]) && this.dualPower == 0) + { + this.dualPower += getItemPower(this.slots[0]); + if(this.slots[0] != null) + { + flag1 = true; + this.slots[0].stackSize--; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + } + + if(this.slots[0] != null && this.slots[0].getItem() == ModItems.pellet_rtg && this.dualPower == 0) + { + this.slots[0].stackSize--; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + + this.runsOnRtg = true; + + this.dualPower = 1; + } + + if(hasPower() && canProcess()) + { + dualCookTime++; + + if(this.dualCookTime == TileEntityMachineReactor.processingSpeed) + { + this.dualCookTime = 0; + this.processItem(); + flag1 = true; + } + }else{ + dualCookTime = 0; + } + + boolean trigger = true; + + if(hasPower() && canProcess() && this.dualCookTime == 0) + { + trigger = false; + } + + if(trigger) + { + flag1 = true; + } + } + + if(flag1) + { + this.markDirty(); + } + } } \ No newline at end of file diff --git a/com/hbm/tileentity/TileEntityMachineSchrabidiumTransmutator.java b/com/hbm/tileentity/TileEntityMachineSchrabidiumTransmutator.java index 78a0838b4..0750c5b26 100644 --- a/com/hbm/tileentity/TileEntityMachineSchrabidiumTransmutator.java +++ b/com/hbm/tileentity/TileEntityMachineSchrabidiumTransmutator.java @@ -1,331 +1,331 @@ -package com.hbm.tileentity; - -import java.util.Random; - -import com.hbm.interfaces.IConsumer; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemBattery; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineSchrabidiumTransmutator extends TileEntity implements ISidedInventory, IConsumer { - - private ItemStack slots[]; - - public int power = 0; - public int process = 0; - public int soundCycle = 0; - public static final int maxPower = 500000000; - public static final int processSpeed = 60; - Random rand = new Random(); - - private static final int[] slots_top = new int[] { 0 }; - private static final int[] slots_bottom = new int[] { 1, 2 }; - private static final int[] slots_side = new int[] { 3, 2 }; - - private String customName; - - public TileEntityMachineSchrabidiumTransmutator() { - slots = new ItemStack[4]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if (slots[i] != null) { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if (itemStack != null && itemStack.stackSize > getInventoryStackLimit()) { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.machine_schrabidium_transmutator"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if (worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) { - return false; - } else { - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <= 64; - } - } - - @Override - public void openInventory() { - } - - @Override - public void closeInventory() { - } - - @Override - public boolean isItemValidForSlot(int i, ItemStack stack) { - switch (i) { - case 0: - if (stack.getItem() == ModItems.ingot_uranium) - return true; - break; - case 2: - if (stack.getItem() == ModItems.redcoil_capacitor) - return true; - break; - case 3: - if (stack.getItem() instanceof ItemBattery) - return true; - break; - } - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if (slots[i] != null) { - if (slots[i].stackSize <= j) { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - power = nbt.getShort("power") * 50000; - process = nbt.getShort("process"); - slots = new ItemStack[getSizeInventory()]; - - for (int i = 0; i < list.tagCount(); i++) { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if (b0 >= 0 && b0 < slots.length) { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("power", (short) (power / 50000)); - nbt.setShort("process", (short) process); - NBTTagList list = new NBTTagList(); - - for (int i = 0; i < slots.length; i++) { - if (slots[i] != null) { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte) i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack stack, int j) { - if (i == 2 && stack.getItem() != null && stack.getItem() == ModItems.redcoil_capacitor - && stack.getItemDamage() == stack.getMaxDamage()) { - return true; - } - - if (i == 1) { - return true; - } - - if (i == 3 && stack.getItemDamage() == stack.getMaxDamage()) { - return true; - } - - return false; - } - - public int getPowerScaled(int i) { - int p = (int) (power / 50000); - int m = (int) (maxPower / 50000); - int r = (p * i) / m; - return r; - } - - public int getProgressScaled(int i) { - return (process * i) / processSpeed; - } - - public boolean canProcess() { - if (power >= 499000000 && slots[0] != null && slots[0].getItem() == ModItems.ingot_uranium && slots[2] != null - && slots[2].getItem() == ModItems.redcoil_capacitor - && slots[2].getItemDamage() < slots[2].getMaxDamage() - && (slots[1] == null || (slots[1] != null && slots[1].getItem() == ModItems.ingot_schrabidium - && slots[1].stackSize < slots[1].getMaxStackSize()))) { - return true; - } - return false; - } - - public boolean isProcessing() { - return process > 0; - } - - public void process() { - process++; - - if (isProcessing()) { - if (soundCycle == 0) - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 1.0F); - soundCycle++; - - if (soundCycle >= 38) - soundCycle = 0; - } - - if (process >= processSpeed) { - - power = 0; - process = 0; - - slots[0].stackSize--; - if (slots[0].stackSize <= 0) { - slots[0] = null; - } - - if (slots[1] == null) { - slots[1] = new ItemStack(ModItems.ingot_schrabidium); - } else { - slots[1].stackSize++; - } - if (slots[2] != null) { - slots[2].setItemDamage(slots[2].getItemDamage() + 1); - } - - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "ambient.weather.thunder", 10000.0F, - 0.8F + this.rand.nextFloat() * 0.2F); - } - } - - @Override - public void updateEntity() { - - if (!worldObj.isRemote) { - if (slots[3] != null && slots[3].getItem() == ModItems.battery_creative) { - power = maxPower; - } - - if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.battery_generic - && slots[3].getItemDamage() < 50) { - power += 100; - slots[3].setItemDamage(slots[3].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.battery_advanced - && slots[3].getItemDamage() < 200) { - power += 100; - slots[3].setItemDamage(slots[3].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.battery_schrabidium - && slots[3].getItemDamage() < 10000) { - power += 100; - slots[3].setItemDamage(slots[3].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.fusion_core - && slots[3].getItemDamage() < 5000) { - power += 100; - slots[3].setItemDamage(slots[3].getItemDamage() + 1); - } - - if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.energy_core - && slots[3].getItemDamage() < 5000) { - power += 100; - slots[3].setItemDamage(slots[3].getItemDamage() + 1); - } - } - - if (canProcess()) { - - //if (!worldObj.isRemote) { - process(); - //} - } else { - process = 0; - } - } - - @Override - public void setPower(int i) { - power = i; - - } - - @Override - public int getPower() { - return power; - - } - - @Override - public int getMaxPower() { - return maxPower; - } -} +package com.hbm.tileentity; + +import java.util.Random; + +import com.hbm.interfaces.IConsumer; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineSchrabidiumTransmutator extends TileEntity implements ISidedInventory, IConsumer { + + private ItemStack slots[]; + + public int power = 0; + public int process = 0; + public int soundCycle = 0; + public static final int maxPower = 500000000; + public static final int processSpeed = 60; + Random rand = new Random(); + + private static final int[] slots_top = new int[] { 0 }; + private static final int[] slots_bottom = new int[] { 1, 2 }; + private static final int[] slots_side = new int[] { 3, 2 }; + + private String customName; + + public TileEntityMachineSchrabidiumTransmutator() { + slots = new ItemStack[4]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if (slots[i] != null) { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if (itemStack != null && itemStack.stackSize > getInventoryStackLimit()) { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.machine_schrabidium_transmutator"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if (worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) { + return false; + } else { + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <= 64; + } + } + + @Override + public void openInventory() { + } + + @Override + public void closeInventory() { + } + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + switch (i) { + case 0: + if (stack.getItem() == ModItems.ingot_uranium) + return true; + break; + case 2: + if (stack.getItem() == ModItems.redcoil_capacitor) + return true; + break; + case 3: + if (stack.getItem() instanceof ItemBattery) + return true; + break; + } + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if (slots[i] != null) { + if (slots[i].stackSize <= j) { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + power = nbt.getInteger("power"); + process = nbt.getShort("process"); + slots = new ItemStack[getSizeInventory()]; + + for (int i = 0; i < list.tagCount(); i++) { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if (b0 >= 0 && b0 < slots.length) { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setInteger("power", (short) (power)); + nbt.setShort("process", (short) process); + NBTTagList list = new NBTTagList(); + + for (int i = 0; i < slots.length; i++) { + if (slots[i] != null) { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte) i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack stack, int j) { + if (i == 2 && stack.getItem() != null && stack.getItem() == ModItems.redcoil_capacitor + && stack.getItemDamage() == stack.getMaxDamage()) { + return true; + } + + if (i == 1) { + return true; + } + + if (i == 3 && stack.getItemDamage() == stack.getMaxDamage()) { + return true; + } + + return false; + } + + public int getPowerScaled(int i) { + int p = (int) (power / 50000); + int m = (int) (maxPower / 50000); + int r = (p * i) / m; + return r; + } + + public int getProgressScaled(int i) { + return (process * i) / processSpeed; + } + + public boolean canProcess() { + if (power >= 499000000 && slots[0] != null && slots[0].getItem() == ModItems.ingot_uranium && slots[2] != null + && slots[2].getItem() == ModItems.redcoil_capacitor + && slots[2].getItemDamage() < slots[2].getMaxDamage() + && (slots[1] == null || (slots[1] != null && slots[1].getItem() == ModItems.ingot_schrabidium + && slots[1].stackSize < slots[1].getMaxStackSize()))) { + return true; + } + return false; + } + + public boolean isProcessing() { + return process > 0; + } + + public void process() { + process++; + + if (isProcessing()) { + if (soundCycle == 0) + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 1.0F); + soundCycle++; + + if (soundCycle >= 38) + soundCycle = 0; + } + + if (process >= processSpeed) { + + power = 0; + process = 0; + + slots[0].stackSize--; + if (slots[0].stackSize <= 0) { + slots[0] = null; + } + + if (slots[1] == null) { + slots[1] = new ItemStack(ModItems.ingot_schrabidium); + } else { + slots[1].stackSize++; + } + if (slots[2] != null) { + slots[2].setItemDamage(slots[2].getItemDamage() + 1); + } + + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "ambient.weather.thunder", 10000.0F, + 0.8F + this.rand.nextFloat() * 0.2F); + } + } + + @Override + public void updateEntity() { + + if (!worldObj.isRemote) { + if (slots[3] != null && slots[3].getItem() == ModItems.battery_creative) { + power = maxPower; + } + + if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.battery_generic + && slots[3].getItemDamage() < 50) { + power += 100; + slots[3].setItemDamage(slots[3].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.battery_advanced + && slots[3].getItemDamage() < 200) { + power += 100; + slots[3].setItemDamage(slots[3].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.battery_schrabidium + && slots[3].getItemDamage() < 10000) { + power += 100; + slots[3].setItemDamage(slots[3].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.fusion_core + && slots[3].getItemDamage() < 5000) { + power += 100; + slots[3].setItemDamage(slots[3].getItemDamage() + 1); + } + + if (power + 100 <= maxPower && slots[3] != null && slots[3].getItem() == ModItems.energy_core + && slots[3].getItemDamage() < 5000) { + power += 100; + slots[3].setItemDamage(slots[3].getItemDamage() + 1); + } + } + + if (canProcess()) { + + //if (!worldObj.isRemote) { + process(); + //} + } else { + process = 0; + } + } + + @Override + public void setPower(int i) { + power = i; + + } + + @Override + public int getPower() { + return power; + + } + + @Override + public int getMaxPower() { + return maxPower; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineShredder.java b/com/hbm/tileentity/TileEntityMachineShredder.java index 5a54cd37e..f22824d80 100644 --- a/com/hbm/tileentity/TileEntityMachineShredder.java +++ b/com/hbm/tileentity/TileEntityMachineShredder.java @@ -1,479 +1,479 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; - -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.gui.MachineRecipes; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemBattery; -import com.hbm.items.special.ItemBlades; -import com.hbm.lib.Library; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityMachineShredder extends TileEntity implements ISidedInventory, IConsumer { - - private ItemStack slots[]; - - public int power; - public int progress; - public int soundCycle = 0; - public static final int maxPower = 10000; - public static final int processingSpeed = 60; - - private static final int[] slots_top = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8}; - private static final int[] slots_bottom = new int[] {9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29}; - private static final int[] slots_side = new int[] {27, 28, 29}; - - private String customName; - - public TileEntityMachineShredder() { - slots = new ItemStack[30]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.machineShredder"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack stack) { - if(i == 0) - return true; - if(i == 2) - if(stack.getItem() instanceof ItemBattery || stack.getItem() instanceof ItemBlades) - return true; - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - this.power = nbt.getShort("powerTime"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("powerTime", (short) power); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if(i >= 9 && i <= 28) - return true; - if(i >= 27 && i <= 29) - if(itemStack.getItemDamage() == itemStack.getMaxDamage()) - return true; - - return false; - } - - public int getDiFurnaceProgressScaled(int i) { - return (progress * i) / processingSpeed; - } - - public boolean hasPower() { - return power > 0; - } - - public boolean isProcessing() { - return this.progress > 0; - } - - @Override - public void updateEntity() { - boolean flag = this.hasPower(); - boolean flag1 = false; - - if(!worldObj.isRemote) - { - if(hasPower() && canProcess()) - { - progress++; - - power -= 5; - - this.slots[27].setItemDamage(this.slots[27].getItemDamage() + 1); - this.slots[28].setItemDamage(this.slots[28].getItemDamage() + 1); - - if(this.progress == TileEntityMachineShredder.processingSpeed) - { - this.progress = 0; - this.processItem(); - flag1 = true; - } - if(soundCycle == 0) - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 0.75F); - soundCycle++; - - if(soundCycle >= 50) - soundCycle = 0; - }else{ - progress = 0; - } - - boolean trigger = true; - - if(hasPower() && canProcess() && this.progress == 0) - { - trigger = false; - } - - if(trigger) - { - flag1 = true; - } - } - - if(/*power + 100 <= maxPower && */slots[29] != null && slots[29].getItem() == ModItems.battery_creative) - { - power = maxPower; - } - - if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.battery_generic && slots[29].getItemDamage() < 50) - { - power += 100; - slots[29].setItemDamage(slots[29].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.battery_advanced && slots[29].getItemDamage() < 200) - { - power += 100; - slots[29].setItemDamage(slots[29].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.battery_schrabidium && slots[29].getItemDamage() < 10000) - { - power += 100; - slots[29].setItemDamage(slots[29].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.fusion_core && slots[29].getItemDamage() < 5000) - { - power += 100; - slots[29].setItemDamage(slots[29].getItemDamage() + 1); - } - - if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.energy_core && slots[29].getItemDamage() < 5000) - { - power += 100; - slots[29].setItemDamage(slots[29].getItemDamage() + 1); - } - - if(flag1) - { - this.markDirty(); - } - } - - /*public void processItem() { - - boolean flag = false; - - for(int i = 0; i < 9; i++) - { - ItemStack result = MachineRecipes.getResult(slots[i]); - if(slots[i] != null && slots[i].stackSize > 0 && hasSpace(result)); - flag = true; - } - - if(!flag) { - return; - } - - for(int i = 0; i < 9; i++) - { - ItemStack result = MachineRecipes.getResult(slots[i]); - - if(slots[i] != null && slots[i].stackSize > 0 && hasSpace(result)) { - slots[i].stackSize -= 1; - if(slots[i].stackSize < 0) - { - slots[i] = null; - } - - boolean flag1 = false; - - for(int j = 9; j < 27; j++) - { - if(slots[j] != null && slots[j].getItem() == result.getItem() && slots[j].stackSize + result.stackSize <= result.getMaxStackSize()) - { - slots[j].stackSize += result.stackSize; - flag1 = true; - break; - } - } - - if(!flag1) - { - for(int j = 9; j < 27; j++) - { - if(slots[j] == null) - { - slots[j] = result; - break; - } - } - } - } - } - }*/ - - public void processItem() { - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && hasSpace(slots[i])) - { - ItemStack inp = slots[i].copy(); - ItemStack outp = MachineRecipes.getShredderResult(inp); - boolean flag = false; - - for (int j = 9; j < 27; j++) - { - if (slots[j] != null && slots[j].getItem().equals(outp.getItem()) && slots[j].stackSize + outp.stackSize <= outp.getMaxStackSize()) { - slots[j].stackSize += outp.stackSize; - slots[i].stackSize -= 1; - flag = true; - break; - } - } - - if(!flag) - for (int j = 9; j < 27; j++) - { - if (slots[j] == null) { - slots[j] = outp.copy(); - slots[i].stackSize -= 1; - break; - } - } - - if(slots[i].stackSize <= 0) - slots[i] = null; - } - } - } - - public boolean canProcess() { - if(slots[27] != null && slots[28] != null && - slots[27].getItem() instanceof ItemBlades && slots[28].getItem() instanceof ItemBlades && - slots[27].getItemDamage() < slots[27].getMaxDamage() && slots[28].getItemDamage() < slots[28].getMaxDamage()) - for(int i = 0; i < 9; i++) - { - if(slots[i] != null && slots[i].stackSize > 0 && hasSpace(slots[i])) - { - return true; - } - } - - return false; - } - - public boolean hasSpace(ItemStack stack) { - - ItemStack result = MachineRecipes.getShredderResult(stack); - - if (result != null) - for (int i = 9; i < 27; i++) { - if (slots[i] == null) { - return true; - } - - if (slots[i] != null && slots[i].getItem().equals(result.getItem()) - && slots[i].stackSize + result.stackSize <= result.getMaxStackSize()) { - return true; - } - } - - return false; - } - - @Override - public void setPower(int i) { - this.power = i; - - } - - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - @Override - public int getPower() { - return this.power; - } - - @Override - public int getMaxPower() { - return this.maxPower; - } - - public int getGearLeft() { - - if(slots[27] != null && slots[27].getItem() instanceof ItemBlades) - { - if(slots[27].getItemDamage() < slots[27].getItem().getMaxDamage()/2) - { - return 1; - } else if(slots[27].getItemDamage() != slots[27].getItem().getMaxDamage()) { - return 2; - } else { - return 3; - } - } - - return 0; - } - - public int getGearRight() { - - if(slots[28] != null && slots[28].getItem() instanceof ItemBlades) - { - if(slots[28].getItemDamage() < slots[28].getItem().getMaxDamage()/2) - { - return 1; - } else if(slots[28].getItemDamage() != slots[28].getItem().getMaxDamage()) { - return 2; - } else { - return 3; - } - } - - return 0; - } -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.gui.MachineRecipes; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; +import com.hbm.items.special.ItemBlades; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityMachineShredder extends TileEntity implements ISidedInventory, IConsumer { + + private ItemStack slots[]; + + public int power; + public int progress; + public int soundCycle = 0; + public static final int maxPower = 10000; + public static final int processingSpeed = 60; + + private static final int[] slots_top = new int[] {0, 1, 2, 3, 4, 5, 6, 7, 8}; + private static final int[] slots_bottom = new int[] {9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29}; + private static final int[] slots_side = new int[] {27, 28, 29}; + + private String customName; + + public TileEntityMachineShredder() { + slots = new ItemStack[30]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.machineShredder"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + if(i == 0) + return true; + if(i == 2) + if(stack.getItem() instanceof ItemBattery || stack.getItem() instanceof ItemBlades) + return true; + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + this.power = nbt.getShort("powerTime"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("powerTime", (short) power); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i >= 9 && i <= 28) + return true; + if(i >= 27 && i <= 29) + if(itemStack.getItemDamage() == itemStack.getMaxDamage()) + return true; + + return false; + } + + public int getDiFurnaceProgressScaled(int i) { + return (progress * i) / processingSpeed; + } + + public boolean hasPower() { + return power > 0; + } + + public boolean isProcessing() { + return this.progress > 0; + } + + @Override + public void updateEntity() { + boolean flag = this.hasPower(); + boolean flag1 = false; + + if(!worldObj.isRemote) + { + if(hasPower() && canProcess()) + { + progress++; + + power -= 5; + + this.slots[27].setItemDamage(this.slots[27].getItemDamage() + 1); + this.slots[28].setItemDamage(this.slots[28].getItemDamage() + 1); + + if(this.progress == TileEntityMachineShredder.processingSpeed) + { + this.progress = 0; + this.processItem(); + flag1 = true; + } + if(soundCycle == 0) + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "minecart.base", 1.0F, 0.75F); + soundCycle++; + + if(soundCycle >= 50) + soundCycle = 0; + }else{ + progress = 0; + } + + boolean trigger = true; + + if(hasPower() && canProcess() && this.progress == 0) + { + trigger = false; + } + + if(trigger) + { + flag1 = true; + } + } + + if(/*power + 100 <= maxPower && */slots[29] != null && slots[29].getItem() == ModItems.battery_creative) + { + power = maxPower; + } + + if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.battery_generic && slots[29].getItemDamage() < 50) + { + power += 100; + slots[29].setItemDamage(slots[29].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.battery_advanced && slots[29].getItemDamage() < 200) + { + power += 100; + slots[29].setItemDamage(slots[29].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.battery_schrabidium && slots[29].getItemDamage() < 10000) + { + power += 100; + slots[29].setItemDamage(slots[29].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.fusion_core && slots[29].getItemDamage() < 5000) + { + power += 100; + slots[29].setItemDamage(slots[29].getItemDamage() + 1); + } + + if(power + 100 <= maxPower && slots[29] != null && slots[29].getItem() == ModItems.energy_core && slots[29].getItemDamage() < 5000) + { + power += 100; + slots[29].setItemDamage(slots[29].getItemDamage() + 1); + } + + if(flag1) + { + this.markDirty(); + } + } + + /*public void processItem() { + + boolean flag = false; + + for(int i = 0; i < 9; i++) + { + ItemStack result = MachineRecipes.getResult(slots[i]); + if(slots[i] != null && slots[i].stackSize > 0 && hasSpace(result)); + flag = true; + } + + if(!flag) { + return; + } + + for(int i = 0; i < 9; i++) + { + ItemStack result = MachineRecipes.getResult(slots[i]); + + if(slots[i] != null && slots[i].stackSize > 0 && hasSpace(result)) { + slots[i].stackSize -= 1; + if(slots[i].stackSize < 0) + { + slots[i] = null; + } + + boolean flag1 = false; + + for(int j = 9; j < 27; j++) + { + if(slots[j] != null && slots[j].getItem() == result.getItem() && slots[j].stackSize + result.stackSize <= result.getMaxStackSize()) + { + slots[j].stackSize += result.stackSize; + flag1 = true; + break; + } + } + + if(!flag1) + { + for(int j = 9; j < 27; j++) + { + if(slots[j] == null) + { + slots[j] = result; + break; + } + } + } + } + } + }*/ + + public void processItem() { + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && hasSpace(slots[i])) + { + ItemStack inp = slots[i].copy(); + ItemStack outp = MachineRecipes.getShredderResult(inp); + boolean flag = false; + + for (int j = 9; j < 27; j++) + { + if (slots[j] != null && slots[j].getItem().equals(outp.getItem()) && slots[j].stackSize + outp.stackSize <= outp.getMaxStackSize()) { + slots[j].stackSize += outp.stackSize; + slots[i].stackSize -= 1; + flag = true; + break; + } + } + + if(!flag) + for (int j = 9; j < 27; j++) + { + if (slots[j] == null) { + slots[j] = outp.copy(); + slots[i].stackSize -= 1; + break; + } + } + + if(slots[i].stackSize <= 0) + slots[i] = null; + } + } + } + + public boolean canProcess() { + if(slots[27] != null && slots[28] != null && + slots[27].getItem() instanceof ItemBlades && slots[28].getItem() instanceof ItemBlades && + slots[27].getItemDamage() < slots[27].getMaxDamage() && slots[28].getItemDamage() < slots[28].getMaxDamage()) + for(int i = 0; i < 9; i++) + { + if(slots[i] != null && slots[i].stackSize > 0 && hasSpace(slots[i])) + { + return true; + } + } + + return false; + } + + public boolean hasSpace(ItemStack stack) { + + ItemStack result = MachineRecipes.getShredderResult(stack); + + if (result != null) + for (int i = 9; i < 27; i++) { + if (slots[i] == null) { + return true; + } + + if (slots[i] != null && slots[i].getItem().equals(result.getItem()) + && slots[i].stackSize + result.stackSize <= result.getMaxStackSize()) { + return true; + } + } + + return false; + } + + @Override + public void setPower(int i) { + this.power = i; + + } + + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + @Override + public int getPower() { + return this.power; + } + + @Override + public int getMaxPower() { + return this.maxPower; + } + + public int getGearLeft() { + + if(slots[27] != null && slots[27].getItem() instanceof ItemBlades) + { + if(slots[27].getItemDamage() < slots[27].getItem().getMaxDamage()/2) + { + return 1; + } else if(slots[27].getItemDamage() != slots[27].getItem().getMaxDamage()) { + return 2; + } else { + return 3; + } + } + + return 0; + } + + public int getGearRight() { + + if(slots[28] != null && slots[28].getItem() instanceof ItemBlades) + { + if(slots[28].getItemDamage() < slots[28].getItem().getMaxDamage()/2) + { + return 1; + } else if(slots[28].getItemDamage() != slots[28].getItem().getMaxDamage()) { + return 2; + } else { + return 3; + } + } + + return 0; + } +} diff --git a/com/hbm/tileentity/TileEntityMachineUF6Tank.java b/com/hbm/tileentity/TileEntityMachineUF6Tank.java index cc4b1ded9..d0b9dcfd6 100644 --- a/com/hbm/tileentity/TileEntityMachineUF6Tank.java +++ b/com/hbm/tileentity/TileEntityMachineUF6Tank.java @@ -1,267 +1,267 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityMachineUF6Tank extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - - public int fillState; - public static final int maxFill = 64 * 3; - - private static final int[] slots_top = new int[] {0}; - private static final int[] slots_bottom = new int[] {1, 3}; - private static final int[] slots_side = new int[] {2}; - - private String customName; - - public TileEntityMachineUF6Tank() { - slots = new ItemStack[4]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.uf6_tank"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack stack) { - if(i == 0 && stack.getItem() == ModItems.cell_uf6) - return true; - if(i == 2 && stack.getItem() == ModItems.cell_empty) - return true; - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - fillState = nbt.getShort("fillState"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("fillState", (short) fillState); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return true; - } - - public int getFillStateScaled(int i) { - return (fillState * i) / maxFill; - } - - public boolean canGive() { - if(slots[0] != null && slots[0].getItem() == ModItems.cell_uf6) - { - if(slots[1] == null || (slots[1] != null && slots[1].getItem() == ModItems.cell_empty && slots[1].stackSize < slots[1].getMaxStackSize())) - { - if(fillState < maxFill) - { - return true; - } - } - } - - return false; - } - - public boolean canTake() { - if(slots[2] != null && slots[2].getItem() == ModItems.cell_empty) - { - if(slots[3] == null || (slots[3] != null && slots[3].getItem() == ModItems.cell_uf6 && slots[3].stackSize < slots[3].getMaxStackSize())) - { - if(fillState > 0) - { - return true; - } - } - } - - return false; - } - - @Override - public void updateEntity() { - - if(!worldObj.isRemote) - { - if(this.canGive()) - { - this.slots[0].stackSize--; - if(slots[0].stackSize <= 0) - { - slots[0] = null; - } - - this.fillState++; - - if(slots[1] != null) - { - slots[1].stackSize++; - } - else - { - slots[1] = new ItemStack(ModItems.cell_empty, 1); - } - } - - if(this.canTake()) - { - this.slots[2].stackSize--; - if(slots[2].stackSize <= 0) - { - slots[2] = null; - } - - this.fillState--; - - if(slots[3] != null) - { - slots[3].stackSize++; - } - else - { - slots[3] = new ItemStack(ModItems.cell_uf6, 1); - } - } - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityMachineUF6Tank extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + + public int fillState; + public static final int maxFill = 64 * 3; + + private static final int[] slots_top = new int[] {0}; + private static final int[] slots_bottom = new int[] {1, 3}; + private static final int[] slots_side = new int[] {2}; + + private String customName; + + public TileEntityMachineUF6Tank() { + slots = new ItemStack[4]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.uf6_tank"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + if(i == 0 && stack.getItem() == ModItems.cell_uf6) + return true; + if(i == 2 && stack.getItem() == ModItems.cell_empty) + return true; + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + fillState = nbt.getShort("fillState"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("fillState", (short) fillState); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return true; + } + + public int getFillStateScaled(int i) { + return (fillState * i) / maxFill; + } + + public boolean canGive() { + if(slots[0] != null && slots[0].getItem() == ModItems.cell_uf6) + { + if(slots[1] == null || (slots[1] != null && slots[1].getItem() == ModItems.cell_empty && slots[1].stackSize < slots[1].getMaxStackSize())) + { + if(fillState < maxFill) + { + return true; + } + } + } + + return false; + } + + public boolean canTake() { + if(slots[2] != null && slots[2].getItem() == ModItems.cell_empty) + { + if(slots[3] == null || (slots[3] != null && slots[3].getItem() == ModItems.cell_uf6 && slots[3].stackSize < slots[3].getMaxStackSize())) + { + if(fillState > 0) + { + return true; + } + } + } + + return false; + } + + @Override + public void updateEntity() { + + if(!worldObj.isRemote) + { + if(this.canGive()) + { + this.slots[0].stackSize--; + if(slots[0].stackSize <= 0) + { + slots[0] = null; + } + + this.fillState++; + + if(slots[1] != null) + { + slots[1].stackSize++; + } + else + { + slots[1] = new ItemStack(ModItems.cell_empty, 1); + } + } + + if(this.canTake()) + { + this.slots[2].stackSize--; + if(slots[2].stackSize <= 0) + { + slots[2] = null; + } + + this.fillState--; + + if(slots[3] != null) + { + slots[3].stackSize++; + } + else + { + slots[3] = new ItemStack(ModItems.cell_uf6, 1); + } + } + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityNukeBoy.java b/com/hbm/tileentity/TileEntityNukeBoy.java index a58b4ad28..2a0c368cb 100644 --- a/com/hbm/tileentity/TileEntityNukeBoy.java +++ b/com/hbm/tileentity/TileEntityNukeBoy.java @@ -1,193 +1,193 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityNukeBoy extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - private String customName; - - public TileEntityNukeBoy() { - slots = new ItemStack[5]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.nukeBoy"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - public boolean isReady() { - if(slots[0] != null && slots[01] != null && slots[2] != null && slots[3] != null && slots[4] != null) - { - if(slots[0].getItem() == ModItems.boy_shielding && slots[1].getItem() == ModItems.boy_target && slots[2].getItem() == ModItems.boy_bullet && slots[3].getItem() == ModItems.boy_propellant && slots[4].getItem() == ModItems.boy_igniter) - { - return true; - } - } - - return false; - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityNukeBoy extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + private String customName; + + public TileEntityNukeBoy() { + slots = new ItemStack[5]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukeBoy"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + public boolean isReady() { + if(slots[0] != null && slots[01] != null && slots[2] != null && slots[3] != null && slots[4] != null) + { + if(slots[0].getItem() == ModItems.boy_shielding && slots[1].getItem() == ModItems.boy_target && slots[2].getItem() == ModItems.boy_bullet && slots[3].getItem() == ModItems.boy_propellant && slots[4].getItem() == ModItems.boy_igniter) + { + return true; + } + } + + return false; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityNukeCustom.java b/com/hbm/tileentity/TileEntityNukeCustom.java new file mode 100644 index 000000000..8fbac598c --- /dev/null +++ b/com/hbm/tileentity/TileEntityNukeCustom.java @@ -0,0 +1,461 @@ +package com.hbm.tileentity; + +import com.hbm.blocks.ModBlocks; +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityNukeCustom extends TileEntity implements ISidedInventory { + + public ItemStack slots[]; + private String customName; + public float tntStrength; + public float nukeStrength; + public float hydroStrength; + public float amatStrength; + public float dirtyStrength; + public float schrabStrength; + public float euphStrength; + + public TileEntityNukeCustom() { + slots = new ItemStack[27]; + tntStrength = 0; + nukeStrength = 0; + hydroStrength = 0; + amatStrength = 0; + dirtyStrength = 0; + schrabStrength = 0; + euphStrength = 0; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukeCustom"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public void updateEntity() { + + this.tntStrength = 0; + this.nukeStrength = 0; + this.hydroStrength = 0; + this.amatStrength = 0; + this.dirtyStrength = 0; + this.schrabStrength = 0; + this.euphStrength = 0; + + for(int i = 0; i < slots.length; i++) { + if(slots[i] != null) { + setValues(slots[i]); + } + if(slots[i] != null) { + setMultipliers(slots[i]); + } + } + + if(this.nukeStrength > 0 && this.tntStrength < 16) + this.nukeStrength = 0; + if(this.hydroStrength > 0 && this.nukeStrength < 100) + this.hydroStrength = 0; + if(this.amatStrength > 0 && this.nukeStrength < 15) + this.amatStrength = 0; + if(this.dirtyStrength > 0 && this.nukeStrength == 0) + this.dirtyStrength = 0; + if(this.schrabStrength > 0 && this.nukeStrength < 50) + this.schrabStrength = 0; + if(this.euphStrength > 0 && this.schrabStrength == 0) + this.euphStrength = 0; + } + + public void setValues(ItemStack stack) { + + Item item = stack.getItem(); + + for(int i = 0; i < stack.stackSize; i++) { + if(item == Items.gunpowder) { + this.tntStrength += 0.8F; + } + if(item == Item.getItemFromBlock(Blocks.tnt)) { + this.tntStrength += 4; + } + if(item == Item.getItemFromBlock(ModBlocks.det_cord)) { + this.tntStrength += 1.5F; + } + if(item == ModItems.canister_fuel) { + this.tntStrength += 0.3F; + } + if(item == ModItems.canister_fuel) { + this.tntStrength += 0.5F; + } + if(item == Item.getItemFromBlock(ModBlocks.red_barrel)) { + this.tntStrength += 2.5F; + } + if(item == ModItems.gun_immolator_ammo) { + this.tntStrength += 0.055F; + } + if(item == ModItems.clip_immolator) { + this.tntStrength += 3.5F; + } + // + if(item == ModItems.ingot_u235) { + this.nukeStrength += 15F; + } + if(item == ModItems.ingot_pu239) { + this.nukeStrength += 25F; + } + if(item == ModItems.ingot_neptunium) { + this.nukeStrength += 30F; + } + if(item == ModItems.nugget_u235) { + this.nukeStrength += 1.5F; + } + if(item == ModItems.nugget_pu239) { + this.nukeStrength += 2.5F; + } + if(item == ModItems.nugget_neptunium) { + this.nukeStrength += 3.0F; + } + if(item == ModItems.powder_neptunium) { + this.nukeStrength += 30F; + } + // + if(item == ModItems.cell_deuterium) { + this.hydroStrength += 20F; + } + if(item == ModItems.cell_tritium) { + this.hydroStrength += 30F; + } + if(item == ModItems.lithium) { + this.hydroStrength += 20F; + } + if(item == ModItems.tritium_deuterium_cake) { + this.hydroStrength += 200F; + } + // + if(item == ModItems.cell_antimatter) { + this.amatStrength += 5F; + } + // + if(item == ModItems.ingot_tungsten) { + this.dirtyStrength += 10F; + } + if(item == ModItems.nuclear_waste) { + this.dirtyStrength += 2.5F; + } + if(item == Item.getItemFromBlock(ModBlocks.yellow_barrel)) { + this.dirtyStrength += 20F; + } + if(item == Item.getItemFromBlock(ModBlocks.block_waste)) { + this.dirtyStrength += 25F; + } + // + if(item == ModItems.ingot_schrabidium) { + this.schrabStrength += 5F; + } + if(item == Item.getItemFromBlock(ModBlocks.block_schrabidium)) { + this.schrabStrength += 50F; + } + if(item == ModItems.plate_schrabidium) { + this.schrabStrength += 1.25F; + } + if(item == ModItems.nugget_schrabidium) { + this.schrabStrength += 0.5F; + } + if(item == ModItems.cell_sas3) { + this.schrabStrength += 7.5F; + } + if(item == ModItems.cell_anti_schrabidium) { + this.schrabStrength += 15F; + } + // + if(item == ModItems.nugget_euphemium) { + this.euphStrength += 1F; + } + if(item == ModItems.ingot_euphemium) { + this.euphStrength += 1F; + } + } + } + + public void setMultipliers(ItemStack stack) { + + Item item = stack.getItem(); + + for(int i = 0; i < stack.stackSize; i++) { + if(item == Items.redstone) { + this.tntStrength *= 1.005F; + } + if(item == Item.getItemFromBlock(Blocks.redstone_block)) { + this.tntStrength *= 1.05F; + } + if(item == ModItems.canister_fuel) { + this.tntStrength *= 1.025F; + } + if(item == ModItems.canister_napalm) { + this.tntStrength *= 1.035F; + } + if(item == Item.getItemFromBlock(ModBlocks.red_barrel)) { + this.tntStrength *= 1.2F; + } + if(item == ModItems.gun_immolator_ammo) { + this.tntStrength *= 1.0004F; + } + if(item == ModItems.clip_immolator) { + this.tntStrength *= 1.025F; + } + // + if(item == ModItems.ingot_u238) { + this.nukeStrength *= 1.1F; + this.hydroStrength *= 1.1F; + this.dirtyStrength *= 1.1F; + } + if(item == ModItems.ingot_pu238) { + this.nukeStrength *= 1.25F; + } + if(item == ModItems.ingot_pu240) { + this.nukeStrength *= 1.05F; + this.dirtyStrength *= 1.15F; + } + if(item == ModItems.ingot_neptunium) { + this.nukeStrength *= 1.35F; + this.dirtyStrength *= 1.15F; + } + if(item == ModItems.nugget_u238) { + this.nukeStrength *= 1.01F; + this.hydroStrength *= 1.01F; + } + if(item == ModItems.nugget_pu238) { + this.nukeStrength *= 1.025F; + } + if(item == ModItems.nugget_pu240) { + this.nukeStrength *= 1.005F; + this.dirtyStrength *= 1.015F; + } + if(item == ModItems.nugget_neptunium) { + this.nukeStrength *= 1.035F; + this.dirtyStrength *= 1.015F; + } + if(item == ModItems.powder_neptunium) { + this.nukeStrength *= 1.35F; + this.dirtyStrength *= 1.15F; + } + if(item == ModItems.ingot_uranium) { + this.nukeStrength *= 1.085F; + } + if(item == Item.getItemFromBlock(ModBlocks.block_uranium)) { + this.nukeStrength *= 1.85F; + } + if(item == ModItems.ingot_plutonium) { + this.nukeStrength *= 1.075F; + } + if(item == ModItems.nugget_uranium) { + this.nukeStrength *= 1.0085F; + } + if(item == ModItems.nugget_plutonium) { + this.nukeStrength *= 1.0075F; + } + if(item == ModItems.powder_uranium) { + this.nukeStrength *= 1.085F; + this.dirtyStrength *= 1.15F; + } + if(item == ModItems.powder_plutonium) { + this.nukeStrength *= 1.075F; + this.dirtyStrength *= 1.15F; + } + // + if(item == ModItems.cell_antimatter) { + this.amatStrength *= 1.1F; + } + // + if(item == ModItems.nuclear_waste) { + this.amatStrength *= 1.05F; + } + if(item == Item.getItemFromBlock(ModBlocks.yellow_barrel)) { + this.amatStrength *= 1.05F; + this.amatStrength *= 1.05F; + this.amatStrength *= 1.05F; + this.amatStrength *= 1.05F; + this.amatStrength *= 1.05F; + this.amatStrength *= 1.05F; + this.amatStrength *= 1.05F; + this.amatStrength *= 1.05F; + } + } + } + + public boolean isReady() { + if(this.tntStrength > 0) + { + return true; + } + + return false; + } + + public float[] returnAllValues() { + return new float[] { this.tntStrength, this.nukeStrength, this.hydroStrength, this.amatStrength, this.dirtyStrength, this.schrabStrength, this.euphStrength}; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityNukeFleija.java b/com/hbm/tileentity/TileEntityNukeFleija.java index d4cd00b56..176ba784c 100644 --- a/com/hbm/tileentity/TileEntityNukeFleija.java +++ b/com/hbm/tileentity/TileEntityNukeFleija.java @@ -1,203 +1,203 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityNukeFleija extends TileEntity implements ISidedInventory { - - public ItemStack slots[]; - private String customName; - - public TileEntityNukeFleija() { - slots = new ItemStack[11]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.nukeFleija"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - public boolean isReady() { - - if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null && slots[5] != null && slots[6] != null && slots[7] != null && slots[8] != null && slots[9] != null && slots[10] != null) - if(slots[0].getItem() == ModItems.fleija_igniter && - slots[1].getItem() == ModItems.fleija_igniter && - slots[2].getItem() == ModItems.fleija_propellant && - slots[3].getItem() == ModItems.fleija_propellant && - slots[4].getItem() == ModItems.fleija_propellant && - slots[5].getItem() == ModItems.fleija_core && - slots[6].getItem() == ModItems.fleija_core && - slots[7].getItem() == ModItems.fleija_core && - slots[8].getItem() == ModItems.fleija_core && - slots[9].getItem() == ModItems.fleija_core && - slots[10].getItem() == ModItems.fleija_core) - { - return true; - } - - return false; - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } - -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityNukeFleija extends TileEntity implements ISidedInventory { + + public ItemStack slots[]; + private String customName; + + public TileEntityNukeFleija() { + slots = new ItemStack[11]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukeFleija"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + public boolean isReady() { + + if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null && slots[5] != null && slots[6] != null && slots[7] != null && slots[8] != null && slots[9] != null && slots[10] != null) + if(slots[0].getItem() == ModItems.fleija_igniter && + slots[1].getItem() == ModItems.fleija_igniter && + slots[2].getItem() == ModItems.fleija_propellant && + slots[3].getItem() == ModItems.fleija_propellant && + slots[4].getItem() == ModItems.fleija_propellant && + slots[5].getItem() == ModItems.fleija_core && + slots[6].getItem() == ModItems.fleija_core && + slots[7].getItem() == ModItems.fleija_core && + slots[8].getItem() == ModItems.fleija_core && + slots[9].getItem() == ModItems.fleija_core && + slots[10].getItem() == ModItems.fleija_core) + { + return true; + } + + return false; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + +} diff --git a/com/hbm/tileentity/TileEntityNukeFurnace.java b/com/hbm/tileentity/TileEntityNukeFurnace.java index 62e8ba9cb..761069bcf 100644 --- a/com/hbm/tileentity/TileEntityNukeFurnace.java +++ b/com/hbm/tileentity/TileEntityNukeFurnace.java @@ -1,371 +1,371 @@ -package com.hbm.tileentity; - -import com.hbm.blocks.MachineNukeFurnace; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemCustomLore; -import com.hbm.items.special.ItemFuelRod; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.item.crafting.FurnaceRecipes; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityNukeFurnace extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - - public int dualCookTime; - public int dualPower; - public static final int maxPower = 1000; - public static final int processingSpeed = 30; - - private static final int[] slots_top = new int[] {1}; - private static final int[] slots_bottom = new int[] {2, 0}; - private static final int[] slots_side = new int[] {0}; - - private String customName; - - public TileEntityNukeFurnace() { - slots = new ItemStack[3]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.nukeFurnace"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - public boolean hasItemPower(ItemStack itemStack) { - return getItemPower(itemStack) > 0; - } - - private static int getItemPower(ItemStack itemStack) { - if(itemStack == null) - { - return 0; - }else{ - Item item = itemStack.getItem(); - - if(item == ModItems.rod_u238) return 1 * 5; - if(item == ModItems.rod_dual_u238) return 2 * 5; - if(item == ModItems.rod_quad_u238) return 4 * 5; - if(item == ModItems.rod_u235) return 3 * 5; - if(item == ModItems.rod_dual_u235) return 6 * 5; - if(item == ModItems.rod_quad_u235) return 12 * 5; - if(item == ModItems.rod_pu238) return 5 * 5; - if(item == ModItems.rod_dual_pu238) return 10 * 5; - if(item == ModItems.rod_quad_pu238) return 20 * 5; - if(item == ModItems.rod_pu239) return 3 * 5; - if(item == ModItems.rod_dual_pu239) return 6 * 5; - if(item == ModItems.rod_quad_pu239) return 12 * 5; - if(item == ModItems.rod_pu240) return 1 * 5; - if(item == ModItems.rod_dual_pu240) return 2 * 5; - if(item == ModItems.rod_quad_pu240) return 4 * 5; - if(item == ModItems.rod_neptunium) return 3 * 5; - if(item == ModItems.rod_dual_neptunium) return 6 * 5; - if(item == ModItems.rod_quad_neptunium) return 12 * 5; - if(item == ModItems.rod_schrabidium) return 15 * 5; - if(item == ModItems.rod_dual_schrabidium) return 30 * 5; - if(item == ModItems.rod_quad_schrabidium) return 60 * 5; - - return 0; - } - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - dualPower = nbt.getShort("powerTime"); - dualCookTime = nbt.getShort("CookTime"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("powerTime", (short) dualPower); - nbt.setShort("cookTime", (short) dualCookTime); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - if(i == 0) - { - if(itemStack.getItem() instanceof ItemCustomLore) - { - return true; - } - - return false; - } - - return true; - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - if(i == 0) - { - if(itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) - { - return true; - } - - return false; - } - - return true; - } - - public int getDiFurnaceProgressScaled(int i) { - return (dualCookTime * i) / processingSpeed; - } - - public int getPowerRemainingScaled(int i) { - return (dualPower * i) / maxPower; - } - - public boolean canProcess() { - if(slots[1] == null) - { - return false; - } - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[1]); - if(itemStack == null) - { - return false; - } - - if(slots[2] == null) - { - return true; - } - - if(!slots[2].isItemEqual(itemStack)) { - return false; - } - - if(slots[2].stackSize < getInventoryStackLimit() && slots[2].stackSize < slots[2].getMaxStackSize()) { - return true; - }else{ - return slots[2].stackSize < itemStack.getMaxStackSize(); - } - } - - private void processItem() { - if(canProcess()) { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[1]); - - if(slots[2] == null) - { - slots[2] = itemStack.copy(); - }else if(slots[2].isItemEqual(itemStack)) { - slots[2].stackSize += itemStack.stackSize; - } - - for(int i = 1; i < 2; i++) - { - if(slots[i].stackSize <= 0) - { - slots[i] = new ItemStack(slots[i].getItem().setFull3D()); - }else{ - slots[i].stackSize--; - } - if(slots[i].stackSize <= 0) - { - slots[i] = null; - } - } - - { - dualPower--; - } - } - } - - public boolean hasPower() { - return dualPower > 0; - } - - public boolean isProcessing() { - return this.dualCookTime > 0; - } - - @Override - public void updateEntity() { - boolean flag = this.hasPower(); - boolean flag1 = false; - - if(!worldObj.isRemote) - { - if(this.hasItemPower(this.slots[0]) && this.dualPower == 0) - { - this.dualPower += getItemPower(this.slots[0]); - if(this.slots[0] != null) - { - flag1 = true; - this.slots[0].stackSize--; - if(this.slots[0].stackSize == 0) - { - this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); - } - } - } - - if(hasPower() && canProcess()) - { - dualCookTime++; - - if(this.dualCookTime == TileEntityNukeFurnace.processingSpeed) - { - this.dualCookTime = 0; - this.processItem(); - flag1 = true; - } - }else{ - dualCookTime = 0; - } - - boolean trigger = true; - - if(hasPower() && canProcess() && this.dualCookTime == 0) - { - trigger = false; - } - - if(trigger) - { - flag1 = true; - MachineNukeFurnace.updateBlockState(this.dualCookTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(flag1) - { - this.markDirty(); - } - } - -} +package com.hbm.tileentity; + +import com.hbm.blocks.machine.MachineNukeFurnace; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemCustomLore; +import com.hbm.items.special.ItemFuelRod; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityNukeFurnace extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + + public int dualCookTime; + public int dualPower; + public static final int maxPower = 1000; + public static final int processingSpeed = 30; + + private static final int[] slots_top = new int[] {1}; + private static final int[] slots_bottom = new int[] {2, 0}; + private static final int[] slots_side = new int[] {0}; + + private String customName; + + public TileEntityNukeFurnace() { + slots = new ItemStack[3]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukeFurnace"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + public boolean hasItemPower(ItemStack itemStack) { + return getItemPower(itemStack) > 0; + } + + private static int getItemPower(ItemStack itemStack) { + if(itemStack == null) + { + return 0; + }else{ + Item item = itemStack.getItem(); + + if(item == ModItems.rod_u238) return 1 * 5; + if(item == ModItems.rod_dual_u238) return 2 * 5; + if(item == ModItems.rod_quad_u238) return 4 * 5; + if(item == ModItems.rod_u235) return 3 * 5; + if(item == ModItems.rod_dual_u235) return 6 * 5; + if(item == ModItems.rod_quad_u235) return 12 * 5; + if(item == ModItems.rod_pu238) return 5 * 5; + if(item == ModItems.rod_dual_pu238) return 10 * 5; + if(item == ModItems.rod_quad_pu238) return 20 * 5; + if(item == ModItems.rod_pu239) return 3 * 5; + if(item == ModItems.rod_dual_pu239) return 6 * 5; + if(item == ModItems.rod_quad_pu239) return 12 * 5; + if(item == ModItems.rod_pu240) return 1 * 5; + if(item == ModItems.rod_dual_pu240) return 2 * 5; + if(item == ModItems.rod_quad_pu240) return 4 * 5; + if(item == ModItems.rod_neptunium) return 3 * 5; + if(item == ModItems.rod_dual_neptunium) return 6 * 5; + if(item == ModItems.rod_quad_neptunium) return 12 * 5; + if(item == ModItems.rod_schrabidium) return 15 * 5; + if(item == ModItems.rod_dual_schrabidium) return 30 * 5; + if(item == ModItems.rod_quad_schrabidium) return 60 * 5; + + return 0; + } + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + dualPower = nbt.getShort("powerTime"); + dualCookTime = nbt.getShort("CookTime"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("powerTime", (short) dualPower); + nbt.setShort("cookTime", (short) dualCookTime); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + if(i == 0) + { + if(itemStack.getItem() instanceof ItemCustomLore) + { + return true; + } + + return false; + } + + return true; + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i == 0) + { + if(itemStack.getItem() == ModItems.rod_empty || itemStack.getItem() == ModItems.rod_dual_empty || itemStack.getItem() == ModItems.rod_quad_empty) + { + return true; + } + + return false; + } + + return true; + } + + public int getDiFurnaceProgressScaled(int i) { + return (dualCookTime * i) / processingSpeed; + } + + public int getPowerRemainingScaled(int i) { + return (dualPower * i) / maxPower; + } + + public boolean canProcess() { + if(slots[1] == null) + { + return false; + } + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[1]); + if(itemStack == null) + { + return false; + } + + if(slots[2] == null) + { + return true; + } + + if(!slots[2].isItemEqual(itemStack)) { + return false; + } + + if(slots[2].stackSize < getInventoryStackLimit() && slots[2].stackSize < slots[2].getMaxStackSize()) { + return true; + }else{ + return slots[2].stackSize < itemStack.getMaxStackSize(); + } + } + + private void processItem() { + if(canProcess()) { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[1]); + + if(slots[2] == null) + { + slots[2] = itemStack.copy(); + }else if(slots[2].isItemEqual(itemStack)) { + slots[2].stackSize += itemStack.stackSize; + } + + for(int i = 1; i < 2; i++) + { + if(slots[i].stackSize <= 0) + { + slots[i] = new ItemStack(slots[i].getItem().setFull3D()); + }else{ + slots[i].stackSize--; + } + if(slots[i].stackSize <= 0) + { + slots[i] = null; + } + } + + { + dualPower--; + } + } + } + + public boolean hasPower() { + return dualPower > 0; + } + + public boolean isProcessing() { + return this.dualCookTime > 0; + } + + @Override + public void updateEntity() { + boolean flag = this.hasPower(); + boolean flag1 = false; + + if(!worldObj.isRemote) + { + if(this.hasItemPower(this.slots[0]) && this.dualPower == 0) + { + this.dualPower += getItemPower(this.slots[0]); + if(this.slots[0] != null) + { + flag1 = true; + this.slots[0].stackSize--; + if(this.slots[0].stackSize == 0) + { + this.slots[0] = this.slots[0].getItem().getContainerItem(this.slots[0]); + } + } + } + + if(hasPower() && canProcess()) + { + dualCookTime++; + + if(this.dualCookTime == TileEntityNukeFurnace.processingSpeed) + { + this.dualCookTime = 0; + this.processItem(); + flag1 = true; + } + }else{ + dualCookTime = 0; + } + + boolean trigger = true; + + if(hasPower() && canProcess() && this.dualCookTime == 0) + { + trigger = false; + } + + if(trigger) + { + flag1 = true; + MachineNukeFurnace.updateBlockState(this.dualCookTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(flag1) + { + this.markDirty(); + } + } + +} diff --git a/com/hbm/tileentity/TileEntityNukeGadget.java b/com/hbm/tileentity/TileEntityNukeGadget.java index a47b52cc7..f75c5c1f6 100644 --- a/com/hbm/tileentity/TileEntityNukeGadget.java +++ b/com/hbm/tileentity/TileEntityNukeGadget.java @@ -1,255 +1,255 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityNukeGadget extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - private String customName; - - public TileEntityNukeGadget() { - slots = new ItemStack[6]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.nukeGadget"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - /*public int getNukeTier() { - if(this.slots[0] != null && this.slots[1] != null && this.slots[2] != null && this.slots[3] != null && this.slots[4] != null) - { - if(this.slots[0].getItem() == ModItems.test_nuke_tier1_shielding && this.slots[1].getItem() == ModItems.test_nuke_tier1_target && this.slots[2].getItem() == ModItems.test_nuke_tier1_bullet && this.slots[3].getItem() == ModItems.test_nuke_propellant && this.slots[4].getItem() == ModItems.test_nuke_igniter) - { - return 1; - } - if(this.slots[0].getItem() == ModItems.test_nuke_tier2_shielding && this.slots[1].getItem() == ModItems.test_nuke_tier2_target && this.slots[2].getItem() == ModItems.test_nuke_tier2_bullet && this.slots[3].getItem() == ModItems.test_nuke_propellant && this.slots[4].getItem() == ModItems.test_nuke_igniter) - { - return 2; - } - if(this.slots[0].getItem() == Item.getItemFromBlock(Blocks.obsidian) && this.slots[1].getItem() == Items.nether_star && this.slots[2].getItem() == Items.diamond && this.slots[3].getItem() == Item.getItemFromBlock(Blocks.tnt) && this.slots[4].getItem() == Items.repeater) - { - return 999; - } - else - { - return 0; - } - } - else - { - return 0; - } - }*/ - - public boolean exp1() { - if(this.slots[1] != null && this.slots[1].getItem() == ModItems.gadget_explosive8) - { - return true; - } - - return false; - } - - public boolean exp2() { - if(this.slots[2] != null && this.slots[2].getItem() == ModItems.gadget_explosive8) - { - return true; - } - - return false; - } - - public boolean exp3() { - if(this.slots[3] != null && this.slots[3].getItem() == ModItems.gadget_explosive8) - { - return true; - } - - return false; - } - - public boolean exp4() { - if(this.slots[4] != null && this.slots[4].getItem() == ModItems.gadget_explosive8) - { - return true; - } - - return false; - } - - public boolean isReady() { - if(this.exp1() == true && this.exp2() == true && this.exp3() == true && this.exp4() == true) - { - if(this.slots[0] != null && this.slots[5] != null && this.slots[0].getItem() == ModItems.gadget_wireing && slots[5].getItem() == ModItems.gadget_core) - { - return true; - } - } - - return false; - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityNukeGadget extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + private String customName; + + public TileEntityNukeGadget() { + slots = new ItemStack[6]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukeGadget"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + /*public int getNukeTier() { + if(this.slots[0] != null && this.slots[1] != null && this.slots[2] != null && this.slots[3] != null && this.slots[4] != null) + { + if(this.slots[0].getItem() == ModItems.test_nuke_tier1_shielding && this.slots[1].getItem() == ModItems.test_nuke_tier1_target && this.slots[2].getItem() == ModItems.test_nuke_tier1_bullet && this.slots[3].getItem() == ModItems.test_nuke_propellant && this.slots[4].getItem() == ModItems.test_nuke_igniter) + { + return 1; + } + if(this.slots[0].getItem() == ModItems.test_nuke_tier2_shielding && this.slots[1].getItem() == ModItems.test_nuke_tier2_target && this.slots[2].getItem() == ModItems.test_nuke_tier2_bullet && this.slots[3].getItem() == ModItems.test_nuke_propellant && this.slots[4].getItem() == ModItems.test_nuke_igniter) + { + return 2; + } + if(this.slots[0].getItem() == Item.getItemFromBlock(Blocks.obsidian) && this.slots[1].getItem() == Items.nether_star && this.slots[2].getItem() == Items.diamond && this.slots[3].getItem() == Item.getItemFromBlock(Blocks.tnt) && this.slots[4].getItem() == Items.repeater) + { + return 999; + } + else + { + return 0; + } + } + else + { + return 0; + } + }*/ + + public boolean exp1() { + if(this.slots[1] != null && this.slots[1].getItem() == ModItems.gadget_explosive8) + { + return true; + } + + return false; + } + + public boolean exp2() { + if(this.slots[2] != null && this.slots[2].getItem() == ModItems.gadget_explosive8) + { + return true; + } + + return false; + } + + public boolean exp3() { + if(this.slots[3] != null && this.slots[3].getItem() == ModItems.gadget_explosive8) + { + return true; + } + + return false; + } + + public boolean exp4() { + if(this.slots[4] != null && this.slots[4].getItem() == ModItems.gadget_explosive8) + { + return true; + } + + return false; + } + + public boolean isReady() { + if(this.exp1() == true && this.exp2() == true && this.exp3() == true && this.exp4() == true) + { + if(this.slots[0] != null && this.slots[5] != null && this.slots[0].getItem() == ModItems.gadget_wireing && slots[5].getItem() == ModItems.gadget_core) + { + return true; + } + } + + return false; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityNukeMan.java b/com/hbm/tileentity/TileEntityNukeMan.java index 2ad7a12e0..b02a187e1 100644 --- a/com/hbm/tileentity/TileEntityNukeMan.java +++ b/com/hbm/tileentity/TileEntityNukeMan.java @@ -1,229 +1,229 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityNukeMan extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - private String customName; - - public TileEntityNukeMan() { - slots = new ItemStack[6]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.nukeMan"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - public boolean exp1() { - if(this.slots[1] != null && this.slots[1].getItem() == ModItems.man_explosive8) - { - return true; - } - - return false; - } - - public boolean exp2() { - if(this.slots[2] != null && this.slots[2].getItem() == ModItems.man_explosive8) - { - return true; - } - - return false; - } - - public boolean exp3() { - if(this.slots[3] != null && this.slots[3].getItem() == ModItems.man_explosive8) - { - return true; - } - - return false; - } - - public boolean exp4() { - if(this.slots[4] != null && this.slots[4].getItem() == ModItems.man_explosive8) - { - return true; - } - - return false; - } - - public boolean isReady() { - if(this.exp1() == true && this.exp2() == true && this.exp3() == true && this.exp4() == true) - { - if(this.slots[0] != null && this.slots[5] != null && this.slots[0].getItem() == ModItems.man_igniter && slots[5].getItem() == ModItems.man_core) - { - return true; - } - } - - return false; - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityNukeMan extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + private String customName; + + public TileEntityNukeMan() { + slots = new ItemStack[6]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukeMan"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + public boolean exp1() { + if(this.slots[1] != null && this.slots[1].getItem() == ModItems.man_explosive8) + { + return true; + } + + return false; + } + + public boolean exp2() { + if(this.slots[2] != null && this.slots[2].getItem() == ModItems.man_explosive8) + { + return true; + } + + return false; + } + + public boolean exp3() { + if(this.slots[3] != null && this.slots[3].getItem() == ModItems.man_explosive8) + { + return true; + } + + return false; + } + + public boolean exp4() { + if(this.slots[4] != null && this.slots[4].getItem() == ModItems.man_explosive8) + { + return true; + } + + return false; + } + + public boolean isReady() { + if(this.exp1() == true && this.exp2() == true && this.exp3() == true && this.exp4() == true) + { + if(this.slots[0] != null && this.slots[5] != null && this.slots[0].getItem() == ModItems.man_igniter && slots[5].getItem() == ModItems.man_core) + { + return true; + } + } + + return false; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityNukeMike.java b/com/hbm/tileentity/TileEntityNukeMike.java index e656765bb..d8a1d2006 100644 --- a/com/hbm/tileentity/TileEntityNukeMike.java +++ b/com/hbm/tileentity/TileEntityNukeMike.java @@ -1,215 +1,215 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityNukeMike extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - private String customName; - - public TileEntityNukeMike() { - slots = new ItemStack[8]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.nukeMike"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - public boolean isReady() { - - if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null) - if(slots[0].getItem() == ModItems.man_explosive8 && - slots[1].getItem() == ModItems.man_explosive8 && - slots[2].getItem() == ModItems.man_explosive8 && - slots[3].getItem() == ModItems.man_explosive8 && - slots[4].getItem() == ModItems.man_core) - { - return true; - } - - return false; - } - - public boolean isFilled() { - - if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null && slots[5] != null && slots[6] != null && slots[7] != null) - if(slots[0].getItem() == ModItems.man_explosive8 && - slots[1].getItem() == ModItems.man_explosive8 && - slots[2].getItem() == ModItems.man_explosive8 && - slots[3].getItem() == ModItems.man_explosive8 && - slots[4].getItem() == ModItems.man_core && - slots[5].getItem() == ModItems.mike_core && - slots[6].getItem() == ModItems.mike_deut && - slots[7].getItem() == ModItems.mike_cooling_unit) - { - return true; - } - - return false; - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } - -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityNukeMike extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + private String customName; + + public TileEntityNukeMike() { + slots = new ItemStack[8]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukeMike"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + public boolean isReady() { + + if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null) + if(slots[0].getItem() == ModItems.man_explosive8 && + slots[1].getItem() == ModItems.man_explosive8 && + slots[2].getItem() == ModItems.man_explosive8 && + slots[3].getItem() == ModItems.man_explosive8 && + slots[4].getItem() == ModItems.man_core) + { + return true; + } + + return false; + } + + public boolean isFilled() { + + if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null && slots[5] != null && slots[6] != null && slots[7] != null) + if(slots[0].getItem() == ModItems.man_explosive8 && + slots[1].getItem() == ModItems.man_explosive8 && + slots[2].getItem() == ModItems.man_explosive8 && + slots[3].getItem() == ModItems.man_explosive8 && + slots[4].getItem() == ModItems.man_core && + slots[5].getItem() == ModItems.mike_core && + slots[6].getItem() == ModItems.mike_deut && + slots[7].getItem() == ModItems.mike_cooling_unit) + { + return true; + } + + return false; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + +} diff --git a/com/hbm/tileentity/TileEntityNukePrototype.java b/com/hbm/tileentity/TileEntityNukePrototype.java index 57661a05e..6ce3d9e48 100644 --- a/com/hbm/tileentity/TileEntityNukePrototype.java +++ b/com/hbm/tileentity/TileEntityNukePrototype.java @@ -1,205 +1,205 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityNukePrototype extends TileEntity implements ISidedInventory { - - public ItemStack slots[]; - private String customName; - - public TileEntityNukePrototype() { - slots = new ItemStack[14]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.nukePrototype"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - public boolean isReady() { - - if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null && slots[5] != null && slots[6] != null && slots[7] != null && slots[8] != null && slots[9] != null && slots[10] != null && slots[11] != null && slots[12] != null && slots[13] != null) - if(slots[0].getItem() == ModItems.cell_sas3 && - slots[1].getItem() == ModItems.cell_sas3 && - slots[2].getItem() == ModItems.rod_quad_uranium && - slots[3].getItem() == ModItems.rod_quad_uranium && - slots[4].getItem() == ModItems.rod_quad_lead && - slots[5].getItem() == ModItems.rod_quad_lead && - slots[6].getItem() == ModItems.rod_quad_neptunium && - slots[7].getItem() == ModItems.rod_quad_neptunium && - slots[8].getItem() == ModItems.rod_quad_lead && - slots[9].getItem() == ModItems.rod_quad_lead && - slots[10].getItem() == ModItems.rod_quad_uranium && - slots[11].getItem() == ModItems.rod_quad_uranium && - slots[12].getItem() == ModItems.cell_sas3 && - slots[13].getItem() == ModItems.cell_sas3) - { - return true; - } - - return false; - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityNukePrototype extends TileEntity implements ISidedInventory { + + public ItemStack slots[]; + private String customName; + + public TileEntityNukePrototype() { + slots = new ItemStack[14]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukePrototype"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + public boolean isReady() { + + if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null && slots[5] != null && slots[6] != null && slots[7] != null && slots[8] != null && slots[9] != null && slots[10] != null && slots[11] != null && slots[12] != null && slots[13] != null) + if(slots[0].getItem() == ModItems.cell_sas3 && + slots[1].getItem() == ModItems.cell_sas3 && + slots[2].getItem() == ModItems.rod_quad_uranium && + slots[3].getItem() == ModItems.rod_quad_uranium && + slots[4].getItem() == ModItems.rod_quad_lead && + slots[5].getItem() == ModItems.rod_quad_lead && + slots[6].getItem() == ModItems.rod_quad_neptunium && + slots[7].getItem() == ModItems.rod_quad_neptunium && + slots[8].getItem() == ModItems.rod_quad_lead && + slots[9].getItem() == ModItems.rod_quad_lead && + slots[10].getItem() == ModItems.rod_quad_uranium && + slots[11].getItem() == ModItems.rod_quad_uranium && + slots[12].getItem() == ModItems.cell_sas3 && + slots[13].getItem() == ModItems.cell_sas3) + { + return true; + } + + return false; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityNukeTsar.java b/com/hbm/tileentity/TileEntityNukeTsar.java index a5c727f5b..a1f2e28fa 100644 --- a/com/hbm/tileentity/TileEntityNukeTsar.java +++ b/com/hbm/tileentity/TileEntityNukeTsar.java @@ -1,212 +1,212 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityNukeTsar extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - private String customName; - - public TileEntityNukeTsar() { - slots = new ItemStack[6]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.nukeTsar"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - public boolean isReady() { - - if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null) - if(slots[0].getItem() == ModItems.man_explosive8 && - slots[1].getItem() == ModItems.man_explosive8 && - slots[2].getItem() == ModItems.man_explosive8 && - slots[3].getItem() == ModItems.man_explosive8 && - slots[4].getItem() == ModItems.man_core) - { - return true; - } - - return false; - } - - public boolean isFilled() { - - if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null && slots[5] != null) - if(slots[0].getItem() == ModItems.man_explosive8 && - slots[1].getItem() == ModItems.man_explosive8 && - slots[2].getItem() == ModItems.man_explosive8 && - slots[3].getItem() == ModItems.man_explosive8 && - slots[4].getItem() == ModItems.man_core && - slots[5].getItem() == ModItems.tsar_core) - { - return true; - } - - return false; - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityNukeTsar extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + private String customName; + + public TileEntityNukeTsar() { + slots = new ItemStack[6]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.nukeTsar"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + public boolean isReady() { + + if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null) + if(slots[0].getItem() == ModItems.man_explosive8 && + slots[1].getItem() == ModItems.man_explosive8 && + slots[2].getItem() == ModItems.man_explosive8 && + slots[3].getItem() == ModItems.man_explosive8 && + slots[4].getItem() == ModItems.man_core) + { + return true; + } + + return false; + } + + public boolean isFilled() { + + if(slots[0] != null && slots[1] != null && slots[2] != null && slots[3] != null && slots[4] != null && slots[5] != null) + if(slots[0].getItem() == ModItems.man_explosive8 && + slots[1].getItem() == ModItems.man_explosive8 && + slots[2].getItem() == ModItems.man_explosive8 && + slots[3].getItem() == ModItems.man_explosive8 && + slots[4].getItem() == ModItems.man_core && + slots[5].getItem() == ModItems.tsar_core) + { + return true; + } + + return false; + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityObjTester.java b/com/hbm/tileentity/TileEntityObjTester.java index 595f7931e..538783d04 100644 --- a/com/hbm/tileentity/TileEntityObjTester.java +++ b/com/hbm/tileentity/TileEntityObjTester.java @@ -1,23 +1,23 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; - -public class TileEntityObjTester extends TileEntity { - - @Override - public int getBlockMetadata() - { - if (this.blockMetadata == -1) - { - this.blockMetadata = this.worldObj.getBlockMetadata(this.xCoord, this.yCoord, this.zCoord); - } - - return this.blockMetadata; - } - - @Override - public AxisAlignedBB getRenderBoundingBox() { - return TileEntity.INFINITE_EXTENT_AABB; - } -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; + +public class TileEntityObjTester extends TileEntity { + + @Override + public int getBlockMetadata() + { + if (this.blockMetadata == -1) + { + this.blockMetadata = this.worldObj.getBlockMetadata(this.xCoord, this.yCoord, this.zCoord); + } + + return this.blockMetadata; + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } +} diff --git a/com/hbm/tileentity/TileEntityReactorMultiblock.java b/com/hbm/tileentity/TileEntityReactorMultiblock.java index 65e080d27..e1f416735 100644 --- a/com/hbm/tileentity/TileEntityReactorMultiblock.java +++ b/com/hbm/tileentity/TileEntityReactorMultiblock.java @@ -1,903 +1,903 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.HashSet; -import java.util.List; -import java.util.Random; - -import com.hbm.blocks.MachineGenerator; -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.entity.effect.EntityNukeCloudSmall; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.explosion.ExplosionNukeGeneric; -import com.hbm.explosion.ExplosionParticle; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.IReactor; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.items.special.ItemFuelRod; -import com.hbm.lib.Library; - -import net.minecraft.block.Block; -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.item.crafting.FurnaceRecipes; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; -import net.minecraft.world.World; - -public class TileEntityReactorMultiblock extends TileEntity implements ISidedInventory, IReactor, ISource { - - public int water; - public final static int waterMax = 10000000; - public int cool; - public final static int coolMax = 10000000; - public int heat; - public final static int heatMax = 1000000; - public int power; - public final static int maxPower = 1000000; - private ItemStack slots[]; - public int age = 0; - public List list = new ArrayList(); - - public boolean isLoaded = false; - - private String customName; - - public TileEntityReactorMultiblock() { - slots = new ItemStack[34]; - } - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.reactorMultiblock"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() {} - - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { - return false; - } - - @Override - public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { - return false; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - water = nbt.getShort("water") * 1000; - cool = nbt.getShort("cool") * 1000; - power = nbt.getShort("power") * 100; - heat = nbt.getShort("heat") * 100; - - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("water", (short) (water/1000)); - nbt.setShort("cool", (short) (cool/1000)); - nbt.setShort("power", (short) (power/100)); - nbt.setShort("heat", (short) (heat/100)); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public void updateEntity() { - if(isStructureValid(worldObj)) - { - age++; - if(age >= 20) - { - age = 0; - } - - if(age == 9 || age == 19) - ffgeuaInit(); - - //if(!worldObj.isRemote) - { - if(slots[30] != null && slots[30].getItem() == Items.water_bucket && this.water + 250000 <= waterMax) - { - this.slots[30].stackSize--; - this.water += 250000; - if(this.slots[30].stackSize == 0) - { - this.slots[30] = this.slots[30].getItem().getContainerItem(this.slots[30]); - } - } - if(slots[30] != null && slots[30].getItem() == ModItems.rod_water && this.water + 250000 <= waterMax) - { - this.slots[30].stackSize--; - this.water += 250000; - if(this.slots[30].stackSize == 0) - { - this.slots[30] = this.slots[30].getItem().getContainerItem(this.slots[30]); - } - } - if(slots[30] != null && slots[30].getItem() == ModItems.rod_dual_water && this.water + 500000 <= waterMax) - { - this.slots[30].stackSize--; - this.water += 500000; - if(this.slots[30].stackSize == 0) - { - this.slots[30] = this.slots[30].getItem().getContainerItem(this.slots[30]); - } - } - if(slots[30] != null && slots[30].getItem() == ModItems.rod_quad_water && this.water + 1000000 <= waterMax) - { - this.slots[30].stackSize--; - this.water += 1000000; - if(this.slots[30].stackSize == 0) - { - this.slots[30] = this.slots[30].getItem().getContainerItem(this.slots[30]); - } - } - if(slots[30] != null && slots[30].getItem() == ModItems.inf_water) - { - this.water = waterMax; - } - - if(slots[31] != null && slots[31].getItem() == ModItems.rod_coolant && this.cool + 250000 <= coolMax) - { - this.slots[31].stackSize--; - this.cool += 250000; - if(this.slots[31].stackSize == 0) - { - this.slots[31] = this.slots[31].getItem().getContainerItem(this.slots[31]); - } - } - - if(slots[31] != null && slots[31].getItem() == ModItems.rod_dual_coolant && this.cool + 500000 <= coolMax) - { - this.slots[31].stackSize--; - this.cool += 500000; - if(this.slots[31].stackSize == 0) - { - this.slots[31] = this.slots[31].getItem().getContainerItem(this.slots[31]); - } - } - - if(slots[31] != null && slots[31].getItem() == ModItems.rod_quad_coolant && this.cool + 1000000 <= coolMax) - { - this.slots[31].stackSize--; - this.cool += 1000000; - if(this.slots[31].stackSize == 0) - { - this.slots[31] = this.slots[31].getItem().getContainerItem(this.slots[31]); - } - } - - if(slots[31] != null && slots[31].getItem() == ModItems.inf_coolant) - { - this.cool = coolMax; - } - - - if(hasFuse()) - { - for(int i = 0; i < 30; i++) - { - if(slots[i] != null && slots[i].getItem() == ModItems.rod_uranium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(10); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_uranium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_uranium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(10); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_dual_uranium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_uranium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(10); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_quad_uranium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_plutonium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(2); - attemptPower(15); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_plutonium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_plutonium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(2); - attemptPower(15); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_dual_plutonium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_plutonium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(2); - attemptPower(15); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_quad_plutonium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_mox_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(5); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_mox_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_mox_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(5); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_dual_mox_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_mox_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(1); - attemptPower(5); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_quad_mox_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_schrabidium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(10); - attemptPower(25); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_schrabidium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_schrabidium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(10); - attemptPower(25); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_dual_schrabidium_fuel_depleted); - } - } - if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_schrabidium_fuel) - { - int j = slots[i].getItemDamage(); - this.slots[i].setItemDamage(j += 1); - attemptHeat(10); - attemptPower(25); - - if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) - { - this.slots[i] = new ItemStack(ModItems.rod_quad_schrabidium_fuel_depleted); - } - } - } - } - - if(this.power > maxPower) - { - this.power = maxPower; - } - - if(this.heat > heatMax) - { - this.explode(); - } - - if(((slots[0] != null && slots[0].getItem() instanceof ItemFuelRod) || slots[0] == null) && - ((slots[1] != null && !(slots[1].getItem() instanceof ItemFuelRod)) || slots[1] == null) && - ((slots[2] != null && !(slots[2].getItem() instanceof ItemFuelRod)) || slots[2] == null) && - ((slots[3] != null && !(slots[3].getItem() instanceof ItemFuelRod)) || slots[3] == null) && - ((slots[4] != null && !(slots[4].getItem() instanceof ItemFuelRod)) || slots[4] == null) && - ((slots[5] != null && !(slots[5].getItem() instanceof ItemFuelRod)) || slots[5] == null) && - ((slots[6] != null && !(slots[6].getItem() instanceof ItemFuelRod)) || slots[6] == null) && - ((slots[7] != null && !(slots[7].getItem() instanceof ItemFuelRod)) || slots[7] == null) && - ((slots[8] != null && !(slots[8].getItem() instanceof ItemFuelRod)) || slots[8] == null) && - ((slots[9] != null && !(slots[9].getItem() instanceof ItemFuelRod)) || slots[9] == null) && - ((slots[10] != null && !(slots[10].getItem() instanceof ItemFuelRod)) || slots[10] == null) && - ((slots[11] != null && !(slots[11].getItem() instanceof ItemFuelRod)) || slots[11] == null) && - ((slots[12] != null && !(slots[12].getItem() instanceof ItemFuelRod)) || slots[12] == null) && - ((slots[13] != null && !(slots[13].getItem() instanceof ItemFuelRod)) || slots[13] == null) && - ((slots[14] != null && !(slots[14].getItem() instanceof ItemFuelRod)) || slots[14] == null) && - ((slots[15] != null && !(slots[15].getItem() instanceof ItemFuelRod)) || slots[15] == null) && - ((slots[16] != null && !(slots[16].getItem() instanceof ItemFuelRod)) || slots[16] == null) && - ((slots[17] != null && !(slots[17].getItem() instanceof ItemFuelRod)) || slots[17] == null) && - ((slots[18] != null && !(slots[18].getItem() instanceof ItemFuelRod)) || slots[18] == null) && - ((slots[19] != null && !(slots[19].getItem() instanceof ItemFuelRod)) || slots[19] == null) && - ((slots[20] != null && !(slots[20].getItem() instanceof ItemFuelRod)) || slots[20] == null) && - ((slots[21] != null && !(slots[21].getItem() instanceof ItemFuelRod)) || slots[21] == null) && - ((slots[22] != null && !(slots[22].getItem() instanceof ItemFuelRod)) || slots[22] == null) && - ((slots[23] != null && !(slots[23].getItem() instanceof ItemFuelRod)) || slots[23] == null) && - ((slots[24] != null && !(slots[24].getItem() instanceof ItemFuelRod)) || slots[24] == null) && - ((slots[25] != null && !(slots[25].getItem() instanceof ItemFuelRod)) || slots[25] == null) && - ((slots[26] != null && !(slots[26].getItem() instanceof ItemFuelRod)) || slots[26] == null) && - ((slots[27] != null && !(slots[27].getItem() instanceof ItemFuelRod)) || slots[27] == null) && - ((slots[28] != null && !(slots[28].getItem() instanceof ItemFuelRod)) || slots[28] == null) && - ((slots[29] != null && !(slots[29].getItem() instanceof ItemFuelRod)) || slots[29] == null)) - { - if(this.heat - 10 >= 0 && this.cool - 10 >= 0) - { - this.heat -= 10; - this.cool -= 10; - } - - if(this.heat < 10 && this.cool != 0) - { - this.heat--; - this.cool--; - } - - if(this.heat != 0 && this.cool == 0) - { - this.heat--; - } - - if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof MachineGenerator) - isLoaded = false; - - } else { - - if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof MachineGenerator) - isLoaded = true; - - if(!this.isCoatingValid(worldObj)) - { - int strength = 20; - float f = strength; - HashSet hashset = new HashSet(); - int i; - int j; - int k; - double d5; - double d6; - double d7; - double wat = 20; - boolean isOccupied = false; - - i = MathHelper.floor_double(this.xCoord - wat - 1.0D); - j = MathHelper.floor_double(this.xCoord + wat + 1.0D); - k = MathHelper.floor_double(this.yCoord - wat - 1.0D); - int i2 = MathHelper.floor_double(this.yCoord + wat + 1.0D); - int l = MathHelper.floor_double(this.zCoord - wat - 1.0D); - int j2 = MathHelper.floor_double(this.zCoord + wat + 1.0D); - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); - Vec3 vec3 = Vec3.createVectorHelper(this.xCoord, this.yCoord, this.zCoord); - - for (int i1 = 0; i1 < list.size(); ++i1) - { - Entity entity = (Entity)list.get(i1); - double d4 = entity.getDistance(this.xCoord, this.yCoord, this.zCoord) / 4; - - if (d4 <= 20) - { - d5 = entity.posX - this.xCoord; - d6 = entity.posY + entity.getEyeHeight() - this.yCoord; - d7 = entity.posZ - this.zCoord; - double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); - if (d9 < wat) - { - if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) - { - /*Library.damageSuit(((EntityPlayer)entity), 0); - Library.damageSuit(((EntityPlayer)entity), 1); - Library.damageSuit(((EntityPlayer)entity), 2); - Library.damageSuit(((EntityPlayer)entity), 3);*/ - - } else if(entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(this.worldObj); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); - if(!entity.isDead) - if(!worldObj.isRemote) - worldObj.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom)) - { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.getId(), 2 * 60 * 20, 2)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.getId(), 20, 4)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 1 * 60 * 20, 1)); - } - } - } - } - } - } - - //Batteries - if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.battery_generic && slots[32].getItemDamage() > 0) - { - power -= 100; - slots[32].setItemDamage(slots[32].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.battery_advanced && slots[32].getItemDamage() > 0) - { - power -= 100; - slots[32].setItemDamage(slots[32].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.battery_schrabidium && slots[32].getItemDamage() > 0) - { - power -= 100; - slots[32].setItemDamage(slots[32].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.factory_core_titanium && slots[32].getItemDamage() > 0) - { - power -= 100; - slots[32].setItemDamage(slots[32].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.factory_core_advanced && slots[32].getItemDamage() > 0) - { - power -= 100; - slots[32].setItemDamage(slots[32].getItemDamage() - 1); - } - } - } - - } - - @Override - public boolean isStructureValid(World world) { - if(world.getBlock(this.xCoord, this.yCoord, this.zCoord) == ModBlocks.reactor_computer && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.reactor_conductor && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.reactor_conductor && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord) == ModBlocks.reactor_control && - world.getBlock(this.xCoord + 1, this.yCoord + 0, this.zCoord) == ModBlocks.reactor_control && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord) == ModBlocks.reactor_control && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord) == ModBlocks.reactor_control && - world.getBlock(this.xCoord - 1, this.yCoord + 0, this.zCoord) == ModBlocks.reactor_control && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord) == ModBlocks.reactor_control && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 1) == ModBlocks.reactor_control && - world.getBlock(this.xCoord, this.yCoord + 0, this.zCoord + 1) == ModBlocks.reactor_control && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 1) == ModBlocks.reactor_control && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 1) == ModBlocks.reactor_control && - world.getBlock(this.xCoord, this.yCoord + 0, this.zCoord - 1) == ModBlocks.reactor_control && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 1) == ModBlocks.reactor_control && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord + 1, this.yCoord + 0, this.zCoord + 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord + 1, this.yCoord + 0, this.zCoord - 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord - 1, this.yCoord + 0, this.zCoord - 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord - 1, this.yCoord + 0, this.zCoord + 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.reactor_element && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord) == ModBlocks.reactor_hatch && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord) == ModBlocks.reactor_hatch && - world.getBlock(this.xCoord, this.yCoord, this.zCoord + 2) == ModBlocks.reactor_hatch && - world.getBlock(this.xCoord, this.yCoord, this.zCoord - 2) == ModBlocks.reactor_hatch) - { - return true; - } - return false; - } - - @Override - public boolean isCoatingValid(World world) { - if(world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord, this.yCoord + 2, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord, this.yCoord + 2, this.zCoord + 1)== ModBlocks.brick_concrete && - - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord, this.yCoord - 2, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord, this.yCoord - 2, this.zCoord - 1)== ModBlocks.brick_concrete && - - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 1)== ModBlocks.brick_concrete && - - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 1)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 1)== ModBlocks.brick_concrete && - - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 2)== ModBlocks.brick_concrete && - - world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 2)== ModBlocks.brick_concrete && - world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 2)== ModBlocks.brick_concrete) - { - return true; - } - return false; - } - - @Override - public int getWaterScaled(int i) { - return (water * i) / waterMax; - } - - @Override - public int getCoolantScaled(int i) { - return (cool * i) / coolMax; - } - - @Override - public int getPowerScaled(int i) { - return (power * i) / maxPower; - } - - @Override - public int getHeatScaled(int i) { - return (heat * i) / heatMax; - } - - @Override - public boolean hasFuse() { - return slots[33] != null && (slots[33].getItem() == ModItems.fuse || slots[33].getItem() == ModItems.screwdriver); - } - - public void attemptPower(int i) { - if(this.water - i >= 0) - { - this.power += i; - this.water -= i; - } - } - - public void attemptHeat(int i) { - Random rand = new Random(); - - int j = rand.nextInt(i); - - if(this.cool - j >= 0) - { - this.cool -= j; - } else { - this.heat += i; - } - } - - public void explode() { - for(int i = 0; i < slots.length; i++) - { - this.slots[i] = null; - } - - EntityNukeExplosionAdvanced explosion = new EntityNukeExplosionAdvanced(this.worldObj); - explosion.speed = 25; - explosion.coefficient = 5.0F; - explosion.destructionRange = 35; - explosion.posX = this.xCoord; - explosion.posY = this.yCoord; - explosion.posZ = this.zCoord; - this.worldObj.spawnEntityInWorld(explosion); - ExplosionParticle.spawnMush(this.worldObj, (int)this.xCoord, (int)this.yCoord - 3, (int)this.zCoord); - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if(tileentity instanceof IConductor) - { - if(tileentity instanceof TileEntityCable) - { - if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) - { - if(((TileEntityCable)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if(tileentity instanceof TileEntityWireCoated) - { - if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) - { - list.add((IConsumer)tileentity); - } - - if(!newTact) - { - int size = list.size(); - if(size > 0) - { - int part = this.power / size; - for(IConsumer consume : list) - { - if(consume.getPower() < consume.getMaxPower()) - { - if(consume.getMaxPower() - consume.getPower() >= part) - { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord, this.yCoord + 2, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 2, this.zCoord, getTact()); - } - - public boolean getTact() { - if(age >= 0 && age < 10) - { - return true; - } - - return false; - } -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.HashSet; +import java.util.List; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.blocks.machine.MachineGenerator; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.entity.effect.EntityNukeCloudSmall; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.explosion.ExplosionNukeGeneric; +import com.hbm.explosion.ExplosionParticle; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.IReactor; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemFuelRod; +import com.hbm.lib.Library; + +import net.minecraft.block.Block; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; +import net.minecraft.world.World; + +public class TileEntityReactorMultiblock extends TileEntity implements ISidedInventory, IReactor, ISource { + + public int water; + public final static int waterMax = 10000000; + public int cool; + public final static int coolMax = 10000000; + public int heat; + public final static int heatMax = 1000000; + public int power; + public final static int maxPower = 1000000; + private ItemStack slots[]; + public int age = 0; + public List list = new ArrayList(); + + public boolean isLoaded = false; + + private String customName; + + public TileEntityReactorMultiblock() { + slots = new ItemStack[34]; + } + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.reactorMultiblock"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { + return false; + } + + @Override + public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { + return false; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + water = nbt.getShort("water") * 1000; + cool = nbt.getShort("cool") * 1000; + power = nbt.getShort("power") * 100; + heat = nbt.getShort("heat") * 100; + + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("water", (short) (water/1000)); + nbt.setShort("cool", (short) (cool/1000)); + nbt.setShort("power", (short) (power/100)); + nbt.setShort("heat", (short) (heat/100)); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public void updateEntity() { + if(isStructureValid(worldObj)) + { + age++; + if(age >= 20) + { + age = 0; + } + + if(age == 9 || age == 19) + ffgeuaInit(); + + //if(!worldObj.isRemote) + { + if(slots[30] != null && slots[30].getItem() == Items.water_bucket && this.water + 250000 <= waterMax) + { + this.slots[30].stackSize--; + this.water += 250000; + if(this.slots[30].stackSize == 0) + { + this.slots[30] = this.slots[30].getItem().getContainerItem(this.slots[30]); + } + } + if(slots[30] != null && slots[30].getItem() == ModItems.rod_water && this.water + 250000 <= waterMax) + { + this.slots[30].stackSize--; + this.water += 250000; + if(this.slots[30].stackSize == 0) + { + this.slots[30] = this.slots[30].getItem().getContainerItem(this.slots[30]); + } + } + if(slots[30] != null && slots[30].getItem() == ModItems.rod_dual_water && this.water + 500000 <= waterMax) + { + this.slots[30].stackSize--; + this.water += 500000; + if(this.slots[30].stackSize == 0) + { + this.slots[30] = this.slots[30].getItem().getContainerItem(this.slots[30]); + } + } + if(slots[30] != null && slots[30].getItem() == ModItems.rod_quad_water && this.water + 1000000 <= waterMax) + { + this.slots[30].stackSize--; + this.water += 1000000; + if(this.slots[30].stackSize == 0) + { + this.slots[30] = this.slots[30].getItem().getContainerItem(this.slots[30]); + } + } + if(slots[30] != null && slots[30].getItem() == ModItems.inf_water) + { + this.water = waterMax; + } + + if(slots[31] != null && slots[31].getItem() == ModItems.rod_coolant && this.cool + 250000 <= coolMax) + { + this.slots[31].stackSize--; + this.cool += 250000; + if(this.slots[31].stackSize == 0) + { + this.slots[31] = this.slots[31].getItem().getContainerItem(this.slots[31]); + } + } + + if(slots[31] != null && slots[31].getItem() == ModItems.rod_dual_coolant && this.cool + 500000 <= coolMax) + { + this.slots[31].stackSize--; + this.cool += 500000; + if(this.slots[31].stackSize == 0) + { + this.slots[31] = this.slots[31].getItem().getContainerItem(this.slots[31]); + } + } + + if(slots[31] != null && slots[31].getItem() == ModItems.rod_quad_coolant && this.cool + 1000000 <= coolMax) + { + this.slots[31].stackSize--; + this.cool += 1000000; + if(this.slots[31].stackSize == 0) + { + this.slots[31] = this.slots[31].getItem().getContainerItem(this.slots[31]); + } + } + + if(slots[31] != null && slots[31].getItem() == ModItems.inf_coolant) + { + this.cool = coolMax; + } + + + if(hasFuse()) + { + for(int i = 0; i < 30; i++) + { + if(slots[i] != null && slots[i].getItem() == ModItems.rod_uranium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(10); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_uranium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_uranium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(10); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_dual_uranium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_uranium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(10); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_quad_uranium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_plutonium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(2); + attemptPower(15); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_plutonium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_plutonium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(2); + attemptPower(15); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_dual_plutonium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_plutonium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(2); + attemptPower(15); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_quad_plutonium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_mox_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(5); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_mox_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_mox_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(5); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_dual_mox_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_mox_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(1); + attemptPower(5); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_quad_mox_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_schrabidium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(10); + attemptPower(25); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_schrabidium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_dual_schrabidium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(10); + attemptPower(25); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_dual_schrabidium_fuel_depleted); + } + } + if(slots[i] != null && slots[i].getItem() == ModItems.rod_quad_schrabidium_fuel) + { + int j = slots[i].getItemDamage(); + this.slots[i].setItemDamage(j += 1); + attemptHeat(10); + attemptPower(25); + + if(this.slots[i].getItemDamage() == this.slots[i].getMaxDamage()) + { + this.slots[i] = new ItemStack(ModItems.rod_quad_schrabidium_fuel_depleted); + } + } + } + } + + if(this.power > maxPower) + { + this.power = maxPower; + } + + if(this.heat > heatMax) + { + this.explode(); + } + + if(((slots[0] != null && slots[0].getItem() instanceof ItemFuelRod) || slots[0] == null) && + ((slots[1] != null && !(slots[1].getItem() instanceof ItemFuelRod)) || slots[1] == null) && + ((slots[2] != null && !(slots[2].getItem() instanceof ItemFuelRod)) || slots[2] == null) && + ((slots[3] != null && !(slots[3].getItem() instanceof ItemFuelRod)) || slots[3] == null) && + ((slots[4] != null && !(slots[4].getItem() instanceof ItemFuelRod)) || slots[4] == null) && + ((slots[5] != null && !(slots[5].getItem() instanceof ItemFuelRod)) || slots[5] == null) && + ((slots[6] != null && !(slots[6].getItem() instanceof ItemFuelRod)) || slots[6] == null) && + ((slots[7] != null && !(slots[7].getItem() instanceof ItemFuelRod)) || slots[7] == null) && + ((slots[8] != null && !(slots[8].getItem() instanceof ItemFuelRod)) || slots[8] == null) && + ((slots[9] != null && !(slots[9].getItem() instanceof ItemFuelRod)) || slots[9] == null) && + ((slots[10] != null && !(slots[10].getItem() instanceof ItemFuelRod)) || slots[10] == null) && + ((slots[11] != null && !(slots[11].getItem() instanceof ItemFuelRod)) || slots[11] == null) && + ((slots[12] != null && !(slots[12].getItem() instanceof ItemFuelRod)) || slots[12] == null) && + ((slots[13] != null && !(slots[13].getItem() instanceof ItemFuelRod)) || slots[13] == null) && + ((slots[14] != null && !(slots[14].getItem() instanceof ItemFuelRod)) || slots[14] == null) && + ((slots[15] != null && !(slots[15].getItem() instanceof ItemFuelRod)) || slots[15] == null) && + ((slots[16] != null && !(slots[16].getItem() instanceof ItemFuelRod)) || slots[16] == null) && + ((slots[17] != null && !(slots[17].getItem() instanceof ItemFuelRod)) || slots[17] == null) && + ((slots[18] != null && !(slots[18].getItem() instanceof ItemFuelRod)) || slots[18] == null) && + ((slots[19] != null && !(slots[19].getItem() instanceof ItemFuelRod)) || slots[19] == null) && + ((slots[20] != null && !(slots[20].getItem() instanceof ItemFuelRod)) || slots[20] == null) && + ((slots[21] != null && !(slots[21].getItem() instanceof ItemFuelRod)) || slots[21] == null) && + ((slots[22] != null && !(slots[22].getItem() instanceof ItemFuelRod)) || slots[22] == null) && + ((slots[23] != null && !(slots[23].getItem() instanceof ItemFuelRod)) || slots[23] == null) && + ((slots[24] != null && !(slots[24].getItem() instanceof ItemFuelRod)) || slots[24] == null) && + ((slots[25] != null && !(slots[25].getItem() instanceof ItemFuelRod)) || slots[25] == null) && + ((slots[26] != null && !(slots[26].getItem() instanceof ItemFuelRod)) || slots[26] == null) && + ((slots[27] != null && !(slots[27].getItem() instanceof ItemFuelRod)) || slots[27] == null) && + ((slots[28] != null && !(slots[28].getItem() instanceof ItemFuelRod)) || slots[28] == null) && + ((slots[29] != null && !(slots[29].getItem() instanceof ItemFuelRod)) || slots[29] == null)) + { + if(this.heat - 10 >= 0 && this.cool - 10 >= 0) + { + this.heat -= 10; + this.cool -= 10; + } + + if(this.heat < 10 && this.cool != 0) + { + this.heat--; + this.cool--; + } + + if(this.heat != 0 && this.cool == 0) + { + this.heat--; + } + + if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof MachineGenerator) + isLoaded = false; + + } else { + + if(this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord) instanceof MachineGenerator) + isLoaded = true; + + if(!this.isCoatingValid(worldObj)) + { + int strength = 20; + float f = strength; + HashSet hashset = new HashSet(); + int i; + int j; + int k; + double d5; + double d6; + double d7; + double wat = 20; + boolean isOccupied = false; + + i = MathHelper.floor_double(this.xCoord - wat - 1.0D); + j = MathHelper.floor_double(this.xCoord + wat + 1.0D); + k = MathHelper.floor_double(this.yCoord - wat - 1.0D); + int i2 = MathHelper.floor_double(this.yCoord + wat + 1.0D); + int l = MathHelper.floor_double(this.zCoord - wat - 1.0D); + int j2 = MathHelper.floor_double(this.zCoord + wat + 1.0D); + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); + Vec3 vec3 = Vec3.createVectorHelper(this.xCoord, this.yCoord, this.zCoord); + + for (int i1 = 0; i1 < list.size(); ++i1) + { + Entity entity = (Entity)list.get(i1); + double d4 = entity.getDistance(this.xCoord, this.yCoord, this.zCoord) / 4; + + if (d4 <= 20) + { + d5 = entity.posX - this.xCoord; + d6 = entity.posY + entity.getEyeHeight() - this.yCoord; + d7 = entity.posZ - this.zCoord; + double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); + if (d9 < wat) + { + if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) + { + /*Library.damageSuit(((EntityPlayer)entity), 0); + Library.damageSuit(((EntityPlayer)entity), 1); + Library.damageSuit(((EntityPlayer)entity), 2); + Library.damageSuit(((EntityPlayer)entity), 3);*/ + + } else if(entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(this.worldObj); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); + if(!entity.isDead) + if(!worldObj.isRemote) + worldObj.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom)) + { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.getId(), 2 * 60 * 20, 2)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.getId(), 20, 4)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 1 * 60 * 20, 1)); + } + } + } + } + } + } + + //Batteries + if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.battery_generic && slots[32].getItemDamage() > 0) + { + power -= 100; + slots[32].setItemDamage(slots[32].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.battery_advanced && slots[32].getItemDamage() > 0) + { + power -= 100; + slots[32].setItemDamage(slots[32].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.battery_schrabidium && slots[32].getItemDamage() > 0) + { + power -= 100; + slots[32].setItemDamage(slots[32].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.factory_core_titanium && slots[32].getItemDamage() > 0) + { + power -= 100; + slots[32].setItemDamage(slots[32].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[32] != null && slots[32].getItem() == ModItems.factory_core_advanced && slots[32].getItemDamage() > 0) + { + power -= 100; + slots[32].setItemDamage(slots[32].getItemDamage() - 1); + } + } + } + + } + + @Override + public boolean isStructureValid(World world) { + if(world.getBlock(this.xCoord, this.yCoord, this.zCoord) == ModBlocks.reactor_computer && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord) == ModBlocks.reactor_conductor && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord) == ModBlocks.reactor_conductor && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord) == ModBlocks.reactor_control && + world.getBlock(this.xCoord + 1, this.yCoord + 0, this.zCoord) == ModBlocks.reactor_control && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord) == ModBlocks.reactor_control && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord) == ModBlocks.reactor_control && + world.getBlock(this.xCoord - 1, this.yCoord + 0, this.zCoord) == ModBlocks.reactor_control && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord) == ModBlocks.reactor_control && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 1) == ModBlocks.reactor_control && + world.getBlock(this.xCoord, this.yCoord + 0, this.zCoord + 1) == ModBlocks.reactor_control && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 1) == ModBlocks.reactor_control && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 1) == ModBlocks.reactor_control && + world.getBlock(this.xCoord, this.yCoord + 0, this.zCoord - 1) == ModBlocks.reactor_control && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 1) == ModBlocks.reactor_control && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord + 1, this.yCoord + 0, this.zCoord + 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord + 1, this.yCoord + 0, this.zCoord - 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord - 1, this.yCoord + 0, this.zCoord - 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord - 1, this.yCoord + 0, this.zCoord + 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 1) == ModBlocks.reactor_element && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord) == ModBlocks.reactor_hatch && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord) == ModBlocks.reactor_hatch && + world.getBlock(this.xCoord, this.yCoord, this.zCoord + 2) == ModBlocks.reactor_hatch && + world.getBlock(this.xCoord, this.yCoord, this.zCoord - 2) == ModBlocks.reactor_hatch) + { + return true; + } + return false; + } + + @Override + public boolean isCoatingValid(World world) { + if(world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord + 2, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord + 2, this.zCoord)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord, this.yCoord + 2, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord, this.yCoord + 2, this.zCoord + 1)== ModBlocks.brick_concrete && + + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord - 2, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord - 2, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord, this.yCoord - 2, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord, this.yCoord - 2, this.zCoord - 1)== ModBlocks.brick_concrete && + + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 2, this.yCoord - 1, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 2, this.yCoord, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 2, this.yCoord + 1, this.zCoord - 1)== ModBlocks.brick_concrete && + + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 2, this.yCoord - 1, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 2, this.yCoord, this.zCoord - 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord + 1)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 2, this.yCoord + 1, this.zCoord - 1)== ModBlocks.brick_concrete && + + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord + 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord + 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord + 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord + 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord + 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord + 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord + 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord + 2)== ModBlocks.brick_concrete && + + world.getBlock(this.xCoord + 1, this.yCoord - 1, this.zCoord - 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord, this.yCoord - 1, this.zCoord - 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord - 1, this.zCoord - 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord, this.zCoord - 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord, this.zCoord - 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord + 1, this.yCoord + 1, this.zCoord - 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord, this.yCoord + 1, this.zCoord - 2)== ModBlocks.brick_concrete && + world.getBlock(this.xCoord - 1, this.yCoord + 1, this.zCoord - 2)== ModBlocks.brick_concrete) + { + return true; + } + return false; + } + + @Override + public int getWaterScaled(int i) { + return (water * i) / waterMax; + } + + @Override + public int getCoolantScaled(int i) { + return (cool * i) / coolMax; + } + + @Override + public int getPowerScaled(int i) { + return (power * i) / maxPower; + } + + @Override + public int getHeatScaled(int i) { + return (heat * i) / heatMax; + } + + @Override + public boolean hasFuse() { + return slots[33] != null && (slots[33].getItem() == ModItems.fuse || slots[33].getItem() == ModItems.screwdriver); + } + + public void attemptPower(int i) { + if(this.water - i >= 0) + { + this.power += i; + this.water -= i; + } + } + + public void attemptHeat(int i) { + Random rand = new Random(); + + int j = rand.nextInt(i); + + if(this.cool - j >= 0) + { + this.cool -= j; + } else { + this.heat += i; + } + } + + public void explode() { + for(int i = 0; i < slots.length; i++) + { + this.slots[i] = null; + } + + EntityNukeExplosionAdvanced explosion = new EntityNukeExplosionAdvanced(this.worldObj); + explosion.speed = 25; + explosion.coefficient = 5.0F; + explosion.destructionRange = 35; + explosion.posX = this.xCoord; + explosion.posY = this.yCoord; + explosion.posZ = this.zCoord; + this.worldObj.spawnEntityInWorld(explosion); + ExplosionParticle.spawnMush(this.worldObj, (int)this.xCoord, (int)this.yCoord - 3, (int)this.zCoord); + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if(tileentity instanceof IConductor) + { + if(tileentity instanceof TileEntityCable) + { + if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) + { + if(((TileEntityCable)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if(tileentity instanceof TileEntityWireCoated) + { + if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) + { + list.add((IConsumer)tileentity); + } + + if(!newTact) + { + int size = list.size(); + if(size > 0) + { + int part = this.power / size; + for(IConsumer consume : list) + { + if(consume.getPower() < consume.getMaxPower()) + { + if(consume.getMaxPower() - consume.getPower() >= part) + { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 2, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 2, this.zCoord, getTact()); + } + + public boolean getTact() { + if(age >= 0 && age < 10) + { + return true; + } + + return false; + } +} diff --git a/com/hbm/tileentity/TileEntityRedBarrel.java b/com/hbm/tileentity/TileEntityRedBarrel.java index 013bd4983..22d9cba8a 100644 --- a/com/hbm/tileentity/TileEntityRedBarrel.java +++ b/com/hbm/tileentity/TileEntityRedBarrel.java @@ -1,7 +1,7 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityRedBarrel extends TileEntity { - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityRedBarrel extends TileEntity { + +} diff --git a/com/hbm/tileentity/TileEntityReiXMainframe.java b/com/hbm/tileentity/TileEntityReiXMainframe.java new file mode 100644 index 000000000..d900b8138 --- /dev/null +++ b/com/hbm/tileentity/TileEntityReiXMainframe.java @@ -0,0 +1,236 @@ +package com.hbm.tileentity; + +import com.hbm.interfaces.IConsumer; +import com.hbm.items.ModItems; +import com.hbm.items.special.ItemBattery; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityReiXMainframe extends TileEntity implements ISidedInventory, IConsumer { + + private ItemStack slots[]; + + public int power = 0; + public int waste = 0; + public int process = 0; + public int soundCycle = 0; + public static final int maxFill = 1000; + public static final int maxPower = 10000; + public static final int processSpeed = 200; + + private static final int[] slots_top = new int[] { 0, 2 }; + private static final int[] slots_bottom = new int[] { 1, 3 }; + private static final int[] slots_side = new int[] { 4 }; + + private String customName; + + public TileEntityReiXMainframe() { + slots = new ItemStack[5]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.machineCMB"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack stack) { + switch(i) + { + case 0: + if(stack.getItem() instanceof ItemBattery) + return true; + break; + case 1: + if(stack.getItem() == ModItems.ingot_magnetized_tungsten || stack.getItem() == ModItems.powder_magnetized_tungsten) + return true; + break; + case 2: + if(stack.getItem() == ModItems.bucket_mud || (stack.getItem() == ModItems.tank_waste && stack.getItemDamage() > 0)) + return true; + break; + case 3: + if(stack.getItem() == ModItems.ingot_advanced_alloy || stack.getItem() == ModItems.powder_advanced_alloy) + return true; + break; + } + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + power = nbt.getShort("power"); + waste = nbt.getShort("waste"); + process = nbt.getShort("process"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("power", (short) power); + nbt.setShort("waste", (short) waste); + nbt.setShort("process", (short) process); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + if(i == 4) + return true; + if(i == 0 && itemStack.getItem() instanceof ItemBattery) + if(itemStack.getItemDamage() == itemStack.getMaxDamage()) + return true; + if(i == 2) + if(itemStack.getItem() == Items.bucket || (itemStack.getItem() == ModItems.tank_waste && itemStack.getItemDamage() <= 0)) + return true; + + return false; + } + + @Override + public void updateEntity() { + } + + @Override + public void setPower(int i) { + power = i; + + } + + @Override + public int getPower() { + return power; + + } + + @Override + public int getMaxPower() { + return maxPower; + } +} diff --git a/com/hbm/tileentity/TileEntityRotationTester.java b/com/hbm/tileentity/TileEntityRotationTester.java index a5a84b4f2..f88e25cf1 100644 --- a/com/hbm/tileentity/TileEntityRotationTester.java +++ b/com/hbm/tileentity/TileEntityRotationTester.java @@ -1,18 +1,18 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityRotationTester extends TileEntity { - - @Override - public int getBlockMetadata() - { - if (this.blockMetadata == -1) - { - this.blockMetadata = this.worldObj.getBlockMetadata(this.xCoord, this.yCoord, this.zCoord); - } - - return this.blockMetadata; - } - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityRotationTester extends TileEntity { + + @Override + public int getBlockMetadata() + { + if (this.blockMetadata == -1) + { + this.blockMetadata = this.worldObj.getBlockMetadata(this.xCoord, this.yCoord, this.zCoord); + } + + return this.blockMetadata; + } + +} diff --git a/com/hbm/tileentity/TileEntityRtgFurnace.java b/com/hbm/tileentity/TileEntityRtgFurnace.java index b3ab13bc5..0281339ea 100644 --- a/com/hbm/tileentity/TileEntityRtgFurnace.java +++ b/com/hbm/tileentity/TileEntityRtgFurnace.java @@ -1,297 +1,297 @@ -package com.hbm.tileentity; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.item.crafting.FurnaceRecipes; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -import com.hbm.blocks.MachineRtgFurnace; -import com.hbm.items.ModItems; - -public class TileEntityRtgFurnace extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - - public int dualCookTime; - public static final int processingSpeed = 100; - - private static final int[] slots_top = new int[] {0}; - private static final int[] slots_bottom = new int[] {4}; - private static final int[] slots_side = new int[] {1, 2, 3}; - - private String customName; - - public TileEntityRtgFurnace() { - slots = new ItemStack[5]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.rtgFurnace"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - //You scrubs aren't needed for anything (right now) - @Override - public void openInventory() {} - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - public boolean isLoaded() { - if(slots[1] != null && slots[2] != null && slots[3] != null) - { - if(slots[1].getItem() == ModItems.pellet_rtg && slots[2].getItem() == ModItems.pellet_rtg && slots[3].getItem() == ModItems.pellet_rtg) - { - return true; - } - } - - return false; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - dualCookTime = nbt.getShort("CookTime"); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("cookTime", (short) dualCookTime); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) - { - return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - public int getDiFurnaceProgressScaled(int i) { - return (dualCookTime * i) / processingSpeed; - } - - public boolean canProcess() { - if(slots[0] == null) - { - return false; - } - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[0]); - if(itemStack == null) - { - return false; - } - - if(slots[4] == null) - { - return true; - } - - if(!slots[4].isItemEqual(itemStack)) { - return false; - } - - if(slots[4].stackSize < getInventoryStackLimit() && slots[4].stackSize < slots[4].getMaxStackSize()) { - return true; - }else{ - return slots[4].stackSize < itemStack.getMaxStackSize(); - } - } - - private void processItem() { - if(canProcess()) { - ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[0]); - - if(slots[4] == null) - { - slots[4] = itemStack.copy(); - }else if(slots[4].isItemEqual(itemStack)) { - slots[4].stackSize += itemStack.stackSize; - } - - for(int i = 0; i < 1; i++) - { - if(slots[i].stackSize <= 0) - { - slots[i] = new ItemStack(slots[i].getItem().setFull3D()); - }else{ - slots[i].stackSize--; - } - if(slots[i].stackSize <= 0) - { - slots[i] = null; - } - } - } - } - - public boolean hasPower() { - return isLoaded(); - } - - public boolean isProcessing() { - return this.dualCookTime > 0; - } - - @Override - public void updateEntity() { - boolean flag = this.hasPower(); - boolean flag1 = false; - - if(!worldObj.isRemote) - { - if(hasPower() && canProcess()) - { - dualCookTime++; - - if(this.dualCookTime == TileEntityRtgFurnace.processingSpeed) - { - this.dualCookTime = 0; - this.processItem(); - flag1 = true; - } - }else{ - dualCookTime = 0; - } - - boolean trigger = true; - - if(hasPower() && canProcess() && this.dualCookTime == 0) - { - trigger = false; - } - - if(trigger) - { - flag1 = true; - MachineRtgFurnace.updateBlockState(this.dualCookTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); - } - } - - if(flag1) - { - this.markDirty(); - } - } -} +package com.hbm.tileentity; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +import com.hbm.blocks.machine.MachineRtgFurnace; +import com.hbm.items.ModItems; + +public class TileEntityRtgFurnace extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + + public int dualCookTime; + public static final int processingSpeed = 100; + + private static final int[] slots_top = new int[] {0}; + private static final int[] slots_bottom = new int[] {4}; + private static final int[] slots_side = new int[] {1, 2, 3}; + + private String customName; + + public TileEntityRtgFurnace() { + slots = new ItemStack[5]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.rtgFurnace"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + //You scrubs aren't needed for anything (right now) + @Override + public void openInventory() {} + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + public boolean isLoaded() { + if(slots[1] != null && slots[2] != null && slots[3] != null) + { + if(slots[1].getItem() == ModItems.pellet_rtg && slots[2].getItem() == ModItems.pellet_rtg && slots[3].getItem() == ModItems.pellet_rtg) + { + return true; + } + } + + return false; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + dualCookTime = nbt.getShort("CookTime"); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("cookTime", (short) dualCookTime); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) + { + return p_94128_1_ == 0 ? slots_bottom : (p_94128_1_ == 1 ? slots_top : slots_side); + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + public int getDiFurnaceProgressScaled(int i) { + return (dualCookTime * i) / processingSpeed; + } + + public boolean canProcess() { + if(slots[0] == null) + { + return false; + } + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[0]); + if(itemStack == null) + { + return false; + } + + if(slots[4] == null) + { + return true; + } + + if(!slots[4].isItemEqual(itemStack)) { + return false; + } + + if(slots[4].stackSize < getInventoryStackLimit() && slots[4].stackSize < slots[4].getMaxStackSize()) { + return true; + }else{ + return slots[4].stackSize < itemStack.getMaxStackSize(); + } + } + + private void processItem() { + if(canProcess()) { + ItemStack itemStack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[0]); + + if(slots[4] == null) + { + slots[4] = itemStack.copy(); + }else if(slots[4].isItemEqual(itemStack)) { + slots[4].stackSize += itemStack.stackSize; + } + + for(int i = 0; i < 1; i++) + { + if(slots[i].stackSize <= 0) + { + slots[i] = new ItemStack(slots[i].getItem().setFull3D()); + }else{ + slots[i].stackSize--; + } + if(slots[i].stackSize <= 0) + { + slots[i] = null; + } + } + } + } + + public boolean hasPower() { + return isLoaded(); + } + + public boolean isProcessing() { + return this.dualCookTime > 0; + } + + @Override + public void updateEntity() { + boolean flag = this.hasPower(); + boolean flag1 = false; + + if(!worldObj.isRemote) + { + if(hasPower() && canProcess()) + { + dualCookTime++; + + if(this.dualCookTime == TileEntityRtgFurnace.processingSpeed) + { + this.dualCookTime = 0; + this.processItem(); + flag1 = true; + } + }else{ + dualCookTime = 0; + } + + boolean trigger = true; + + if(hasPower() && canProcess() && this.dualCookTime == 0) + { + trigger = false; + } + + if(trigger) + { + flag1 = true; + MachineRtgFurnace.updateBlockState(this.dualCookTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); + } + } + + if(flag1) + { + this.markDirty(); + } + } +} diff --git a/com/hbm/tileentity/TileEntityTestBombAdvanced.java b/com/hbm/tileentity/TileEntityTestBombAdvanced.java index 56a6fb380..64975aacc 100644 --- a/com/hbm/tileentity/TileEntityTestBombAdvanced.java +++ b/com/hbm/tileentity/TileEntityTestBombAdvanced.java @@ -1,7 +1,7 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityTestBombAdvanced extends TileEntity { - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityTestBombAdvanced extends TileEntity { + +} diff --git a/com/hbm/tileentity/TileEntityTestContainer.java b/com/hbm/tileentity/TileEntityTestContainer.java index 25c42aaf2..b8362fd38 100644 --- a/com/hbm/tileentity/TileEntityTestContainer.java +++ b/com/hbm/tileentity/TileEntityTestContainer.java @@ -1,213 +1,213 @@ -package com.hbm.tileentity; - -import com.hbm.blocks.TestContainer; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockChest; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntityChest; - -public class TileEntityTestContainer extends TileEntityChest { - - private String customName; - - private ItemStack[] chestContents = new ItemStack[9]; - - private int cachedChestType; - - public TileEntityTestContainer adjacentChestZNeg; - public TileEntityTestContainer adjacentChestXPos; - public TileEntityTestContainer adjacentChestXNeg; - public TileEntityTestContainer adjacentChestZPos; - - @Override - public String getInventoryName() - { - return this.hasCustomInventoryName() ? this.customName : "container.testContainer"; - } - - @Override - public boolean hasCustomInventoryName() - { - return this.customName != null && this.customName.length() > 0; - } - - @Override - public void func_145976_a(String p_145976_1_) - { - this.customName = p_145976_1_; - } - - @Override - public void readFromNBT(NBTTagCompound p_145839_1_) - { - super.readFromNBT(p_145839_1_); - NBTTagList nbttaglist = p_145839_1_.getTagList("Items", 10); - this.chestContents = new ItemStack[this.getSizeInventory()]; - - if (p_145839_1_.hasKey("TestContainer", 8)) - { - this.customName = p_145839_1_.getString("TestContainer"); - } - - for (int i = 0; i < nbttaglist.tagCount(); ++i) - { - NBTTagCompound nbttagcompound1 = nbttaglist.getCompoundTagAt(i); - int j = nbttagcompound1.getByte("Slot") & 255; - - if (j >= 0 && j < this.chestContents.length) - { - this.chestContents[j] = ItemStack.loadItemStackFromNBT(nbttagcompound1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound p_145841_1_) - { - super.writeToNBT(p_145841_1_); - NBTTagList nbttaglist = new NBTTagList(); - - for (int i = 0; i < this.chestContents.length; ++i) - { - if (this.chestContents[i] != null) - { - NBTTagCompound nbttagcompound1 = new NBTTagCompound(); - nbttagcompound1.setByte("Slot", (byte)i); - this.chestContents[i].writeToNBT(nbttagcompound1); - nbttaglist.appendTag(nbttagcompound1); - } - } - - p_145841_1_.setTag("Items", nbttaglist); - - if (this.hasCustomInventoryName()) - { - p_145841_1_.setString("TestContainer", this.customName); - } - } - - private void func_145978_a(TileEntityTestContainer p_145978_1_, int p_145978_2_) - { - if (p_145978_1_.isInvalid()) - { - this.adjacentChestChecked = false; - } - else if (this.adjacentChestChecked) - { - switch (p_145978_2_) - { - case 0: - if (this.adjacentChestZPos != p_145978_1_) - { - this.adjacentChestChecked = false; - } - - break; - case 1: - if (this.adjacentChestXNeg != p_145978_1_) - { - this.adjacentChestChecked = false; - } - - break; - case 2: - if (this.adjacentChestZNeg != p_145978_1_) - { - this.adjacentChestChecked = false; - } - - break; - case 3: - if (this.adjacentChestXPos != p_145978_1_) - { - this.adjacentChestChecked = false; - } - } - } - } - - @Override - public void checkForAdjacentChests() - { - if (!this.adjacentChestChecked) - { - this.adjacentChestChecked = true; - this.adjacentChestZNeg = null; - this.adjacentChestXPos = null; - this.adjacentChestXNeg = null; - this.adjacentChestZPos = null; - - if (this.func_145977_a(this.xCoord - 1, this.yCoord, this.zCoord)) - { - this.adjacentChestXNeg = (TileEntityTestContainer)this.worldObj.getTileEntity(this.xCoord - 1, this.yCoord, this.zCoord); - } - - if (this.func_145977_a(this.xCoord + 1, this.yCoord, this.zCoord)) - { - this.adjacentChestXPos = (TileEntityTestContainer)this.worldObj.getTileEntity(this.xCoord + 1, this.yCoord, this.zCoord); - } - - if (this.func_145977_a(this.xCoord, this.yCoord, this.zCoord - 1)) - { - this.adjacentChestZNeg = (TileEntityTestContainer)this.worldObj.getTileEntity(this.xCoord, this.yCoord, this.zCoord - 1); - } - - if (this.func_145977_a(this.xCoord, this.yCoord, this.zCoord + 1)) - { - this.adjacentChestZPos = (TileEntityTestContainer)this.worldObj.getTileEntity(this.xCoord, this.yCoord, this.zCoord + 1); - } - - if (this.adjacentChestZNeg != null) - { - this.adjacentChestZNeg.func_145978_a(this, 0); - } - - if (this.adjacentChestZPos != null) - { - this.adjacentChestZPos.func_145978_a(this, 2); - } - - if (this.adjacentChestXPos != null) - { - this.adjacentChestXPos.func_145978_a(this, 1); - } - - if (this.adjacentChestXNeg != null) - { - this.adjacentChestXNeg.func_145978_a(this, 3); - } - } - } - - private boolean func_145977_a(int p_145977_1_, int p_145977_2_, int p_145977_3_) - { - if (this.worldObj == null) - { - return false; - } - else - { - Block block = this.worldObj.getBlock(p_145977_1_, p_145977_2_, p_145977_3_); - return block instanceof TestContainer && ((TestContainer)block).field_149956_a == this.func_145980_j(); - } - } - - @Override - public int func_145980_j() - { - if (this.cachedChestType == -1) - { - if (this.worldObj == null || !(this.getBlockType() instanceof TestContainer)) - { - return 0; - } - - this.cachedChestType = ((BlockChest)this.getBlockType()).field_149956_a; - } - - return this.cachedChestType; - } -} +package com.hbm.tileentity; + +import com.hbm.blocks.test.TestContainer; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockChest; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntityChest; + +public class TileEntityTestContainer extends TileEntityChest { + + private String customName; + + private ItemStack[] chestContents = new ItemStack[9]; + + private int cachedChestType; + + public TileEntityTestContainer adjacentChestZNeg; + public TileEntityTestContainer adjacentChestXPos; + public TileEntityTestContainer adjacentChestXNeg; + public TileEntityTestContainer adjacentChestZPos; + + @Override + public String getInventoryName() + { + return this.hasCustomInventoryName() ? this.customName : "container.testContainer"; + } + + @Override + public boolean hasCustomInventoryName() + { + return this.customName != null && this.customName.length() > 0; + } + + @Override + public void func_145976_a(String p_145976_1_) + { + this.customName = p_145976_1_; + } + + @Override + public void readFromNBT(NBTTagCompound p_145839_1_) + { + super.readFromNBT(p_145839_1_); + NBTTagList nbttaglist = p_145839_1_.getTagList("Items", 10); + this.chestContents = new ItemStack[this.getSizeInventory()]; + + if (p_145839_1_.hasKey("TestContainer", 8)) + { + this.customName = p_145839_1_.getString("TestContainer"); + } + + for (int i = 0; i < nbttaglist.tagCount(); ++i) + { + NBTTagCompound nbttagcompound1 = nbttaglist.getCompoundTagAt(i); + int j = nbttagcompound1.getByte("Slot") & 255; + + if (j >= 0 && j < this.chestContents.length) + { + this.chestContents[j] = ItemStack.loadItemStackFromNBT(nbttagcompound1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound p_145841_1_) + { + super.writeToNBT(p_145841_1_); + NBTTagList nbttaglist = new NBTTagList(); + + for (int i = 0; i < this.chestContents.length; ++i) + { + if (this.chestContents[i] != null) + { + NBTTagCompound nbttagcompound1 = new NBTTagCompound(); + nbttagcompound1.setByte("Slot", (byte)i); + this.chestContents[i].writeToNBT(nbttagcompound1); + nbttaglist.appendTag(nbttagcompound1); + } + } + + p_145841_1_.setTag("Items", nbttaglist); + + if (this.hasCustomInventoryName()) + { + p_145841_1_.setString("TestContainer", this.customName); + } + } + + private void func_145978_a(TileEntityTestContainer p_145978_1_, int p_145978_2_) + { + if (p_145978_1_.isInvalid()) + { + this.adjacentChestChecked = false; + } + else if (this.adjacentChestChecked) + { + switch (p_145978_2_) + { + case 0: + if (this.adjacentChestZPos != p_145978_1_) + { + this.adjacentChestChecked = false; + } + + break; + case 1: + if (this.adjacentChestXNeg != p_145978_1_) + { + this.adjacentChestChecked = false; + } + + break; + case 2: + if (this.adjacentChestZNeg != p_145978_1_) + { + this.adjacentChestChecked = false; + } + + break; + case 3: + if (this.adjacentChestXPos != p_145978_1_) + { + this.adjacentChestChecked = false; + } + } + } + } + + @Override + public void checkForAdjacentChests() + { + if (!this.adjacentChestChecked) + { + this.adjacentChestChecked = true; + this.adjacentChestZNeg = null; + this.adjacentChestXPos = null; + this.adjacentChestXNeg = null; + this.adjacentChestZPos = null; + + if (this.func_145977_a(this.xCoord - 1, this.yCoord, this.zCoord)) + { + this.adjacentChestXNeg = (TileEntityTestContainer)this.worldObj.getTileEntity(this.xCoord - 1, this.yCoord, this.zCoord); + } + + if (this.func_145977_a(this.xCoord + 1, this.yCoord, this.zCoord)) + { + this.adjacentChestXPos = (TileEntityTestContainer)this.worldObj.getTileEntity(this.xCoord + 1, this.yCoord, this.zCoord); + } + + if (this.func_145977_a(this.xCoord, this.yCoord, this.zCoord - 1)) + { + this.adjacentChestZNeg = (TileEntityTestContainer)this.worldObj.getTileEntity(this.xCoord, this.yCoord, this.zCoord - 1); + } + + if (this.func_145977_a(this.xCoord, this.yCoord, this.zCoord + 1)) + { + this.adjacentChestZPos = (TileEntityTestContainer)this.worldObj.getTileEntity(this.xCoord, this.yCoord, this.zCoord + 1); + } + + if (this.adjacentChestZNeg != null) + { + this.adjacentChestZNeg.func_145978_a(this, 0); + } + + if (this.adjacentChestZPos != null) + { + this.adjacentChestZPos.func_145978_a(this, 2); + } + + if (this.adjacentChestXPos != null) + { + this.adjacentChestXPos.func_145978_a(this, 1); + } + + if (this.adjacentChestXNeg != null) + { + this.adjacentChestXNeg.func_145978_a(this, 3); + } + } + } + + private boolean func_145977_a(int p_145977_1_, int p_145977_2_, int p_145977_3_) + { + if (this.worldObj == null) + { + return false; + } + else + { + Block block = this.worldObj.getBlock(p_145977_1_, p_145977_2_, p_145977_3_); + return block instanceof TestContainer && ((TestContainer)block).field_149956_a == this.func_145980_j(); + } + } + + @Override + public int func_145980_j() + { + if (this.cachedChestType == -1) + { + if (this.worldObj == null || !(this.getBlockType() instanceof TestContainer)) + { + return 0; + } + + this.cachedChestType = ((BlockChest)this.getBlockType()).field_149956_a; + } + + return this.cachedChestType; + } +} diff --git a/com/hbm/tileentity/TileEntityTestNuke.java b/com/hbm/tileentity/TileEntityTestNuke.java index e93acb914..1565822fc 100644 --- a/com/hbm/tileentity/TileEntityTestNuke.java +++ b/com/hbm/tileentity/TileEntityTestNuke.java @@ -1,203 +1,203 @@ -package com.hbm.tileentity; - -import com.hbm.items.ModItems; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; - -public class TileEntityTestNuke extends TileEntity implements ISidedInventory { - - private ItemStack slots[]; - private String customName; - - public TileEntityTestNuke() { - slots = new ItemStack[5]; - } - - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.testNuke"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; - } - } - - @Override - public void openInventory() { - - } - - @Override - public void closeInventory() { - - } - - @Override - public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { - return false; - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int i, ItemStack itemStack, int j) { - return this.isItemValidForSlot(i, itemStack); - } - - @Override - public boolean canExtractItem(int i, ItemStack itemStack, int j) { - return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - public int getNukeTier() { - if(this.slots[0] != null && this.slots[1] != null && this.slots[2] != null && this.slots[3] != null && this.slots[4] != null) - { - if(this.slots[0].getItem() == ModItems.test_nuke_tier1_shielding && this.slots[1].getItem() == ModItems.test_nuke_tier1_target && this.slots[2].getItem() == ModItems.test_nuke_tier1_bullet && this.slots[3].getItem() == ModItems.test_nuke_propellant && this.slots[4].getItem() == ModItems.test_nuke_igniter) - { - return 1; - } - if(this.slots[0].getItem() == ModItems.test_nuke_tier2_shielding && this.slots[1].getItem() == ModItems.test_nuke_tier2_target && this.slots[2].getItem() == ModItems.test_nuke_tier2_bullet && this.slots[3].getItem() == ModItems.test_nuke_propellant && this.slots[4].getItem() == ModItems.test_nuke_igniter) - { - return 2; - } - if(this.slots[0].getItem() == Item.getItemFromBlock(Blocks.obsidian) && this.slots[1].getItem() == Items.nether_star && this.slots[2].getItem() == Items.diamond && this.slots[3].getItem() == Item.getItemFromBlock(Blocks.tnt) && this.slots[4].getItem() == Items.repeater) - { - return 999; - } - else - { - return 0; - } - } - else - { - return 0; - } - } - - public void clearSlots() { - for(int i = 0; i < slots.length; i++) - { - slots[i] = null; - } - } -} +package com.hbm.tileentity; + +import com.hbm.items.ModItems; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; + +public class TileEntityTestNuke extends TileEntity implements ISidedInventory { + + private ItemStack slots[]; + private String customName; + + public TileEntityTestNuke() { + slots = new ItemStack[5]; + } + + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.testNuke"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return player.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <=64; + } + } + + @Override + public void openInventory() { + + } + + @Override + public void closeInventory() { + + } + + @Override + public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_) { + return false; + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int i, ItemStack itemStack, int j) { + return this.isItemValidForSlot(i, itemStack); + } + + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return j != 0 || i != 1 || itemStack.getItem() == Items.bucket; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + public int getNukeTier() { + if(this.slots[0] != null && this.slots[1] != null && this.slots[2] != null && this.slots[3] != null && this.slots[4] != null) + { + if(this.slots[0].getItem() == ModItems.test_nuke_tier1_shielding && this.slots[1].getItem() == ModItems.test_nuke_tier1_target && this.slots[2].getItem() == ModItems.test_nuke_tier1_bullet && this.slots[3].getItem() == ModItems.test_nuke_propellant && this.slots[4].getItem() == ModItems.test_nuke_igniter) + { + return 1; + } + if(this.slots[0].getItem() == ModItems.test_nuke_tier2_shielding && this.slots[1].getItem() == ModItems.test_nuke_tier2_target && this.slots[2].getItem() == ModItems.test_nuke_tier2_bullet && this.slots[3].getItem() == ModItems.test_nuke_propellant && this.slots[4].getItem() == ModItems.test_nuke_igniter) + { + return 2; + } + if(this.slots[0].getItem() == Item.getItemFromBlock(Blocks.obsidian) && this.slots[1].getItem() == Items.nether_star && this.slots[2].getItem() == Items.diamond && this.slots[3].getItem() == Item.getItemFromBlock(Blocks.tnt) && this.slots[4].getItem() == Items.repeater) + { + return 999; + } + else + { + return 0; + } + } + else + { + return 0; + } + } + + public void clearSlots() { + for(int i = 0; i < slots.length; i++) + { + slots[i] = null; + } + } +} diff --git a/com/hbm/tileentity/TileEntityTestRender.java b/com/hbm/tileentity/TileEntityTestRender.java index 7abd81970..2aadfee6c 100644 --- a/com/hbm/tileentity/TileEntityTestRender.java +++ b/com/hbm/tileentity/TileEntityTestRender.java @@ -1,7 +1,7 @@ -package com.hbm.tileentity; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityTestRender extends TileEntity { - -} +package com.hbm.tileentity; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityTestRender extends TileEntity { + +} diff --git a/com/hbm/tileentity/TileEntityWatzCore.java b/com/hbm/tileentity/TileEntityWatzCore.java index 41be04851..4a57d2d60 100644 --- a/com/hbm/tileentity/TileEntityWatzCore.java +++ b/com/hbm/tileentity/TileEntityWatzCore.java @@ -1,825 +1,825 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.entity.logic.EntityNukeExplosionAdvanced; -import com.hbm.interfaces.IConductor; -import com.hbm.interfaces.IConsumer; -import com.hbm.interfaces.IReactor; -import com.hbm.interfaces.ISource; -import com.hbm.items.ModItems; -import com.hbm.items.special.WatzFuel; -import com.hbm.lib.Library; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.init.Blocks; -import net.minecraft.init.Items; -import net.minecraft.inventory.ISidedInventory; -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; -import net.minecraft.nbt.NBTTagList; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.World; - -public class TileEntityWatzCore extends TileEntity implements ISidedInventory, IReactor, ISource { - - public int waste; - public final static int wasteMax = 10000000; - public int power; - public final static int maxPower = 100000000; - public int heat; - - public int heatMultiplier; - public int powerMultiplier; - public int decayMultiplier; - - public int heatList; - public int wasteList; - public int powerList; - - Random rand = new Random(); - - private ItemStack slots[]; - public int age = 0; - public List list = new ArrayList(); - - private String customName; - - public TileEntityWatzCore() { - slots = new ItemStack[39]; - } - @Override - public int getSizeInventory() { - return slots.length; - } - - @Override - public ItemStack getStackInSlot(int i) { - return slots[i]; - } - - @Override - public ItemStack getStackInSlotOnClosing(int i) { - if(slots[i] != null) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } else { - return null; - } - } - - @Override - public void setInventorySlotContents(int i, ItemStack itemStack) { - slots[i] = itemStack; - if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) - { - itemStack.stackSize = getInventoryStackLimit(); - } - } - - @Override - public String getInventoryName() { - return this.hasCustomInventoryName() ? this.customName : "container.watzPowerplant"; - } - - @Override - public boolean hasCustomInventoryName() { - return this.customName != null && this.customName.length() > 0; - } - - public void setCustomName(String name) { - this.customName = name; - } - - @Override - public int getInventoryStackLimit() { - return 64; - } - - @Override - public boolean isUseableByPlayer(EntityPlayer player) { - if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) - { - return false; - }else{ - return true; - } - } - - @Override - public void openInventory() {} - - @Override - public void closeInventory() {} - - @Override - public boolean isItemValidForSlot(int i, ItemStack itemStack) { - return true; - } - - @Override - public ItemStack decrStackSize(int i, int j) { - if(slots[i] != null) - { - if(slots[i].stackSize <= j) - { - ItemStack itemStack = slots[i]; - slots[i] = null; - return itemStack; - } - ItemStack itemStack1 = slots[i].splitStack(j); - if (slots[i].stackSize == 0) - { - slots[i] = null; - } - - return itemStack1; - } else { - return null; - } - } - - @Override - public int[] getAccessibleSlotsFromSide(int p_94128_1_) { - return null; - } - - @Override - public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { - return false; - } - - @Override - public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { - return false; - } - - @Override - public void readFromNBT(NBTTagCompound nbt) { - super.readFromNBT(nbt); - NBTTagList list = nbt.getTagList("items", 10); - - waste = nbt.getShort("deut") * 1000; - power = nbt.getShort("power") * 10000; - - slots = new ItemStack[getSizeInventory()]; - - for(int i = 0; i < list.tagCount(); i++) - { - NBTTagCompound nbt1 = list.getCompoundTagAt(i); - byte b0 = nbt1.getByte("slot"); - if(b0 >= 0 && b0 < slots.length) - { - slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); - } - } - } - - @Override - public void writeToNBT(NBTTagCompound nbt) { - super.writeToNBT(nbt); - nbt.setShort("deut", (short) (waste/1000)); - nbt.setShort("power", (short) (power/10000)); - NBTTagList list = new NBTTagList(); - - for(int i = 0; i < slots.length; i++) - { - if(slots[i] != null) - { - NBTTagCompound nbt1 = new NBTTagCompound(); - nbt1.setByte("slot", (byte)i); - slots[i].writeToNBT(nbt1); - list.appendTag(nbt1); - } - } - nbt.setTag("items", list); - } - - @Override - public boolean isStructureValid(World world) { - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 3, this.yCoord + i, this.zCoord - 1) != ModBlocks.reinforced_brick) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 3, this.yCoord + i, this.zCoord + 1) != ModBlocks.reinforced_brick) - return false; - } - - - - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord - 2) != ModBlocks.reinforced_brick) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_element) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord) != ModBlocks.watz_control) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_element) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord + 2) != ModBlocks.reinforced_brick) - return false; - } - - - - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord - 3) != ModBlocks.reinforced_brick) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord - 2) != ModBlocks.watz_element) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_control) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord) != ModBlocks.watz_cooler) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_control) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord + 2) != ModBlocks.watz_element) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord + 3) != ModBlocks.reinforced_brick) - return false; - } - - - - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 0, this.yCoord + i, this.zCoord - 2) != ModBlocks.watz_control) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 0, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_cooler) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 0, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_cooler) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 0, this.yCoord + i, this.zCoord + 2) != ModBlocks.watz_control) - return false; - } - - - - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord - 3) != ModBlocks.reinforced_brick) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord - 2) != ModBlocks.watz_element) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_control) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord) != ModBlocks.watz_cooler) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_control) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord + 2) != ModBlocks.watz_element) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord + 3) != ModBlocks.reinforced_brick) - return false; - } - - - - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord - 2) != ModBlocks.reinforced_brick) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_element) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord) != ModBlocks.watz_control) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_element) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord + 2) != ModBlocks.reinforced_brick) - return false; - } - - - - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 3, this.yCoord + i, this.zCoord - 1) != ModBlocks.reinforced_brick) - return false; - } - for(int i = -5; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 3, this.yCoord + i, this.zCoord + 1) != ModBlocks.reinforced_brick) - return false; - } - - - - for(int i = -5; i <= -1; i++) - { - if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord) != ModBlocks.watz_conductor) - return false; - } - for(int i = 1; i <= 5; i++) - { - if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord) != ModBlocks.watz_conductor) - return false; - } - - for(int i = -5; i <= -1; i++) - { - if(world.getBlock(this.xCoord + 3, this.yCoord + i, this.zCoord) != ModBlocks.reinforced_brick) - return false; - } - for(int i = 1; i <= 5; i++) - { - if(world.getBlock(this.xCoord + 3, this.yCoord + i, this.zCoord) != ModBlocks.reinforced_brick) - return false; - } - - for(int i = -5; i <= -1; i++) - { - if(world.getBlock(this.xCoord - 3, this.yCoord + i, this.zCoord) != ModBlocks.reinforced_brick) - return false; - } - for(int i = 1; i <= 5; i++) - { - if(world.getBlock(this.xCoord - 3, this.yCoord + i, this.zCoord) != ModBlocks.reinforced_brick) - return false; - } - - for(int i = -5; i <= -1; i++) - { - if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord + 3) != ModBlocks.reinforced_brick) - return false; - } - for(int i = 1; i <= 5; i++) - { - if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord + 3) != ModBlocks.reinforced_brick) - return false; - } - - for(int i = -5; i <= -1; i++) - { - if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord - 3) != ModBlocks.reinforced_brick) - return false; - } - for(int i = 1; i <= 5; i++) - { - if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord - 3) != ModBlocks.reinforced_brick) - return false; - } - - if(world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord) != ModBlocks.watz_hatch) - return false; - - if(world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord) != ModBlocks.watz_hatch) - return false; - - if(world.getBlock(this.xCoord, this.yCoord, this.zCoord + 3) != ModBlocks.watz_hatch) - return false; - - if(world.getBlock(this.xCoord, this.yCoord, this.zCoord - 3) != ModBlocks.watz_hatch) - return false; - - for(int i = -3; i <= 3; i++) - { - for(int j = -3; j <= 3; j++) - { - if(world.getBlock(this.xCoord + i, this.yCoord + 6, this.zCoord + j) != ModBlocks.watz_end && world.getBlock(this.xCoord + i, this.yCoord + 6, this.zCoord + j) != ModBlocks.watz_conductor) - return false; - } - } - for(int i = -3; i <= 3; i++) - { - for(int j = -3; j <= 3; j++) - { - if(world.getBlock(this.xCoord + i, this.yCoord - 6, this.zCoord + j) != ModBlocks.watz_end && world.getBlock(this.xCoord + i, this.yCoord - 6, this.zCoord + j) != ModBlocks.watz_conductor) - return false; - } - } - - return true; - } - - @Override - public boolean isCoatingValid(World world) { - { - return true; - } - - //return false; - } - - @Override - public boolean hasFuse() { - return slots[38] != null && slots[38].getItem() == ModItems.titanium_filter && slots[38].getItemDamage() < slots[38].getMaxDamage(); - } - - @Override - public int getWaterScaled(int i) { - return (waste * i) / wasteMax; - } - - @Override - public int getPowerScaled(int i) { - return (power/100 * i) / (maxPower/100); - } - - @Override - public int getCoolantScaled(int i) { - return 0; - } - - @Override - public int getHeatScaled(int i) { - return 0; - } - - @Override - public void updateEntity() { - if (this.isStructureValid(this.worldObj)) { - - age++; - if (age >= 20) { - age = 0; - } - - if (age == 9 || age == 19) - ffgeuaInit(); - - powerMultiplier = 100; - heatMultiplier = 100; - decayMultiplier = 100; - powerList = 0; - heatList = 0; - heat = 0; - - if (hasFuse()) { - - //Adds power and heat - for (int i = 0; i < 36; i++) { - surveyPellet(slots[i]); - } - //Calculates modifiers - for (int i = 0; i < 36; i++) { - surveyPelletAgain(slots[i]); - } - //Decays pellet by (DECAYMULTIPLIER * DEFAULTDECAY=100)/100 ticks - for (int i = 0; i < 36; i++) { - decayPellet(i); - } - } - - //Only damages filter when heat is present (thus waste being created) - if (heatList > 0) { - slots[38].setItemDamage(slots[38].getItemDamage() + 1); - } - - heatList *= heatMultiplier; - heatList /= 100; - heat = heatList; - - powerList *= powerMultiplier; - powerList /= 100; - power += powerList; - - waste += ((decayMultiplier * heat) / 100); - - if(power > maxPower) - power = maxPower; - - //Gets rid of 1/4 of the total waste, if at least one access hatch is not occupied - if(waste > wasteMax) - emptyWaste(); - - if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.battery_generic && slots[37].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[37].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.battery_advanced && slots[37].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[37].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.battery_schrabidium && slots[37].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[37].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.factory_core_titanium && slots[37].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[37].getItemDamage() - 1); - } - if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.factory_core_advanced && slots[37].getItemDamage() > 0) - { - power -= 100; - slots[37].setItemDamage(slots[37].getItemDamage() - 1); - } - - if(waste - 2500000 >= 0 && slots[36] != null && slots[36].getItem() == ModItems.tank_waste && slots[36].getItemDamage() < 8) - { - waste -= 2500000; - slots[36].setItemDamage(slots[36].getItemDamage() + 1); - } - - if(waste - 2500000 >= 0 && slots[36] != null && slots[36].getItem() == Items.bucket) - { - waste -= 2500000; - slots[36] = new ItemStack(ModItems.bucket_mud).copy(); - } - - if(slots[36] != null && slots[36].getItem() == ModItems.titanium_filter && slots[36].getItemDamage() + 100 <= slots[36].getMaxDamage()) - { - if(waste - 10000 >= 0) - { - waste -= 10000; - slots[36].setItemDamage(slots[36].getItemDamage() + 100); - } else { - if(waste > 0) - { - waste = 0; - slots[36].setItemDamage(slots[36].getItemDamage() + 100); - } - } - } - } - } - - public void surveyPellet(ItemStack stack) { - if(stack != null && stack.getItem() instanceof WatzFuel) - { - WatzFuel fuel = (WatzFuel)stack.getItem(); - this.powerList += fuel.power; - this.heatList += fuel.heat; - } - } - - public void surveyPelletAgain(ItemStack stack) { - if(stack != null && stack.getItem() instanceof WatzFuel) - { - WatzFuel fuel = (WatzFuel)stack.getItem(); - this.powerMultiplier *= fuel.powerMultiplier; - this.heatMultiplier *= fuel.heatMultiplier; - this.decayMultiplier *= fuel.decayMultiplier; - } - } - - public void decayPellet(int i) { - if(slots[i] != null && slots[i].getItem() instanceof WatzFuel) - { - WatzFuel fuel = (WatzFuel)slots[i].getItem(); - slots[i].setItemDamage(slots[i].getItemDamage() + this.decayMultiplier); - if(slots[i].getItemDamage() >= slots[i].getMaxDamage()) - { - if(slots[i].getItem() == ModItems.pellet_lead) - slots[i] = null; - else - slots[i] = new ItemStack(ModItems.pellet_lead); - } - } - } - - public void emptyWaste() { - this.waste /= 4; - this.waste *= 3; - if (!worldObj.isRemote) { - if (this.worldObj.getBlock(this.xCoord + 4, this.yCoord, this.zCoord) == Blocks.air) - { - this.worldObj.setBlock(this.xCoord + 4, this.yCoord, this.zCoord, ModBlocks.mud_block); - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); - } - else if (this.worldObj.getBlock(this.xCoord - 4, this.yCoord, this.zCoord) == Blocks.air) - { - this.worldObj.setBlock(this.xCoord - 4, this.yCoord, this.zCoord, ModBlocks.mud_block); - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); - } - else if (this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord + 4) == Blocks.air) - { - this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord + 4, ModBlocks.mud_block); - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); - } - else if (this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord - 4) == Blocks.air) - { - this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord - 4, ModBlocks.mud_block); - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); - } - else { - if (rand.nextInt(10) != 0) { - for (int i = -3; i <= 3; i++) - for (int j = -5; j <= 5; j++) - for (int k = -3; k <= 3; k++) - if (rand.nextInt(2) == 0) - this.worldObj.setBlock(this.xCoord + i, this.yCoord + j, this.zCoord + k, - ModBlocks.mud_block); - this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord, ModBlocks.mud_block); - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); - this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "random.explode", 3.0F, 0.75F); - } else { - EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(worldObj); - entity.posX = this.xCoord; - entity.posY = this.yCoord; - entity.posZ = this.zCoord; - entity.destructionRange = MainRegistry.fleijaRadius; - entity.speed = 25; - entity.coefficient = 1.0F; - entity.waste = false; - - worldObj.spawnEntityInWorld(entity); - } - } - } - } - - @Override - public void ffgeua(int x, int y, int z, boolean newTact) { - Block block = this.worldObj.getBlock(x, y, z); - TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); - - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y + 1, z); - } - if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) - { - tileentity = this.worldObj.getTileEntity(x, y - 1, z); - } - - if(tileentity instanceof IConductor) - { - if(tileentity instanceof TileEntityCable) - { - if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) - { - if(((TileEntityCable)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - if(tileentity instanceof TileEntityWireCoated) - { - if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) - { - for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) - { - if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) - { - ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; - ffgeua(x, y + 1, z, getTact()); - ffgeua(x, y - 1, z, getTact()); - ffgeua(x - 1, y, z, getTact()); - ffgeua(x + 1, y, z, getTact()); - ffgeua(x, y, z - 1, getTact()); - ffgeua(x, y, z + 1, getTact()); - } - } - } - } else { - ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); - } - } - } - - if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) - { - list.add((IConsumer)tileentity); - } - - if(!newTact) - { - int size = list.size(); - if(size > 0) - { - int part = this.power / size; - for(IConsumer consume : list) - { - if(consume.getPower() < consume.getMaxPower()) - { - if(consume.getMaxPower() - consume.getPower() >= part) - { - this.power -= part; - consume.setPower(consume.getPower() + part); - } else { - this.power -= consume.getMaxPower() - consume.getPower(); - consume.setPower(consume.getMaxPower()); - } - } - } - } - list.clear(); - } - } - - @Override - public void ffgeuaInit() { - ffgeua(this.xCoord, this.yCoord + 7, this.zCoord, getTact()); - ffgeua(this.xCoord, this.yCoord - 7, this.zCoord, getTact()); - } - - public boolean getTact() { - if(age >= 0 && age < 10) - { - return true; - } - - return false; - } -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.entity.logic.EntityNukeExplosionAdvanced; +import com.hbm.interfaces.IConductor; +import com.hbm.interfaces.IConsumer; +import com.hbm.interfaces.IReactor; +import com.hbm.interfaces.ISource; +import com.hbm.items.ModItems; +import com.hbm.items.special.WatzFuel; +import com.hbm.lib.Library; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.inventory.ISidedInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class TileEntityWatzCore extends TileEntity implements ISidedInventory, IReactor, ISource { + + public int waste; + public final static int wasteMax = 10000000; + public int power; + public final static int maxPower = 100000000; + public int heat; + + public int heatMultiplier; + public int powerMultiplier; + public int decayMultiplier; + + public int heatList; + public int wasteList; + public int powerList; + + Random rand = new Random(); + + private ItemStack slots[]; + public int age = 0; + public List list = new ArrayList(); + + private String customName; + + public TileEntityWatzCore() { + slots = new ItemStack[39]; + } + @Override + public int getSizeInventory() { + return slots.length; + } + + @Override + public ItemStack getStackInSlot(int i) { + return slots[i]; + } + + @Override + public ItemStack getStackInSlotOnClosing(int i) { + if(slots[i] != null) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } else { + return null; + } + } + + @Override + public void setInventorySlotContents(int i, ItemStack itemStack) { + slots[i] = itemStack; + if(itemStack != null && itemStack.stackSize > getInventoryStackLimit()) + { + itemStack.stackSize = getInventoryStackLimit(); + } + } + + @Override + public String getInventoryName() { + return this.hasCustomInventoryName() ? this.customName : "container.watzPowerplant"; + } + + @Override + public boolean hasCustomInventoryName() { + return this.customName != null && this.customName.length() > 0; + } + + public void setCustomName(String name) { + this.customName = name; + } + + @Override + public int getInventoryStackLimit() { + return 64; + } + + @Override + public boolean isUseableByPlayer(EntityPlayer player) { + if(worldObj.getTileEntity(xCoord, yCoord, zCoord) != this) + { + return false; + }else{ + return true; + } + } + + @Override + public void openInventory() {} + + @Override + public void closeInventory() {} + + @Override + public boolean isItemValidForSlot(int i, ItemStack itemStack) { + return true; + } + + @Override + public ItemStack decrStackSize(int i, int j) { + if(slots[i] != null) + { + if(slots[i].stackSize <= j) + { + ItemStack itemStack = slots[i]; + slots[i] = null; + return itemStack; + } + ItemStack itemStack1 = slots[i].splitStack(j); + if (slots[i].stackSize == 0) + { + slots[i] = null; + } + + return itemStack1; + } else { + return null; + } + } + + @Override + public int[] getAccessibleSlotsFromSide(int p_94128_1_) { + return null; + } + + @Override + public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_) { + return false; + } + + @Override + public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_) { + return false; + } + + @Override + public void readFromNBT(NBTTagCompound nbt) { + super.readFromNBT(nbt); + NBTTagList list = nbt.getTagList("items", 10); + + waste = nbt.getShort("deut") * 1000; + power = nbt.getShort("power") * 10000; + + slots = new ItemStack[getSizeInventory()]; + + for(int i = 0; i < list.tagCount(); i++) + { + NBTTagCompound nbt1 = list.getCompoundTagAt(i); + byte b0 = nbt1.getByte("slot"); + if(b0 >= 0 && b0 < slots.length) + { + slots[b0] = ItemStack.loadItemStackFromNBT(nbt1); + } + } + } + + @Override + public void writeToNBT(NBTTagCompound nbt) { + super.writeToNBT(nbt); + nbt.setShort("deut", (short) (waste/1000)); + nbt.setShort("power", (short) (power/10000)); + NBTTagList list = new NBTTagList(); + + for(int i = 0; i < slots.length; i++) + { + if(slots[i] != null) + { + NBTTagCompound nbt1 = new NBTTagCompound(); + nbt1.setByte("slot", (byte)i); + slots[i].writeToNBT(nbt1); + list.appendTag(nbt1); + } + } + nbt.setTag("items", list); + } + + @Override + public boolean isStructureValid(World world) { + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 3, this.yCoord + i, this.zCoord - 1) != ModBlocks.reinforced_brick) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 3, this.yCoord + i, this.zCoord + 1) != ModBlocks.reinforced_brick) + return false; + } + + + + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord - 2) != ModBlocks.reinforced_brick) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_element) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord) != ModBlocks.watz_control) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_element) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 2, this.yCoord + i, this.zCoord + 2) != ModBlocks.reinforced_brick) + return false; + } + + + + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord - 3) != ModBlocks.reinforced_brick) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord - 2) != ModBlocks.watz_element) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_control) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord) != ModBlocks.watz_cooler) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_control) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord + 2) != ModBlocks.watz_element) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 1, this.yCoord + i, this.zCoord + 3) != ModBlocks.reinforced_brick) + return false; + } + + + + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 0, this.yCoord + i, this.zCoord - 2) != ModBlocks.watz_control) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 0, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_cooler) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 0, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_cooler) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 0, this.yCoord + i, this.zCoord + 2) != ModBlocks.watz_control) + return false; + } + + + + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord - 3) != ModBlocks.reinforced_brick) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord - 2) != ModBlocks.watz_element) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_control) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord) != ModBlocks.watz_cooler) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_control) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord + 2) != ModBlocks.watz_element) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 1, this.yCoord + i, this.zCoord + 3) != ModBlocks.reinforced_brick) + return false; + } + + + + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord - 2) != ModBlocks.reinforced_brick) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord - 1) != ModBlocks.watz_element) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord) != ModBlocks.watz_control) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord + 1) != ModBlocks.watz_element) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 2, this.yCoord + i, this.zCoord + 2) != ModBlocks.reinforced_brick) + return false; + } + + + + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 3, this.yCoord + i, this.zCoord - 1) != ModBlocks.reinforced_brick) + return false; + } + for(int i = -5; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 3, this.yCoord + i, this.zCoord + 1) != ModBlocks.reinforced_brick) + return false; + } + + + + for(int i = -5; i <= -1; i++) + { + if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord) != ModBlocks.watz_conductor) + return false; + } + for(int i = 1; i <= 5; i++) + { + if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord) != ModBlocks.watz_conductor) + return false; + } + + for(int i = -5; i <= -1; i++) + { + if(world.getBlock(this.xCoord + 3, this.yCoord + i, this.zCoord) != ModBlocks.reinforced_brick) + return false; + } + for(int i = 1; i <= 5; i++) + { + if(world.getBlock(this.xCoord + 3, this.yCoord + i, this.zCoord) != ModBlocks.reinforced_brick) + return false; + } + + for(int i = -5; i <= -1; i++) + { + if(world.getBlock(this.xCoord - 3, this.yCoord + i, this.zCoord) != ModBlocks.reinforced_brick) + return false; + } + for(int i = 1; i <= 5; i++) + { + if(world.getBlock(this.xCoord - 3, this.yCoord + i, this.zCoord) != ModBlocks.reinforced_brick) + return false; + } + + for(int i = -5; i <= -1; i++) + { + if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord + 3) != ModBlocks.reinforced_brick) + return false; + } + for(int i = 1; i <= 5; i++) + { + if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord + 3) != ModBlocks.reinforced_brick) + return false; + } + + for(int i = -5; i <= -1; i++) + { + if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord - 3) != ModBlocks.reinforced_brick) + return false; + } + for(int i = 1; i <= 5; i++) + { + if(world.getBlock(this.xCoord, this.yCoord + i, this.zCoord - 3) != ModBlocks.reinforced_brick) + return false; + } + + if(world.getBlock(this.xCoord + 3, this.yCoord, this.zCoord) != ModBlocks.watz_hatch) + return false; + + if(world.getBlock(this.xCoord - 3, this.yCoord, this.zCoord) != ModBlocks.watz_hatch) + return false; + + if(world.getBlock(this.xCoord, this.yCoord, this.zCoord + 3) != ModBlocks.watz_hatch) + return false; + + if(world.getBlock(this.xCoord, this.yCoord, this.zCoord - 3) != ModBlocks.watz_hatch) + return false; + + for(int i = -3; i <= 3; i++) + { + for(int j = -3; j <= 3; j++) + { + if(world.getBlock(this.xCoord + i, this.yCoord + 6, this.zCoord + j) != ModBlocks.watz_end && world.getBlock(this.xCoord + i, this.yCoord + 6, this.zCoord + j) != ModBlocks.watz_conductor) + return false; + } + } + for(int i = -3; i <= 3; i++) + { + for(int j = -3; j <= 3; j++) + { + if(world.getBlock(this.xCoord + i, this.yCoord - 6, this.zCoord + j) != ModBlocks.watz_end && world.getBlock(this.xCoord + i, this.yCoord - 6, this.zCoord + j) != ModBlocks.watz_conductor) + return false; + } + } + + return true; + } + + @Override + public boolean isCoatingValid(World world) { + { + return true; + } + + //return false; + } + + @Override + public boolean hasFuse() { + return slots[38] != null && slots[38].getItem() == ModItems.titanium_filter && slots[38].getItemDamage() < slots[38].getMaxDamage(); + } + + @Override + public int getWaterScaled(int i) { + return (waste * i) / wasteMax; + } + + @Override + public int getPowerScaled(int i) { + return (power/100 * i) / (maxPower/100); + } + + @Override + public int getCoolantScaled(int i) { + return 0; + } + + @Override + public int getHeatScaled(int i) { + return 0; + } + + @Override + public void updateEntity() { + if (this.isStructureValid(this.worldObj)) { + + age++; + if (age >= 20) { + age = 0; + } + + if (age == 9 || age == 19) + ffgeuaInit(); + + powerMultiplier = 100; + heatMultiplier = 100; + decayMultiplier = 100; + powerList = 0; + heatList = 0; + heat = 0; + + if (hasFuse()) { + + //Adds power and heat + for (int i = 0; i < 36; i++) { + surveyPellet(slots[i]); + } + //Calculates modifiers + for (int i = 0; i < 36; i++) { + surveyPelletAgain(slots[i]); + } + //Decays pellet by (DECAYMULTIPLIER * DEFAULTDECAY=100)/100 ticks + for (int i = 0; i < 36; i++) { + decayPellet(i); + } + } + + //Only damages filter when heat is present (thus waste being created) + if (heatList > 0) { + slots[38].setItemDamage(slots[38].getItemDamage() + 1); + } + + heatList *= heatMultiplier; + heatList /= 100; + heat = heatList; + + powerList *= powerMultiplier; + powerList /= 100; + power += powerList; + + waste += ((decayMultiplier * heat) / 100); + + if(power > maxPower) + power = maxPower; + + //Gets rid of 1/4 of the total waste, if at least one access hatch is not occupied + if(waste > wasteMax) + emptyWaste(); + + if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.battery_generic && slots[37].getItemDamage() > 0) + { + power -= 100; + slots[37].setItemDamage(slots[37].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.battery_advanced && slots[37].getItemDamage() > 0) + { + power -= 100; + slots[37].setItemDamage(slots[37].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.battery_schrabidium && slots[37].getItemDamage() > 0) + { + power -= 100; + slots[37].setItemDamage(slots[37].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.factory_core_titanium && slots[37].getItemDamage() > 0) + { + power -= 100; + slots[37].setItemDamage(slots[37].getItemDamage() - 1); + } + if(power - 100 >= 0 && slots[37] != null && slots[37].getItem() == ModItems.factory_core_advanced && slots[37].getItemDamage() > 0) + { + power -= 100; + slots[37].setItemDamage(slots[37].getItemDamage() - 1); + } + + if(waste - 2500000 >= 0 && slots[36] != null && slots[36].getItem() == ModItems.tank_waste && slots[36].getItemDamage() < 8) + { + waste -= 2500000; + slots[36].setItemDamage(slots[36].getItemDamage() + 1); + } + + if(waste - 2500000 >= 0 && slots[36] != null && slots[36].getItem() == Items.bucket) + { + waste -= 2500000; + slots[36] = new ItemStack(ModItems.bucket_mud).copy(); + } + + if(slots[36] != null && slots[36].getItem() == ModItems.titanium_filter && slots[36].getItemDamage() + 100 <= slots[36].getMaxDamage()) + { + if(waste - 10000 >= 0) + { + waste -= 10000; + slots[36].setItemDamage(slots[36].getItemDamage() + 100); + } else { + if(waste > 0) + { + waste = 0; + slots[36].setItemDamage(slots[36].getItemDamage() + 100); + } + } + } + } + } + + public void surveyPellet(ItemStack stack) { + if(stack != null && stack.getItem() instanceof WatzFuel) + { + WatzFuel fuel = (WatzFuel)stack.getItem(); + this.powerList += fuel.power; + this.heatList += fuel.heat; + } + } + + public void surveyPelletAgain(ItemStack stack) { + if(stack != null && stack.getItem() instanceof WatzFuel) + { + WatzFuel fuel = (WatzFuel)stack.getItem(); + this.powerMultiplier *= fuel.powerMultiplier; + this.heatMultiplier *= fuel.heatMultiplier; + this.decayMultiplier *= fuel.decayMultiplier; + } + } + + public void decayPellet(int i) { + if(slots[i] != null && slots[i].getItem() instanceof WatzFuel) + { + WatzFuel fuel = (WatzFuel)slots[i].getItem(); + slots[i].setItemDamage(slots[i].getItemDamage() + this.decayMultiplier); + if(slots[i].getItemDamage() >= slots[i].getMaxDamage()) + { + if(slots[i].getItem() == ModItems.pellet_lead) + slots[i] = null; + else + slots[i] = new ItemStack(ModItems.pellet_lead); + } + } + } + + public void emptyWaste() { + this.waste /= 4; + this.waste *= 3; + if (!worldObj.isRemote) { + if (this.worldObj.getBlock(this.xCoord + 4, this.yCoord, this.zCoord) == Blocks.air) + { + this.worldObj.setBlock(this.xCoord + 4, this.yCoord, this.zCoord, ModBlocks.mud_block); + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); + } + else if (this.worldObj.getBlock(this.xCoord - 4, this.yCoord, this.zCoord) == Blocks.air) + { + this.worldObj.setBlock(this.xCoord - 4, this.yCoord, this.zCoord, ModBlocks.mud_block); + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); + } + else if (this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord + 4) == Blocks.air) + { + this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord + 4, ModBlocks.mud_block); + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); + } + else if (this.worldObj.getBlock(this.xCoord, this.yCoord, this.zCoord - 4) == Blocks.air) + { + this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord - 4, ModBlocks.mud_block); + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); + } + else { + if (rand.nextInt(10) != 0) { + for (int i = -3; i <= 3; i++) + for (int j = -5; j <= 5; j++) + for (int k = -3; k <= 3; k++) + if (rand.nextInt(2) == 0) + this.worldObj.setBlock(this.xCoord + i, this.yCoord + j, this.zCoord + k, + ModBlocks.mud_block); + this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord, ModBlocks.mud_block); + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "game.neutral.swim.splash", 3.0F, 0.5F); + this.worldObj.playSoundEffect(this.xCoord, this.yCoord, this.zCoord, "random.explode", 3.0F, 0.75F); + } else { + EntityNukeExplosionAdvanced entity = new EntityNukeExplosionAdvanced(worldObj); + entity.posX = this.xCoord; + entity.posY = this.yCoord; + entity.posZ = this.zCoord; + entity.destructionRange = MainRegistry.fleijaRadius; + entity.speed = 25; + entity.coefficient = 1.0F; + entity.waste = false; + + worldObj.spawnEntityInWorld(entity); + } + } + } + } + + @Override + public void ffgeua(int x, int y, int z, boolean newTact) { + Block block = this.worldObj.getBlock(x, y, z); + TileEntity tileentity = this.worldObj.getTileEntity(x, y, z); + + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_titanium_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_titanium_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y + 1, z); + } + if(block == ModBlocks.factory_advanced_conductor && this.worldObj.getBlock(x, y - 1, z) == ModBlocks.factory_advanced_core) + { + tileentity = this.worldObj.getTileEntity(x, y - 1, z); + } + + if(tileentity instanceof IConductor) + { + if(tileentity instanceof TileEntityCable) + { + if(Library.checkUnionList(((TileEntityCable)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityCable)tileentity).uoteab.size(); i++) + { + if(((TileEntityCable)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityCable)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityCable)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityCable)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + if(tileentity instanceof TileEntityWireCoated) + { + if(Library.checkUnionList(((TileEntityWireCoated)tileentity).uoteab, this)) + { + for(int i = 0; i < ((TileEntityWireCoated)tileentity).uoteab.size(); i++) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).source == this) + { + if(((TileEntityWireCoated)tileentity).uoteab.get(i).ticked != newTact) + { + ((TileEntityWireCoated)tileentity).uoteab.get(i).ticked = newTact; + ffgeua(x, y + 1, z, getTact()); + ffgeua(x, y - 1, z, getTact()); + ffgeua(x - 1, y, z, getTact()); + ffgeua(x + 1, y, z, getTact()); + ffgeua(x, y, z - 1, getTact()); + ffgeua(x, y, z + 1, getTact()); + } + } + } + } else { + ((TileEntityWireCoated)tileentity).uoteab.add(new UnionOfTileEntitiesAndBooleans(this, newTact)); + } + } + } + + if(tileentity instanceof IConsumer && newTact && !(tileentity instanceof TileEntityMachineBattery && ((TileEntityMachineBattery)tileentity).conducts)) + { + list.add((IConsumer)tileentity); + } + + if(!newTact) + { + int size = list.size(); + if(size > 0) + { + int part = this.power / size; + for(IConsumer consume : list) + { + if(consume.getPower() < consume.getMaxPower()) + { + if(consume.getMaxPower() - consume.getPower() >= part) + { + this.power -= part; + consume.setPower(consume.getPower() + part); + } else { + this.power -= consume.getMaxPower() - consume.getPower(); + consume.setPower(consume.getMaxPower()); + } + } + } + } + list.clear(); + } + } + + @Override + public void ffgeuaInit() { + ffgeua(this.xCoord, this.yCoord + 7, this.zCoord, getTact()); + ffgeua(this.xCoord, this.yCoord - 7, this.zCoord, getTact()); + } + + public boolean getTact() { + if(age >= 0 && age < 10) + { + return true; + } + + return false; + } +} diff --git a/com/hbm/tileentity/TileEntityWireCoated.java b/com/hbm/tileentity/TileEntityWireCoated.java index 995152e93..27bd17d77 100644 --- a/com/hbm/tileentity/TileEntityWireCoated.java +++ b/com/hbm/tileentity/TileEntityWireCoated.java @@ -1,16 +1,16 @@ -package com.hbm.tileentity; - -import java.util.ArrayList; -import java.util.List; - -import com.hbm.calc.UnionOfTileEntitiesAndBooleans; -import com.hbm.interfaces.IConductor; -import com.hbm.lib.Library; - -import net.minecraft.tileentity.TileEntity; - -public class TileEntityWireCoated extends TileEntity implements IConductor { - - public List uoteab = new ArrayList(); - -} +package com.hbm.tileentity; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.calc.UnionOfTileEntitiesAndBooleans; +import com.hbm.interfaces.IConductor; +import com.hbm.lib.Library; + +import net.minecraft.tileentity.TileEntity; + +public class TileEntityWireCoated extends TileEntity implements IConductor { + + public List uoteab = new ArrayList(); + +} diff --git a/com/hbm/tileentity/TileEntityYellowBarrel.java b/com/hbm/tileentity/TileEntityYellowBarrel.java index 1a5766601..905ad2e3f 100644 --- a/com/hbm/tileentity/TileEntityYellowBarrel.java +++ b/com/hbm/tileentity/TileEntityYellowBarrel.java @@ -1,97 +1,97 @@ -package com.hbm.tileentity; - -import java.util.HashSet; -import java.util.List; - -import com.hbm.entity.mob.EntityNuclearCreeper; -import com.hbm.lib.Library; - -import net.minecraft.entity.Entity; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.monster.EntityCreeper; -import net.minecraft.entity.monster.EntityZombie; -import net.minecraft.entity.passive.EntityCow; -import net.minecraft.entity.passive.EntityMooshroom; -import net.minecraft.entity.passive.EntityVillager; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.potion.Potion; -import net.minecraft.potion.PotionEffect; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.AxisAlignedBB; -import net.minecraft.util.MathHelper; -import net.minecraft.util.Vec3; - -public class TileEntityYellowBarrel extends TileEntity { - - @Override - public void updateEntity() { - int strength = 4; - float f = strength; - HashSet hashset = new HashSet(); - int i; - int j; - int k; - double d5; - double d6; - double d7; - double wat = 4*2; - boolean isOccupied = false; - - - strength *= 2.0F; - i = MathHelper.floor_double(this.xCoord - wat - 1.0D); - j = MathHelper.floor_double(this.xCoord + wat + 1.0D); - k = MathHelper.floor_double(this.yCoord - wat - 1.0D); - int i2 = MathHelper.floor_double(this.yCoord + wat + 1.0D); - int l = MathHelper.floor_double(this.zCoord - wat - 1.0D); - int j2 = MathHelper.floor_double(this.zCoord + wat + 1.0D); - List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); - Vec3 vec3 = Vec3.createVectorHelper(this.xCoord, this.yCoord, this.zCoord); - - for (int i1 = 0; i1 < list.size(); ++i1) - { - Entity entity = (Entity)list.get(i1); - double d4 = entity.getDistance(this.xCoord, this.yCoord, this.zCoord) / 4; - - if (d4 <= 1.0D) - { - d5 = entity.posX - this.xCoord; - d6 = entity.posY + entity.getEyeHeight() - this.yCoord; - d7 = entity.posZ - this.zCoord; - double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); - if (d9 < wat) - { - if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) - { - /*Library.damageSuit(((EntityPlayer)entity), 0); - Library.damageSuit(((EntityPlayer)entity), 1); - Library.damageSuit(((EntityPlayer)entity), 2); - Library.damageSuit(((EntityPlayer)entity), 3);*/ - - } else if(entity instanceof EntityCreeper) { - EntityNuclearCreeper creep = new EntityNuclearCreeper(this.worldObj); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); - if(!entity.isDead) - if(!worldObj.isRemote) - worldObj.spawnEntityInWorld(creep); - entity.setDead(); - } else if(entity instanceof EntityVillager) { - EntityZombie creep = new EntityZombie(this.worldObj); - creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); - entity.setDead(); - if(!this.worldObj.isRemote) - this.worldObj.spawnEntityInWorld(creep); - } else if(entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) - { - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.getId(), 2 * 60 * 20, 2)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.getId(), 20, 4)); - ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 1 * 60 * 20, 1)); - } - } - } - } - - strength = (int)f; - } -} +package com.hbm.tileentity; + +import java.util.HashSet; +import java.util.List; + +import com.hbm.entity.mob.EntityNuclearCreeper; +import com.hbm.lib.Library; + +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityCow; +import net.minecraft.entity.passive.EntityMooshroom; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; + +public class TileEntityYellowBarrel extends TileEntity { + + @Override + public void updateEntity() { + int strength = 4; + float f = strength; + HashSet hashset = new HashSet(); + int i; + int j; + int k; + double d5; + double d6; + double d7; + double wat = 4*2; + boolean isOccupied = false; + + + strength *= 2.0F; + i = MathHelper.floor_double(this.xCoord - wat - 1.0D); + j = MathHelper.floor_double(this.xCoord + wat + 1.0D); + k = MathHelper.floor_double(this.yCoord - wat - 1.0D); + int i2 = MathHelper.floor_double(this.yCoord + wat + 1.0D); + int l = MathHelper.floor_double(this.zCoord - wat - 1.0D); + int j2 = MathHelper.floor_double(this.zCoord + wat + 1.0D); + List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(i, k, l, j, i2, j2)); + Vec3 vec3 = Vec3.createVectorHelper(this.xCoord, this.yCoord, this.zCoord); + + for (int i1 = 0; i1 < list.size(); ++i1) + { + Entity entity = (Entity)list.get(i1); + double d4 = entity.getDistance(this.xCoord, this.yCoord, this.zCoord) / 4; + + if (d4 <= 1.0D) + { + d5 = entity.posX - this.xCoord; + d6 = entity.posY + entity.getEyeHeight() - this.yCoord; + d7 = entity.posZ - this.zCoord; + double d9 = MathHelper.sqrt_double(d5 * d5 + d6 * d6 + d7 * d7); + if (d9 < wat) + { + if(entity instanceof EntityPlayer && Library.checkForHazmat((EntityPlayer)entity)) + { + /*Library.damageSuit(((EntityPlayer)entity), 0); + Library.damageSuit(((EntityPlayer)entity), 1); + Library.damageSuit(((EntityPlayer)entity), 2); + Library.damageSuit(((EntityPlayer)entity), 3);*/ + + } else if(entity instanceof EntityCreeper) { + EntityNuclearCreeper creep = new EntityNuclearCreeper(this.worldObj); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + //creep.setRotationYawHead(((EntityCreeper)entity).rotationYawHead); + if(!entity.isDead) + if(!worldObj.isRemote) + worldObj.spawnEntityInWorld(creep); + entity.setDead(); + } else if(entity instanceof EntityVillager) { + EntityZombie creep = new EntityZombie(this.worldObj); + creep.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch); + entity.setDead(); + if(!this.worldObj.isRemote) + this.worldObj.spawnEntityInWorld(creep); + } else if(entity instanceof EntityLivingBase && !(entity instanceof EntityNuclearCreeper) && !(entity instanceof EntityMooshroom) && !(entity instanceof EntityZombie)) + { + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.poison.getId(), 2 * 60 * 20, 2)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.wither.getId(), 20, 4)); + ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 1 * 60 * 20, 1)); + } + } + } + } + + strength = (int)f; + } +} diff --git a/com/hbm/world/Antenna.java b/com/hbm/world/Antenna.java index 1d73b350a..9a53360c9 100644 --- a/com/hbm/world/Antenna.java +++ b/com/hbm/world/Antenna.java @@ -1,279 +1,279 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Antenna extends WorldGenerator -{ - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.stone, - Blocks.sand, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - @Override - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x + 1, y, z + 1)) - { - return false; - } - - world.setBlock(x + 0, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, ModBlocks.steel_poles, 2, 3); - world.setBlock(x + 2, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 1, y + 0, z + 1, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, ModBlocks.tape_recorder, 5, 3); - world.setBlock(x + 0, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 2, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 2, y + 0, z + 2, Blocks.chest, 0, 3); - world.setBlockMetadataWithNotify(x + 2, y + 0, z + 2, 5, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 2, y, z + 2), 8); - world.setBlock(x + 0, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, ModBlocks.steel_poles, 2, 3); - world.setBlock(x + 2, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 1, y + 1, z + 1, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 1, z + 1, ModBlocks.tape_recorder, 5, 3); - world.setBlock(x + 0, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 2, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 1, y + 2, z + 1, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 2, z + 1, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 2, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 1, ModBlocks.pole_satellite_receiver, 3, 3); - world.setBlock(x + 2, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 1, ModBlocks.pole_satellite_receiver, 2, 3); - world.setBlock(x + 2, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 1, ModBlocks.pole_satellite_receiver, 4, 3); - world.setBlock(x + 2, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 1, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 2, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 1, ModBlocks.pole_top, 4, 3); - world.setBlock(x + 2, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 2, Blocks.air, 0, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned antenna at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Antenna extends WorldGenerator +{ + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.stone, + Blocks.sand, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + @Override + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x + 1, y, z + 1)) + { + return false; + } + + world.setBlock(x + 0, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, ModBlocks.steel_poles, 2, 3); + world.setBlock(x + 2, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 1, y + 0, z + 1, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, ModBlocks.tape_recorder, 5, 3); + world.setBlock(x + 0, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 2, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 2, y + 0, z + 2, Blocks.chest, 0, 3); + world.setBlockMetadataWithNotify(x + 2, y + 0, z + 2, 5, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 2, y, z + 2), 8); + world.setBlock(x + 0, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, ModBlocks.steel_poles, 2, 3); + world.setBlock(x + 2, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 1, y + 1, z + 1, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 1, z + 1, ModBlocks.tape_recorder, 5, 3); + world.setBlock(x + 0, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 2, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 1, y + 2, z + 1, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 2, z + 1, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 2, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 1, ModBlocks.pole_satellite_receiver, 3, 3); + world.setBlock(x + 2, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 1, ModBlocks.pole_satellite_receiver, 2, 3); + world.setBlock(x + 2, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 1, ModBlocks.pole_satellite_receiver, 4, 3); + world.setBlock(x + 2, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 1, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 2, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 1, ModBlocks.pole_top, 4, 3); + world.setBlock(x + 2, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 2, Blocks.air, 0, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned antenna at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Bunker.java b/com/hbm/world/Bunker.java index a4f211315..f85ce3b26 100644 --- a/com/hbm/world/Bunker.java +++ b/com/hbm/world/Bunker.java @@ -1,1604 +1,1604 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemDoor; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Bunker extends WorldGenerator -{ - Block Block1 = ModBlocks.reinforced_brick; - Block Block2 = ModBlocks.brick_concrete; - Block Block3 = ModBlocks.reinforced_light; - Block Block4 = ModBlocks.block_steel; - Block Block5 = ModBlocks.block_tungsten; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.stone, - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - y += 1; - if(!LocationIsValidSpawn(world, x, y, z) || !LocationIsValidSpawn(world, x + 3, y, z) || !LocationIsValidSpawn(world, x + 3, y, z + 5) || !LocationIsValidSpawn(world, x, y, z + 5)) - { - return false; - } - - for(int i = 0; i < 11; i++) - { - for(int j = 0; j < 9; j++) - { - for(int k = 0; k < 15; k++) - { - world.setBlock(x + i, y + j - 25, z + k, Blocks.air, 0, 3); - } - } - } - - world.setBlock(x + 0, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -25, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -24, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + -24, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -24, z + 1, Blocks.chest, 3, 3); - world.setBlockMetadataWithNotify(x + 2, y + -24, z + 1, 3, 3); - if(world.getBlock(x + 2, y + -24, z + 1) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 2, y + -24, z + 1), rand.nextInt(2)+ 6); - } - world.setBlock(x + 3, y + -24, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + -24, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -24, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + -24, z + 2, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 1, y + -24, z + 5, 3, 3); - if(world.getBlock(x + 2, y + -24, z + 1) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 1, y + -24, z + 2), 8); - } - world.setBlock(x + 3, y + -24, z + 2, Blocks.chest, 4, 3); - world.setBlockMetadataWithNotify(x + 3, y + -24, z + 2, 4, 3); - if(world.getBlock(x + 3, y + -24, z + 2) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 3, y + -24, z + 2), 8); - } - world.setBlock(x + 4, y + -24, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -24, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + -24, z + 3, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 1, y + -24, z + 3, 5, 3); - if(world.getBlock(x + 1, y + -24, z + 3) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 1, y + -24, z + 3), 8); - } - world.setBlock(x + 3, y + -24, z + 3, Blocks.chest, 4, 3); - world.setBlockMetadataWithNotify(x + 3, y + -24, z + 3, 5, 3); - if(world.getBlock(x + 3, y + -24, z + 3) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 3, y + -24, z + 3), 8); - } - world.setBlock(x + 4, y + -24, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -24, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -24, z + 3, Blocks.iron_door, 5, 3); - ItemDoor.placeDoorBlock(world, x + 9, y + -24, z + 3, 5, Blocks.iron_door); - world.setBlock(x + 10, y + -24, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -24, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + -24, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + -24, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + -24, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 4, Blocks.cauldron, 0, 3); - world.setBlock(x + 11, y + -24, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 5, Block1, 0, 3); - world.setBlock(x + 1, y + -24, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + -24, z + 5, Blocks.iron_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 2, y + -24, z + 5, 3, Blocks.iron_door); - world.setBlock(x + 3, y + -24, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -24, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 5, Block2, 0, 3); - world.setBlock(x + 11, y + -24, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 6, Blocks.cauldron, 0, 3); - world.setBlock(x + 11, y + -24, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 7, Block2, 0, 3); - world.setBlock(x + 11, y + -24, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -24, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -24, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -24, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -24, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 8, Blocks.cauldron, 0, 3); - world.setBlock(x + 11, y + -24, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -24, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 9, Blocks.iron_door, 1, 3); - ItemDoor.placeDoorBlock(world, x + 7, y + -24, z + 9, 1, Blocks.iron_door); - world.setBlock(x + 10, y + -24, z + 9, Block2, 0, 3); - world.setBlock(x + 11, y + -24, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -24, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -24, z + 10, Blocks.hopper, 4, 3); - world.setBlock(x + 6, y + -24, z + 10, Blocks.cauldron, 0, 3); - world.setBlock(x + 7, y + -24, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 10, Blocks.cauldron, 0, 3); - world.setBlock(x + 11, y + -24, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -24, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -24, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 13, Block1, 0, 3); - world.setBlock(x + 11, y + -24, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -24, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -23, z + 0, Block3, 0, 3); - world.setBlock(x + 7, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -23, z + 0, Block3, 0, 3); - world.setBlock(x + 10, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + -23, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -23, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + -23, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + -23, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -23, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -23, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -23, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -23, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -23, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -23, z + 3, Block1, 0, 3); - //world.setBlock(x + 9, y + -23, z + 3, Blocks.iron_door, 8, 3); - world.setBlock(x + 10, y + -23, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + -23, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + -23, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + -23, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -23, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 5, Block1, 0, 3); - world.setBlock(x + 1, y + -23, z + 5, Block1, 0, 3); - //world.setBlock(x + 2, y + -23, z + 5, Blocks.iron_door, 8, 3); - world.setBlock(x + 3, y + -23, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -23, z + 5, Block3, 0, 3); - world.setBlock(x + 7, y + -23, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + -23, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -23, z + 7, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -23, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -23, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -23, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -23, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -23, z + 8, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -23, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -23, z + 9, Block3, 0, 3); - //world.setBlock(x + 7, y + -23, z + 9, Blocks.iron_door, 8, 3); - world.setBlock(x + 11, y + -23, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -23, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -23, z + 10, Blocks.trapdoor, 7, 3); - world.setBlock(x + 7, y + -23, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -23, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -23, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -23, z + 14, Block3, 0, 3); - world.setBlock(x + 5, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -23, z + 14, Block3, 0, 3); - world.setBlock(x + 8, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -23, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -22, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -22, z + 1, Block3, 0, 3); - world.setBlock(x + 3, y + -22, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + -22, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + -22, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 6, y + -22, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 9, y + -22, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -22, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -22, z + 2, Block1, 0, 3); - world.setBlock(x + 5, y + -22, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -22, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -22, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -22, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -22, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -22, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -22, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -22, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -22, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 4, Block2, 0, 3); - world.setBlock(x + 2, y + -22, z + 4, Block3, 0, 3); - world.setBlock(x + 3, y + -22, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + -22, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -22, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -22, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -22, z + 4, Block3, 0, 3); - world.setBlock(x + 11, y + -22, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 5, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + -22, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -22, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -22, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -22, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -22, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 6, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 6, y + -22, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 7, y + -22, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -22, z + 6, Block3, 0, 3); - world.setBlock(x + 11, y + -22, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + -22, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 6, y + -22, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 7, y + -22, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -22, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -22, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -22, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -22, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -22, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -22, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -22, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -22, z + 8, Block3, 0, 3); - world.setBlock(x + 11, y + -22, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -22, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -22, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -22, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 7, y + -22, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -22, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -22, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -22, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -22, z + 10, Block1, 0, 3); - world.setBlock(x + 8, y + -22, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -22, z + 10, Block3, 0, 3); - world.setBlock(x + 11, y + -22, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -22, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 5, y + -22, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -22, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 2, y + -22, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -22, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 6, y + -22, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 7, y + -22, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 8, y + -22, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -22, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -22, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + -20, z + 1, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 4, y + -20, z + 1, 5, 3); - if(world.getBlock(x + 4, y + -20, z + 1) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 4, y + -20, z + 1), 12); - } - world.setBlock(x + 8, y + -20, z + 1, Block4, 0, 3); - world.setBlock(x + 9, y + -20, z + 1, Block4, 0, 3); - world.setBlock(x + 10, y + -20, z + 1, Block4, 0, 3); - world.setBlock(x + 11, y + -20, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 2, Block4, 0, 3); - world.setBlock(x + 9, y + -20, z + 2, Block4, 0, 3); - world.setBlock(x + 10, y + -20, z + 2, Block4, 0, 3); - world.setBlock(x + 11, y + -20, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 3, Block4, 0, 3); - world.setBlock(x + 9, y + -20, z + 3, Block4, 0, 3); - world.setBlock(x + 10, y + -20, z + 3, Block4, 0, 3); - world.setBlock(x + 11, y + -20, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + -20, z + 4, Blocks.iron_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 5, y + -20, z + 4, 3, Blocks.iron_door); - world.setBlock(x + 6, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 6, Blocks.iron_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 3, y + -20, z + 6, 0, Blocks.iron_door); - world.setBlock(x + 11, y + -20, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 7, Blocks.iron_door, 1, 3); - ItemDoor.placeDoorBlock(world, x + 8, y + -20, z + 7, 1, Blocks.iron_door); - world.setBlock(x + 10, y + -20, z + 7, Blocks.iron_door, 1, 3); - ItemDoor.placeDoorBlock(world, x + 10, y + -20, z + 7, 1, Blocks.iron_door); - world.setBlock(x + 11, y + -20, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -20, z + 8, Blocks.iron_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 4, y + -20, z + 8, 3, Blocks.iron_door); - world.setBlock(x + 6, y + -20, z + 8, Blocks.iron_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 6, y + -20, z + 8, 3, Blocks.iron_door); - world.setBlock(x + 8, y + -20, z + 8, Blocks.iron_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 8, y + -20, z + 8, 3, Blocks.iron_door); - world.setBlock(x + 10, y + -20, z + 8, Blocks.iron_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 10, y + -20, z + 8, 3, Blocks.iron_door); - world.setBlock(x + 11, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 9, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 13, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -19, z + 0, Block3, 0, 3); - world.setBlock(x + 7, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -19, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 1, Block4, 0, 3); - world.setBlock(x + 9, y + -19, z + 1, Block4, 0, 3); - world.setBlock(x + 10, y + -19, z + 1, Block4, 0, 3); - world.setBlock(x + 11, y + -19, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 2, Block5, 0, 3); - world.setBlock(x + 8, y + -19, z + 2, Block5, 0, 3); - world.setBlock(x + 9, y + -19, z + 2, Block5, 0, 3); - world.setBlock(x + 10, y + -19, z + 2, Block5, 0, 3); - world.setBlock(x + 11, y + -19, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -19, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 8, y + -19, z + 3, Block4, 0, 3); - world.setBlock(x + 9, y + -19, z + 3, Block4, 0, 3); - world.setBlock(x + 10, y + -19, z + 3, Block4, 0, 3); - world.setBlock(x + 11, y + -19, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -19, z + 4, Block1, 0, 3); - //world.setBlock(x + 5, y + -19, z + 4, Blocks.iron_door, 8, 3); - world.setBlock(x + 6, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -19, z + 4, Block3, 0, 3); - world.setBlock(x + 10, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 6, Block1, 0, 3); - //world.setBlock(x + 3, y + -19, z + 6, Blocks.iron_door, 8, 3); - world.setBlock(x + 11, y + -19, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 7, Block3, 0, 3); - //world.setBlock(x + 8, y + -19, z + 7, Blocks.iron_door, 8, 3); - //world.setBlock(x + 10, y + -19, z + 7, Blocks.iron_door, 8, 3); - world.setBlock(x + 11, y + -19, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 8, Block1, 0, 3); - //world.setBlock(x + 4, y + -19, z + 8, Blocks.iron_door, 8, 3); - //world.setBlock(x + 6, y + -19, z + 8, Blocks.iron_door, 8, 3); - //world.setBlock(x + 8, y + -19, z + 8, Blocks.iron_door, 8, 3); - //world.setBlock(x + 10, y + -19, z + 8, Blocks.iron_door, 9, 3); - world.setBlock(x + 11, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 9, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -19, z + 11, Block3, 0, 3); - world.setBlock(x + 6, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -19, z + 11, Block3, 0, 3); - world.setBlock(x + 10, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -19, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 2, y + -18, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -18, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -18, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -18, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 8, y + -18, z + 2, Block4, 0, 3); - world.setBlock(x + 9, y + -18, z + 2, Block4, 0, 3); - world.setBlock(x + 10, y + -18, z + 2, Block4, 0, 3); - world.setBlock(x + 11, y + -18, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 3, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 8, y + -18, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 9, y + -18, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -18, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -18, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 9, y + -18, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -18, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -18, z + 7, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 3, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 8, y + -18, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 9, y + -18, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 7, y + -18, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 8, y + -18, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -18, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 13, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -18, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -16, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -16, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -16, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -16, z + 2, Block3, 0, 3); - world.setBlock(x + 3, y + -16, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -16, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -16, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -16, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -15, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -15, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -15, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -15, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -15, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -15, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -15, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -15, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -14, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -14, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -14, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -14, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -14, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -14, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -14, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -14, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -13, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -13, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -13, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -13, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -13, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -13, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -13, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -13, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -12, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -12, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -12, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -12, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -12, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -12, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -12, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -12, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -11, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -11, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -11, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -11, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -11, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -11, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -11, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -11, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -10, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -10, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -10, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -10, z + 2, Block3, 0, 3); - world.setBlock(x + 3, y + -10, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -10, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -10, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -10, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -9, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -9, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -9, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -9, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -9, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -9, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -9, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -9, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -8, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -8, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -8, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -8, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -8, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -8, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -8, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -8, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -7, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -7, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -7, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -7, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -7, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -7, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -7, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -7, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -6, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -6, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -6, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -6, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -6, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -6, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -6, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -6, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -5, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -5, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -5, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -5, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -5, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -5, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -5, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -5, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -4, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -4, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -4, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -4, z + 2, Block3, 0, 3); - world.setBlock(x + 3, y + -4, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -4, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -4, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -4, z + 3, Block2, 0, 3); - world.setBlock(x + 0, y + -3, z + 0, Block2, 0, 3); - world.setBlock(x + 1, y + -3, z + 0, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 0, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 0, Block2, 0, 3); - world.setBlock(x + 4, y + -3, z + 0, Block2, 0, 3); - world.setBlock(x + 0, y + -3, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -3, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + -3, z + 1, Block2, 0, 3); - world.setBlock(x + 0, y + -3, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -3, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + -3, z + 2, Block2, 0, 3); - world.setBlock(x + 0, y + -3, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -3, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + -3, z + 3, Block2, 0, 3); - world.setBlock(x + 0, y + -3, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + -3, z + 4, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + -3, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + -3, z + 5, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 5, Block2, 0, 3); - world.setBlock(x + 0, y + -2, z + 0, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 0, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 0, Block2, 0, 3); - world.setBlock(x + 3, y + -2, z + 0, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 0, Block2, 0, 3); - world.setBlock(x + 0, y + -2, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -2, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 1, Block2, 0, 3); - world.setBlock(x + 0, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 0, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 0, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 5, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + -2, z + 5, Block2, 0, 3); - world.setBlock(x + 0, y + -1, z + 0, Block2, 0, 3); - world.setBlock(x + 1, y + -1, z + 0, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 0, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 0, Block2, 0, 3); - world.setBlock(x + 4, y + -1, z + 0, Block2, 0, 3); - world.setBlock(x + 0, y + -1, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + -1, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + -1, z + 1, Block2, 0, 3); - world.setBlock(x + 0, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 0, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 0, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + -1, z + 5, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 5, Block2, 0, 3); - world.setBlock(x + 0, y + 0, z + 0, Block2, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, Block2, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Block2, 0, 3); - world.setBlock(x + 3, y + 0, z + 0, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 0, Block2, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 1, Block2, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + 0, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 2, Block2, 0, 3); - world.setBlock(x + 0, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 0, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 2, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, Block2, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, Block2, 0, 3); - world.setBlock(x + 2, y + 1, z + 0, Block2, 0, 3); - world.setBlock(x + 3, y + 1, z + 0, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 0, Block2, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 1, Block2, 0, 3); - world.setBlock(x + 0, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 0, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 0, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Block2, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 0, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 0, Block2, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, Block2, 0, 3); - world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 1, Block2, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 1, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Block3, 0, 3); - world.setBlock(x + 3, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 0, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 1, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 0, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 1, y + 2, z + 5, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 5, Block2, 0, 3); - world.setBlock(x + 1, y + 3, z + 0, Block2, 0, 3); - world.setBlock(x + 2, y + 3, z + 0, Block2, 0, 3); - world.setBlock(x + 3, y + 3, z + 0, Block2, 0, 3); - world.setBlock(x + 2, y + 3, z + 1, Blocks.trapdoor, 1, 3); - - generate_r02_last(world, rand, x, y, z); - return true; - - } - public boolean generate_r02_last(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 10, y + -24, z + 12, Blocks.ladder, 4, 3); - world.setBlock(x + 10, y + -24, z + 13, Blocks.ladder, 4, 3); - world.setBlock(x + 8, y + -23, z + 2, Blocks.lever, 12, 3); - world.setBlock(x + 10, y + -23, z + 4, Blocks.lever, 10, 3); - world.setBlock(x + 10, y + -23, z + 6, Blocks.lever, 10, 3); - world.setBlock(x + 10, y + -23, z + 8, Blocks.lever, 10, 3); - world.setBlock(x + 6, y + -23, z + 10, Blocks.lever, 12, 3); - world.setBlock(x + 10, y + -23, z + 10, Blocks.lever, 10, 3); - world.setBlock(x + 10, y + -23, z + 12, Blocks.ladder, 4, 3); - world.setBlock(x + 10, y + -23, z + 13, Blocks.ladder, 4, 3); - world.setBlock(x + 10, y + -22, z + 12, Blocks.ladder, 4, 3); - world.setBlock(x + 10, y + -22, z + 13, Blocks.ladder, 4, 3); - world.setBlock(x + 10, y + -21, z + 12, Blocks.ladder, 4, 3); - world.setBlock(x + 10, y + -21, z + 13, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -20, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 10, y + -20, z + 12, Blocks.ladder, 4, 3); - world.setBlock(x + 10, y + -20, z + 13, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -19, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -19, z + 5, Blocks.lever, 2, 3); - world.setBlock(x + 5, y + -19, z + 5, Blocks.wall_sign, 3, 3); - world.setBlock(x + 2, y + -18, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -17, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -16, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -15, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -14, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -13, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -12, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -11, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -10, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -9, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -8, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -7, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -6, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -5, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -4, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -3, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -2, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + -1, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + 0, z + 1, Blocks.ladder, 3, 3); - world.setBlock(x + 2, y + 0, z + 2, Blocks.ladder, 4, 3); - world.setBlock(x + 2, y + 1, z + 1, Blocks.ladder, 3, 3); - world.setBlock(x + 2, y + 2, z + 1, Blocks.ladder, 3, 3); - world.setBlock(x + 8, y + -20, z + 5, Blocks.bed, 10, 3); - world.setBlock(x + 10, y + -20, z + 5, Blocks.bed, 10, 3); - world.setBlock(x + 8, y + -20, z + 6, Blocks.bed, 2, 3); - world.setBlock(x + 10, y + -20, z + 6, Blocks.bed, 2, 3); - world.setBlock(x + 4, y + -20, z + 9, Blocks.bed, 0, 3); - world.setBlock(x + 6, y + -20, z + 9, Blocks.bed, 0, 3); - world.setBlock(x + 8, y + -20, z + 9, Blocks.bed, 0, 3); - world.setBlock(x + 10, y + -20, z + 9, Blocks.bed, 0, 3); - world.setBlock(x + 4, y + -20, z + 10, Blocks.bed, 8, 3); - world.setBlock(x + 6, y + -20, z + 10, Blocks.bed, 8, 3); - world.setBlock(x + 8, y + -20, z + 10, Blocks.bed, 8, 3); - world.setBlock(x + 10, y + -20, z + 10, Blocks.bed, 8, 3); - world.setBlock(x + 8, y + -19, z + 5, Blocks.bed, 10, 3); - world.setBlock(x + 10, y + -19, z + 5, Blocks.bed, 10, 3); - world.setBlock(x + 8, y + -19, z + 6, Blocks.bed, 2, 3); - world.setBlock(x + 10, y + -19, z + 6, Blocks.bed, 2, 3); - world.setBlock(x + 4, y + -19, z + 9, Blocks.bed, 0, 3); - world.setBlock(x + 6, y + -19, z + 9, Blocks.bed, 0, 3); - world.setBlock(x + 8, y + -19, z + 9, Blocks.bed, 0, 3); - world.setBlock(x + 10, y + -19, z + 9, Blocks.bed, 0, 3); - world.setBlock(x + 4, y + -19, z + 10, Blocks.bed, 8, 3); - world.setBlock(x + 6, y + -19, z + 10, Blocks.bed, 8, 3); - world.setBlock(x + 8, y + -19, z + 10, Blocks.bed, 8, 3); - world.setBlock(x + 10, y + -19, z + 10, Blocks.bed, 8, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned bunker at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemDoor; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Bunker extends WorldGenerator +{ + Block Block1 = ModBlocks.reinforced_brick; + Block Block2 = ModBlocks.brick_concrete; + Block Block3 = ModBlocks.reinforced_light; + Block Block4 = ModBlocks.block_steel; + Block Block5 = ModBlocks.block_tungsten; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.stone, + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + y += 1; + if(!LocationIsValidSpawn(world, x, y, z) || !LocationIsValidSpawn(world, x + 3, y, z) || !LocationIsValidSpawn(world, x + 3, y, z + 5) || !LocationIsValidSpawn(world, x, y, z + 5)) + { + return false; + } + + for(int i = 0; i < 11; i++) + { + for(int j = 0; j < 9; j++) + { + for(int k = 0; k < 15; k++) + { + world.setBlock(x + i, y + j - 25, z + k, Blocks.air, 0, 3); + } + } + } + + world.setBlock(x + 0, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -25, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -24, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + -24, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -24, z + 1, Blocks.chest, 3, 3); + world.setBlockMetadataWithNotify(x + 2, y + -24, z + 1, 3, 3); + if(world.getBlock(x + 2, y + -24, z + 1) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 2, y + -24, z + 1), rand.nextInt(2)+ 6); + } + world.setBlock(x + 3, y + -24, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + -24, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -24, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + -24, z + 2, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 1, y + -24, z + 5, 3, 3); + if(world.getBlock(x + 2, y + -24, z + 1) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 1, y + -24, z + 2), 8); + } + world.setBlock(x + 3, y + -24, z + 2, Blocks.chest, 4, 3); + world.setBlockMetadataWithNotify(x + 3, y + -24, z + 2, 4, 3); + if(world.getBlock(x + 3, y + -24, z + 2) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 3, y + -24, z + 2), 8); + } + world.setBlock(x + 4, y + -24, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -24, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + -24, z + 3, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 1, y + -24, z + 3, 5, 3); + if(world.getBlock(x + 1, y + -24, z + 3) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 1, y + -24, z + 3), 8); + } + world.setBlock(x + 3, y + -24, z + 3, Blocks.chest, 4, 3); + world.setBlockMetadataWithNotify(x + 3, y + -24, z + 3, 5, 3); + if(world.getBlock(x + 3, y + -24, z + 3) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 3, y + -24, z + 3), 8); + } + world.setBlock(x + 4, y + -24, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -24, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -24, z + 3, Blocks.iron_door, 5, 3); + ItemDoor.placeDoorBlock(world, x + 9, y + -24, z + 3, 5, Blocks.iron_door); + world.setBlock(x + 10, y + -24, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -24, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + -24, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + -24, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + -24, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 4, Blocks.cauldron, 0, 3); + world.setBlock(x + 11, y + -24, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 5, Block1, 0, 3); + world.setBlock(x + 1, y + -24, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + -24, z + 5, Blocks.iron_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 2, y + -24, z + 5, 3, Blocks.iron_door); + world.setBlock(x + 3, y + -24, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -24, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 5, Block2, 0, 3); + world.setBlock(x + 11, y + -24, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 6, Blocks.cauldron, 0, 3); + world.setBlock(x + 11, y + -24, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 7, Block2, 0, 3); + world.setBlock(x + 11, y + -24, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -24, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -24, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -24, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -24, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 8, Blocks.cauldron, 0, 3); + world.setBlock(x + 11, y + -24, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -24, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 9, Blocks.iron_door, 1, 3); + ItemDoor.placeDoorBlock(world, x + 7, y + -24, z + 9, 1, Blocks.iron_door); + world.setBlock(x + 10, y + -24, z + 9, Block2, 0, 3); + world.setBlock(x + 11, y + -24, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -24, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -24, z + 10, Blocks.hopper, 4, 3); + world.setBlock(x + 6, y + -24, z + 10, Blocks.cauldron, 0, 3); + world.setBlock(x + 7, y + -24, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 10, Blocks.cauldron, 0, 3); + world.setBlock(x + 11, y + -24, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -24, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -24, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 13, Block1, 0, 3); + world.setBlock(x + 11, y + -24, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -24, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -23, z + 0, Block3, 0, 3); + world.setBlock(x + 7, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -23, z + 0, Block3, 0, 3); + world.setBlock(x + 10, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + -23, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -23, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + -23, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + -23, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -23, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -23, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -23, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -23, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -23, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -23, z + 3, Block1, 0, 3); + //world.setBlock(x + 9, y + -23, z + 3, Blocks.iron_door, 8, 3); + world.setBlock(x + 10, y + -23, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + -23, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + -23, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + -23, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -23, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 5, Block1, 0, 3); + world.setBlock(x + 1, y + -23, z + 5, Block1, 0, 3); + //world.setBlock(x + 2, y + -23, z + 5, Blocks.iron_door, 8, 3); + world.setBlock(x + 3, y + -23, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -23, z + 5, Block3, 0, 3); + world.setBlock(x + 7, y + -23, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + -23, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -23, z + 7, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -23, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -23, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -23, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -23, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -23, z + 8, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -23, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -23, z + 9, Block3, 0, 3); + //world.setBlock(x + 7, y + -23, z + 9, Blocks.iron_door, 8, 3); + world.setBlock(x + 11, y + -23, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -23, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -23, z + 10, Blocks.trapdoor, 7, 3); + world.setBlock(x + 7, y + -23, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -23, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -23, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -23, z + 14, Block3, 0, 3); + world.setBlock(x + 5, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -23, z + 14, Block3, 0, 3); + world.setBlock(x + 8, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -23, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -22, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -22, z + 1, Block3, 0, 3); + world.setBlock(x + 3, y + -22, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + -22, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + -22, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 6, y + -22, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 9, y + -22, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -22, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -22, z + 2, Block1, 0, 3); + world.setBlock(x + 5, y + -22, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -22, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -22, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -22, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -22, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -22, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -22, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -22, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -22, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 4, Block2, 0, 3); + world.setBlock(x + 2, y + -22, z + 4, Block3, 0, 3); + world.setBlock(x + 3, y + -22, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + -22, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -22, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -22, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -22, z + 4, Block3, 0, 3); + world.setBlock(x + 11, y + -22, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 5, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + -22, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -22, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -22, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -22, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -22, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 6, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 6, y + -22, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 7, y + -22, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -22, z + 6, Block3, 0, 3); + world.setBlock(x + 11, y + -22, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + -22, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 6, y + -22, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 7, y + -22, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -22, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -22, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -22, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -22, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -22, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -22, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -22, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -22, z + 8, Block3, 0, 3); + world.setBlock(x + 11, y + -22, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -22, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -22, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -22, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 7, y + -22, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -22, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -22, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -22, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -22, z + 10, Block1, 0, 3); + world.setBlock(x + 8, y + -22, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -22, z + 10, Block3, 0, 3); + world.setBlock(x + 11, y + -22, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -22, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 5, y + -22, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -22, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 2, y + -22, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -22, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 6, y + -22, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 7, y + -22, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 8, y + -22, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -22, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -22, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + -20, z + 1, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 4, y + -20, z + 1, 5, 3); + if(world.getBlock(x + 4, y + -20, z + 1) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 4, y + -20, z + 1), 12); + } + world.setBlock(x + 8, y + -20, z + 1, Block4, 0, 3); + world.setBlock(x + 9, y + -20, z + 1, Block4, 0, 3); + world.setBlock(x + 10, y + -20, z + 1, Block4, 0, 3); + world.setBlock(x + 11, y + -20, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 2, Block4, 0, 3); + world.setBlock(x + 9, y + -20, z + 2, Block4, 0, 3); + world.setBlock(x + 10, y + -20, z + 2, Block4, 0, 3); + world.setBlock(x + 11, y + -20, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 3, Block4, 0, 3); + world.setBlock(x + 9, y + -20, z + 3, Block4, 0, 3); + world.setBlock(x + 10, y + -20, z + 3, Block4, 0, 3); + world.setBlock(x + 11, y + -20, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + -20, z + 4, Blocks.iron_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 5, y + -20, z + 4, 3, Blocks.iron_door); + world.setBlock(x + 6, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 6, Blocks.iron_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 3, y + -20, z + 6, 0, Blocks.iron_door); + world.setBlock(x + 11, y + -20, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 7, Blocks.iron_door, 1, 3); + ItemDoor.placeDoorBlock(world, x + 8, y + -20, z + 7, 1, Blocks.iron_door); + world.setBlock(x + 10, y + -20, z + 7, Blocks.iron_door, 1, 3); + ItemDoor.placeDoorBlock(world, x + 10, y + -20, z + 7, 1, Blocks.iron_door); + world.setBlock(x + 11, y + -20, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -20, z + 8, Blocks.iron_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 4, y + -20, z + 8, 3, Blocks.iron_door); + world.setBlock(x + 6, y + -20, z + 8, Blocks.iron_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 6, y + -20, z + 8, 3, Blocks.iron_door); + world.setBlock(x + 8, y + -20, z + 8, Blocks.iron_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 8, y + -20, z + 8, 3, Blocks.iron_door); + world.setBlock(x + 10, y + -20, z + 8, Blocks.iron_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 10, y + -20, z + 8, 3, Blocks.iron_door); + world.setBlock(x + 11, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 9, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 13, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -19, z + 0, Block3, 0, 3); + world.setBlock(x + 7, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -19, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 1, Block4, 0, 3); + world.setBlock(x + 9, y + -19, z + 1, Block4, 0, 3); + world.setBlock(x + 10, y + -19, z + 1, Block4, 0, 3); + world.setBlock(x + 11, y + -19, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 2, Block5, 0, 3); + world.setBlock(x + 8, y + -19, z + 2, Block5, 0, 3); + world.setBlock(x + 9, y + -19, z + 2, Block5, 0, 3); + world.setBlock(x + 10, y + -19, z + 2, Block5, 0, 3); + world.setBlock(x + 11, y + -19, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -19, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 8, y + -19, z + 3, Block4, 0, 3); + world.setBlock(x + 9, y + -19, z + 3, Block4, 0, 3); + world.setBlock(x + 10, y + -19, z + 3, Block4, 0, 3); + world.setBlock(x + 11, y + -19, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -19, z + 4, Block1, 0, 3); + //world.setBlock(x + 5, y + -19, z + 4, Blocks.iron_door, 8, 3); + world.setBlock(x + 6, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -19, z + 4, Block3, 0, 3); + world.setBlock(x + 10, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 6, Block1, 0, 3); + //world.setBlock(x + 3, y + -19, z + 6, Blocks.iron_door, 8, 3); + world.setBlock(x + 11, y + -19, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 7, Block3, 0, 3); + //world.setBlock(x + 8, y + -19, z + 7, Blocks.iron_door, 8, 3); + //world.setBlock(x + 10, y + -19, z + 7, Blocks.iron_door, 8, 3); + world.setBlock(x + 11, y + -19, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 8, Block1, 0, 3); + //world.setBlock(x + 4, y + -19, z + 8, Blocks.iron_door, 8, 3); + //world.setBlock(x + 6, y + -19, z + 8, Blocks.iron_door, 8, 3); + //world.setBlock(x + 8, y + -19, z + 8, Blocks.iron_door, 8, 3); + //world.setBlock(x + 10, y + -19, z + 8, Blocks.iron_door, 9, 3); + world.setBlock(x + 11, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 9, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -19, z + 11, Block3, 0, 3); + world.setBlock(x + 6, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -19, z + 11, Block3, 0, 3); + world.setBlock(x + 10, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -19, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 2, y + -18, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -18, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -18, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -18, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 8, y + -18, z + 2, Block4, 0, 3); + world.setBlock(x + 9, y + -18, z + 2, Block4, 0, 3); + world.setBlock(x + 10, y + -18, z + 2, Block4, 0, 3); + world.setBlock(x + 11, y + -18, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 3, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 8, y + -18, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 9, y + -18, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -18, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -18, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 9, y + -18, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -18, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -18, z + 7, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 3, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 8, y + -18, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 9, y + -18, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 7, y + -18, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 8, y + -18, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -18, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 13, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -18, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -16, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -16, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -16, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -16, z + 2, Block3, 0, 3); + world.setBlock(x + 3, y + -16, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -16, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -16, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -16, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -15, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -15, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -15, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -15, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -15, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -15, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -15, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -15, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -14, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -14, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -14, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -14, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -14, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -14, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -14, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -14, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -13, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -13, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -13, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -13, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -13, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -13, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -13, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -13, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -12, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -12, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -12, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -12, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -12, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -12, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -12, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -12, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -11, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -11, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -11, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -11, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -11, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -11, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -11, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -11, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -10, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -10, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -10, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -10, z + 2, Block3, 0, 3); + world.setBlock(x + 3, y + -10, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -10, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -10, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -10, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -9, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -9, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -9, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -9, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -9, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -9, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -9, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -9, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -8, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -8, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -8, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -8, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -8, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -8, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -8, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -8, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -7, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -7, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -7, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -7, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -7, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -7, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -7, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -7, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -6, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -6, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -6, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -6, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -6, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -6, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -6, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -6, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -5, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -5, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -5, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -5, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -5, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -5, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -5, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -5, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -4, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -4, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -4, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -4, z + 2, Block3, 0, 3); + world.setBlock(x + 3, y + -4, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -4, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -4, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -4, z + 3, Block2, 0, 3); + world.setBlock(x + 0, y + -3, z + 0, Block2, 0, 3); + world.setBlock(x + 1, y + -3, z + 0, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 0, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 0, Block2, 0, 3); + world.setBlock(x + 4, y + -3, z + 0, Block2, 0, 3); + world.setBlock(x + 0, y + -3, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -3, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + -3, z + 1, Block2, 0, 3); + world.setBlock(x + 0, y + -3, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -3, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + -3, z + 2, Block2, 0, 3); + world.setBlock(x + 0, y + -3, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -3, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + -3, z + 3, Block2, 0, 3); + world.setBlock(x + 0, y + -3, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + -3, z + 4, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + -3, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + -3, z + 5, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 5, Block2, 0, 3); + world.setBlock(x + 0, y + -2, z + 0, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 0, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 0, Block2, 0, 3); + world.setBlock(x + 3, y + -2, z + 0, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 0, Block2, 0, 3); + world.setBlock(x + 0, y + -2, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -2, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 1, Block2, 0, 3); + world.setBlock(x + 0, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 0, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 0, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 5, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + -2, z + 5, Block2, 0, 3); + world.setBlock(x + 0, y + -1, z + 0, Block2, 0, 3); + world.setBlock(x + 1, y + -1, z + 0, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 0, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 0, Block2, 0, 3); + world.setBlock(x + 4, y + -1, z + 0, Block2, 0, 3); + world.setBlock(x + 0, y + -1, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + -1, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + -1, z + 1, Block2, 0, 3); + world.setBlock(x + 0, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 0, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 0, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + -1, z + 5, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 5, Block2, 0, 3); + world.setBlock(x + 0, y + 0, z + 0, Block2, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, Block2, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Block2, 0, 3); + world.setBlock(x + 3, y + 0, z + 0, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 0, Block2, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 1, Block2, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + 0, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 2, Block2, 0, 3); + world.setBlock(x + 0, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 0, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 2, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, Block2, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, Block2, 0, 3); + world.setBlock(x + 2, y + 1, z + 0, Block2, 0, 3); + world.setBlock(x + 3, y + 1, z + 0, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 0, Block2, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 1, Block2, 0, 3); + world.setBlock(x + 0, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 0, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 0, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Block2, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 0, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 0, Block2, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, Block2, 0, 3); + world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 1, Block2, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 1, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Block3, 0, 3); + world.setBlock(x + 3, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 0, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 1, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 0, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 1, y + 2, z + 5, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 5, Block2, 0, 3); + world.setBlock(x + 1, y + 3, z + 0, Block2, 0, 3); + world.setBlock(x + 2, y + 3, z + 0, Block2, 0, 3); + world.setBlock(x + 3, y + 3, z + 0, Block2, 0, 3); + world.setBlock(x + 2, y + 3, z + 1, Blocks.trapdoor, 1, 3); + + generate_r02_last(world, rand, x, y, z); + return true; + + } + public boolean generate_r02_last(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 10, y + -24, z + 12, Blocks.ladder, 4, 3); + world.setBlock(x + 10, y + -24, z + 13, Blocks.ladder, 4, 3); + world.setBlock(x + 8, y + -23, z + 2, Blocks.lever, 12, 3); + world.setBlock(x + 10, y + -23, z + 4, Blocks.lever, 10, 3); + world.setBlock(x + 10, y + -23, z + 6, Blocks.lever, 10, 3); + world.setBlock(x + 10, y + -23, z + 8, Blocks.lever, 10, 3); + world.setBlock(x + 6, y + -23, z + 10, Blocks.lever, 12, 3); + world.setBlock(x + 10, y + -23, z + 10, Blocks.lever, 10, 3); + world.setBlock(x + 10, y + -23, z + 12, Blocks.ladder, 4, 3); + world.setBlock(x + 10, y + -23, z + 13, Blocks.ladder, 4, 3); + world.setBlock(x + 10, y + -22, z + 12, Blocks.ladder, 4, 3); + world.setBlock(x + 10, y + -22, z + 13, Blocks.ladder, 4, 3); + world.setBlock(x + 10, y + -21, z + 12, Blocks.ladder, 4, 3); + world.setBlock(x + 10, y + -21, z + 13, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -20, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 10, y + -20, z + 12, Blocks.ladder, 4, 3); + world.setBlock(x + 10, y + -20, z + 13, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -19, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -19, z + 5, Blocks.lever, 2, 3); + world.setBlock(x + 5, y + -19, z + 5, Blocks.wall_sign, 3, 3); + world.setBlock(x + 2, y + -18, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -17, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -16, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -15, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -14, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -13, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -12, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -11, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -10, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -9, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -8, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -7, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -6, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -5, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -4, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -3, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -2, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + -1, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + 0, z + 1, Blocks.ladder, 3, 3); + world.setBlock(x + 2, y + 0, z + 2, Blocks.ladder, 4, 3); + world.setBlock(x + 2, y + 1, z + 1, Blocks.ladder, 3, 3); + world.setBlock(x + 2, y + 2, z + 1, Blocks.ladder, 3, 3); + world.setBlock(x + 8, y + -20, z + 5, Blocks.bed, 10, 3); + world.setBlock(x + 10, y + -20, z + 5, Blocks.bed, 10, 3); + world.setBlock(x + 8, y + -20, z + 6, Blocks.bed, 2, 3); + world.setBlock(x + 10, y + -20, z + 6, Blocks.bed, 2, 3); + world.setBlock(x + 4, y + -20, z + 9, Blocks.bed, 0, 3); + world.setBlock(x + 6, y + -20, z + 9, Blocks.bed, 0, 3); + world.setBlock(x + 8, y + -20, z + 9, Blocks.bed, 0, 3); + world.setBlock(x + 10, y + -20, z + 9, Blocks.bed, 0, 3); + world.setBlock(x + 4, y + -20, z + 10, Blocks.bed, 8, 3); + world.setBlock(x + 6, y + -20, z + 10, Blocks.bed, 8, 3); + world.setBlock(x + 8, y + -20, z + 10, Blocks.bed, 8, 3); + world.setBlock(x + 10, y + -20, z + 10, Blocks.bed, 8, 3); + world.setBlock(x + 8, y + -19, z + 5, Blocks.bed, 10, 3); + world.setBlock(x + 10, y + -19, z + 5, Blocks.bed, 10, 3); + world.setBlock(x + 8, y + -19, z + 6, Blocks.bed, 2, 3); + world.setBlock(x + 10, y + -19, z + 6, Blocks.bed, 2, 3); + world.setBlock(x + 4, y + -19, z + 9, Blocks.bed, 0, 3); + world.setBlock(x + 6, y + -19, z + 9, Blocks.bed, 0, 3); + world.setBlock(x + 8, y + -19, z + 9, Blocks.bed, 0, 3); + world.setBlock(x + 10, y + -19, z + 9, Blocks.bed, 0, 3); + world.setBlock(x + 4, y + -19, z + 10, Blocks.bed, 8, 3); + world.setBlock(x + 6, y + -19, z + 10, Blocks.bed, 8, 3); + world.setBlock(x + 8, y + -19, z + 10, Blocks.bed, 8, 3); + world.setBlock(x + 10, y + -19, z + 10, Blocks.bed, 8, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned bunker at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/CrashedVertibird.java b/com/hbm/world/CrashedVertibird.java index 34d3a7bd8..5a97b84e2 100644 --- a/com/hbm/world/CrashedVertibird.java +++ b/com/hbm/world/CrashedVertibird.java @@ -1,426 +1,426 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class CrashedVertibird extends WorldGenerator -{ - Block Block1 = ModBlocks.block_steel; - Block Block2 = ModBlocks.block_tungsten; - Block Block3 = ModBlocks.reinforced_glass; - Block Block4 = ModBlocks.block_titanium; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - @Override - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - int yOffset = 8 + rand.nextInt(4); - - if(!LocationIsValidSpawn(world, x + 9, y, z + 9)) - { - return false; - } - - world.setBlock(x + 4, y + 0 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + 0 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + 0 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + 0 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + 1 - yOffset, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + 1 - yOffset, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + 1 - yOffset, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + 1 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + 1 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + 1 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 5, y + 1 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 6, y + 1 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + 1 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 1 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 5, y + 1 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 6, y + 1 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + 1 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 2 - yOffset, z + 0, Block3, 0, 3); - world.setBlock(x + 5, y + 2 - yOffset, z + 0, Block3, 0, 3); - world.setBlock(x + 3, y + 2 - yOffset, z + 1, Block3, 0, 3); - world.setBlock(x + 7, y + 2 - yOffset, z + 1, Block3, 0, 3); - world.setBlock(x + 3, y + 2 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + 2 - yOffset, z + 2, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 6, y + 2 - yOffset, z + 2, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 7, y + 2 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + 2 - yOffset, z + 3, Block4, 0, 3); - world.setBlock(x + 3, y + 2 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 2 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + 2 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 6, y + 2 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + 2 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 2 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 2 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 2 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + 2 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + 2 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 2 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 6, y + 2 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 4, y + 3 - yOffset, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + 3 - yOffset, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + 3 - yOffset, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + 3 - yOffset, z + 1, Block3, 0, 3); - world.setBlock(x + 4, y + 3 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + 3 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + 3 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + 3 - yOffset, z + 1, Block3, 0, 3); - world.setBlock(x + 3, y + 3 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + 3 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + 3 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + 3 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + 3 - yOffset, z + 4, Block4, 0, 3); - world.setBlock(x + 2, y + 3 - yOffset, z + 5, Block4, 0, 3); - world.setBlock(x + 7, y + 3 - yOffset, z + 5, Block4, 0, 3); - world.setBlock(x + 4, y + 3 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + 3 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + 3 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + 3 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + 3 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 3 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + 3 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 4, y + 4 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + 4 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + 4 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + 4 - yOffset, z + 2, Block3, 0, 3); - world.setBlock(x + 3, y + 4 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + 4 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + 4 - yOffset, z + 5, Block4, 0, 3); - world.setBlock(x + 2, y + 4 - yOffset, z + 6, Block4, 0, 3); - world.setBlock(x + 3, y + 4 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 4 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 2, y + 4 - yOffset, z + 7, Block4, 0, 3); - world.setBlock(x + 3, y + 4 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 4 - yOffset, z + 7, Blocks.chest, 2, 3); - if(world.getBlock(x + 6, y + 4 - yOffset, z + 7) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(6), (TileEntityChest)world.getTileEntity(x + 6, y + 4 - yOffset, z + 7), 8); - } - world.setBlock(x + 7, y + 4 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + 4 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 4 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 4 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + 4 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 4 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + 4 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + 5 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + 5 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 5, y + 5 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 6, y + 5 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + 5 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 5, y + 5 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 6, y + 5 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + 5 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + 5 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + 5 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + 5 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + 5 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + 5 - yOffset, z + 6, Block4, 0, 3); - world.setBlock(x + 3, y + 5 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 5 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 2, y + 5 - yOffset, z + 7, Block4, 0, 3); - world.setBlock(x + 3, y + 5 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + 5 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + 5 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 5 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 5 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + 5 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 5 - yOffset, z + 9, Block4, 0, 3); - world.setBlock(x + 6, y + 5 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + 6 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 1, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + 6 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 6 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + 6 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + 6 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 8, ModBlocks.machine_battery, 2, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 6, y + 7 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + 7 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + 7 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + 7 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + 7 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + 7 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 7 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + 7 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + 7 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 7 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + 7 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + 7 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 7 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + 7 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + 7 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 7 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 7, y + 7 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 10, Block4, 0, 3); - world.setBlock(x + 6, y + 7 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 11, Block4, 0, 3); - world.setBlock(x + 6, y + 7 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + 8 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + 8 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 13, y + 8 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + 8 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 8 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + 8 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 6, Blocks.chest, 2, 3); - if(world.getBlock(x + 5, y + 8 - yOffset, z + 6) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 5, y + 8 - yOffset, z + 6), 8); - } - world.setBlock(x + 6, y + 8 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 8 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + 8 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + 8 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 8 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + 8 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + 8 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 8 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + 8 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + 8 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 8 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 7, y + 8 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 10, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 8 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 7, y + 8 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 11, Block4, 0, 3); - world.setBlock(x + 6, y + 8 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + 8 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + 8 - yOffset, z + 12, Block1, 0, 3); - world.setBlock(x + 14, y + 9 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + 9 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + 9 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 9 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + 9 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + 9 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + 9 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + 9 - yOffset, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + 9 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + 9 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 9 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + 9 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + 9 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 9 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 9 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + 9 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + 9 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 9 - yOffset, z + 9, Block4, 0, 3); - world.setBlock(x + 6, y + 9 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 9 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 5, y + 9 - yOffset, z + 10, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 9 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 7, y + 9 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 9 - yOffset, z + 11, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 9 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + 9 - yOffset, z + 12, Block4, 0, 3); - world.setBlock(x + 6, y + 9 - yOffset, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + 9 - yOffset, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + 9 - yOffset, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + 9 - yOffset, z + 13, Block1, 0, 3); - world.setBlock(x + 14, y + 10 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 10 - yOffset, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 10, Block4, 0, 3); - world.setBlock(x + 6, y + 10 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + 10 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 12, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 10 - yOffset, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 13, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 10 - yOffset, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 15, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 17, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 18, Block1, 0, 3); - world.setBlock(x + 14, y + 11 - yOffset, z + 4, Block4, 0, 3); - world.setBlock(x + 12, y + 11 - yOffset, z + 5, Block4, 0, 3); - world.setBlock(x + 13, y + 11 - yOffset, z + 5, Block4, 0, 3); - world.setBlock(x + 14, y + 11 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 11 - yOffset, z + 5, Block4, 0, 3); - world.setBlock(x + 16, y + 11 - yOffset, z + 5, Block4, 0, 3); - world.setBlock(x + 17, y + 11 - yOffset, z + 5, Block4, 0, 3); - world.setBlock(x + 14, y + 11 - yOffset, z + 6, Block4, 0, 3); - world.setBlock(x + 14, y + 11 - yOffset, z + 7, Block4, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + 11 - yOffset, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + 11 - yOffset, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + 11 - yOffset, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 14, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 11 - yOffset, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + 11 - yOffset, z + 15, Block1, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 15, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 11 - yOffset, z + 15, Block1, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 16, Block1, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 17, Block1, 0, 3); - world.setBlock(x + 5, y + 11 - yOffset, z + 18, Block1, 0, 3); - world.setBlock(x + 5, y + 12 - yOffset, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + 12 - yOffset, z + 16, Block1, 0, 3); - world.setBlock(x + 4, y + 12 - yOffset, z + 16, Block1, 0, 3); - world.setBlock(x + 5, y + 12 - yOffset, z + 16, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 12 - yOffset, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + 12 - yOffset, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + 12 - yOffset, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + 12 - yOffset, z + 16, Block1, 0, 3); - world.setBlock(x + 4, y + 12 - yOffset, z + 17, Block1, 0, 3); - world.setBlock(x + 5, y + 12 - yOffset, z + 17, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 12 - yOffset, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + 12 - yOffset, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + 12 - yOffset, z + 17, Block1, 0, 3); - world.setBlock(x + 9, y + 12 - yOffset, z + 17, Block1, 0, 3); - world.setBlock(x + 10, y + 12 - yOffset, z + 17, Block1, 0, 3); - world.setBlock(x + 5, y + 13 - yOffset, z + 17, Block1, 0, 3); - - generate_r02_last(world, rand, x, y, z, yOffset); - return true; - - } - public boolean generate_r02_last(World world, Random rand, int x, int y, int z, int yOffset) - { - - world.setBlock(x + 4, y + 1 - yOffset, z + 1, Blocks.lever, 3, 3); - world.setBlock(x + 6, y + 1 - yOffset, z + 1, Blocks.lever, 3, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned crashed Vertibird at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class CrashedVertibird extends WorldGenerator +{ + Block Block1 = ModBlocks.block_steel; + Block Block2 = ModBlocks.block_tungsten; + Block Block3 = ModBlocks.reinforced_glass; + Block Block4 = ModBlocks.block_titanium; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + @Override + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + int yOffset = 8 + rand.nextInt(4); + + if(!LocationIsValidSpawn(world, x + 9, y, z + 9)) + { + return false; + } + + world.setBlock(x + 4, y + 0 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + 0 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + 0 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + 0 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + 1 - yOffset, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + 1 - yOffset, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + 1 - yOffset, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + 1 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + 1 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + 1 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 5, y + 1 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 6, y + 1 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + 1 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 1 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 5, y + 1 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 6, y + 1 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + 1 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 2 - yOffset, z + 0, Block3, 0, 3); + world.setBlock(x + 5, y + 2 - yOffset, z + 0, Block3, 0, 3); + world.setBlock(x + 3, y + 2 - yOffset, z + 1, Block3, 0, 3); + world.setBlock(x + 7, y + 2 - yOffset, z + 1, Block3, 0, 3); + world.setBlock(x + 3, y + 2 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + 2 - yOffset, z + 2, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 6, y + 2 - yOffset, z + 2, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 7, y + 2 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + 2 - yOffset, z + 3, Block4, 0, 3); + world.setBlock(x + 3, y + 2 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 2 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + 2 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 6, y + 2 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + 2 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 2 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 2 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 2 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + 2 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + 2 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 2 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 6, y + 2 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 4, y + 3 - yOffset, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + 3 - yOffset, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + 3 - yOffset, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + 3 - yOffset, z + 1, Block3, 0, 3); + world.setBlock(x + 4, y + 3 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + 3 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + 3 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + 3 - yOffset, z + 1, Block3, 0, 3); + world.setBlock(x + 3, y + 3 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + 3 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + 3 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + 3 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + 3 - yOffset, z + 4, Block4, 0, 3); + world.setBlock(x + 2, y + 3 - yOffset, z + 5, Block4, 0, 3); + world.setBlock(x + 7, y + 3 - yOffset, z + 5, Block4, 0, 3); + world.setBlock(x + 4, y + 3 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + 3 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + 3 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + 3 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + 3 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 3 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + 3 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 4, y + 4 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + 4 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + 4 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + 4 - yOffset, z + 2, Block3, 0, 3); + world.setBlock(x + 3, y + 4 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + 4 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + 4 - yOffset, z + 5, Block4, 0, 3); + world.setBlock(x + 2, y + 4 - yOffset, z + 6, Block4, 0, 3); + world.setBlock(x + 3, y + 4 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 4 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 2, y + 4 - yOffset, z + 7, Block4, 0, 3); + world.setBlock(x + 3, y + 4 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 4 - yOffset, z + 7, Blocks.chest, 2, 3); + if(world.getBlock(x + 6, y + 4 - yOffset, z + 7) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(6), (TileEntityChest)world.getTileEntity(x + 6, y + 4 - yOffset, z + 7), 8); + } + world.setBlock(x + 7, y + 4 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + 4 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 4 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 4 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + 4 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 4 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + 4 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + 5 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + 5 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 5, y + 5 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 6, y + 5 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + 5 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 5, y + 5 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 6, y + 5 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + 5 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + 5 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + 5 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + 5 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + 5 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + 5 - yOffset, z + 6, Block4, 0, 3); + world.setBlock(x + 3, y + 5 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 5 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 2, y + 5 - yOffset, z + 7, Block4, 0, 3); + world.setBlock(x + 3, y + 5 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + 5 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + 5 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 5 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 5 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + 5 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 5 - yOffset, z + 9, Block4, 0, 3); + world.setBlock(x + 6, y + 5 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + 6 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 1, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + 6 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 6 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + 6 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + 6 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 8, ModBlocks.machine_battery, 2, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 6, y + 7 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + 7 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + 7 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + 7 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + 7 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + 7 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 7 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + 7 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + 7 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 7 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + 7 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + 7 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 7 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + 7 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + 7 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 7 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 7, y + 7 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 10, Block4, 0, 3); + world.setBlock(x + 6, y + 7 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 11, Block4, 0, 3); + world.setBlock(x + 6, y + 7 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + 8 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + 8 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 13, y + 8 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + 8 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 8 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + 8 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 6, Blocks.chest, 2, 3); + if(world.getBlock(x + 5, y + 8 - yOffset, z + 6) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 5, y + 8 - yOffset, z + 6), 8); + } + world.setBlock(x + 6, y + 8 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 8 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + 8 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + 8 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 8 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + 8 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + 8 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 8 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + 8 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + 8 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 8 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 7, y + 8 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 10, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 8 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 7, y + 8 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 11, Block4, 0, 3); + world.setBlock(x + 6, y + 8 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + 8 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + 8 - yOffset, z + 12, Block1, 0, 3); + world.setBlock(x + 14, y + 9 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + 9 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + 9 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 9 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + 9 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + 9 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + 9 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + 9 - yOffset, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + 9 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + 9 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 9 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + 9 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + 9 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 9 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 9 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + 9 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + 9 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 9 - yOffset, z + 9, Block4, 0, 3); + world.setBlock(x + 6, y + 9 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 9 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 5, y + 9 - yOffset, z + 10, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 9 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 7, y + 9 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 9 - yOffset, z + 11, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 9 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + 9 - yOffset, z + 12, Block4, 0, 3); + world.setBlock(x + 6, y + 9 - yOffset, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + 9 - yOffset, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + 9 - yOffset, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + 9 - yOffset, z + 13, Block1, 0, 3); + world.setBlock(x + 14, y + 10 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 10 - yOffset, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 10, Block4, 0, 3); + world.setBlock(x + 6, y + 10 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + 10 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 12, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 10 - yOffset, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 13, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 10 - yOffset, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 15, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 17, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 18, Block1, 0, 3); + world.setBlock(x + 14, y + 11 - yOffset, z + 4, Block4, 0, 3); + world.setBlock(x + 12, y + 11 - yOffset, z + 5, Block4, 0, 3); + world.setBlock(x + 13, y + 11 - yOffset, z + 5, Block4, 0, 3); + world.setBlock(x + 14, y + 11 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 11 - yOffset, z + 5, Block4, 0, 3); + world.setBlock(x + 16, y + 11 - yOffset, z + 5, Block4, 0, 3); + world.setBlock(x + 17, y + 11 - yOffset, z + 5, Block4, 0, 3); + world.setBlock(x + 14, y + 11 - yOffset, z + 6, Block4, 0, 3); + world.setBlock(x + 14, y + 11 - yOffset, z + 7, Block4, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + 11 - yOffset, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + 11 - yOffset, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + 11 - yOffset, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 14, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 11 - yOffset, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + 11 - yOffset, z + 15, Block1, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 15, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 11 - yOffset, z + 15, Block1, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 16, Block1, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 17, Block1, 0, 3); + world.setBlock(x + 5, y + 11 - yOffset, z + 18, Block1, 0, 3); + world.setBlock(x + 5, y + 12 - yOffset, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + 12 - yOffset, z + 16, Block1, 0, 3); + world.setBlock(x + 4, y + 12 - yOffset, z + 16, Block1, 0, 3); + world.setBlock(x + 5, y + 12 - yOffset, z + 16, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 12 - yOffset, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + 12 - yOffset, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + 12 - yOffset, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + 12 - yOffset, z + 16, Block1, 0, 3); + world.setBlock(x + 4, y + 12 - yOffset, z + 17, Block1, 0, 3); + world.setBlock(x + 5, y + 12 - yOffset, z + 17, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 12 - yOffset, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + 12 - yOffset, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + 12 - yOffset, z + 17, Block1, 0, 3); + world.setBlock(x + 9, y + 12 - yOffset, z + 17, Block1, 0, 3); + world.setBlock(x + 10, y + 12 - yOffset, z + 17, Block1, 0, 3); + world.setBlock(x + 5, y + 13 - yOffset, z + 17, Block1, 0, 3); + + generate_r02_last(world, rand, x, y, z, yOffset); + return true; + + } + public boolean generate_r02_last(World world, Random rand, int x, int y, int z, int yOffset) + { + + world.setBlock(x + 4, y + 1 - yOffset, z + 1, Blocks.lever, 3, 3); + world.setBlock(x + 6, y + 1 - yOffset, z + 1, Blocks.lever, 3, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned crashed Vertibird at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/DesertAtom001.java b/com/hbm/world/DesertAtom001.java index 5d123fb8a..74d89fd15 100644 --- a/com/hbm/world/DesertAtom001.java +++ b/com/hbm/world/DesertAtom001.java @@ -1,1123 +1,1123 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class DesertAtom001 extends WorldGenerator -{ - Block Block1 = ModBlocks.brick_concrete; - Block Block2 = ModBlocks.yellow_barrel; - Block Block3 = ModBlocks.reinforced_sand; - Block Block4 = ModBlocks.nuke_man; - Block Block5 = ModBlocks.block_steel; - Block Block6 = ModBlocks.brick_light; - Block Block7 = ModBlocks.block_tungsten; - Block Block8 = ModBlocks.steel_poles; - Block Block9 = ModBlocks.tape_recorder; - Block Block10 = ModBlocks.machine_nuke_furnace_off; - Block Block11 = ModBlocks.reinforced_glass; - Block Block12 = ModBlocks.reinforced_lamp_off; - Block Block13 = ModBlocks.pole_satellite_receiver; - Block Block14 = ModBlocks.machine_generator; - Block Block15 = ModBlocks.block_titanium; - Block Block16 = ModBlocks.machine_reactor; - Block Block17 = ModBlocks.ore_schrabidium; - Block Block18 = ModBlocks.waste_planks; - Block Block19 = ModBlocks.machine_centrifuge; - Block Block20 = ModBlocks.machine_uf6_tank; - Block Block21 = ModBlocks.machine_puf6_tank; - Block Block22 = ModBlocks.reinforced_brick; - Block Block23 = ModBlocks.waste_earth; - Block Block24 = ModBlocks.block_lead; - Block Block25 = ModBlocks.red_wire_coated; - Block Block26 = ModBlocks.block_uranium; - Block Block27 = ModBlocks.pole_top; - Block Block28 = ModBlocks.machine_battery; - Block Block29 = ModBlocks.machine_electric_furnace_off; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.sand, - Blocks.sandstone, - Blocks.stone, - Blocks.hardened_clay, - Blocks.stained_hardened_clay, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - @Override - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x + 20, y, z + 16)) - { - return false; - } - - world.setBlock(x + 6, y + -5, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 11, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 17, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 18, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 19, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 19, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 19, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 20, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 20, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 20, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 21, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 21, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 21, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -4, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -4, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -4, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 10, Block2, 0, 3); - world.setBlock(x + 8, y + -4, z + 10, Block2, 0, 3); - world.setBlock(x + 9, y + -4, z + 10, Block2, 0, 3); - world.setBlock(x + 10, y + -4, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -4, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -4, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 11, Block2, 0, 3); - world.setBlock(x + 7, y + -4, z + 11, Block2, 0, 3); - world.setBlock(x + 8, y + -4, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -4, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -4, z + 11, Block2, 0, 3); - world.setBlock(x + 11, y + -4, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -4, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 12, Block2, 0, 3); - world.setBlock(x + 7, y + -4, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -4, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -4, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -4, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -4, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -4, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -4, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -4, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -4, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -4, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -4, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -4, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 14, Block2, 0, 3); - world.setBlock(x + 8, y + -4, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -4, z + 14, Blocks.chest, 2, 3); - if(world.getBlock(x + 9, y + -4, z + 14) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(5), (TileEntityChest)world.getTileEntity(x + 9, y + -4, z + 14), 10); - } - world.setBlock(x + 10, y + -4, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -4, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 15, Blocks.water, 8, 3); - world.setBlock(x + 9, y + -4, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -4, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 16, Blocks.water, 8, 3); - world.setBlock(x + 9, y + -4, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 17, Blocks.water, 8, 3); - world.setBlock(x + 9, y + -4, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 18, Blocks.water, 8, 3); - world.setBlock(x + 9, y + -4, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 19, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 19, Blocks.water, 8, 3); - world.setBlock(x + 9, y + -4, z + 19, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 20, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 20, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 20, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -4, z + 20, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 20, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 21, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 21, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 21, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 21, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 21, Blocks.water, 8, 3); - world.setBlock(x + 9, y + -4, z + 21, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 21, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 21, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 21, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 22, Block3, 0, 3); - world.setBlock(x + 3, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 13, y + -4, z + 23, Block3, 0, 3); - world.setBlock(x + 3, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 13, y + -4, z + 24, Block3, 0, 3); - world.setBlock(x + 3, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 13, y + -4, z + 25, Block3, 0, 3); - world.setBlock(x + 3, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 13, y + -4, z + 26, Block3, 0, 3); - world.setBlock(x + 3, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 13, y + -4, z + 27, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 28, Block3, 0, 3); - world.setBlock(x + 4, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 5, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 11, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 12, y + -4, z + 29, Block3, 0, 3); - world.setBlock(x + 6, y + -4, z + 30, Block3, 0, 3); - world.setBlock(x + 7, y + -4, z + 30, Block3, 0, 3); - world.setBlock(x + 8, y + -4, z + 30, Block3, 0, 3); - world.setBlock(x + 9, y + -4, z + 30, Block3, 0, 3); - world.setBlock(x + 10, y + -4, z + 30, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 10, Block2, 0, 3); - world.setBlock(x + 8, y + -3, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 16, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 17, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 18, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 19, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 19, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 19, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 20, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 20, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 20, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 20, Block3, 0, 3); - world.setBlock(x + 10, y + -3, z + 20, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 21, Block3, 0, 3); - world.setBlock(x + 5, y + -3, z + 21, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 21, Block3, 0, 3); - world.setBlock(x + 12, y + -3, z + 21, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 22, Block3, 0, 3); - world.setBlock(x + 5, y + -3, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -3, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -3, z + 22, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 23, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -3, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -3, z + 23, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 24, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -3, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -3, z + 24, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 25, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -3, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -3, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 25, Block4, 2, 3); - world.setBlock(x + 9, y + -3, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -3, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -3, z + 25, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 26, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -3, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -3, z + 26, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 27, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -3, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -3, z + 27, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 28, Block3, 0, 3); - world.setBlock(x + 5, y + -3, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -3, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -3, z + 28, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 5, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -3, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -3, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -3, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -3, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 12, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 9, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 10, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 3, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 7, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 8, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 9, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 12, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 13, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 14, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 15, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 0, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 1, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 1, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 2, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 2, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 8, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 9, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 12, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 13, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 14, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 15, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 3, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 8, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 9, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 12, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 13, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 14, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 15, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 4, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 5, Block3, 0, 3); - world.setBlock(x + 8, y + -2, z + 5, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 5, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 5, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 5, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 6, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 6, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 6, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 6, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 7, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 7, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 7, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 7, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 8, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 8, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 8, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 8, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 9, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 11, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 9, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 9, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 9, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 10, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 12, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 10, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 10, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 10, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 11, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 12, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 11, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 11, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 11, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 12, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 12, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 12, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 12, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 12, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 13, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 13, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 13, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 13, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 14, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 12, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 14, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 14, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 14, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 15, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 11, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 15, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 15, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 15, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 16, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 16, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 16, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 16, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 17, Block3, 0, 3); - world.setBlock(x + 7, y + -2, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 17, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 17, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 17, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 17, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 17, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 18, Block3, 0, 3); - world.setBlock(x + 7, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 18, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 18, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 18, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 19, Block3, 0, 3); - world.setBlock(x + 7, y + -2, z + 19, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 19, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 19, Block1, 0, 3); - world.setBlock(x + 38, y + -2, z + 19, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 19, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 19, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 7, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 8, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 9, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 21, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 12, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -2, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 22, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 3, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -2, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 3, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -2, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 3, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -2, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 3, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -2, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 3, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 5, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -2, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 13, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -2, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -2, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -2, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -2, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -2, z + 29, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 12, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 7, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 8, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 9, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 17, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 18, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 19, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 20, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 21, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 22, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 23, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 24, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 25, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 26, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 27, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 28, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 29, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 30, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 31, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 32, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 33, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 34, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 35, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 36, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 37, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 38, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 39, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 40, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 32, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 32, Block3, 0, 3); - world.setBlock(x + 0, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 3, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 7, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 8, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 9, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 12, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 13, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 14, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 15, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 16, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 1, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 0, Block3, 0, 3); - - new DesertAtom002().generate_r00(world, rand, x, y, z); - return true; - - } +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class DesertAtom001 extends WorldGenerator +{ + Block Block1 = ModBlocks.brick_concrete; + Block Block2 = ModBlocks.yellow_barrel; + Block Block3 = ModBlocks.reinforced_sand; + Block Block4 = ModBlocks.nuke_man; + Block Block5 = ModBlocks.block_steel; + Block Block6 = ModBlocks.brick_light; + Block Block7 = ModBlocks.block_tungsten; + Block Block8 = ModBlocks.steel_poles; + Block Block9 = ModBlocks.tape_recorder; + Block Block10 = ModBlocks.machine_nuke_furnace_off; + Block Block11 = ModBlocks.reinforced_glass; + Block Block12 = ModBlocks.reinforced_lamp_off; + Block Block13 = ModBlocks.pole_satellite_receiver; + Block Block14 = ModBlocks.machine_generator; + Block Block15 = ModBlocks.block_titanium; + Block Block16 = ModBlocks.machine_reactor; + Block Block17 = ModBlocks.ore_schrabidium; + Block Block18 = ModBlocks.waste_planks; + Block Block19 = ModBlocks.machine_centrifuge; + Block Block20 = ModBlocks.machine_uf6_tank; + Block Block21 = ModBlocks.machine_puf6_tank; + Block Block22 = ModBlocks.reinforced_brick; + Block Block23 = ModBlocks.waste_earth; + Block Block24 = ModBlocks.block_lead; + Block Block25 = ModBlocks.red_wire_coated; + Block Block26 = ModBlocks.block_uranium; + Block Block27 = ModBlocks.pole_top; + Block Block28 = ModBlocks.machine_battery; + Block Block29 = ModBlocks.machine_electric_furnace_off; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.sand, + Blocks.sandstone, + Blocks.stone, + Blocks.hardened_clay, + Blocks.stained_hardened_clay, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + @Override + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x + 20, y, z + 16)) + { + return false; + } + + world.setBlock(x + 6, y + -5, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 11, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 17, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 18, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 19, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 19, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 19, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 20, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 20, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 20, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 21, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 21, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 21, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -4, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -4, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -4, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 10, Block2, 0, 3); + world.setBlock(x + 8, y + -4, z + 10, Block2, 0, 3); + world.setBlock(x + 9, y + -4, z + 10, Block2, 0, 3); + world.setBlock(x + 10, y + -4, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -4, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -4, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 11, Block2, 0, 3); + world.setBlock(x + 7, y + -4, z + 11, Block2, 0, 3); + world.setBlock(x + 8, y + -4, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -4, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -4, z + 11, Block2, 0, 3); + world.setBlock(x + 11, y + -4, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -4, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 12, Block2, 0, 3); + world.setBlock(x + 7, y + -4, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -4, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -4, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -4, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -4, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -4, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -4, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -4, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -4, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -4, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -4, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -4, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 14, Block2, 0, 3); + world.setBlock(x + 8, y + -4, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -4, z + 14, Blocks.chest, 2, 3); + if(world.getBlock(x + 9, y + -4, z + 14) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(5), (TileEntityChest)world.getTileEntity(x + 9, y + -4, z + 14), 10); + } + world.setBlock(x + 10, y + -4, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -4, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 15, Blocks.water, 8, 3); + world.setBlock(x + 9, y + -4, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -4, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 16, Blocks.water, 8, 3); + world.setBlock(x + 9, y + -4, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 17, Blocks.water, 8, 3); + world.setBlock(x + 9, y + -4, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 18, Blocks.water, 8, 3); + world.setBlock(x + 9, y + -4, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 19, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 19, Blocks.water, 8, 3); + world.setBlock(x + 9, y + -4, z + 19, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 20, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 20, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 20, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -4, z + 20, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 20, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 21, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 21, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 21, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 21, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 21, Blocks.water, 8, 3); + world.setBlock(x + 9, y + -4, z + 21, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 21, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 21, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 21, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 22, Block3, 0, 3); + world.setBlock(x + 3, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 13, y + -4, z + 23, Block3, 0, 3); + world.setBlock(x + 3, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 13, y + -4, z + 24, Block3, 0, 3); + world.setBlock(x + 3, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 13, y + -4, z + 25, Block3, 0, 3); + world.setBlock(x + 3, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 13, y + -4, z + 26, Block3, 0, 3); + world.setBlock(x + 3, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 13, y + -4, z + 27, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 28, Block3, 0, 3); + world.setBlock(x + 4, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 5, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 11, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 12, y + -4, z + 29, Block3, 0, 3); + world.setBlock(x + 6, y + -4, z + 30, Block3, 0, 3); + world.setBlock(x + 7, y + -4, z + 30, Block3, 0, 3); + world.setBlock(x + 8, y + -4, z + 30, Block3, 0, 3); + world.setBlock(x + 9, y + -4, z + 30, Block3, 0, 3); + world.setBlock(x + 10, y + -4, z + 30, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 10, Block2, 0, 3); + world.setBlock(x + 8, y + -3, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 16, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 17, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 18, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 19, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 19, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 19, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 20, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 20, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 20, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 20, Block3, 0, 3); + world.setBlock(x + 10, y + -3, z + 20, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 21, Block3, 0, 3); + world.setBlock(x + 5, y + -3, z + 21, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 21, Block3, 0, 3); + world.setBlock(x + 12, y + -3, z + 21, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 22, Block3, 0, 3); + world.setBlock(x + 5, y + -3, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -3, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -3, z + 22, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 23, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -3, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -3, z + 23, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 24, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -3, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -3, z + 24, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 25, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -3, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -3, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 25, Block4, 2, 3); + world.setBlock(x + 9, y + -3, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -3, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -3, z + 25, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 26, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -3, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -3, z + 26, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 27, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -3, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -3, z + 27, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 28, Block3, 0, 3); + world.setBlock(x + 5, y + -3, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -3, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -3, z + 28, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 5, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -3, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -3, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -3, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -3, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 12, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 9, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 10, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 3, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 7, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 8, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 9, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 12, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 13, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 14, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 15, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 0, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 1, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 1, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 2, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 2, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 8, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 9, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 12, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 13, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 14, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 15, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 3, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 8, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 9, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 12, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 13, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 14, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 15, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 4, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 5, Block3, 0, 3); + world.setBlock(x + 8, y + -2, z + 5, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 5, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 5, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 5, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 6, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 6, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 6, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 6, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 7, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 7, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 7, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 7, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 8, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 8, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 8, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 8, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 9, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 11, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 9, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 9, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 9, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 10, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 12, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 10, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 10, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 10, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 11, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 12, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 11, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 11, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 11, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 12, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 12, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 12, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 12, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 12, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 13, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 13, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 13, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 13, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 14, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 12, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 14, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 14, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 14, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 15, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 11, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 15, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 15, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 15, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 16, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 16, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 16, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 16, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 17, Block3, 0, 3); + world.setBlock(x + 7, y + -2, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 17, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 17, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 17, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 17, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 17, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 18, Block3, 0, 3); + world.setBlock(x + 7, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 18, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 18, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 18, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 19, Block3, 0, 3); + world.setBlock(x + 7, y + -2, z + 19, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 19, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 19, Block1, 0, 3); + world.setBlock(x + 38, y + -2, z + 19, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 19, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 19, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 7, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 8, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 9, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 21, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 12, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -2, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 22, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 3, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -2, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 3, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -2, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 3, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -2, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 3, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -2, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 3, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 5, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -2, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 13, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -2, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -2, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -2, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -2, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -2, z + 29, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 12, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 7, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 8, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 9, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 17, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 18, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 19, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 20, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 21, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 22, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 23, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 24, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 25, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 26, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 27, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 28, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 29, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 30, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 31, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 32, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 33, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 34, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 35, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 36, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 37, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 38, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 39, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 40, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 32, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 32, Block3, 0, 3); + world.setBlock(x + 0, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 3, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 7, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 8, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 9, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 12, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 13, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 14, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 15, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 16, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 1, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 0, Block3, 0, 3); + + new DesertAtom002().generate_r00(world, rand, x, y, z); + return true; + + } } \ No newline at end of file diff --git a/com/hbm/world/DesertAtom002.java b/com/hbm/world/DesertAtom002.java index 5fad1986a..4232e5ebf 100644 --- a/com/hbm/world/DesertAtom002.java +++ b/com/hbm/world/DesertAtom002.java @@ -1,2583 +1,2583 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S.SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; - -import net.minecraft.block.Block; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemDoor; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; - -public class DesertAtom002 -{ - Block Block1 = ModBlocks.brick_concrete; - Block Block2 = ModBlocks.yellow_barrel; - Block Block3 = ModBlocks.reinforced_sand; - Block Block4 = ModBlocks.nuke_man; - Block Block5 = ModBlocks.block_steel; - Block Block6 = ModBlocks.brick_light; - Block Block7 = ModBlocks.block_tungsten; - Block Block8 = ModBlocks.steel_poles; - Block Block9 = ModBlocks.tape_recorder; - Block Block10 = ModBlocks.machine_nuke_furnace_off; - Block Block11 = ModBlocks.reinforced_glass; - Block Block12 = ModBlocks.reinforced_lamp_off; - Block Block13 = ModBlocks.pole_satellite_receiver; - Block Block14 = ModBlocks.machine_generator; - Block Block15 = ModBlocks.block_titanium; - Block Block16 = ModBlocks.machine_reactor; - Block Block17 = ModBlocks.ore_schrabidium; - Block Block18 = ModBlocks.waste_planks; - Block Block19 = ModBlocks.machine_centrifuge; - Block Block20 = ModBlocks.machine_uf6_tank; - Block Block21 = ModBlocks.machine_puf6_tank; - Block Block22 = ModBlocks.reinforced_brick; - Block Block23 = ModBlocks.waste_earth; - Block Block24 = ModBlocks.block_lead; - Block Block25 = ModBlocks.red_wire_coated; - Block Block26 = ModBlocks.block_uranium; - Block Block27 = ModBlocks.pole_top; - Block Block28 = ModBlocks.machine_battery; - Block Block29 = ModBlocks.machine_electric_furnace_off; - - public boolean generate_r00(World world, Random rand, int x, int y, int z) - { - world.setBlock(x + 7, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 9, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 11, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 12, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 13, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 14, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 15, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 16, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 17, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 18, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 19, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 20, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 21, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 22, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 23, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 24, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 25, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 26, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 27, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 28, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 29, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 30, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 31, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 32, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 33, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 34, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 35, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 36, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 37, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 38, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 39, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 40, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 1, Block3, 0, 3); - world.setBlock(x + 40, y + -1, z + 1, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 2, Block3, 0, 3); - world.setBlock(x + 40, y + -1, z + 2, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 3, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 9, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 10, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 11, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 12, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 13, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 14, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 15, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 16, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 17, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 18, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 19, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 20, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 21, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 22, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 23, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 24, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 25, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 26, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 27, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 28, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 29, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 30, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 31, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 32, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 33, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 34, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 35, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 36, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 37, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 38, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 3, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 3, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 4, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 9, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 10, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 11, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 12, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 13, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 14, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 15, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 16, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 17, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 18, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 19, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 20, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 21, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 22, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 23, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 24, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 25, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 26, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 27, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 28, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 29, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 30, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 31, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 32, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 33, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 34, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 35, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 36, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 37, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 38, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 4, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 4, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 5, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 5, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 5, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 5, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 5, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 5, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 5, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 5, Block5, 0, 3); - world.setBlock(x + 38, y + -1, z + 5, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 5, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 5, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 6, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 6, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 6, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 6, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 6, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 6, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 6, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 6, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 6, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 6, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 6, Blocks.gravel, 0, 3); - world.setBlock(x + 0, y + -1, z + 7, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 7, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 7, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 7, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 7, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 7, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 7, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 7, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 7, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 7, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 7, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 7, Blocks.gravel, 0, 3); - world.setBlock(x + 0, y + -1, z + 8, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 8, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 8, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 8, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 8, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 8, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 8, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 8, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 8, Blocks.gravel, 0, 3); - world.setBlock(x + 0, y + -1, z + 9, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 9, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 9, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 9, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 9, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 9, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 9, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 9, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 9, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 9, Blocks.gravel, 0, 3); - world.setBlock(x + 0, y + -1, z + 10, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 10, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 10, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 10, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 10, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 10, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 10, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 10, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 10, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 11, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 11, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 11, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 11, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 11, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 12, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 12, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 12, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 12, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 12, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 12, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 13, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 13, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 13, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 13, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 13, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 13, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 13, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 13, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 14, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 14, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 14, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 14, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 14, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 14, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 14, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 14, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 14, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 14, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 15, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 15, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 15, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 15, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 15, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 15, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 15, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 15, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 15, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 15, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 15, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 16, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 16, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 16, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 16, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 16, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 16, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 16, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 17, Block3, 0, 3); - world.setBlock(x + 16, y + -1, z + 17, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 18, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 19, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 20, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 21, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 22, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 23, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 24, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 25, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 26, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 27, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 28, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 29, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 30, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 31, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 32, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 33, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 34, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 35, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 36, y + -1, z + 17, Block6, 0, 3); - world.setBlock(x + 37, y + -1, z + 17, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 17, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 17, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 17, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 18, Block3, 0, 3); - world.setBlock(x + 16, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 18, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 19, Block3, 0, 3); - world.setBlock(x + 38, y + -1, z + 19, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 19, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 19, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 20, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 20, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 20, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 20, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 20, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 20, Block5, 0, 3); - world.setBlock(x + 38, y + -1, z + 20, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 20, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 20, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 21, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 21, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 21, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 21, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 21, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 21, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 22, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 22, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 22, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 22, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 22, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 22, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 22, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 22, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 22, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 22, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 23, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 23, Block5, 0, 3); - world.setBlock(x + 4, y + -1, z + 23, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -1, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 23, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -1, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + -1, z + 23, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 23, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 23, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 23, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 24, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 24, Block5, 0, 3); - world.setBlock(x + 4, y + -1, z + 24, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -1, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 24, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -1, z + 24, Block5, 0, 3); - world.setBlock(x + 13, y + -1, z + 24, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 24, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 24, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 24, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 24, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 25, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 25, Block5, 0, 3); - world.setBlock(x + 4, y + -1, z + 25, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -1, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 25, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -1, z + 25, Block5, 0, 3); - world.setBlock(x + 13, y + -1, z + 25, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 25, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 25, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 25, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 25, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 26, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 26, Block5, 0, 3); - world.setBlock(x + 4, y + -1, z + 26, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -1, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 26, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -1, z + 26, Block5, 0, 3); - world.setBlock(x + 13, y + -1, z + 26, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 26, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 26, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 26, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 26, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 27, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 27, Block5, 0, 3); - world.setBlock(x + 4, y + -1, z + 27, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 6, y + -1, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 27, Blocks.water, 0, 3); - world.setBlock(x + 12, y + -1, z + 27, Block5, 0, 3); - world.setBlock(x + 13, y + -1, z + 27, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 27, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 27, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 27, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 27, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 28, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 28, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 28, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 7, y + -1, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 8, y + -1, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 9, y + -1, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 10, y + -1, z + 28, Blocks.water, 0, 3); - world.setBlock(x + 11, y + -1, z + 28, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 28, Block5, 0, 3); - world.setBlock(x + 16, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 23, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 24, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 25, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 26, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 27, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 28, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 29, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 30, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 31, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 32, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 33, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 34, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 35, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 36, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 37, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 38, y + -1, z + 28, Blocks.gravel, 0, 3); - world.setBlock(x + 39, y + -1, z + 28, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + -1, z + 28, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 29, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 5, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 6, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 11, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 12, y + -1, z + 29, Block5, 0, 3); - world.setBlock(x + 40, y + -1, z + 29, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 30, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 30, Block5, 0, 3); - world.setBlock(x + 7, y + -1, z + 30, Block5, 0, 3); - world.setBlock(x + 8, y + -1, z + 30, Block5, 0, 3); - world.setBlock(x + 9, y + -1, z + 30, Block5, 0, 3); - world.setBlock(x + 10, y + -1, z + 30, Block5, 0, 3); - world.setBlock(x + 40, y + -1, z + 30, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 16, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 17, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 18, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 19, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 20, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 21, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 22, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 23, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 24, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 25, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 26, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 27, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 28, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 29, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 30, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 31, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 32, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 33, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 34, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 35, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 36, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 37, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 38, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 39, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 40, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 32, Block3, 0, 3); - world.setBlock(x + 16, y + -1, z + 32, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 1, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 7, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 9, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 11, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 12, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 13, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 14, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 15, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 16, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 0, y + 0, z + 0, Block5, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 24, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 25, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 26, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 27, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 28, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 29, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 30, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 31, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 32, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 33, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 34, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 35, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 36, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 37, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 38, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 39, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 0, z + 0, Block5, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 0, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 0, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 0, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 0, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 0, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 6, Block5, 0, 3); - world.setBlock(x + 7, y + 0, z + 6, Block5, 0, 3); - world.setBlock(x + 8, y + 0, z + 6, Block5, 0, 3); - world.setBlock(x + 9, y + 0, z + 6, Block5, 0, 3); - world.setBlock(x + 10, y + 0, z + 6, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 37, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 6, Block5, 0, 3); - world.setBlock(x + 0, y + 0, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 7, Block5, 0, 3); - world.setBlock(x + 7, y + 0, z + 7, Block5, 0, 3); - world.setBlock(x + 8, y + 0, z + 7, Block5, 0, 3); - world.setBlock(x + 9, y + 0, z + 7, Block5, 0, 3); - world.setBlock(x + 10, y + 0, z + 7, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 18, y + 0, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 19, y + 0, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 20, y + 0, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 21, y + 0, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 22, y + 0, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 29, y + 0, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 31, y + 0, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 32, y + 0, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 0, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 7, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 0, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + 0, z + 8, Block5, 0, 3); - world.setBlock(x + 8, y + 0, z + 8, Block5, 0, 3); - world.setBlock(x + 9, y + 0, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + 0, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 8, Blocks.web, 0, 3); - //world.setBlock(x + 37, y + 0, z + 8, Blocks.iron_door, 2, 3); - ItemDoor.placeDoorBlock(world, x + 37, y + 0, z + 8, 2, Blocks.iron_door); - world.setBlock(x + 40, y + 0, z + 8, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 0, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 0, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 9, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 10, y + 0, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 0, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 27, y + 0, z + 9, Blocks.web, 0, 3); - //world.setBlock(x + 37, y + 0, z + 9, Blocks.iron_door, 2, 3); - ItemDoor.placeDoorBlock(world, x + 37, y + 0, z + 9, 2, Blocks.iron_door); - world.setBlock(x + 40, y + 0, z + 9, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 0, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 0, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 0, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 0, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 0, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 0, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 0, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 0, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 0, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 21, y + 0, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 23, y + 0, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 24, y + 0, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 27, y + 0, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 28, y + 0, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 29, y + 0, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 31, y + 0, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 35, y + 0, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 37, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 10, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 0, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 0, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 0, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 0, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 0, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 11, Block1, 0, 3); - //world.setBlock(x + 21, y + 0, z + 11, Blocks.iron_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 21, y + 0, z + 11, 0, Blocks.iron_door); - world.setBlock(x + 22, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 23, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 25, y + 0, z + 11, Block1, 0, 3); - //world.setBlock(x + 26, y + 0, z + 11, Blocks.wooden_door, 1, 3); - ItemDoor.placeDoorBlock(world, x + 26, y + 0, z + 11, 1, Blocks.wooden_door); - world.setBlock(x + 27, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 28, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 29, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 30, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 31, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 32, y + 0, z + 11, Block1, 0, 3); - //world.setBlock(x + 33, y + 0, z + 11, Blocks.wooden_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 33, y + 0, z + 11, 0, Blocks.wooden_door); - world.setBlock(x + 34, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 35, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 36, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 37, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 11, Block5, 0, 3); - world.setBlock(x + 0, y + 0, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 12, Block5, 0, 3); - world.setBlock(x + 5, y + 0, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 0, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 0, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 0, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 0, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 0, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 12, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 18, y + 0, z + 12, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 19, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 21, y + 0, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 22, y + 0, z + 12, Block7, 0, 3); - world.setBlock(x + 23, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 12, Block5, 0, 3); - world.setBlock(x + 25, y + 0, z + 12, Blocks.vine, 2, 3); - world.setBlock(x + 27, y + 0, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 28, y + 0, z + 12, Block8, 3, 3); - world.setBlock(x + 29, y + 0, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 31, y + 0, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 0, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 36, y + 0, z + 12, Blocks.chest, 3, 3); - if(world.getBlock(x + 36, y + 0, z + 12) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 36, y + 0, z + 12), 8); - } - world.setBlock(x + 37, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 13, Block5, 0, 3); - world.setBlock(x + 5, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 0, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 0, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 0, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 0, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 22, y + 0, z + 13, Blocks.chest, 4, 3); - if(world.getBlock(x + 22, y + 0, z + 13) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 22, y + 0, z + 13), 8); - } - world.setBlock(x + 23, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 13, Block9, 5, 3); - world.setBlock(x + 30, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 31, y + 0, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 14, Block5, 0, 3); - world.setBlock(x + 5, y + 0, z + 14, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 0, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 0, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 0, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 0, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 0, z + 14, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 22, y + 0, z + 14, Block7, 0, 3); - world.setBlock(x + 23, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 14, Block9, 5, 3); - world.setBlock(x + 29, y + 0, z + 14, Blocks.oak_stairs, 7, 3); - world.setBlock(x + 30, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 31, y + 0, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 35, y + 0, z + 14, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 36, y + 0, z + 14, Blocks.stonebrick, 0, 3); - world.setBlock(x + 37, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 0, z + 15, Block5, 0, 3); - world.setBlock(x + 6, y + 0, z + 15, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 15, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 15, Block2, 0, 3); - world.setBlock(x + 9, y + 0, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 0, z + 15, Block2, 0, 3); - world.setBlock(x + 11, y + 0, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 21, y + 0, z + 15, Blocks.vine, 8, 3); - world.setBlock(x + 22, y + 0, z + 15, Block8, 4, 3); - world.setBlock(x + 23, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 15, Block9, 5, 3); - world.setBlock(x + 25, y + 0, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 27, y + 0, z + 15, Blocks.oak_stairs, 1, 3); - world.setBlock(x + 29, y + 0, z + 15, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 30, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 31, y + 0, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 35, y + 0, z + 15, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 36, y + 0, z + 15, Blocks.stonebrick, 0, 3); - world.setBlock(x + 37, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 0, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 0, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + 0, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + 0, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 16, Blocks.vine, 2, 3); - world.setBlock(x + 21, y + 0, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 22, y + 0, z + 16, Block10, 4, 3); - world.setBlock(x + 23, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 16, Block5, 0, 3); - world.setBlock(x + 29, y + 0, z + 16, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 30, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 35, y + 0, z + 16, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 36, y + 0, z + 16, Blocks.stonebrick, 0, 3); - world.setBlock(x + 37, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 0, z + 17, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 17, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 17, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 17, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 0, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 0, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 0, z + 17, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 17, Block5, 0, 3); - world.setBlock(x + 27, y + 0, z + 17, Blocks.oak_stairs, 5, 3); - world.setBlock(x + 28, y + 0, z + 17, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 29, y + 0, z + 17, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 30, y + 0, z + 17, Block1, 0, 3); - world.setBlock(x + 31, y + 0, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 35, y + 0, z + 17, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 36, y + 0, z + 17, Blocks.stonebrick, 0, 3); - world.setBlock(x + 37, y + 0, z + 17, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 22, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 26, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 28, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 29, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 33, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 34, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 35, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 36, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 37, y + 0, z + 18, Block1, 0, 3); - world.setBlock(x + 40, y + 0, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 0, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 20, Block8, 2, 3); - world.setBlock(x + 7, y + 0, z + 20, Block8, 2, 3); - world.setBlock(x + 8, y + 0, z + 20, Block8, 2, 3); - world.setBlock(x + 9, y + 0, z + 20, Block8, 2, 3); - world.setBlock(x + 10, y + 0, z + 20, Block8, 2, 3); - world.setBlock(x + 40, y + 0, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 21, Block5, 0, 3); - world.setBlock(x + 5, y + 0, z + 21, Block8, 2, 3); - world.setBlock(x + 11, y + 0, z + 21, Block8, 2, 3); - world.setBlock(x + 12, y + 0, z + 21, Block5, 0, 3); - world.setBlock(x + 29, y + 0, z + 21, Block2, 0, 3); - world.setBlock(x + 40, y + 0, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 22, Block8, 4, 3); - world.setBlock(x + 12, y + 0, z + 22, Block8, 5, 3); - world.setBlock(x + 17, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 19, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 22, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 25, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 26, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 28, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 29, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 30, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 35, y + 0, z + 22, Block2, 0, 3); - world.setBlock(x + 40, y + 0, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 23, Block8, 4, 3); - world.setBlock(x + 13, y + 0, z + 23, Block8, 5, 3); - world.setBlock(x + 17, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 18, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 19, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 23, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 25, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 29, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 30, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 34, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 35, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 36, y + 0, z + 23, Block2, 0, 3); - world.setBlock(x + 40, y + 0, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 24, Block8, 4, 3); - world.setBlock(x + 13, y + 0, z + 24, Block8, 5, 3); - world.setBlock(x + 21, y + 0, z + 24, Block2, 0, 3); - world.setBlock(x + 22, y + 0, z + 24, Block2, 0, 3); - world.setBlock(x + 23, y + 0, z + 24, Block2, 0, 3); - world.setBlock(x + 26, y + 0, z + 24, Block2, 0, 3); - world.setBlock(x + 33, y + 0, z + 24, Block2, 0, 3); - world.setBlock(x + 34, y + 0, z + 24, Block2, 0, 3); - world.setBlock(x + 35, y + 0, z + 24, Block2, 0, 3); - world.setBlock(x + 40, y + 0, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 25, Block8, 4, 3); - world.setBlock(x + 13, y + 0, z + 25, Block8, 5, 3); - world.setBlock(x + 17, y + 0, z + 25, Block2, 0, 3); - world.setBlock(x + 29, y + 0, z + 25, Blocks.flower_pot, 0, 3); - world.setBlock(x + 40, y + 0, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 26, Block8, 4, 3); - world.setBlock(x + 13, y + 0, z + 26, Block8, 5, 3); - world.setBlock(x + 19, y + 0, z + 26, Block2, 0, 3); - world.setBlock(x + 20, y + 0, z + 26, Block2, 0, 3); - world.setBlock(x + 21, y + 0, z + 26, Block2, 0, 3); - world.setBlock(x + 24, y + 0, z + 26, Blocks.chest, 2, 3); - if(world.getBlock(x + 24, y + 0, z + 26) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(4), (TileEntityChest)world.getTileEntity(x + 24, y + 0, z + 26), 8); - } - world.setBlock(x + 25, y + 0, z + 26, Block2, 0, 3); - world.setBlock(x + 30, y + 0, z + 26, Block2, 0, 3); - world.setBlock(x + 35, y + 0, z + 26, Block2, 0, 3); - world.setBlock(x + 40, y + 0, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 27, Block8, 4, 3); - world.setBlock(x + 13, y + 0, z + 27, Block8, 5, 3); - world.setBlock(x + 18, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 19, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 20, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 21, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 23, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 24, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 25, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 26, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 29, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 30, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 31, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 35, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 36, y + 0, z + 27, Block2, 0, 3); - world.setBlock(x + 40, y + 0, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 28, Block8, 4, 3); - world.setBlock(x + 12, y + 0, z + 28, Block8, 5, 3); - world.setBlock(x + 24, y + 0, z + 28, Block2, 0, 3); - world.setBlock(x + 25, y + 0, z + 28, Block2, 0, 3); - world.setBlock(x + 26, y + 0, z + 28, Block2, 0, 3); - world.setBlock(x + 29, y + 0, z + 28, Block2, 0, 3); - world.setBlock(x + 30, y + 0, z + 28, Block2, 0, 3); - world.setBlock(x + 40, y + 0, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 29, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 29, Block5, 0, 3); - world.setBlock(x + 5, y + 0, z + 29, Block8, 3, 3); - world.setBlock(x + 11, y + 0, z + 29, Block8, 3, 3); - world.setBlock(x + 12, y + 0, z + 29, Block5, 0, 3); - world.setBlock(x + 40, y + 0, z + 29, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 30, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 30, Block8, 3, 3); - world.setBlock(x + 7, y + 0, z + 30, Block8, 3, 3); - world.setBlock(x + 8, y + 0, z + 30, Block8, 3, 3); - world.setBlock(x + 9, y + 0, z + 30, Block8, 3, 3); - world.setBlock(x + 10, y + 0, z + 30, Block8, 3, 3); - world.setBlock(x + 40, y + 0, z + 30, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 0, z + 31, Block5, 0, 3); - world.setBlock(x + 17, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 24, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 25, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 26, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 27, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 28, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 29, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 30, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 31, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 32, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 33, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 34, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 35, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 36, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 37, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 38, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 39, y + 0, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 0, z + 31, Block5, 0, 3); - world.setBlock(x + 0, y + 0, z + 32, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 0, z + 32, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 33, Block5, 0, 3); - world.setBlock(x + 1, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 0, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 0, z + 33, Block5, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, Block5, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 24, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 25, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 26, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 27, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 28, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 29, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 30, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 31, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 32, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 33, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 34, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 35, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 36, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 37, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 38, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 39, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 1, z + 0, Block5, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 1, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 1, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 1, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 1, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 1, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 6, Block11, 0, 3); - world.setBlock(x + 19, y + 1, z + 6, Block11, 0, 3); - world.setBlock(x + 20, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + 1, z + 6, Block11, 0, 3); - world.setBlock(x + 23, y + 1, z + 6, Blocks.vine, 2, 3); - world.setBlock(x + 24, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 1, z + 6, Block11, 0, 3); - world.setBlock(x + 27, y + 1, z + 6, Block11, 0, 3); - world.setBlock(x + 28, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 1, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 32, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 1, z + 6, Block11, 0, 3); - world.setBlock(x + 36, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 37, y + 1, z + 6, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 6, Block5, 0, 3); - world.setBlock(x + 0, y + 1, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 1, z + 7, Block8, 2, 3); - world.setBlock(x + 9, y + 1, z + 7, Block8, 2, 3); - world.setBlock(x + 16, y + 1, z + 7, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 7, Blocks.vine, 2, 3); - world.setBlock(x + 20, y + 1, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 21, y + 1, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 22, y + 1, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 29, y + 1, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 31, y + 1, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 33, y + 1, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 1, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 1, z + 7, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 7, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 1, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 1, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + 1, z + 8, Block5, 0, 3); - world.setBlock(x + 8, y + 1, z + 8, Block5, 0, 3); - world.setBlock(x + 9, y + 1, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + 1, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 8, Block1, 0, 3); - //world.setBlock(x + 37, y + 1, z + 8, Blocks.iron_door, 9, 3); - //ItemDoor.placeDoorBlock(world, x + 37, y + 1, z + 8, 9, Blocks.iron_door); - world.setBlock(x + 40, y + 1, z + 8, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 1, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + 1, z + 9, Blocks.water, 0, 3); - - generate_r01(world, rand, x, y, z); - return true; - - } - public boolean generate_r01(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 7, y + 1, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 1, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 1, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 1, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 1, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 9, Block1, 0, 3); - //world.setBlock(x + 37, y + 1, z + 9, Blocks.iron_door, 8, 3); - //ItemDoor.placeDoorBlock(world, x + 37, y + 1, z + 9, 8, Blocks.iron_door); - world.setBlock(x + 40, y + 1, z + 9, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 1, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 1, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 1, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 10, Block1, 0, 3); - world.setBlock(x + 21, y + 1, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 23, y + 1, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 24, y + 1, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 27, y + 1, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 1, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 35, y + 1, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 37, y + 1, z + 10, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 10, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 1, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 1, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 1, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 11, Block1, 0, 3); - //world.setBlock(x + 21, y + 1, z + 11, Blocks.iron_door, 8, 3); - //ItemDoor.placeDoorBlock(world, x + 21, y + 1, z + 11, 8, Blocks.iron_door); - world.setBlock(x + 22, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 23, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 24, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 25, y + 1, z + 11, Block1, 0, 3); - //world.setBlock(x + 26, y + 1, z + 11, Blocks.wooden_door, 8, 3); - //ItemDoor.placeDoorBlock(world, x + 26, y + 1, z + 11, 8, Blocks.wooden_door); - world.setBlock(x + 27, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 28, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 29, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 30, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 31, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 32, y + 1, z + 11, Block1, 0, 3); - //world.setBlock(x + 33, y + 1, z + 11, Blocks.wooden_door, 8, 3); - //ItemDoor.placeDoorBlock(world, x + 33, y + 1, z + 11, 8, Blocks.wooden_door); - world.setBlock(x + 34, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 35, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 36, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 37, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 11, Block5, 0, 3); - world.setBlock(x + 0, y + 1, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 1, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 21, y + 1, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 22, y + 1, z + 12, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 23, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 24, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 25, y + 1, z + 12, Blocks.vine, 2, 3); - world.setBlock(x + 27, y + 1, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 28, y + 1, z + 12, Block8, 3, 3); - world.setBlock(x + 30, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 31, y + 1, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 1, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 36, y + 1, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 37, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 13, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 1, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 1, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 13, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 18, y + 1, z + 13, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 19, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 22, y + 1, z + 13, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 23, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 24, y + 1, z + 13, Block9, 5, 3); - world.setBlock(x + 25, y + 1, z + 13, Blocks.vine, 2, 3); - world.setBlock(x + 30, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 36, y + 1, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 14, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 1, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 1, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 22, y + 1, z + 14, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 23, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 24, y + 1, z + 14, Block5, 0, 3); - world.setBlock(x + 29, y + 1, z + 14, Blocks.trapdoor, 4, 3); - world.setBlock(x + 30, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 31, y + 1, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 36, y + 1, z + 14, Block9, 4, 3); - world.setBlock(x + 37, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 15, Block5, 0, 3); - world.setBlock(x + 6, y + 1, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 1, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 1, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 1, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 1, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 1, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 21, y + 1, z + 15, Blocks.vine, 8, 3); - world.setBlock(x + 22, y + 1, z + 15, Block8, 4, 3); - world.setBlock(x + 23, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 24, y + 1, z + 15, Block5, 0, 3); - world.setBlock(x + 25, y + 1, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 29, y + 1, z + 15, Block12, 0, 3); - world.setBlock(x + 30, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 31, y + 1, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 35, y + 1, z + 15, Blocks.flower_pot, 0, 3); - world.setBlock(x + 36, y + 1, z + 15, Block9, 4, 3); - world.setBlock(x + 37, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 1, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 1, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 1, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + 1, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + 1, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 16, Blocks.chest, 2, 3); - if(world.getBlock(x + 18, y + 1, z + 16) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 18, y + 1, z + 16), 8); - } - world.setBlock(x + 19, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 16, Blocks.vine, 2, 3); - world.setBlock(x + 22, y + 1, z + 16, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 23, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 24, y + 1, z + 16, Block9, 5, 3); - world.setBlock(x + 29, y + 1, z + 16, Blocks.trapdoor, 5, 3); - world.setBlock(x + 30, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 36, y + 1, z + 16, Block9, 4, 3); - world.setBlock(x + 37, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 1, z + 17, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 17, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 17, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 17, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 1, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 1, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 1, z + 17, Block1, 0, 3); - world.setBlock(x + 24, y + 1, z + 17, Block5, 0, 3); - world.setBlock(x + 28, y + 1, z + 17, Blocks.flower_pot, 0, 3); - world.setBlock(x + 29, y + 1, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 1, z + 17, Block1, 0, 3); - world.setBlock(x + 35, y + 1, z + 17, Blocks.vine, 3, 3); - world.setBlock(x + 36, y + 1, z + 17, Block9, 4, 3); - world.setBlock(x + 37, y + 1, z + 17, Block1, 0, 3); - world.setBlock(x + 40, y + 1, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 1, z + 18, Block11, 0, 3); - world.setBlock(x + 22, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + 1, z + 18, Block11, 0, 3); - world.setBlock(x + 27, y + 1, z + 18, Block13, 4, 3); - world.setBlock(x + 28, y + 1, z + 18, Block11, 0, 3); - world.setBlock(x + 29, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 1, z + 18, Block11, 0, 3); - world.setBlock(x + 33, y + 1, z + 18, Blocks.flower_pot, 0, 3); - world.setBlock(x + 35, y + 1, z + 18, Block11, 0, 3); - world.setBlock(x + 36, y + 1, z + 18, Block1, 0, 3); - world.setBlock(x + 37, y + 1, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + 1, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 1, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 1, z + 20, Block5, 0, 3); - world.setBlock(x + 7, y + 1, z + 20, Block5, 0, 3); - world.setBlock(x + 8, y + 1, z + 20, Block5, 0, 3); - world.setBlock(x + 9, y + 1, z + 20, Block5, 0, 3); - world.setBlock(x + 10, y + 1, z + 20, Block5, 0, 3); - world.setBlock(x + 40, y + 1, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 21, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 21, Block5, 0, 3); - world.setBlock(x + 11, y + 1, z + 21, Block5, 0, 3); - world.setBlock(x + 12, y + 1, z + 21, Block5, 0, 3); - world.setBlock(x + 40, y + 1, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 22, Block5, 0, 3); - world.setBlock(x + 12, y + 1, z + 22, Block5, 0, 3); - world.setBlock(x + 29, y + 1, z + 22, Block2, 0, 3); - world.setBlock(x + 40, y + 1, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 23, Block5, 0, 3); - world.setBlock(x + 17, y + 1, z + 23, Block2, 0, 3); - world.setBlock(x + 25, y + 1, z + 23, Block2, 0, 3); - world.setBlock(x + 35, y + 1, z + 23, Block2, 0, 3); - world.setBlock(x + 40, y + 1, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 24, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 24, Block5, 0, 3); - world.setBlock(x + 23, y + 1, z + 24, Block2, 0, 3); - world.setBlock(x + 40, y + 1, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 25, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 25, Block5, 0, 3); - world.setBlock(x + 40, y + 1, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 26, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 26, Block5, 0, 3); - world.setBlock(x + 40, y + 1, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 27, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 27, Block5, 0, 3); - world.setBlock(x + 19, y + 1, z + 27, Block2, 0, 3); - world.setBlock(x + 20, y + 1, z + 27, Block2, 0, 3); - world.setBlock(x + 21, y + 1, z + 27, Block2, 0, 3); - world.setBlock(x + 24, y + 1, z + 27, Block2, 0, 3); - world.setBlock(x + 25, y + 1, z + 27, Block2, 0, 3); - world.setBlock(x + 30, y + 1, z + 27, Block2, 0, 3); - world.setBlock(x + 35, y + 1, z + 27, Block2, 0, 3); - world.setBlock(x + 40, y + 1, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 28, Block5, 0, 3); - world.setBlock(x + 12, y + 1, z + 28, Block5, 0, 3); - world.setBlock(x + 25, y + 1, z + 28, Block2, 0, 3); - world.setBlock(x + 40, y + 1, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 29, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 29, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 29, Block5, 0, 3); - world.setBlock(x + 11, y + 1, z + 29, Block5, 0, 3); - world.setBlock(x + 12, y + 1, z + 29, Block5, 0, 3); - world.setBlock(x + 40, y + 1, z + 29, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 30, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 1, z + 30, Block5, 0, 3); - world.setBlock(x + 7, y + 1, z + 30, Block5, 0, 3); - world.setBlock(x + 8, y + 1, z + 30, Block5, 0, 3); - world.setBlock(x + 9, y + 1, z + 30, Block5, 0, 3); - world.setBlock(x + 10, y + 1, z + 30, Block5, 0, 3); - world.setBlock(x + 40, y + 1, z + 30, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 1, z + 31, Block5, 0, 3); - world.setBlock(x + 17, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 24, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 25, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 26, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 27, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 28, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 29, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 30, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 31, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 32, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 33, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 34, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 35, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 36, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 37, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 38, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 39, y + 1, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 1, z + 31, Block5, 0, 3); - world.setBlock(x + 0, y + 1, z + 32, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 1, z + 32, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 33, Block5, 0, 3); - world.setBlock(x + 1, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 1, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 1, z + 33, Block5, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Block5, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 24, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 25, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 26, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 27, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 28, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 29, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 30, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 31, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 32, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 33, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 34, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 35, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 36, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 37, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 38, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 39, y + 2, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 2, z + 0, Block5, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 2, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 2, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 2, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 2, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 2, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 37, y + 2, z + 6, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 6, Block5, 0, 3); - world.setBlock(x + 0, y + 2, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 2, z + 7, Block8, 2, 3); - world.setBlock(x + 9, y + 2, z + 7, Block8, 2, 3); - world.setBlock(x + 16, y + 2, z + 7, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 7, Blocks.vine, 2, 3); - world.setBlock(x + 18, y + 2, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 19, y + 2, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 20, y + 2, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 21, y + 2, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 24, y + 2, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 27, y + 2, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 2, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 31, y + 2, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 32, y + 2, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 35, y + 2, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 2, z + 7, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 7, Block5, 0, 3); - world.setBlock(x + 0, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 8, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 9, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 8, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 26, y + 2, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 2, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 2, z + 8, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 8, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 2, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 2, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 2, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 2, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 2, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 2, z + 9, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 2, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 9, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 32, y + 2, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 2, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 2, z + 9, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 9, Blocks.fence, 0, 3); - world.setBlock(x + 0, y + 2, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 2, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 10, Block1, 0, 3); - world.setBlock(x + 21, y + 2, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 22, y + 2, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 2, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 24, y + 2, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 25, y + 2, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 2, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 32, y + 2, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 34, y + 2, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 35, y + 2, z + 10, Blocks.vine, 1, 3); - world.setBlock(x + 37, y + 2, z + 10, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 0, y + 2, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 2, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 22, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 23, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 25, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 26, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 27, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 28, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 29, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 30, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 31, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 32, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 33, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 34, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 35, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 36, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 37, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 0, y + 2, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 2, z + 12, Block14, 0, 3); - world.setBlock(x + 9, y + 2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 2, z + 12, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 21, y + 2, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 22, y + 2, z + 12, Block9, 4, 3); - world.setBlock(x + 23, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 25, y + 2, z + 12, Blocks.vine, 2, 3); - world.setBlock(x + 27, y + 2, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 28, y + 2, z + 12, Block8, 3, 3); - world.setBlock(x + 29, y + 2, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 31, y + 2, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 33, y + 2, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 35, y + 2, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 2, z + 12, Blocks.vine, 4, 3); - world.setBlock(x + 37, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 2, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 22, y + 2, z + 13, Block9, 4, 3); - world.setBlock(x + 23, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 25, y + 2, z + 13, Blocks.vine, 2, 3); - world.setBlock(x + 29, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 31, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 14, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 6, y + 2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 2, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 12, y + 2, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 14, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 14, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 18, y + 2, z + 14, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 19, y + 2, z + 14, Block1, 0, 3); - world.setBlock(x + 22, y + 2, z + 14, Block9, 4, 3); - world.setBlock(x + 23, y + 2, z + 14, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 14, Block9, 5, 3); - world.setBlock(x + 29, y + 2, z + 14, Blocks.vine, 8, 3); - world.setBlock(x + 30, y + 2, z + 14, Block1, 0, 3); - world.setBlock(x + 36, y + 2, z + 14, Blocks.stone_brick_stairs, 0, 3); - world.setBlock(x + 37, y + 2, z + 14, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 2, z + 15, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 2, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 2, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 9, y + 2, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 2, z + 15, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 2, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 21, y + 2, z + 15, Blocks.vine, 8, 3); - world.setBlock(x + 22, y + 2, z + 15, Block5, 0, 3); - world.setBlock(x + 23, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 15, Block9, 5, 3); - world.setBlock(x + 27, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 2, z + 15, Blocks.trapdoor, 2, 3); - world.setBlock(x + 30, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 31, y + 2, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 36, y + 2, z + 15, Blocks.stone_brick_stairs, 0, 3); - world.setBlock(x + 37, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 2, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 2, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + 2, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + 2, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 21, y + 2, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 22, y + 2, z + 16, Block9, 4, 3); - world.setBlock(x + 23, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 16, Block5, 0, 3); - world.setBlock(x + 25, y + 2, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 2, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 31, y + 2, z + 16, Blocks.vine, 2, 3); - world.setBlock(x + 35, y + 2, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 2, z + 16, Blocks.stone_brick_stairs, 0, 3); - world.setBlock(x + 37, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 2, z + 17, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 17, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 17, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 17, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 2, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 2, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 2, z + 17, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 17, Block5, 0, 3); - world.setBlock(x + 28, y + 2, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 2, z + 17, Block1, 0, 3); - world.setBlock(x + 31, y + 2, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 34, y + 2, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 35, y + 2, z + 17, Blocks.vine, 3, 3); - world.setBlock(x + 36, y + 2, z + 17, Blocks.stone_brick_stairs, 0, 3); - world.setBlock(x + 37, y + 2, z + 17, Block1, 0, 3); - world.setBlock(x + 40, y + 2, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 2, z + 18, Block11, 0, 3); - world.setBlock(x + 22, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + 2, z + 18, Block11, 0, 3); - world.setBlock(x + 28, y + 2, z + 18, Block11, 0, 3); - world.setBlock(x + 29, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 2, z + 18, Block11, 0, 3); - world.setBlock(x + 34, y + 2, z + 18, Block11, 0, 3); - world.setBlock(x + 35, y + 2, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 36, y + 2, z + 18, Block1, 0, 3); - world.setBlock(x + 37, y + 2, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + 2, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 2, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 20, Block15, 0, 3); - world.setBlock(x + 7, y + 2, z + 20, Block15, 0, 3); - world.setBlock(x + 8, y + 2, z + 20, Block15, 0, 3); - world.setBlock(x + 9, y + 2, z + 20, Block15, 0, 3); - world.setBlock(x + 10, y + 2, z + 20, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 21, Block15, 0, 3); - world.setBlock(x + 5, y + 2, z + 21, Block15, 0, 3); - world.setBlock(x + 11, y + 2, z + 21, Block15, 0, 3); - world.setBlock(x + 12, y + 2, z + 21, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 22, Block15, 0, 3); - world.setBlock(x + 12, y + 2, z + 22, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 2, z + 23, Block15, 0, 3); - world.setBlock(x + 13, y + 2, z + 23, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 2, z + 24, Block15, 0, 3); - world.setBlock(x + 13, y + 2, z + 24, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 2, z + 25, Block15, 0, 3); - world.setBlock(x + 13, y + 2, z + 25, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 2, z + 26, Block15, 0, 3); - world.setBlock(x + 13, y + 2, z + 26, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 2, z + 27, Block15, 0, 3); - world.setBlock(x + 13, y + 2, z + 27, Block15, 0, 3); - world.setBlock(x + 24, y + 2, z + 27, Block2, 0, 3); - world.setBlock(x + 40, y + 2, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 28, Block15, 0, 3); - world.setBlock(x + 12, y + 2, z + 28, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 29, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 29, Block15, 0, 3); - world.setBlock(x + 5, y + 2, z + 29, Block15, 0, 3); - world.setBlock(x + 11, y + 2, z + 29, Block15, 0, 3); - world.setBlock(x + 12, y + 2, z + 29, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 29, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 30, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 30, Block15, 0, 3); - world.setBlock(x + 7, y + 2, z + 30, Block15, 0, 3); - world.setBlock(x + 8, y + 2, z + 30, Block15, 0, 3); - world.setBlock(x + 9, y + 2, z + 30, Block15, 0, 3); - world.setBlock(x + 10, y + 2, z + 30, Block15, 0, 3); - world.setBlock(x + 40, y + 2, z + 30, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 2, z + 31, Block5, 0, 3); - world.setBlock(x + 17, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 24, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 25, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 26, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 27, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 28, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 29, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 30, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 31, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 32, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 33, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 34, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 35, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 36, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 37, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 38, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 39, y + 2, z + 31, Blocks.iron_bars, 0, 3); - world.setBlock(x + 40, y + 2, z + 31, Block5, 0, 3); - world.setBlock(x + 0, y + 2, z + 32, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 2, z + 32, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 2, z + 33, Block5, 0, 3); - world.setBlock(x + 1, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 2, z + 33, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 2, z + 33, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 0, Block5, 0, 3); - world.setBlock(x + 1, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 8, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 12, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 13, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 14, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 15, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 17, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 18, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 19, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 20, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 21, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 22, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 24, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 25, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 26, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 27, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 28, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 31, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 32, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 34, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 35, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 38, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 39, y + 3, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 40, y + 3, z + 0, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 40, y + 3, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 40, y + 3, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 40, y + 3, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 40, y + 3, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 40, y + 3, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 20, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 24, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 37, y + 3, z + 6, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 6, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 3, z + 7, Block8, 2, 3); - world.setBlock(x + 9, y + 3, z + 7, Block8, 2, 3); - world.setBlock(x + 16, y + 3, z + 7, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 18, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 19, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 33, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 34, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 35, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 36, y + 3, z + 7, Block6, 0, 3); - world.setBlock(x + 37, y + 3, z + 7, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 7, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 3, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 8, Block5, 0, 3); - world.setBlock(x + 8, y + 3, z + 8, Block5, 0, 3); - world.setBlock(x + 9, y + 3, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + 3, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 8, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 18, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 19, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 33, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 34, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 35, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 36, y + 3, z + 8, Block6, 0, 3); - world.setBlock(x + 37, y + 3, z + 8, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 8, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 8, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 9, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 10, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 11, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 9, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 18, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 19, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 33, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 34, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 35, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 36, y + 3, z + 9, Block6, 0, 3); - world.setBlock(x + 37, y + 3, z + 9, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 9, y + 3, z + 10, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 11, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 33, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 34, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 35, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 36, y + 3, z + 10, Block6, 0, 3); - world.setBlock(x + 37, y + 3, z + 10, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 3, z + 11, Block16, 4, 3); - world.setBlock(x + 8, y + 3, z + 11, Block14, 0, 3); - world.setBlock(x + 9, y + 3, z + 11, Block16, 2, 3); - world.setBlock(x + 10, y + 3, z + 11, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 33, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 34, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 35, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 36, y + 3, z + 11, Block6, 0, 3); - world.setBlock(x + 37, y + 3, z + 11, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 12, Block14, 0, 3); - world.setBlock(x + 8, y + 3, z + 12, Block17, 0, 3); - world.setBlock(x + 9, y + 3, z + 12, Block14, 0, 3); - world.setBlock(x + 10, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 11, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 12, Block6, 0, 3); - - new DesertAtom003().generate_r00(world, rand, x, y, z); - return true; - - } +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S.SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemDoor; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; + +public class DesertAtom002 +{ + Block Block1 = ModBlocks.brick_concrete; + Block Block2 = ModBlocks.yellow_barrel; + Block Block3 = ModBlocks.reinforced_sand; + Block Block4 = ModBlocks.nuke_man; + Block Block5 = ModBlocks.block_steel; + Block Block6 = ModBlocks.brick_light; + Block Block7 = ModBlocks.block_tungsten; + Block Block8 = ModBlocks.steel_poles; + Block Block9 = ModBlocks.tape_recorder; + Block Block10 = ModBlocks.machine_nuke_furnace_off; + Block Block11 = ModBlocks.reinforced_glass; + Block Block12 = ModBlocks.reinforced_lamp_off; + Block Block13 = ModBlocks.pole_satellite_receiver; + Block Block14 = ModBlocks.machine_generator; + Block Block15 = ModBlocks.block_titanium; + Block Block16 = ModBlocks.machine_reactor; + Block Block17 = ModBlocks.ore_schrabidium; + Block Block18 = ModBlocks.waste_planks; + Block Block19 = ModBlocks.machine_centrifuge; + Block Block20 = ModBlocks.machine_uf6_tank; + Block Block21 = ModBlocks.machine_puf6_tank; + Block Block22 = ModBlocks.reinforced_brick; + Block Block23 = ModBlocks.waste_earth; + Block Block24 = ModBlocks.block_lead; + Block Block25 = ModBlocks.red_wire_coated; + Block Block26 = ModBlocks.block_uranium; + Block Block27 = ModBlocks.pole_top; + Block Block28 = ModBlocks.machine_battery; + Block Block29 = ModBlocks.machine_electric_furnace_off; + + public boolean generate_r00(World world, Random rand, int x, int y, int z) + { + world.setBlock(x + 7, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 9, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 11, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 12, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 13, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 14, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 15, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 16, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 17, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 18, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 19, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 20, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 21, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 22, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 23, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 24, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 25, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 26, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 27, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 28, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 29, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 30, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 31, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 32, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 33, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 34, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 35, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 36, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 37, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 38, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 39, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 40, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 1, Block3, 0, 3); + world.setBlock(x + 40, y + -1, z + 1, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 2, Block3, 0, 3); + world.setBlock(x + 40, y + -1, z + 2, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 3, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 9, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 10, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 11, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 12, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 13, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 14, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 15, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 16, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 17, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 18, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 19, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 20, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 21, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 22, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 23, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 24, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 25, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 26, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 27, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 28, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 29, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 30, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 31, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 32, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 33, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 34, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 35, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 36, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 37, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 38, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 3, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 3, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 4, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 9, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 10, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 11, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 12, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 13, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 14, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 15, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 16, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 17, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 18, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 19, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 20, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 21, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 22, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 23, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 24, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 25, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 26, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 27, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 28, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 29, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 30, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 31, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 32, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 33, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 34, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 35, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 36, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 37, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 38, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 4, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 4, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 5, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 5, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 5, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 5, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 5, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 5, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 5, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 5, Block5, 0, 3); + world.setBlock(x + 38, y + -1, z + 5, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 5, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 5, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 6, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 6, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 6, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 6, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 6, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 6, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 6, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 6, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 6, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 6, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 6, Blocks.gravel, 0, 3); + world.setBlock(x + 0, y + -1, z + 7, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 7, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 7, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 7, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 7, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 7, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 7, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 7, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 7, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 7, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 7, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 7, Blocks.gravel, 0, 3); + world.setBlock(x + 0, y + -1, z + 8, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 8, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 8, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 8, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 8, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 8, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 8, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 8, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 8, Blocks.gravel, 0, 3); + world.setBlock(x + 0, y + -1, z + 9, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 9, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 9, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 9, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 9, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 9, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 9, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 9, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 9, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 9, Blocks.gravel, 0, 3); + world.setBlock(x + 0, y + -1, z + 10, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 10, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 10, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 10, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 10, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 10, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 10, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 10, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 10, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 11, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 11, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 11, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 11, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 11, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 12, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 12, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 12, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 12, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 12, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 12, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 13, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 13, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 13, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 13, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 13, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 13, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 13, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 13, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 14, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 14, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 14, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 14, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 14, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 14, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 14, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 14, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 14, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 14, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 15, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 15, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 15, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 15, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 15, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 15, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 15, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 15, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 15, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 15, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 15, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 16, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 16, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 16, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 16, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 16, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 16, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 16, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 17, Block3, 0, 3); + world.setBlock(x + 16, y + -1, z + 17, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 18, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 19, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 20, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 21, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 22, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 23, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 24, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 25, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 26, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 27, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 28, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 29, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 30, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 31, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 32, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 33, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 34, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 35, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 36, y + -1, z + 17, Block6, 0, 3); + world.setBlock(x + 37, y + -1, z + 17, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 17, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 17, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 17, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 18, Block3, 0, 3); + world.setBlock(x + 16, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 18, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 19, Block3, 0, 3); + world.setBlock(x + 38, y + -1, z + 19, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 19, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 19, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 20, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 20, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 20, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 20, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 20, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 20, Block5, 0, 3); + world.setBlock(x + 38, y + -1, z + 20, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 20, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 20, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 21, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 21, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 21, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 21, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 21, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 21, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 22, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 22, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 22, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 22, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 22, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 22, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 22, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 22, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 22, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 22, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 23, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 23, Block5, 0, 3); + world.setBlock(x + 4, y + -1, z + 23, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -1, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 23, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -1, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + -1, z + 23, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 23, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 23, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 23, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 24, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 24, Block5, 0, 3); + world.setBlock(x + 4, y + -1, z + 24, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -1, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 24, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -1, z + 24, Block5, 0, 3); + world.setBlock(x + 13, y + -1, z + 24, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 24, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 24, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 24, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 24, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 25, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 25, Block5, 0, 3); + world.setBlock(x + 4, y + -1, z + 25, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -1, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 25, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -1, z + 25, Block5, 0, 3); + world.setBlock(x + 13, y + -1, z + 25, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 25, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 25, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 25, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 25, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 26, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 26, Block5, 0, 3); + world.setBlock(x + 4, y + -1, z + 26, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -1, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 26, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -1, z + 26, Block5, 0, 3); + world.setBlock(x + 13, y + -1, z + 26, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 26, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 26, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 26, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 26, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 27, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 27, Block5, 0, 3); + world.setBlock(x + 4, y + -1, z + 27, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 6, y + -1, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 27, Blocks.water, 0, 3); + world.setBlock(x + 12, y + -1, z + 27, Block5, 0, 3); + world.setBlock(x + 13, y + -1, z + 27, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 27, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 27, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 27, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 27, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 28, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 28, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 28, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 7, y + -1, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 8, y + -1, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 9, y + -1, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 10, y + -1, z + 28, Blocks.water, 0, 3); + world.setBlock(x + 11, y + -1, z + 28, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 28, Block5, 0, 3); + world.setBlock(x + 16, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 23, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 24, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 25, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 26, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 27, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 28, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 29, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 30, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 31, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 32, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 33, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 34, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 35, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 36, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 37, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 38, y + -1, z + 28, Blocks.gravel, 0, 3); + world.setBlock(x + 39, y + -1, z + 28, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + -1, z + 28, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 29, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 5, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 6, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 11, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 12, y + -1, z + 29, Block5, 0, 3); + world.setBlock(x + 40, y + -1, z + 29, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 30, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 30, Block5, 0, 3); + world.setBlock(x + 7, y + -1, z + 30, Block5, 0, 3); + world.setBlock(x + 8, y + -1, z + 30, Block5, 0, 3); + world.setBlock(x + 9, y + -1, z + 30, Block5, 0, 3); + world.setBlock(x + 10, y + -1, z + 30, Block5, 0, 3); + world.setBlock(x + 40, y + -1, z + 30, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 16, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 17, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 18, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 19, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 20, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 21, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 22, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 23, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 24, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 25, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 26, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 27, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 28, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 29, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 30, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 31, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 32, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 33, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 34, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 35, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 36, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 37, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 38, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 39, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 40, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 32, Block3, 0, 3); + world.setBlock(x + 16, y + -1, z + 32, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 1, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 7, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 9, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 11, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 12, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 13, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 14, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 15, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 16, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 0, y + 0, z + 0, Block5, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 24, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 25, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 26, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 27, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 28, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 29, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 30, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 31, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 32, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 33, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 34, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 35, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 36, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 37, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 38, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 39, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 0, z + 0, Block5, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 0, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 0, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 0, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 0, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 0, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 6, Block5, 0, 3); + world.setBlock(x + 7, y + 0, z + 6, Block5, 0, 3); + world.setBlock(x + 8, y + 0, z + 6, Block5, 0, 3); + world.setBlock(x + 9, y + 0, z + 6, Block5, 0, 3); + world.setBlock(x + 10, y + 0, z + 6, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 37, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 6, Block5, 0, 3); + world.setBlock(x + 0, y + 0, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 7, Block5, 0, 3); + world.setBlock(x + 7, y + 0, z + 7, Block5, 0, 3); + world.setBlock(x + 8, y + 0, z + 7, Block5, 0, 3); + world.setBlock(x + 9, y + 0, z + 7, Block5, 0, 3); + world.setBlock(x + 10, y + 0, z + 7, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 18, y + 0, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 19, y + 0, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 20, y + 0, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 21, y + 0, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 22, y + 0, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 29, y + 0, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 31, y + 0, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 32, y + 0, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 0, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 7, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 0, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + 0, z + 8, Block5, 0, 3); + world.setBlock(x + 8, y + 0, z + 8, Block5, 0, 3); + world.setBlock(x + 9, y + 0, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + 0, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 8, Blocks.web, 0, 3); + //world.setBlock(x + 37, y + 0, z + 8, Blocks.iron_door, 2, 3); + ItemDoor.placeDoorBlock(world, x + 37, y + 0, z + 8, 2, Blocks.iron_door); + world.setBlock(x + 40, y + 0, z + 8, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 0, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 0, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 9, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 10, y + 0, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 0, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 27, y + 0, z + 9, Blocks.web, 0, 3); + //world.setBlock(x + 37, y + 0, z + 9, Blocks.iron_door, 2, 3); + ItemDoor.placeDoorBlock(world, x + 37, y + 0, z + 9, 2, Blocks.iron_door); + world.setBlock(x + 40, y + 0, z + 9, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 0, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 0, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 0, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 0, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 0, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 0, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 0, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 0, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 0, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 21, y + 0, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 23, y + 0, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 24, y + 0, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 27, y + 0, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 28, y + 0, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 29, y + 0, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 31, y + 0, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 35, y + 0, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 37, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 10, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 0, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 0, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 0, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 0, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 0, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 11, Block1, 0, 3); + //world.setBlock(x + 21, y + 0, z + 11, Blocks.iron_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 21, y + 0, z + 11, 0, Blocks.iron_door); + world.setBlock(x + 22, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 23, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 25, y + 0, z + 11, Block1, 0, 3); + //world.setBlock(x + 26, y + 0, z + 11, Blocks.wooden_door, 1, 3); + ItemDoor.placeDoorBlock(world, x + 26, y + 0, z + 11, 1, Blocks.wooden_door); + world.setBlock(x + 27, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 28, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 29, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 30, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 31, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 32, y + 0, z + 11, Block1, 0, 3); + //world.setBlock(x + 33, y + 0, z + 11, Blocks.wooden_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 33, y + 0, z + 11, 0, Blocks.wooden_door); + world.setBlock(x + 34, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 35, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 36, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 37, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 11, Block5, 0, 3); + world.setBlock(x + 0, y + 0, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 12, Block5, 0, 3); + world.setBlock(x + 5, y + 0, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 0, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 0, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 0, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 0, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 0, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 12, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 18, y + 0, z + 12, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 19, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 21, y + 0, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 22, y + 0, z + 12, Block7, 0, 3); + world.setBlock(x + 23, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 12, Block5, 0, 3); + world.setBlock(x + 25, y + 0, z + 12, Blocks.vine, 2, 3); + world.setBlock(x + 27, y + 0, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 28, y + 0, z + 12, Block8, 3, 3); + world.setBlock(x + 29, y + 0, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 31, y + 0, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 0, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 36, y + 0, z + 12, Blocks.chest, 3, 3); + if(world.getBlock(x + 36, y + 0, z + 12) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 36, y + 0, z + 12), 8); + } + world.setBlock(x + 37, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 13, Block5, 0, 3); + world.setBlock(x + 5, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 0, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 0, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 0, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 0, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 22, y + 0, z + 13, Blocks.chest, 4, 3); + if(world.getBlock(x + 22, y + 0, z + 13) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 22, y + 0, z + 13), 8); + } + world.setBlock(x + 23, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 13, Block9, 5, 3); + world.setBlock(x + 30, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 31, y + 0, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 14, Block5, 0, 3); + world.setBlock(x + 5, y + 0, z + 14, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 0, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 0, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 0, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 0, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 0, z + 14, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 22, y + 0, z + 14, Block7, 0, 3); + world.setBlock(x + 23, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 14, Block9, 5, 3); + world.setBlock(x + 29, y + 0, z + 14, Blocks.oak_stairs, 7, 3); + world.setBlock(x + 30, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 31, y + 0, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 35, y + 0, z + 14, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 36, y + 0, z + 14, Blocks.stonebrick, 0, 3); + world.setBlock(x + 37, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 0, z + 15, Block5, 0, 3); + world.setBlock(x + 6, y + 0, z + 15, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 15, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 15, Block2, 0, 3); + world.setBlock(x + 9, y + 0, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 0, z + 15, Block2, 0, 3); + world.setBlock(x + 11, y + 0, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 21, y + 0, z + 15, Blocks.vine, 8, 3); + world.setBlock(x + 22, y + 0, z + 15, Block8, 4, 3); + world.setBlock(x + 23, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 15, Block9, 5, 3); + world.setBlock(x + 25, y + 0, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 27, y + 0, z + 15, Blocks.oak_stairs, 1, 3); + world.setBlock(x + 29, y + 0, z + 15, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 30, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 31, y + 0, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 35, y + 0, z + 15, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 36, y + 0, z + 15, Blocks.stonebrick, 0, 3); + world.setBlock(x + 37, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 0, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 0, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + 0, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + 0, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 16, Blocks.vine, 2, 3); + world.setBlock(x + 21, y + 0, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 22, y + 0, z + 16, Block10, 4, 3); + world.setBlock(x + 23, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 16, Block5, 0, 3); + world.setBlock(x + 29, y + 0, z + 16, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 30, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 35, y + 0, z + 16, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 36, y + 0, z + 16, Blocks.stonebrick, 0, 3); + world.setBlock(x + 37, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 0, z + 17, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 17, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 17, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 17, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 0, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 0, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 0, z + 17, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 17, Block5, 0, 3); + world.setBlock(x + 27, y + 0, z + 17, Blocks.oak_stairs, 5, 3); + world.setBlock(x + 28, y + 0, z + 17, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 29, y + 0, z + 17, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 30, y + 0, z + 17, Block1, 0, 3); + world.setBlock(x + 31, y + 0, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 35, y + 0, z + 17, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 36, y + 0, z + 17, Blocks.stonebrick, 0, 3); + world.setBlock(x + 37, y + 0, z + 17, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 22, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 26, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 28, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 29, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 33, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 34, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 35, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 36, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 37, y + 0, z + 18, Block1, 0, 3); + world.setBlock(x + 40, y + 0, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 0, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 20, Block8, 2, 3); + world.setBlock(x + 7, y + 0, z + 20, Block8, 2, 3); + world.setBlock(x + 8, y + 0, z + 20, Block8, 2, 3); + world.setBlock(x + 9, y + 0, z + 20, Block8, 2, 3); + world.setBlock(x + 10, y + 0, z + 20, Block8, 2, 3); + world.setBlock(x + 40, y + 0, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 21, Block5, 0, 3); + world.setBlock(x + 5, y + 0, z + 21, Block8, 2, 3); + world.setBlock(x + 11, y + 0, z + 21, Block8, 2, 3); + world.setBlock(x + 12, y + 0, z + 21, Block5, 0, 3); + world.setBlock(x + 29, y + 0, z + 21, Block2, 0, 3); + world.setBlock(x + 40, y + 0, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 22, Block8, 4, 3); + world.setBlock(x + 12, y + 0, z + 22, Block8, 5, 3); + world.setBlock(x + 17, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 19, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 22, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 25, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 26, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 28, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 29, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 30, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 35, y + 0, z + 22, Block2, 0, 3); + world.setBlock(x + 40, y + 0, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 23, Block8, 4, 3); + world.setBlock(x + 13, y + 0, z + 23, Block8, 5, 3); + world.setBlock(x + 17, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 18, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 19, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 23, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 25, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 29, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 30, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 34, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 35, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 36, y + 0, z + 23, Block2, 0, 3); + world.setBlock(x + 40, y + 0, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 24, Block8, 4, 3); + world.setBlock(x + 13, y + 0, z + 24, Block8, 5, 3); + world.setBlock(x + 21, y + 0, z + 24, Block2, 0, 3); + world.setBlock(x + 22, y + 0, z + 24, Block2, 0, 3); + world.setBlock(x + 23, y + 0, z + 24, Block2, 0, 3); + world.setBlock(x + 26, y + 0, z + 24, Block2, 0, 3); + world.setBlock(x + 33, y + 0, z + 24, Block2, 0, 3); + world.setBlock(x + 34, y + 0, z + 24, Block2, 0, 3); + world.setBlock(x + 35, y + 0, z + 24, Block2, 0, 3); + world.setBlock(x + 40, y + 0, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 25, Block8, 4, 3); + world.setBlock(x + 13, y + 0, z + 25, Block8, 5, 3); + world.setBlock(x + 17, y + 0, z + 25, Block2, 0, 3); + world.setBlock(x + 29, y + 0, z + 25, Blocks.flower_pot, 0, 3); + world.setBlock(x + 40, y + 0, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 26, Block8, 4, 3); + world.setBlock(x + 13, y + 0, z + 26, Block8, 5, 3); + world.setBlock(x + 19, y + 0, z + 26, Block2, 0, 3); + world.setBlock(x + 20, y + 0, z + 26, Block2, 0, 3); + world.setBlock(x + 21, y + 0, z + 26, Block2, 0, 3); + world.setBlock(x + 24, y + 0, z + 26, Blocks.chest, 2, 3); + if(world.getBlock(x + 24, y + 0, z + 26) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(4), (TileEntityChest)world.getTileEntity(x + 24, y + 0, z + 26), 8); + } + world.setBlock(x + 25, y + 0, z + 26, Block2, 0, 3); + world.setBlock(x + 30, y + 0, z + 26, Block2, 0, 3); + world.setBlock(x + 35, y + 0, z + 26, Block2, 0, 3); + world.setBlock(x + 40, y + 0, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 27, Block8, 4, 3); + world.setBlock(x + 13, y + 0, z + 27, Block8, 5, 3); + world.setBlock(x + 18, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 19, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 20, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 21, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 23, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 24, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 25, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 26, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 29, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 30, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 31, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 35, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 36, y + 0, z + 27, Block2, 0, 3); + world.setBlock(x + 40, y + 0, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 28, Block8, 4, 3); + world.setBlock(x + 12, y + 0, z + 28, Block8, 5, 3); + world.setBlock(x + 24, y + 0, z + 28, Block2, 0, 3); + world.setBlock(x + 25, y + 0, z + 28, Block2, 0, 3); + world.setBlock(x + 26, y + 0, z + 28, Block2, 0, 3); + world.setBlock(x + 29, y + 0, z + 28, Block2, 0, 3); + world.setBlock(x + 30, y + 0, z + 28, Block2, 0, 3); + world.setBlock(x + 40, y + 0, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 29, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 29, Block5, 0, 3); + world.setBlock(x + 5, y + 0, z + 29, Block8, 3, 3); + world.setBlock(x + 11, y + 0, z + 29, Block8, 3, 3); + world.setBlock(x + 12, y + 0, z + 29, Block5, 0, 3); + world.setBlock(x + 40, y + 0, z + 29, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 30, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 30, Block8, 3, 3); + world.setBlock(x + 7, y + 0, z + 30, Block8, 3, 3); + world.setBlock(x + 8, y + 0, z + 30, Block8, 3, 3); + world.setBlock(x + 9, y + 0, z + 30, Block8, 3, 3); + world.setBlock(x + 10, y + 0, z + 30, Block8, 3, 3); + world.setBlock(x + 40, y + 0, z + 30, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 0, z + 31, Block5, 0, 3); + world.setBlock(x + 17, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 24, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 25, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 26, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 27, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 28, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 29, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 30, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 31, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 32, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 33, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 34, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 35, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 36, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 37, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 38, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 39, y + 0, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 0, z + 31, Block5, 0, 3); + world.setBlock(x + 0, y + 0, z + 32, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 0, z + 32, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 33, Block5, 0, 3); + world.setBlock(x + 1, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 0, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 0, z + 33, Block5, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, Block5, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 24, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 25, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 26, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 27, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 28, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 29, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 30, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 31, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 32, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 33, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 34, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 35, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 36, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 37, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 38, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 39, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 1, z + 0, Block5, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 1, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 1, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 1, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 1, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 1, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 6, Block11, 0, 3); + world.setBlock(x + 19, y + 1, z + 6, Block11, 0, 3); + world.setBlock(x + 20, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + 1, z + 6, Block11, 0, 3); + world.setBlock(x + 23, y + 1, z + 6, Blocks.vine, 2, 3); + world.setBlock(x + 24, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 1, z + 6, Block11, 0, 3); + world.setBlock(x + 27, y + 1, z + 6, Block11, 0, 3); + world.setBlock(x + 28, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 1, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 32, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 1, z + 6, Block11, 0, 3); + world.setBlock(x + 36, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 37, y + 1, z + 6, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 6, Block5, 0, 3); + world.setBlock(x + 0, y + 1, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 1, z + 7, Block8, 2, 3); + world.setBlock(x + 9, y + 1, z + 7, Block8, 2, 3); + world.setBlock(x + 16, y + 1, z + 7, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 7, Blocks.vine, 2, 3); + world.setBlock(x + 20, y + 1, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 21, y + 1, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 22, y + 1, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 29, y + 1, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 31, y + 1, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 33, y + 1, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 1, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 1, z + 7, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 7, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 1, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 1, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + 1, z + 8, Block5, 0, 3); + world.setBlock(x + 8, y + 1, z + 8, Block5, 0, 3); + world.setBlock(x + 9, y + 1, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + 1, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 8, Block1, 0, 3); + //world.setBlock(x + 37, y + 1, z + 8, Blocks.iron_door, 9, 3); + //ItemDoor.placeDoorBlock(world, x + 37, y + 1, z + 8, 9, Blocks.iron_door); + world.setBlock(x + 40, y + 1, z + 8, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 1, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + 1, z + 9, Blocks.water, 0, 3); + + generate_r01(world, rand, x, y, z); + return true; + + } + public boolean generate_r01(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 7, y + 1, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 1, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 1, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 1, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 1, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 9, Block1, 0, 3); + //world.setBlock(x + 37, y + 1, z + 9, Blocks.iron_door, 8, 3); + //ItemDoor.placeDoorBlock(world, x + 37, y + 1, z + 9, 8, Blocks.iron_door); + world.setBlock(x + 40, y + 1, z + 9, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 1, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 1, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 1, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 10, Block1, 0, 3); + world.setBlock(x + 21, y + 1, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 23, y + 1, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 24, y + 1, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 27, y + 1, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 1, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 35, y + 1, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 37, y + 1, z + 10, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 10, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 1, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 1, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 1, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 11, Block1, 0, 3); + //world.setBlock(x + 21, y + 1, z + 11, Blocks.iron_door, 8, 3); + //ItemDoor.placeDoorBlock(world, x + 21, y + 1, z + 11, 8, Blocks.iron_door); + world.setBlock(x + 22, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 23, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 24, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 25, y + 1, z + 11, Block1, 0, 3); + //world.setBlock(x + 26, y + 1, z + 11, Blocks.wooden_door, 8, 3); + //ItemDoor.placeDoorBlock(world, x + 26, y + 1, z + 11, 8, Blocks.wooden_door); + world.setBlock(x + 27, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 28, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 29, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 30, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 31, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 32, y + 1, z + 11, Block1, 0, 3); + //world.setBlock(x + 33, y + 1, z + 11, Blocks.wooden_door, 8, 3); + //ItemDoor.placeDoorBlock(world, x + 33, y + 1, z + 11, 8, Blocks.wooden_door); + world.setBlock(x + 34, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 35, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 36, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 37, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 11, Block5, 0, 3); + world.setBlock(x + 0, y + 1, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 1, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 21, y + 1, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 22, y + 1, z + 12, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 23, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 24, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 25, y + 1, z + 12, Blocks.vine, 2, 3); + world.setBlock(x + 27, y + 1, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 28, y + 1, z + 12, Block8, 3, 3); + world.setBlock(x + 30, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 31, y + 1, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 1, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 36, y + 1, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 37, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 13, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 1, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 1, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 13, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 18, y + 1, z + 13, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 19, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 22, y + 1, z + 13, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 23, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 24, y + 1, z + 13, Block9, 5, 3); + world.setBlock(x + 25, y + 1, z + 13, Blocks.vine, 2, 3); + world.setBlock(x + 30, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 36, y + 1, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 14, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 1, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 1, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 22, y + 1, z + 14, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 23, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 24, y + 1, z + 14, Block5, 0, 3); + world.setBlock(x + 29, y + 1, z + 14, Blocks.trapdoor, 4, 3); + world.setBlock(x + 30, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 31, y + 1, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 36, y + 1, z + 14, Block9, 4, 3); + world.setBlock(x + 37, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 15, Block5, 0, 3); + world.setBlock(x + 6, y + 1, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 1, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 1, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 1, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 1, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 1, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 21, y + 1, z + 15, Blocks.vine, 8, 3); + world.setBlock(x + 22, y + 1, z + 15, Block8, 4, 3); + world.setBlock(x + 23, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 24, y + 1, z + 15, Block5, 0, 3); + world.setBlock(x + 25, y + 1, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 29, y + 1, z + 15, Block12, 0, 3); + world.setBlock(x + 30, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 31, y + 1, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 35, y + 1, z + 15, Blocks.flower_pot, 0, 3); + world.setBlock(x + 36, y + 1, z + 15, Block9, 4, 3); + world.setBlock(x + 37, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 1, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 1, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 1, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + 1, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + 1, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 16, Blocks.chest, 2, 3); + if(world.getBlock(x + 18, y + 1, z + 16) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 18, y + 1, z + 16), 8); + } + world.setBlock(x + 19, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 16, Blocks.vine, 2, 3); + world.setBlock(x + 22, y + 1, z + 16, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 23, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 24, y + 1, z + 16, Block9, 5, 3); + world.setBlock(x + 29, y + 1, z + 16, Blocks.trapdoor, 5, 3); + world.setBlock(x + 30, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 36, y + 1, z + 16, Block9, 4, 3); + world.setBlock(x + 37, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 1, z + 17, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 17, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 17, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 17, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 1, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 1, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 1, z + 17, Block1, 0, 3); + world.setBlock(x + 24, y + 1, z + 17, Block5, 0, 3); + world.setBlock(x + 28, y + 1, z + 17, Blocks.flower_pot, 0, 3); + world.setBlock(x + 29, y + 1, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 1, z + 17, Block1, 0, 3); + world.setBlock(x + 35, y + 1, z + 17, Blocks.vine, 3, 3); + world.setBlock(x + 36, y + 1, z + 17, Block9, 4, 3); + world.setBlock(x + 37, y + 1, z + 17, Block1, 0, 3); + world.setBlock(x + 40, y + 1, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 1, z + 18, Block11, 0, 3); + world.setBlock(x + 22, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + 1, z + 18, Block11, 0, 3); + world.setBlock(x + 27, y + 1, z + 18, Block13, 4, 3); + world.setBlock(x + 28, y + 1, z + 18, Block11, 0, 3); + world.setBlock(x + 29, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 1, z + 18, Block11, 0, 3); + world.setBlock(x + 33, y + 1, z + 18, Blocks.flower_pot, 0, 3); + world.setBlock(x + 35, y + 1, z + 18, Block11, 0, 3); + world.setBlock(x + 36, y + 1, z + 18, Block1, 0, 3); + world.setBlock(x + 37, y + 1, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + 1, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 1, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 1, z + 20, Block5, 0, 3); + world.setBlock(x + 7, y + 1, z + 20, Block5, 0, 3); + world.setBlock(x + 8, y + 1, z + 20, Block5, 0, 3); + world.setBlock(x + 9, y + 1, z + 20, Block5, 0, 3); + world.setBlock(x + 10, y + 1, z + 20, Block5, 0, 3); + world.setBlock(x + 40, y + 1, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 21, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 21, Block5, 0, 3); + world.setBlock(x + 11, y + 1, z + 21, Block5, 0, 3); + world.setBlock(x + 12, y + 1, z + 21, Block5, 0, 3); + world.setBlock(x + 40, y + 1, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 22, Block5, 0, 3); + world.setBlock(x + 12, y + 1, z + 22, Block5, 0, 3); + world.setBlock(x + 29, y + 1, z + 22, Block2, 0, 3); + world.setBlock(x + 40, y + 1, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 23, Block5, 0, 3); + world.setBlock(x + 17, y + 1, z + 23, Block2, 0, 3); + world.setBlock(x + 25, y + 1, z + 23, Block2, 0, 3); + world.setBlock(x + 35, y + 1, z + 23, Block2, 0, 3); + world.setBlock(x + 40, y + 1, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 24, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 24, Block5, 0, 3); + world.setBlock(x + 23, y + 1, z + 24, Block2, 0, 3); + world.setBlock(x + 40, y + 1, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 25, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 25, Block5, 0, 3); + world.setBlock(x + 40, y + 1, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 26, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 26, Block5, 0, 3); + world.setBlock(x + 40, y + 1, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 27, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 27, Block5, 0, 3); + world.setBlock(x + 19, y + 1, z + 27, Block2, 0, 3); + world.setBlock(x + 20, y + 1, z + 27, Block2, 0, 3); + world.setBlock(x + 21, y + 1, z + 27, Block2, 0, 3); + world.setBlock(x + 24, y + 1, z + 27, Block2, 0, 3); + world.setBlock(x + 25, y + 1, z + 27, Block2, 0, 3); + world.setBlock(x + 30, y + 1, z + 27, Block2, 0, 3); + world.setBlock(x + 35, y + 1, z + 27, Block2, 0, 3); + world.setBlock(x + 40, y + 1, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 28, Block5, 0, 3); + world.setBlock(x + 12, y + 1, z + 28, Block5, 0, 3); + world.setBlock(x + 25, y + 1, z + 28, Block2, 0, 3); + world.setBlock(x + 40, y + 1, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 29, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 29, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 29, Block5, 0, 3); + world.setBlock(x + 11, y + 1, z + 29, Block5, 0, 3); + world.setBlock(x + 12, y + 1, z + 29, Block5, 0, 3); + world.setBlock(x + 40, y + 1, z + 29, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 30, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 1, z + 30, Block5, 0, 3); + world.setBlock(x + 7, y + 1, z + 30, Block5, 0, 3); + world.setBlock(x + 8, y + 1, z + 30, Block5, 0, 3); + world.setBlock(x + 9, y + 1, z + 30, Block5, 0, 3); + world.setBlock(x + 10, y + 1, z + 30, Block5, 0, 3); + world.setBlock(x + 40, y + 1, z + 30, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 1, z + 31, Block5, 0, 3); + world.setBlock(x + 17, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 24, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 25, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 26, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 27, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 28, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 29, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 30, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 31, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 32, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 33, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 34, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 35, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 36, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 37, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 38, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 39, y + 1, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 1, z + 31, Block5, 0, 3); + world.setBlock(x + 0, y + 1, z + 32, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 1, z + 32, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 33, Block5, 0, 3); + world.setBlock(x + 1, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 1, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 1, z + 33, Block5, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Block5, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 24, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 25, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 26, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 27, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 28, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 29, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 30, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 31, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 32, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 33, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 34, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 35, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 36, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 37, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 38, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 39, y + 2, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 2, z + 0, Block5, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 2, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 2, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 2, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 2, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 2, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 37, y + 2, z + 6, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 6, Block5, 0, 3); + world.setBlock(x + 0, y + 2, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 2, z + 7, Block8, 2, 3); + world.setBlock(x + 9, y + 2, z + 7, Block8, 2, 3); + world.setBlock(x + 16, y + 2, z + 7, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 7, Blocks.vine, 2, 3); + world.setBlock(x + 18, y + 2, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 19, y + 2, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 20, y + 2, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 21, y + 2, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 24, y + 2, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 27, y + 2, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 2, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 31, y + 2, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 32, y + 2, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 35, y + 2, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 2, z + 7, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 7, Block5, 0, 3); + world.setBlock(x + 0, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 8, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 9, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 8, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 26, y + 2, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 2, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 2, z + 8, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 8, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 2, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 2, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 2, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 2, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 2, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 2, z + 9, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 2, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 9, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 32, y + 2, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 2, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 2, z + 9, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 9, Blocks.fence, 0, 3); + world.setBlock(x + 0, y + 2, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 2, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 10, Block1, 0, 3); + world.setBlock(x + 21, y + 2, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 22, y + 2, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 2, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 24, y + 2, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 25, y + 2, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 2, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 32, y + 2, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 34, y + 2, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 35, y + 2, z + 10, Blocks.vine, 1, 3); + world.setBlock(x + 37, y + 2, z + 10, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 0, y + 2, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 2, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 22, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 23, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 25, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 26, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 27, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 28, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 29, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 30, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 31, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 32, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 33, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 34, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 35, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 36, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 37, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 0, y + 2, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 2, z + 12, Block14, 0, 3); + world.setBlock(x + 9, y + 2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 2, z + 12, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 21, y + 2, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 22, y + 2, z + 12, Block9, 4, 3); + world.setBlock(x + 23, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 25, y + 2, z + 12, Blocks.vine, 2, 3); + world.setBlock(x + 27, y + 2, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 28, y + 2, z + 12, Block8, 3, 3); + world.setBlock(x + 29, y + 2, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 31, y + 2, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 33, y + 2, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 35, y + 2, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 2, z + 12, Blocks.vine, 4, 3); + world.setBlock(x + 37, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 2, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 22, y + 2, z + 13, Block9, 4, 3); + world.setBlock(x + 23, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 25, y + 2, z + 13, Blocks.vine, 2, 3); + world.setBlock(x + 29, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 31, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 14, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 6, y + 2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 2, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 12, y + 2, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 14, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 14, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 18, y + 2, z + 14, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 19, y + 2, z + 14, Block1, 0, 3); + world.setBlock(x + 22, y + 2, z + 14, Block9, 4, 3); + world.setBlock(x + 23, y + 2, z + 14, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 14, Block9, 5, 3); + world.setBlock(x + 29, y + 2, z + 14, Blocks.vine, 8, 3); + world.setBlock(x + 30, y + 2, z + 14, Block1, 0, 3); + world.setBlock(x + 36, y + 2, z + 14, Blocks.stone_brick_stairs, 0, 3); + world.setBlock(x + 37, y + 2, z + 14, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 2, z + 15, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 2, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 2, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 9, y + 2, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 2, z + 15, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 2, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 21, y + 2, z + 15, Blocks.vine, 8, 3); + world.setBlock(x + 22, y + 2, z + 15, Block5, 0, 3); + world.setBlock(x + 23, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 15, Block9, 5, 3); + world.setBlock(x + 27, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 2, z + 15, Blocks.trapdoor, 2, 3); + world.setBlock(x + 30, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 31, y + 2, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 36, y + 2, z + 15, Blocks.stone_brick_stairs, 0, 3); + world.setBlock(x + 37, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 2, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 2, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + 2, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + 2, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 21, y + 2, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 22, y + 2, z + 16, Block9, 4, 3); + world.setBlock(x + 23, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 16, Block5, 0, 3); + world.setBlock(x + 25, y + 2, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 2, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 31, y + 2, z + 16, Blocks.vine, 2, 3); + world.setBlock(x + 35, y + 2, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 2, z + 16, Blocks.stone_brick_stairs, 0, 3); + world.setBlock(x + 37, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 2, z + 17, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 17, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 17, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 17, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 2, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 2, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 2, z + 17, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 17, Block5, 0, 3); + world.setBlock(x + 28, y + 2, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 2, z + 17, Block1, 0, 3); + world.setBlock(x + 31, y + 2, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 34, y + 2, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 35, y + 2, z + 17, Blocks.vine, 3, 3); + world.setBlock(x + 36, y + 2, z + 17, Blocks.stone_brick_stairs, 0, 3); + world.setBlock(x + 37, y + 2, z + 17, Block1, 0, 3); + world.setBlock(x + 40, y + 2, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 2, z + 18, Block11, 0, 3); + world.setBlock(x + 22, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + 2, z + 18, Block11, 0, 3); + world.setBlock(x + 28, y + 2, z + 18, Block11, 0, 3); + world.setBlock(x + 29, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 2, z + 18, Block11, 0, 3); + world.setBlock(x + 34, y + 2, z + 18, Block11, 0, 3); + world.setBlock(x + 35, y + 2, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 36, y + 2, z + 18, Block1, 0, 3); + world.setBlock(x + 37, y + 2, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + 2, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 2, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 20, Block15, 0, 3); + world.setBlock(x + 7, y + 2, z + 20, Block15, 0, 3); + world.setBlock(x + 8, y + 2, z + 20, Block15, 0, 3); + world.setBlock(x + 9, y + 2, z + 20, Block15, 0, 3); + world.setBlock(x + 10, y + 2, z + 20, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 21, Block15, 0, 3); + world.setBlock(x + 5, y + 2, z + 21, Block15, 0, 3); + world.setBlock(x + 11, y + 2, z + 21, Block15, 0, 3); + world.setBlock(x + 12, y + 2, z + 21, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 22, Block15, 0, 3); + world.setBlock(x + 12, y + 2, z + 22, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 2, z + 23, Block15, 0, 3); + world.setBlock(x + 13, y + 2, z + 23, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 2, z + 24, Block15, 0, 3); + world.setBlock(x + 13, y + 2, z + 24, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 2, z + 25, Block15, 0, 3); + world.setBlock(x + 13, y + 2, z + 25, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 2, z + 26, Block15, 0, 3); + world.setBlock(x + 13, y + 2, z + 26, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 2, z + 27, Block15, 0, 3); + world.setBlock(x + 13, y + 2, z + 27, Block15, 0, 3); + world.setBlock(x + 24, y + 2, z + 27, Block2, 0, 3); + world.setBlock(x + 40, y + 2, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 28, Block15, 0, 3); + world.setBlock(x + 12, y + 2, z + 28, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 29, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 29, Block15, 0, 3); + world.setBlock(x + 5, y + 2, z + 29, Block15, 0, 3); + world.setBlock(x + 11, y + 2, z + 29, Block15, 0, 3); + world.setBlock(x + 12, y + 2, z + 29, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 29, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 30, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 30, Block15, 0, 3); + world.setBlock(x + 7, y + 2, z + 30, Block15, 0, 3); + world.setBlock(x + 8, y + 2, z + 30, Block15, 0, 3); + world.setBlock(x + 9, y + 2, z + 30, Block15, 0, 3); + world.setBlock(x + 10, y + 2, z + 30, Block15, 0, 3); + world.setBlock(x + 40, y + 2, z + 30, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 2, z + 31, Block5, 0, 3); + world.setBlock(x + 17, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 24, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 25, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 26, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 27, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 28, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 29, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 30, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 31, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 32, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 33, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 34, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 35, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 36, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 37, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 38, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 39, y + 2, z + 31, Blocks.iron_bars, 0, 3); + world.setBlock(x + 40, y + 2, z + 31, Block5, 0, 3); + world.setBlock(x + 0, y + 2, z + 32, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 2, z + 32, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 2, z + 33, Block5, 0, 3); + world.setBlock(x + 1, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 2, z + 33, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 2, z + 33, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 0, Block5, 0, 3); + world.setBlock(x + 1, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 8, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 12, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 13, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 14, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 15, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 17, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 18, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 19, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 20, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 21, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 22, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 24, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 25, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 26, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 27, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 28, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 31, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 32, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 34, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 35, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 38, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 39, y + 3, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 40, y + 3, z + 0, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 40, y + 3, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 40, y + 3, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 40, y + 3, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 40, y + 3, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 40, y + 3, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 20, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 24, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 37, y + 3, z + 6, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 6, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 3, z + 7, Block8, 2, 3); + world.setBlock(x + 9, y + 3, z + 7, Block8, 2, 3); + world.setBlock(x + 16, y + 3, z + 7, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 18, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 19, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 33, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 34, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 35, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 36, y + 3, z + 7, Block6, 0, 3); + world.setBlock(x + 37, y + 3, z + 7, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 7, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 3, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 8, Block5, 0, 3); + world.setBlock(x + 8, y + 3, z + 8, Block5, 0, 3); + world.setBlock(x + 9, y + 3, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + 3, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 8, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 18, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 19, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 33, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 34, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 35, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 36, y + 3, z + 8, Block6, 0, 3); + world.setBlock(x + 37, y + 3, z + 8, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 8, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 8, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 9, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 10, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 11, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 9, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 18, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 19, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 33, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 34, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 35, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 36, y + 3, z + 9, Block6, 0, 3); + world.setBlock(x + 37, y + 3, z + 9, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 9, y + 3, z + 10, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 11, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 33, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 34, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 35, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 36, y + 3, z + 10, Block6, 0, 3); + world.setBlock(x + 37, y + 3, z + 10, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 3, z + 11, Block16, 4, 3); + world.setBlock(x + 8, y + 3, z + 11, Block14, 0, 3); + world.setBlock(x + 9, y + 3, z + 11, Block16, 2, 3); + world.setBlock(x + 10, y + 3, z + 11, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 33, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 34, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 35, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 36, y + 3, z + 11, Block6, 0, 3); + world.setBlock(x + 37, y + 3, z + 11, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 12, Block14, 0, 3); + world.setBlock(x + 8, y + 3, z + 12, Block17, 0, 3); + world.setBlock(x + 9, y + 3, z + 12, Block14, 0, 3); + world.setBlock(x + 10, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 11, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 12, Block6, 0, 3); + + new DesertAtom003().generate_r00(world, rand, x, y, z); + return true; + + } } \ No newline at end of file diff --git a/com/hbm/world/DesertAtom003.java b/com/hbm/world/DesertAtom003.java index 135ac69d2..e39368c5f 100644 --- a/com/hbm/world/DesertAtom003.java +++ b/com/hbm/world/DesertAtom003.java @@ -1,1783 +1,1783 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S.SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; -import com.hbm.tileentity.TileEntityMachinePuF6Tank; -import com.hbm.tileentity.TileEntityMachineUF6Tank; - -import net.minecraft.block.Block; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemDoor; -import net.minecraft.tileentity.TileEntity; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; - -public class DesertAtom003 -{ - Block Block1 = ModBlocks.brick_concrete; - Block Block2 = ModBlocks.yellow_barrel; - Block Block3 = ModBlocks.reinforced_sand; - Block Block4 = ModBlocks.nuke_man; - Block Block5 = ModBlocks.block_steel; - Block Block6 = ModBlocks.brick_light; - Block Block7 = ModBlocks.block_tungsten; - Block Block8 = ModBlocks.steel_poles; - Block Block9 = ModBlocks.tape_recorder; - Block Block10 = ModBlocks.machine_nuke_furnace_off; - Block Block11 = ModBlocks.reinforced_glass; - Block Block12 = ModBlocks.reinforced_lamp_off; - Block Block13 = ModBlocks.pole_satellite_receiver; - Block Block14 = ModBlocks.machine_generator; - Block Block15 = ModBlocks.block_titanium; - Block Block16 = ModBlocks.machine_reactor; - Block Block17 = ModBlocks.ore_schrabidium; - Block Block18 = ModBlocks.waste_planks; - Block Block19 = ModBlocks.machine_centrifuge; - Block Block20 = ModBlocks.machine_uf6_tank; - Block Block21 = ModBlocks.machine_puf6_tank; - Block Block22 = ModBlocks.reinforced_brick; - Block Block23 = ModBlocks.waste_earth; - Block Block24 = ModBlocks.block_lead; - Block Block25 = ModBlocks.red_wire_coated; - Block Block26 = ModBlocks.block_uranium; - Block Block27 = ModBlocks.pole_top; - Block Block28 = ModBlocks.machine_battery; - Block Block29 = ModBlocks.machine_electric_furnace_off; - - public boolean generate_r00(World world, Random rand, int x, int y, int z) - { - world.setBlock(x + 21, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 33, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 34, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 35, y + 3, z + 12, Block6, 0, 3); - world.setBlock(x + 36, y + 3, z + 12, Block18, 0, 3); - world.setBlock(x + 37, y + 3, z + 12, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 13, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 13, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 7, y + 3, z + 13, Block16, 4, 3); - world.setBlock(x + 8, y + 3, z + 13, Block14, 0, 3); - world.setBlock(x + 9, y + 3, z + 13, Block16, 2, 3); - world.setBlock(x + 10, y + 3, z + 13, Blocks.water, 0, 3); - world.setBlock(x + 11, y + 3, z + 13, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 33, y + 3, z + 13, Block6, 0, 3); - world.setBlock(x + 34, y + 3, z + 13, Block18, 0, 3); - world.setBlock(x + 35, y + 3, z + 13, Block18, 0, 3); - world.setBlock(x + 36, y + 3, z + 13, Block18, 0, 3); - world.setBlock(x + 37, y + 3, z + 13, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 14, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 14, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 14, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 8, y + 3, z + 14, Block5, 0, 3); - world.setBlock(x + 9, y + 3, z + 14, Blocks.water, 0, 3); - world.setBlock(x + 10, y + 3, z + 14, Block5, 0, 3); - world.setBlock(x + 11, y + 3, z + 14, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 14, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 19, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 14, Block6, 0, 3); - world.setBlock(x + 33, y + 3, z + 14, Block18, 0, 3); - world.setBlock(x + 34, y + 3, z + 14, Block18, 0, 3); - world.setBlock(x + 35, y + 3, z + 14, Block18, 0, 3); - world.setBlock(x + 36, y + 3, z + 14, Block18, 0, 3); - world.setBlock(x + 37, y + 3, z + 14, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 3, z + 15, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 15, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 15, Block5, 0, 3); - world.setBlock(x + 8, y + 3, z + 15, Block5, 0, 3); - world.setBlock(x + 9, y + 3, z + 15, Block5, 0, 3); - world.setBlock(x + 10, y + 3, z + 15, Block5, 0, 3); - world.setBlock(x + 11, y + 3, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 15, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 15, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 18, y + 3, z + 15, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 19, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 15, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 15, Block18, 0, 3); - world.setBlock(x + 33, y + 3, z + 15, Block18, 0, 3); - world.setBlock(x + 34, y + 3, z + 15, Block18, 0, 3); - world.setBlock(x + 35, y + 3, z + 15, Block18, 0, 3); - world.setBlock(x + 37, y + 3, z + 15, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 3, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 3, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + 3, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + 3, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 3, z + 16, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 18, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 19, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 16, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 16, Block18, 0, 3); - world.setBlock(x + 33, y + 3, z + 16, Block18, 0, 3); - world.setBlock(x + 34, y + 3, z + 16, Blocks.vine, 4, 3); - world.setBlock(x + 37, y + 3, z + 16, Block1, 0, 3); - world.setBlock(x + 40, y + 3, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 3, z + 17, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 18, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 19, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 20, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 21, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 22, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 23, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 24, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 25, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 26, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 27, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 28, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 29, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 30, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 31, y + 3, z + 17, Block6, 0, 3); - world.setBlock(x + 32, y + 3, z + 17, Block18, 0, 3); - world.setBlock(x + 33, y + 3, z + 17, Block18, 0, 3); - world.setBlock(x + 34, y + 3, z + 17, Block18, 0, 3); - world.setBlock(x + 35, y + 3, z + 17, Blocks.vine, 2, 3); - world.setBlock(x + 40, y + 3, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 18, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 22, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 26, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 28, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 29, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 33, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 34, y + 3, z + 18, Block1, 0, 3); - world.setBlock(x + 35, y + 3, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 36, y + 3, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 40, y + 3, z + 18, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 40, y + 3, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 20, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 3, z + 20, Block15, 0, 3); - world.setBlock(x + 7, y + 3, z + 20, Block15, 0, 3); - world.setBlock(x + 8, y + 3, z + 20, Block15, 0, 3); - world.setBlock(x + 9, y + 3, z + 20, Block15, 0, 3); - world.setBlock(x + 10, y + 3, z + 20, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 20, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 21, Block15, 0, 3); - world.setBlock(x + 5, y + 3, z + 21, Block15, 0, 3); - world.setBlock(x + 11, y + 3, z + 21, Block15, 0, 3); - world.setBlock(x + 12, y + 3, z + 21, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 22, Block15, 0, 3); - world.setBlock(x + 12, y + 3, z + 22, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 23, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 3, z + 23, Block15, 0, 3); - world.setBlock(x + 13, y + 3, z + 23, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 23, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 3, z + 24, Block15, 0, 3); - world.setBlock(x + 13, y + 3, z + 24, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 25, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 3, z + 25, Block15, 0, 3); - world.setBlock(x + 13, y + 3, z + 25, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 25, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 26, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 3, z + 26, Block15, 0, 3); - world.setBlock(x + 13, y + 3, z + 26, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 26, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 27, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 3, z + 27, Block15, 0, 3); - world.setBlock(x + 13, y + 3, z + 27, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 27, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 28, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 28, Block15, 0, 3); - world.setBlock(x + 12, y + 3, z + 28, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 28, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 29, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 29, Block15, 0, 3); - world.setBlock(x + 5, y + 3, z + 29, Block15, 0, 3); - world.setBlock(x + 11, y + 3, z + 29, Block15, 0, 3); - world.setBlock(x + 12, y + 3, z + 29, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 29, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 30, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 3, z + 30, Block15, 0, 3); - world.setBlock(x + 7, y + 3, z + 30, Block15, 0, 3); - world.setBlock(x + 8, y + 3, z + 30, Block15, 0, 3); - world.setBlock(x + 9, y + 3, z + 30, Block15, 0, 3); - world.setBlock(x + 10, y + 3, z + 30, Block15, 0, 3); - world.setBlock(x + 40, y + 3, z + 30, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 3, z + 31, Block5, 0, 3); - world.setBlock(x + 17, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 18, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 19, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 20, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 21, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 22, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 24, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 25, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 26, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 27, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 28, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 31, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 32, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 34, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 35, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 38, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 39, y + 3, z + 31, Blocks.web, 0, 3); - world.setBlock(x + 40, y + 3, z + 31, Block5, 0, 3); - world.setBlock(x + 0, y + 3, z + 32, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 3, z + 32, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 3, z + 33, Block5, 0, 3); - world.setBlock(x + 1, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 8, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 12, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 13, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 14, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 15, y + 3, z + 33, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 3, z + 33, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 20, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 37, y + 4, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 4, z + 7, Block8, 2, 3); - world.setBlock(x + 9, y + 4, z + 7, Block8, 2, 3); - world.setBlock(x + 16, y + 4, z + 7, Block1, 0, 3); - world.setBlock(x + 18, y + 4, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 19, y + 4, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 20, y + 4, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 23, y + 4, z + 7, Block1, 0, 3); - world.setBlock(x + 25, y + 4, z + 7, Block8, 3, 3); - world.setBlock(x + 26, y + 4, z + 7, Block19, 3, 3); - world.setBlock(x + 27, y + 4, z + 7, Block19, 3, 3); - world.setBlock(x + 28, y + 4, z + 7, Block20, 3, 3); - TileEntity tank0 = world.getTileEntity(x + 28, y + 4, z + 7); - if(tank0 instanceof TileEntityMachineUF6Tank) - { - TileEntityMachineUF6Tank tankuf0 = (TileEntityMachineUF6Tank)tank0; - tankuf0.fillState = rand.nextInt(tankuf0.maxFill); - } - world.setBlock(x + 29, y + 4, z + 7, Block20, 3, 3); - TileEntity tank1 = world.getTileEntity(x + 29, y + 4, z + 7); - if(tank0 instanceof TileEntityMachineUF6Tank) - { - TileEntityMachineUF6Tank tankuf1 = (TileEntityMachineUF6Tank)tank1; - tankuf1.fillState = rand.nextInt(tankuf1.maxFill); - } - world.setBlock(x + 30, y + 4, z + 7, Block21, 3, 3); - TileEntity tank2 = world.getTileEntity(x + 30, y + 4, z + 7); - if(tank0 instanceof TileEntityMachinePuF6Tank) - { - TileEntityMachinePuF6Tank tankuf2 = (TileEntityMachinePuF6Tank)tank2; - tankuf2.fillState = rand.nextInt(tankuf2.maxFill); - } - world.setBlock(x + 31, y + 4, z + 7, Block21, 3, 3); - TileEntity tank3 = world.getTileEntity(x + 31, y + 4, z + 7); - if(tank3 instanceof TileEntityMachinePuF6Tank) - { - TileEntityMachinePuF6Tank tankuf3 = (TileEntityMachinePuF6Tank)tank3; - tankuf3.fillState = rand.nextInt(tankuf3.maxFill); - } - world.setBlock(x + 32, y + 4, z + 7, Block2, 0, 3); - world.setBlock(x + 33, y + 4, z + 7, Block22, 0, 3); - world.setBlock(x + 34, y + 4, z + 7, Block23, 0, 3); - world.setBlock(x + 35, y + 4, z + 7, Block23, 0, 3); - world.setBlock(x + 36, y + 4, z + 7, Block23, 0, 3); - world.setBlock(x + 37, y + 4, z + 7, Block1, 0, 3); - world.setBlock(x + 40, y + 4, z + 7, Block5, 0, 3); - world.setBlock(x + 6, y + 4, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + 4, z + 8, Block5, 0, 3); - //world.setBlock(x + 8, y + 4, z + 8, Blocks.iron_door, 1, 3); - ItemDoor.placeDoorBlock(world, x + 8, y + 4, z + 8, 1, Blocks.iron_door); - world.setBlock(x + 9, y + 4, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + 4, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 8, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 4, z + 8, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 8, Block12, 0, 3); - world.setBlock(x + 26, y + 4, z + 8, Blocks.unpowered_repeater, 0, 3); - world.setBlock(x + 27, y + 4, z + 8, Blocks.unpowered_repeater, 0, 3); - world.setBlock(x + 31, y + 4, z + 8, Blocks.unpowered_repeater, 0, 3); - world.setBlock(x + 32, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 33, y + 4, z + 8, Block22, 0, 3); - world.setBlock(x + 34, y + 4, z + 8, Block22, 0, 3); - world.setBlock(x + 35, y + 4, z + 8, Block22, 0, 3); - world.setBlock(x + 36, y + 4, z + 8, Block22, 0, 3); - world.setBlock(x + 37, y + 4, z + 8, Block1, 0, 3); - world.setBlock(x + 40, y + 4, z + 8, Block5, 0, 3); - world.setBlock(x + 5, y + 4, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 9, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 9, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 18, y + 4, z + 9, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 19, y + 4, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 4, z + 9, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 26, y + 4, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 27, y + 4, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 28, y + 4, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 30, y + 4, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 31, y + 4, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 32, y + 4, z + 9, Blocks.unpowered_repeater, 1, 3); - world.setBlock(x + 33, y + 4, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 34, y + 4, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 35, y + 4, z + 9, Block12, 0, 3); - world.setBlock(x + 36, y + 4, z + 9, Blocks.chest, 3, 3); - if(world.getBlock(x + 36, y + 4, z + 9) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(5), (TileEntityChest)world.getTileEntity(x + 36, y + 4, z + 9), 12); - } - world.setBlock(x + 37, y + 4, z + 9, Block1, 0, 3); - world.setBlock(x + 40, y + 4, z + 9, Block5, 0, 3); - world.setBlock(x + 4, y + 4, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 4, z + 10, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 10, Blocks.stone_stairs, 7, 3); - world.setBlock(x + 18, y + 4, z + 10, Blocks.stone_stairs, 7, 3); - world.setBlock(x + 19, y + 4, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 4, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 4, z + 10, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 25, y + 4, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 26, y + 4, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 28, y + 4, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 29, y + 4, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 30, y + 4, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 35, y + 4, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 37, y + 4, z + 10, Block1, 0, 3); - world.setBlock(x + 40, y + 4, z + 10, Block5, 0, 3); - world.setBlock(x + 4, y + 4, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 11, Block1, 0, 3); - world.setBlock(x + 22, y + 4, z + 11, Blocks.vine, 8, 3); - world.setBlock(x + 23, y + 4, z + 11, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 11, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 27, y + 4, z + 11, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 28, y + 4, z + 11, Block24, 0, 3); - world.setBlock(x + 29, y + 4, z + 11, Block24, 0, 3); - world.setBlock(x + 30, y + 4, z + 11, Block24, 0, 3); - world.setBlock(x + 34, y + 4, z + 11, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 37, y + 4, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + 4, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 12, Block14, 0, 3); - world.setBlock(x + 11, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 4, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 23, y + 4, z + 12, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 12, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 27, y + 4, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 28, y + 4, z + 12, Block24, 0, 3); - world.setBlock(x + 29, y + 4, z + 12, Block24, 0, 3); - world.setBlock(x + 30, y + 4, z + 12, Block24, 0, 3); - world.setBlock(x + 31, y + 4, z + 12, Blocks.vine, 2, 3); - world.setBlock(x + 32, y + 4, z + 12, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 36, y + 4, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 37, y + 4, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + 4, z + 13, Block5, 0, 3); - world.setBlock(x + 5, y + 4, z + 13, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 13, Blocks.vine, 2, 3); - world.setBlock(x + 19, y + 4, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 4, z + 13, Blocks.vine, 8, 3); - world.setBlock(x + 23, y + 4, z + 13, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 13, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 25, y + 4, z + 13, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 26, y + 4, z + 13, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 28, y + 4, z + 13, Block24, 0, 3); - world.setBlock(x + 29, y + 4, z + 13, Block24, 0, 3); - world.setBlock(x + 30, y + 4, z + 13, Block24, 0, 3); - world.setBlock(x + 31, y + 4, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 4, z + 13, Blocks.vine, 8, 3); - world.setBlock(x + 37, y + 4, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + 4, z + 14, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 14, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 19, y + 4, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 4, z + 14, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 14, Block12, 0, 3); - world.setBlock(x + 26, y + 4, z + 14, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 27, y + 4, z + 14, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 28, y + 4, z + 14, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 29, y + 4, z + 14, Block25, 0, 3); - world.setBlock(x + 30, y + 4, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 31, y + 4, z + 14, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 37, y + 4, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + 4, z + 15, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 15, Block2, 0, 3); - world.setBlock(x + 9, y + 4, z + 15, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 15, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 15, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 4, z + 15, Blocks.iron_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 23, y + 4, z + 15, 0, Blocks.iron_door); - world.setBlock(x + 24, y + 4, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 27, y + 4, z + 15, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 30, y + 4, z + 15, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 31, y + 4, z + 15, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 37, y + 4, z + 15, Block1, 0, 3); - world.setBlock(x + 6, y + 4, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 4, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + 4, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + 4, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 4, z + 16, Block1, 0, 3); - world.setBlock(x + 22, y + 4, z + 16, Blocks.vine, 8, 3); - //world.setBlock(x + 23, y + 4, z + 16, Blocks.iron_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 23, y + 4, z + 16, 3, Blocks.iron_door); - world.setBlock(x + 26, y + 4, z + 16, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 29, y + 4, z + 16, Blocks.unpowered_repeater, 2, 3); - world.setBlock(x + 37, y + 4, z + 16, Blocks.gravel, 0, 3); - world.setBlock(x + 16, y + 4, z + 17, Block1, 0, 3); - world.setBlock(x + 21, y + 4, z + 17, Blocks.vine, 1, 3); - world.setBlock(x + 22, y + 4, z + 17, Blocks.vine, 8, 3); - world.setBlock(x + 23, y + 4, z + 17, Block1, 0, 3); - world.setBlock(x + 27, y + 4, z + 17, Blocks.vine, 1, 3); - world.setBlock(x + 28, y + 4, z + 17, Blocks.vine, 9, 3); - world.setBlock(x + 29, y + 4, z + 17, Block12, 0, 3); - world.setBlock(x + 33, y + 4, z + 17, Blocks.vine, 3, 3); - world.setBlock(x + 16, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 22, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 26, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 28, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 29, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 33, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 34, y + 4, z + 18, Block1, 0, 3); - world.setBlock(x + 6, y + 4, z + 20, Block15, 0, 3); - world.setBlock(x + 7, y + 4, z + 20, Block15, 0, 3); - world.setBlock(x + 8, y + 4, z + 20, Block15, 0, 3); - world.setBlock(x + 9, y + 4, z + 20, Block15, 0, 3); - world.setBlock(x + 10, y + 4, z + 20, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 21, Block15, 0, 3); - world.setBlock(x + 5, y + 4, z + 21, Block15, 0, 3); - world.setBlock(x + 6, y + 4, z + 21, Block7, 0, 3); - world.setBlock(x + 7, y + 4, z + 21, Block7, 0, 3); - world.setBlock(x + 8, y + 4, z + 21, Block7, 0, 3); - world.setBlock(x + 9, y + 4, z + 21, Block7, 0, 3); - world.setBlock(x + 10, y + 4, z + 21, Block7, 0, 3); - world.setBlock(x + 11, y + 4, z + 21, Block15, 0, 3); - world.setBlock(x + 12, y + 4, z + 21, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 22, Block15, 0, 3); - world.setBlock(x + 5, y + 4, z + 22, Block7, 0, 3); - world.setBlock(x + 11, y + 4, z + 22, Block7, 0, 3); - world.setBlock(x + 12, y + 4, z + 22, Block15, 0, 3); - world.setBlock(x + 3, y + 4, z + 23, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 23, Block7, 0, 3); - world.setBlock(x + 12, y + 4, z + 23, Block7, 0, 3); - world.setBlock(x + 13, y + 4, z + 23, Block15, 0, 3); - world.setBlock(x + 3, y + 4, z + 24, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 24, Block7, 0, 3); - world.setBlock(x + 12, y + 4, z + 24, Block7, 0, 3); - world.setBlock(x + 13, y + 4, z + 24, Block15, 0, 3); - world.setBlock(x + 3, y + 4, z + 25, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 25, Block7, 0, 3); - world.setBlock(x + 12, y + 4, z + 25, Block7, 0, 3); - world.setBlock(x + 13, y + 4, z + 25, Block15, 0, 3); - world.setBlock(x + 3, y + 4, z + 26, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 26, Block7, 0, 3); - world.setBlock(x + 12, y + 4, z + 26, Block7, 0, 3); - world.setBlock(x + 13, y + 4, z + 26, Block15, 0, 3); - world.setBlock(x + 3, y + 4, z + 27, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 27, Block7, 0, 3); - world.setBlock(x + 12, y + 4, z + 27, Block7, 0, 3); - world.setBlock(x + 13, y + 4, z + 27, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 28, Block15, 0, 3); - world.setBlock(x + 5, y + 4, z + 28, Block7, 0, 3); - world.setBlock(x + 11, y + 4, z + 28, Block7, 0, 3); - world.setBlock(x + 12, y + 4, z + 28, Block15, 0, 3); - world.setBlock(x + 4, y + 4, z + 29, Block15, 0, 3); - world.setBlock(x + 5, y + 4, z + 29, Block15, 0, 3); - world.setBlock(x + 6, y + 4, z + 29, Block7, 0, 3); - world.setBlock(x + 7, y + 4, z + 29, Block7, 0, 3); - world.setBlock(x + 8, y + 4, z + 29, Block7, 0, 3); - world.setBlock(x + 9, y + 4, z + 29, Block7, 0, 3); - world.setBlock(x + 10, y + 4, z + 29, Block7, 0, 3); - world.setBlock(x + 11, y + 4, z + 29, Block15, 0, 3); - world.setBlock(x + 12, y + 4, z + 29, Block15, 0, 3); - world.setBlock(x + 6, y + 4, z + 30, Block15, 0, 3); - world.setBlock(x + 7, y + 4, z + 30, Block15, 0, 3); - world.setBlock(x + 8, y + 4, z + 30, Block15, 0, 3); - world.setBlock(x + 9, y + 4, z + 30, Block15, 0, 3); - world.setBlock(x + 10, y + 4, z + 30, Block15, 0, 3); - world.setBlock(x + 16, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 5, z + 6, Block11, 0, 3); - world.setBlock(x + 19, y + 5, z + 6, Block11, 0, 3); - world.setBlock(x + 20, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 24, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 37, y + 5, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 5, z + 7, Block8, 2, 3); - world.setBlock(x + 9, y + 5, z + 7, Block8, 2, 3); - world.setBlock(x + 16, y + 5, z + 7, Block1, 0, 3); - world.setBlock(x + 18, y + 5, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 19, y + 5, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 20, y + 5, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 22, y + 5, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 5, z + 7, Block1, 0, 3); - world.setBlock(x + 25, y + 5, z + 7, Block8, 3, 3); - world.setBlock(x + 30, y + 5, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 32, y + 5, z + 7, Block2, 0, 3); - world.setBlock(x + 33, y + 5, z + 7, Block11, 0, 3); - world.setBlock(x + 37, y + 5, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 5, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + 5, z + 8, Block5, 0, 3); - //world.setBlock(x + 8, y + 5, z + 8, Blocks.iron_door, 8, 3); - world.setBlock(x + 9, y + 5, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + 5, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 8, Block11, 0, 3); - world.setBlock(x + 23, y + 5, z + 8, Block11, 0, 3); - world.setBlock(x + 33, y + 5, z + 8, Block11, 0, 3); - world.setBlock(x + 34, y + 5, z + 8, Block11, 0, 3); - world.setBlock(x + 35, y + 5, z + 8, Block11, 0, 3); - world.setBlock(x + 36, y + 5, z + 8, Block11, 0, 3); - world.setBlock(x + 37, y + 5, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 5, z + 9, Block5, 0, 3); - world.setBlock(x + 11, y + 5, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 9, Block11, 0, 3); - world.setBlock(x + 19, y + 5, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 5, z + 9, Block11, 0, 3); - world.setBlock(x + 33, y + 5, z + 9, Blocks.vine, 4, 3); - world.setBlock(x + 37, y + 5, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 5, z + 10, Block5, 0, 3); - world.setBlock(x + 12, y + 5, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 10, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 18, y + 5, z + 10, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 19, y + 5, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 5, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 5, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + 5, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 5, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 11, Blocks.stone_stairs, 7, 3); - world.setBlock(x + 18, y + 5, z + 11, Blocks.stone_stairs, 7, 3); - world.setBlock(x + 19, y + 5, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 5, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 5, z + 11, Block11, 0, 3); - world.setBlock(x + 27, y + 5, z + 11, Blocks.vine, 8, 3); - world.setBlock(x + 28, y + 5, z + 11, Block16, 4, 3); - world.setBlock(x + 29, y + 5, z + 11, Block16, 2, 3); - world.setBlock(x + 30, y + 5, z + 11, Block16, 3, 3); - world.setBlock(x + 37, y + 5, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + 5, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 5, z + 12, Block25, 0, 3); - world.setBlock(x + 12, y + 5, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 19, y + 5, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 5, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 24, y + 5, z + 12, Blocks.vine, 2, 3); - world.setBlock(x + 27, y + 5, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 28, y + 5, z + 12, Block16, 4, 3); - world.setBlock(x + 29, y + 5, z + 12, Block26, 0, 3); - world.setBlock(x + 30, y + 5, z + 12, Block16, 3, 3); - world.setBlock(x + 31, y + 5, z + 12, Blocks.vine, 2, 3); - world.setBlock(x + 36, y + 5, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 37, y + 5, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + 5, z + 13, Block5, 0, 3); - world.setBlock(x + 12, y + 5, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 13, Blocks.vine, 2, 3); - world.setBlock(x + 19, y + 5, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 5, z + 13, Block11, 0, 3); - world.setBlock(x + 28, y + 5, z + 13, Block16, 3, 3); - world.setBlock(x + 29, y + 5, z + 13, Block16, 3, 3); - world.setBlock(x + 30, y + 5, z + 13, Block16, 3, 3); - world.setBlock(x + 31, y + 5, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 35, y + 5, z + 13, Blocks.vine, 4, 3); - world.setBlock(x + 36, y + 5, z + 13, Blocks.vine, 8, 3); - world.setBlock(x + 37, y + 5, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + 5, z + 14, Block5, 0, 3); - world.setBlock(x + 12, y + 5, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 14, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 23, y + 5, z + 14, Block1, 0, 3); - world.setBlock(x + 24, y + 5, z + 14, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 27, y + 5, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 5, z + 14, Block25, 0, 3); - world.setBlock(x + 37, y + 5, z + 14, Blocks.gravel, 0, 3); - world.setBlock(x + 5, y + 5, z + 15, Block5, 0, 3); - world.setBlock(x + 11, y + 5, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 15, Block11, 0, 3); - world.setBlock(x + 17, y + 5, z + 15, Blocks.vine, 2, 3); - //world.setBlock(x + 23, y + 5, z + 15, Blocks.iron_door, 8, 3); - world.setBlock(x + 24, y + 5, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 34, y + 5, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 37, y + 5, z + 15, Blocks.gravel, 0, 3); - world.setBlock(x + 6, y + 5, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 5, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 5, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + 5, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + 5, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 5, z + 16, Block11, 0, 3); - world.setBlock(x + 22, y + 5, z + 16, Blocks.vine, 8, 3); - //world.setBlock(x + 23, y + 5, z + 16, Blocks.iron_door, 8, 3); - world.setBlock(x + 34, y + 5, z + 16, Blocks.vine, 2, 3); - world.setBlock(x + 16, y + 5, z + 17, Block1, 0, 3); - world.setBlock(x + 21, y + 5, z + 17, Blocks.vine, 1, 3); - world.setBlock(x + 22, y + 5, z + 17, Blocks.vine, 8, 3); - world.setBlock(x + 23, y + 5, z + 17, Block1, 0, 3); - world.setBlock(x + 24, y + 5, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 27, y + 5, z + 17, Blocks.vine, 1, 3); - world.setBlock(x + 28, y + 5, z + 17, Blocks.vine, 1, 3); - world.setBlock(x + 33, y + 5, z + 17, Blocks.vine, 3, 3); - world.setBlock(x + 16, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 22, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 26, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 28, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 29, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 33, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 34, y + 5, z + 18, Block1, 0, 3); - world.setBlock(x + 6, y + 5, z + 21, Block15, 0, 3); - world.setBlock(x + 7, y + 5, z + 21, Block15, 0, 3); - world.setBlock(x + 8, y + 5, z + 21, Block15, 0, 3); - world.setBlock(x + 9, y + 5, z + 21, Block15, 0, 3); - world.setBlock(x + 10, y + 5, z + 21, Block15, 0, 3); - world.setBlock(x + 5, y + 5, z + 22, Block15, 0, 3); - world.setBlock(x + 11, y + 5, z + 22, Block15, 0, 3); - world.setBlock(x + 4, y + 5, z + 23, Block15, 0, 3); - world.setBlock(x + 12, y + 5, z + 23, Block15, 0, 3); - world.setBlock(x + 4, y + 5, z + 24, Block15, 0, 3); - world.setBlock(x + 12, y + 5, z + 24, Block15, 0, 3); - world.setBlock(x + 4, y + 5, z + 25, Block15, 0, 3); - world.setBlock(x + 12, y + 5, z + 25, Block15, 0, 3); - world.setBlock(x + 4, y + 5, z + 26, Block15, 0, 3); - world.setBlock(x + 12, y + 5, z + 26, Block15, 0, 3); - world.setBlock(x + 4, y + 5, z + 27, Block15, 0, 3); - world.setBlock(x + 12, y + 5, z + 27, Block15, 0, 3); - world.setBlock(x + 5, y + 5, z + 28, Block15, 0, 3); - world.setBlock(x + 11, y + 5, z + 28, Block15, 0, 3); - world.setBlock(x + 6, y + 5, z + 29, Block15, 0, 3); - world.setBlock(x + 7, y + 5, z + 29, Block15, 0, 3); - world.setBlock(x + 8, y + 5, z + 29, Block15, 0, 3); - world.setBlock(x + 9, y + 5, z + 29, Block15, 0, 3); - world.setBlock(x + 10, y + 5, z + 29, Block15, 0, 3); - world.setBlock(x + 16, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 19, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 20, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 24, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 37, y + 6, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 6, z + 7, Block5, 0, 3); - world.setBlock(x + 8, y + 6, z + 7, Block5, 0, 3); - world.setBlock(x + 9, y + 6, z + 7, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 7, Block1, 0, 3); - world.setBlock(x + 18, y + 6, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 19, y + 6, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 20, y + 6, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 21, y + 6, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 22, y + 6, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 6, z + 7, Block1, 0, 3); - world.setBlock(x + 24, y + 6, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 25, y + 6, z + 7, Block8, 3, 3); - world.setBlock(x + 26, y + 6, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 27, y + 6, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 6, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 6, z + 7, Blocks.vine, 4, 3); - world.setBlock(x + 31, y + 6, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 6, z + 7, Block22, 0, 3); - world.setBlock(x + 34, y + 6, z + 7, Block22, 0, 3); - world.setBlock(x + 35, y + 6, z + 7, Block22, 0, 3); - world.setBlock(x + 36, y + 6, z + 7, Block22, 0, 3); - world.setBlock(x + 37, y + 6, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 6, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + 6, z + 8, Block5, 0, 3); - world.setBlock(x + 8, y + 6, z + 8, Block5, 0, 3); - world.setBlock(x + 9, y + 6, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + 6, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 8, Block1, 0, 3); - world.setBlock(x + 22, y + 6, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 6, z + 8, Block1, 0, 3); - world.setBlock(x + 26, y + 6, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 32, y + 6, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 6, z + 8, Block22, 0, 3); - world.setBlock(x + 34, y + 6, z + 8, Block22, 0, 3); - world.setBlock(x + 35, y + 6, z + 8, Block22, 0, 3); - world.setBlock(x + 36, y + 6, z + 8, Block22, 0, 3); - world.setBlock(x + 37, y + 6, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + 6, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + 6, z + 9, Block5, 0, 3); - world.setBlock(x + 7, y + 6, z + 9, Block5, 0, 3); - world.setBlock(x + 8, y + 6, z + 9, Block5, 0, 3); - world.setBlock(x + 9, y + 6, z + 9, Block5, 0, 3); - world.setBlock(x + 10, y + 6, z + 9, Block5, 0, 3); - world.setBlock(x + 11, y + 6, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 9, Block1, 0, 3); - world.setBlock(x + 23, y + 6, z + 9, Block1, 0, 3); - world.setBlock(x + 25, y + 6, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 6, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 6, z + 9, Blocks.vine, 4, 3); - world.setBlock(x + 35, y + 6, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 6, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 6, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 6, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 6, z + 10, Block5, 0, 3); - world.setBlock(x + 6, y + 6, z + 10, Block5, 0, 3); - world.setBlock(x + 10, y + 6, z + 10, Block5, 0, 3); - world.setBlock(x + 11, y + 6, z + 10, Block5, 0, 3); - world.setBlock(x + 12, y + 6, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 6, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 6, z + 10, Block1, 0, 3); - world.setBlock(x + 24, y + 6, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 6, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 36, y + 6, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 6, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + 6, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 6, z + 11, Block5, 0, 3); - world.setBlock(x + 11, y + 6, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 6, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 11, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 18, y + 6, z + 11, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 19, y + 6, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 6, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 6, z + 11, Block1, 0, 3); - world.setBlock(x + 27, y + 6, z + 11, Blocks.vine, 8, 3); - world.setBlock(x + 28, y + 6, z + 11, Block24, 0, 3); - world.setBlock(x + 29, y + 6, z + 11, Block24, 0, 3); - world.setBlock(x + 30, y + 6, z + 11, Block24, 0, 3); - world.setBlock(x + 31, y + 6, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 37, y + 6, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + 6, z + 12, Block5, 0, 3); - world.setBlock(x + 5, y + 6, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 6, z + 12, Block25, 0, 3); - world.setBlock(x + 11, y + 6, z + 12, Block5, 0, 3); - world.setBlock(x + 12, y + 6, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 12, Blocks.stone_stairs, 7, 3); - world.setBlock(x + 18, y + 6, z + 12, Blocks.stone_stairs, 7, 3); - world.setBlock(x + 19, y + 6, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 6, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 22, y + 6, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 23, y + 6, z + 12, Block1, 0, 3); - world.setBlock(x + 24, y + 6, z + 12, Blocks.vine, 2, 3); - world.setBlock(x + 27, y + 6, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 28, y + 6, z + 12, Block24, 0, 3); - world.setBlock(x + 29, y + 6, z + 12, Block24, 0, 3); - world.setBlock(x + 30, y + 6, z + 12, Block24, 0, 3); - world.setBlock(x + 31, y + 6, z + 12, Blocks.vine, 2, 3); - world.setBlock(x + 36, y + 6, z + 12, Blocks.vine, 8, 3); - world.setBlock(x + 37, y + 6, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + 6, z + 13, Block5, 0, 3); - world.setBlock(x + 5, y + 6, z + 13, Block5, 0, 3); - world.setBlock(x + 11, y + 6, z + 13, Block5, 0, 3); - world.setBlock(x + 12, y + 6, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 23, y + 6, z + 13, Block1, 0, 3); - world.setBlock(x + 27, y + 6, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 28, y + 6, z + 13, Block24, 0, 3); - world.setBlock(x + 29, y + 6, z + 13, Block24, 0, 3); - world.setBlock(x + 30, y + 6, z + 13, Block24, 0, 3); - world.setBlock(x + 31, y + 6, z + 13, Blocks.vine, 2, 3); - world.setBlock(x + 35, y + 6, z + 13, Blocks.vine, 4, 3); - world.setBlock(x + 36, y + 6, z + 13, Blocks.vine, 8, 3); - world.setBlock(x + 37, y + 6, z + 13, Blocks.gravel, 0, 3); - world.setBlock(x + 4, y + 6, z + 14, Block5, 0, 3); - world.setBlock(x + 5, y + 6, z + 14, Block5, 0, 3); - world.setBlock(x + 6, y + 6, z + 14, Block5, 0, 3); - world.setBlock(x + 10, y + 6, z + 14, Block5, 0, 3); - world.setBlock(x + 11, y + 6, z + 14, Block5, 0, 3); - world.setBlock(x + 12, y + 6, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 14, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 23, y + 6, z + 14, Block1, 0, 3); - world.setBlock(x + 24, y + 6, z + 14, Blocks.vine, 2, 3); - world.setBlock(x + 26, y + 6, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 28, y + 6, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 6, z + 14, Block25, 0, 3); - world.setBlock(x + 5, y + 6, z + 15, Block5, 0, 3); - world.setBlock(x + 6, y + 6, z + 15, Block5, 0, 3); - world.setBlock(x + 7, y + 6, z + 15, Block5, 0, 3); - world.setBlock(x + 8, y + 6, z + 15, Block5, 0, 3); - world.setBlock(x + 9, y + 6, z + 15, Block5, 0, 3); - world.setBlock(x + 10, y + 6, z + 15, Block5, 0, 3); - world.setBlock(x + 11, y + 6, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 15, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 23, y + 6, z + 15, Block1, 0, 3); - world.setBlock(x + 24, y + 6, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 27, y + 6, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 34, y + 6, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 6, y + 6, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 6, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 6, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + 6, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + 6, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 6, z + 16, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 22, y + 6, z + 16, Blocks.vine, 8, 3); - world.setBlock(x + 23, y + 6, z + 16, Block1, 0, 3); - world.setBlock(x + 24, y + 6, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 29, y + 6, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 34, y + 6, z + 16, Blocks.vine, 2, 3); - world.setBlock(x + 16, y + 6, z + 17, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 18, y + 6, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 20, y + 6, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 21, y + 6, z + 17, Blocks.vine, 1, 3); - world.setBlock(x + 22, y + 6, z + 17, Blocks.vine, 8, 3); - world.setBlock(x + 23, y + 6, z + 17, Block1, 0, 3); - world.setBlock(x + 25, y + 6, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 27, y + 6, z + 17, Blocks.vine, 1, 3); - world.setBlock(x + 28, y + 6, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 30, y + 6, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 33, y + 6, z + 17, Blocks.vine, 3, 3); - world.setBlock(x + 16, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 22, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 26, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 28, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 29, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 33, y + 6, z + 18, Block1, 0, 3); - world.setBlock(x + 34, y + 6, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 6, y + 6, z + 21, Block15, 0, 3); - world.setBlock(x + 7, y + 6, z + 21, Block15, 0, 3); - world.setBlock(x + 8, y + 6, z + 21, Block15, 0, 3); - world.setBlock(x + 9, y + 6, z + 21, Block15, 0, 3); - world.setBlock(x + 10, y + 6, z + 21, Block15, 0, 3); - world.setBlock(x + 5, y + 6, z + 22, Block15, 0, 3); - world.setBlock(x + 11, y + 6, z + 22, Block15, 0, 3); - world.setBlock(x + 4, y + 6, z + 23, Block15, 0, 3); - world.setBlock(x + 12, y + 6, z + 23, Block15, 0, 3); - world.setBlock(x + 4, y + 6, z + 24, Block15, 0, 3); - world.setBlock(x + 12, y + 6, z + 24, Block15, 0, 3); - world.setBlock(x + 4, y + 6, z + 25, Block15, 0, 3); - world.setBlock(x + 12, y + 6, z + 25, Block15, 0, 3); - world.setBlock(x + 4, y + 6, z + 26, Block15, 0, 3); - world.setBlock(x + 12, y + 6, z + 26, Block15, 0, 3); - world.setBlock(x + 4, y + 6, z + 27, Block15, 0, 3); - world.setBlock(x + 12, y + 6, z + 27, Block15, 0, 3); - world.setBlock(x + 5, y + 6, z + 28, Block15, 0, 3); - world.setBlock(x + 11, y + 6, z + 28, Block15, 0, 3); - world.setBlock(x + 6, y + 6, z + 29, Block15, 0, 3); - world.setBlock(x + 7, y + 6, z + 29, Block15, 0, 3); - world.setBlock(x + 8, y + 6, z + 29, Block15, 0, 3); - world.setBlock(x + 9, y + 6, z + 29, Block15, 0, 3); - world.setBlock(x + 10, y + 6, z + 29, Block15, 0, 3); - world.setBlock(x + 16, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 20, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 22, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 24, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + 7, z + 6, Block1, 0, 3); - world.setBlock(x + 16, y + 7, z + 7, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 21, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 33, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 34, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 35, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 36, y + 7, z + 7, Block6, 0, 3); - world.setBlock(x + 37, y + 7, z + 7, Block1, 0, 3); - world.setBlock(x + 16, y + 7, z + 8, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 21, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 33, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 34, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 35, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 36, y + 7, z + 8, Block6, 0, 3); - world.setBlock(x + 37, y + 7, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 7, z + 9, Block5, 0, 3); - world.setBlock(x + 7, y + 7, z + 9, Block5, 0, 3); - world.setBlock(x + 8, y + 7, z + 9, Block5, 0, 3); - world.setBlock(x + 9, y + 7, z + 9, Block5, 0, 3); - world.setBlock(x + 10, y + 7, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 9, Block25, 0, 3); - world.setBlock(x + 21, y + 7, z + 9, Block25, 0, 3); - world.setBlock(x + 22, y + 7, z + 9, Block25, 0, 3); - world.setBlock(x + 23, y + 7, z + 9, Block25, 0, 3); - world.setBlock(x + 24, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 33, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 34, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 35, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 36, y + 7, z + 9, Block6, 0, 3); - world.setBlock(x + 37, y + 7, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 7, z + 10, Block5, 0, 3); - world.setBlock(x + 6, y + 7, z + 10, Block5, 0, 3); - world.setBlock(x + 10, y + 7, z + 10, Block5, 0, 3); - world.setBlock(x + 11, y + 7, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 10, Block25, 0, 3); - world.setBlock(x + 21, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 33, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 34, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 35, y + 7, z + 10, Block6, 0, 3); - world.setBlock(x + 36, y + 7, z + 10, Block18, 0, 3); - world.setBlock(x + 37, y + 7, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 7, z + 11, Block5, 0, 3); - world.setBlock(x + 11, y + 7, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 11, Block25, 0, 3); - world.setBlock(x + 21, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 33, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 34, y + 7, z + 11, Block6, 0, 3); - world.setBlock(x + 35, y + 7, z + 11, Block18, 0, 3); - world.setBlock(x + 36, y + 7, z + 11, Block18, 0, 3); - world.setBlock(x + 37, y + 7, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + 7, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 9, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 10, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 11, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 12, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 13, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 14, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 15, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 16, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 17, y + 7, z + 12, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 18, y + 7, z + 12, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 19, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 12, Block25, 0, 3); - world.setBlock(x + 21, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 12, Block6, 0, 3); - world.setBlock(x + 33, y + 7, z + 12, Block18, 0, 3); - world.setBlock(x + 34, y + 7, z + 12, Block18, 0, 3); - world.setBlock(x + 35, y + 7, z + 12, Block18, 0, 3); - world.setBlock(x + 37, y + 7, z + 12, Blocks.gravel, 0, 3); - world.setBlock(x + 5, y + 7, z + 13, Block5, 0, 3); - world.setBlock(x + 11, y + 7, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 13, Block25, 0, 3); - world.setBlock(x + 17, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 18, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 19, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 13, Block25, 0, 3); - world.setBlock(x + 21, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 13, Block6, 0, 3); - world.setBlock(x + 33, y + 7, z + 13, Block18, 0, 3); - world.setBlock(x + 34, y + 7, z + 13, Block18, 0, 3); - world.setBlock(x + 35, y + 7, z + 13, Blocks.vine, 4, 3); - world.setBlock(x + 5, y + 7, z + 14, Block5, 0, 3); - world.setBlock(x + 6, y + 7, z + 14, Block5, 0, 3); - world.setBlock(x + 10, y + 7, z + 14, Block5, 0, 3); - world.setBlock(x + 11, y + 7, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 17, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 18, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 19, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 20, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 21, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 22, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 23, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 24, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 25, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 26, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 27, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 28, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 29, y + 7, z + 14, Block25, 0, 3); - world.setBlock(x + 30, y + 7, z + 14, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 14, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 14, Block18, 0, 3); - world.setBlock(x + 33, y + 7, z + 14, Block18, 0, 3); - world.setBlock(x + 34, y + 7, z + 14, Block18, 0, 3); - world.setBlock(x + 6, y + 7, z + 15, Block5, 0, 3); - world.setBlock(x + 7, y + 7, z + 15, Block5, 0, 3); - world.setBlock(x + 8, y + 7, z + 15, Block5, 0, 3); - world.setBlock(x + 9, y + 7, z + 15, Block5, 0, 3); - world.setBlock(x + 10, y + 7, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 15, Block1, 0, 3); - world.setBlock(x + 17, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 18, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 19, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 21, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 15, Block6, 0, 3); - world.setBlock(x + 32, y + 7, z + 15, Block18, 0, 3); - world.setBlock(x + 33, y + 7, z + 15, Block18, 0, 3); - world.setBlock(x + 34, y + 7, z + 15, Blocks.vine, 2, 3); - world.setBlock(x + 8, y + 7, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 16, Block1, 0, 3); - world.setBlock(x + 17, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 18, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 19, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 21, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 16, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 16, Block18, 0, 3); - world.setBlock(x + 32, y + 7, z + 16, Block18, 0, 3); - world.setBlock(x + 33, y + 7, z + 16, Block18, 0, 3); - world.setBlock(x + 34, y + 7, z + 16, Blocks.vine, 2, 3); - world.setBlock(x + 8, y + 7, z + 17, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 17, Block1, 0, 3); - world.setBlock(x + 17, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 18, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 19, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 20, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 21, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 22, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 23, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 24, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 25, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 26, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 27, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 28, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 29, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 30, y + 7, z + 17, Block6, 0, 3); - world.setBlock(x + 31, y + 7, z + 17, Block18, 0, 3); - world.setBlock(x + 32, y + 7, z + 17, Block18, 0, 3); - world.setBlock(x + 33, y + 7, z + 17, Blocks.vine, 2, 3); - world.setBlock(x + 8, y + 7, z + 18, Block5, 0, 3); - world.setBlock(x + 16, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 22, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 26, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 28, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 29, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 33, y + 7, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + 7, z + 19, Block5, 0, 3); - world.setBlock(x + 8, y + 7, z + 20, Block5, 0, 3); - world.setBlock(x + 6, y + 7, z + 21, Block15, 0, 3); - world.setBlock(x + 7, y + 7, z + 21, Block15, 0, 3); - world.setBlock(x + 8, y + 7, z + 21, Block15, 0, 3); - world.setBlock(x + 9, y + 7, z + 21, Block15, 0, 3); - world.setBlock(x + 10, y + 7, z + 21, Block15, 0, 3); - world.setBlock(x + 5, y + 7, z + 22, Block15, 0, 3); - world.setBlock(x + 6, y + 7, z + 22, Block7, 0, 3); - world.setBlock(x + 7, y + 7, z + 22, Block7, 0, 3); - world.setBlock(x + 8, y + 7, z + 22, Block7, 0, 3); - world.setBlock(x + 9, y + 7, z + 22, Block7, 0, 3); - world.setBlock(x + 10, y + 7, z + 22, Block7, 0, 3); - world.setBlock(x + 11, y + 7, z + 22, Block15, 0, 3); - world.setBlock(x + 4, y + 7, z + 23, Block15, 0, 3); - world.setBlock(x + 5, y + 7, z + 23, Block7, 0, 3); - world.setBlock(x + 7, y + 7, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 7, z + 23, Block7, 0, 3); - world.setBlock(x + 11, y + 7, z + 23, Block7, 0, 3); - world.setBlock(x + 12, y + 7, z + 23, Block15, 0, 3); - world.setBlock(x + 4, y + 7, z + 24, Block15, 0, 3); - world.setBlock(x + 5, y + 7, z + 24, Block7, 0, 3); - world.setBlock(x + 8, y + 7, z + 24, Block7, 0, 3); - world.setBlock(x + 9, y + 7, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 7, z + 24, Block7, 0, 3); - world.setBlock(x + 12, y + 7, z + 24, Block15, 0, 3); - world.setBlock(x + 4, y + 7, z + 25, Block15, 0, 3); - world.setBlock(x + 5, y + 7, z + 25, Block7, 0, 3); - world.setBlock(x + 7, y + 7, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 7, z + 25, Block7, 0, 3); - world.setBlock(x + 9, y + 7, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 7, z + 25, Block7, 0, 3); - world.setBlock(x + 12, y + 7, z + 25, Block15, 0, 3); - world.setBlock(x + 4, y + 7, z + 26, Block15, 0, 3); - world.setBlock(x + 5, y + 7, z + 26, Block7, 0, 3); - world.setBlock(x + 8, y + 7, z + 26, Block7, 0, 3); - world.setBlock(x + 11, y + 7, z + 26, Block7, 0, 3); - world.setBlock(x + 12, y + 7, z + 26, Block15, 0, 3); - world.setBlock(x + 4, y + 7, z + 27, Block15, 0, 3); - world.setBlock(x + 5, y + 7, z + 27, Block7, 0, 3); - world.setBlock(x + 7, y + 7, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 7, z + 27, Block7, 0, 3); - world.setBlock(x + 9, y + 7, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 7, z + 27, Block7, 0, 3); - world.setBlock(x + 12, y + 7, z + 27, Block15, 0, 3); - world.setBlock(x + 5, y + 7, z + 28, Block15, 0, 3); - world.setBlock(x + 6, y + 7, z + 28, Block7, 0, 3); - world.setBlock(x + 7, y + 7, z + 28, Block7, 0, 3); - world.setBlock(x + 8, y + 7, z + 28, Block7, 0, 3); - world.setBlock(x + 9, y + 7, z + 28, Block7, 0, 3); - world.setBlock(x + 10, y + 7, z + 28, Block7, 0, 3); - world.setBlock(x + 11, y + 7, z + 28, Block15, 0, 3); - world.setBlock(x + 6, y + 7, z + 29, Block15, 0, 3); - world.setBlock(x + 7, y + 7, z + 29, Block15, 0, 3); - world.setBlock(x + 8, y + 7, z + 29, Block15, 0, 3); - world.setBlock(x + 9, y + 7, z + 29, Block15, 0, 3); - world.setBlock(x + 10, y + 7, z + 29, Block15, 0, 3); - world.setBlock(x + 16, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 17, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 18, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 20, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 21, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 23, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 25, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 26, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 27, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 28, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 29, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 30, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 31, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 32, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 33, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 34, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 35, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 36, y + 8, z + 6, Block1, 0, 3); - world.setBlock(x + 16, y + 8, z + 7, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 8, z + 8, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 37, y + 8, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 8, z + 9, Block5, 0, 3); - world.setBlock(x + 7, y + 8, z + 9, Block5, 0, 3); - world.setBlock(x + 8, y + 8, z + 9, Block5, 0, 3); - world.setBlock(x + 9, y + 8, z + 9, Block5, 0, 3); - world.setBlock(x + 10, y + 8, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 8, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 8, z + 9, Block25, 0, 3); - world.setBlock(x + 24, y + 8, z + 9, Block25, 0, 3); - world.setBlock(x + 25, y + 8, z + 9, Block28, 3, 3); - world.setBlock(x + 26, y + 8, z + 9, Block25, 0, 3); - world.setBlock(x + 27, y + 8, z + 9, Block25, 0, 3); - world.setBlock(x + 28, y + 8, z + 9, Block28, 3, 3); - world.setBlock(x + 29, y + 8, z + 9, Block25, 0, 3); - world.setBlock(x + 30, y + 8, z + 9, Block25, 0, 3); - world.setBlock(x + 31, y + 8, z + 9, Block29, 3, 3); - world.setBlock(x + 37, y + 8, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 8, z + 10, Block5, 0, 3); - world.setBlock(x + 6, y + 8, z + 10, Block5, 0, 3); - world.setBlock(x + 7, y + 8, z + 10, Block11, 0, 3); - world.setBlock(x + 8, y + 8, z + 10, Block5, 0, 3); - world.setBlock(x + 9, y + 8, z + 10, Block11, 0, 3); - world.setBlock(x + 10, y + 8, z + 10, Block5, 0, 3); - world.setBlock(x + 11, y + 8, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 8, z + 10, Block1, 0, 3); - world.setBlock(x + 37, y + 8, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 8, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + 8, z + 11, Block11, 0, 3); - world.setBlock(x + 10, y + 8, z + 11, Block11, 0, 3); - world.setBlock(x + 11, y + 8, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 8, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 8, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 8, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 8, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 37, y + 8, z + 11, Blocks.gravel, 0, 3); - world.setBlock(x + 5, y + 8, z + 12, Block5, 0, 3); - world.setBlock(x + 6, y + 8, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 8, z + 12, Block25, 0, 3); - world.setBlock(x + 10, y + 8, z + 12, Block5, 0, 3); - world.setBlock(x + 11, y + 8, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 8, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 8, z + 13, Block5, 0, 3); - world.setBlock(x + 6, y + 8, z + 13, Block11, 0, 3); - world.setBlock(x + 10, y + 8, z + 13, Block11, 0, 3); - world.setBlock(x + 11, y + 8, z + 13, Block5, 0, 3); - world.setBlock(x + 12, y + 8, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 8, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 8, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 8, z + 13, Block1, 0, 3); - world.setBlock(x + 33, y + 8, z + 13, Block13, 5, 3); - world.setBlock(x + 5, y + 8, z + 14, Block5, 0, 3); - world.setBlock(x + 6, y + 8, z + 14, Block5, 0, 3); - world.setBlock(x + 7, y + 8, z + 14, Block11, 0, 3); - world.setBlock(x + 8, y + 8, z + 14, Block5, 0, 3); - world.setBlock(x + 9, y + 8, z + 14, Block11, 0, 3); - world.setBlock(x + 10, y + 8, z + 14, Block5, 0, 3); - world.setBlock(x + 11, y + 8, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 8, z + 14, Block1, 0, 3); - world.setBlock(x + 22, y + 8, z + 14, Block5, 0, 3); - world.setBlock(x + 23, y + 8, z + 14, Block25, 0, 3); - world.setBlock(x + 27, y + 8, z + 14, Block5, 0, 3); - world.setBlock(x + 28, y + 8, z + 14, Block25, 0, 3); - world.setBlock(x + 29, y + 8, z + 14, Block5, 0, 3); - world.setBlock(x + 32, y + 8, z + 14, Block8, 5, 3); - world.setBlock(x + 6, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 7, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 8, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 9, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 10, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 8, z + 15, Block1, 0, 3); - world.setBlock(x + 22, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 23, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 24, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 27, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 28, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 29, y + 8, z + 15, Block5, 0, 3); - world.setBlock(x + 30, y + 8, z + 15, Block8, 2, 3); - world.setBlock(x + 31, y + 8, z + 15, Block8, 3, 3); - world.setBlock(x + 7, y + 8, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 8, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 8, z + 16, Block1, 0, 3); - world.setBlock(x + 22, y + 8, z + 16, Block5, 0, 3); - world.setBlock(x + 23, y + 8, z + 16, Block5, 0, 3); - world.setBlock(x + 24, y + 8, z + 16, Block5, 0, 3); - world.setBlock(x + 27, y + 8, z + 16, Block5, 0, 3); - world.setBlock(x + 28, y + 8, z + 16, Block5, 0, 3); - world.setBlock(x + 29, y + 8, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 8, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 8, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + 8, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 8, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 17, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 21, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 22, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 23, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 24, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 25, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 26, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 27, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 28, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 29, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 30, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 31, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 32, y + 8, z + 18, Block1, 0, 3); - world.setBlock(x + 33, y + 8, z + 18, Blocks.gravel, 0, 3); - world.setBlock(x + 9, y + 8, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 8, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 8, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 8, z + 22, Block15, 0, 3); - world.setBlock(x + 7, y + 8, z + 22, Block15, 0, 3); - world.setBlock(x + 8, y + 8, z + 22, Blocks.iron_door, 1, 3); - ItemDoor.placeDoorBlock(world, x + 8, y + 8, z + 22, 1, Blocks.iron_door); - world.setBlock(x + 9, y + 8, z + 22, Block15, 0, 3); - world.setBlock(x + 10, y + 8, z + 22, Block15, 0, 3); - world.setBlock(x + 5, y + 8, z + 23, Block15, 0, 3); - world.setBlock(x + 7, y + 8, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 8, z + 23, Block15, 0, 3); - world.setBlock(x + 5, y + 8, z + 24, Block15, 0, 3); - world.setBlock(x + 9, y + 8, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 8, z + 24, Block15, 0, 3); - world.setBlock(x + 5, y + 8, z + 25, Block15, 0, 3); - world.setBlock(x + 9, y + 8, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 8, z + 25, Block15, 0, 3); - world.setBlock(x + 5, y + 8, z + 26, Block15, 0, 3); - world.setBlock(x + 11, y + 8, z + 26, Block15, 0, 3); - world.setBlock(x + 5, y + 8, z + 27, Block15, 0, 3); - world.setBlock(x + 7, y + 8, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 8, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 8, z + 27, Block15, 0, 3); - world.setBlock(x + 6, y + 8, z + 28, Block15, 0, 3); - world.setBlock(x + 7, y + 8, z + 28, Block15, 0, 3); - world.setBlock(x + 8, y + 8, z + 28, Block15, 0, 3); - world.setBlock(x + 9, y + 8, z + 28, Block15, 0, 3); - world.setBlock(x + 10, y + 8, z + 28, Block15, 0, 3); - world.setBlock(x + 7, y + 9, z + 10, Block11, 0, 3); - world.setBlock(x + 8, y + 9, z + 10, Block5, 0, 3); - world.setBlock(x + 9, y + 9, z + 10, Block11, 0, 3); - world.setBlock(x + 6, y + 9, z + 11, Block11, 0, 3); - world.setBlock(x + 7, y + 9, z + 11, Block11, 0, 3); - world.setBlock(x + 8, y + 9, z + 11, Block5, 0, 3); - world.setBlock(x + 9, y + 9, z + 11, Block11, 0, 3); - world.setBlock(x + 10, y + 9, z + 11, Block11, 0, 3); - world.setBlock(x + 6, y + 9, z + 12, Block5, 0, 3); - world.setBlock(x + 7, y + 9, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 9, z + 12, Block5, 0, 3); - world.setBlock(x + 9, y + 9, z + 12, Block5, 0, 3); - world.setBlock(x + 10, y + 9, z + 12, Block5, 0, 3); - world.setBlock(x + 6, y + 9, z + 13, Block11, 0, 3); - world.setBlock(x + 7, y + 9, z + 13, Block11, 0, 3); - world.setBlock(x + 8, y + 9, z + 13, Block5, 0, 3); - world.setBlock(x + 9, y + 9, z + 13, Block11, 0, 3); - world.setBlock(x + 10, y + 9, z + 13, Block11, 0, 3); - world.setBlock(x + 7, y + 9, z + 14, Block11, 0, 3); - - generate_r01(world, rand, x, y, z); - return true; - - } - public boolean generate_r01(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 8, y + 9, z + 14, Block5, 0, 3); - world.setBlock(x + 9, y + 9, z + 14, Block11, 0, 3); - world.setBlock(x + 23, y + 9, z + 15, Block5, 0, 3); - world.setBlock(x + 28, y + 9, z + 15, Block5, 0, 3); - world.setBlock(x + 29, y + 9, z + 15, Block8, 5, 3); - world.setBlock(x + 6, y + 9, z + 22, Block15, 0, 3); - world.setBlock(x + 7, y + 9, z + 22, Block15, 0, 3); - //world.setBlock(x + 8, y + 9, z + 22, Blocks.iron_door, 8, 3); - world.setBlock(x + 9, y + 9, z + 22, Block15, 0, 3); - world.setBlock(x + 10, y + 9, z + 22, Block15, 0, 3); - world.setBlock(x + 5, y + 9, z + 23, Block15, 0, 3); - world.setBlock(x + 11, y + 9, z + 23, Block15, 0, 3); - world.setBlock(x + 5, y + 9, z + 24, Block15, 0, 3); - world.setBlock(x + 11, y + 9, z + 24, Block15, 0, 3); - world.setBlock(x + 5, y + 9, z + 25, Block15, 0, 3); - world.setBlock(x + 11, y + 9, z + 25, Block15, 0, 3); - world.setBlock(x + 5, y + 9, z + 26, Block15, 0, 3); - world.setBlock(x + 11, y + 9, z + 26, Block15, 0, 3); - world.setBlock(x + 5, y + 9, z + 27, Block15, 0, 3); - world.setBlock(x + 11, y + 9, z + 27, Block15, 0, 3); - world.setBlock(x + 6, y + 9, z + 28, Block15, 0, 3); - world.setBlock(x + 7, y + 9, z + 28, Block15, 0, 3); - world.setBlock(x + 8, y + 9, z + 28, Block15, 0, 3); - world.setBlock(x + 9, y + 9, z + 28, Block15, 0, 3); - world.setBlock(x + 10, y + 9, z + 28, Block15, 0, 3); - world.setBlock(x + 7, y + 10, z + 11, Block11, 0, 3); - world.setBlock(x + 8, y + 10, z + 11, Block5, 0, 3); - world.setBlock(x + 9, y + 10, z + 11, Block11, 0, 3); - world.setBlock(x + 7, y + 10, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 10, z + 12, Block5, 0, 3); - world.setBlock(x + 9, y + 10, z + 12, Block5, 0, 3); - world.setBlock(x + 7, y + 10, z + 13, Block11, 0, 3); - world.setBlock(x + 8, y + 10, z + 13, Block5, 0, 3); - world.setBlock(x + 9, y + 10, z + 13, Block11, 0, 3); - world.setBlock(x + 23, y + 10, z + 15, Block8, 5, 3); - world.setBlock(x + 28, y + 10, z + 15, Block8, 5, 3); - world.setBlock(x + 6, y + 10, z + 22, Block15, 0, 3); - world.setBlock(x + 7, y + 10, z + 22, Block15, 0, 3); - world.setBlock(x + 8, y + 10, z + 22, Block15, 0, 3); - world.setBlock(x + 9, y + 10, z + 22, Block15, 0, 3); - world.setBlock(x + 10, y + 10, z + 22, Block15, 0, 3); - world.setBlock(x + 5, y + 10, z + 23, Block15, 0, 3); - world.setBlock(x + 11, y + 10, z + 23, Block15, 0, 3); - world.setBlock(x + 5, y + 10, z + 24, Block15, 0, 3); - world.setBlock(x + 11, y + 10, z + 24, Block15, 0, 3); - world.setBlock(x + 5, y + 10, z + 25, Block15, 0, 3); - world.setBlock(x + 11, y + 10, z + 25, Block15, 0, 3); - world.setBlock(x + 5, y + 10, z + 26, Block15, 0, 3); - world.setBlock(x + 11, y + 10, z + 26, Block15, 0, 3); - world.setBlock(x + 5, y + 10, z + 27, Block15, 0, 3); - world.setBlock(x + 11, y + 10, z + 27, Block15, 0, 3); - world.setBlock(x + 6, y + 10, z + 28, Block15, 0, 3); - world.setBlock(x + 7, y + 10, z + 28, Block15, 0, 3); - world.setBlock(x + 8, y + 10, z + 28, Block15, 0, 3); - world.setBlock(x + 9, y + 10, z + 28, Block15, 0, 3); - world.setBlock(x + 10, y + 10, z + 28, Block15, 0, 3); - world.setBlock(x + 8, y + 11, z + 12, Block5, 0, 3); - world.setBlock(x + 23, y + 11, z + 15, Block8, 5, 3); - world.setBlock(x + 28, y + 11, z + 15, Block8, 5, 3); - world.setBlock(x + 6, y + 11, z + 21, Block15, 0, 3); - world.setBlock(x + 7, y + 11, z + 21, Block15, 0, 3); - world.setBlock(x + 8, y + 11, z + 21, Block15, 0, 3); - world.setBlock(x + 9, y + 11, z + 21, Block15, 0, 3); - world.setBlock(x + 10, y + 11, z + 21, Block15, 0, 3); - world.setBlock(x + 5, y + 11, z + 22, Block15, 0, 3); - world.setBlock(x + 6, y + 11, z + 22, Block7, 0, 3); - world.setBlock(x + 7, y + 11, z + 22, Block7, 0, 3); - world.setBlock(x + 8, y + 11, z + 22, Block7, 0, 3); - world.setBlock(x + 9, y + 11, z + 22, Block7, 0, 3); - world.setBlock(x + 10, y + 11, z + 22, Block7, 0, 3); - world.setBlock(x + 11, y + 11, z + 22, Block15, 0, 3); - world.setBlock(x + 4, y + 11, z + 23, Block15, 0, 3); - world.setBlock(x + 5, y + 11, z + 23, Block7, 0, 3); - world.setBlock(x + 11, y + 11, z + 23, Block7, 0, 3); - world.setBlock(x + 12, y + 11, z + 23, Block15, 0, 3); - world.setBlock(x + 4, y + 11, z + 24, Block15, 0, 3); - world.setBlock(x + 5, y + 11, z + 24, Block7, 0, 3); - world.setBlock(x + 11, y + 11, z + 24, Block7, 0, 3); - world.setBlock(x + 12, y + 11, z + 24, Block15, 0, 3); - world.setBlock(x + 4, y + 11, z + 25, Block15, 0, 3); - world.setBlock(x + 5, y + 11, z + 25, Block7, 0, 3); - world.setBlock(x + 11, y + 11, z + 25, Block7, 0, 3); - world.setBlock(x + 12, y + 11, z + 25, Block15, 0, 3); - world.setBlock(x + 4, y + 11, z + 26, Block15, 0, 3); - world.setBlock(x + 5, y + 11, z + 26, Block7, 0, 3); - world.setBlock(x + 11, y + 11, z + 26, Block7, 0, 3); - world.setBlock(x + 12, y + 11, z + 26, Block15, 0, 3); - world.setBlock(x + 4, y + 11, z + 27, Block15, 0, 3); - world.setBlock(x + 5, y + 11, z + 27, Block7, 0, 3); - world.setBlock(x + 11, y + 11, z + 27, Block7, 0, 3); - world.setBlock(x + 12, y + 11, z + 27, Block15, 0, 3); - world.setBlock(x + 5, y + 11, z + 28, Block15, 0, 3); - world.setBlock(x + 6, y + 11, z + 28, Block7, 0, 3); - world.setBlock(x + 7, y + 11, z + 28, Block7, 0, 3); - world.setBlock(x + 8, y + 11, z + 28, Block7, 0, 3); - world.setBlock(x + 9, y + 11, z + 28, Block7, 0, 3); - world.setBlock(x + 10, y + 11, z + 28, Block7, 0, 3); - world.setBlock(x + 11, y + 11, z + 28, Block15, 0, 3); - world.setBlock(x + 6, y + 11, z + 29, Block15, 0, 3); - world.setBlock(x + 7, y + 11, z + 29, Block15, 0, 3); - world.setBlock(x + 8, y + 11, z + 29, Block15, 0, 3); - world.setBlock(x + 9, y + 11, z + 29, Block15, 0, 3); - world.setBlock(x + 10, y + 11, z + 29, Block15, 0, 3); - world.setBlock(x + 8, y + 12, z + 12, Block27, 3, 3); - world.setBlock(x + 23, y + 12, z + 15, Block8, 5, 3); - world.setBlock(x + 28, y + 12, z + 15, Block8, 5, 3); - world.setBlock(x + 6, y + 12, z + 20, Block15, 0, 3); - world.setBlock(x + 7, y + 12, z + 20, Block15, 0, 3); - world.setBlock(x + 8, y + 12, z + 20, Block15, 0, 3); - world.setBlock(x + 9, y + 12, z + 20, Block15, 0, 3); - world.setBlock(x + 10, y + 12, z + 20, Block15, 0, 3); - world.setBlock(x + 5, y + 12, z + 21, Block15, 0, 3); - world.setBlock(x + 6, y + 12, z + 21, Block7, 0, 3); - world.setBlock(x + 7, y + 12, z + 21, Block7, 0, 3); - world.setBlock(x + 8, y + 12, z + 21, Block7, 0, 3); - world.setBlock(x + 9, y + 12, z + 21, Block7, 0, 3); - world.setBlock(x + 10, y + 12, z + 21, Block7, 0, 3); - world.setBlock(x + 11, y + 12, z + 21, Block15, 0, 3); - world.setBlock(x + 4, y + 12, z + 22, Block15, 0, 3); - world.setBlock(x + 5, y + 12, z + 22, Block7, 0, 3); - world.setBlock(x + 11, y + 12, z + 22, Block7, 0, 3); - world.setBlock(x + 12, y + 12, z + 22, Block15, 0, 3); - world.setBlock(x + 3, y + 12, z + 23, Block15, 0, 3); - world.setBlock(x + 4, y + 12, z + 23, Block7, 0, 3); - world.setBlock(x + 12, y + 12, z + 23, Block7, 0, 3); - world.setBlock(x + 13, y + 12, z + 23, Block15, 0, 3); - world.setBlock(x + 3, y + 12, z + 24, Block15, 0, 3); - world.setBlock(x + 4, y + 12, z + 24, Block7, 0, 3); - world.setBlock(x + 12, y + 12, z + 24, Block7, 0, 3); - world.setBlock(x + 13, y + 12, z + 24, Block15, 0, 3); - world.setBlock(x + 3, y + 12, z + 25, Block15, 0, 3); - world.setBlock(x + 4, y + 12, z + 25, Block7, 0, 3); - world.setBlock(x + 12, y + 12, z + 25, Block7, 0, 3); - world.setBlock(x + 13, y + 12, z + 25, Block15, 0, 3); - world.setBlock(x + 3, y + 12, z + 26, Block15, 0, 3); - world.setBlock(x + 4, y + 12, z + 26, Block7, 0, 3); - world.setBlock(x + 12, y + 12, z + 26, Block7, 0, 3); - world.setBlock(x + 13, y + 12, z + 26, Block15, 0, 3); - world.setBlock(x + 3, y + 12, z + 27, Block15, 0, 3); - world.setBlock(x + 4, y + 12, z + 27, Block7, 0, 3); - world.setBlock(x + 12, y + 12, z + 27, Block7, 0, 3); - world.setBlock(x + 13, y + 12, z + 27, Block15, 0, 3); - world.setBlock(x + 4, y + 12, z + 28, Block15, 0, 3); - world.setBlock(x + 5, y + 12, z + 28, Block7, 0, 3); - world.setBlock(x + 11, y + 12, z + 28, Block7, 0, 3); - world.setBlock(x + 12, y + 12, z + 28, Block15, 0, 3); - world.setBlock(x + 5, y + 12, z + 29, Block15, 0, 3); - world.setBlock(x + 6, y + 12, z + 29, Block7, 0, 3); - world.setBlock(x + 7, y + 12, z + 29, Block7, 0, 3); - world.setBlock(x + 8, y + 12, z + 29, Block7, 0, 3); - world.setBlock(x + 9, y + 12, z + 29, Block7, 0, 3); - world.setBlock(x + 10, y + 12, z + 29, Block7, 0, 3); - world.setBlock(x + 11, y + 12, z + 29, Block15, 0, 3); - world.setBlock(x + 6, y + 12, z + 30, Block15, 0, 3); - world.setBlock(x + 7, y + 12, z + 30, Block15, 0, 3); - world.setBlock(x + 8, y + 12, z + 30, Block15, 0, 3); - world.setBlock(x + 9, y + 12, z + 30, Block15, 0, 3); - world.setBlock(x + 10, y + 12, z + 30, Block15, 0, 3); - world.setBlock(x + 23, y + 13, z + 15, Block13, 5, 3); - world.setBlock(x + 28, y + 13, z + 15, Block13, 5, 3); - world.setBlock(x + 23, y + 14, z + 15, Block8, 3, 3); - world.setBlock(x + 23, y + 15, z + 15, Block13, 3, 3); - world.setBlock(x + 23, y + 16, z + 15, Block8, 3, 3); - world.setBlock(x + 23, y + 17, z + 15, Block8, 3, 3); - world.setBlock(x + 23, y + 18, z + 15, Block8, 3, 3); - world.setBlock(x + 23, y + 19, z + 15, Block27, 3, 3); - - generate_r02_last(world, rand, x, y, z); - return true; - - } - public boolean generate_r02_last(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 8, y + 1, z + 7, Blocks.ladder, 2, 3); - world.setBlock(x + 38, y + 1, z + 8, Blocks.wall_sign, 5, 3); - world.setBlock(x + 38, y + 1, z + 9, Blocks.wall_sign, 5, 3); - world.setBlock(x + 35, y + 1, z + 14, Blocks.lever, 14, 3); - world.setBlock(x + 35, y + 1, z + 16, Blocks.lever, 6, 3); - world.setBlock(x + 8, y + 2, z + 7, Blocks.ladder, 2, 3); - world.setBlock(x + 8, y + 3, z + 7, Blocks.ladder, 2, 3); - world.setBlock(x + 8, y + 4, z + 7, Blocks.wall_sign, 2, 3); - world.setBlock(x + 8, y + 5, z + 7, Blocks.wall_sign, 2, 3); - world.setBlock(x + 22, y + 5, z + 14, Blocks.lever, 2, 3); - world.setBlock(x + 8, y + 8, z + 21, Blocks.wall_sign, 2, 3); - world.setBlock(x + 8, y + 9, z + 21, Blocks.wall_sign, 2, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned abandoned Power Plant at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S.SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; +import com.hbm.tileentity.TileEntityMachinePuF6Tank; +import com.hbm.tileentity.TileEntityMachineUF6Tank; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemDoor; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; + +public class DesertAtom003 +{ + Block Block1 = ModBlocks.brick_concrete; + Block Block2 = ModBlocks.yellow_barrel; + Block Block3 = ModBlocks.reinforced_sand; + Block Block4 = ModBlocks.nuke_man; + Block Block5 = ModBlocks.block_steel; + Block Block6 = ModBlocks.brick_light; + Block Block7 = ModBlocks.block_tungsten; + Block Block8 = ModBlocks.steel_poles; + Block Block9 = ModBlocks.tape_recorder; + Block Block10 = ModBlocks.machine_nuke_furnace_off; + Block Block11 = ModBlocks.reinforced_glass; + Block Block12 = ModBlocks.reinforced_lamp_off; + Block Block13 = ModBlocks.pole_satellite_receiver; + Block Block14 = ModBlocks.machine_generator; + Block Block15 = ModBlocks.block_titanium; + Block Block16 = ModBlocks.machine_reactor; + Block Block17 = ModBlocks.ore_schrabidium; + Block Block18 = ModBlocks.waste_planks; + Block Block19 = ModBlocks.machine_centrifuge; + Block Block20 = ModBlocks.machine_uf6_tank; + Block Block21 = ModBlocks.machine_puf6_tank; + Block Block22 = ModBlocks.reinforced_brick; + Block Block23 = ModBlocks.waste_earth; + Block Block24 = ModBlocks.block_lead; + Block Block25 = ModBlocks.red_wire_coated; + Block Block26 = ModBlocks.block_uranium; + Block Block27 = ModBlocks.pole_top; + Block Block28 = ModBlocks.machine_battery; + Block Block29 = ModBlocks.machine_electric_furnace_off; + + public boolean generate_r00(World world, Random rand, int x, int y, int z) + { + world.setBlock(x + 21, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 33, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 34, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 35, y + 3, z + 12, Block6, 0, 3); + world.setBlock(x + 36, y + 3, z + 12, Block18, 0, 3); + world.setBlock(x + 37, y + 3, z + 12, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 13, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 13, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 7, y + 3, z + 13, Block16, 4, 3); + world.setBlock(x + 8, y + 3, z + 13, Block14, 0, 3); + world.setBlock(x + 9, y + 3, z + 13, Block16, 2, 3); + world.setBlock(x + 10, y + 3, z + 13, Blocks.water, 0, 3); + world.setBlock(x + 11, y + 3, z + 13, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 33, y + 3, z + 13, Block6, 0, 3); + world.setBlock(x + 34, y + 3, z + 13, Block18, 0, 3); + world.setBlock(x + 35, y + 3, z + 13, Block18, 0, 3); + world.setBlock(x + 36, y + 3, z + 13, Block18, 0, 3); + world.setBlock(x + 37, y + 3, z + 13, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 14, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 14, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 14, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 8, y + 3, z + 14, Block5, 0, 3); + world.setBlock(x + 9, y + 3, z + 14, Blocks.water, 0, 3); + world.setBlock(x + 10, y + 3, z + 14, Block5, 0, 3); + world.setBlock(x + 11, y + 3, z + 14, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 14, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 19, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 14, Block6, 0, 3); + world.setBlock(x + 33, y + 3, z + 14, Block18, 0, 3); + world.setBlock(x + 34, y + 3, z + 14, Block18, 0, 3); + world.setBlock(x + 35, y + 3, z + 14, Block18, 0, 3); + world.setBlock(x + 36, y + 3, z + 14, Block18, 0, 3); + world.setBlock(x + 37, y + 3, z + 14, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 3, z + 15, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 15, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 15, Block5, 0, 3); + world.setBlock(x + 8, y + 3, z + 15, Block5, 0, 3); + world.setBlock(x + 9, y + 3, z + 15, Block5, 0, 3); + world.setBlock(x + 10, y + 3, z + 15, Block5, 0, 3); + world.setBlock(x + 11, y + 3, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 15, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 15, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 18, y + 3, z + 15, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 19, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 15, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 15, Block18, 0, 3); + world.setBlock(x + 33, y + 3, z + 15, Block18, 0, 3); + world.setBlock(x + 34, y + 3, z + 15, Block18, 0, 3); + world.setBlock(x + 35, y + 3, z + 15, Block18, 0, 3); + world.setBlock(x + 37, y + 3, z + 15, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 3, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 3, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + 3, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + 3, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 3, z + 16, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 18, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 19, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 16, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 16, Block18, 0, 3); + world.setBlock(x + 33, y + 3, z + 16, Block18, 0, 3); + world.setBlock(x + 34, y + 3, z + 16, Blocks.vine, 4, 3); + world.setBlock(x + 37, y + 3, z + 16, Block1, 0, 3); + world.setBlock(x + 40, y + 3, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 3, z + 17, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 18, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 19, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 20, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 21, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 22, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 23, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 24, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 25, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 26, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 27, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 28, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 29, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 30, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 31, y + 3, z + 17, Block6, 0, 3); + world.setBlock(x + 32, y + 3, z + 17, Block18, 0, 3); + world.setBlock(x + 33, y + 3, z + 17, Block18, 0, 3); + world.setBlock(x + 34, y + 3, z + 17, Block18, 0, 3); + world.setBlock(x + 35, y + 3, z + 17, Blocks.vine, 2, 3); + world.setBlock(x + 40, y + 3, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 18, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 22, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 26, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 28, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 29, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 33, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 34, y + 3, z + 18, Block1, 0, 3); + world.setBlock(x + 35, y + 3, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 36, y + 3, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 40, y + 3, z + 18, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 40, y + 3, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 20, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 3, z + 20, Block15, 0, 3); + world.setBlock(x + 7, y + 3, z + 20, Block15, 0, 3); + world.setBlock(x + 8, y + 3, z + 20, Block15, 0, 3); + world.setBlock(x + 9, y + 3, z + 20, Block15, 0, 3); + world.setBlock(x + 10, y + 3, z + 20, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 20, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 21, Block15, 0, 3); + world.setBlock(x + 5, y + 3, z + 21, Block15, 0, 3); + world.setBlock(x + 11, y + 3, z + 21, Block15, 0, 3); + world.setBlock(x + 12, y + 3, z + 21, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 22, Block15, 0, 3); + world.setBlock(x + 12, y + 3, z + 22, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 23, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 3, z + 23, Block15, 0, 3); + world.setBlock(x + 13, y + 3, z + 23, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 23, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 3, z + 24, Block15, 0, 3); + world.setBlock(x + 13, y + 3, z + 24, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 25, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 3, z + 25, Block15, 0, 3); + world.setBlock(x + 13, y + 3, z + 25, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 25, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 26, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 3, z + 26, Block15, 0, 3); + world.setBlock(x + 13, y + 3, z + 26, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 26, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 27, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 3, z + 27, Block15, 0, 3); + world.setBlock(x + 13, y + 3, z + 27, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 27, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 28, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 28, Block15, 0, 3); + world.setBlock(x + 12, y + 3, z + 28, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 28, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 29, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 29, Block15, 0, 3); + world.setBlock(x + 5, y + 3, z + 29, Block15, 0, 3); + world.setBlock(x + 11, y + 3, z + 29, Block15, 0, 3); + world.setBlock(x + 12, y + 3, z + 29, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 29, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 30, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 3, z + 30, Block15, 0, 3); + world.setBlock(x + 7, y + 3, z + 30, Block15, 0, 3); + world.setBlock(x + 8, y + 3, z + 30, Block15, 0, 3); + world.setBlock(x + 9, y + 3, z + 30, Block15, 0, 3); + world.setBlock(x + 10, y + 3, z + 30, Block15, 0, 3); + world.setBlock(x + 40, y + 3, z + 30, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 3, z + 31, Block5, 0, 3); + world.setBlock(x + 17, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 18, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 19, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 20, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 21, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 22, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 24, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 25, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 26, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 27, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 28, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 31, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 32, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 34, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 35, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 38, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 39, y + 3, z + 31, Blocks.web, 0, 3); + world.setBlock(x + 40, y + 3, z + 31, Block5, 0, 3); + world.setBlock(x + 0, y + 3, z + 32, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 3, z + 32, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 3, z + 33, Block5, 0, 3); + world.setBlock(x + 1, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 8, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 12, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 13, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 14, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 15, y + 3, z + 33, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 3, z + 33, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 20, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 37, y + 4, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 4, z + 7, Block8, 2, 3); + world.setBlock(x + 9, y + 4, z + 7, Block8, 2, 3); + world.setBlock(x + 16, y + 4, z + 7, Block1, 0, 3); + world.setBlock(x + 18, y + 4, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 19, y + 4, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 20, y + 4, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 23, y + 4, z + 7, Block1, 0, 3); + world.setBlock(x + 25, y + 4, z + 7, Block8, 3, 3); + world.setBlock(x + 26, y + 4, z + 7, Block19, 3, 3); + world.setBlock(x + 27, y + 4, z + 7, Block19, 3, 3); + world.setBlock(x + 28, y + 4, z + 7, Block20, 3, 3); + TileEntity tank0 = world.getTileEntity(x + 28, y + 4, z + 7); + if(tank0 instanceof TileEntityMachineUF6Tank) + { + TileEntityMachineUF6Tank tankuf0 = (TileEntityMachineUF6Tank)tank0; + tankuf0.fillState = rand.nextInt(tankuf0.maxFill); + } + world.setBlock(x + 29, y + 4, z + 7, Block20, 3, 3); + TileEntity tank1 = world.getTileEntity(x + 29, y + 4, z + 7); + if(tank0 instanceof TileEntityMachineUF6Tank) + { + TileEntityMachineUF6Tank tankuf1 = (TileEntityMachineUF6Tank)tank1; + tankuf1.fillState = rand.nextInt(tankuf1.maxFill); + } + world.setBlock(x + 30, y + 4, z + 7, Block21, 3, 3); + TileEntity tank2 = world.getTileEntity(x + 30, y + 4, z + 7); + if(tank0 instanceof TileEntityMachinePuF6Tank) + { + TileEntityMachinePuF6Tank tankuf2 = (TileEntityMachinePuF6Tank)tank2; + tankuf2.fillState = rand.nextInt(tankuf2.maxFill); + } + world.setBlock(x + 31, y + 4, z + 7, Block21, 3, 3); + TileEntity tank3 = world.getTileEntity(x + 31, y + 4, z + 7); + if(tank3 instanceof TileEntityMachinePuF6Tank) + { + TileEntityMachinePuF6Tank tankuf3 = (TileEntityMachinePuF6Tank)tank3; + tankuf3.fillState = rand.nextInt(tankuf3.maxFill); + } + world.setBlock(x + 32, y + 4, z + 7, Block2, 0, 3); + world.setBlock(x + 33, y + 4, z + 7, Block22, 0, 3); + world.setBlock(x + 34, y + 4, z + 7, Block23, 0, 3); + world.setBlock(x + 35, y + 4, z + 7, Block23, 0, 3); + world.setBlock(x + 36, y + 4, z + 7, Block23, 0, 3); + world.setBlock(x + 37, y + 4, z + 7, Block1, 0, 3); + world.setBlock(x + 40, y + 4, z + 7, Block5, 0, 3); + world.setBlock(x + 6, y + 4, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + 4, z + 8, Block5, 0, 3); + //world.setBlock(x + 8, y + 4, z + 8, Blocks.iron_door, 1, 3); + ItemDoor.placeDoorBlock(world, x + 8, y + 4, z + 8, 1, Blocks.iron_door); + world.setBlock(x + 9, y + 4, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + 4, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 8, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 4, z + 8, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 8, Block12, 0, 3); + world.setBlock(x + 26, y + 4, z + 8, Blocks.unpowered_repeater, 0, 3); + world.setBlock(x + 27, y + 4, z + 8, Blocks.unpowered_repeater, 0, 3); + world.setBlock(x + 31, y + 4, z + 8, Blocks.unpowered_repeater, 0, 3); + world.setBlock(x + 32, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 33, y + 4, z + 8, Block22, 0, 3); + world.setBlock(x + 34, y + 4, z + 8, Block22, 0, 3); + world.setBlock(x + 35, y + 4, z + 8, Block22, 0, 3); + world.setBlock(x + 36, y + 4, z + 8, Block22, 0, 3); + world.setBlock(x + 37, y + 4, z + 8, Block1, 0, 3); + world.setBlock(x + 40, y + 4, z + 8, Block5, 0, 3); + world.setBlock(x + 5, y + 4, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 9, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 9, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 18, y + 4, z + 9, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 19, y + 4, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 4, z + 9, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 26, y + 4, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 27, y + 4, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 28, y + 4, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 30, y + 4, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 31, y + 4, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 32, y + 4, z + 9, Blocks.unpowered_repeater, 1, 3); + world.setBlock(x + 33, y + 4, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 34, y + 4, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 35, y + 4, z + 9, Block12, 0, 3); + world.setBlock(x + 36, y + 4, z + 9, Blocks.chest, 3, 3); + if(world.getBlock(x + 36, y + 4, z + 9) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(5), (TileEntityChest)world.getTileEntity(x + 36, y + 4, z + 9), 12); + } + world.setBlock(x + 37, y + 4, z + 9, Block1, 0, 3); + world.setBlock(x + 40, y + 4, z + 9, Block5, 0, 3); + world.setBlock(x + 4, y + 4, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 4, z + 10, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 10, Blocks.stone_stairs, 7, 3); + world.setBlock(x + 18, y + 4, z + 10, Blocks.stone_stairs, 7, 3); + world.setBlock(x + 19, y + 4, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 4, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 4, z + 10, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 25, y + 4, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 26, y + 4, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 28, y + 4, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 29, y + 4, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 30, y + 4, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 35, y + 4, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 37, y + 4, z + 10, Block1, 0, 3); + world.setBlock(x + 40, y + 4, z + 10, Block5, 0, 3); + world.setBlock(x + 4, y + 4, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 11, Block1, 0, 3); + world.setBlock(x + 22, y + 4, z + 11, Blocks.vine, 8, 3); + world.setBlock(x + 23, y + 4, z + 11, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 11, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 27, y + 4, z + 11, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 28, y + 4, z + 11, Block24, 0, 3); + world.setBlock(x + 29, y + 4, z + 11, Block24, 0, 3); + world.setBlock(x + 30, y + 4, z + 11, Block24, 0, 3); + world.setBlock(x + 34, y + 4, z + 11, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 37, y + 4, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + 4, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 12, Block14, 0, 3); + world.setBlock(x + 11, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 4, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 23, y + 4, z + 12, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 12, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 27, y + 4, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 28, y + 4, z + 12, Block24, 0, 3); + world.setBlock(x + 29, y + 4, z + 12, Block24, 0, 3); + world.setBlock(x + 30, y + 4, z + 12, Block24, 0, 3); + world.setBlock(x + 31, y + 4, z + 12, Blocks.vine, 2, 3); + world.setBlock(x + 32, y + 4, z + 12, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 36, y + 4, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 37, y + 4, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + 4, z + 13, Block5, 0, 3); + world.setBlock(x + 5, y + 4, z + 13, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 13, Blocks.vine, 2, 3); + world.setBlock(x + 19, y + 4, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 4, z + 13, Blocks.vine, 8, 3); + world.setBlock(x + 23, y + 4, z + 13, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 13, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 25, y + 4, z + 13, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 26, y + 4, z + 13, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 28, y + 4, z + 13, Block24, 0, 3); + world.setBlock(x + 29, y + 4, z + 13, Block24, 0, 3); + world.setBlock(x + 30, y + 4, z + 13, Block24, 0, 3); + world.setBlock(x + 31, y + 4, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 4, z + 13, Blocks.vine, 8, 3); + world.setBlock(x + 37, y + 4, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + 4, z + 14, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 14, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 19, y + 4, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 4, z + 14, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 14, Block12, 0, 3); + world.setBlock(x + 26, y + 4, z + 14, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 27, y + 4, z + 14, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 28, y + 4, z + 14, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 29, y + 4, z + 14, Block25, 0, 3); + world.setBlock(x + 30, y + 4, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 31, y + 4, z + 14, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 37, y + 4, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + 4, z + 15, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 15, Block2, 0, 3); + world.setBlock(x + 9, y + 4, z + 15, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 15, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 15, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 4, z + 15, Blocks.iron_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 23, y + 4, z + 15, 0, Blocks.iron_door); + world.setBlock(x + 24, y + 4, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 27, y + 4, z + 15, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 30, y + 4, z + 15, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 31, y + 4, z + 15, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 37, y + 4, z + 15, Block1, 0, 3); + world.setBlock(x + 6, y + 4, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 4, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + 4, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + 4, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 4, z + 16, Block1, 0, 3); + world.setBlock(x + 22, y + 4, z + 16, Blocks.vine, 8, 3); + //world.setBlock(x + 23, y + 4, z + 16, Blocks.iron_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 23, y + 4, z + 16, 3, Blocks.iron_door); + world.setBlock(x + 26, y + 4, z + 16, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 29, y + 4, z + 16, Blocks.unpowered_repeater, 2, 3); + world.setBlock(x + 37, y + 4, z + 16, Blocks.gravel, 0, 3); + world.setBlock(x + 16, y + 4, z + 17, Block1, 0, 3); + world.setBlock(x + 21, y + 4, z + 17, Blocks.vine, 1, 3); + world.setBlock(x + 22, y + 4, z + 17, Blocks.vine, 8, 3); + world.setBlock(x + 23, y + 4, z + 17, Block1, 0, 3); + world.setBlock(x + 27, y + 4, z + 17, Blocks.vine, 1, 3); + world.setBlock(x + 28, y + 4, z + 17, Blocks.vine, 9, 3); + world.setBlock(x + 29, y + 4, z + 17, Block12, 0, 3); + world.setBlock(x + 33, y + 4, z + 17, Blocks.vine, 3, 3); + world.setBlock(x + 16, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 22, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 26, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 28, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 29, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 33, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 34, y + 4, z + 18, Block1, 0, 3); + world.setBlock(x + 6, y + 4, z + 20, Block15, 0, 3); + world.setBlock(x + 7, y + 4, z + 20, Block15, 0, 3); + world.setBlock(x + 8, y + 4, z + 20, Block15, 0, 3); + world.setBlock(x + 9, y + 4, z + 20, Block15, 0, 3); + world.setBlock(x + 10, y + 4, z + 20, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 21, Block15, 0, 3); + world.setBlock(x + 5, y + 4, z + 21, Block15, 0, 3); + world.setBlock(x + 6, y + 4, z + 21, Block7, 0, 3); + world.setBlock(x + 7, y + 4, z + 21, Block7, 0, 3); + world.setBlock(x + 8, y + 4, z + 21, Block7, 0, 3); + world.setBlock(x + 9, y + 4, z + 21, Block7, 0, 3); + world.setBlock(x + 10, y + 4, z + 21, Block7, 0, 3); + world.setBlock(x + 11, y + 4, z + 21, Block15, 0, 3); + world.setBlock(x + 12, y + 4, z + 21, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 22, Block15, 0, 3); + world.setBlock(x + 5, y + 4, z + 22, Block7, 0, 3); + world.setBlock(x + 11, y + 4, z + 22, Block7, 0, 3); + world.setBlock(x + 12, y + 4, z + 22, Block15, 0, 3); + world.setBlock(x + 3, y + 4, z + 23, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 23, Block7, 0, 3); + world.setBlock(x + 12, y + 4, z + 23, Block7, 0, 3); + world.setBlock(x + 13, y + 4, z + 23, Block15, 0, 3); + world.setBlock(x + 3, y + 4, z + 24, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 24, Block7, 0, 3); + world.setBlock(x + 12, y + 4, z + 24, Block7, 0, 3); + world.setBlock(x + 13, y + 4, z + 24, Block15, 0, 3); + world.setBlock(x + 3, y + 4, z + 25, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 25, Block7, 0, 3); + world.setBlock(x + 12, y + 4, z + 25, Block7, 0, 3); + world.setBlock(x + 13, y + 4, z + 25, Block15, 0, 3); + world.setBlock(x + 3, y + 4, z + 26, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 26, Block7, 0, 3); + world.setBlock(x + 12, y + 4, z + 26, Block7, 0, 3); + world.setBlock(x + 13, y + 4, z + 26, Block15, 0, 3); + world.setBlock(x + 3, y + 4, z + 27, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 27, Block7, 0, 3); + world.setBlock(x + 12, y + 4, z + 27, Block7, 0, 3); + world.setBlock(x + 13, y + 4, z + 27, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 28, Block15, 0, 3); + world.setBlock(x + 5, y + 4, z + 28, Block7, 0, 3); + world.setBlock(x + 11, y + 4, z + 28, Block7, 0, 3); + world.setBlock(x + 12, y + 4, z + 28, Block15, 0, 3); + world.setBlock(x + 4, y + 4, z + 29, Block15, 0, 3); + world.setBlock(x + 5, y + 4, z + 29, Block15, 0, 3); + world.setBlock(x + 6, y + 4, z + 29, Block7, 0, 3); + world.setBlock(x + 7, y + 4, z + 29, Block7, 0, 3); + world.setBlock(x + 8, y + 4, z + 29, Block7, 0, 3); + world.setBlock(x + 9, y + 4, z + 29, Block7, 0, 3); + world.setBlock(x + 10, y + 4, z + 29, Block7, 0, 3); + world.setBlock(x + 11, y + 4, z + 29, Block15, 0, 3); + world.setBlock(x + 12, y + 4, z + 29, Block15, 0, 3); + world.setBlock(x + 6, y + 4, z + 30, Block15, 0, 3); + world.setBlock(x + 7, y + 4, z + 30, Block15, 0, 3); + world.setBlock(x + 8, y + 4, z + 30, Block15, 0, 3); + world.setBlock(x + 9, y + 4, z + 30, Block15, 0, 3); + world.setBlock(x + 10, y + 4, z + 30, Block15, 0, 3); + world.setBlock(x + 16, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 5, z + 6, Block11, 0, 3); + world.setBlock(x + 19, y + 5, z + 6, Block11, 0, 3); + world.setBlock(x + 20, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 24, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 37, y + 5, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 5, z + 7, Block8, 2, 3); + world.setBlock(x + 9, y + 5, z + 7, Block8, 2, 3); + world.setBlock(x + 16, y + 5, z + 7, Block1, 0, 3); + world.setBlock(x + 18, y + 5, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 19, y + 5, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 20, y + 5, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 22, y + 5, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 5, z + 7, Block1, 0, 3); + world.setBlock(x + 25, y + 5, z + 7, Block8, 3, 3); + world.setBlock(x + 30, y + 5, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 32, y + 5, z + 7, Block2, 0, 3); + world.setBlock(x + 33, y + 5, z + 7, Block11, 0, 3); + world.setBlock(x + 37, y + 5, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 5, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + 5, z + 8, Block5, 0, 3); + //world.setBlock(x + 8, y + 5, z + 8, Blocks.iron_door, 8, 3); + world.setBlock(x + 9, y + 5, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + 5, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 8, Block11, 0, 3); + world.setBlock(x + 23, y + 5, z + 8, Block11, 0, 3); + world.setBlock(x + 33, y + 5, z + 8, Block11, 0, 3); + world.setBlock(x + 34, y + 5, z + 8, Block11, 0, 3); + world.setBlock(x + 35, y + 5, z + 8, Block11, 0, 3); + world.setBlock(x + 36, y + 5, z + 8, Block11, 0, 3); + world.setBlock(x + 37, y + 5, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 5, z + 9, Block5, 0, 3); + world.setBlock(x + 11, y + 5, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 9, Block11, 0, 3); + world.setBlock(x + 19, y + 5, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 5, z + 9, Block11, 0, 3); + world.setBlock(x + 33, y + 5, z + 9, Blocks.vine, 4, 3); + world.setBlock(x + 37, y + 5, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 5, z + 10, Block5, 0, 3); + world.setBlock(x + 12, y + 5, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 10, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 18, y + 5, z + 10, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 19, y + 5, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 5, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 5, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + 5, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 5, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 11, Blocks.stone_stairs, 7, 3); + world.setBlock(x + 18, y + 5, z + 11, Blocks.stone_stairs, 7, 3); + world.setBlock(x + 19, y + 5, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 5, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 5, z + 11, Block11, 0, 3); + world.setBlock(x + 27, y + 5, z + 11, Blocks.vine, 8, 3); + world.setBlock(x + 28, y + 5, z + 11, Block16, 4, 3); + world.setBlock(x + 29, y + 5, z + 11, Block16, 2, 3); + world.setBlock(x + 30, y + 5, z + 11, Block16, 3, 3); + world.setBlock(x + 37, y + 5, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + 5, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 5, z + 12, Block25, 0, 3); + world.setBlock(x + 12, y + 5, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 19, y + 5, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 5, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 24, y + 5, z + 12, Blocks.vine, 2, 3); + world.setBlock(x + 27, y + 5, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 28, y + 5, z + 12, Block16, 4, 3); + world.setBlock(x + 29, y + 5, z + 12, Block26, 0, 3); + world.setBlock(x + 30, y + 5, z + 12, Block16, 3, 3); + world.setBlock(x + 31, y + 5, z + 12, Blocks.vine, 2, 3); + world.setBlock(x + 36, y + 5, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 37, y + 5, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + 5, z + 13, Block5, 0, 3); + world.setBlock(x + 12, y + 5, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 13, Blocks.vine, 2, 3); + world.setBlock(x + 19, y + 5, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 5, z + 13, Block11, 0, 3); + world.setBlock(x + 28, y + 5, z + 13, Block16, 3, 3); + world.setBlock(x + 29, y + 5, z + 13, Block16, 3, 3); + world.setBlock(x + 30, y + 5, z + 13, Block16, 3, 3); + world.setBlock(x + 31, y + 5, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 35, y + 5, z + 13, Blocks.vine, 4, 3); + world.setBlock(x + 36, y + 5, z + 13, Blocks.vine, 8, 3); + world.setBlock(x + 37, y + 5, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + 5, z + 14, Block5, 0, 3); + world.setBlock(x + 12, y + 5, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 14, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 23, y + 5, z + 14, Block1, 0, 3); + world.setBlock(x + 24, y + 5, z + 14, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 27, y + 5, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 5, z + 14, Block25, 0, 3); + world.setBlock(x + 37, y + 5, z + 14, Blocks.gravel, 0, 3); + world.setBlock(x + 5, y + 5, z + 15, Block5, 0, 3); + world.setBlock(x + 11, y + 5, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 15, Block11, 0, 3); + world.setBlock(x + 17, y + 5, z + 15, Blocks.vine, 2, 3); + //world.setBlock(x + 23, y + 5, z + 15, Blocks.iron_door, 8, 3); + world.setBlock(x + 24, y + 5, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 34, y + 5, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 37, y + 5, z + 15, Blocks.gravel, 0, 3); + world.setBlock(x + 6, y + 5, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 5, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 5, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + 5, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + 5, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 5, z + 16, Block11, 0, 3); + world.setBlock(x + 22, y + 5, z + 16, Blocks.vine, 8, 3); + //world.setBlock(x + 23, y + 5, z + 16, Blocks.iron_door, 8, 3); + world.setBlock(x + 34, y + 5, z + 16, Blocks.vine, 2, 3); + world.setBlock(x + 16, y + 5, z + 17, Block1, 0, 3); + world.setBlock(x + 21, y + 5, z + 17, Blocks.vine, 1, 3); + world.setBlock(x + 22, y + 5, z + 17, Blocks.vine, 8, 3); + world.setBlock(x + 23, y + 5, z + 17, Block1, 0, 3); + world.setBlock(x + 24, y + 5, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 27, y + 5, z + 17, Blocks.vine, 1, 3); + world.setBlock(x + 28, y + 5, z + 17, Blocks.vine, 1, 3); + world.setBlock(x + 33, y + 5, z + 17, Blocks.vine, 3, 3); + world.setBlock(x + 16, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 22, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 26, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 28, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 29, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 33, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 34, y + 5, z + 18, Block1, 0, 3); + world.setBlock(x + 6, y + 5, z + 21, Block15, 0, 3); + world.setBlock(x + 7, y + 5, z + 21, Block15, 0, 3); + world.setBlock(x + 8, y + 5, z + 21, Block15, 0, 3); + world.setBlock(x + 9, y + 5, z + 21, Block15, 0, 3); + world.setBlock(x + 10, y + 5, z + 21, Block15, 0, 3); + world.setBlock(x + 5, y + 5, z + 22, Block15, 0, 3); + world.setBlock(x + 11, y + 5, z + 22, Block15, 0, 3); + world.setBlock(x + 4, y + 5, z + 23, Block15, 0, 3); + world.setBlock(x + 12, y + 5, z + 23, Block15, 0, 3); + world.setBlock(x + 4, y + 5, z + 24, Block15, 0, 3); + world.setBlock(x + 12, y + 5, z + 24, Block15, 0, 3); + world.setBlock(x + 4, y + 5, z + 25, Block15, 0, 3); + world.setBlock(x + 12, y + 5, z + 25, Block15, 0, 3); + world.setBlock(x + 4, y + 5, z + 26, Block15, 0, 3); + world.setBlock(x + 12, y + 5, z + 26, Block15, 0, 3); + world.setBlock(x + 4, y + 5, z + 27, Block15, 0, 3); + world.setBlock(x + 12, y + 5, z + 27, Block15, 0, 3); + world.setBlock(x + 5, y + 5, z + 28, Block15, 0, 3); + world.setBlock(x + 11, y + 5, z + 28, Block15, 0, 3); + world.setBlock(x + 6, y + 5, z + 29, Block15, 0, 3); + world.setBlock(x + 7, y + 5, z + 29, Block15, 0, 3); + world.setBlock(x + 8, y + 5, z + 29, Block15, 0, 3); + world.setBlock(x + 9, y + 5, z + 29, Block15, 0, 3); + world.setBlock(x + 10, y + 5, z + 29, Block15, 0, 3); + world.setBlock(x + 16, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 19, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 20, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 24, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 37, y + 6, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 6, z + 7, Block5, 0, 3); + world.setBlock(x + 8, y + 6, z + 7, Block5, 0, 3); + world.setBlock(x + 9, y + 6, z + 7, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 7, Block1, 0, 3); + world.setBlock(x + 18, y + 6, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 19, y + 6, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 20, y + 6, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 21, y + 6, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 22, y + 6, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 6, z + 7, Block1, 0, 3); + world.setBlock(x + 24, y + 6, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 25, y + 6, z + 7, Block8, 3, 3); + world.setBlock(x + 26, y + 6, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 27, y + 6, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 6, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 6, z + 7, Blocks.vine, 4, 3); + world.setBlock(x + 31, y + 6, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 6, z + 7, Block22, 0, 3); + world.setBlock(x + 34, y + 6, z + 7, Block22, 0, 3); + world.setBlock(x + 35, y + 6, z + 7, Block22, 0, 3); + world.setBlock(x + 36, y + 6, z + 7, Block22, 0, 3); + world.setBlock(x + 37, y + 6, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 6, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + 6, z + 8, Block5, 0, 3); + world.setBlock(x + 8, y + 6, z + 8, Block5, 0, 3); + world.setBlock(x + 9, y + 6, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + 6, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 8, Block1, 0, 3); + world.setBlock(x + 22, y + 6, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 6, z + 8, Block1, 0, 3); + world.setBlock(x + 26, y + 6, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 32, y + 6, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 6, z + 8, Block22, 0, 3); + world.setBlock(x + 34, y + 6, z + 8, Block22, 0, 3); + world.setBlock(x + 35, y + 6, z + 8, Block22, 0, 3); + world.setBlock(x + 36, y + 6, z + 8, Block22, 0, 3); + world.setBlock(x + 37, y + 6, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + 6, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + 6, z + 9, Block5, 0, 3); + world.setBlock(x + 7, y + 6, z + 9, Block5, 0, 3); + world.setBlock(x + 8, y + 6, z + 9, Block5, 0, 3); + world.setBlock(x + 9, y + 6, z + 9, Block5, 0, 3); + world.setBlock(x + 10, y + 6, z + 9, Block5, 0, 3); + world.setBlock(x + 11, y + 6, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 9, Block1, 0, 3); + world.setBlock(x + 23, y + 6, z + 9, Block1, 0, 3); + world.setBlock(x + 25, y + 6, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 6, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 6, z + 9, Blocks.vine, 4, 3); + world.setBlock(x + 35, y + 6, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 6, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 6, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 6, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 6, z + 10, Block5, 0, 3); + world.setBlock(x + 6, y + 6, z + 10, Block5, 0, 3); + world.setBlock(x + 10, y + 6, z + 10, Block5, 0, 3); + world.setBlock(x + 11, y + 6, z + 10, Block5, 0, 3); + world.setBlock(x + 12, y + 6, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 6, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 6, z + 10, Block1, 0, 3); + world.setBlock(x + 24, y + 6, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 6, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 36, y + 6, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 6, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + 6, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 6, z + 11, Block5, 0, 3); + world.setBlock(x + 11, y + 6, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 6, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 11, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 18, y + 6, z + 11, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 19, y + 6, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 6, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 6, z + 11, Block1, 0, 3); + world.setBlock(x + 27, y + 6, z + 11, Blocks.vine, 8, 3); + world.setBlock(x + 28, y + 6, z + 11, Block24, 0, 3); + world.setBlock(x + 29, y + 6, z + 11, Block24, 0, 3); + world.setBlock(x + 30, y + 6, z + 11, Block24, 0, 3); + world.setBlock(x + 31, y + 6, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 37, y + 6, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + 6, z + 12, Block5, 0, 3); + world.setBlock(x + 5, y + 6, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 6, z + 12, Block25, 0, 3); + world.setBlock(x + 11, y + 6, z + 12, Block5, 0, 3); + world.setBlock(x + 12, y + 6, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 12, Blocks.stone_stairs, 7, 3); + world.setBlock(x + 18, y + 6, z + 12, Blocks.stone_stairs, 7, 3); + world.setBlock(x + 19, y + 6, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 6, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 22, y + 6, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 23, y + 6, z + 12, Block1, 0, 3); + world.setBlock(x + 24, y + 6, z + 12, Blocks.vine, 2, 3); + world.setBlock(x + 27, y + 6, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 28, y + 6, z + 12, Block24, 0, 3); + world.setBlock(x + 29, y + 6, z + 12, Block24, 0, 3); + world.setBlock(x + 30, y + 6, z + 12, Block24, 0, 3); + world.setBlock(x + 31, y + 6, z + 12, Blocks.vine, 2, 3); + world.setBlock(x + 36, y + 6, z + 12, Blocks.vine, 8, 3); + world.setBlock(x + 37, y + 6, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + 6, z + 13, Block5, 0, 3); + world.setBlock(x + 5, y + 6, z + 13, Block5, 0, 3); + world.setBlock(x + 11, y + 6, z + 13, Block5, 0, 3); + world.setBlock(x + 12, y + 6, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 23, y + 6, z + 13, Block1, 0, 3); + world.setBlock(x + 27, y + 6, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 28, y + 6, z + 13, Block24, 0, 3); + world.setBlock(x + 29, y + 6, z + 13, Block24, 0, 3); + world.setBlock(x + 30, y + 6, z + 13, Block24, 0, 3); + world.setBlock(x + 31, y + 6, z + 13, Blocks.vine, 2, 3); + world.setBlock(x + 35, y + 6, z + 13, Blocks.vine, 4, 3); + world.setBlock(x + 36, y + 6, z + 13, Blocks.vine, 8, 3); + world.setBlock(x + 37, y + 6, z + 13, Blocks.gravel, 0, 3); + world.setBlock(x + 4, y + 6, z + 14, Block5, 0, 3); + world.setBlock(x + 5, y + 6, z + 14, Block5, 0, 3); + world.setBlock(x + 6, y + 6, z + 14, Block5, 0, 3); + world.setBlock(x + 10, y + 6, z + 14, Block5, 0, 3); + world.setBlock(x + 11, y + 6, z + 14, Block5, 0, 3); + world.setBlock(x + 12, y + 6, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 14, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 23, y + 6, z + 14, Block1, 0, 3); + world.setBlock(x + 24, y + 6, z + 14, Blocks.vine, 2, 3); + world.setBlock(x + 26, y + 6, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 28, y + 6, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 6, z + 14, Block25, 0, 3); + world.setBlock(x + 5, y + 6, z + 15, Block5, 0, 3); + world.setBlock(x + 6, y + 6, z + 15, Block5, 0, 3); + world.setBlock(x + 7, y + 6, z + 15, Block5, 0, 3); + world.setBlock(x + 8, y + 6, z + 15, Block5, 0, 3); + world.setBlock(x + 9, y + 6, z + 15, Block5, 0, 3); + world.setBlock(x + 10, y + 6, z + 15, Block5, 0, 3); + world.setBlock(x + 11, y + 6, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 15, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 23, y + 6, z + 15, Block1, 0, 3); + world.setBlock(x + 24, y + 6, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 27, y + 6, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 34, y + 6, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 6, y + 6, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 6, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 6, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + 6, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + 6, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 6, z + 16, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 22, y + 6, z + 16, Blocks.vine, 8, 3); + world.setBlock(x + 23, y + 6, z + 16, Block1, 0, 3); + world.setBlock(x + 24, y + 6, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 29, y + 6, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 34, y + 6, z + 16, Blocks.vine, 2, 3); + world.setBlock(x + 16, y + 6, z + 17, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 18, y + 6, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 20, y + 6, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 21, y + 6, z + 17, Blocks.vine, 1, 3); + world.setBlock(x + 22, y + 6, z + 17, Blocks.vine, 8, 3); + world.setBlock(x + 23, y + 6, z + 17, Block1, 0, 3); + world.setBlock(x + 25, y + 6, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 27, y + 6, z + 17, Blocks.vine, 1, 3); + world.setBlock(x + 28, y + 6, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 30, y + 6, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 33, y + 6, z + 17, Blocks.vine, 3, 3); + world.setBlock(x + 16, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 22, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 26, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 28, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 29, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 33, y + 6, z + 18, Block1, 0, 3); + world.setBlock(x + 34, y + 6, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 6, y + 6, z + 21, Block15, 0, 3); + world.setBlock(x + 7, y + 6, z + 21, Block15, 0, 3); + world.setBlock(x + 8, y + 6, z + 21, Block15, 0, 3); + world.setBlock(x + 9, y + 6, z + 21, Block15, 0, 3); + world.setBlock(x + 10, y + 6, z + 21, Block15, 0, 3); + world.setBlock(x + 5, y + 6, z + 22, Block15, 0, 3); + world.setBlock(x + 11, y + 6, z + 22, Block15, 0, 3); + world.setBlock(x + 4, y + 6, z + 23, Block15, 0, 3); + world.setBlock(x + 12, y + 6, z + 23, Block15, 0, 3); + world.setBlock(x + 4, y + 6, z + 24, Block15, 0, 3); + world.setBlock(x + 12, y + 6, z + 24, Block15, 0, 3); + world.setBlock(x + 4, y + 6, z + 25, Block15, 0, 3); + world.setBlock(x + 12, y + 6, z + 25, Block15, 0, 3); + world.setBlock(x + 4, y + 6, z + 26, Block15, 0, 3); + world.setBlock(x + 12, y + 6, z + 26, Block15, 0, 3); + world.setBlock(x + 4, y + 6, z + 27, Block15, 0, 3); + world.setBlock(x + 12, y + 6, z + 27, Block15, 0, 3); + world.setBlock(x + 5, y + 6, z + 28, Block15, 0, 3); + world.setBlock(x + 11, y + 6, z + 28, Block15, 0, 3); + world.setBlock(x + 6, y + 6, z + 29, Block15, 0, 3); + world.setBlock(x + 7, y + 6, z + 29, Block15, 0, 3); + world.setBlock(x + 8, y + 6, z + 29, Block15, 0, 3); + world.setBlock(x + 9, y + 6, z + 29, Block15, 0, 3); + world.setBlock(x + 10, y + 6, z + 29, Block15, 0, 3); + world.setBlock(x + 16, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 20, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 22, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 24, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + 7, z + 6, Block1, 0, 3); + world.setBlock(x + 16, y + 7, z + 7, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 21, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 33, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 34, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 35, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 36, y + 7, z + 7, Block6, 0, 3); + world.setBlock(x + 37, y + 7, z + 7, Block1, 0, 3); + world.setBlock(x + 16, y + 7, z + 8, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 21, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 33, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 34, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 35, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 36, y + 7, z + 8, Block6, 0, 3); + world.setBlock(x + 37, y + 7, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 7, z + 9, Block5, 0, 3); + world.setBlock(x + 7, y + 7, z + 9, Block5, 0, 3); + world.setBlock(x + 8, y + 7, z + 9, Block5, 0, 3); + world.setBlock(x + 9, y + 7, z + 9, Block5, 0, 3); + world.setBlock(x + 10, y + 7, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 9, Block25, 0, 3); + world.setBlock(x + 21, y + 7, z + 9, Block25, 0, 3); + world.setBlock(x + 22, y + 7, z + 9, Block25, 0, 3); + world.setBlock(x + 23, y + 7, z + 9, Block25, 0, 3); + world.setBlock(x + 24, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 33, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 34, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 35, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 36, y + 7, z + 9, Block6, 0, 3); + world.setBlock(x + 37, y + 7, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 7, z + 10, Block5, 0, 3); + world.setBlock(x + 6, y + 7, z + 10, Block5, 0, 3); + world.setBlock(x + 10, y + 7, z + 10, Block5, 0, 3); + world.setBlock(x + 11, y + 7, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 10, Block25, 0, 3); + world.setBlock(x + 21, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 33, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 34, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 35, y + 7, z + 10, Block6, 0, 3); + world.setBlock(x + 36, y + 7, z + 10, Block18, 0, 3); + world.setBlock(x + 37, y + 7, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 7, z + 11, Block5, 0, 3); + world.setBlock(x + 11, y + 7, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 11, Block25, 0, 3); + world.setBlock(x + 21, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 33, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 34, y + 7, z + 11, Block6, 0, 3); + world.setBlock(x + 35, y + 7, z + 11, Block18, 0, 3); + world.setBlock(x + 36, y + 7, z + 11, Block18, 0, 3); + world.setBlock(x + 37, y + 7, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + 7, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 9, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 10, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 11, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 12, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 13, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 14, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 15, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 16, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 17, y + 7, z + 12, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 18, y + 7, z + 12, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 19, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 12, Block25, 0, 3); + world.setBlock(x + 21, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 12, Block6, 0, 3); + world.setBlock(x + 33, y + 7, z + 12, Block18, 0, 3); + world.setBlock(x + 34, y + 7, z + 12, Block18, 0, 3); + world.setBlock(x + 35, y + 7, z + 12, Block18, 0, 3); + world.setBlock(x + 37, y + 7, z + 12, Blocks.gravel, 0, 3); + world.setBlock(x + 5, y + 7, z + 13, Block5, 0, 3); + world.setBlock(x + 11, y + 7, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 13, Block25, 0, 3); + world.setBlock(x + 17, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 18, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 19, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 13, Block25, 0, 3); + world.setBlock(x + 21, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 13, Block6, 0, 3); + world.setBlock(x + 33, y + 7, z + 13, Block18, 0, 3); + world.setBlock(x + 34, y + 7, z + 13, Block18, 0, 3); + world.setBlock(x + 35, y + 7, z + 13, Blocks.vine, 4, 3); + world.setBlock(x + 5, y + 7, z + 14, Block5, 0, 3); + world.setBlock(x + 6, y + 7, z + 14, Block5, 0, 3); + world.setBlock(x + 10, y + 7, z + 14, Block5, 0, 3); + world.setBlock(x + 11, y + 7, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 17, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 18, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 19, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 20, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 21, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 22, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 23, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 24, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 25, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 26, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 27, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 28, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 29, y + 7, z + 14, Block25, 0, 3); + world.setBlock(x + 30, y + 7, z + 14, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 14, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 14, Block18, 0, 3); + world.setBlock(x + 33, y + 7, z + 14, Block18, 0, 3); + world.setBlock(x + 34, y + 7, z + 14, Block18, 0, 3); + world.setBlock(x + 6, y + 7, z + 15, Block5, 0, 3); + world.setBlock(x + 7, y + 7, z + 15, Block5, 0, 3); + world.setBlock(x + 8, y + 7, z + 15, Block5, 0, 3); + world.setBlock(x + 9, y + 7, z + 15, Block5, 0, 3); + world.setBlock(x + 10, y + 7, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 15, Block1, 0, 3); + world.setBlock(x + 17, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 18, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 19, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 21, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 15, Block6, 0, 3); + world.setBlock(x + 32, y + 7, z + 15, Block18, 0, 3); + world.setBlock(x + 33, y + 7, z + 15, Block18, 0, 3); + world.setBlock(x + 34, y + 7, z + 15, Blocks.vine, 2, 3); + world.setBlock(x + 8, y + 7, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 16, Block1, 0, 3); + world.setBlock(x + 17, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 18, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 19, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 21, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 16, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 16, Block18, 0, 3); + world.setBlock(x + 32, y + 7, z + 16, Block18, 0, 3); + world.setBlock(x + 33, y + 7, z + 16, Block18, 0, 3); + world.setBlock(x + 34, y + 7, z + 16, Blocks.vine, 2, 3); + world.setBlock(x + 8, y + 7, z + 17, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 17, Block1, 0, 3); + world.setBlock(x + 17, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 18, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 19, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 20, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 21, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 22, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 23, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 24, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 25, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 26, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 27, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 28, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 29, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 30, y + 7, z + 17, Block6, 0, 3); + world.setBlock(x + 31, y + 7, z + 17, Block18, 0, 3); + world.setBlock(x + 32, y + 7, z + 17, Block18, 0, 3); + world.setBlock(x + 33, y + 7, z + 17, Blocks.vine, 2, 3); + world.setBlock(x + 8, y + 7, z + 18, Block5, 0, 3); + world.setBlock(x + 16, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 22, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 26, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 28, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 29, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 33, y + 7, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + 7, z + 19, Block5, 0, 3); + world.setBlock(x + 8, y + 7, z + 20, Block5, 0, 3); + world.setBlock(x + 6, y + 7, z + 21, Block15, 0, 3); + world.setBlock(x + 7, y + 7, z + 21, Block15, 0, 3); + world.setBlock(x + 8, y + 7, z + 21, Block15, 0, 3); + world.setBlock(x + 9, y + 7, z + 21, Block15, 0, 3); + world.setBlock(x + 10, y + 7, z + 21, Block15, 0, 3); + world.setBlock(x + 5, y + 7, z + 22, Block15, 0, 3); + world.setBlock(x + 6, y + 7, z + 22, Block7, 0, 3); + world.setBlock(x + 7, y + 7, z + 22, Block7, 0, 3); + world.setBlock(x + 8, y + 7, z + 22, Block7, 0, 3); + world.setBlock(x + 9, y + 7, z + 22, Block7, 0, 3); + world.setBlock(x + 10, y + 7, z + 22, Block7, 0, 3); + world.setBlock(x + 11, y + 7, z + 22, Block15, 0, 3); + world.setBlock(x + 4, y + 7, z + 23, Block15, 0, 3); + world.setBlock(x + 5, y + 7, z + 23, Block7, 0, 3); + world.setBlock(x + 7, y + 7, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 7, z + 23, Block7, 0, 3); + world.setBlock(x + 11, y + 7, z + 23, Block7, 0, 3); + world.setBlock(x + 12, y + 7, z + 23, Block15, 0, 3); + world.setBlock(x + 4, y + 7, z + 24, Block15, 0, 3); + world.setBlock(x + 5, y + 7, z + 24, Block7, 0, 3); + world.setBlock(x + 8, y + 7, z + 24, Block7, 0, 3); + world.setBlock(x + 9, y + 7, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 7, z + 24, Block7, 0, 3); + world.setBlock(x + 12, y + 7, z + 24, Block15, 0, 3); + world.setBlock(x + 4, y + 7, z + 25, Block15, 0, 3); + world.setBlock(x + 5, y + 7, z + 25, Block7, 0, 3); + world.setBlock(x + 7, y + 7, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 7, z + 25, Block7, 0, 3); + world.setBlock(x + 9, y + 7, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 7, z + 25, Block7, 0, 3); + world.setBlock(x + 12, y + 7, z + 25, Block15, 0, 3); + world.setBlock(x + 4, y + 7, z + 26, Block15, 0, 3); + world.setBlock(x + 5, y + 7, z + 26, Block7, 0, 3); + world.setBlock(x + 8, y + 7, z + 26, Block7, 0, 3); + world.setBlock(x + 11, y + 7, z + 26, Block7, 0, 3); + world.setBlock(x + 12, y + 7, z + 26, Block15, 0, 3); + world.setBlock(x + 4, y + 7, z + 27, Block15, 0, 3); + world.setBlock(x + 5, y + 7, z + 27, Block7, 0, 3); + world.setBlock(x + 7, y + 7, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 7, z + 27, Block7, 0, 3); + world.setBlock(x + 9, y + 7, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 7, z + 27, Block7, 0, 3); + world.setBlock(x + 12, y + 7, z + 27, Block15, 0, 3); + world.setBlock(x + 5, y + 7, z + 28, Block15, 0, 3); + world.setBlock(x + 6, y + 7, z + 28, Block7, 0, 3); + world.setBlock(x + 7, y + 7, z + 28, Block7, 0, 3); + world.setBlock(x + 8, y + 7, z + 28, Block7, 0, 3); + world.setBlock(x + 9, y + 7, z + 28, Block7, 0, 3); + world.setBlock(x + 10, y + 7, z + 28, Block7, 0, 3); + world.setBlock(x + 11, y + 7, z + 28, Block15, 0, 3); + world.setBlock(x + 6, y + 7, z + 29, Block15, 0, 3); + world.setBlock(x + 7, y + 7, z + 29, Block15, 0, 3); + world.setBlock(x + 8, y + 7, z + 29, Block15, 0, 3); + world.setBlock(x + 9, y + 7, z + 29, Block15, 0, 3); + world.setBlock(x + 10, y + 7, z + 29, Block15, 0, 3); + world.setBlock(x + 16, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 17, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 18, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 20, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 21, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 23, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 25, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 26, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 27, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 28, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 29, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 30, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 31, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 32, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 33, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 34, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 35, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 36, y + 8, z + 6, Block1, 0, 3); + world.setBlock(x + 16, y + 8, z + 7, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 8, z + 8, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 37, y + 8, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 8, z + 9, Block5, 0, 3); + world.setBlock(x + 7, y + 8, z + 9, Block5, 0, 3); + world.setBlock(x + 8, y + 8, z + 9, Block5, 0, 3); + world.setBlock(x + 9, y + 8, z + 9, Block5, 0, 3); + world.setBlock(x + 10, y + 8, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 8, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 8, z + 9, Block25, 0, 3); + world.setBlock(x + 24, y + 8, z + 9, Block25, 0, 3); + world.setBlock(x + 25, y + 8, z + 9, Block28, 3, 3); + world.setBlock(x + 26, y + 8, z + 9, Block25, 0, 3); + world.setBlock(x + 27, y + 8, z + 9, Block25, 0, 3); + world.setBlock(x + 28, y + 8, z + 9, Block28, 3, 3); + world.setBlock(x + 29, y + 8, z + 9, Block25, 0, 3); + world.setBlock(x + 30, y + 8, z + 9, Block25, 0, 3); + world.setBlock(x + 31, y + 8, z + 9, Block29, 3, 3); + world.setBlock(x + 37, y + 8, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 8, z + 10, Block5, 0, 3); + world.setBlock(x + 6, y + 8, z + 10, Block5, 0, 3); + world.setBlock(x + 7, y + 8, z + 10, Block11, 0, 3); + world.setBlock(x + 8, y + 8, z + 10, Block5, 0, 3); + world.setBlock(x + 9, y + 8, z + 10, Block11, 0, 3); + world.setBlock(x + 10, y + 8, z + 10, Block5, 0, 3); + world.setBlock(x + 11, y + 8, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 8, z + 10, Block1, 0, 3); + world.setBlock(x + 37, y + 8, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 8, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + 8, z + 11, Block11, 0, 3); + world.setBlock(x + 10, y + 8, z + 11, Block11, 0, 3); + world.setBlock(x + 11, y + 8, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 8, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 8, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 8, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 8, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 37, y + 8, z + 11, Blocks.gravel, 0, 3); + world.setBlock(x + 5, y + 8, z + 12, Block5, 0, 3); + world.setBlock(x + 6, y + 8, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 8, z + 12, Block25, 0, 3); + world.setBlock(x + 10, y + 8, z + 12, Block5, 0, 3); + world.setBlock(x + 11, y + 8, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 8, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 8, z + 13, Block5, 0, 3); + world.setBlock(x + 6, y + 8, z + 13, Block11, 0, 3); + world.setBlock(x + 10, y + 8, z + 13, Block11, 0, 3); + world.setBlock(x + 11, y + 8, z + 13, Block5, 0, 3); + world.setBlock(x + 12, y + 8, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 8, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 8, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 8, z + 13, Block1, 0, 3); + world.setBlock(x + 33, y + 8, z + 13, Block13, 5, 3); + world.setBlock(x + 5, y + 8, z + 14, Block5, 0, 3); + world.setBlock(x + 6, y + 8, z + 14, Block5, 0, 3); + world.setBlock(x + 7, y + 8, z + 14, Block11, 0, 3); + world.setBlock(x + 8, y + 8, z + 14, Block5, 0, 3); + world.setBlock(x + 9, y + 8, z + 14, Block11, 0, 3); + world.setBlock(x + 10, y + 8, z + 14, Block5, 0, 3); + world.setBlock(x + 11, y + 8, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 8, z + 14, Block1, 0, 3); + world.setBlock(x + 22, y + 8, z + 14, Block5, 0, 3); + world.setBlock(x + 23, y + 8, z + 14, Block25, 0, 3); + world.setBlock(x + 27, y + 8, z + 14, Block5, 0, 3); + world.setBlock(x + 28, y + 8, z + 14, Block25, 0, 3); + world.setBlock(x + 29, y + 8, z + 14, Block5, 0, 3); + world.setBlock(x + 32, y + 8, z + 14, Block8, 5, 3); + world.setBlock(x + 6, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 7, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 8, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 9, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 10, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 8, z + 15, Block1, 0, 3); + world.setBlock(x + 22, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 23, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 24, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 27, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 28, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 29, y + 8, z + 15, Block5, 0, 3); + world.setBlock(x + 30, y + 8, z + 15, Block8, 2, 3); + world.setBlock(x + 31, y + 8, z + 15, Block8, 3, 3); + world.setBlock(x + 7, y + 8, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 8, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 8, z + 16, Block1, 0, 3); + world.setBlock(x + 22, y + 8, z + 16, Block5, 0, 3); + world.setBlock(x + 23, y + 8, z + 16, Block5, 0, 3); + world.setBlock(x + 24, y + 8, z + 16, Block5, 0, 3); + world.setBlock(x + 27, y + 8, z + 16, Block5, 0, 3); + world.setBlock(x + 28, y + 8, z + 16, Block5, 0, 3); + world.setBlock(x + 29, y + 8, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 8, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 8, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + 8, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 8, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 17, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 21, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 22, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 23, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 24, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 25, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 26, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 27, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 28, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 29, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 30, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 31, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 32, y + 8, z + 18, Block1, 0, 3); + world.setBlock(x + 33, y + 8, z + 18, Blocks.gravel, 0, 3); + world.setBlock(x + 9, y + 8, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 8, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 8, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 8, z + 22, Block15, 0, 3); + world.setBlock(x + 7, y + 8, z + 22, Block15, 0, 3); + world.setBlock(x + 8, y + 8, z + 22, Blocks.iron_door, 1, 3); + ItemDoor.placeDoorBlock(world, x + 8, y + 8, z + 22, 1, Blocks.iron_door); + world.setBlock(x + 9, y + 8, z + 22, Block15, 0, 3); + world.setBlock(x + 10, y + 8, z + 22, Block15, 0, 3); + world.setBlock(x + 5, y + 8, z + 23, Block15, 0, 3); + world.setBlock(x + 7, y + 8, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 8, z + 23, Block15, 0, 3); + world.setBlock(x + 5, y + 8, z + 24, Block15, 0, 3); + world.setBlock(x + 9, y + 8, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 8, z + 24, Block15, 0, 3); + world.setBlock(x + 5, y + 8, z + 25, Block15, 0, 3); + world.setBlock(x + 9, y + 8, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 8, z + 25, Block15, 0, 3); + world.setBlock(x + 5, y + 8, z + 26, Block15, 0, 3); + world.setBlock(x + 11, y + 8, z + 26, Block15, 0, 3); + world.setBlock(x + 5, y + 8, z + 27, Block15, 0, 3); + world.setBlock(x + 7, y + 8, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 8, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 8, z + 27, Block15, 0, 3); + world.setBlock(x + 6, y + 8, z + 28, Block15, 0, 3); + world.setBlock(x + 7, y + 8, z + 28, Block15, 0, 3); + world.setBlock(x + 8, y + 8, z + 28, Block15, 0, 3); + world.setBlock(x + 9, y + 8, z + 28, Block15, 0, 3); + world.setBlock(x + 10, y + 8, z + 28, Block15, 0, 3); + world.setBlock(x + 7, y + 9, z + 10, Block11, 0, 3); + world.setBlock(x + 8, y + 9, z + 10, Block5, 0, 3); + world.setBlock(x + 9, y + 9, z + 10, Block11, 0, 3); + world.setBlock(x + 6, y + 9, z + 11, Block11, 0, 3); + world.setBlock(x + 7, y + 9, z + 11, Block11, 0, 3); + world.setBlock(x + 8, y + 9, z + 11, Block5, 0, 3); + world.setBlock(x + 9, y + 9, z + 11, Block11, 0, 3); + world.setBlock(x + 10, y + 9, z + 11, Block11, 0, 3); + world.setBlock(x + 6, y + 9, z + 12, Block5, 0, 3); + world.setBlock(x + 7, y + 9, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 9, z + 12, Block5, 0, 3); + world.setBlock(x + 9, y + 9, z + 12, Block5, 0, 3); + world.setBlock(x + 10, y + 9, z + 12, Block5, 0, 3); + world.setBlock(x + 6, y + 9, z + 13, Block11, 0, 3); + world.setBlock(x + 7, y + 9, z + 13, Block11, 0, 3); + world.setBlock(x + 8, y + 9, z + 13, Block5, 0, 3); + world.setBlock(x + 9, y + 9, z + 13, Block11, 0, 3); + world.setBlock(x + 10, y + 9, z + 13, Block11, 0, 3); + world.setBlock(x + 7, y + 9, z + 14, Block11, 0, 3); + + generate_r01(world, rand, x, y, z); + return true; + + } + public boolean generate_r01(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 8, y + 9, z + 14, Block5, 0, 3); + world.setBlock(x + 9, y + 9, z + 14, Block11, 0, 3); + world.setBlock(x + 23, y + 9, z + 15, Block5, 0, 3); + world.setBlock(x + 28, y + 9, z + 15, Block5, 0, 3); + world.setBlock(x + 29, y + 9, z + 15, Block8, 5, 3); + world.setBlock(x + 6, y + 9, z + 22, Block15, 0, 3); + world.setBlock(x + 7, y + 9, z + 22, Block15, 0, 3); + //world.setBlock(x + 8, y + 9, z + 22, Blocks.iron_door, 8, 3); + world.setBlock(x + 9, y + 9, z + 22, Block15, 0, 3); + world.setBlock(x + 10, y + 9, z + 22, Block15, 0, 3); + world.setBlock(x + 5, y + 9, z + 23, Block15, 0, 3); + world.setBlock(x + 11, y + 9, z + 23, Block15, 0, 3); + world.setBlock(x + 5, y + 9, z + 24, Block15, 0, 3); + world.setBlock(x + 11, y + 9, z + 24, Block15, 0, 3); + world.setBlock(x + 5, y + 9, z + 25, Block15, 0, 3); + world.setBlock(x + 11, y + 9, z + 25, Block15, 0, 3); + world.setBlock(x + 5, y + 9, z + 26, Block15, 0, 3); + world.setBlock(x + 11, y + 9, z + 26, Block15, 0, 3); + world.setBlock(x + 5, y + 9, z + 27, Block15, 0, 3); + world.setBlock(x + 11, y + 9, z + 27, Block15, 0, 3); + world.setBlock(x + 6, y + 9, z + 28, Block15, 0, 3); + world.setBlock(x + 7, y + 9, z + 28, Block15, 0, 3); + world.setBlock(x + 8, y + 9, z + 28, Block15, 0, 3); + world.setBlock(x + 9, y + 9, z + 28, Block15, 0, 3); + world.setBlock(x + 10, y + 9, z + 28, Block15, 0, 3); + world.setBlock(x + 7, y + 10, z + 11, Block11, 0, 3); + world.setBlock(x + 8, y + 10, z + 11, Block5, 0, 3); + world.setBlock(x + 9, y + 10, z + 11, Block11, 0, 3); + world.setBlock(x + 7, y + 10, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 10, z + 12, Block5, 0, 3); + world.setBlock(x + 9, y + 10, z + 12, Block5, 0, 3); + world.setBlock(x + 7, y + 10, z + 13, Block11, 0, 3); + world.setBlock(x + 8, y + 10, z + 13, Block5, 0, 3); + world.setBlock(x + 9, y + 10, z + 13, Block11, 0, 3); + world.setBlock(x + 23, y + 10, z + 15, Block8, 5, 3); + world.setBlock(x + 28, y + 10, z + 15, Block8, 5, 3); + world.setBlock(x + 6, y + 10, z + 22, Block15, 0, 3); + world.setBlock(x + 7, y + 10, z + 22, Block15, 0, 3); + world.setBlock(x + 8, y + 10, z + 22, Block15, 0, 3); + world.setBlock(x + 9, y + 10, z + 22, Block15, 0, 3); + world.setBlock(x + 10, y + 10, z + 22, Block15, 0, 3); + world.setBlock(x + 5, y + 10, z + 23, Block15, 0, 3); + world.setBlock(x + 11, y + 10, z + 23, Block15, 0, 3); + world.setBlock(x + 5, y + 10, z + 24, Block15, 0, 3); + world.setBlock(x + 11, y + 10, z + 24, Block15, 0, 3); + world.setBlock(x + 5, y + 10, z + 25, Block15, 0, 3); + world.setBlock(x + 11, y + 10, z + 25, Block15, 0, 3); + world.setBlock(x + 5, y + 10, z + 26, Block15, 0, 3); + world.setBlock(x + 11, y + 10, z + 26, Block15, 0, 3); + world.setBlock(x + 5, y + 10, z + 27, Block15, 0, 3); + world.setBlock(x + 11, y + 10, z + 27, Block15, 0, 3); + world.setBlock(x + 6, y + 10, z + 28, Block15, 0, 3); + world.setBlock(x + 7, y + 10, z + 28, Block15, 0, 3); + world.setBlock(x + 8, y + 10, z + 28, Block15, 0, 3); + world.setBlock(x + 9, y + 10, z + 28, Block15, 0, 3); + world.setBlock(x + 10, y + 10, z + 28, Block15, 0, 3); + world.setBlock(x + 8, y + 11, z + 12, Block5, 0, 3); + world.setBlock(x + 23, y + 11, z + 15, Block8, 5, 3); + world.setBlock(x + 28, y + 11, z + 15, Block8, 5, 3); + world.setBlock(x + 6, y + 11, z + 21, Block15, 0, 3); + world.setBlock(x + 7, y + 11, z + 21, Block15, 0, 3); + world.setBlock(x + 8, y + 11, z + 21, Block15, 0, 3); + world.setBlock(x + 9, y + 11, z + 21, Block15, 0, 3); + world.setBlock(x + 10, y + 11, z + 21, Block15, 0, 3); + world.setBlock(x + 5, y + 11, z + 22, Block15, 0, 3); + world.setBlock(x + 6, y + 11, z + 22, Block7, 0, 3); + world.setBlock(x + 7, y + 11, z + 22, Block7, 0, 3); + world.setBlock(x + 8, y + 11, z + 22, Block7, 0, 3); + world.setBlock(x + 9, y + 11, z + 22, Block7, 0, 3); + world.setBlock(x + 10, y + 11, z + 22, Block7, 0, 3); + world.setBlock(x + 11, y + 11, z + 22, Block15, 0, 3); + world.setBlock(x + 4, y + 11, z + 23, Block15, 0, 3); + world.setBlock(x + 5, y + 11, z + 23, Block7, 0, 3); + world.setBlock(x + 11, y + 11, z + 23, Block7, 0, 3); + world.setBlock(x + 12, y + 11, z + 23, Block15, 0, 3); + world.setBlock(x + 4, y + 11, z + 24, Block15, 0, 3); + world.setBlock(x + 5, y + 11, z + 24, Block7, 0, 3); + world.setBlock(x + 11, y + 11, z + 24, Block7, 0, 3); + world.setBlock(x + 12, y + 11, z + 24, Block15, 0, 3); + world.setBlock(x + 4, y + 11, z + 25, Block15, 0, 3); + world.setBlock(x + 5, y + 11, z + 25, Block7, 0, 3); + world.setBlock(x + 11, y + 11, z + 25, Block7, 0, 3); + world.setBlock(x + 12, y + 11, z + 25, Block15, 0, 3); + world.setBlock(x + 4, y + 11, z + 26, Block15, 0, 3); + world.setBlock(x + 5, y + 11, z + 26, Block7, 0, 3); + world.setBlock(x + 11, y + 11, z + 26, Block7, 0, 3); + world.setBlock(x + 12, y + 11, z + 26, Block15, 0, 3); + world.setBlock(x + 4, y + 11, z + 27, Block15, 0, 3); + world.setBlock(x + 5, y + 11, z + 27, Block7, 0, 3); + world.setBlock(x + 11, y + 11, z + 27, Block7, 0, 3); + world.setBlock(x + 12, y + 11, z + 27, Block15, 0, 3); + world.setBlock(x + 5, y + 11, z + 28, Block15, 0, 3); + world.setBlock(x + 6, y + 11, z + 28, Block7, 0, 3); + world.setBlock(x + 7, y + 11, z + 28, Block7, 0, 3); + world.setBlock(x + 8, y + 11, z + 28, Block7, 0, 3); + world.setBlock(x + 9, y + 11, z + 28, Block7, 0, 3); + world.setBlock(x + 10, y + 11, z + 28, Block7, 0, 3); + world.setBlock(x + 11, y + 11, z + 28, Block15, 0, 3); + world.setBlock(x + 6, y + 11, z + 29, Block15, 0, 3); + world.setBlock(x + 7, y + 11, z + 29, Block15, 0, 3); + world.setBlock(x + 8, y + 11, z + 29, Block15, 0, 3); + world.setBlock(x + 9, y + 11, z + 29, Block15, 0, 3); + world.setBlock(x + 10, y + 11, z + 29, Block15, 0, 3); + world.setBlock(x + 8, y + 12, z + 12, Block27, 3, 3); + world.setBlock(x + 23, y + 12, z + 15, Block8, 5, 3); + world.setBlock(x + 28, y + 12, z + 15, Block8, 5, 3); + world.setBlock(x + 6, y + 12, z + 20, Block15, 0, 3); + world.setBlock(x + 7, y + 12, z + 20, Block15, 0, 3); + world.setBlock(x + 8, y + 12, z + 20, Block15, 0, 3); + world.setBlock(x + 9, y + 12, z + 20, Block15, 0, 3); + world.setBlock(x + 10, y + 12, z + 20, Block15, 0, 3); + world.setBlock(x + 5, y + 12, z + 21, Block15, 0, 3); + world.setBlock(x + 6, y + 12, z + 21, Block7, 0, 3); + world.setBlock(x + 7, y + 12, z + 21, Block7, 0, 3); + world.setBlock(x + 8, y + 12, z + 21, Block7, 0, 3); + world.setBlock(x + 9, y + 12, z + 21, Block7, 0, 3); + world.setBlock(x + 10, y + 12, z + 21, Block7, 0, 3); + world.setBlock(x + 11, y + 12, z + 21, Block15, 0, 3); + world.setBlock(x + 4, y + 12, z + 22, Block15, 0, 3); + world.setBlock(x + 5, y + 12, z + 22, Block7, 0, 3); + world.setBlock(x + 11, y + 12, z + 22, Block7, 0, 3); + world.setBlock(x + 12, y + 12, z + 22, Block15, 0, 3); + world.setBlock(x + 3, y + 12, z + 23, Block15, 0, 3); + world.setBlock(x + 4, y + 12, z + 23, Block7, 0, 3); + world.setBlock(x + 12, y + 12, z + 23, Block7, 0, 3); + world.setBlock(x + 13, y + 12, z + 23, Block15, 0, 3); + world.setBlock(x + 3, y + 12, z + 24, Block15, 0, 3); + world.setBlock(x + 4, y + 12, z + 24, Block7, 0, 3); + world.setBlock(x + 12, y + 12, z + 24, Block7, 0, 3); + world.setBlock(x + 13, y + 12, z + 24, Block15, 0, 3); + world.setBlock(x + 3, y + 12, z + 25, Block15, 0, 3); + world.setBlock(x + 4, y + 12, z + 25, Block7, 0, 3); + world.setBlock(x + 12, y + 12, z + 25, Block7, 0, 3); + world.setBlock(x + 13, y + 12, z + 25, Block15, 0, 3); + world.setBlock(x + 3, y + 12, z + 26, Block15, 0, 3); + world.setBlock(x + 4, y + 12, z + 26, Block7, 0, 3); + world.setBlock(x + 12, y + 12, z + 26, Block7, 0, 3); + world.setBlock(x + 13, y + 12, z + 26, Block15, 0, 3); + world.setBlock(x + 3, y + 12, z + 27, Block15, 0, 3); + world.setBlock(x + 4, y + 12, z + 27, Block7, 0, 3); + world.setBlock(x + 12, y + 12, z + 27, Block7, 0, 3); + world.setBlock(x + 13, y + 12, z + 27, Block15, 0, 3); + world.setBlock(x + 4, y + 12, z + 28, Block15, 0, 3); + world.setBlock(x + 5, y + 12, z + 28, Block7, 0, 3); + world.setBlock(x + 11, y + 12, z + 28, Block7, 0, 3); + world.setBlock(x + 12, y + 12, z + 28, Block15, 0, 3); + world.setBlock(x + 5, y + 12, z + 29, Block15, 0, 3); + world.setBlock(x + 6, y + 12, z + 29, Block7, 0, 3); + world.setBlock(x + 7, y + 12, z + 29, Block7, 0, 3); + world.setBlock(x + 8, y + 12, z + 29, Block7, 0, 3); + world.setBlock(x + 9, y + 12, z + 29, Block7, 0, 3); + world.setBlock(x + 10, y + 12, z + 29, Block7, 0, 3); + world.setBlock(x + 11, y + 12, z + 29, Block15, 0, 3); + world.setBlock(x + 6, y + 12, z + 30, Block15, 0, 3); + world.setBlock(x + 7, y + 12, z + 30, Block15, 0, 3); + world.setBlock(x + 8, y + 12, z + 30, Block15, 0, 3); + world.setBlock(x + 9, y + 12, z + 30, Block15, 0, 3); + world.setBlock(x + 10, y + 12, z + 30, Block15, 0, 3); + world.setBlock(x + 23, y + 13, z + 15, Block13, 5, 3); + world.setBlock(x + 28, y + 13, z + 15, Block13, 5, 3); + world.setBlock(x + 23, y + 14, z + 15, Block8, 3, 3); + world.setBlock(x + 23, y + 15, z + 15, Block13, 3, 3); + world.setBlock(x + 23, y + 16, z + 15, Block8, 3, 3); + world.setBlock(x + 23, y + 17, z + 15, Block8, 3, 3); + world.setBlock(x + 23, y + 18, z + 15, Block8, 3, 3); + world.setBlock(x + 23, y + 19, z + 15, Block27, 3, 3); + + generate_r02_last(world, rand, x, y, z); + return true; + + } + public boolean generate_r02_last(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 8, y + 1, z + 7, Blocks.ladder, 2, 3); + world.setBlock(x + 38, y + 1, z + 8, Blocks.wall_sign, 5, 3); + world.setBlock(x + 38, y + 1, z + 9, Blocks.wall_sign, 5, 3); + world.setBlock(x + 35, y + 1, z + 14, Blocks.lever, 14, 3); + world.setBlock(x + 35, y + 1, z + 16, Blocks.lever, 6, 3); + world.setBlock(x + 8, y + 2, z + 7, Blocks.ladder, 2, 3); + world.setBlock(x + 8, y + 3, z + 7, Blocks.ladder, 2, 3); + world.setBlock(x + 8, y + 4, z + 7, Blocks.wall_sign, 2, 3); + world.setBlock(x + 8, y + 5, z + 7, Blocks.wall_sign, 2, 3); + world.setBlock(x + 22, y + 5, z + 14, Blocks.lever, 2, 3); + world.setBlock(x + 8, y + 8, z + 21, Blocks.wall_sign, 2, 3); + world.setBlock(x + 8, y + 9, z + 21, Blocks.wall_sign, 2, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned abandoned Power Plant at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Dud.java b/com/hbm/world/Dud.java index 18c7c65a5..e7a1be7fb 100644 --- a/com/hbm/world/Dud.java +++ b/com/hbm/world/Dud.java @@ -1,92 +1,92 @@ -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Dud extends WorldGenerator -{ - Block Block1 = ModBlocks.steel_scaffold; - Block Block2 = ModBlocks.machine_difurnace_off; - Block Block3 = ModBlocks.factory_titanium_core; - Block Block4 = ModBlocks.steel_wall; - Block Block5 = ModBlocks.reinforced_light; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.stone, - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x, y, z)) - { - return false; - } - - world.setBlock(x, y, z, ModBlocks.crashed_balefire, rand.nextInt(4) + 2, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned dud at " + x + " " + y +" " + z + "\n"); - return true; - - } -} +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Dud extends WorldGenerator +{ + Block Block1 = ModBlocks.steel_scaffold; + Block Block2 = ModBlocks.machine_difurnace_off; + Block Block3 = ModBlocks.factory_titanium_core; + Block Block4 = ModBlocks.steel_wall; + Block Block5 = ModBlocks.reinforced_light; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.stone, + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x, y, z)) + { + return false; + } + + world.setBlock(x, y, z, ModBlocks.crashed_balefire, rand.nextInt(4) + 2, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned dud at " + x + " " + y +" " + z + "\n"); + return true; + + } +} diff --git a/com/hbm/world/FWatz.java b/com/hbm/world/FWatz.java index e17be5f7e..a27eef316 100644 --- a/com/hbm/world/FWatz.java +++ b/com/hbm/world/FWatz.java @@ -1,938 +1,938 @@ -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class FWatz { - - static String[][] fwatz = new String[19][19]; - - static String s0101 = " XXX "; - static String s0102 = " XXX "; - static String s0103 = " "; - static String s0104 = " "; - static String s0105 = " "; - static String s0106 = " "; - static String s0107 = " "; - static String s0108 = " SSSSS "; - static String s0109 = "XX SSSSS XX"; - static String s0110 = "XX SSSSS XX"; - static String s0111 = "XX SSSSS XX"; - static String s0112 = " SSSSS "; - static String s0113 = " "; - static String s0114 = " "; - static String s0115 = " "; - static String s0116 = " "; - static String s0117 = " "; - static String s0118 = " XXX "; - static String s0119 = " XXX "; - - static String s0201 = " XHX "; - static String s0202 = " XXX "; - static String s0203 = " "; - static String s0204 = " "; - static String s0205 = " "; - static String s0206 = " "; - static String s0207 = " "; - static String s0208 = " SSSSS "; - static String s0209 = "XX STTTS XX"; - static String s0210 = "HX STTTS XH"; - static String s0211 = "XX STTTS XX"; - static String s0212 = " SSSSS "; - static String s0213 = " "; - static String s0214 = " "; - static String s0215 = " "; - static String s0216 = " "; - static String s0217 = " "; - static String s0218 = " XXX "; - static String s0219 = " XHX "; - - static String s0301 = " XXX "; - static String s0302 = " XXX "; - static String s0303 = " "; - static String s0304 = " "; - static String s0305 = " "; - static String s0306 = " "; - static String s0307 = " "; - static String s0308 = " SSSSS "; - static String s0309 = "XX STTTS XX"; - static String s0310 = "XX STTTS XX"; - static String s0311 = "XX STTTS XX"; - static String s0312 = " SSSSS "; - static String s0313 = " "; - static String s0314 = " "; - static String s0315 = " "; - static String s0316 = " "; - static String s0317 = " "; - static String s0318 = " XXX "; - static String s0319 = " XXX "; - - static String s0401 = " "; - static String s0402 = " XXX "; - static String s0403 = " XXX "; - static String s0404 = " X "; - static String s0405 = " X "; - static String s0406 = " X "; - static String s0407 = " X "; - static String s0408 = " SSXSS "; - static String s0409 = " XX STTTS XX "; - static String s0410 = " XXXXXXXTTTXXXXXXX "; - static String s0411 = " XX STTTS XX "; - static String s0412 = " SSXSS "; - static String s0413 = " X "; - static String s0414 = " X "; - static String s0415 = " X "; - static String s0416 = " X "; - static String s0417 = " XXX "; - static String s0418 = " XXX "; - static String s0419 = " "; - - static String s0501 = " "; - static String s0502 = " XXX "; - static String s0503 = " XXX "; - static String s0504 = " "; - static String s0505 = " "; - static String s0506 = " "; - static String s0507 = " "; - static String s0508 = " SSSSS "; - static String s0509 = " XX STTTS XX "; - static String s0510 = " XX STTTS XX "; - static String s0511 = " XX STTTS XX "; - static String s0512 = " SSSSS "; - static String s0513 = " "; - static String s0514 = " "; - static String s0515 = " "; - static String s0516 = " "; - static String s0517 = " XXX "; - static String s0518 = " XXX "; - static String s0519 = " "; - - static String s0601 = " "; - static String s0602 = " XXX "; - static String s0603 = " XXX "; - static String s0604 = " "; - static String s0605 = " "; - static String s0606 = " "; - static String s0607 = " "; - static String s0608 = " SSSSS "; - static String s0609 = " XX STTTS XX "; - static String s0610 = " XX STTTS XX "; - static String s0611 = " XX STTTS XX "; - static String s0612 = " SSSSS "; - static String s0613 = " "; - static String s0614 = " "; - static String s0615 = " "; - static String s0616 = " "; - static String s0617 = " XXX "; - static String s0618 = " XXX "; - static String s0619 = " "; - - static String s0701 = " "; - static String s0702 = " "; - static String s0703 = " XXX "; - static String s0704 = " XXX "; - static String s0705 = " "; - static String s0706 = " "; - static String s0707 = " "; - static String s0708 = " MMMMM "; - static String s0709 = " XX MMMMM XX "; - static String s0710 = " XX MMMMM XX "; - static String s0711 = " XX MMMMM XX "; - static String s0712 = " MMMMM "; - static String s0713 = " "; - static String s0714 = " "; - static String s0715 = " "; - static String s0716 = " XXX "; - static String s0717 = " XXX "; - static String s0718 = " "; - static String s0719 = " "; - - static String s0801 = " "; - static String s0802 = " "; - static String s0803 = " XXX "; - static String s0804 = " XXX "; - static String s0805 = " XXX "; - static String s0806 = " MMMMM "; - static String s0807 = " MMMMMMM "; - static String s0808 = " MMMMMMMMM "; - static String s0809 = " XXXMMMMMMMMMXXX "; - static String s0810 = " XXXMMMMMMMMMXXX "; - static String s0811 = " XXXMMMMMMMMMXXX "; - static String s0812 = " MMMMMMMMM "; - static String s0813 = " MMMMMMM "; - static String s0814 = " MMMMM "; - static String s0815 = " XXX "; - static String s0816 = " XXX "; - static String s0817 = " XXX "; - static String s0818 = " "; - static String s0819 = " "; - - static String s0901 = " "; - static String s0902 = " "; - static String s0903 = " XXX "; - static String s0904 = " XXX "; - static String s0905 = " MMMMM "; - static String s0906 = " MMMMMMM "; - static String s0907 = " MMMMMMMMM "; - static String s0908 = " MMMMPPPMMMM "; - static String s0909 = " XXMMMPPPPPMMMXX "; - static String s0910 = " XXMMMPPPPPMMMXX "; - static String s0911 = " XXMMMPPPPPMMMXX "; - static String s0912 = " MMMMPPPMMMM "; - static String s0913 = " MMMMMMMMM "; - static String s0914 = " MMMMMMM "; - static String s0915 = " MMMMM "; - static String s0916 = " XXX "; - static String s0917 = " XXX "; - static String s0918 = " "; - static String s0919 = " "; - - static String s1001 = " "; - static String s1002 = " "; - static String s1003 = " "; - static String s1004 = " XXX "; - static String s1005 = " MMMMMMM "; - static String s1006 = " MMMMMMMMM "; - static String s1007 = " MMMMPPPMMMM "; - static String s1008 = " MMMPPPPPMMM "; - static String s1009 = " XMMPPPPPPPMMX "; - static String s1010 = " XMMPPPPPPPMMX "; - static String s1011 = " XMMPPPPPPPMMX "; - static String s1012 = " MMMPPPPPMMM "; - static String s1013 = " MMMMPPPMMMM "; - static String s1014 = " MMMMMMMMM "; - static String s1015 = " MMMMMMM "; - static String s1016 = " XXX "; - static String s1017 = " "; - static String s1018 = " "; - static String s1019 = " "; - - static String s1101 = " "; - static String s1102 = " "; - static String s1103 = " "; - static String s1104 = " MMMMM "; - static String s1105 = " MMMMMMMMM "; - static String s1106 = " MMMMPPPMMMM "; - static String s1107 = " MMMPPPPPMMM "; - static String s1108 = " MMMPPPPPPPMMM "; - static String s1109 = " MMPPPMMMPPPMM "; - static String s1110 = " MMPPPMMMPPPMM "; - static String s1111 = " MMPPPMMMPPPMM "; - static String s1112 = " MMMPPPPPPPMMM "; - static String s1113 = " MMMPPPPPMMM "; - static String s1114 = " MMMMPPPMMMM "; - static String s1115 = " MMMMMMMMM "; - static String s1116 = " MMMMM "; - static String s1117 = " "; - static String s1118 = " "; - static String s1119 = " "; - - static String s1201 = " "; - static String s1202 = " "; - static String s1203 = " "; - static String s1204 = " MMMMM "; - static String s1205 = " MMMMMMMMM "; - static String s1206 = " MMMPPPPPMMM "; - static String s1207 = " MMPPPPPPPMM "; - static String s1208 = " MMPPPMMMPPPMM "; - static String s1209 = " MMPPMMMMMPPMM "; - static String s1210 = " MMPPMMCMMPPMM "; - static String s1211 = " MMPPMMMMMPPMM "; - static String s1212 = " MMPPPMMMPPPMM "; - static String s1213 = " MMPPPPPPPMM "; - static String s1214 = " MMMPPPPPMMM "; - static String s1215 = " MMMMMMMMM "; - static String s1216 = " MMMMM "; - static String s1217 = " "; - static String s1218 = " "; - static String s1219 = " "; - - static String s1301 = " "; - static String s1302 = " "; - static String s1303 = " "; - static String s1304 = " MMMMM "; - static String s1305 = " MMMMMMMMM "; - static String s1306 = " MMMPPPPPMMM "; - static String s1307 = " MMPPPPPPPMM "; - static String s1308 = " MMPPPMMMPPPMM "; - static String s1309 = " MMPPMMCMMPPMM "; - static String s1310 = " MMPPMC#CMPPMM "; - static String s1311 = " MMPPMMCMMPPMM "; - static String s1312 = " MMPPPMMMPPPMM "; - static String s1313 = " MMPPPPPPPMM "; - static String s1314 = " MMMPPPPPMMM "; - static String s1315 = " MMMMMMMMM "; - static String s1316 = " MMMMM "; - static String s1317 = " "; - static String s1318 = " "; - static String s1319 = " "; - - static String s1401 = " "; - static String s1402 = " "; - static String s1403 = " "; - static String s1404 = " MMMMM "; - static String s1405 = " MMMMMMMMM "; - static String s1406 = " MMMPPPPPMMM "; - static String s1407 = " MMPPPPPPPMM "; - static String s1408 = " MMPPPMMMPPPMM "; - static String s1409 = " MMPPMMMMMPPMM "; - static String s1410 = " MMPPMMCMMPPMM "; - static String s1411 = " MMPPMMMMMPPMM "; - static String s1412 = " MMPPPMMMPPPMM "; - static String s1413 = " MMPPPPPPPMM "; - static String s1414 = " MMMPPPPPMMM "; - static String s1415 = " MMMMMMMMM "; - static String s1416 = " MMMMM "; - static String s1417 = " "; - static String s1418 = " "; - static String s1419 = " "; - - static String s1501 = " "; - static String s1502 = " "; - static String s1503 = " "; - static String s1504 = " MMMMM "; - static String s1505 = " MMMMMMMMM "; - static String s1506 = " MMMMPPPMMMM "; - static String s1507 = " MMMPPPPPMMM "; - static String s1508 = " MMMPPPPPPPMMM "; - static String s1509 = " MMPPPMMMPPPMM "; - static String s1510 = " MMPPPMMMPPPMM "; - static String s1511 = " MMPPPMMMPPPMM "; - static String s1512 = " MMMPPPPPPPMMM "; - static String s1513 = " MMMPPPPPMMM "; - static String s1514 = " MMMMPPPMMMM "; - static String s1515 = " MMMMMMMMM "; - static String s1516 = " MMMMM "; - static String s1517 = " "; - static String s1518 = " "; - static String s1519 = " "; - - static String s1601 = " "; - static String s1602 = " "; - static String s1603 = " "; - static String s1604 = " "; - static String s1605 = " MMMMMMM "; - static String s1606 = " MMMMMMMMM "; - static String s1607 = " MMMMPPPMMMM "; - static String s1608 = " MMMPPPPPMMM "; - static String s1609 = " MMPPPPPPPMM "; - static String s1610 = " MMPPPPPPPMM "; - static String s1611 = " MMPPPPPPPMM "; - static String s1612 = " MMMPPPPPMMM "; - static String s1613 = " MMMMPPPMMMM "; - static String s1614 = " MMMMMMMMM "; - static String s1615 = " MMMMMMM "; - static String s1616 = " "; - static String s1617 = " "; - static String s1618 = " "; - static String s1619 = " "; - - static String s1701 = " "; - static String s1702 = " "; - static String s1703 = " "; - static String s1704 = " "; - static String s1705 = " MMMMM "; - static String s1706 = " MMMMMMM "; - static String s1707 = " MMMMMMMMM "; - static String s1708 = " MMMMPPPMMMM "; - static String s1709 = " MMMPPPPPMMM "; - static String s1710 = " MMMPPPPPMMM "; - static String s1711 = " MMMPPPPPMMM "; - static String s1712 = " MMMMPPPMMMM "; - static String s1713 = " MMMMMMMMM "; - static String s1714 = " MMMMMMM "; - static String s1715 = " MMMMM "; - static String s1716 = " "; - static String s1717 = " "; - static String s1718 = " "; - static String s1719 = " "; - - static String s1801 = " "; - static String s1802 = " "; - static String s1803 = " "; - static String s1804 = " "; - static String s1805 = " "; - static String s1806 = " MMMMM "; - static String s1807 = " MMMMMMM "; - static String s1808 = " MMMMMMMMM "; - static String s1809 = " MMMMMMMMM "; - static String s1810 = " MMMMMMMMM "; - static String s1811 = " MMMMMMMMM "; - static String s1812 = " MMMMMMMMM "; - static String s1813 = " MMMMMMM "; - static String s1814 = " MMMMM "; - static String s1815 = " "; - static String s1816 = " "; - static String s1817 = " "; - static String s1818 = " "; - static String s1819 = " "; - - static String s1901 = " "; - static String s1902 = " "; - static String s1903 = " "; - static String s1904 = " "; - static String s1905 = " "; - static String s1906 = " "; - static String s1907 = " "; - static String s1908 = " MMMMM "; - static String s1909 = " MMMMM "; - static String s1910 = " MMMMM "; - static String s1911 = " MMMMM "; - static String s1912 = " MMMMM "; - static String s1913 = " "; - static String s1914 = " "; - static String s1915 = " "; - static String s1916 = " "; - static String s1917 = " "; - static String s1918 = " "; - static String s1919 = " "; - - public void generateHull(World world, Random rand, int x, int y, int z) { - - x -= 9; - z -= 9; - - uniteStructure(); - - for(int i = 0; i < 19; i++) { - for(int j = 0; j < 19; j++) { - for(int k = 0; k < 19; k++) { - String c = fwatz[j][i].substring(k, k + 1); - Block b = Blocks.air; - - if(c.equals("X")) - b = ModBlocks.fwatz_scaffold; - if(c.equals("H")) - b = ModBlocks.fwatz_hatch; - if(c.equals("S")) - b = ModBlocks.fwatz_cooler; - if(c.equals("T")) - b = ModBlocks.fwatz_tank; - if(c.equals("M")) - b = ModBlocks.fwatz_conductor; - if(c.equals("C")) - b = ModBlocks.fwatz_computer; - if(c.equals("#")) - b = ModBlocks.fwatz_core; - - world.setBlock(x + i, y + j, z + k, b); - } - } - } - - world.setBlock(x + 0, y + 1, z + 9, ModBlocks.fwatz_hatch, 4, 3); - world.setBlock(x + 18, y + 1, z + 9, ModBlocks.fwatz_hatch, 5, 3); - world.setBlock(x + 9, y + 1, z + 18, ModBlocks.fwatz_hatch, 3, 3); - world.setBlock(x + 9, y + 1, z + 0, ModBlocks.fwatz_hatch, 2, 3); - - } - - public static boolean checkHull(World world, int x, int y, int z) { - x -= 9; - y -= 12; - z -= 9; - - uniteStructure(); - - boolean flag = true; - - for(int i = 0; i < 19; i++) { - for(int j = 0; j < 19; j++) { - for(int k = 0; k < 19; k++) { - String c = fwatz[j][i].substring(k, k + 1); - Block b = Blocks.air; - boolean flag2 = false; - - if(c.equals("X")) { - b = ModBlocks.fwatz_scaffold; - flag2 = true; - } - if(c.equals("H")) { - b = ModBlocks.fwatz_hatch; - flag2 = true; - } - if(c.equals("S")) { - b = ModBlocks.fwatz_cooler; - flag2 = true; - } - if(c.equals("T")) { - b = ModBlocks.fwatz_tank; - flag2 = true; - } - if(c.equals("M")) { - b = ModBlocks.fwatz_conductor; - flag2 = true; - } - if(c.equals("C")) { - b = ModBlocks.fwatz_computer; - flag2 = true; - } - if(c.equals("#")) { - b = ModBlocks.fwatz_core; - flag2 = true; - } - - if(flag2) - if(world.getBlock(x + i, y + j, z + k) != b) - flag = false; - } - } - } - - return flag; - } - - public static void fillPlasma(World world, int x, int y, int z) { - x -= 9; - y -= 12; - z -= 9; - - uniteStructure(); - - for(int i = 0; i < 19; i++) { - for(int j = 0; j < 19; j++) { - for(int k = 0; k < 19; k++) { - String c = fwatz[j][i].substring(k, k + 1); - - if(c.equals("P")) - world.setBlock(x + i, y + j, z + k, ModBlocks.fwatz_plasma); - } - } - } - } - - public static void emptyPlasma(World world, int x, int y, int z) { - x -= 9; - y -= 12; - z -= 9; - - uniteStructure(); - - for(int i = 0; i < 19; i++) { - for(int j = 0; j < 19; j++) { - for(int k = 0; k < 19; k++) { - String c = fwatz[j][i].substring(k, k + 1); - - if(c.equals("P")) - if(world.getBlock(x + i, y + j, z + k) == ModBlocks.fwatz_plasma) - world.setBlock(x + i, y + j, z + k, Blocks.air); - } - } - } - } - - public static boolean getPlasma(World world, int x, int y, int z) { - x -= 9; - y -= 12; - z -= 9; - - uniteStructure(); - - boolean flag = false; - - for(int i = 0; i < 19; i++) { - for(int j = 0; j < 19; j++) { - for(int k = 0; k < 19; k++) { - String c = fwatz[j][i].substring(k, k + 1); - - if(c.equals("P") && world.getBlock(x + i, y + j, z + k) == ModBlocks.fwatz_plasma) - flag = true; - } - } - } - - return flag; - } - - public static void uniteStructure() { - int x = 0; - fwatz[x][0] = s0101; - fwatz[x][1] = s0102; - fwatz[x][2] = s0103; - fwatz[x][3] = s0104; - fwatz[x][4] = s0105; - fwatz[x][5] = s0106; - fwatz[x][6] = s0107; - fwatz[x][7] = s0108; - fwatz[x][8] = s0109; - fwatz[x][9] = s0110; - fwatz[x][10] = s0111; - fwatz[x][11] = s0112; - fwatz[x][12] = s0113; - fwatz[x][13] = s0114; - fwatz[x][14] = s0115; - fwatz[x][15] = s0116; - fwatz[x][16] = s0117; - fwatz[x][17] = s0118; - fwatz[x][18] = s0119; - x++; - fwatz[x][0] = s0201; - fwatz[x][1] = s0202; - fwatz[x][2] = s0203; - fwatz[x][3] = s0204; - fwatz[x][4] = s0205; - fwatz[x][5] = s0206; - fwatz[x][6] = s0207; - fwatz[x][7] = s0208; - fwatz[x][8] = s0209; - fwatz[x][9] = s0210; - fwatz[x][10] = s0211; - fwatz[x][11] = s0212; - fwatz[x][12] = s0213; - fwatz[x][13] = s0214; - fwatz[x][14] = s0215; - fwatz[x][15] = s0216; - fwatz[x][16] = s0217; - fwatz[x][17] = s0218; - fwatz[x][18] = s0219; - x++; - fwatz[x][0] = s0301; - fwatz[x][1] = s0302; - fwatz[x][2] = s0303; - fwatz[x][3] = s0304; - fwatz[x][4] = s0305; - fwatz[x][5] = s0306; - fwatz[x][6] = s0307; - fwatz[x][7] = s0308; - fwatz[x][8] = s0309; - fwatz[x][9] = s0310; - fwatz[x][10] = s0311; - fwatz[x][11] = s0312; - fwatz[x][12] = s0313; - fwatz[x][13] = s0314; - fwatz[x][14] = s0315; - fwatz[x][15] = s0316; - fwatz[x][16] = s0317; - fwatz[x][17] = s0318; - fwatz[x][18] = s0319; - x++; - fwatz[x][0] = s0401; - fwatz[x][1] = s0402; - fwatz[x][2] = s0403; - fwatz[x][3] = s0404; - fwatz[x][4] = s0405; - fwatz[x][5] = s0406; - fwatz[x][6] = s0407; - fwatz[x][7] = s0408; - fwatz[x][8] = s0409; - fwatz[x][9] = s0410; - fwatz[x][10] = s0411; - fwatz[x][11] = s0412; - fwatz[x][12] = s0413; - fwatz[x][13] = s0414; - fwatz[x][14] = s0415; - fwatz[x][15] = s0416; - fwatz[x][16] = s0417; - fwatz[x][17] = s0418; - fwatz[x][18] = s0419; - x++; - fwatz[x][0] = s0501; - fwatz[x][1] = s0502; - fwatz[x][2] = s0503; - fwatz[x][3] = s0504; - fwatz[x][4] = s0505; - fwatz[x][5] = s0506; - fwatz[x][6] = s0507; - fwatz[x][7] = s0508; - fwatz[x][8] = s0509; - fwatz[x][9] = s0510; - fwatz[x][10] = s0511; - fwatz[x][11] = s0512; - fwatz[x][12] = s0513; - fwatz[x][13] = s0514; - fwatz[x][14] = s0515; - fwatz[x][15] = s0516; - fwatz[x][16] = s0517; - fwatz[x][17] = s0518; - fwatz[x][18] = s0519; - x++; - fwatz[x][0] = s0601; - fwatz[x][1] = s0602; - fwatz[x][2] = s0603; - fwatz[x][3] = s0604; - fwatz[x][4] = s0605; - fwatz[x][5] = s0606; - fwatz[x][6] = s0607; - fwatz[x][7] = s0608; - fwatz[x][8] = s0609; - fwatz[x][9] = s0610; - fwatz[x][10] = s0611; - fwatz[x][11] = s0612; - fwatz[x][12] = s0613; - fwatz[x][13] = s0614; - fwatz[x][14] = s0615; - fwatz[x][15] = s0616; - fwatz[x][16] = s0617; - fwatz[x][17] = s0618; - fwatz[x][18] = s0619; - x++; - fwatz[x][0] = s0701; - fwatz[x][1] = s0702; - fwatz[x][2] = s0703; - fwatz[x][3] = s0704; - fwatz[x][4] = s0705; - fwatz[x][5] = s0706; - fwatz[x][6] = s0707; - fwatz[x][7] = s0708; - fwatz[x][8] = s0709; - fwatz[x][9] = s0710; - fwatz[x][10] = s0711; - fwatz[x][11] = s0712; - fwatz[x][12] = s0713; - fwatz[x][13] = s0714; - fwatz[x][14] = s0715; - fwatz[x][15] = s0716; - fwatz[x][16] = s0717; - fwatz[x][17] = s0718; - fwatz[x][18] = s0719; - x++; - fwatz[x][0] = s0801; - fwatz[x][1] = s0802; - fwatz[x][2] = s0803; - fwatz[x][3] = s0804; - fwatz[x][4] = s0805; - fwatz[x][5] = s0806; - fwatz[x][6] = s0807; - fwatz[x][7] = s0808; - fwatz[x][8] = s0809; - fwatz[x][9] = s0810; - fwatz[x][10] = s0811; - fwatz[x][11] = s0812; - fwatz[x][12] = s0813; - fwatz[x][13] = s0814; - fwatz[x][14] = s0815; - fwatz[x][15] = s0816; - fwatz[x][16] = s0817; - fwatz[x][17] = s0818; - fwatz[x][18] = s0819; - x++; - fwatz[x][0] = s0901; - fwatz[x][1] = s0902; - fwatz[x][2] = s0903; - fwatz[x][3] = s0904; - fwatz[x][4] = s0905; - fwatz[x][5] = s0906; - fwatz[x][6] = s0907; - fwatz[x][7] = s0908; - fwatz[x][8] = s0909; - fwatz[x][9] = s0910; - fwatz[x][10] = s0911; - fwatz[x][11] = s0912; - fwatz[x][12] = s0913; - fwatz[x][13] = s0914; - fwatz[x][14] = s0915; - fwatz[x][15] = s0916; - fwatz[x][16] = s0917; - fwatz[x][17] = s0918; - fwatz[x][18] = s0919; - x++; - fwatz[x][0] = s1001; - fwatz[x][1] = s1002; - fwatz[x][2] = s1003; - fwatz[x][3] = s1004; - fwatz[x][4] = s1005; - fwatz[x][5] = s1006; - fwatz[x][6] = s1007; - fwatz[x][7] = s1008; - fwatz[x][8] = s1009; - fwatz[x][9] = s1010; - fwatz[x][10] = s1011; - fwatz[x][11] = s1012; - fwatz[x][12] = s1013; - fwatz[x][13] = s1014; - fwatz[x][14] = s1015; - fwatz[x][15] = s1016; - fwatz[x][16] = s1017; - fwatz[x][17] = s1018; - fwatz[x][18] = s1019; - x++; - fwatz[x][0] = s1101; - fwatz[x][1] = s1102; - fwatz[x][2] = s1103; - fwatz[x][3] = s1104; - fwatz[x][4] = s1105; - fwatz[x][5] = s1106; - fwatz[x][6] = s1107; - fwatz[x][7] = s1108; - fwatz[x][8] = s1109; - fwatz[x][9] = s1110; - fwatz[x][10] = s1111; - fwatz[x][11] = s1112; - fwatz[x][12] = s1113; - fwatz[x][13] = s1114; - fwatz[x][14] = s1115; - fwatz[x][15] = s1116; - fwatz[x][16] = s1117; - fwatz[x][17] = s1118; - fwatz[x][18] = s1119; - x++; - fwatz[x][0] = s1201; - fwatz[x][1] = s1202; - fwatz[x][2] = s1203; - fwatz[x][3] = s1204; - fwatz[x][4] = s1205; - fwatz[x][5] = s1206; - fwatz[x][6] = s1207; - fwatz[x][7] = s1208; - fwatz[x][8] = s1209; - fwatz[x][9] = s1210; - fwatz[x][10] = s1211; - fwatz[x][11] = s1212; - fwatz[x][12] = s1213; - fwatz[x][13] = s1214; - fwatz[x][14] = s1215; - fwatz[x][15] = s1216; - fwatz[x][16] = s1217; - fwatz[x][17] = s1218; - fwatz[x][18] = s1219; - x++; - fwatz[x][0] = s1301; - fwatz[x][1] = s1302; - fwatz[x][2] = s1303; - fwatz[x][3] = s1304; - fwatz[x][4] = s1305; - fwatz[x][5] = s1306; - fwatz[x][6] = s1307; - fwatz[x][7] = s1308; - fwatz[x][8] = s1309; - fwatz[x][9] = s1310; - fwatz[x][10] = s1311; - fwatz[x][11] = s1312; - fwatz[x][12] = s1313; - fwatz[x][13] = s1314; - fwatz[x][14] = s1315; - fwatz[x][15] = s1316; - fwatz[x][16] = s1317; - fwatz[x][17] = s1318; - fwatz[x][18] = s1319; - x++; - fwatz[x][0] = s1401; - fwatz[x][1] = s1402; - fwatz[x][2] = s1403; - fwatz[x][3] = s1404; - fwatz[x][4] = s1405; - fwatz[x][5] = s1406; - fwatz[x][6] = s1407; - fwatz[x][7] = s1408; - fwatz[x][8] = s1409; - fwatz[x][9] = s1410; - fwatz[x][10] = s1411; - fwatz[x][11] = s1412; - fwatz[x][12] = s1413; - fwatz[x][13] = s1414; - fwatz[x][14] = s1415; - fwatz[x][15] = s1416; - fwatz[x][16] = s1417; - fwatz[x][17] = s1418; - fwatz[x][18] = s1419; - x++; - fwatz[x][0] = s1501; - fwatz[x][1] = s1502; - fwatz[x][2] = s1503; - fwatz[x][3] = s1504; - fwatz[x][4] = s1505; - fwatz[x][5] = s1506; - fwatz[x][6] = s1507; - fwatz[x][7] = s1508; - fwatz[x][8] = s1509; - fwatz[x][9] = s1510; - fwatz[x][10] = s1511; - fwatz[x][11] = s1512; - fwatz[x][12] = s1513; - fwatz[x][13] = s1514; - fwatz[x][14] = s1515; - fwatz[x][15] = s1516; - fwatz[x][16] = s1517; - fwatz[x][17] = s1518; - fwatz[x][18] = s1519; - x++; - fwatz[x][0] = s1601; - fwatz[x][1] = s1602; - fwatz[x][2] = s1603; - fwatz[x][3] = s1604; - fwatz[x][4] = s1605; - fwatz[x][5] = s1606; - fwatz[x][6] = s1607; - fwatz[x][7] = s1608; - fwatz[x][8] = s1609; - fwatz[x][9] = s1610; - fwatz[x][10] = s1611; - fwatz[x][11] = s1612; - fwatz[x][12] = s1613; - fwatz[x][13] = s1614; - fwatz[x][14] = s1615; - fwatz[x][15] = s1616; - fwatz[x][16] = s1617; - fwatz[x][17] = s1618; - fwatz[x][18] = s1619; - x++; - fwatz[x][0] = s1701; - fwatz[x][1] = s1702; - fwatz[x][2] = s1703; - fwatz[x][3] = s1704; - fwatz[x][4] = s1705; - fwatz[x][5] = s1706; - fwatz[x][6] = s1707; - fwatz[x][7] = s1708; - fwatz[x][8] = s1709; - fwatz[x][9] = s1710; - fwatz[x][10] = s1711; - fwatz[x][11] = s1712; - fwatz[x][12] = s1713; - fwatz[x][13] = s1714; - fwatz[x][14] = s1715; - fwatz[x][15] = s1716; - fwatz[x][16] = s1717; - fwatz[x][17] = s1718; - fwatz[x][18] = s1719; - x++; - fwatz[x][0] = s1801; - fwatz[x][1] = s1802; - fwatz[x][2] = s1803; - fwatz[x][3] = s1804; - fwatz[x][4] = s1805; - fwatz[x][5] = s1806; - fwatz[x][6] = s1807; - fwatz[x][7] = s1808; - fwatz[x][8] = s1809; - fwatz[x][9] = s1810; - fwatz[x][10] = s1811; - fwatz[x][11] = s1812; - fwatz[x][12] = s1813; - fwatz[x][13] = s1814; - fwatz[x][14] = s1815; - fwatz[x][15] = s1816; - fwatz[x][16] = s1817; - fwatz[x][17] = s1818; - fwatz[x][18] = s1819; - x++; - fwatz[x][0] = s1901; - fwatz[x][1] = s1902; - fwatz[x][2] = s1903; - fwatz[x][3] = s1904; - fwatz[x][4] = s1905; - fwatz[x][5] = s1906; - fwatz[x][6] = s1907; - fwatz[x][7] = s1908; - fwatz[x][8] = s1909; - fwatz[x][9] = s1910; - fwatz[x][10] = s1911; - fwatz[x][11] = s1912; - fwatz[x][12] = s1913; - fwatz[x][13] = s1914; - fwatz[x][14] = s1915; - fwatz[x][15] = s1916; - fwatz[x][16] = s1917; - fwatz[x][17] = s1918; - fwatz[x][18] = s1919; - - } - +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class FWatz { + + static String[][] fwatz = new String[19][19]; + + static String s0101 = " XXX "; + static String s0102 = " XXX "; + static String s0103 = " "; + static String s0104 = " "; + static String s0105 = " "; + static String s0106 = " "; + static String s0107 = " "; + static String s0108 = " SSSSS "; + static String s0109 = "XX SSSSS XX"; + static String s0110 = "XX SSSSS XX"; + static String s0111 = "XX SSSSS XX"; + static String s0112 = " SSSSS "; + static String s0113 = " "; + static String s0114 = " "; + static String s0115 = " "; + static String s0116 = " "; + static String s0117 = " "; + static String s0118 = " XXX "; + static String s0119 = " XXX "; + + static String s0201 = " XHX "; + static String s0202 = " XXX "; + static String s0203 = " "; + static String s0204 = " "; + static String s0205 = " "; + static String s0206 = " "; + static String s0207 = " "; + static String s0208 = " SSSSS "; + static String s0209 = "XX STTTS XX"; + static String s0210 = "HX STTTS XH"; + static String s0211 = "XX STTTS XX"; + static String s0212 = " SSSSS "; + static String s0213 = " "; + static String s0214 = " "; + static String s0215 = " "; + static String s0216 = " "; + static String s0217 = " "; + static String s0218 = " XXX "; + static String s0219 = " XHX "; + + static String s0301 = " XXX "; + static String s0302 = " XXX "; + static String s0303 = " "; + static String s0304 = " "; + static String s0305 = " "; + static String s0306 = " "; + static String s0307 = " "; + static String s0308 = " SSSSS "; + static String s0309 = "XX STTTS XX"; + static String s0310 = "XX STTTS XX"; + static String s0311 = "XX STTTS XX"; + static String s0312 = " SSSSS "; + static String s0313 = " "; + static String s0314 = " "; + static String s0315 = " "; + static String s0316 = " "; + static String s0317 = " "; + static String s0318 = " XXX "; + static String s0319 = " XXX "; + + static String s0401 = " "; + static String s0402 = " XXX "; + static String s0403 = " XXX "; + static String s0404 = " X "; + static String s0405 = " X "; + static String s0406 = " X "; + static String s0407 = " X "; + static String s0408 = " SSXSS "; + static String s0409 = " XX STTTS XX "; + static String s0410 = " XXXXXXXTTTXXXXXXX "; + static String s0411 = " XX STTTS XX "; + static String s0412 = " SSXSS "; + static String s0413 = " X "; + static String s0414 = " X "; + static String s0415 = " X "; + static String s0416 = " X "; + static String s0417 = " XXX "; + static String s0418 = " XXX "; + static String s0419 = " "; + + static String s0501 = " "; + static String s0502 = " XXX "; + static String s0503 = " XXX "; + static String s0504 = " "; + static String s0505 = " "; + static String s0506 = " "; + static String s0507 = " "; + static String s0508 = " SSSSS "; + static String s0509 = " XX STTTS XX "; + static String s0510 = " XX STTTS XX "; + static String s0511 = " XX STTTS XX "; + static String s0512 = " SSSSS "; + static String s0513 = " "; + static String s0514 = " "; + static String s0515 = " "; + static String s0516 = " "; + static String s0517 = " XXX "; + static String s0518 = " XXX "; + static String s0519 = " "; + + static String s0601 = " "; + static String s0602 = " XXX "; + static String s0603 = " XXX "; + static String s0604 = " "; + static String s0605 = " "; + static String s0606 = " "; + static String s0607 = " "; + static String s0608 = " SSSSS "; + static String s0609 = " XX STTTS XX "; + static String s0610 = " XX STTTS XX "; + static String s0611 = " XX STTTS XX "; + static String s0612 = " SSSSS "; + static String s0613 = " "; + static String s0614 = " "; + static String s0615 = " "; + static String s0616 = " "; + static String s0617 = " XXX "; + static String s0618 = " XXX "; + static String s0619 = " "; + + static String s0701 = " "; + static String s0702 = " "; + static String s0703 = " XXX "; + static String s0704 = " XXX "; + static String s0705 = " "; + static String s0706 = " "; + static String s0707 = " "; + static String s0708 = " MMMMM "; + static String s0709 = " XX MMMMM XX "; + static String s0710 = " XX MMMMM XX "; + static String s0711 = " XX MMMMM XX "; + static String s0712 = " MMMMM "; + static String s0713 = " "; + static String s0714 = " "; + static String s0715 = " "; + static String s0716 = " XXX "; + static String s0717 = " XXX "; + static String s0718 = " "; + static String s0719 = " "; + + static String s0801 = " "; + static String s0802 = " "; + static String s0803 = " XXX "; + static String s0804 = " XXX "; + static String s0805 = " XXX "; + static String s0806 = " MMMMM "; + static String s0807 = " MMMMMMM "; + static String s0808 = " MMMMMMMMM "; + static String s0809 = " XXXMMMMMMMMMXXX "; + static String s0810 = " XXXMMMMMMMMMXXX "; + static String s0811 = " XXXMMMMMMMMMXXX "; + static String s0812 = " MMMMMMMMM "; + static String s0813 = " MMMMMMM "; + static String s0814 = " MMMMM "; + static String s0815 = " XXX "; + static String s0816 = " XXX "; + static String s0817 = " XXX "; + static String s0818 = " "; + static String s0819 = " "; + + static String s0901 = " "; + static String s0902 = " "; + static String s0903 = " XXX "; + static String s0904 = " XXX "; + static String s0905 = " MMMMM "; + static String s0906 = " MMMMMMM "; + static String s0907 = " MMMMMMMMM "; + static String s0908 = " MMMMPPPMMMM "; + static String s0909 = " XXMMMPPPPPMMMXX "; + static String s0910 = " XXMMMPPPPPMMMXX "; + static String s0911 = " XXMMMPPPPPMMMXX "; + static String s0912 = " MMMMPPPMMMM "; + static String s0913 = " MMMMMMMMM "; + static String s0914 = " MMMMMMM "; + static String s0915 = " MMMMM "; + static String s0916 = " XXX "; + static String s0917 = " XXX "; + static String s0918 = " "; + static String s0919 = " "; + + static String s1001 = " "; + static String s1002 = " "; + static String s1003 = " "; + static String s1004 = " XXX "; + static String s1005 = " MMMMMMM "; + static String s1006 = " MMMMMMMMM "; + static String s1007 = " MMMMPPPMMMM "; + static String s1008 = " MMMPPPPPMMM "; + static String s1009 = " XMMPPPPPPPMMX "; + static String s1010 = " XMMPPPPPPPMMX "; + static String s1011 = " XMMPPPPPPPMMX "; + static String s1012 = " MMMPPPPPMMM "; + static String s1013 = " MMMMPPPMMMM "; + static String s1014 = " MMMMMMMMM "; + static String s1015 = " MMMMMMM "; + static String s1016 = " XXX "; + static String s1017 = " "; + static String s1018 = " "; + static String s1019 = " "; + + static String s1101 = " "; + static String s1102 = " "; + static String s1103 = " "; + static String s1104 = " MMMMM "; + static String s1105 = " MMMMMMMMM "; + static String s1106 = " MMMMPPPMMMM "; + static String s1107 = " MMMPPPPPMMM "; + static String s1108 = " MMMPPPPPPPMMM "; + static String s1109 = " MMPPPMMMPPPMM "; + static String s1110 = " MMPPPMMMPPPMM "; + static String s1111 = " MMPPPMMMPPPMM "; + static String s1112 = " MMMPPPPPPPMMM "; + static String s1113 = " MMMPPPPPMMM "; + static String s1114 = " MMMMPPPMMMM "; + static String s1115 = " MMMMMMMMM "; + static String s1116 = " MMMMM "; + static String s1117 = " "; + static String s1118 = " "; + static String s1119 = " "; + + static String s1201 = " "; + static String s1202 = " "; + static String s1203 = " "; + static String s1204 = " MMMMM "; + static String s1205 = " MMMMMMMMM "; + static String s1206 = " MMMPPPPPMMM "; + static String s1207 = " MMPPPPPPPMM "; + static String s1208 = " MMPPPMMMPPPMM "; + static String s1209 = " MMPPMMMMMPPMM "; + static String s1210 = " MMPPMMCMMPPMM "; + static String s1211 = " MMPPMMMMMPPMM "; + static String s1212 = " MMPPPMMMPPPMM "; + static String s1213 = " MMPPPPPPPMM "; + static String s1214 = " MMMPPPPPMMM "; + static String s1215 = " MMMMMMMMM "; + static String s1216 = " MMMMM "; + static String s1217 = " "; + static String s1218 = " "; + static String s1219 = " "; + + static String s1301 = " "; + static String s1302 = " "; + static String s1303 = " "; + static String s1304 = " MMMMM "; + static String s1305 = " MMMMMMMMM "; + static String s1306 = " MMMPPPPPMMM "; + static String s1307 = " MMPPPPPPPMM "; + static String s1308 = " MMPPPMMMPPPMM "; + static String s1309 = " MMPPMMCMMPPMM "; + static String s1310 = " MMPPMC#CMPPMM "; + static String s1311 = " MMPPMMCMMPPMM "; + static String s1312 = " MMPPPMMMPPPMM "; + static String s1313 = " MMPPPPPPPMM "; + static String s1314 = " MMMPPPPPMMM "; + static String s1315 = " MMMMMMMMM "; + static String s1316 = " MMMMM "; + static String s1317 = " "; + static String s1318 = " "; + static String s1319 = " "; + + static String s1401 = " "; + static String s1402 = " "; + static String s1403 = " "; + static String s1404 = " MMMMM "; + static String s1405 = " MMMMMMMMM "; + static String s1406 = " MMMPPPPPMMM "; + static String s1407 = " MMPPPPPPPMM "; + static String s1408 = " MMPPPMMMPPPMM "; + static String s1409 = " MMPPMMMMMPPMM "; + static String s1410 = " MMPPMMCMMPPMM "; + static String s1411 = " MMPPMMMMMPPMM "; + static String s1412 = " MMPPPMMMPPPMM "; + static String s1413 = " MMPPPPPPPMM "; + static String s1414 = " MMMPPPPPMMM "; + static String s1415 = " MMMMMMMMM "; + static String s1416 = " MMMMM "; + static String s1417 = " "; + static String s1418 = " "; + static String s1419 = " "; + + static String s1501 = " "; + static String s1502 = " "; + static String s1503 = " "; + static String s1504 = " MMMMM "; + static String s1505 = " MMMMMMMMM "; + static String s1506 = " MMMMPPPMMMM "; + static String s1507 = " MMMPPPPPMMM "; + static String s1508 = " MMMPPPPPPPMMM "; + static String s1509 = " MMPPPMMMPPPMM "; + static String s1510 = " MMPPPMMMPPPMM "; + static String s1511 = " MMPPPMMMPPPMM "; + static String s1512 = " MMMPPPPPPPMMM "; + static String s1513 = " MMMPPPPPMMM "; + static String s1514 = " MMMMPPPMMMM "; + static String s1515 = " MMMMMMMMM "; + static String s1516 = " MMMMM "; + static String s1517 = " "; + static String s1518 = " "; + static String s1519 = " "; + + static String s1601 = " "; + static String s1602 = " "; + static String s1603 = " "; + static String s1604 = " "; + static String s1605 = " MMMMMMM "; + static String s1606 = " MMMMMMMMM "; + static String s1607 = " MMMMPPPMMMM "; + static String s1608 = " MMMPPPPPMMM "; + static String s1609 = " MMPPPPPPPMM "; + static String s1610 = " MMPPPPPPPMM "; + static String s1611 = " MMPPPPPPPMM "; + static String s1612 = " MMMPPPPPMMM "; + static String s1613 = " MMMMPPPMMMM "; + static String s1614 = " MMMMMMMMM "; + static String s1615 = " MMMMMMM "; + static String s1616 = " "; + static String s1617 = " "; + static String s1618 = " "; + static String s1619 = " "; + + static String s1701 = " "; + static String s1702 = " "; + static String s1703 = " "; + static String s1704 = " "; + static String s1705 = " MMMMM "; + static String s1706 = " MMMMMMM "; + static String s1707 = " MMMMMMMMM "; + static String s1708 = " MMMMPPPMMMM "; + static String s1709 = " MMMPPPPPMMM "; + static String s1710 = " MMMPPPPPMMM "; + static String s1711 = " MMMPPPPPMMM "; + static String s1712 = " MMMMPPPMMMM "; + static String s1713 = " MMMMMMMMM "; + static String s1714 = " MMMMMMM "; + static String s1715 = " MMMMM "; + static String s1716 = " "; + static String s1717 = " "; + static String s1718 = " "; + static String s1719 = " "; + + static String s1801 = " "; + static String s1802 = " "; + static String s1803 = " "; + static String s1804 = " "; + static String s1805 = " "; + static String s1806 = " MMMMM "; + static String s1807 = " MMMMMMM "; + static String s1808 = " MMMMMMMMM "; + static String s1809 = " MMMMMMMMM "; + static String s1810 = " MMMMMMMMM "; + static String s1811 = " MMMMMMMMM "; + static String s1812 = " MMMMMMMMM "; + static String s1813 = " MMMMMMM "; + static String s1814 = " MMMMM "; + static String s1815 = " "; + static String s1816 = " "; + static String s1817 = " "; + static String s1818 = " "; + static String s1819 = " "; + + static String s1901 = " "; + static String s1902 = " "; + static String s1903 = " "; + static String s1904 = " "; + static String s1905 = " "; + static String s1906 = " "; + static String s1907 = " "; + static String s1908 = " MMMMM "; + static String s1909 = " MMMMM "; + static String s1910 = " MMMMM "; + static String s1911 = " MMMMM "; + static String s1912 = " MMMMM "; + static String s1913 = " "; + static String s1914 = " "; + static String s1915 = " "; + static String s1916 = " "; + static String s1917 = " "; + static String s1918 = " "; + static String s1919 = " "; + + public void generateHull(World world, Random rand, int x, int y, int z) { + + x -= 9; + z -= 9; + + uniteStructure(); + + for(int i = 0; i < 19; i++) { + for(int j = 0; j < 19; j++) { + for(int k = 0; k < 19; k++) { + String c = fwatz[j][i].substring(k, k + 1); + Block b = Blocks.air; + + if(c.equals("X")) + b = ModBlocks.fwatz_scaffold; + if(c.equals("H")) + b = ModBlocks.fwatz_hatch; + if(c.equals("S")) + b = ModBlocks.fwatz_cooler; + if(c.equals("T")) + b = ModBlocks.fwatz_tank; + if(c.equals("M")) + b = ModBlocks.fwatz_conductor; + if(c.equals("C")) + b = ModBlocks.fwatz_computer; + if(c.equals("#")) + b = ModBlocks.fwatz_core; + + world.setBlock(x + i, y + j, z + k, b); + } + } + } + + world.setBlock(x + 0, y + 1, z + 9, ModBlocks.fwatz_hatch, 4, 3); + world.setBlock(x + 18, y + 1, z + 9, ModBlocks.fwatz_hatch, 5, 3); + world.setBlock(x + 9, y + 1, z + 18, ModBlocks.fwatz_hatch, 3, 3); + world.setBlock(x + 9, y + 1, z + 0, ModBlocks.fwatz_hatch, 2, 3); + + } + + public static boolean checkHull(World world, int x, int y, int z) { + x -= 9; + y -= 12; + z -= 9; + + uniteStructure(); + + boolean flag = true; + + for(int i = 0; i < 19; i++) { + for(int j = 0; j < 19; j++) { + for(int k = 0; k < 19; k++) { + String c = fwatz[j][i].substring(k, k + 1); + Block b = Blocks.air; + boolean flag2 = false; + + if(c.equals("X")) { + b = ModBlocks.fwatz_scaffold; + flag2 = true; + } + if(c.equals("H")) { + b = ModBlocks.fwatz_hatch; + flag2 = true; + } + if(c.equals("S")) { + b = ModBlocks.fwatz_cooler; + flag2 = true; + } + if(c.equals("T")) { + b = ModBlocks.fwatz_tank; + flag2 = true; + } + if(c.equals("M")) { + b = ModBlocks.fwatz_conductor; + flag2 = true; + } + if(c.equals("C")) { + b = ModBlocks.fwatz_computer; + flag2 = true; + } + if(c.equals("#")) { + b = ModBlocks.fwatz_core; + flag2 = true; + } + + if(flag2) + if(world.getBlock(x + i, y + j, z + k) != b) + flag = false; + } + } + } + + return flag; + } + + public static void fillPlasma(World world, int x, int y, int z) { + x -= 9; + y -= 12; + z -= 9; + + uniteStructure(); + + for(int i = 0; i < 19; i++) { + for(int j = 0; j < 19; j++) { + for(int k = 0; k < 19; k++) { + String c = fwatz[j][i].substring(k, k + 1); + + if(c.equals("P")) + world.setBlock(x + i, y + j, z + k, ModBlocks.fwatz_plasma); + } + } + } + } + + public static void emptyPlasma(World world, int x, int y, int z) { + x -= 9; + y -= 12; + z -= 9; + + uniteStructure(); + + for(int i = 0; i < 19; i++) { + for(int j = 0; j < 19; j++) { + for(int k = 0; k < 19; k++) { + String c = fwatz[j][i].substring(k, k + 1); + + if(c.equals("P")) + if(world.getBlock(x + i, y + j, z + k) == ModBlocks.fwatz_plasma) + world.setBlock(x + i, y + j, z + k, Blocks.air); + } + } + } + } + + public static boolean getPlasma(World world, int x, int y, int z) { + x -= 9; + y -= 12; + z -= 9; + + uniteStructure(); + + boolean flag = false; + + for(int i = 0; i < 19; i++) { + for(int j = 0; j < 19; j++) { + for(int k = 0; k < 19; k++) { + String c = fwatz[j][i].substring(k, k + 1); + + if(c.equals("P") && world.getBlock(x + i, y + j, z + k) == ModBlocks.fwatz_plasma) + flag = true; + } + } + } + + return flag; + } + + public static void uniteStructure() { + int x = 0; + fwatz[x][0] = s0101; + fwatz[x][1] = s0102; + fwatz[x][2] = s0103; + fwatz[x][3] = s0104; + fwatz[x][4] = s0105; + fwatz[x][5] = s0106; + fwatz[x][6] = s0107; + fwatz[x][7] = s0108; + fwatz[x][8] = s0109; + fwatz[x][9] = s0110; + fwatz[x][10] = s0111; + fwatz[x][11] = s0112; + fwatz[x][12] = s0113; + fwatz[x][13] = s0114; + fwatz[x][14] = s0115; + fwatz[x][15] = s0116; + fwatz[x][16] = s0117; + fwatz[x][17] = s0118; + fwatz[x][18] = s0119; + x++; + fwatz[x][0] = s0201; + fwatz[x][1] = s0202; + fwatz[x][2] = s0203; + fwatz[x][3] = s0204; + fwatz[x][4] = s0205; + fwatz[x][5] = s0206; + fwatz[x][6] = s0207; + fwatz[x][7] = s0208; + fwatz[x][8] = s0209; + fwatz[x][9] = s0210; + fwatz[x][10] = s0211; + fwatz[x][11] = s0212; + fwatz[x][12] = s0213; + fwatz[x][13] = s0214; + fwatz[x][14] = s0215; + fwatz[x][15] = s0216; + fwatz[x][16] = s0217; + fwatz[x][17] = s0218; + fwatz[x][18] = s0219; + x++; + fwatz[x][0] = s0301; + fwatz[x][1] = s0302; + fwatz[x][2] = s0303; + fwatz[x][3] = s0304; + fwatz[x][4] = s0305; + fwatz[x][5] = s0306; + fwatz[x][6] = s0307; + fwatz[x][7] = s0308; + fwatz[x][8] = s0309; + fwatz[x][9] = s0310; + fwatz[x][10] = s0311; + fwatz[x][11] = s0312; + fwatz[x][12] = s0313; + fwatz[x][13] = s0314; + fwatz[x][14] = s0315; + fwatz[x][15] = s0316; + fwatz[x][16] = s0317; + fwatz[x][17] = s0318; + fwatz[x][18] = s0319; + x++; + fwatz[x][0] = s0401; + fwatz[x][1] = s0402; + fwatz[x][2] = s0403; + fwatz[x][3] = s0404; + fwatz[x][4] = s0405; + fwatz[x][5] = s0406; + fwatz[x][6] = s0407; + fwatz[x][7] = s0408; + fwatz[x][8] = s0409; + fwatz[x][9] = s0410; + fwatz[x][10] = s0411; + fwatz[x][11] = s0412; + fwatz[x][12] = s0413; + fwatz[x][13] = s0414; + fwatz[x][14] = s0415; + fwatz[x][15] = s0416; + fwatz[x][16] = s0417; + fwatz[x][17] = s0418; + fwatz[x][18] = s0419; + x++; + fwatz[x][0] = s0501; + fwatz[x][1] = s0502; + fwatz[x][2] = s0503; + fwatz[x][3] = s0504; + fwatz[x][4] = s0505; + fwatz[x][5] = s0506; + fwatz[x][6] = s0507; + fwatz[x][7] = s0508; + fwatz[x][8] = s0509; + fwatz[x][9] = s0510; + fwatz[x][10] = s0511; + fwatz[x][11] = s0512; + fwatz[x][12] = s0513; + fwatz[x][13] = s0514; + fwatz[x][14] = s0515; + fwatz[x][15] = s0516; + fwatz[x][16] = s0517; + fwatz[x][17] = s0518; + fwatz[x][18] = s0519; + x++; + fwatz[x][0] = s0601; + fwatz[x][1] = s0602; + fwatz[x][2] = s0603; + fwatz[x][3] = s0604; + fwatz[x][4] = s0605; + fwatz[x][5] = s0606; + fwatz[x][6] = s0607; + fwatz[x][7] = s0608; + fwatz[x][8] = s0609; + fwatz[x][9] = s0610; + fwatz[x][10] = s0611; + fwatz[x][11] = s0612; + fwatz[x][12] = s0613; + fwatz[x][13] = s0614; + fwatz[x][14] = s0615; + fwatz[x][15] = s0616; + fwatz[x][16] = s0617; + fwatz[x][17] = s0618; + fwatz[x][18] = s0619; + x++; + fwatz[x][0] = s0701; + fwatz[x][1] = s0702; + fwatz[x][2] = s0703; + fwatz[x][3] = s0704; + fwatz[x][4] = s0705; + fwatz[x][5] = s0706; + fwatz[x][6] = s0707; + fwatz[x][7] = s0708; + fwatz[x][8] = s0709; + fwatz[x][9] = s0710; + fwatz[x][10] = s0711; + fwatz[x][11] = s0712; + fwatz[x][12] = s0713; + fwatz[x][13] = s0714; + fwatz[x][14] = s0715; + fwatz[x][15] = s0716; + fwatz[x][16] = s0717; + fwatz[x][17] = s0718; + fwatz[x][18] = s0719; + x++; + fwatz[x][0] = s0801; + fwatz[x][1] = s0802; + fwatz[x][2] = s0803; + fwatz[x][3] = s0804; + fwatz[x][4] = s0805; + fwatz[x][5] = s0806; + fwatz[x][6] = s0807; + fwatz[x][7] = s0808; + fwatz[x][8] = s0809; + fwatz[x][9] = s0810; + fwatz[x][10] = s0811; + fwatz[x][11] = s0812; + fwatz[x][12] = s0813; + fwatz[x][13] = s0814; + fwatz[x][14] = s0815; + fwatz[x][15] = s0816; + fwatz[x][16] = s0817; + fwatz[x][17] = s0818; + fwatz[x][18] = s0819; + x++; + fwatz[x][0] = s0901; + fwatz[x][1] = s0902; + fwatz[x][2] = s0903; + fwatz[x][3] = s0904; + fwatz[x][4] = s0905; + fwatz[x][5] = s0906; + fwatz[x][6] = s0907; + fwatz[x][7] = s0908; + fwatz[x][8] = s0909; + fwatz[x][9] = s0910; + fwatz[x][10] = s0911; + fwatz[x][11] = s0912; + fwatz[x][12] = s0913; + fwatz[x][13] = s0914; + fwatz[x][14] = s0915; + fwatz[x][15] = s0916; + fwatz[x][16] = s0917; + fwatz[x][17] = s0918; + fwatz[x][18] = s0919; + x++; + fwatz[x][0] = s1001; + fwatz[x][1] = s1002; + fwatz[x][2] = s1003; + fwatz[x][3] = s1004; + fwatz[x][4] = s1005; + fwatz[x][5] = s1006; + fwatz[x][6] = s1007; + fwatz[x][7] = s1008; + fwatz[x][8] = s1009; + fwatz[x][9] = s1010; + fwatz[x][10] = s1011; + fwatz[x][11] = s1012; + fwatz[x][12] = s1013; + fwatz[x][13] = s1014; + fwatz[x][14] = s1015; + fwatz[x][15] = s1016; + fwatz[x][16] = s1017; + fwatz[x][17] = s1018; + fwatz[x][18] = s1019; + x++; + fwatz[x][0] = s1101; + fwatz[x][1] = s1102; + fwatz[x][2] = s1103; + fwatz[x][3] = s1104; + fwatz[x][4] = s1105; + fwatz[x][5] = s1106; + fwatz[x][6] = s1107; + fwatz[x][7] = s1108; + fwatz[x][8] = s1109; + fwatz[x][9] = s1110; + fwatz[x][10] = s1111; + fwatz[x][11] = s1112; + fwatz[x][12] = s1113; + fwatz[x][13] = s1114; + fwatz[x][14] = s1115; + fwatz[x][15] = s1116; + fwatz[x][16] = s1117; + fwatz[x][17] = s1118; + fwatz[x][18] = s1119; + x++; + fwatz[x][0] = s1201; + fwatz[x][1] = s1202; + fwatz[x][2] = s1203; + fwatz[x][3] = s1204; + fwatz[x][4] = s1205; + fwatz[x][5] = s1206; + fwatz[x][6] = s1207; + fwatz[x][7] = s1208; + fwatz[x][8] = s1209; + fwatz[x][9] = s1210; + fwatz[x][10] = s1211; + fwatz[x][11] = s1212; + fwatz[x][12] = s1213; + fwatz[x][13] = s1214; + fwatz[x][14] = s1215; + fwatz[x][15] = s1216; + fwatz[x][16] = s1217; + fwatz[x][17] = s1218; + fwatz[x][18] = s1219; + x++; + fwatz[x][0] = s1301; + fwatz[x][1] = s1302; + fwatz[x][2] = s1303; + fwatz[x][3] = s1304; + fwatz[x][4] = s1305; + fwatz[x][5] = s1306; + fwatz[x][6] = s1307; + fwatz[x][7] = s1308; + fwatz[x][8] = s1309; + fwatz[x][9] = s1310; + fwatz[x][10] = s1311; + fwatz[x][11] = s1312; + fwatz[x][12] = s1313; + fwatz[x][13] = s1314; + fwatz[x][14] = s1315; + fwatz[x][15] = s1316; + fwatz[x][16] = s1317; + fwatz[x][17] = s1318; + fwatz[x][18] = s1319; + x++; + fwatz[x][0] = s1401; + fwatz[x][1] = s1402; + fwatz[x][2] = s1403; + fwatz[x][3] = s1404; + fwatz[x][4] = s1405; + fwatz[x][5] = s1406; + fwatz[x][6] = s1407; + fwatz[x][7] = s1408; + fwatz[x][8] = s1409; + fwatz[x][9] = s1410; + fwatz[x][10] = s1411; + fwatz[x][11] = s1412; + fwatz[x][12] = s1413; + fwatz[x][13] = s1414; + fwatz[x][14] = s1415; + fwatz[x][15] = s1416; + fwatz[x][16] = s1417; + fwatz[x][17] = s1418; + fwatz[x][18] = s1419; + x++; + fwatz[x][0] = s1501; + fwatz[x][1] = s1502; + fwatz[x][2] = s1503; + fwatz[x][3] = s1504; + fwatz[x][4] = s1505; + fwatz[x][5] = s1506; + fwatz[x][6] = s1507; + fwatz[x][7] = s1508; + fwatz[x][8] = s1509; + fwatz[x][9] = s1510; + fwatz[x][10] = s1511; + fwatz[x][11] = s1512; + fwatz[x][12] = s1513; + fwatz[x][13] = s1514; + fwatz[x][14] = s1515; + fwatz[x][15] = s1516; + fwatz[x][16] = s1517; + fwatz[x][17] = s1518; + fwatz[x][18] = s1519; + x++; + fwatz[x][0] = s1601; + fwatz[x][1] = s1602; + fwatz[x][2] = s1603; + fwatz[x][3] = s1604; + fwatz[x][4] = s1605; + fwatz[x][5] = s1606; + fwatz[x][6] = s1607; + fwatz[x][7] = s1608; + fwatz[x][8] = s1609; + fwatz[x][9] = s1610; + fwatz[x][10] = s1611; + fwatz[x][11] = s1612; + fwatz[x][12] = s1613; + fwatz[x][13] = s1614; + fwatz[x][14] = s1615; + fwatz[x][15] = s1616; + fwatz[x][16] = s1617; + fwatz[x][17] = s1618; + fwatz[x][18] = s1619; + x++; + fwatz[x][0] = s1701; + fwatz[x][1] = s1702; + fwatz[x][2] = s1703; + fwatz[x][3] = s1704; + fwatz[x][4] = s1705; + fwatz[x][5] = s1706; + fwatz[x][6] = s1707; + fwatz[x][7] = s1708; + fwatz[x][8] = s1709; + fwatz[x][9] = s1710; + fwatz[x][10] = s1711; + fwatz[x][11] = s1712; + fwatz[x][12] = s1713; + fwatz[x][13] = s1714; + fwatz[x][14] = s1715; + fwatz[x][15] = s1716; + fwatz[x][16] = s1717; + fwatz[x][17] = s1718; + fwatz[x][18] = s1719; + x++; + fwatz[x][0] = s1801; + fwatz[x][1] = s1802; + fwatz[x][2] = s1803; + fwatz[x][3] = s1804; + fwatz[x][4] = s1805; + fwatz[x][5] = s1806; + fwatz[x][6] = s1807; + fwatz[x][7] = s1808; + fwatz[x][8] = s1809; + fwatz[x][9] = s1810; + fwatz[x][10] = s1811; + fwatz[x][11] = s1812; + fwatz[x][12] = s1813; + fwatz[x][13] = s1814; + fwatz[x][14] = s1815; + fwatz[x][15] = s1816; + fwatz[x][16] = s1817; + fwatz[x][17] = s1818; + fwatz[x][18] = s1819; + x++; + fwatz[x][0] = s1901; + fwatz[x][1] = s1902; + fwatz[x][2] = s1903; + fwatz[x][3] = s1904; + fwatz[x][4] = s1905; + fwatz[x][5] = s1906; + fwatz[x][6] = s1907; + fwatz[x][7] = s1908; + fwatz[x][8] = s1909; + fwatz[x][9] = s1910; + fwatz[x][10] = s1911; + fwatz[x][11] = s1912; + fwatz[x][12] = s1913; + fwatz[x][13] = s1914; + fwatz[x][14] = s1915; + fwatz[x][15] = s1916; + fwatz[x][16] = s1917; + fwatz[x][17] = s1918; + fwatz[x][18] = s1919; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Factory.java b/com/hbm/world/Factory.java index 73fccb0c0..5c5942c2c 100644 --- a/com/hbm/world/Factory.java +++ b/com/hbm/world/Factory.java @@ -1,3141 +1,3141 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Factory extends WorldGenerator -{ - Block Block1 = ModBlocks.steel_scaffold; - Block Block2 = ModBlocks.machine_difurnace_off; - Block Block3 = ModBlocks.factory_titanium_core; - Block Block4 = ModBlocks.steel_wall; - Block Block5 = ModBlocks.reinforced_light; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.stone, - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x + 7, y, z + 15)) - { - return false; - } - - for(int i = 0; i < 15; i++) - { - for(int j = 0; j < 5; j++) - { - for(int k = 0; k < 29; k++) - { - world.setBlock(x + i, y + j, z + k, Blocks.air, 0, 3); - } - } - } - - for(int i = 0; i < 15; i++) - { - for(int j = 0; j < 5; j++) - { - for(int k = 0; k < 29; k++) - { - world.setBlock(x + i, y + j - 6, z + k, Blocks.cobblestone, 0, 3); - } - } - } - - world.setBlock(x + 0, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 5, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 8, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 10, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 11, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 12, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + -1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 1, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 1, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 1, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 2, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 2, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 2, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 3, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 3, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 3, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 4, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 4, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 4, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 5, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 5, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 5, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 6, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 6, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 6, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 7, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 7, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 7, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 8, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 8, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 8, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 9, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 9, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 9, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 10, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 10, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 10, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 11, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 11, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 11, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 12, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 12, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 12, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 13, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 13, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 13, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 14, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 14, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 14, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 15, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 15, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 15, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 16, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 16, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 16, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 17, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 17, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 17, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 18, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 18, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 18, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 19, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 19, Blocks.stonebrick, 3, 3); - world.setBlock(x + 4, y + -1, z + 19, Blocks.stonebrick, 3, 3); - world.setBlock(x + 5, y + -1, z + 19, Blocks.stonebrick, 3, 3); - world.setBlock(x + 6, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 19, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 19, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 20, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 20, Blocks.stonebrick, 3, 3); - world.setBlock(x + 4, y + -1, z + 20, Blocks.stonebrick, 3, 3); - world.setBlock(x + 5, y + -1, z + 20, Blocks.stonebrick, 3, 3); - world.setBlock(x + 6, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 20, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 20, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 21, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 21, Blocks.stonebrick, 3, 3); - world.setBlock(x + 4, y + -1, z + 21, Blocks.stonebrick, 3, 3); - world.setBlock(x + 5, y + -1, z + 21, Blocks.stonebrick, 3, 3); - world.setBlock(x + 6, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 21, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 21, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 22, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 22, Blocks.monster_egg, 5, 3); - world.setBlock(x + 4, y + -1, z + 22, Blocks.stonebrick, 3, 3); - world.setBlock(x + 5, y + -1, z + 22, Blocks.stonebrick, 3, 3); - world.setBlock(x + 6, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 22, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 22, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 23, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 15, y + -1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 24, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 15, y + -1, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 16, y + -1, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 25, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 15, y + -1, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 16, y + -1, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 26, Blocks.monster_egg, 1, 3); - world.setBlock(x + 7, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 26, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 15, y + -1, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 16, y + -1, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 27, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 15, y + -1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 16, y + -1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 2, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 3, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 4, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 5, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 6, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 7, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 8, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 9, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 10, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 11, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 12, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 13, y + -1, z + 28, Blocks.cobblestone, 0, 3); - world.setBlock(x + 14, y + -1, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 15, y + -1, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 5, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 8, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 10, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 11, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 12, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + -1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 5, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 8, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 10, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 11, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 12, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 1, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 2, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 3, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + 0, z + 3, Blocks.crafting_table, 0, 3); - world.setBlock(x + 13, y + 0, z + 3, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 3, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 4, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 4, ModBlocks.machine_reactor, 5, 3); - world.setBlock(x + 6, y + 0, z + 4, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 4, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 4, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 9, y + 0, z + 4, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 9, y + 0, z + 4, 5, 3); - if(world.getBlock(x + 9, y + 0, z + 4) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 9, y + 0, z + 4), rand.nextInt(2)+ 8); - } - world.setBlock(x + 13, y + 0, z + 4, Blocks.hopper, 3, 3); - world.setBlock(x + 14, y + 0, z + 4, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 5, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 5, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 5, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 5, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 5, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 0, z + 5, Blocks.chest, 4, 3); - world.setBlock(x + 14, y + 0, z + 5, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 6, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 6, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 6, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 6, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 6, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 0, z + 6, Blocks.hopper, 2, 3); - world.setBlock(x + 14, y + 0, z + 6, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 7, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 0, z + 7, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 7, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 8, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 8, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 9, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + 0, z + 9, Blocks.crafting_table, 0, 3); - world.setBlock(x + 13, y + 0, z + 9, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 9, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 10, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 10, ModBlocks.machine_reactor, 5, 3); - world.setBlock(x + 6, y + 0, z + 10, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 10, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 10, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 9, y + 0, z + 10, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 9, y + 0, z + 10, 5, 3); - if(world.getBlock(x + 9, y + 0, z + 10) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 9, y + 0, z + 10), rand.nextInt(2)+ 8); - } - world.setBlock(x + 13, y + 0, z + 10, Blocks.hopper, 3, 3); - world.setBlock(x + 14, y + 0, z + 10, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 11, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 11, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 11, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 11, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 11, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 0, z + 11, Blocks.chest, 4, 3); - world.setBlock(x + 14, y + 0, z + 11, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 12, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 12, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 12, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 12, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 12, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 0, z + 12, Blocks.hopper, 2, 3); - world.setBlock(x + 14, y + 0, z + 12, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 13, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 0, z + 13, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 13, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 14, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 14, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 15, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + 0, z + 15, Blocks.crafting_table, 0, 3); - world.setBlock(x + 13, y + 0, z + 15, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 15, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 16, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 16, ModBlocks.machine_reactor, 5, 3); - world.setBlock(x + 6, y + 0, z + 16, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 16, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 16, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 9, y + 0, z + 16, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 9, y + 0, z + 16, 5, 3); - if(world.getBlock(x + 9, y + 0, z + 16) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 9, y + 0, z + 16), rand.nextInt(2)+ 8); - } - world.setBlock(x + 13, y + 0, z + 16, Blocks.hopper, 3, 3); - world.setBlock(x + 14, y + 0, z + 16, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 17, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 17, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 17, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 17, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 17, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 0, z + 17, Blocks.chest, 4, 3); - world.setBlock(x + 14, y + 0, z + 17, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 18, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 18, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 18, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 0, z + 18, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 0, z + 18, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 0, z + 18, Blocks.hopper, 2, 3); - world.setBlock(x + 14, y + 0, z + 18, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 19, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 19, Blocks.stone_brick_stairs, 0, 3); - world.setBlock(x + 4, y + 0, z + 19, Blocks.stone_brick_stairs, 2, 3); - world.setBlock(x + 5, y + 0, z + 19, Blocks.stone_brick_stairs, 1, 3); - world.setBlock(x + 13, y + 0, z + 19, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 19, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 20, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 20, Blocks.stone_brick_stairs, 0, 3); - world.setBlock(x + 4, y + 0, z + 20, Blocks.iron_block, 0, 3); - world.setBlock(x + 5, y + 0, z + 20, Blocks.stone_brick_stairs, 1, 3); - world.setBlock(x + 7, y + 0, z + 20, Blocks.anvil, 0, 3); - world.setBlock(x + 14, y + 0, z + 20, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 21, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 21, Blocks.stone_brick_stairs, 0, 3); - world.setBlock(x + 4, y + 0, z + 21, Blocks.iron_block, 0, 3); - world.setBlock(x + 5, y + 0, z + 21, Blocks.stone_brick_stairs, 1, 3); - world.setBlock(x + 7, y + 0, z + 21, Blocks.anvil, 0, 3); - world.setBlock(x + 14, y + 0, z + 21, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 22, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 22, Blocks.stone_brick_stairs, 0, 3); - world.setBlock(x + 4, y + 0, z + 22, Blocks.lava, 2, 3); - world.setBlock(x + 5, y + 0, z + 22, Blocks.stone_brick_stairs, 1, 3); - world.setBlock(x + 14, y + 0, z + 22, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 0, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + 0, z + 23, Blocks.lava, 10, 3); - world.setBlock(x + 5, y + 0, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 0, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 24, Blocks.lava, 0, 3); - world.setBlock(x + 4, y + 0, z + 24, Blocks.lava, 0, 3); - world.setBlock(x + 5, y + 0, z + 24, Blocks.lava, 0, 3); - world.setBlock(x + 6, y + 0, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + 0, z + 24, Blocks.stone_brick_stairs, 6, 3); - world.setBlock(x + 14, y + 0, z + 24, Block1, 4, 3); - world.setBlock(x + 0, y + 0, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 0, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 25, Blocks.lava, 0, 3); - world.setBlock(x + 4, y + 0, z + 25, Blocks.chest, 3, 3); - world.setBlockMetadataWithNotify(x + 4, y + 0, z + 25, 3, 3); - if(world.getBlock(x + 4, y + 0, z + 25) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 4, y + 0, z + 25), rand.nextInt(2)+ 6); - } - world.setBlock(x + 5, y + 0, z + 25, Blocks.lava, 0, 3); - world.setBlock(x + 6, y + 0, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + 0, z + 25, Blocks.stone_brick_stairs, 5, 3); - world.setBlock(x + 14, y + 0, z + 25, Block1, 4, 3); - world.setBlock(x + 0, y + 0, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 0, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 26, Blocks.lava, 0, 3); - world.setBlock(x + 4, y + 0, z + 26, Blocks.lava, 0, 3); - world.setBlock(x + 5, y + 0, z + 26, Blocks.lava, 0, 3); - world.setBlock(x + 6, y + 0, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + 0, z + 26, Blocks.stone_brick_stairs, 7, 3); - world.setBlock(x + 14, y + 0, z + 26, Block1, 4, 3); - world.setBlock(x + 0, y + 0, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 0, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + 0, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 5, y + 0, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 27, Block1, 4, 3); - world.setBlock(x + 0, y + 0, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 5, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 8, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 10, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 11, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 12, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 0, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 5, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 8, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 10, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 11, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 12, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 0, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 1, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 2, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 2, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 3, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 1, z + 3, Blocks.stone_brick_stairs, 2, 3); - world.setBlock(x + 14, y + 1, z + 3, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 4, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 4, ModBlocks.machine_reactor, 5, 3); - world.setBlock(x + 6, y + 1, z + 4, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 1, z + 4, ModBlocks.factory_titanium_furnace, 2, 3); - world.setBlock(x + 8, y + 1, z + 4, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 1, z + 4, ModBlocks.machine_rtg_furnace_off, 4, 3); - world.setBlock(x + 14, y + 1, z + 4, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 5, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 5, Block2, 5, 3); - world.setBlock(x + 6, y + 1, z + 5, ModBlocks.factory_titanium_furnace, 4, 3); - world.setBlock(x + 7, y + 1, z + 5, Block3, 0, 3); - world.setBlock(x + 8, y + 1, z + 5, ModBlocks.factory_titanium_furnace, 5, 3); - world.setBlock(x + 13, y + 1, z + 5, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 14, y + 1, z + 5, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 6, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 6, Block2, 5, 3); - world.setBlock(x + 6, y + 1, z + 6, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 1, z + 6, ModBlocks.factory_titanium_furnace, 3, 3); - world.setBlock(x + 8, y + 1, z + 6, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 1, z + 6, ModBlocks.machine_rtg_furnace_off, 4, 3); - world.setBlock(x + 14, y + 1, z + 6, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 7, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 1, z + 7, Blocks.stone_brick_stairs, 3, 3); - world.setBlock(x + 14, y + 1, z + 7, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 8, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 8, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 9, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 1, z + 9, Blocks.stone_brick_stairs, 2, 3); - world.setBlock(x + 14, y + 1, z + 9, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 10, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 10, ModBlocks.machine_reactor, 5, 3); - world.setBlock(x + 6, y + 1, z + 10, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 1, z + 10, ModBlocks.factory_titanium_furnace, 2, 3); - world.setBlock(x + 8, y + 1, z + 10, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 1, z + 10, ModBlocks.machine_rtg_furnace_off, 4, 3); - world.setBlock(x + 14, y + 1, z + 10, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 11, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 11, Block2, 5, 3); - world.setBlock(x + 6, y + 1, z + 11, ModBlocks.factory_titanium_furnace, 4, 3); - world.setBlock(x + 7, y + 1, z + 11, Block3, 0, 3); - world.setBlock(x + 8, y + 1, z + 11, ModBlocks.factory_titanium_furnace, 5, 3); - world.setBlock(x + 13, y + 1, z + 11, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 14, y + 1, z + 11, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 12, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 12, Block2, 5, 3); - world.setBlock(x + 6, y + 1, z + 12, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 1, z + 12, ModBlocks.factory_titanium_furnace, 3, 3); - world.setBlock(x + 8, y + 1, z + 12, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 1, z + 12, ModBlocks.machine_rtg_furnace_off, 4, 3); - world.setBlock(x + 14, y + 1, z + 12, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 13, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 1, z + 13, Blocks.stone_brick_stairs, 3, 3); - world.setBlock(x + 14, y + 1, z + 13, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 14, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 14, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 15, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 1, z + 15, Blocks.stone_brick_stairs, 2, 3); - world.setBlock(x + 14, y + 1, z + 15, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 16, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 16, ModBlocks.machine_reactor, 5, 3); - world.setBlock(x + 6, y + 1, z + 16, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 1, z + 16, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 1, z + 16, ModBlocks.machine_rtg_furnace_off, 4, 3); - world.setBlock(x + 14, y + 1, z + 16, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 17, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 17, Block2, 5, 3); - world.setBlock(x + 6, y + 1, z + 17, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 1, z + 17, Block3, 0, 3); - world.setBlock(x + 8, y + 1, z + 17, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 13, y + 1, z + 17, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 14, y + 1, z + 17, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 18, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 18, Block2, 5, 3); - world.setBlock(x + 6, y + 1, z + 18, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 1, z + 18, ModBlocks.factory_titanium_furnace, 3, 3); - world.setBlock(x + 13, y + 1, z + 18, ModBlocks.machine_rtg_furnace_off, 4, 3); - world.setBlock(x + 14, y + 1, z + 18, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 19, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 1, z + 19, Blocks.stone_brick_stairs, 3, 3); - world.setBlock(x + 14, y + 1, z + 19, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 20, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 20, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 21, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 21, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 22, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 22, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + 1, z + 23, Blocks.lava, 2, 3); - world.setBlock(x + 5, y + 1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 1, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 1, z + 24, Blocks.lava, 0, 3); - world.setBlock(x + 4, y + 1, z + 24, Blocks.lava, 0, 3); - world.setBlock(x + 5, y + 1, z + 24, Blocks.lava, 0, 3); - world.setBlock(x + 6, y + 1, z + 24, Blocks.lit_furnace, 5, 3); - world.setBlock(x + 7, y + 1, z + 24, Blocks.heavy_weighted_pressure_plate, 0, 3); - world.setBlock(x + 14, y + 1, z + 24, Block1, 4, 3); - world.setBlock(x + 0, y + 1, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 1, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 1, z + 25, Blocks.lava, 0, 3); - world.setBlock(x + 4, y + 1, z + 25, Blocks.lava, 0, 3); - world.setBlock(x + 5, y + 1, z + 25, Blocks.lava, 0, 3); - world.setBlock(x + 6, y + 1, z + 25, Blocks.lit_furnace, 5, 3); - world.setBlock(x + 7, y + 1, z + 25, Blocks.heavy_weighted_pressure_plate, 0, 3); - world.setBlock(x + 14, y + 1, z + 25, Block1, 4, 3); - world.setBlock(x + 0, y + 1, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 1, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 1, z + 26, Blocks.lava, 0, 3); - world.setBlock(x + 4, y + 1, z + 26, Blocks.lava, 0, 3); - world.setBlock(x + 5, y + 1, z + 26, Blocks.lava, 0, 3); - world.setBlock(x + 6, y + 1, z + 26, Blocks.lit_furnace, 5, 3); - world.setBlock(x + 7, y + 1, z + 26, Blocks.heavy_weighted_pressure_plate, 0, 3); - world.setBlock(x + 14, y + 1, z + 26, Block1, 4, 3); - world.setBlock(x + 0, y + 1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + 1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 5, y + 1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 1, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 27, Block1, 4, 3); - world.setBlock(x + 0, y + 1, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 1, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 2, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 3, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 4, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 5, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 6, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 7, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 8, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 9, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 10, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 11, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 12, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 13, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 1, z + 29, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 2, z + 0, Blocks.glass, 0, 3); - world.setBlock(x + 4, y + 2, z + 0, Blocks.glass, 0, 3); - world.setBlock(x + 5, y + 2, z + 0, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 2, z + 0, Blocks.glass, 0, 3); - world.setBlock(x + 10, y + 2, z + 0, Blocks.glass, 0, 3); - world.setBlock(x + 11, y + 2, z + 0, Blocks.glass, 0, 3); - world.setBlock(x + 12, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 2, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 3, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 3, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 4, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 4, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 2, z + 4, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 2, z + 4, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 14, y + 2, z + 4, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 5, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 5, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 2, z + 5, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 2, z + 5, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 14, y + 2, z + 5, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 6, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 2, z + 6, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 2, z + 6, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 14, y + 2, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 7, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 7, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 8, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 8, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 10, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 2, z + 10, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 2, z + 10, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 14, y + 2, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 11, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 11, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 2, z + 11, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 2, z + 11, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 14, y + 2, z + 11, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 12, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 12, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 7, y + 2, z + 12, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 8, y + 2, z + 12, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 14, y + 2, z + 12, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 2, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 15, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 15, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 16, Blocks.glass, 0, 3); - world.setBlock(x + 6, y + 2, z + 16, ModBlocks.factory_titanium_hull, 0, 3); - world.setBlock(x + 14, y + 2, z + 16, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 2, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 2, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 19, Blocks.glass, 0, 3); - world.setBlock(x + 14, y + 2, z + 19, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 20, Blocks.glass, 0, 3); - world.setBlock(x + 14, y + 2, z + 20, Blocks.glass, 0, 3); - world.setBlock(x + 0, y + 2, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 2, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 2, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 2, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 2, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 2, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 2, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 2, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 2, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 2, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 2, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 2, z + 24, Block1, 4, 3); - world.setBlock(x + 0, y + 2, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 2, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 2, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 25, Blocks.lit_furnace, 5, 3); - world.setBlock(x + 14, y + 2, z + 25, Block1, 4, 3); - world.setBlock(x + 0, y + 2, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 2, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 14, y + 2, z + 26, Block1, 4, 3); - world.setBlock(x + 0, y + 2, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 2, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 2, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 2, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 2, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 2, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 2, z + 27, Block1, 4, 3); - world.setBlock(x + 0, y + 2, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 2, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 2, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 2, z + 29, Blocks.glass, 0, 3); - world.setBlock(x + 10, y + 2, z + 29, Blocks.glass, 0, 3); - world.setBlock(x + 11, y + 2, z + 29, Blocks.glass, 0, 3); - world.setBlock(x + 12, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 2, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 0, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 5, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 5, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 15, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 15, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 20, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 20, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 3, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 3, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 3, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 3, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 3, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 3, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 23, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 3, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 3, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 3, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 24, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 3, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 3, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 3, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 25, Block1, 4, 3); - world.setBlock(x + 0, y + 3, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 3, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 3, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 26, Block1, 4, 3); - world.setBlock(x + 0, y + 3, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 3, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 3, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 3, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 3, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 3, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 3, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 28, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 3, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 2, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 3, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 4, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 5, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 6, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 7, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 8, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 9, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 10, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 11, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 12, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 13, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 14, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 1, Blocks.stonebrick, 3, 3); - world.setBlock(x + 14, y + 4, z + 1, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 2, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 2, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 2, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 2, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 2, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 2, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 2, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 2, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 2, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 2, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 2, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 3, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 3, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 3, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 3, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 3, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 3, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 3, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 3, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 3, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 3, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 3, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 4, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 4, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 4, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 4, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 4, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 4, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 4, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 4, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 4, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 4, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 5, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 5, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 5, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 5, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 5, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 5, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 5, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 5, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 5, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 5, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 5, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 6, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 6, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 6, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 6, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 6, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 6, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 6, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 6, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 6, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 6, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 6, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 7, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 7, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 7, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 7, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 7, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 7, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 7, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 7, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 7, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 7, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 7, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 8, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 8, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 8, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 8, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 8, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 8, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 8, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 8, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 8, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 8, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 8, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 9, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 9, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 9, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 9, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 9, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 9, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 9, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 9, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 9, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 9, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 9, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 10, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 10, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 10, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 10, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 10, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 10, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 10, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 10, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 10, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 11, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 11, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 11, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 11, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 11, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 11, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 11, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 11, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 11, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 11, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 12, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 12, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 12, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 12, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 12, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 12, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 12, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 12, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 12, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 12, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 13, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 13, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 13, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 13, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 13, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 13, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 13, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 13, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 13, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 13, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 13, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 14, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 14, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 14, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 14, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 14, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 14, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 14, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 14, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 14, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 14, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 14, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 15, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 15, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 15, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 15, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 15, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 15, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 15, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 15, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 15, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 15, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 15, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 16, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 16, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 16, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 16, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 16, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 16, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 16, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 16, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 16, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 16, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 17, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 17, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 17, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 17, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 17, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 17, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 17, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 17, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 17, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 17, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 17, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 18, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 18, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 18, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 18, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 18, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 18, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 18, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 18, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 18, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 18, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 18, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 19, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 19, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 19, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 19, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 19, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 19, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 19, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 19, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 19, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 19, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 19, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 20, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 20, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 20, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 20, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 20, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 20, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 20, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 20, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 20, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 20, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 20, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 21, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 21, Block4, 4, 3); - world.setBlock(x + 2, y + 4, z + 21, Block5, 0, 3); - world.setBlock(x + 3, y + 4, z + 21, Block4, 5, 3); - world.setBlock(x + 6, y + 4, z + 21, Block4, 4, 3); - world.setBlock(x + 7, y + 4, z + 21, Block5, 0, 3); - world.setBlock(x + 8, y + 4, z + 21, Block4, 5, 3); - world.setBlock(x + 10, y + 4, z + 21, Block4, 4, 3); - world.setBlock(x + 11, y + 4, z + 21, Block5, 0, 3); - world.setBlock(x + 12, y + 4, z + 21, Block4, 5, 3); - world.setBlock(x + 14, y + 4, z + 21, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 22, Blocks.stonebrick, 3, 3); - world.setBlock(x + 14, y + 4, z + 22, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 23, Blocks.stonebrick, 3, 3); - world.setBlock(x + 2, y + 4, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 4, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 4, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 4, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 4, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 4, z + 23, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 24, Blocks.stonebrick, 3, 3); - world.setBlock(x + 2, y + 4, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 4, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 4, z + 24, Blocks.monster_egg, 2, 3); - world.setBlock(x + 0, y + 4, z + 25, Blocks.stonebrick, 3, 3); - world.setBlock(x + 2, y + 4, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 4, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 4, z + 25, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 4, z + 26, Blocks.stonebrick, 3, 3); - world.setBlock(x + 2, y + 4, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 4, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 4, z + 26, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 4, z + 27, Blocks.stonebrick, 3, 3); - world.setBlock(x + 2, y + 4, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 4, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 4, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 4, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 4, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 4, z + 27, Blocks.stonebrick, 0, 3); - world.setBlock(x + 0, y + 4, z + 28, Blocks.stonebrick, 3, 3); - world.setBlock(x + 14, y + 4, z + 28, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 2, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 3, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 4, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 5, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 6, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 7, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 8, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 9, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 10, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 11, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 12, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 13, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 14, y + 4, z + 29, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 5, z + 0, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 1, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 5, z + 5, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 6, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 5, z + 10, Blocks.brick_stairs, 2, 3); - - generate_r02(world, rand, x, y, z); - return true; - - } - public boolean generate_r02(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 0, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 5, z + 15, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 16, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 5, z + 20, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 21, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 5, z + 29, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 6, z + 1, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 2, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 6, z + 6, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 7, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 6, z + 11, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 6, z + 16, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 17, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 6, z + 21, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 22, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 6, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 6, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 6, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 6, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 6, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 6, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 7, z + 2, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 3, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 7, z + 7, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 8, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 7, z + 12, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 7, z + 17, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 18, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 7, z + 22, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 7, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 7, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 7, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 7, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 7, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 7, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 8, z + 3, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 8, z + 4, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 8, z + 8, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 8, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 8, z + 13, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 8, z + 14, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 8, z + 18, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 8, z + 19, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 8, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 8, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 8, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 8, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 8, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 11, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 12, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 13, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 14, y + 8, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 8, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 8, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 1, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 8, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 8, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 8, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 1, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 9, y + 8, z + 28, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 8, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 8, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 8, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 9, z + 4, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 9, z + 9, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 9, z + 14, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 0, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 3, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 6, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 7, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 9, z + 19, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 9, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 9, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 9, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 9, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 9, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 0, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 1, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 9, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 9, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 8, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 9, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 10, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 11, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 12, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 13, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 14, y + 9, z + 24, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 9, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 9, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 9, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 9, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 9, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 9, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 9, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 9, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 9, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 10, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 10, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 10, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 10, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 10, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 10, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 10, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 10, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 10, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 10, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 10, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 10, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 10, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 10, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 10, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 10, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 11, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 11, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 11, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 11, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 11, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 11, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 11, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 11, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 11, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 11, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 11, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 11, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 11, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 11, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 11, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 11, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 12, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 12, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 12, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 12, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 12, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 12, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 12, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 12, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 12, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 12, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 12, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 12, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 12, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 12, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 12, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 12, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 13, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 13, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 13, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 13, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 13, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 13, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 13, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 13, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 13, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 13, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 13, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 13, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 13, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 13, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 13, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 13, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 14, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 14, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 14, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 14, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 14, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 14, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 14, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 14, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 14, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 14, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 14, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 14, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 14, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 14, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 14, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 14, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 15, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 15, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 15, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 15, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 15, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 15, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 15, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 15, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 15, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 15, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 15, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 15, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 15, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 15, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 15, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 15, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 16, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 16, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 16, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 16, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 16, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 16, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 16, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 16, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 16, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 16, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 16, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 16, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 16, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 16, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 16, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 16, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 17, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 17, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 17, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 17, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 17, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 17, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 17, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 17, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 17, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 17, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 17, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 17, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 18, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 18, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 18, z + 23, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 18, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 18, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 18, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 18, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 18, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 18, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 2, y + 18, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 18, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 18, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 18, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 18, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 18, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 18, z + 27, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 19, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 4, y + 19, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 5, y + 19, z + 23, Blocks.brick_stairs, 2, 3); - world.setBlock(x + 2, y + 19, z + 24, Blocks.brick_stairs, 0, 3); - world.setBlock(x + 3, y + 19, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 19, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 19, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 19, z + 24, Blocks.brick_stairs, 1, 3); - world.setBlock(x + 2, y + 19, z + 25, Blocks.brick_stairs, 0, 3); - world.setBlock(x + 3, y + 19, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 19, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 19, z + 25, Blocks.brick_stairs, 1, 3); - world.setBlock(x + 2, y + 19, z + 26, Blocks.brick_stairs, 0, 3); - world.setBlock(x + 3, y + 19, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 19, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 19, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 19, z + 26, Blocks.brick_stairs, 1, 3); - world.setBlock(x + 3, y + 19, z + 27, Blocks.brick_stairs, 3, 3); - world.setBlock(x + 4, y + 19, z + 27, Blocks.brick_stairs, 3, 3); - world.setBlock(x + 5, y + 19, z + 27, Blocks.brick_stairs, 3, 3); - world.setBlock(x + 3, y + 20, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 20, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 20, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 20, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 20, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 20, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 20, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 20, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 21, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 21, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 21, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 21, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 21, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 21, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 21, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 21, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 22, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 22, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 22, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 22, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 22, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 22, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 22, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 22, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 23, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 23, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 23, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 23, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 23, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 23, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 23, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 23, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 24, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 24, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 24, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 24, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 24, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 24, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 24, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 24, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 25, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 25, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 25, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 25, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 25, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 25, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 25, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 25, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 26, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 26, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 26, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 26, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 26, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 26, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 26, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 26, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 27, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 27, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 27, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 27, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 28, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 28, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 28, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 28, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 29, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 29, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 29, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 29, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 30, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 30, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 30, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 30, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 30, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 30, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 30, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 30, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 31, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 31, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 31, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 31, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 31, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 31, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 31, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 31, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 32, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 32, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 32, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 32, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 32, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 32, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 32, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 32, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 33, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 33, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 33, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 33, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 33, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 33, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 33, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 33, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 34, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 34, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 34, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 34, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 34, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 34, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 34, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 34, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 35, z + 24, Blocks.brick_block, 0, 3); - world.setBlock(x + 3, y + 35, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 35, z + 25, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 35, z + 26, Blocks.brick_block, 0, 3); - world.setBlock(x + 4, y + 36, z + 25, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 37, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 37, z + 23, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 37, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 37, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 37, z + 25, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 37, z + 25, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 38, z + 20, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 38, z + 20, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 38, z + 20, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 38, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 38, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 38, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 38, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 38, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 38, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 38, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 38, z + 23, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 38, z + 23, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 38, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 38, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 39, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 39, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 12, y + 39, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 39, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 39, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 39, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 12, y + 39, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 39, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 39, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 39, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 12, y + 39, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 39, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 39, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 39, z + 20, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 39, z + 20, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 39, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 39, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 39, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 39, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 39, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 39, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 39, z + 23, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 40, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 40, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 40, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 12, y + 40, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 40, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 40, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 40, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 40, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 40, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 40, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 11, y + 41, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 41, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 17, y + 42, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 18, y + 42, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 42, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 17, y + 42, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 18, y + 42, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 19, y + 42, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 15, y + 42, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 42, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 17, y + 42, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 18, y + 42, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 15, y + 42, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 16, y + 42, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 17, y + 42, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 17, y + 43, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 18, y + 43, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 17, y + 43, z + 11, Blocks.web, 0, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned abandoned factory at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Factory extends WorldGenerator +{ + Block Block1 = ModBlocks.steel_scaffold; + Block Block2 = ModBlocks.machine_difurnace_off; + Block Block3 = ModBlocks.factory_titanium_core; + Block Block4 = ModBlocks.steel_wall; + Block Block5 = ModBlocks.reinforced_light; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.stone, + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x + 7, y, z + 15)) + { + return false; + } + + for(int i = 0; i < 15; i++) + { + for(int j = 0; j < 5; j++) + { + for(int k = 0; k < 29; k++) + { + world.setBlock(x + i, y + j, z + k, Blocks.air, 0, 3); + } + } + } + + for(int i = 0; i < 15; i++) + { + for(int j = 0; j < 5; j++) + { + for(int k = 0; k < 29; k++) + { + world.setBlock(x + i, y + j - 6, z + k, Blocks.cobblestone, 0, 3); + } + } + } + + world.setBlock(x + 0, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 5, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 8, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 10, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 11, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 12, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + -1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 1, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 1, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 1, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 2, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 2, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 2, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 3, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 3, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 3, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 4, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 4, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 4, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 5, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 5, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 5, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 6, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 6, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 6, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 7, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 7, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 7, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 8, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 8, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 8, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 9, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 9, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 9, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 10, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 10, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 10, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 11, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 11, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 11, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 12, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 12, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 12, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 13, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 13, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 13, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 14, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 14, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 14, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 15, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 15, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 15, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 16, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 16, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 16, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 17, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 17, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 17, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 18, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 18, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 18, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 19, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 19, Blocks.stonebrick, 3, 3); + world.setBlock(x + 4, y + -1, z + 19, Blocks.stonebrick, 3, 3); + world.setBlock(x + 5, y + -1, z + 19, Blocks.stonebrick, 3, 3); + world.setBlock(x + 6, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 19, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 19, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 20, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 20, Blocks.stonebrick, 3, 3); + world.setBlock(x + 4, y + -1, z + 20, Blocks.stonebrick, 3, 3); + world.setBlock(x + 5, y + -1, z + 20, Blocks.stonebrick, 3, 3); + world.setBlock(x + 6, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 20, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 20, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 21, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 21, Blocks.stonebrick, 3, 3); + world.setBlock(x + 4, y + -1, z + 21, Blocks.stonebrick, 3, 3); + world.setBlock(x + 5, y + -1, z + 21, Blocks.stonebrick, 3, 3); + world.setBlock(x + 6, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 21, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 21, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 22, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 22, Blocks.monster_egg, 5, 3); + world.setBlock(x + 4, y + -1, z + 22, Blocks.stonebrick, 3, 3); + world.setBlock(x + 5, y + -1, z + 22, Blocks.stonebrick, 3, 3); + world.setBlock(x + 6, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 22, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 22, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 23, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 15, y + -1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 24, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 15, y + -1, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 16, y + -1, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 25, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 15, y + -1, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 16, y + -1, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 26, Blocks.monster_egg, 1, 3); + world.setBlock(x + 7, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 26, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 15, y + -1, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 16, y + -1, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 27, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 15, y + -1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 16, y + -1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 2, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 3, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 4, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 5, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 6, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 7, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 8, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 9, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 10, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 11, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 12, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 13, y + -1, z + 28, Blocks.cobblestone, 0, 3); + world.setBlock(x + 14, y + -1, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 15, y + -1, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 5, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 8, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 10, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 11, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 12, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + -1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 5, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 8, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 10, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 11, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 12, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 1, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 2, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 3, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + 0, z + 3, Blocks.crafting_table, 0, 3); + world.setBlock(x + 13, y + 0, z + 3, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 3, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 4, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 4, ModBlocks.machine_reactor, 5, 3); + world.setBlock(x + 6, y + 0, z + 4, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 4, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 4, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 9, y + 0, z + 4, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 9, y + 0, z + 4, 5, 3); + if(world.getBlock(x + 9, y + 0, z + 4) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 9, y + 0, z + 4), rand.nextInt(2)+ 8); + } + world.setBlock(x + 13, y + 0, z + 4, Blocks.hopper, 3, 3); + world.setBlock(x + 14, y + 0, z + 4, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 5, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 5, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 5, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 5, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 5, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 0, z + 5, Blocks.chest, 4, 3); + world.setBlock(x + 14, y + 0, z + 5, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 6, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 6, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 6, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 6, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 6, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 0, z + 6, Blocks.hopper, 2, 3); + world.setBlock(x + 14, y + 0, z + 6, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 7, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 0, z + 7, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 7, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 8, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 8, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 9, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + 0, z + 9, Blocks.crafting_table, 0, 3); + world.setBlock(x + 13, y + 0, z + 9, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 9, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 10, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 10, ModBlocks.machine_reactor, 5, 3); + world.setBlock(x + 6, y + 0, z + 10, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 10, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 10, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 9, y + 0, z + 10, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 9, y + 0, z + 10, 5, 3); + if(world.getBlock(x + 9, y + 0, z + 10) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 9, y + 0, z + 10), rand.nextInt(2)+ 8); + } + world.setBlock(x + 13, y + 0, z + 10, Blocks.hopper, 3, 3); + world.setBlock(x + 14, y + 0, z + 10, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 11, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 11, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 11, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 11, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 11, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 0, z + 11, Blocks.chest, 4, 3); + world.setBlock(x + 14, y + 0, z + 11, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 12, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 12, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 12, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 12, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 12, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 0, z + 12, Blocks.hopper, 2, 3); + world.setBlock(x + 14, y + 0, z + 12, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 13, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 0, z + 13, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 13, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 14, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 14, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 15, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + 0, z + 15, Blocks.crafting_table, 0, 3); + world.setBlock(x + 13, y + 0, z + 15, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 15, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 16, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 16, ModBlocks.machine_reactor, 5, 3); + world.setBlock(x + 6, y + 0, z + 16, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 16, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 16, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 9, y + 0, z + 16, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 9, y + 0, z + 16, 5, 3); + if(world.getBlock(x + 9, y + 0, z + 16) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 9, y + 0, z + 16), rand.nextInt(2)+ 8); + } + world.setBlock(x + 13, y + 0, z + 16, Blocks.hopper, 3, 3); + world.setBlock(x + 14, y + 0, z + 16, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 17, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 17, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 17, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 17, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 17, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 0, z + 17, Blocks.chest, 4, 3); + world.setBlock(x + 14, y + 0, z + 17, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 18, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 18, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 18, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 0, z + 18, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 0, z + 18, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 0, z + 18, Blocks.hopper, 2, 3); + world.setBlock(x + 14, y + 0, z + 18, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 19, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 19, Blocks.stone_brick_stairs, 0, 3); + world.setBlock(x + 4, y + 0, z + 19, Blocks.stone_brick_stairs, 2, 3); + world.setBlock(x + 5, y + 0, z + 19, Blocks.stone_brick_stairs, 1, 3); + world.setBlock(x + 13, y + 0, z + 19, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 19, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 20, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 20, Blocks.stone_brick_stairs, 0, 3); + world.setBlock(x + 4, y + 0, z + 20, Blocks.iron_block, 0, 3); + world.setBlock(x + 5, y + 0, z + 20, Blocks.stone_brick_stairs, 1, 3); + world.setBlock(x + 7, y + 0, z + 20, Blocks.anvil, 0, 3); + world.setBlock(x + 14, y + 0, z + 20, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 21, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 21, Blocks.stone_brick_stairs, 0, 3); + world.setBlock(x + 4, y + 0, z + 21, Blocks.iron_block, 0, 3); + world.setBlock(x + 5, y + 0, z + 21, Blocks.stone_brick_stairs, 1, 3); + world.setBlock(x + 7, y + 0, z + 21, Blocks.anvil, 0, 3); + world.setBlock(x + 14, y + 0, z + 21, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 22, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 22, Blocks.stone_brick_stairs, 0, 3); + world.setBlock(x + 4, y + 0, z + 22, Blocks.lava, 2, 3); + world.setBlock(x + 5, y + 0, z + 22, Blocks.stone_brick_stairs, 1, 3); + world.setBlock(x + 14, y + 0, z + 22, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 0, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + 0, z + 23, Blocks.lava, 10, 3); + world.setBlock(x + 5, y + 0, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 0, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 24, Blocks.lava, 0, 3); + world.setBlock(x + 4, y + 0, z + 24, Blocks.lava, 0, 3); + world.setBlock(x + 5, y + 0, z + 24, Blocks.lava, 0, 3); + world.setBlock(x + 6, y + 0, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + 0, z + 24, Blocks.stone_brick_stairs, 6, 3); + world.setBlock(x + 14, y + 0, z + 24, Block1, 4, 3); + world.setBlock(x + 0, y + 0, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 0, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 25, Blocks.lava, 0, 3); + world.setBlock(x + 4, y + 0, z + 25, Blocks.chest, 3, 3); + world.setBlockMetadataWithNotify(x + 4, y + 0, z + 25, 3, 3); + if(world.getBlock(x + 4, y + 0, z + 25) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 4, y + 0, z + 25), rand.nextInt(2)+ 6); + } + world.setBlock(x + 5, y + 0, z + 25, Blocks.lava, 0, 3); + world.setBlock(x + 6, y + 0, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + 0, z + 25, Blocks.stone_brick_stairs, 5, 3); + world.setBlock(x + 14, y + 0, z + 25, Block1, 4, 3); + world.setBlock(x + 0, y + 0, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 0, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 26, Blocks.lava, 0, 3); + world.setBlock(x + 4, y + 0, z + 26, Blocks.lava, 0, 3); + world.setBlock(x + 5, y + 0, z + 26, Blocks.lava, 0, 3); + world.setBlock(x + 6, y + 0, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + 0, z + 26, Blocks.stone_brick_stairs, 7, 3); + world.setBlock(x + 14, y + 0, z + 26, Block1, 4, 3); + world.setBlock(x + 0, y + 0, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 0, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + 0, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 5, y + 0, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 27, Block1, 4, 3); + world.setBlock(x + 0, y + 0, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 5, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 8, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 10, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 11, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 12, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 0, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 5, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 8, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 10, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 11, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 12, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 0, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 1, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 2, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 2, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 3, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 1, z + 3, Blocks.stone_brick_stairs, 2, 3); + world.setBlock(x + 14, y + 1, z + 3, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 4, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 4, ModBlocks.machine_reactor, 5, 3); + world.setBlock(x + 6, y + 1, z + 4, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 1, z + 4, ModBlocks.factory_titanium_furnace, 2, 3); + world.setBlock(x + 8, y + 1, z + 4, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 1, z + 4, ModBlocks.machine_rtg_furnace_off, 4, 3); + world.setBlock(x + 14, y + 1, z + 4, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 5, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 5, Block2, 5, 3); + world.setBlock(x + 6, y + 1, z + 5, ModBlocks.factory_titanium_furnace, 4, 3); + world.setBlock(x + 7, y + 1, z + 5, Block3, 0, 3); + world.setBlock(x + 8, y + 1, z + 5, ModBlocks.factory_titanium_furnace, 5, 3); + world.setBlock(x + 13, y + 1, z + 5, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 14, y + 1, z + 5, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 6, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 6, Block2, 5, 3); + world.setBlock(x + 6, y + 1, z + 6, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 1, z + 6, ModBlocks.factory_titanium_furnace, 3, 3); + world.setBlock(x + 8, y + 1, z + 6, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 1, z + 6, ModBlocks.machine_rtg_furnace_off, 4, 3); + world.setBlock(x + 14, y + 1, z + 6, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 7, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 1, z + 7, Blocks.stone_brick_stairs, 3, 3); + world.setBlock(x + 14, y + 1, z + 7, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 8, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 8, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 9, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 1, z + 9, Blocks.stone_brick_stairs, 2, 3); + world.setBlock(x + 14, y + 1, z + 9, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 10, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 10, ModBlocks.machine_reactor, 5, 3); + world.setBlock(x + 6, y + 1, z + 10, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 1, z + 10, ModBlocks.factory_titanium_furnace, 2, 3); + world.setBlock(x + 8, y + 1, z + 10, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 1, z + 10, ModBlocks.machine_rtg_furnace_off, 4, 3); + world.setBlock(x + 14, y + 1, z + 10, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 11, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 11, Block2, 5, 3); + world.setBlock(x + 6, y + 1, z + 11, ModBlocks.factory_titanium_furnace, 4, 3); + world.setBlock(x + 7, y + 1, z + 11, Block3, 0, 3); + world.setBlock(x + 8, y + 1, z + 11, ModBlocks.factory_titanium_furnace, 5, 3); + world.setBlock(x + 13, y + 1, z + 11, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 14, y + 1, z + 11, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 12, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 12, Block2, 5, 3); + world.setBlock(x + 6, y + 1, z + 12, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 1, z + 12, ModBlocks.factory_titanium_furnace, 3, 3); + world.setBlock(x + 8, y + 1, z + 12, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 1, z + 12, ModBlocks.machine_rtg_furnace_off, 4, 3); + world.setBlock(x + 14, y + 1, z + 12, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 13, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 1, z + 13, Blocks.stone_brick_stairs, 3, 3); + world.setBlock(x + 14, y + 1, z + 13, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 14, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 14, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 15, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 1, z + 15, Blocks.stone_brick_stairs, 2, 3); + world.setBlock(x + 14, y + 1, z + 15, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 16, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 16, ModBlocks.machine_reactor, 5, 3); + world.setBlock(x + 6, y + 1, z + 16, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 1, z + 16, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 1, z + 16, ModBlocks.machine_rtg_furnace_off, 4, 3); + world.setBlock(x + 14, y + 1, z + 16, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 17, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 17, Block2, 5, 3); + world.setBlock(x + 6, y + 1, z + 17, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 1, z + 17, Block3, 0, 3); + world.setBlock(x + 8, y + 1, z + 17, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 13, y + 1, z + 17, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 14, y + 1, z + 17, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 18, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 18, Block2, 5, 3); + world.setBlock(x + 6, y + 1, z + 18, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 1, z + 18, ModBlocks.factory_titanium_furnace, 3, 3); + world.setBlock(x + 13, y + 1, z + 18, ModBlocks.machine_rtg_furnace_off, 4, 3); + world.setBlock(x + 14, y + 1, z + 18, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 19, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 1, z + 19, Blocks.stone_brick_stairs, 3, 3); + world.setBlock(x + 14, y + 1, z + 19, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 20, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 20, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 21, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 21, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 22, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 22, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + 1, z + 23, Blocks.lava, 2, 3); + world.setBlock(x + 5, y + 1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 1, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 1, z + 24, Blocks.lava, 0, 3); + world.setBlock(x + 4, y + 1, z + 24, Blocks.lava, 0, 3); + world.setBlock(x + 5, y + 1, z + 24, Blocks.lava, 0, 3); + world.setBlock(x + 6, y + 1, z + 24, Blocks.lit_furnace, 5, 3); + world.setBlock(x + 7, y + 1, z + 24, Blocks.heavy_weighted_pressure_plate, 0, 3); + world.setBlock(x + 14, y + 1, z + 24, Block1, 4, 3); + world.setBlock(x + 0, y + 1, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 1, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 1, z + 25, Blocks.lava, 0, 3); + world.setBlock(x + 4, y + 1, z + 25, Blocks.lava, 0, 3); + world.setBlock(x + 5, y + 1, z + 25, Blocks.lava, 0, 3); + world.setBlock(x + 6, y + 1, z + 25, Blocks.lit_furnace, 5, 3); + world.setBlock(x + 7, y + 1, z + 25, Blocks.heavy_weighted_pressure_plate, 0, 3); + world.setBlock(x + 14, y + 1, z + 25, Block1, 4, 3); + world.setBlock(x + 0, y + 1, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 1, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 1, z + 26, Blocks.lava, 0, 3); + world.setBlock(x + 4, y + 1, z + 26, Blocks.lava, 0, 3); + world.setBlock(x + 5, y + 1, z + 26, Blocks.lava, 0, 3); + world.setBlock(x + 6, y + 1, z + 26, Blocks.lit_furnace, 5, 3); + world.setBlock(x + 7, y + 1, z + 26, Blocks.heavy_weighted_pressure_plate, 0, 3); + world.setBlock(x + 14, y + 1, z + 26, Block1, 4, 3); + world.setBlock(x + 0, y + 1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + 1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 5, y + 1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 1, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 27, Block1, 4, 3); + world.setBlock(x + 0, y + 1, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 1, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 2, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 3, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 4, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 5, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 6, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 7, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 8, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 9, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 10, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 11, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 12, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 13, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 1, z + 29, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 2, z + 0, Blocks.glass, 0, 3); + world.setBlock(x + 4, y + 2, z + 0, Blocks.glass, 0, 3); + world.setBlock(x + 5, y + 2, z + 0, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 2, z + 0, Blocks.glass, 0, 3); + world.setBlock(x + 10, y + 2, z + 0, Blocks.glass, 0, 3); + world.setBlock(x + 11, y + 2, z + 0, Blocks.glass, 0, 3); + world.setBlock(x + 12, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 2, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 3, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 3, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 4, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 4, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 2, z + 4, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 2, z + 4, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 14, y + 2, z + 4, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 5, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 5, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 2, z + 5, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 2, z + 5, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 14, y + 2, z + 5, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 6, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 2, z + 6, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 2, z + 6, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 14, y + 2, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 7, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 7, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 8, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 8, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 10, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 2, z + 10, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 2, z + 10, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 14, y + 2, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 11, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 11, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 2, z + 11, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 2, z + 11, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 14, y + 2, z + 11, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 12, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 12, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 7, y + 2, z + 12, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 8, y + 2, z + 12, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 14, y + 2, z + 12, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 2, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 15, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 15, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 16, Blocks.glass, 0, 3); + world.setBlock(x + 6, y + 2, z + 16, ModBlocks.factory_titanium_hull, 0, 3); + world.setBlock(x + 14, y + 2, z + 16, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 2, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 2, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 19, Blocks.glass, 0, 3); + world.setBlock(x + 14, y + 2, z + 19, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 20, Blocks.glass, 0, 3); + world.setBlock(x + 14, y + 2, z + 20, Blocks.glass, 0, 3); + world.setBlock(x + 0, y + 2, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 2, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 2, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 2, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 2, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 2, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 2, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 2, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 2, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 2, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 2, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 2, z + 24, Block1, 4, 3); + world.setBlock(x + 0, y + 2, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 2, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 2, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 25, Blocks.lit_furnace, 5, 3); + world.setBlock(x + 14, y + 2, z + 25, Block1, 4, 3); + world.setBlock(x + 0, y + 2, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 2, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 14, y + 2, z + 26, Block1, 4, 3); + world.setBlock(x + 0, y + 2, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 2, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 2, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 2, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 2, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 2, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 2, z + 27, Block1, 4, 3); + world.setBlock(x + 0, y + 2, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 2, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 2, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 2, z + 29, Blocks.glass, 0, 3); + world.setBlock(x + 10, y + 2, z + 29, Blocks.glass, 0, 3); + world.setBlock(x + 11, y + 2, z + 29, Blocks.glass, 0, 3); + world.setBlock(x + 12, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 2, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 0, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 5, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 5, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 15, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 15, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 20, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 20, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 3, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 3, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 3, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 3, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 3, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 3, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 23, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 3, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 3, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 3, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 24, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 3, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 3, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 3, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 25, Block1, 4, 3); + world.setBlock(x + 0, y + 3, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 3, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 3, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 26, Block1, 4, 3); + world.setBlock(x + 0, y + 3, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 3, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 3, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 3, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 3, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 3, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 3, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 28, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 3, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 2, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 3, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 4, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 5, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 6, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 7, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 8, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 9, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 10, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 11, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 12, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 13, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 14, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 1, Blocks.stonebrick, 3, 3); + world.setBlock(x + 14, y + 4, z + 1, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 2, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 2, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 2, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 2, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 2, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 2, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 2, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 2, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 2, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 2, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 2, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 3, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 3, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 3, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 3, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 3, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 3, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 3, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 3, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 3, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 3, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 3, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 4, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 4, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 4, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 4, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 4, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 4, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 4, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 4, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 4, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 4, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 5, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 5, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 5, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 5, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 5, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 5, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 5, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 5, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 5, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 5, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 5, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 6, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 6, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 6, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 6, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 6, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 6, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 6, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 6, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 6, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 6, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 6, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 7, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 7, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 7, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 7, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 7, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 7, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 7, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 7, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 7, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 7, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 7, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 8, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 8, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 8, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 8, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 8, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 8, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 8, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 8, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 8, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 8, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 8, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 9, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 9, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 9, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 9, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 9, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 9, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 9, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 9, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 9, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 9, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 9, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 10, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 10, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 10, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 10, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 10, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 10, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 10, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 10, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 10, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 11, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 11, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 11, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 11, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 11, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 11, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 11, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 11, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 11, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 11, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 12, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 12, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 12, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 12, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 12, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 12, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 12, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 12, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 12, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 12, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 13, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 13, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 13, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 13, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 13, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 13, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 13, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 13, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 13, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 13, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 13, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 14, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 14, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 14, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 14, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 14, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 14, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 14, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 14, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 14, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 14, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 14, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 15, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 15, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 15, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 15, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 15, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 15, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 15, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 15, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 15, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 15, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 15, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 16, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 16, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 16, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 16, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 16, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 16, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 16, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 16, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 16, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 16, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 17, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 17, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 17, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 17, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 17, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 17, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 17, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 17, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 17, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 17, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 17, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 18, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 18, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 18, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 18, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 18, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 18, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 18, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 18, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 18, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 18, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 18, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 19, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 19, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 19, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 19, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 19, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 19, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 19, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 19, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 19, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 19, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 19, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 20, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 20, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 20, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 20, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 20, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 20, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 20, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 20, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 20, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 20, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 20, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 21, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 21, Block4, 4, 3); + world.setBlock(x + 2, y + 4, z + 21, Block5, 0, 3); + world.setBlock(x + 3, y + 4, z + 21, Block4, 5, 3); + world.setBlock(x + 6, y + 4, z + 21, Block4, 4, 3); + world.setBlock(x + 7, y + 4, z + 21, Block5, 0, 3); + world.setBlock(x + 8, y + 4, z + 21, Block4, 5, 3); + world.setBlock(x + 10, y + 4, z + 21, Block4, 4, 3); + world.setBlock(x + 11, y + 4, z + 21, Block5, 0, 3); + world.setBlock(x + 12, y + 4, z + 21, Block4, 5, 3); + world.setBlock(x + 14, y + 4, z + 21, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 22, Blocks.stonebrick, 3, 3); + world.setBlock(x + 14, y + 4, z + 22, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 23, Blocks.stonebrick, 3, 3); + world.setBlock(x + 2, y + 4, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 4, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 4, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 4, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 4, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 4, z + 23, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 24, Blocks.stonebrick, 3, 3); + world.setBlock(x + 2, y + 4, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 4, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 4, z + 24, Blocks.monster_egg, 2, 3); + world.setBlock(x + 0, y + 4, z + 25, Blocks.stonebrick, 3, 3); + world.setBlock(x + 2, y + 4, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 4, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 4, z + 25, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 4, z + 26, Blocks.stonebrick, 3, 3); + world.setBlock(x + 2, y + 4, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 4, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 4, z + 26, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 4, z + 27, Blocks.stonebrick, 3, 3); + world.setBlock(x + 2, y + 4, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 4, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 4, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 4, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 4, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 4, z + 27, Blocks.stonebrick, 0, 3); + world.setBlock(x + 0, y + 4, z + 28, Blocks.stonebrick, 3, 3); + world.setBlock(x + 14, y + 4, z + 28, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 2, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 3, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 4, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 5, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 6, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 7, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 8, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 9, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 10, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 11, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 12, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 13, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 14, y + 4, z + 29, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 5, z + 0, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 1, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 5, z + 5, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 6, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 5, z + 10, Blocks.brick_stairs, 2, 3); + + generate_r02(world, rand, x, y, z); + return true; + + } + public boolean generate_r02(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 0, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 5, z + 15, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 16, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 5, z + 20, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 21, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 5, z + 29, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 6, z + 1, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 2, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 6, z + 6, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 7, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 6, z + 11, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 6, z + 16, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 17, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 6, z + 21, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 22, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 6, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 6, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 6, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 6, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 6, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 6, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 7, z + 2, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 3, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 7, z + 7, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 8, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 7, z + 12, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 7, z + 17, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 18, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 7, z + 22, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 7, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 7, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 7, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 7, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 7, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 7, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 8, z + 3, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 8, z + 4, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 8, z + 8, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 8, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 8, z + 13, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 8, z + 14, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 8, z + 18, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 8, z + 19, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 8, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 8, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 8, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 8, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 8, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 11, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 12, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 13, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 14, y + 8, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 8, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 8, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 1, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 8, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 8, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 8, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 1, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 9, y + 8, z + 28, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 8, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 8, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 8, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 9, z + 4, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 9, z + 9, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 9, z + 14, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 0, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 3, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 6, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 7, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 9, z + 19, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 9, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 9, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 9, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 9, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 9, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 0, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 1, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 9, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 9, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 8, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 9, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 10, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 11, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 12, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 13, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 14, y + 9, z + 24, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 9, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 9, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 9, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 9, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 9, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 9, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 9, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 9, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 9, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 10, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 10, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 10, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 10, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 10, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 10, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 10, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 10, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 10, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 10, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 10, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 10, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 10, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 10, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 10, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 10, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 11, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 11, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 11, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 11, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 11, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 11, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 11, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 11, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 11, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 11, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 11, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 11, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 11, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 11, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 11, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 11, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 12, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 12, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 12, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 12, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 12, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 12, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 12, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 12, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 12, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 12, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 12, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 12, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 12, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 12, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 12, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 12, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 13, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 13, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 13, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 13, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 13, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 13, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 13, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 13, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 13, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 13, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 13, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 13, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 13, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 13, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 13, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 13, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 14, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 14, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 14, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 14, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 14, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 14, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 14, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 14, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 14, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 14, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 14, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 14, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 14, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 14, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 14, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 14, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 15, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 15, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 15, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 15, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 15, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 15, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 15, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 15, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 15, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 15, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 15, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 15, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 15, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 15, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 15, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 15, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 16, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 16, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 16, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 16, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 16, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 16, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 16, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 16, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 16, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 16, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 16, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 16, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 16, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 16, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 16, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 16, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 17, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 17, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 17, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 17, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 17, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 17, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 17, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 17, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 17, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 17, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 17, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 17, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 18, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 18, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 18, z + 23, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 18, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 18, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 18, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 18, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 18, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 18, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 2, y + 18, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 18, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 18, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 18, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 18, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 18, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 18, z + 27, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 19, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 4, y + 19, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 5, y + 19, z + 23, Blocks.brick_stairs, 2, 3); + world.setBlock(x + 2, y + 19, z + 24, Blocks.brick_stairs, 0, 3); + world.setBlock(x + 3, y + 19, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 19, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 19, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 19, z + 24, Blocks.brick_stairs, 1, 3); + world.setBlock(x + 2, y + 19, z + 25, Blocks.brick_stairs, 0, 3); + world.setBlock(x + 3, y + 19, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 19, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 19, z + 25, Blocks.brick_stairs, 1, 3); + world.setBlock(x + 2, y + 19, z + 26, Blocks.brick_stairs, 0, 3); + world.setBlock(x + 3, y + 19, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 19, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 19, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 19, z + 26, Blocks.brick_stairs, 1, 3); + world.setBlock(x + 3, y + 19, z + 27, Blocks.brick_stairs, 3, 3); + world.setBlock(x + 4, y + 19, z + 27, Blocks.brick_stairs, 3, 3); + world.setBlock(x + 5, y + 19, z + 27, Blocks.brick_stairs, 3, 3); + world.setBlock(x + 3, y + 20, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 20, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 20, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 20, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 20, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 20, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 20, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 20, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 21, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 21, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 21, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 21, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 21, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 21, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 21, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 21, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 22, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 22, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 22, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 22, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 22, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 22, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 22, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 22, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 23, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 23, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 23, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 23, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 23, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 23, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 23, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 23, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 24, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 24, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 24, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 24, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 24, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 24, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 24, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 24, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 25, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 25, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 25, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 25, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 25, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 25, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 25, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 25, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 26, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 26, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 26, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 26, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 26, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 26, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 26, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 26, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 27, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 27, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 27, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 27, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 28, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 28, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 28, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 28, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 29, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 29, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 29, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 29, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 30, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 30, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 30, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 30, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 30, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 30, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 30, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 30, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 31, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 31, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 31, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 31, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 31, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 31, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 31, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 31, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 32, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 32, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 32, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 32, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 32, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 32, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 32, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 32, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 33, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 33, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 33, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 33, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 33, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 33, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 33, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 33, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 34, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 34, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 34, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 34, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 34, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 34, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 34, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 34, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 35, z + 24, Blocks.brick_block, 0, 3); + world.setBlock(x + 3, y + 35, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 35, z + 25, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 35, z + 26, Blocks.brick_block, 0, 3); + world.setBlock(x + 4, y + 36, z + 25, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 37, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 37, z + 23, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 37, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 37, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 37, z + 25, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 37, z + 25, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 38, z + 20, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 38, z + 20, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 38, z + 20, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 38, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 38, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 38, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 38, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 38, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 38, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 38, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 38, z + 23, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 38, z + 23, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 38, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 38, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 39, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 39, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 12, y + 39, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 39, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 39, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 39, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 12, y + 39, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 39, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 39, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 39, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 12, y + 39, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 39, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 39, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 39, z + 20, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 39, z + 20, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 39, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 39, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 39, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 39, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 39, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 39, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 39, z + 23, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 40, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 40, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 40, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 12, y + 40, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 40, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 40, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 40, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 40, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 40, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 40, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 11, y + 41, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 41, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 17, y + 42, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 18, y + 42, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 42, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 17, y + 42, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 18, y + 42, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 19, y + 42, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 15, y + 42, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 42, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 17, y + 42, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 18, y + 42, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 15, y + 42, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 16, y + 42, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 17, y + 42, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 17, y + 43, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 18, y + 43, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 17, y + 43, z + 11, Blocks.web, 0, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned abandoned factory at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/FactoryAdvanced.java b/com/hbm/world/FactoryAdvanced.java index 22ab898d7..36844d578 100644 --- a/com/hbm/world/FactoryAdvanced.java +++ b/com/hbm/world/FactoryAdvanced.java @@ -1,71 +1,71 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class FactoryAdvanced extends WorldGenerator -{ - Block Block1 = ModBlocks.factory_advanced_hull; - Block Block2 = ModBlocks.factory_advanced_conductor; - Block Block3 = ModBlocks.factory_advanced_furnace; - Block Block4 = ModBlocks.factory_advanced_core; - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - x -= 1; - z -= 1; - - world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, Block3, 2, 3); - world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, Block3, 4, 3); - world.setBlock(x + 1, y + 1, z + 1, Block4, 0, 3); - world.setBlock(x + 2, y + 1, z + 1, Block3, 5, 3); - world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 2, Block3, 3, 3); - world.setBlock(x + 2, y + 1, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Block1, 0, 3); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class FactoryAdvanced extends WorldGenerator +{ + Block Block1 = ModBlocks.factory_advanced_hull; + Block Block2 = ModBlocks.factory_advanced_conductor; + Block Block3 = ModBlocks.factory_advanced_furnace; + Block Block4 = ModBlocks.factory_advanced_core; + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + x -= 1; + z -= 1; + + world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, Block3, 2, 3); + world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, Block3, 4, 3); + world.setBlock(x + 1, y + 1, z + 1, Block4, 0, 3); + world.setBlock(x + 2, y + 1, z + 1, Block3, 5, 3); + world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 2, Block3, 3, 3); + world.setBlock(x + 2, y + 1, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Block1, 0, 3); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/FactoryTitanium.java b/com/hbm/world/FactoryTitanium.java index 93be81a82..d5c15fb8b 100644 --- a/com/hbm/world/FactoryTitanium.java +++ b/com/hbm/world/FactoryTitanium.java @@ -1,72 +1,72 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - - -public class FactoryTitanium extends WorldGenerator -{ - Block Block1 = ModBlocks.factory_titanium_hull; - Block Block2 = ModBlocks.factory_titanium_conductor; - Block Block3 = ModBlocks.factory_titanium_furnace; - Block Block4 = ModBlocks.factory_titanium_core; - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - x -= 1; - z -= 1; - - world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, Block3, 2, 3); - world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, Block3, 4, 3); - world.setBlock(x + 1, y + 1, z + 1, Block4, 0, 3); - world.setBlock(x + 2, y + 1, z + 1, Block3, 5, 3); - world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 2, Block3, 3, 3); - world.setBlock(x + 2, y + 1, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Block1, 0, 3); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + + +public class FactoryTitanium extends WorldGenerator +{ + Block Block1 = ModBlocks.factory_titanium_hull; + Block Block2 = ModBlocks.factory_titanium_conductor; + Block Block3 = ModBlocks.factory_titanium_furnace; + Block Block4 = ModBlocks.factory_titanium_core; + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + x -= 1; + z -= 1; + + world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, Block3, 2, 3); + world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, Block3, 4, 3); + world.setBlock(x + 1, y + 1, z + 1, Block4, 0, 3); + world.setBlock(x + 2, y + 1, z + 1, Block3, 5, 3); + world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 2, Block3, 3, 3); + world.setBlock(x + 2, y + 1, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Block1, 0, 3); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/FusionReactor.java b/com/hbm/world/FusionReactor.java index dd307fb61..17f0d78ea 100644 --- a/com/hbm/world/FusionReactor.java +++ b/com/hbm/world/FusionReactor.java @@ -1,1492 +1,1492 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class FusionReactor extends WorldGenerator -{ - Block Block1 = ModBlocks.fusion_heater; - Block Block2 = ModBlocks.fusion_conductor; - Block Block3 = ModBlocks.fusion_motor; - Block Block4 = ModBlocks.fusion_center; - Block Block5 = ModBlocks.block_tungsten; - Block Block6 = ModBlocks.fusion_hatch; - Block Block7 = ModBlocks.fusion_core; - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - x -= 8; - z -= 8; - - world.setBlock(x + 0, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 9, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 10, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 11, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 11, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 9, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 10, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 11, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 14, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 6, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 6, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 6, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 6, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 6, Block2, 0, 3); - world.setBlock(x + 14, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 7, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 7, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 7, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 7, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 7, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 7, Block3, 0, 3); - world.setBlock(x + 10, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 7, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 16, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 8, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 8, Block4, 0, 3); - world.setBlock(x + 9, y + 0, z + 8, Block3, 0, 3); - world.setBlock(x + 10, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 9, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 9, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 9, Block3, 0, 3); - world.setBlock(x + 10, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 14, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 16, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 10, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 10, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 10, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 10, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 10, Block2, 0, 3); - world.setBlock(x + 14, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 4, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 9, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 10, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 11, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 11, Block2, 0, 3); - world.setBlock(x + 14, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 9, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 10, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 11, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 9, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 10, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 11, y + 0, z + 13, Block2, 0, 3); - world.setBlock(x + 12, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 16, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + 1, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + 1, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 9, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 9, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 13, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 1, z + 4, Block5, 0, 3); - world.setBlock(x + 6, y + 1, z + 4, Block5, 0, 3); - world.setBlock(x + 7, y + 1, z + 4, Block5, 0, 3); - world.setBlock(x + 8, y + 1, z + 4, Block5, 0, 3); - world.setBlock(x + 9, y + 1, z + 4, Block5, 0, 3); - world.setBlock(x + 10, y + 1, z + 4, Block5, 0, 3); - world.setBlock(x + 11, y + 1, z + 4, Block5, 0, 3); - world.setBlock(x + 12, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 13, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 5, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 5, Block5, 0, 3); - world.setBlock(x + 6, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 9, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 5, Block5, 0, 3); - world.setBlock(x + 12, y + 1, z + 5, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 3, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 6, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 9, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 6, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 15, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 3, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 7, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 7, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 15, y + 1, z + 7, Block1, 0, 3); - world.setBlock(x + 16, y + 1, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 3, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 8, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 8, Block4, 0, 3); - world.setBlock(x + 9, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 8, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 15, y + 1, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + 1, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 3, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 9, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 9, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 15, y + 1, z + 9, Block1, 0, 3); - world.setBlock(x + 16, y + 1, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 3, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 9, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 10, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 10, Block2, 0, 3); - world.setBlock(x + 15, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 3, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 1, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 9, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 1, z + 11, Block5, 0, 3); - world.setBlock(x + 13, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 11, Block2, 0, 3); - world.setBlock(x + 15, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 12, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 12, Block2, 0, 3); - world.setBlock(x + 5, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 6, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 7, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 9, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 10, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 11, y + 1, z + 12, Block5, 0, 3); - world.setBlock(x + 12, y + 1, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 1, z + 12, Block2, 0, 3); - world.setBlock(x + 14, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 5, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 9, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 13, Block2, 0, 3); - world.setBlock(x + 13, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 14, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 14, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 14, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 14, Block2, 0, 3); - world.setBlock(x + 9, y + 1, z + 14, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 14, Block2, 0, 3); - world.setBlock(x + 11, y + 1, z + 14, Block2, 0, 3); - world.setBlock(x + 12, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + 1, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + 1, z + 16, Block1, 0, 3); - world.setBlock(x + 10, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + 2, z + 0, Block6, 2, 3); - world.setBlock(x + 9, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 6, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 9, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 10, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 11, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 12, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + 2, z + 3, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 3, Block5, 0, 3); - world.setBlock(x + 7, y + 2, z + 3, Block5, 0, 3); - world.setBlock(x + 8, y + 2, z + 3, Block5, 0, 3); - world.setBlock(x + 9, y + 2, z + 3, Block5, 0, 3); - world.setBlock(x + 10, y + 2, z + 3, Block5, 0, 3); - world.setBlock(x + 11, y + 2, z + 3, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 13, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 7, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 8, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 9, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 10, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 11, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 4, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 14, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 4, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 7, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 8, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 9, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 10, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 11, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 5, Block5, 0, 3); - world.setBlock(x + 14, y + 2, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 6, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 6, Block5, 0, 3); - world.setBlock(x + 4, y + 2, z + 6, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 6, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 6, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 6, Block2, 0, 3); - world.setBlock(x + 9, y + 2, z + 6, Block2, 0, 3); - world.setBlock(x + 10, y + 2, z + 6, Block2, 0, 3); - world.setBlock(x + 11, y + 2, z + 6, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 6, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 6, Block5, 0, 3); - world.setBlock(x + 14, y + 2, z + 6, Block2, 0, 3); - world.setBlock(x + 15, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 7, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 7, Block5, 0, 3); - world.setBlock(x + 4, y + 2, z + 7, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 7, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 7, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 7, Block2, 0, 3); - world.setBlock(x + 11, y + 2, z + 7, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 7, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 7, Block5, 0, 3); - world.setBlock(x + 14, y + 2, z + 7, Block2, 0, 3); - world.setBlock(x + 15, y + 2, z + 7, Block1, 0, 3); - world.setBlock(x + 16, y + 2, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 8, Block6, 4, 3); - world.setBlock(x + 1, y + 2, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 4, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 8, Block7, 0, 3); - world.setBlock(x + 9, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 11, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 8, Block5, 0, 3); - world.setBlock(x + 14, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 15, y + 2, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + 2, z + 8, Block6, 5, 3); - world.setBlock(x + 0, y + 2, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 9, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 9, Block5, 0, 3); - world.setBlock(x + 4, y + 2, z + 9, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 9, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 9, Block2, 0, 3); - world.setBlock(x + 11, y + 2, z + 9, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 9, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 9, Block5, 0, 3); - world.setBlock(x + 14, y + 2, z + 9, Block2, 0, 3); - world.setBlock(x + 15, y + 2, z + 9, Block1, 0, 3); - world.setBlock(x + 16, y + 2, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 10, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 4, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 10, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 10, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 10, Block2, 0, 3); - world.setBlock(x + 9, y + 2, z + 10, Block2, 0, 3); - world.setBlock(x + 10, y + 2, z + 10, Block2, 0, 3); - world.setBlock(x + 11, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 10, Block5, 0, 3); - world.setBlock(x + 14, y + 2, z + 10, Block2, 0, 3); - world.setBlock(x + 15, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 11, Block2, 0, 3); - world.setBlock(x + 3, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 4, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 7, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 8, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 9, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 10, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 11, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 11, Block5, 0, 3); - world.setBlock(x + 14, y + 2, z + 11, Block2, 0, 3); - world.setBlock(x + 15, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 12, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 5, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 7, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 9, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 10, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 11, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 12, Block5, 0, 3); - world.setBlock(x + 13, y + 2, z + 12, Block2, 0, 3); - world.setBlock(x + 14, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 13, Block2, 0, 3); - world.setBlock(x + 5, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 6, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 7, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 8, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 9, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 10, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 11, y + 2, z + 13, Block5, 0, 3); - world.setBlock(x + 12, y + 2, z + 13, Block2, 0, 3); - world.setBlock(x + 13, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 14, Block2, 0, 3); - world.setBlock(x + 6, y + 2, z + 14, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 14, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 14, Block2, 0, 3); - world.setBlock(x + 9, y + 2, z + 14, Block2, 0, 3); - world.setBlock(x + 10, y + 2, z + 14, Block2, 0, 3); - world.setBlock(x + 11, y + 2, z + 14, Block2, 0, 3); - world.setBlock(x + 12, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + 2, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + 2, z + 16, Block6, 3, 3); - world.setBlock(x + 9, y + 2, z + 16, Block1, 0, 3); - world.setBlock(x + 10, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + 3, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + 3, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + 3, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + 3, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 2, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 2, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 2, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 2, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 2, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 2, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 13, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 3, z + 4, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 4, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 4, Block5, 0, 3); - world.setBlock(x + 8, y + 3, z + 4, Block5, 0, 3); - world.setBlock(x + 9, y + 3, z + 4, Block5, 0, 3); - world.setBlock(x + 10, y + 3, z + 4, Block5, 0, 3); - world.setBlock(x + 11, y + 3, z + 4, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 4, Block2, 0, 3); - world.setBlock(x + 13, y + 3, z + 4, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 5, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 5, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 5, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 5, Block5, 0, 3); - world.setBlock(x + 13, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 3, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 6, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 6, Block5, 0, 3); - world.setBlock(x + 13, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 15, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + 3, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 3, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 7, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 7, Block5, 0, 3); - world.setBlock(x + 13, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 15, y + 3, z + 7, Block1, 0, 3); - world.setBlock(x + 16, y + 3, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + 3, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + 3, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 3, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 8, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 8, Block4, 0, 3); - world.setBlock(x + 9, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 8, Block5, 0, 3); - world.setBlock(x + 13, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 15, y + 3, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + 3, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + 3, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + 3, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 3, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 9, Block5, 0, 3); - world.setBlock(x + 13, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 15, y + 3, z + 9, Block1, 0, 3); - world.setBlock(x + 16, y + 3, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + 3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 3, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 10, Block5, 0, 3); - world.setBlock(x + 13, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 10, Block2, 0, 3); - world.setBlock(x + 15, y + 3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 3, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 11, Block5, 0, 3); - world.setBlock(x + 13, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 11, Block2, 0, 3); - world.setBlock(x + 15, y + 3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 12, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 12, Block2, 0, 3); - world.setBlock(x + 5, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 6, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 7, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 9, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 10, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 11, y + 3, z + 12, Block5, 0, 3); - world.setBlock(x + 12, y + 3, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 3, z + 12, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 5, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 13, Block2, 0, 3); - world.setBlock(x + 13, y + 3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 14, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 14, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 14, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 14, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 14, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 14, Block2, 0, 3); - world.setBlock(x + 11, y + 3, z + 14, Block2, 0, 3); - world.setBlock(x + 12, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + 3, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + 3, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + 3, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + 3, z + 16, Block1, 0, 3); - world.setBlock(x + 10, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + 4, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + 4, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + 4, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + 4, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 9, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 9, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 14, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 6, Block2, 0, 3); - world.setBlock(x + 4, y + 4, z + 6, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 6, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 6, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 6, Block2, 0, 3); - world.setBlock(x + 14, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + 4, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 7, Block2, 0, 3); - world.setBlock(x + 4, y + 4, z + 7, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 7, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 7, Block3, 0, 3); - world.setBlock(x + 8, y + 4, z + 7, Block3, 0, 3); - world.setBlock(x + 9, y + 4, z + 7, Block3, 0, 3); - world.setBlock(x + 10, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 7, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 7, Block1, 0, 3); - world.setBlock(x + 16, y + 4, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + 4, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + 4, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 4, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 8, Block3, 0, 3); - world.setBlock(x + 8, y + 4, z + 8, Block4, 0, 3); - world.setBlock(x + 9, y + 4, z + 8, Block3, 0, 3); - world.setBlock(x + 10, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + 4, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + 4, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + 4, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 4, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 9, Block3, 0, 3); - world.setBlock(x + 8, y + 4, z + 9, Block3, 0, 3); - world.setBlock(x + 9, y + 4, z + 9, Block3, 0, 3); - world.setBlock(x + 10, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 14, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 9, Block1, 0, 3); - world.setBlock(x + 16, y + 4, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 10, Block2, 0, 3); - world.setBlock(x + 4, y + 4, z + 10, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 10, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 10, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 10, Block2, 0, 3); - world.setBlock(x + 14, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 4, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 9, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 11, Block2, 0, 3); - world.setBlock(x + 14, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 9, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 13, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 13, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 13, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 13, Block2, 0, 3); - world.setBlock(x + 9, y + 4, z + 13, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 13, Block2, 0, 3); - world.setBlock(x + 11, y + 4, z + 13, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + 4, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + 4, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + 4, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + 4, z + 16, Block1, 0, 3); - world.setBlock(x + 10, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 13, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 14, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 15, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 16, y + 4, z + 16, Blocks.air, 0, 3); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class FusionReactor extends WorldGenerator +{ + Block Block1 = ModBlocks.fusion_heater; + Block Block2 = ModBlocks.fusion_conductor; + Block Block3 = ModBlocks.fusion_motor; + Block Block4 = ModBlocks.fusion_center; + Block Block5 = ModBlocks.block_tungsten; + Block Block6 = ModBlocks.fusion_hatch; + Block Block7 = ModBlocks.fusion_core; + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + x -= 8; + z -= 8; + + world.setBlock(x + 0, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 9, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 10, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 11, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 11, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 9, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 10, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 11, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 14, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 6, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 6, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 6, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 6, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 6, Block2, 0, 3); + world.setBlock(x + 14, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 7, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 7, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 7, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 7, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 7, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 7, Block3, 0, 3); + world.setBlock(x + 10, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 7, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 16, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 8, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 8, Block4, 0, 3); + world.setBlock(x + 9, y + 0, z + 8, Block3, 0, 3); + world.setBlock(x + 10, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 9, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 9, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 9, Block3, 0, 3); + world.setBlock(x + 10, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 14, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 16, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 10, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 10, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 10, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 10, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 10, Block2, 0, 3); + world.setBlock(x + 14, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 4, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 9, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 10, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 11, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 11, Block2, 0, 3); + world.setBlock(x + 14, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 9, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 10, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 11, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 9, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 10, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 11, y + 0, z + 13, Block2, 0, 3); + world.setBlock(x + 12, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 16, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + 1, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + 1, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 9, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 9, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 13, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 1, z + 4, Block5, 0, 3); + world.setBlock(x + 6, y + 1, z + 4, Block5, 0, 3); + world.setBlock(x + 7, y + 1, z + 4, Block5, 0, 3); + world.setBlock(x + 8, y + 1, z + 4, Block5, 0, 3); + world.setBlock(x + 9, y + 1, z + 4, Block5, 0, 3); + world.setBlock(x + 10, y + 1, z + 4, Block5, 0, 3); + world.setBlock(x + 11, y + 1, z + 4, Block5, 0, 3); + world.setBlock(x + 12, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 13, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 5, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 5, Block5, 0, 3); + world.setBlock(x + 6, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 9, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 5, Block5, 0, 3); + world.setBlock(x + 12, y + 1, z + 5, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 3, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 6, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 9, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 6, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 15, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 3, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 7, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 7, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 15, y + 1, z + 7, Block1, 0, 3); + world.setBlock(x + 16, y + 1, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 3, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 8, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 8, Block4, 0, 3); + world.setBlock(x + 9, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 8, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 15, y + 1, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + 1, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 3, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 9, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 9, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 15, y + 1, z + 9, Block1, 0, 3); + world.setBlock(x + 16, y + 1, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 3, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 9, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 10, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 10, Block2, 0, 3); + world.setBlock(x + 15, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 3, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 1, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 9, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 1, z + 11, Block5, 0, 3); + world.setBlock(x + 13, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 11, Block2, 0, 3); + world.setBlock(x + 15, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 12, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 12, Block2, 0, 3); + world.setBlock(x + 5, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 6, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 7, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 9, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 10, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 11, y + 1, z + 12, Block5, 0, 3); + world.setBlock(x + 12, y + 1, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 1, z + 12, Block2, 0, 3); + world.setBlock(x + 14, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 5, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 9, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 13, Block2, 0, 3); + world.setBlock(x + 13, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 14, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 14, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 14, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 14, Block2, 0, 3); + world.setBlock(x + 9, y + 1, z + 14, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 14, Block2, 0, 3); + world.setBlock(x + 11, y + 1, z + 14, Block2, 0, 3); + world.setBlock(x + 12, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + 1, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + 1, z + 16, Block1, 0, 3); + world.setBlock(x + 10, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + 2, z + 0, Block6, 2, 3); + world.setBlock(x + 9, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 6, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 9, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 10, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 11, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 12, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + 2, z + 3, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 3, Block5, 0, 3); + world.setBlock(x + 7, y + 2, z + 3, Block5, 0, 3); + world.setBlock(x + 8, y + 2, z + 3, Block5, 0, 3); + world.setBlock(x + 9, y + 2, z + 3, Block5, 0, 3); + world.setBlock(x + 10, y + 2, z + 3, Block5, 0, 3); + world.setBlock(x + 11, y + 2, z + 3, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 13, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 7, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 8, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 9, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 10, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 11, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 4, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 14, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 4, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 7, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 8, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 9, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 10, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 11, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 5, Block5, 0, 3); + world.setBlock(x + 14, y + 2, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 6, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 6, Block5, 0, 3); + world.setBlock(x + 4, y + 2, z + 6, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 6, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 6, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 6, Block2, 0, 3); + world.setBlock(x + 9, y + 2, z + 6, Block2, 0, 3); + world.setBlock(x + 10, y + 2, z + 6, Block2, 0, 3); + world.setBlock(x + 11, y + 2, z + 6, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 6, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 6, Block5, 0, 3); + world.setBlock(x + 14, y + 2, z + 6, Block2, 0, 3); + world.setBlock(x + 15, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 7, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 7, Block5, 0, 3); + world.setBlock(x + 4, y + 2, z + 7, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 7, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 7, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 7, Block2, 0, 3); + world.setBlock(x + 11, y + 2, z + 7, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 7, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 7, Block5, 0, 3); + world.setBlock(x + 14, y + 2, z + 7, Block2, 0, 3); + world.setBlock(x + 15, y + 2, z + 7, Block1, 0, 3); + world.setBlock(x + 16, y + 2, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 8, Block6, 4, 3); + world.setBlock(x + 1, y + 2, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 4, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 8, Block7, 0, 3); + world.setBlock(x + 9, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 11, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 8, Block5, 0, 3); + world.setBlock(x + 14, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 15, y + 2, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + 2, z + 8, Block6, 5, 3); + world.setBlock(x + 0, y + 2, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 9, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 9, Block5, 0, 3); + world.setBlock(x + 4, y + 2, z + 9, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 9, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 9, Block2, 0, 3); + world.setBlock(x + 11, y + 2, z + 9, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 9, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 9, Block5, 0, 3); + world.setBlock(x + 14, y + 2, z + 9, Block2, 0, 3); + world.setBlock(x + 15, y + 2, z + 9, Block1, 0, 3); + world.setBlock(x + 16, y + 2, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 10, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 4, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 10, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 10, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 10, Block2, 0, 3); + world.setBlock(x + 9, y + 2, z + 10, Block2, 0, 3); + world.setBlock(x + 10, y + 2, z + 10, Block2, 0, 3); + world.setBlock(x + 11, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 10, Block5, 0, 3); + world.setBlock(x + 14, y + 2, z + 10, Block2, 0, 3); + world.setBlock(x + 15, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 11, Block2, 0, 3); + world.setBlock(x + 3, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 4, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 7, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 8, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 9, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 10, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 11, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 11, Block5, 0, 3); + world.setBlock(x + 14, y + 2, z + 11, Block2, 0, 3); + world.setBlock(x + 15, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 12, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 5, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 7, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 9, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 10, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 11, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 12, Block5, 0, 3); + world.setBlock(x + 13, y + 2, z + 12, Block2, 0, 3); + world.setBlock(x + 14, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 13, Block2, 0, 3); + world.setBlock(x + 5, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 6, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 7, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 8, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 9, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 10, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 11, y + 2, z + 13, Block5, 0, 3); + world.setBlock(x + 12, y + 2, z + 13, Block2, 0, 3); + world.setBlock(x + 13, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 14, Block2, 0, 3); + world.setBlock(x + 6, y + 2, z + 14, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 14, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 14, Block2, 0, 3); + world.setBlock(x + 9, y + 2, z + 14, Block2, 0, 3); + world.setBlock(x + 10, y + 2, z + 14, Block2, 0, 3); + world.setBlock(x + 11, y + 2, z + 14, Block2, 0, 3); + world.setBlock(x + 12, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + 2, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + 2, z + 16, Block6, 3, 3); + world.setBlock(x + 9, y + 2, z + 16, Block1, 0, 3); + world.setBlock(x + 10, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + 3, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + 3, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + 3, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + 3, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 2, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 2, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 2, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 2, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 2, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 2, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 13, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 3, z + 4, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 4, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 4, Block5, 0, 3); + world.setBlock(x + 8, y + 3, z + 4, Block5, 0, 3); + world.setBlock(x + 9, y + 3, z + 4, Block5, 0, 3); + world.setBlock(x + 10, y + 3, z + 4, Block5, 0, 3); + world.setBlock(x + 11, y + 3, z + 4, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 4, Block2, 0, 3); + world.setBlock(x + 13, y + 3, z + 4, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 5, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 5, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 5, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 5, Block5, 0, 3); + world.setBlock(x + 13, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 3, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 6, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 6, Block5, 0, 3); + world.setBlock(x + 13, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 15, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + 3, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 3, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 7, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 7, Block5, 0, 3); + world.setBlock(x + 13, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 15, y + 3, z + 7, Block1, 0, 3); + world.setBlock(x + 16, y + 3, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + 3, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + 3, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 3, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 8, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 8, Block4, 0, 3); + world.setBlock(x + 9, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 8, Block5, 0, 3); + world.setBlock(x + 13, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 15, y + 3, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + 3, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + 3, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + 3, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 3, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 9, Block5, 0, 3); + world.setBlock(x + 13, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 15, y + 3, z + 9, Block1, 0, 3); + world.setBlock(x + 16, y + 3, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + 3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 3, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 10, Block5, 0, 3); + world.setBlock(x + 13, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 10, Block2, 0, 3); + world.setBlock(x + 15, y + 3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 3, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 11, Block5, 0, 3); + world.setBlock(x + 13, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 11, Block2, 0, 3); + world.setBlock(x + 15, y + 3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 12, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 12, Block2, 0, 3); + world.setBlock(x + 5, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 6, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 7, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 9, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 10, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 11, y + 3, z + 12, Block5, 0, 3); + world.setBlock(x + 12, y + 3, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 3, z + 12, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 5, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 13, Block2, 0, 3); + world.setBlock(x + 13, y + 3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 14, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 14, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 14, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 14, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 14, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 14, Block2, 0, 3); + world.setBlock(x + 11, y + 3, z + 14, Block2, 0, 3); + world.setBlock(x + 12, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + 3, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + 3, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + 3, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + 3, z + 16, Block1, 0, 3); + world.setBlock(x + 10, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + 4, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + 4, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + 4, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + 4, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 9, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 9, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 14, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 6, Block2, 0, 3); + world.setBlock(x + 4, y + 4, z + 6, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 6, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 6, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 6, Block2, 0, 3); + world.setBlock(x + 14, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + 4, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 7, Block2, 0, 3); + world.setBlock(x + 4, y + 4, z + 7, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 7, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 7, Block3, 0, 3); + world.setBlock(x + 8, y + 4, z + 7, Block3, 0, 3); + world.setBlock(x + 9, y + 4, z + 7, Block3, 0, 3); + world.setBlock(x + 10, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 7, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 7, Block1, 0, 3); + world.setBlock(x + 16, y + 4, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + 4, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + 4, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 4, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 8, Block3, 0, 3); + world.setBlock(x + 8, y + 4, z + 8, Block4, 0, 3); + world.setBlock(x + 9, y + 4, z + 8, Block3, 0, 3); + world.setBlock(x + 10, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + 4, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + 4, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + 4, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 4, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 9, Block3, 0, 3); + world.setBlock(x + 8, y + 4, z + 9, Block3, 0, 3); + world.setBlock(x + 9, y + 4, z + 9, Block3, 0, 3); + world.setBlock(x + 10, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 14, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 9, Block1, 0, 3); + world.setBlock(x + 16, y + 4, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 10, Block2, 0, 3); + world.setBlock(x + 4, y + 4, z + 10, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 10, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 10, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 10, Block2, 0, 3); + world.setBlock(x + 14, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 4, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 9, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 11, Block2, 0, 3); + world.setBlock(x + 14, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 9, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 13, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 13, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 13, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 13, Block2, 0, 3); + world.setBlock(x + 9, y + 4, z + 13, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 13, Block2, 0, 3); + world.setBlock(x + 11, y + 4, z + 13, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + 4, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + 4, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + 4, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + 4, z + 16, Block1, 0, 3); + world.setBlock(x + 10, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 13, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 14, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 15, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 16, y + 4, z + 16, Blocks.air, 0, 3); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/HugeMush.java b/com/hbm/world/HugeMush.java index 4401709a0..f924697b1 100644 --- a/com/hbm/world/HugeMush.java +++ b/com/hbm/world/HugeMush.java @@ -1,75 +1,75 @@ -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; - -import net.minecraft.block.Block; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class HugeMush extends WorldGenerator -{ - Block Block0 = ModBlocks.mush_block; - Block Block1 = ModBlocks.mush_block_stem; - - public HugeMush() - { - super(false); - } - - @Override - public boolean generate(World world, Random rand, int x, int y, int z) - { - for(int i = -1; i < 2; i++) - { - for(int j = -1; j < 2; j++) - { - world.setBlock(x + i, y, z + j, Block0); - } - } - for(int i = -1; i < 2; i++) - { - for(int j = -1; j < 2; j++) - { - world.setBlock(x + i, y + 3, z + j, Block0); - } - } - for(int i = -2; i < 3; i++) - { - for(int j = -2; j < 3; j++) - { - world.setBlock(x + i, y + 5, z + j, Block0); - } - } - for(int i = -4; i < 5; i++) - { - for(int j = -4; j < 5; j++) - { - for(int k = 0; k < 3; k++) - { - world.setBlock(x + i, y + 6 + k, z + j, Block0); - } - } - } - for(int i = -3; i < 4; i++) - { - for(int j = -3; j < 4; j++) - { - world.setBlock(x + i, y + 9, z + j, Block0); - } - } - for(int i = -1; i < 2; i++) - { - for(int j = -1; j < 2; j++) - { - world.setBlock(x + i, y + 10, z + j, Block0); - } - } - for(int i = 0; i < 8; i++) - { - world.setBlock(x, y + i, z, Block1); - } - return true; - } -} +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class HugeMush extends WorldGenerator +{ + Block Block0 = ModBlocks.mush_block; + Block Block1 = ModBlocks.mush_block_stem; + + public HugeMush() + { + super(false); + } + + @Override + public boolean generate(World world, Random rand, int x, int y, int z) + { + for(int i = -1; i < 2; i++) + { + for(int j = -1; j < 2; j++) + { + world.setBlock(x + i, y, z + j, Block0); + } + } + for(int i = -1; i < 2; i++) + { + for(int j = -1; j < 2; j++) + { + world.setBlock(x + i, y + 3, z + j, Block0); + } + } + for(int i = -2; i < 3; i++) + { + for(int j = -2; j < 3; j++) + { + world.setBlock(x + i, y + 5, z + j, Block0); + } + } + for(int i = -4; i < 5; i++) + { + for(int j = -4; j < 5; j++) + { + for(int k = 0; k < 3; k++) + { + world.setBlock(x + i, y + 6 + k, z + j, Block0); + } + } + } + for(int i = -3; i < 4; i++) + { + for(int j = -3; j < 4; j++) + { + world.setBlock(x + i, y + 9, z + j, Block0); + } + } + for(int i = -1; i < 2; i++) + { + for(int j = -1; j < 2; j++) + { + world.setBlock(x + i, y + 10, z + j, Block0); + } + } + for(int i = 0; i < 8; i++) + { + world.setBlock(x, y + i, z, Block1); + } + return true; + } +} diff --git a/com/hbm/world/LibraryDungeon.java b/com/hbm/world/LibraryDungeon.java index 9d53e4549..2b204aa28 100644 --- a/com/hbm/world/LibraryDungeon.java +++ b/com/hbm/world/LibraryDungeon.java @@ -1,1080 +1,1080 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import static net.minecraftforge.common.ChestGenHooks.DUNGEON_CHEST; - -import java.util.Random; - -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.tileentity.TileEntityMobSpawner; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; -import net.minecraftforge.common.ChestGenHooks; -import net.minecraftforge.common.DungeonHooks; - -public class LibraryDungeon extends WorldGenerator -{ - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block blockAbove = world.getBlock(x, y + 8, z); - Block blockBelow = world.getBlock(x, y - 1, z); - - if(blockAbove.getMaterial().isSolid() && blockBelow.getMaterial().isSolid() && y - 1 > 4) - { - return true; - } - return false; - } - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x, y, z) || !LocationIsValidSpawn(world, x + 8, y, z) || !LocationIsValidSpawn(world, x + 8, y, z + 10) || !LocationIsValidSpawn(world, x, y, z + 10)) - { - return false; - } - - world.setBlock(x + 0, y + 0, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 0, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 0, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 1, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 1, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 1, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 1, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 2, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 2, Blocks.air, 0, 3); - - world.setBlock(x + 6, y + 1, z + 2, Blocks.mob_spawner, 0, 2); - TileEntityMobSpawner tileentitymobspawner = (TileEntityMobSpawner)world.getTileEntity(x + 6, y + 1, z + 2); - - if (tileentitymobspawner != null) - { - tileentitymobspawner.func_145881_a().setEntityName(this.pickMobSpawner(rand)); - } - else - { - System.err.println("Failed to fetch mob spawner entity at (" + (x + 6) + ", " + (y + 1) + ", " + (z + 2) + ")"); - } - world.setBlock(x + 7, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 3, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 3, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 4, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 5, Blocks.chest, 5, 3); - TileEntityChest tileentitychest = (TileEntityChest)world.getTileEntity(x + 1, y + 1, z + 5); - - if (tileentitychest != null) - { - WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); - } - world.setBlock(x + 2, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 6, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 6, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 7, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 8, Blocks.chest, 5, 3); - TileEntityChest tileentitychest1 = (TileEntityChest)world.getTileEntity(x + 1, y + 1, z + 8); - - if (tileentitychest1 != null) - { - WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest1, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); - } - world.setBlock(x + 2, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 8, Blocks.bedrock, 0, 3); - - world.setBlock(x + 6, y + 1, z + 8, Blocks.mob_spawner, 0, 2); - TileEntityMobSpawner tileentitymobspawner1 = (TileEntityMobSpawner)world.getTileEntity(x + 6, y + 1, z + 8); - - if (tileentitymobspawner1 != null) - { - tileentitymobspawner1.func_145881_a().setEntityName(this.pickMobSpawner(rand)); - } - else - { - System.err.println("Failed to fetch mob spawner entity at (" + (x + 6) + ", " + (y + 1) + ", " + (z + 8) + ")"); - } - world.setBlock(x + 7, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 1, z + 9, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 1, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 1, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 2, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 2, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 2, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 1, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 2, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 3, Blocks.chest, 5, 3); - TileEntityChest tileentitychest2 = (TileEntityChest)world.getTileEntity(x + 1, y + 2, z + 3); - - if (tileentitychest2 != null) - { - WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest2, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); - } - world.setBlock(x + 2, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 3, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 4, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 6, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 6, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 7, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 8, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 2, z + 9, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 2, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 2, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 3, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 3, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 3, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 3, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 3, z + 3, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 3, y + 3, z + 3, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 4, y + 3, z + 3, Blocks.double_wooden_slab, 0, 3); - world.setBlock(x + 6, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 3, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 3, y + 3, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 4, y + 3, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 3, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 3, y + 3, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 4, y + 3, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 6, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 3, z + 6, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 3, y + 3, z + 6, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 4, y + 3, z + 6, Blocks.double_wooden_slab, 0, 3); - world.setBlock(x + 6, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 7, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 3, z + 7, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 3, y + 3, z + 7, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 4, y + 3, z + 7, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 8, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 3, z + 8, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 3, y + 3, z + 8, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 4, y + 3, z + 8, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 3, z + 9, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 3, z + 9, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 3, y + 3, z + 9, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 4, y + 3, z + 9, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 3, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 3, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 4, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 4, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 3, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 4, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 5, Blocks.chest, 5, 3); - TileEntityChest tileentitychest3 = (TileEntityChest)world.getTileEntity(x + 1, y + 4, z + 5); - - if (tileentitychest3 != null) - { - WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest3, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); - } - world.setBlock(x + 2, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 5, Blocks.bedrock, 0, 3); - - world.setBlock(x + 3, y + 4, z + 5, Blocks.mob_spawner, 0, 2); - TileEntityMobSpawner tileentitymobspawner2 = (TileEntityMobSpawner)world.getTileEntity(x + 3, y + 4, z + 5); - - if (tileentitymobspawner2 != null) - { - tileentitymobspawner2.func_145881_a().setEntityName(this.pickMobSpawner(rand)); - } - else - { - System.err.println("Failed to fetch mob spawner entity at (" + (x + 3) + ", " + (y + 4) + ", " + (z + 5) + ")"); - } - world.setBlock(x + 4, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 6, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 6, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 7, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 8, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 4, z + 9, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 4, z + 9, Blocks.chest, 2, 3); - TileEntityChest tileentitychest4 = (TileEntityChest)world.getTileEntity(x + 2, y + 4, z + 9); - - if (tileentitychest4 != null) - { - WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest4, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); - } - world.setBlock(x + 3, y + 4, z + 9, getShelf(rand), 0, 3); - world.setBlock(x + 4, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 4, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 4, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 5, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 5, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 5, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 1, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 5, z + 1, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 6, y + 5, z + 1, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 7, y + 5, z + 1, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 8, y + 5, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 2, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 5, z + 2, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 6, y + 5, z + 2, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 7, y + 5, z + 2, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 8, y + 5, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 3, Blocks.double_wooden_slab, 0, 3); - world.setBlock(x + 5, y + 5, z + 3, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 6, y + 5, z + 3, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 7, y + 5, z + 3, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 8, y + 5, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 4, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 5, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 6, y + 5, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 7, y + 5, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 8, y + 5, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 2, y + 5, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 5, y + 5, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 6, y + 5, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 7, y + 5, z + 5, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 8, y + 5, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 6, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 6, Blocks.double_wooden_slab, 0, 3); - world.setBlock(x + 5, y + 5, z + 6, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 6, y + 5, z + 6, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 7, y + 5, z + 6, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 8, y + 5, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 7, Blocks.chest, 5, 3); - TileEntityChest tileentitychest5 = (TileEntityChest)world.getTileEntity(x + 1, y + 5, z + 7); - - if (tileentitychest5 != null) - { - WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest5, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); - } - world.setBlock(x + 2, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 8, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 5, z + 9, getShelf(rand), 0, 3); - world.setBlock(x + 2, y + 5, z + 9, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 3, y + 5, z + 9, getShelf(rand), 0, 3); - world.setBlock(x + 4, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 5, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 5, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 6, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 6, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 6, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 1, getShelf(rand), 0, 3); - world.setBlock(x + 6, y + 6, z + 1, Blocks.chest, 3, 3); - TileEntityChest tileentitychest6 = (TileEntityChest)world.getTileEntity(x + 6, y + 6, z + 1); - - if (tileentitychest6 != null) - { - WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest6, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); - } - world.setBlock(x + 7, y + 6, z + 1, getShelf(rand), 0, 3); - world.setBlock(x + 8, y + 6, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 2, getShelf(rand), 0, 3); - world.setBlock(x + 8, y + 6, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 3, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 3, getShelf(rand), 0, 3); - world.setBlock(x + 8, y + 6, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 4, Blocks.bedrock, 0, 3); - - world.setBlock(x + 5, y + 6, z + 4, Blocks.mob_spawner, 0, 2); - TileEntityMobSpawner tileentitymobspawner3 = (TileEntityMobSpawner)world.getTileEntity(x + 5, y + 6, z + 4); - - if (tileentitymobspawner3 != null) - { - tileentitymobspawner3.func_145881_a().setEntityName(this.pickMobSpawner(rand)); - } - else - { - System.err.println("Failed to fetch mob spawner entity at (" + (x + 5) + ", " + (y + 6) + ", " + (z + 4) + ")"); - } - world.setBlock(x + 6, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 4, Blocks.chest, 4, 3); - TileEntityChest tileentitychest7 = (TileEntityChest)world.getTileEntity(x + 7, y + 6, z + 4); - - if (tileentitychest7 != null) - { - WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest7, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); - } - world.setBlock(x + 8, y + 6, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 5, getShelf(rand), 0, 3); - world.setBlock(x + 8, y + 6, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 6, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 6, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 6, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 7, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 7, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 7, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 1, getShelf(rand), 0, 3); - world.setBlock(x + 6, y + 7, z + 1, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 7, y + 7, z + 1, getShelf(rand), 0, 3); - world.setBlock(x + 8, y + 7, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 2, getShelf(rand), 0, 3); - world.setBlock(x + 8, y + 7, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 3, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 7, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 3, getShelf(rand), 0, 3); - world.setBlock(x + 8, y + 7, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 4, Blocks.wooden_slab, 8, 3); - world.setBlock(x + 8, y + 7, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 5, getShelf(rand), 0, 3); - world.setBlock(x + 8, y + 7, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 6, Blocks.fence, 0, 3); - world.setBlock(x + 5, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 7, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 7, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 8, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 0, Blocks.stonebrick, 3, 3); - world.setBlock(x + 0, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 1, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 0, y + 8, z + 10, Blocks.stonebrick, 3, 3); - world.setBlock(x + 1, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 2, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 3, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 4, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 5, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 6, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 7, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); - world.setBlock(x + 8, y + 8, z + 10, Blocks.stonebrick, 3, 3); - - generate_r02_last(world, rand, x, y, z); - return true; - - } - public boolean generate_r02_last(World world, Random rand, int x, int y, int z) - { - - /*world.setBlock(x + 4, y + 3, z + 2, Blocks.torch, 4, 3); - world.setBlock(x + 5, y + 3, z + 3, Blocks.torch, 1, 3); - world.setBlock(x + 5, y + 3, z + 6, Blocks.torch, 1, 3); - world.setBlock(x + 3, y + 5, z + 3, Blocks.torch, 2, 3); - world.setBlock(x + 3, y + 5, z + 6, Blocks.torch, 2, 3); - world.setBlock(x + 4, y + 5, z + 7, Blocks.torch, 3, 3);*/ - world.setBlock(x + 4, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 7, Blocks.air, 0, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned library at " + x + " " + y +" " + z + "\n"); - return true; - - } - public int getBrick(Random rand) { - return rand.nextInt(3); - - } - public Block getShelf(Random rand) { - int i = rand.nextInt(2); - if(i == 0) - { - return Blocks.planks; - } - return Blocks.bookshelf; - } - private String pickMobSpawner(Random p_76543_1_) - { - return DungeonHooks.getRandomDungeonMob(p_76543_1_); - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import static net.minecraftforge.common.ChestGenHooks.DUNGEON_CHEST; + +import java.util.Random; + +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.tileentity.TileEntityMobSpawner; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; +import net.minecraftforge.common.ChestGenHooks; +import net.minecraftforge.common.DungeonHooks; + +public class LibraryDungeon extends WorldGenerator +{ + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block blockAbove = world.getBlock(x, y + 8, z); + Block blockBelow = world.getBlock(x, y - 1, z); + + if(blockAbove.getMaterial().isSolid() && blockBelow.getMaterial().isSolid() && y - 1 > 4) + { + return true; + } + return false; + } + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x, y, z) || !LocationIsValidSpawn(world, x + 8, y, z) || !LocationIsValidSpawn(world, x + 8, y, z + 10) || !LocationIsValidSpawn(world, x, y, z + 10)) + { + return false; + } + + world.setBlock(x + 0, y + 0, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 0, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 0, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 0, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 1, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 1, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 1, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 1, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 1, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 2, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 2, Blocks.air, 0, 3); + + world.setBlock(x + 6, y + 1, z + 2, Blocks.mob_spawner, 0, 2); + TileEntityMobSpawner tileentitymobspawner = (TileEntityMobSpawner)world.getTileEntity(x + 6, y + 1, z + 2); + + if (tileentitymobspawner != null) + { + tileentitymobspawner.func_145881_a().setEntityName(this.pickMobSpawner(rand)); + } + else + { + System.err.println("Failed to fetch mob spawner entity at (" + (x + 6) + ", " + (y + 1) + ", " + (z + 2) + ")"); + } + world.setBlock(x + 7, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 3, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 3, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 4, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 5, Blocks.chest, 5, 3); + TileEntityChest tileentitychest = (TileEntityChest)world.getTileEntity(x + 1, y + 1, z + 5); + + if (tileentitychest != null) + { + WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); + } + world.setBlock(x + 2, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 6, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 6, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 7, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 8, Blocks.chest, 5, 3); + TileEntityChest tileentitychest1 = (TileEntityChest)world.getTileEntity(x + 1, y + 1, z + 8); + + if (tileentitychest1 != null) + { + WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest1, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); + } + world.setBlock(x + 2, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 8, Blocks.bedrock, 0, 3); + + world.setBlock(x + 6, y + 1, z + 8, Blocks.mob_spawner, 0, 2); + TileEntityMobSpawner tileentitymobspawner1 = (TileEntityMobSpawner)world.getTileEntity(x + 6, y + 1, z + 8); + + if (tileentitymobspawner1 != null) + { + tileentitymobspawner1.func_145881_a().setEntityName(this.pickMobSpawner(rand)); + } + else + { + System.err.println("Failed to fetch mob spawner entity at (" + (x + 6) + ", " + (y + 1) + ", " + (z + 8) + ")"); + } + world.setBlock(x + 7, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 1, z + 9, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 1, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 1, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 1, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 2, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 2, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 2, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 2, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 1, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 2, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 3, Blocks.chest, 5, 3); + TileEntityChest tileentitychest2 = (TileEntityChest)world.getTileEntity(x + 1, y + 2, z + 3); + + if (tileentitychest2 != null) + { + WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest2, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); + } + world.setBlock(x + 2, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 3, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 4, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 6, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 6, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 7, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 8, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 2, z + 9, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 2, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 2, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 2, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 3, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 3, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 3, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 3, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 3, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 3, z + 3, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 3, y + 3, z + 3, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 4, y + 3, z + 3, Blocks.double_wooden_slab, 0, 3); + world.setBlock(x + 6, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 3, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 3, y + 3, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 4, y + 3, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 3, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 3, y + 3, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 4, y + 3, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 6, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 3, z + 6, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 3, y + 3, z + 6, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 4, y + 3, z + 6, Blocks.double_wooden_slab, 0, 3); + world.setBlock(x + 6, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 7, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 3, z + 7, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 3, y + 3, z + 7, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 4, y + 3, z + 7, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 8, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 3, z + 8, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 3, y + 3, z + 8, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 4, y + 3, z + 8, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 3, z + 9, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 3, z + 9, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 3, y + 3, z + 9, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 4, y + 3, z + 9, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 3, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 3, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 3, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 4, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 4, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 4, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 3, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 4, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 5, Blocks.chest, 5, 3); + TileEntityChest tileentitychest3 = (TileEntityChest)world.getTileEntity(x + 1, y + 4, z + 5); + + if (tileentitychest3 != null) + { + WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest3, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); + } + world.setBlock(x + 2, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 5, Blocks.bedrock, 0, 3); + + world.setBlock(x + 3, y + 4, z + 5, Blocks.mob_spawner, 0, 2); + TileEntityMobSpawner tileentitymobspawner2 = (TileEntityMobSpawner)world.getTileEntity(x + 3, y + 4, z + 5); + + if (tileentitymobspawner2 != null) + { + tileentitymobspawner2.func_145881_a().setEntityName(this.pickMobSpawner(rand)); + } + else + { + System.err.println("Failed to fetch mob spawner entity at (" + (x + 3) + ", " + (y + 4) + ", " + (z + 5) + ")"); + } + world.setBlock(x + 4, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 6, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 6, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 7, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 8, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 4, z + 9, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 4, z + 9, Blocks.chest, 2, 3); + TileEntityChest tileentitychest4 = (TileEntityChest)world.getTileEntity(x + 2, y + 4, z + 9); + + if (tileentitychest4 != null) + { + WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest4, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); + } + world.setBlock(x + 3, y + 4, z + 9, getShelf(rand), 0, 3); + world.setBlock(x + 4, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 4, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 4, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 4, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 5, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 5, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 5, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 5, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 1, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 5, z + 1, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 6, y + 5, z + 1, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 7, y + 5, z + 1, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 8, y + 5, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 2, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 5, z + 2, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 6, y + 5, z + 2, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 7, y + 5, z + 2, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 8, y + 5, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 3, Blocks.double_wooden_slab, 0, 3); + world.setBlock(x + 5, y + 5, z + 3, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 6, y + 5, z + 3, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 7, y + 5, z + 3, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 8, y + 5, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 4, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 5, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 6, y + 5, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 7, y + 5, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 8, y + 5, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 2, y + 5, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 5, y + 5, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 6, y + 5, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 7, y + 5, z + 5, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 8, y + 5, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 6, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 6, Blocks.double_wooden_slab, 0, 3); + world.setBlock(x + 5, y + 5, z + 6, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 6, y + 5, z + 6, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 7, y + 5, z + 6, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 8, y + 5, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 7, Blocks.chest, 5, 3); + TileEntityChest tileentitychest5 = (TileEntityChest)world.getTileEntity(x + 1, y + 5, z + 7); + + if (tileentitychest5 != null) + { + WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest5, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); + } + world.setBlock(x + 2, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 8, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 5, z + 9, getShelf(rand), 0, 3); + world.setBlock(x + 2, y + 5, z + 9, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 3, y + 5, z + 9, getShelf(rand), 0, 3); + world.setBlock(x + 4, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 5, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 5, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 5, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 6, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 6, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 6, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 6, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 1, getShelf(rand), 0, 3); + world.setBlock(x + 6, y + 6, z + 1, Blocks.chest, 3, 3); + TileEntityChest tileentitychest6 = (TileEntityChest)world.getTileEntity(x + 6, y + 6, z + 1); + + if (tileentitychest6 != null) + { + WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest6, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); + } + world.setBlock(x + 7, y + 6, z + 1, getShelf(rand), 0, 3); + world.setBlock(x + 8, y + 6, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 2, getShelf(rand), 0, 3); + world.setBlock(x + 8, y + 6, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 3, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 3, getShelf(rand), 0, 3); + world.setBlock(x + 8, y + 6, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 4, Blocks.bedrock, 0, 3); + + world.setBlock(x + 5, y + 6, z + 4, Blocks.mob_spawner, 0, 2); + TileEntityMobSpawner tileentitymobspawner3 = (TileEntityMobSpawner)world.getTileEntity(x + 5, y + 6, z + 4); + + if (tileentitymobspawner3 != null) + { + tileentitymobspawner3.func_145881_a().setEntityName(this.pickMobSpawner(rand)); + } + else + { + System.err.println("Failed to fetch mob spawner entity at (" + (x + 5) + ", " + (y + 6) + ", " + (z + 4) + ")"); + } + world.setBlock(x + 6, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 4, Blocks.chest, 4, 3); + TileEntityChest tileentitychest7 = (TileEntityChest)world.getTileEntity(x + 7, y + 6, z + 4); + + if (tileentitychest7 != null) + { + WeightedRandomChestContent.generateChestContents(rand, ChestGenHooks.getItems(DUNGEON_CHEST, rand), tileentitychest7, ChestGenHooks.getCount(DUNGEON_CHEST, rand)); + } + world.setBlock(x + 8, y + 6, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 5, getShelf(rand), 0, 3); + world.setBlock(x + 8, y + 6, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 6, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 6, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 6, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 6, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 7, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 7, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 7, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 7, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 1, getShelf(rand), 0, 3); + world.setBlock(x + 6, y + 7, z + 1, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 7, y + 7, z + 1, getShelf(rand), 0, 3); + world.setBlock(x + 8, y + 7, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 2, getShelf(rand), 0, 3); + world.setBlock(x + 8, y + 7, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 3, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 7, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 3, getShelf(rand), 0, 3); + world.setBlock(x + 8, y + 7, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 4, Blocks.wooden_slab, 8, 3); + world.setBlock(x + 8, y + 7, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 5, getShelf(rand), 0, 3); + world.setBlock(x + 8, y + 7, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 6, Blocks.fence, 0, 3); + world.setBlock(x + 5, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 7, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 7, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 7, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 8, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 0, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 0, Blocks.stonebrick, 3, 3); + world.setBlock(x + 0, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 1, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 2, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 3, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 4, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 5, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 6, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 7, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 8, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 1, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 9, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 0, y + 8, z + 10, Blocks.stonebrick, 3, 3); + world.setBlock(x + 1, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 2, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 3, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 4, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 5, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 6, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 7, y + 8, z + 10, Blocks.stonebrick, getBrick(rand), 3); + world.setBlock(x + 8, y + 8, z + 10, Blocks.stonebrick, 3, 3); + + generate_r02_last(world, rand, x, y, z); + return true; + + } + public boolean generate_r02_last(World world, Random rand, int x, int y, int z) + { + + /*world.setBlock(x + 4, y + 3, z + 2, Blocks.torch, 4, 3); + world.setBlock(x + 5, y + 3, z + 3, Blocks.torch, 1, 3); + world.setBlock(x + 5, y + 3, z + 6, Blocks.torch, 1, 3); + world.setBlock(x + 3, y + 5, z + 3, Blocks.torch, 2, 3); + world.setBlock(x + 3, y + 5, z + 6, Blocks.torch, 2, 3); + world.setBlock(x + 4, y + 5, z + 7, Blocks.torch, 3, 3);*/ + world.setBlock(x + 4, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 7, Blocks.air, 0, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned library at " + x + " " + y +" " + z + "\n"); + return true; + + } + public int getBrick(Random rand) { + return rand.nextInt(3); + + } + public Block getShelf(Random rand) { + int i = rand.nextInt(2); + if(i == 0) + { + return Blocks.planks; + } + return Blocks.bookshelf; + } + private String pickMobSpawner(Random p_76543_1_) + { + return DungeonHooks.getRandomDungeonMob(p_76543_1_); + } + } \ No newline at end of file diff --git a/com/hbm/world/NuclearReactor.java b/com/hbm/world/NuclearReactor.java index c21f7dfee..115634b96 100644 --- a/com/hbm/world/NuclearReactor.java +++ b/com/hbm/world/NuclearReactor.java @@ -1,171 +1,171 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class NuclearReactor extends WorldGenerator -{ - Block Block1 = ModBlocks.brick_concrete; - Block Block2 = ModBlocks.reactor_element; - Block Block3 = ModBlocks.reactor_control; - Block Block4 = ModBlocks.reactor_conductor; - Block Block5 = ModBlocks.reactor_hatch; - Block Block6 = ModBlocks.reactor_computer; - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - x -= 2; - z -= 2; - - world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 2, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 3, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + 1, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + 1, z + 1, Block3, 0, 3); - world.setBlock(x + 3, y + 1, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 2, Block3, 0, 3); - world.setBlock(x + 2, y + 1, z + 2, Block4, 0, 3); - world.setBlock(x + 3, y + 1, z + 2, Block3, 0, 3); - world.setBlock(x + 4, y + 1, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + 1, z + 3, Block3, 0, 3); - world.setBlock(x + 3, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 1, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + 1, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + 1, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + 1, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + 1, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + 1, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Block5, 2, 3); - world.setBlock(x + 3, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + 2, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 1, Block3, 0, 3); - world.setBlock(x + 3, y + 2, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Block5, 4, 3); - world.setBlock(x + 1, y + 2, z + 2, Block3, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Block6, 0, 3); - world.setBlock(x + 3, y + 2, z + 2, Block3, 0, 3); - world.setBlock(x + 4, y + 2, z + 2, Block5, 5, 3); - world.setBlock(x + 0, y + 2, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + 2, z + 3, Block3, 0, 3); - world.setBlock(x + 3, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 2, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + 2, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + 2, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + 2, z + 4, Block5, 3, 3); - world.setBlock(x + 3, y + 2, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + 2, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + 3, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 3, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 3, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + 3, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + 3, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 3, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 3, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + 3, z + 1, Block3, 0, 3); - world.setBlock(x + 3, y + 3, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 3, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 3, z + 2, Block3, 0, 3); - world.setBlock(x + 2, y + 3, z + 2, Block4, 0, 3); - world.setBlock(x + 3, y + 3, z + 2, Block3, 0, 3); - world.setBlock(x + 4, y + 3, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + 3, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 2, y + 3, z + 3, Block3, 0, 3); - world.setBlock(x + 3, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + 3, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + 3, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + 3, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + 3, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + 3, z + 4, Block1, 0, 3); - world.setBlock(x + 0, y + 4, z + 0, Block1, 0, 3); - world.setBlock(x + 1, y + 4, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + 4, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + 4, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + 4, z + 0, Block1, 0, 3); - world.setBlock(x + 0, y + 4, z + 1, Block1, 0, 3); - world.setBlock(x + 1, y + 4, z + 1, Block1, 0, 3); - world.setBlock(x + 2, y + 4, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + 4, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + 4, z + 1, Block1, 0, 3); - world.setBlock(x + 0, y + 4, z + 2, Block1, 0, 3); - world.setBlock(x + 1, y + 4, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + 4, z + 2, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 3, y + 4, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + 4, z + 2, Block1, 0, 3); - world.setBlock(x + 0, y + 4, z + 3, Block1, 0, 3); - world.setBlock(x + 1, y + 4, z + 3, Block1, 0, 3); - world.setBlock(x + 2, y + 4, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + 4, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + 4, z + 3, Block1, 0, 3); - world.setBlock(x + 0, y + 4, z + 4, Block1, 0, 3); - world.setBlock(x + 1, y + 4, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + 4, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + 4, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + 4, z + 4, Block1, 0, 3); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class NuclearReactor extends WorldGenerator +{ + Block Block1 = ModBlocks.brick_concrete; + Block Block2 = ModBlocks.reactor_element; + Block Block3 = ModBlocks.reactor_control; + Block Block4 = ModBlocks.reactor_conductor; + Block Block5 = ModBlocks.reactor_hatch; + Block Block6 = ModBlocks.reactor_computer; + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + x -= 2; + z -= 2; + + world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 2, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 3, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + 1, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + 1, z + 1, Block3, 0, 3); + world.setBlock(x + 3, y + 1, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 2, Block3, 0, 3); + world.setBlock(x + 2, y + 1, z + 2, Block4, 0, 3); + world.setBlock(x + 3, y + 1, z + 2, Block3, 0, 3); + world.setBlock(x + 4, y + 1, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + 1, z + 3, Block3, 0, 3); + world.setBlock(x + 3, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 1, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + 1, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + 1, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + 1, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + 1, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + 1, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Block5, 2, 3); + world.setBlock(x + 3, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + 2, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 1, Block3, 0, 3); + world.setBlock(x + 3, y + 2, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Block5, 4, 3); + world.setBlock(x + 1, y + 2, z + 2, Block3, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Block6, 0, 3); + world.setBlock(x + 3, y + 2, z + 2, Block3, 0, 3); + world.setBlock(x + 4, y + 2, z + 2, Block5, 5, 3); + world.setBlock(x + 0, y + 2, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + 2, z + 3, Block3, 0, 3); + world.setBlock(x + 3, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 2, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + 2, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + 2, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + 2, z + 4, Block5, 3, 3); + world.setBlock(x + 3, y + 2, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + 2, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + 3, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 3, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 3, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + 3, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + 3, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 3, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 3, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + 3, z + 1, Block3, 0, 3); + world.setBlock(x + 3, y + 3, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 3, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 3, z + 2, Block3, 0, 3); + world.setBlock(x + 2, y + 3, z + 2, Block4, 0, 3); + world.setBlock(x + 3, y + 3, z + 2, Block3, 0, 3); + world.setBlock(x + 4, y + 3, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + 3, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 2, y + 3, z + 3, Block3, 0, 3); + world.setBlock(x + 3, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + 3, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + 3, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + 3, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + 3, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + 3, z + 4, Block1, 0, 3); + world.setBlock(x + 0, y + 4, z + 0, Block1, 0, 3); + world.setBlock(x + 1, y + 4, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + 4, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + 4, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + 4, z + 0, Block1, 0, 3); + world.setBlock(x + 0, y + 4, z + 1, Block1, 0, 3); + world.setBlock(x + 1, y + 4, z + 1, Block1, 0, 3); + world.setBlock(x + 2, y + 4, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + 4, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + 4, z + 1, Block1, 0, 3); + world.setBlock(x + 0, y + 4, z + 2, Block1, 0, 3); + world.setBlock(x + 1, y + 4, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + 4, z + 2, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 3, y + 4, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + 4, z + 2, Block1, 0, 3); + world.setBlock(x + 0, y + 4, z + 3, Block1, 0, 3); + world.setBlock(x + 1, y + 4, z + 3, Block1, 0, 3); + world.setBlock(x + 2, y + 4, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + 4, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + 4, z + 3, Block1, 0, 3); + world.setBlock(x + 0, y + 4, z + 4, Block1, 0, 3); + world.setBlock(x + 1, y + 4, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + 4, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + 4, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + 4, z + 4, Block1, 0, 3); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Radio01.java b/com/hbm/world/Radio01.java index 6410d4b33..b4fac4a71 100644 --- a/com/hbm/world/Radio01.java +++ b/com/hbm/world/Radio01.java @@ -1,5135 +1,5135 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemDoor; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Radio01 extends WorldGenerator -{ - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.stone, - Blocks.sand, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - - } - - @Override - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x + 5, y, z + 15)) - { - return false; - } - - world.setBlock(x + 0, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 0, y + -1, z + 21, Blocks.air, 0, 3); - //world.setBlock(x + 1, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + -1, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 21, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 0, y + -1, z + 22, Blocks.air, 0, 3); - //world.setBlock(x + 1, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + -1, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 22, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 0, y + -1, z + 23, Blocks.air, 0, 3); - //world.setBlock(x + 1, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 23, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + -1, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 23, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 0, y + -1, z + 24, Blocks.air, 0, 3); - //world.setBlock(x + 1, y + -1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + -1, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + -1, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + -1, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + -1, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + -1, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + -1, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + -1, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + -1, z + 24, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 0, y + -1, z + 25, Blocks.air, 0, 3); - //world.setBlock(x + 1, y + -1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 4, Blocks.stone_stairs, 0, 3); - world.setBlock(x + 4, y + 0, z + 4, Blocks.stone_stairs, 5, 3); - world.setBlock(x + 5, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 4, Blocks.wooden_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 8, y + 0, z + 4, 3, Blocks.wooden_door); - world.setBlock(x + 9, y + 0, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 0, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 0, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 0, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 0, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 5, y + 0, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 0, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 0, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 7, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 0, z + 7, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 0, z + 7, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 0, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 0, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 0, z + 8, ModBlocks.tape_recorder, 5, 3); - world.setBlock(x + 4, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 8, Blocks.wooden_door, 2, 3); - ItemDoor.placeDoorBlock(world, x + 7, y + 0, z + 8, 2, Blocks.wooden_door); - world.setBlock(x + 8, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 0, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 0, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 9, Blocks.oak_stairs, 0, 3); - world.setBlock(x + 6, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 11, ModBlocks.block_titanium, 0, 3); - world.setBlock(x + 2, y + 0, z + 11, ModBlocks.block_titanium, 0, 3); - world.setBlock(x + 3, y + 0, z + 11, ModBlocks.steel_poles, 5, 3); - world.setBlock(x + 4, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 11, Blocks.flower_pot, 0, 3); - world.setBlock(x + 6, y + 0, z + 11, Blocks.chest, 3, 3); - world.setBlockMetadataWithNotify(x + 6, y + 0, z + 11, 5, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 6, y + 0, z + 11), 8); - world.setBlock(x + 7, y + 0, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 0, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 0, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 12, Blocks.flower_pot, 0, 3); - world.setBlock(x + 7, y + 0, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 13, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 0, z + 13, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 0, z + 13, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 13, Blocks.iron_door, 2, 3); - ItemDoor.placeDoorBlock(world, x + 7, y + 0, z + 13, 2, Blocks.iron_door); - world.setBlock(x + 8, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 0, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 0, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 17, Blocks.iron_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 0, y + 0, z + 17, 0, Blocks.iron_door); - world.setBlock(x - 1, y + 1, z + 17, Blocks.wall_sign, 4, 3); - world.setBlock(x + 1, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 17, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 18, Blocks.iron_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 0, y + 0, z + 18, 0, Blocks.iron_door); - world.setBlock(x - 1, y + 1, z + 18, Blocks.wall_sign, 4, 3); - world.setBlock(x + 1, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 21, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 4, y + 0, z + 21, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 5, y + 0, z + 21, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 6, y + 0, z + 21, ModBlocks.red_barrel, 0, 3); - world.setBlock(x + 7, y + 0, z + 21, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 8, y + 0, z + 21, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 9, y + 0, z + 21, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 10, y + 0, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 23, Blocks.wooden_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 2, y + 0, z + 23, 0, Blocks.wooden_door); - world.setBlock(x + 3, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 23, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 0, z + 23, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 23, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 0, z + 23, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 0, z + 23, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 24, ModBlocks.pole_top, 2, 3); - world.setBlock(x + 4, y + 0, z + 24, ModBlocks.pole_top, 2, 3); - world.setBlock(x + 5, y + 0, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 0, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 0, z + 24, Blocks.chest, 2, 3); - world.setBlockMetadataWithNotify(x + 7, y + 0, z + 24, 5, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 7, y + 0, z + 24), 8); - world.setBlock(x + 8, y + 0, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 0, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 0, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 0, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 4, Blocks.stone_stairs, 0, 3); - world.setBlock(x + 5, y + 1, z + 4, Blocks.stone_stairs, 5, 3); - world.setBlock(x + 6, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 4, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 8, y + 1, z + 4, Blocks.wooden_door, 8, 3); - world.setBlock(x + 9, y + 1, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 1, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 1, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 1, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 1, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 5, y + 1, z + 6, ModBlocks.tape_recorder, 3, 3); - world.setBlock(x + 6, y + 1, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 1, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 7, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 1, z + 7, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 1, z + 7, ModBlocks.tape_recorder, 5, 3); - world.setBlock(x + 4, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 1, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 1, z + 8, ModBlocks.tape_recorder, 5, 3); - world.setBlock(x + 4, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 8, Blocks.air, 0, 3); - //world.setBlock(x + 7, y + 1, z + 8, Blocks.wooden_door, 8, 3); - world.setBlock(x + 8, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 1, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 1, z + 9, ModBlocks.tape_recorder, 5, 3); - world.setBlock(x + 4, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 11, ModBlocks.block_titanium, 0, 3); - world.setBlock(x + 2, y + 1, z + 11, ModBlocks.block_titanium, 0, 3); - world.setBlock(x + 3, y + 1, z + 11, ModBlocks.steel_poles, 5, 3); - world.setBlock(x + 4, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 1, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 1, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 13, ModBlocks.block_tungsten, 0, 3); - world.setBlock(x + 2, y + 1, z + 13, ModBlocks.block_tungsten, 0, 3); - world.setBlock(x + 3, y + 1, z + 13, ModBlocks.block_tungsten, 0, 3); - world.setBlock(x + 4, y + 1, z + 13, ModBlocks.block_tungsten, 0, 3); - world.setBlock(x + 5, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 13, Blocks.air, 0, 3); - //world.setBlock(x + 7, y + 1, z + 13, Blocks.iron_door, 8, 3); - world.setBlock(x + 8, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 1, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 3, y + 1, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 4, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 1, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 16, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 0, y + 1, z + 17, Blocks.iron_door, 8, 3); - world.setBlock(x + 1, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 17, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 0, y + 1, z + 18, Blocks.iron_door, 9, 3); - world.setBlock(x + 1, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 1, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 21, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 4, y + 1, z + 21, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 5, y + 1, z + 21, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 6, y + 1, z + 21, ModBlocks.red_barrel, 0, 3); - world.setBlock(x + 7, y + 1, z + 21, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 8, y + 1, z + 21, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 9, y + 1, z + 21, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 10, y + 1, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 23, Blocks.air, 0, 3); - //world.setBlock(x + 2, y + 1, z + 23, Blocks.wooden_door, 8, 3); - world.setBlock(x + 3, y + 1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 23, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 1, z + 23, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 23, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 1, z + 23, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 1, z + 23, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 1, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 1, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 1, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Blocks.glass_pane, 0, 3); - world.setBlock(x + 3, y + 2, z + 0, Blocks.glass_pane, 0, 3); - world.setBlock(x + 4, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 0, Blocks.glass_pane, 0, 3); - world.setBlock(x + 9, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 3, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 4, Blocks.stone_stairs, 0, 3); - world.setBlock(x + 6, y + 2, z + 4, Blocks.stone_stairs, 5, 3); - world.setBlock(x + 7, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 2, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 7, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 7, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 2, z + 8, ModBlocks.pole_satellite_receiver, 2, 3); - world.setBlock(x + 1, y + 2, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 2, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 2, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 8, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 2, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 11, ModBlocks.steel_poles, 5, 3); - world.setBlock(x + 4, y + 2, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 12, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 2, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 12, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 2, z + 13, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 2, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 2, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 2, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 17, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 2, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 18, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 18, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 2, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 21, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 4, y + 2, z + 21, ModBlocks.steel_poles, 3, 3); - world.setBlock(x + 5, y + 2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 21, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 22, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 23, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 23, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 23, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 24, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 2, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 2, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 2, z + 25, Blocks.glass_pane, 0, 3); - world.setBlock(x + 5, y + 2, z + 25, Blocks.glass_pane, 0, 3); - world.setBlock(x + 6, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 2, z + 25, Blocks.glass_pane, 0, 3); - world.setBlock(x + 9, y + 2, z + 25, Blocks.glass_pane, 0, 3); - world.setBlock(x + 10, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 4, Blocks.stone_stairs, 0, 3); - world.setBlock(x + 7, y + 3, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 3, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 21, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 3, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 22, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 23, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 3, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 23, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 23, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 3, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 3, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 3, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 3, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 3, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 3, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 3, z + 24, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 3, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 3, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 1, Blocks.stone_stairs, 0, 3); - world.setBlock(x + 4, y + 4, z + 1, Blocks.stone_stairs, 5, 3); - world.setBlock(x + 5, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 8, y + 4, z + 2, Blocks.oak_stairs, 7, 3); - world.setBlock(x + 9, y + 4, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 4, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 3, Blocks.oak_stairs, 0, 3); - world.setBlock(x + 9, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 6, ModBlocks.brick_concrete, 0, 3); - - generate_r02(world, rand, x, y, z); - return true; - - } - public boolean generate_r02(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 4, y + 4, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 6, Blocks.chest, 4, 3); - world.setBlockMetadataWithNotify(x + 7, y + 4, z + 6, 5, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 7, y + 4, z + 6), 8); - world.setBlock(x + 8, y + 4, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 4, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 4, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 7, Blocks.iron_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 3, y + 4, z + 7, 0, Blocks.iron_door); - world.setBlock(x + 4, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 7, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 9, y + 4, z + 7, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 4, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 8, Blocks.oak_stairs, 2, 3); - world.setBlock(x + 7, y + 4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 4, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 4, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 4, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 4, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 12, Blocks.air, 0, 3); - //world.setBlock(x + 3, y + 4, z + 12, Blocks.air, 0, 3); - ItemDoor.placeDoorBlock(world, x + 3, y + 4, z + 12, 0, Blocks.iron_door); - world.setBlock(x + 4, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 12, Blocks.oak_stairs, 3, 3); - world.setBlock(x + 9, y + 4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 13, Blocks.air, 0, 3); - //ItemDoor.placeDoorBlock(world, x + 4, y + 4, z + 13, 2, Blocks.iron_door); - world.setBlock(x + 5, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 14, Blocks.chest, 2, 3); - world.setBlockMetadataWithNotify(x + 4, y + 4, z + 14, 5, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 4, y + 4, z + 14), 8); - world.setBlock(x + 5, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 14, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 7, y + 4, z + 14, Blocks.oak_stairs, 5, 3); - world.setBlock(x + 8, y + 4, z + 14, Blocks.oak_stairs, 4, 3); - world.setBlock(x + 9, y + 4, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 4, z + 16, Blocks.wooden_door, 5, 3); - ItemDoor.placeDoorBlock(world, x + 2, y + 4, z + 16, 5, Blocks.wooden_door); - world.setBlock(x + 3, y + 4, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 17, Blocks.oak_stairs, 7, 3); - world.setBlock(x + 8, y + 4, z + 17, Blocks.oak_stairs, 7, 3); - world.setBlock(x + 9, y + 4, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 4, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 18, Blocks.oak_stairs, 6, 3); - world.setBlock(x + 8, y + 4, z + 18, Blocks.oak_stairs, 6, 3); - world.setBlock(x + 9, y + 4, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 4, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 4, z + 20, Blocks.iron_door, 3, 3); - ItemDoor.placeDoorBlock(world, x + 5, y + 4, z + 20, 3, Blocks.iron_door); - world.setBlock(x + 6, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 21, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 22, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 23, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 4, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 23, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 4, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 4, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 8, y + 4, z + 24, ModBlocks.tape_recorder, 2, 3); - world.setBlock(x + 9, y + 4, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 4, z + 24, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 4, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 1, Blocks.stone_stairs, 0, 3); - world.setBlock(x + 5, y + 5, z + 1, Blocks.stone_stairs, 5, 3); - world.setBlock(x + 6, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 5, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 5, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 2, Blocks.flower_pot, 0, 3); - world.setBlock(x + 9, y + 5, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 5, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 5, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 5, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 6, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 9, y + 5, z + 6, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 5, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 7, Blocks.air, 0, 3); - //world.setBlock(x + 3, y + 5, z + 7, Blocks.iron_door, 8, 3); - world.setBlock(x + 4, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 7, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 9, y + 5, z + 7, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 5, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 5, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 5, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 9, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 9, y + 5, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 10, y + 5, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 12, Blocks.air, 0, 3); - //world.setBlock(x + 3, y + 5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 14, Blocks.flower_pot, 0, 3); - world.setBlock(x + 8, y + 5, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 16, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 2, y + 5, z + 16, Blocks.wooden_door, 8, 3); - world.setBlock(x + 3, y + 5, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 17, Blocks.flower_pot, 0, 3); - world.setBlock(x + 8, y + 5, z + 17, Blocks.flower_pot, 0, 3); - world.setBlock(x + 9, y + 5, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 18, ModBlocks.tape_recorder, 4, 3); - world.setBlock(x + 9, y + 5, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 5, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - //world.setBlock(x + 5, y + 5, z + 20, Blocks.iron_door, 8, 3); - world.setBlock(x + 6, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 8, y + 5, z + 24, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 5, z + 25, ModBlocks.pole_satellite_receiver, 4, 3); - world.setBlock(x + 8, y + 5, z + 25, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 9, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 5, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 6, z + 0, Blocks.glass_pane, 0, 3); - world.setBlock(x + 8, y + 6, z + 0, Blocks.glass_pane, 0, 3); - world.setBlock(x + 9, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 1, Blocks.stone_stairs, 0, 3); - world.setBlock(x + 6, y + 6, z + 1, Blocks.stone_stairs, 5, 3); - world.setBlock(x + 7, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 2, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 6, z + 3, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 6, z + 3, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 6, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 6, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 6, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 6, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 6, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 7, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 8, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 8, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 6, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 6, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 6, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 6, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 12, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 12, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 13, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 6, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 6, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 6, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 6, z + 16, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 6, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 17, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 17, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 6, z + 18, Blocks.glass_pane, 0, 3); - world.setBlock(x + 1, y + 6, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 18, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 6, z + 18, Blocks.glass_pane, 0, 3); - world.setBlock(x + 0, y + 6, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 6, z + 19, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 6, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 6, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 6, z + 20, Blocks.glass_pane, 0, 3); - world.setBlock(x + 8, y + 6, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 6, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 1, Blocks.stone_stairs, 0, 3); - world.setBlock(x + 7, y + 7, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 1, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 2, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 3, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 4, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 5, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 6, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 7, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 8, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 9, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 10, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 11, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 12, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 13, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 14, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 15, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 16, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 17, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 18, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 2, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 3, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 4, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 5, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 6, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 7, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 8, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 9, y + 7, z + 19, ModBlocks.brick_light, 0, 3); - world.setBlock(x + 10, y + 7, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 7, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 7, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 7, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 7, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 7, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 1, Blocks.trapdoor, 1, 3); - world.setBlock(x + 5, y + 8, z + 1, Blocks.trapdoor, 1, 3); - world.setBlock(x + 6, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 1, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 2, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 3, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 4, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 5, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 6, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 7, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 7, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 8, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 8, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 5, y + 8, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 8, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 9, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 10, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 5, y + 8, z + 10, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 8, z + 10, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 8, z + 10, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 8, y + 8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 10, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 11, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 5, y + 8, z + 11, Blocks.chest, 4, 3); - world.setBlockMetadataWithNotify(x + 5, y + 8, z + 11, 5, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 5, y + 8, z + 11), 16); - world.setBlock(x + 6, y + 8, z + 11, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 11, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 5, y + 8, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 8, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 12, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 13, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 5, y + 8, z + 13, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 8, z + 13, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 13, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 5, y + 8, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 8, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 8, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 14, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 15, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 8, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 15, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 16, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 17, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 18, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 19, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 1, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 2, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 3, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 4, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 5, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 6, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 7, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 8, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 9, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 10, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); - world.setBlock(x + 0, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 8, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 9, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 10, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 9, z + 10, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 7, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 11, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 12, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 12, Blocks.air, 0, 3); - - generate_r03(world, rand, x, y, z); - return true; - - } - public boolean generate_r03(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 8, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 13, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 14, ModBlocks.block_steel, 0, 3); - world.setBlock(x + 6, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 9, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 13, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 10, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 13, ModBlocks.pole_satellite_receiver, 4, 3); - world.setBlock(x + 6, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 11, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 13, ModBlocks.pole_top, 4, 3); - world.setBlock(x + 6, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 12, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 13, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 19, Blocks.air, 0, 3); - - generate_r04(world, rand, x, y, z); - return true; - - } - public boolean generate_r04(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 1, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 14, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 10, ModBlocks.pole_satellite_receiver, 5, 3); - world.setBlock(x + 6, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 15, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 12, Blocks.air, 0, 3); - - new Radio02().generate_r00(world, rand, x, y, z); - return true; - - } +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemDoor; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Radio01 extends WorldGenerator +{ + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.stone, + Blocks.sand, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + + } + + @Override + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x + 5, y, z + 15)) + { + return false; + } + + world.setBlock(x + 0, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + -1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + -1, z + 20, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 0, y + -1, z + 21, Blocks.air, 0, 3); + //world.setBlock(x + 1, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + -1, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 21, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 0, y + -1, z + 22, Blocks.air, 0, 3); + //world.setBlock(x + 1, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + -1, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 22, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 0, y + -1, z + 23, Blocks.air, 0, 3); + //world.setBlock(x + 1, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 23, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + -1, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 23, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 0, y + -1, z + 24, Blocks.air, 0, 3); + //world.setBlock(x + 1, y + -1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + -1, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + -1, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + -1, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + -1, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + -1, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + -1, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + -1, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + -1, z + 24, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 0, y + -1, z + 25, Blocks.air, 0, 3); + //world.setBlock(x + 1, y + -1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + -1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 0, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 4, Blocks.stone_stairs, 0, 3); + world.setBlock(x + 4, y + 0, z + 4, Blocks.stone_stairs, 5, 3); + world.setBlock(x + 5, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 4, Blocks.wooden_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 8, y + 0, z + 4, 3, Blocks.wooden_door); + world.setBlock(x + 9, y + 0, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 0, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 0, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 0, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 0, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 5, y + 0, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 0, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 0, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 7, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 0, z + 7, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 0, z + 7, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 0, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 0, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 0, z + 8, ModBlocks.tape_recorder, 5, 3); + world.setBlock(x + 4, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 8, Blocks.wooden_door, 2, 3); + ItemDoor.placeDoorBlock(world, x + 7, y + 0, z + 8, 2, Blocks.wooden_door); + world.setBlock(x + 8, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 0, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 0, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 9, Blocks.oak_stairs, 0, 3); + world.setBlock(x + 6, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 11, ModBlocks.block_titanium, 0, 3); + world.setBlock(x + 2, y + 0, z + 11, ModBlocks.block_titanium, 0, 3); + world.setBlock(x + 3, y + 0, z + 11, ModBlocks.steel_poles, 5, 3); + world.setBlock(x + 4, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 11, Blocks.flower_pot, 0, 3); + world.setBlock(x + 6, y + 0, z + 11, Blocks.chest, 3, 3); + world.setBlockMetadataWithNotify(x + 6, y + 0, z + 11, 5, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 6, y + 0, z + 11), 8); + world.setBlock(x + 7, y + 0, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 0, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 0, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 12, Blocks.flower_pot, 0, 3); + world.setBlock(x + 7, y + 0, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 13, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 0, z + 13, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 0, z + 13, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 13, Blocks.iron_door, 2, 3); + ItemDoor.placeDoorBlock(world, x + 7, y + 0, z + 13, 2, Blocks.iron_door); + world.setBlock(x + 8, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 0, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 0, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 17, Blocks.iron_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 0, y + 0, z + 17, 0, Blocks.iron_door); + world.setBlock(x - 1, y + 1, z + 17, Blocks.wall_sign, 4, 3); + world.setBlock(x + 1, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 17, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 18, Blocks.iron_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 0, y + 0, z + 18, 0, Blocks.iron_door); + world.setBlock(x - 1, y + 1, z + 18, Blocks.wall_sign, 4, 3); + world.setBlock(x + 1, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 0, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 21, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 4, y + 0, z + 21, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 5, y + 0, z + 21, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 6, y + 0, z + 21, ModBlocks.red_barrel, 0, 3); + world.setBlock(x + 7, y + 0, z + 21, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 8, y + 0, z + 21, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 9, y + 0, z + 21, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 10, y + 0, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 23, Blocks.wooden_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 2, y + 0, z + 23, 0, Blocks.wooden_door); + world.setBlock(x + 3, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 23, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 0, z + 23, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 23, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 0, z + 23, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 0, z + 23, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 24, ModBlocks.pole_top, 2, 3); + world.setBlock(x + 4, y + 0, z + 24, ModBlocks.pole_top, 2, 3); + world.setBlock(x + 5, y + 0, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 0, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 0, z + 24, Blocks.chest, 2, 3); + world.setBlockMetadataWithNotify(x + 7, y + 0, z + 24, 5, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 7, y + 0, z + 24), 8); + world.setBlock(x + 8, y + 0, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 0, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 0, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 0, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 0, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 1, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 4, Blocks.stone_stairs, 0, 3); + world.setBlock(x + 5, y + 1, z + 4, Blocks.stone_stairs, 5, 3); + world.setBlock(x + 6, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 4, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 8, y + 1, z + 4, Blocks.wooden_door, 8, 3); + world.setBlock(x + 9, y + 1, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 1, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 1, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 1, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 1, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 5, y + 1, z + 6, ModBlocks.tape_recorder, 3, 3); + world.setBlock(x + 6, y + 1, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 1, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 7, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 1, z + 7, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 1, z + 7, ModBlocks.tape_recorder, 5, 3); + world.setBlock(x + 4, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 1, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 1, z + 8, ModBlocks.tape_recorder, 5, 3); + world.setBlock(x + 4, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 8, Blocks.air, 0, 3); + //world.setBlock(x + 7, y + 1, z + 8, Blocks.wooden_door, 8, 3); + world.setBlock(x + 8, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 1, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 1, z + 9, ModBlocks.tape_recorder, 5, 3); + world.setBlock(x + 4, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 11, ModBlocks.block_titanium, 0, 3); + world.setBlock(x + 2, y + 1, z + 11, ModBlocks.block_titanium, 0, 3); + world.setBlock(x + 3, y + 1, z + 11, ModBlocks.steel_poles, 5, 3); + world.setBlock(x + 4, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 1, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 1, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 13, ModBlocks.block_tungsten, 0, 3); + world.setBlock(x + 2, y + 1, z + 13, ModBlocks.block_tungsten, 0, 3); + world.setBlock(x + 3, y + 1, z + 13, ModBlocks.block_tungsten, 0, 3); + world.setBlock(x + 4, y + 1, z + 13, ModBlocks.block_tungsten, 0, 3); + world.setBlock(x + 5, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 13, Blocks.air, 0, 3); + //world.setBlock(x + 7, y + 1, z + 13, Blocks.iron_door, 8, 3); + world.setBlock(x + 8, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 1, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 3, y + 1, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 4, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 1, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 16, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 0, y + 1, z + 17, Blocks.iron_door, 8, 3); + world.setBlock(x + 1, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 17, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 0, y + 1, z + 18, Blocks.iron_door, 9, 3); + world.setBlock(x + 1, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 1, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 1, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 21, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 4, y + 1, z + 21, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 5, y + 1, z + 21, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 6, y + 1, z + 21, ModBlocks.red_barrel, 0, 3); + world.setBlock(x + 7, y + 1, z + 21, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 8, y + 1, z + 21, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 9, y + 1, z + 21, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 10, y + 1, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 23, Blocks.air, 0, 3); + //world.setBlock(x + 2, y + 1, z + 23, Blocks.wooden_door, 8, 3); + world.setBlock(x + 3, y + 1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 23, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 1, z + 23, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 23, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 1, z + 23, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 1, z + 23, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 1, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 1, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 1, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 1, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Blocks.glass_pane, 0, 3); + world.setBlock(x + 3, y + 2, z + 0, Blocks.glass_pane, 0, 3); + world.setBlock(x + 4, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 0, Blocks.glass_pane, 0, 3); + world.setBlock(x + 9, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 2, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 3, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 4, Blocks.stone_stairs, 0, 3); + world.setBlock(x + 6, y + 2, z + 4, Blocks.stone_stairs, 5, 3); + world.setBlock(x + 7, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 2, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 2, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 7, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 7, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 2, z + 8, ModBlocks.pole_satellite_receiver, 2, 3); + world.setBlock(x + 1, y + 2, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 2, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 2, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 8, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 2, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 11, ModBlocks.steel_poles, 5, 3); + world.setBlock(x + 4, y + 2, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 12, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 2, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 12, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 2, z + 13, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 2, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 2, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 2, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 17, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 2, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 18, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 18, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 2, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 2, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 21, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 4, y + 2, z + 21, ModBlocks.steel_poles, 3, 3); + world.setBlock(x + 5, y + 2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 21, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 22, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 23, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 23, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 23, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 24, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 2, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 2, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 2, z + 25, Blocks.glass_pane, 0, 3); + world.setBlock(x + 5, y + 2, z + 25, Blocks.glass_pane, 0, 3); + world.setBlock(x + 6, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 2, z + 25, Blocks.glass_pane, 0, 3); + world.setBlock(x + 9, y + 2, z + 25, Blocks.glass_pane, 0, 3); + world.setBlock(x + 10, y + 2, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 3, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 4, Blocks.stone_stairs, 0, 3); + world.setBlock(x + 7, y + 3, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 3, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 3, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 21, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 3, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 22, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 23, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 3, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 23, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 23, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 3, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 3, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 3, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 3, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 3, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 3, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 3, z + 24, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 3, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 3, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 3, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 4, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 1, Blocks.stone_stairs, 0, 3); + world.setBlock(x + 4, y + 4, z + 1, Blocks.stone_stairs, 5, 3); + world.setBlock(x + 5, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 8, y + 4, z + 2, Blocks.oak_stairs, 7, 3); + world.setBlock(x + 9, y + 4, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 4, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 3, Blocks.oak_stairs, 0, 3); + world.setBlock(x + 9, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 4, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 6, ModBlocks.brick_concrete, 0, 3); + + generate_r02(world, rand, x, y, z); + return true; + + } + public boolean generate_r02(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 4, y + 4, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 6, Blocks.chest, 4, 3); + world.setBlockMetadataWithNotify(x + 7, y + 4, z + 6, 5, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 7, y + 4, z + 6), 8); + world.setBlock(x + 8, y + 4, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 4, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 4, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 7, Blocks.iron_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 3, y + 4, z + 7, 0, Blocks.iron_door); + world.setBlock(x + 4, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 7, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 9, y + 4, z + 7, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 4, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 8, Blocks.oak_stairs, 2, 3); + world.setBlock(x + 7, y + 4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 4, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 4, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 4, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 4, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 4, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 12, Blocks.air, 0, 3); + //world.setBlock(x + 3, y + 4, z + 12, Blocks.air, 0, 3); + ItemDoor.placeDoorBlock(world, x + 3, y + 4, z + 12, 0, Blocks.iron_door); + world.setBlock(x + 4, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 12, Blocks.oak_stairs, 3, 3); + world.setBlock(x + 9, y + 4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 13, Blocks.air, 0, 3); + //ItemDoor.placeDoorBlock(world, x + 4, y + 4, z + 13, 2, Blocks.iron_door); + world.setBlock(x + 5, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 14, Blocks.chest, 2, 3); + world.setBlockMetadataWithNotify(x + 4, y + 4, z + 14, 5, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 4, y + 4, z + 14), 8); + world.setBlock(x + 5, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 14, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 7, y + 4, z + 14, Blocks.oak_stairs, 5, 3); + world.setBlock(x + 8, y + 4, z + 14, Blocks.oak_stairs, 4, 3); + world.setBlock(x + 9, y + 4, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 4, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 4, z + 16, Blocks.wooden_door, 5, 3); + ItemDoor.placeDoorBlock(world, x + 2, y + 4, z + 16, 5, Blocks.wooden_door); + world.setBlock(x + 3, y + 4, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 17, Blocks.oak_stairs, 7, 3); + world.setBlock(x + 8, y + 4, z + 17, Blocks.oak_stairs, 7, 3); + world.setBlock(x + 9, y + 4, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 4, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 18, Blocks.oak_stairs, 6, 3); + world.setBlock(x + 8, y + 4, z + 18, Blocks.oak_stairs, 6, 3); + world.setBlock(x + 9, y + 4, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 4, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 4, z + 20, Blocks.iron_door, 3, 3); + ItemDoor.placeDoorBlock(world, x + 5, y + 4, z + 20, 3, Blocks.iron_door); + world.setBlock(x + 6, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 4, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 21, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 22, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 23, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 4, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 23, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 4, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 4, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 8, y + 4, z + 24, ModBlocks.tape_recorder, 2, 3); + world.setBlock(x + 9, y + 4, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 4, z + 24, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 4, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 4, z + 25, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 5, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 1, Blocks.stone_stairs, 0, 3); + world.setBlock(x + 5, y + 5, z + 1, Blocks.stone_stairs, 5, 3); + world.setBlock(x + 6, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 5, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 5, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 2, Blocks.flower_pot, 0, 3); + world.setBlock(x + 9, y + 5, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 5, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 5, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 5, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 5, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 6, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 9, y + 5, z + 6, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 5, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 7, Blocks.air, 0, 3); + //world.setBlock(x + 3, y + 5, z + 7, Blocks.iron_door, 8, 3); + world.setBlock(x + 4, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 7, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 9, y + 5, z + 7, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 5, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 5, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 5, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 9, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 9, y + 5, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 10, y + 5, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 5, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 12, Blocks.air, 0, 3); + //world.setBlock(x + 3, y + 5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 14, Blocks.flower_pot, 0, 3); + world.setBlock(x + 8, y + 5, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 5, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 16, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 2, y + 5, z + 16, Blocks.wooden_door, 8, 3); + world.setBlock(x + 3, y + 5, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 17, Blocks.flower_pot, 0, 3); + world.setBlock(x + 8, y + 5, z + 17, Blocks.flower_pot, 0, 3); + world.setBlock(x + 9, y + 5, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 18, ModBlocks.tape_recorder, 4, 3); + world.setBlock(x + 9, y + 5, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 5, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + //world.setBlock(x + 5, y + 5, z + 20, Blocks.iron_door, 8, 3); + world.setBlock(x + 6, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 5, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 8, y + 5, z + 24, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 5, z + 25, ModBlocks.pole_satellite_receiver, 4, 3); + world.setBlock(x + 8, y + 5, z + 25, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 9, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 5, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 6, z + 0, Blocks.glass_pane, 0, 3); + world.setBlock(x + 8, y + 6, z + 0, Blocks.glass_pane, 0, 3); + world.setBlock(x + 9, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 6, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 1, Blocks.stone_stairs, 0, 3); + world.setBlock(x + 6, y + 6, z + 1, Blocks.stone_stairs, 5, 3); + world.setBlock(x + 7, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 2, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 6, z + 3, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 6, z + 3, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 6, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 6, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 6, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 6, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 6, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 6, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 7, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 8, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 8, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 6, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 6, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 6, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 6, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 6, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 12, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 12, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 13, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 6, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 6, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 6, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 6, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 6, z + 16, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 6, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 17, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 17, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 6, z + 18, Blocks.glass_pane, 0, 3); + world.setBlock(x + 1, y + 6, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 18, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 6, z + 18, Blocks.glass_pane, 0, 3); + world.setBlock(x + 0, y + 6, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 6, z + 19, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 6, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 6, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 6, z + 20, Blocks.glass_pane, 0, 3); + world.setBlock(x + 8, y + 6, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 6, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 6, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 7, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 1, Blocks.stone_stairs, 0, 3); + world.setBlock(x + 7, y + 7, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 1, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 2, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 3, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 4, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 5, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 6, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 7, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 8, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 9, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 10, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 11, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 12, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 13, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 14, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 15, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 16, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 17, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 18, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 2, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 3, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 4, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 5, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 6, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 7, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 8, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 9, y + 7, z + 19, ModBlocks.brick_light, 0, 3); + world.setBlock(x + 10, y + 7, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 7, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 7, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 7, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 7, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 7, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 7, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 8, z + 0, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 1, Blocks.trapdoor, 1, 3); + world.setBlock(x + 5, y + 8, z + 1, Blocks.trapdoor, 1, 3); + world.setBlock(x + 6, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 1, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 2, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 3, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 4, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 5, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 6, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 7, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 7, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 8, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 8, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 5, y + 8, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 8, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 9, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 10, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 5, y + 8, z + 10, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 8, z + 10, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 8, z + 10, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 8, y + 8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 10, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 11, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 5, y + 8, z + 11, Blocks.chest, 4, 3); + world.setBlockMetadataWithNotify(x + 5, y + 8, z + 11, 5, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 5, y + 8, z + 11), 16); + world.setBlock(x + 6, y + 8, z + 11, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 11, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 5, y + 8, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 8, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 12, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 13, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 5, y + 8, z + 13, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 8, z + 13, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 13, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 5, y + 8, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 8, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 8, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 14, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 15, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 8, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 15, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 16, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 17, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 18, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 19, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 1, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 2, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 3, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 4, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 5, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 6, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 7, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 8, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 9, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 10, y + 8, z + 20, ModBlocks.brick_concrete, 0, 3); + world.setBlock(x + 0, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 8, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 9, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 10, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 9, z + 10, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 7, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 11, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 12, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 12, Blocks.air, 0, 3); + + generate_r03(world, rand, x, y, z); + return true; + + } + public boolean generate_r03(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 8, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 13, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 14, ModBlocks.block_steel, 0, 3); + world.setBlock(x + 6, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 9, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 13, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 10, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 13, ModBlocks.pole_satellite_receiver, 4, 3); + world.setBlock(x + 6, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 11, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 13, ModBlocks.pole_top, 4, 3); + world.setBlock(x + 6, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 12, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 13, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 19, Blocks.air, 0, 3); + + generate_r04(world, rand, x, y, z); + return true; + + } + public boolean generate_r04(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 1, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 14, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 10, ModBlocks.pole_satellite_receiver, 5, 3); + world.setBlock(x + 6, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 15, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 12, Blocks.air, 0, 3); + + new Radio02().generate_r00(world, rand, x, y, z); + return true; + + } } \ No newline at end of file diff --git a/com/hbm/world/Radio02.java b/com/hbm/world/Radio02.java index 1135f3a58..e006e2159 100644 --- a/com/hbm/world/Radio02.java +++ b/com/hbm/world/Radio02.java @@ -1,2181 +1,2181 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S.SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.main.MainRegistry; - -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class Radio02 -{ - public boolean generate_r00(World world, Random rand, int x, int y, int z) - { - world.setBlock(x + 6, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 16, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 17, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 18, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 10, ModBlocks.pole_satellite_receiver, 2, 3); - world.setBlock(x + 6, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 19, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 10, ModBlocks.pole_satellite_receiver, 4, 3); - world.setBlock(x + 6, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 20, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 18, Blocks.air, 0, 3); - - generate_r01(world, rand, x, y, z); - return true; - - } - public boolean generate_r01(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 10, y + 21, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 21, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 10, ModBlocks.steel_poles, 4, 3); - world.setBlock(x + 6, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 22, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 10, ModBlocks.pole_top, 4, 3); - world.setBlock(x + 6, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 23, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 23, z + 25, Blocks.air, 0, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned abandoned Radio station at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S.SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.main.MainRegistry; + +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class Radio02 +{ + public boolean generate_r00(World world, Random rand, int x, int y, int z) + { + world.setBlock(x + 6, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 16, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 17, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 18, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 10, ModBlocks.pole_satellite_receiver, 2, 3); + world.setBlock(x + 6, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 19, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 10, ModBlocks.pole_satellite_receiver, 4, 3); + world.setBlock(x + 6, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 20, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 18, Blocks.air, 0, 3); + + generate_r01(world, rand, x, y, z); + return true; + + } + public boolean generate_r01(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 10, y + 21, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 21, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 10, ModBlocks.steel_poles, 4, 3); + world.setBlock(x + 6, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 22, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 10, ModBlocks.pole_top, 4, 3); + world.setBlock(x + 6, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 23, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 23, z + 25, Blocks.air, 0, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned abandoned Radio station at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Relay.java b/com/hbm/world/Relay.java index 9a775b380..f5300d0c8 100644 --- a/com/hbm/world/Relay.java +++ b/com/hbm/world/Relay.java @@ -1,1666 +1,1666 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.item.ItemDoor; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Relay extends WorldGenerator -{ - Block Block1 = ModBlocks.reinforced_brick; - Block Block2 = ModBlocks.block_steel; - Block Block3 = ModBlocks.brick_concrete; - Block Block4 = ModBlocks.steel_scaffold; - Block Block5 = ModBlocks.reinforced_glass; - Block Block6 = ModBlocks.block_beryllium; - Block Block7 = ModBlocks.block_red_copper; - Block Block8 = ModBlocks.block_tungsten; - Block Block9 = ModBlocks.pole_top; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.stone, - Blocks.grass, - Blocks.dirt, - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x + 5, y, z + 8)) - { - return false; - } - - world.setBlock(x + 2, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 1, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 0, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 5, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 6, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 8, y + -2, z + 2, Block2, 0, 3); - world.setBlock(x + 9, y + -2, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + -2, z + 3, Block2, 0, 3); - world.setBlock(x + 9, y + -2, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 3, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 7, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + -2, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + -2, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 5, Block2, 0, 3); - world.setBlock(x + 5, y + -2, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + -2, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + -2, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + -2, z + 5, Block2, 0, 3); - world.setBlock(x + 9, y + -2, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 6, Block2, 0, 3); - world.setBlock(x + 5, y + -2, z + 6, Block2, 0, 3); - world.setBlock(x + 6, y + -2, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + -2, z + 6, Block2, 0, 3); - world.setBlock(x + 8, y + -2, z + 6, Block2, 0, 3); - world.setBlock(x + 9, y + -2, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 3, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 0, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 0, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 0, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 7, y + -1, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 0, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 2, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 2, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 5, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 6, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 8, y + -1, z + 2, Block2, 0, 3); - world.setBlock(x + 9, y + -1, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 2, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 3, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 3, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + -1, z + 3, Block2, 0, 3); - world.setBlock(x + 9, y + -1, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 3, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 4, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 4, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 7, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + -1, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + -1, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 4, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 5, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 5, Block2, 0, 3); - world.setBlock(x + 5, y + -1, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + -1, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + -1, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + -1, z + 5, Block2, 0, 3); - world.setBlock(x + 9, y + -1, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 5, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 6, Block2, 0, 3); - world.setBlock(x + 5, y + -1, z + 6, Block2, 0, 3); - world.setBlock(x + 6, y + -1, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + -1, z + 6, Block2, 0, 3); - world.setBlock(x + 8, y + -1, z + 6, Block2, 0, 3); - world.setBlock(x + 9, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 0, y + -1, z + 7, Block3, 0, 3); - world.setBlock(x + 1, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 7, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 7, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 8, Block3, 0, 3); - world.setBlock(x + 0, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 9, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 9, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 9, Block3, 0, 3); - world.setBlock(x + 7, y + -1, z + 9, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 9, Block3, 0, 3); - world.setBlock(x + 9, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -1, z + 10, Block3, 0, 3); - world.setBlock(x + 1, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 10, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 10, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 10, Block3, 0, 3); - world.setBlock(x + 7, y + -1, z + 10, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 10, Block3, 0, 3); - world.setBlock(x + 9, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 11, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 11, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 11, Block3, 0, 3); - world.setBlock(x + 7, y + -1, z + 11, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 11, Block3, 0, 3); - world.setBlock(x + 9, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 1, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 7, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 9, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 0, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 1, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 13, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 13, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 13, Block3, 0, 3); - world.setBlock(x + 7, y + -1, z + 13, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 13, Block3, 0, 3); - world.setBlock(x + 9, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 0, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 1, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 0, y + -1, z + 15, Block3, 0, 3); - world.setBlock(x + 1, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 4, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 15, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 15, Block3, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Block3, 0, 3); - world.setBlock(x + 3, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 0, z + 0, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 0, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 0, z + 0, Block3, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 0, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 0, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 0, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 2, Block4, 3, 3); - world.setBlock(x + 10, y + 0, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 3, Block4, 4, 3); - world.setBlock(x + 10, y + 0, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 0, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 5, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 0, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 5, Block4, 4, 3); - world.setBlock(x + 10, y + 0, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 0, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 0, z + 6, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 0, z + 6, Block4, 2, 3); - world.setBlock(x + 10, y + 0, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 7, Block3, 0, 3); - world.setBlock(x + 1, y + 0, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 7, Block3, 0, 3); - world.setBlock(x + 3, y + 0, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 7, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 7, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 8, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + 0, z + 7, Block3, 0, 3); - world.setBlock(x + 0, y + 0, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 5, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 6, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 7, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 8, y + 0, z + 8, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + 0, z + 8, Block3, 0, 3); - world.setBlock(x + 0, y + 0, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 0, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 0, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 0, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 0, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 0, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 10, Block3, 0, 3); - world.setBlock(x + 4, y + 0, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 0, z + 10, Blocks.chest, 3, 3); - world.setBlockMetadataWithNotify(x + 6, y + 0, z + 10, 3, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 6, y + 0, z + 10), 8); - world.setBlock(x + 7, y + 0, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 0, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 0, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 0, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 0, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 0, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 12, Block3, 0, 3); - //world.setBlock(x + 4, y + 0, z + 12, Blocks.iron_door, 0, 3); - ItemDoor.placeDoorBlock(world, x + 4, y + 0, z + 12, 0, Blocks.iron_door); - world.setBlock(x + 7, y + 0, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 0, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 0, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 0, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 0, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 0, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 0, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 0, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 0, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 0, z + 15, Block3, 0, 3); - world.setBlock(x + 1, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 0, z + 15, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 0, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 0, z + 15, Block3, 0, 3); - world.setBlock(x + 2, y + 1, z + 0, Block3, 0, 3); - world.setBlock(x + 3, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 1, z + 0, Block3, 0, 3); - world.setBlock(x + 7, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 1, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 1, z + 0, Block3, 0, 3); - world.setBlock(x + 2, y + 1, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 1, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 1, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 2, Block4, 3, 3); - world.setBlock(x + 10, y + 1, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 3, Block4, 4, 3); - world.setBlock(x + 10, y + 1, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 5, Block4, 4, 3); - world.setBlock(x + 10, y + 1, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 1, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 6, Block4, 2, 3); - world.setBlock(x + 10, y + 1, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 7, Block3, 0, 3); - world.setBlock(x + 1, y + 1, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 7, Block3, 0, 3); - world.setBlock(x + 3, y + 1, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 7, Block2, 0, 3); - world.setBlock(x + 10, y + 1, z + 7, Block3, 0, 3); - world.setBlock(x + 0, y + 1, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 6, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 7, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 8, y + 1, z + 8, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + 1, z + 8, Block3, 0, 3); - world.setBlock(x + 0, y + 1, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 1, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 1, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 1, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 1, z + 9, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + 1, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 10, Block3, 0, 3); - world.setBlock(x + 4, y + 1, z + 10, Block5, 0, 3); - world.setBlock(x + 7, y + 1, z + 10, ModBlocks.machine_battery, 4, 3); - world.setBlock(x + 8, y + 1, z + 10, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + 1, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 1, z + 11, ModBlocks.machine_battery, 4, 3); - world.setBlock(x + 8, y + 1, z + 11, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + 1, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 12, Block3, 0, 3); - //world.setBlock(x + 4, y + 1, z + 12, Blocks.iron_door, 8, 3); - world.setBlock(x + 7, y + 1, z + 12, ModBlocks.machine_battery, 4, 3); - world.setBlock(x + 8, y + 1, z + 12, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + 1, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 1, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 1, z + 13, Block5, 0, 3); - world.setBlock(x + 7, y + 1, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 1, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 1, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 1, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 0, y + 1, z + 15, Block3, 0, 3); - world.setBlock(x + 1, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 1, z + 15, Block3, 0, 3); - world.setBlock(x + 6, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 1, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 1, z + 15, Block3, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, Block3, 0, 3); - world.setBlock(x + 3, y + 2, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 6, y + 2, z + 0, Blocks.anvil, 3, 3); - world.setBlock(x + 7, y + 2, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 8, y + 2, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 2, z + 0, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 0, Block3, 0, 3); - world.setBlock(x + 2, y + 2, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 1, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 2, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 2, Block4, 3, 3); - world.setBlock(x + 10, y + 2, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 3, Block4, 4, 3); - world.setBlock(x + 10, y + 2, z + 3, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 2, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 2, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 2, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 2, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 5, Block4, 4, 3); - world.setBlock(x + 10, y + 2, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 2, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 6, Block4, 2, 3); - world.setBlock(x + 10, y + 2, z + 6, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 2, z + 7, Block3, 0, 3); - world.setBlock(x + 1, y + 2, z + 7, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 7, Block3, 0, 3); - world.setBlock(x + 3, y + 2, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 7, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 7, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 7, Block2, 0, 3); - world.setBlock(x + 10, y + 2, z + 7, Blocks.anvil, 0, 3); - world.setBlock(x + 0, y + 2, z + 8, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 7, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 8, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 10, y + 2, z + 8, Blocks.anvil, 0, 3); - world.setBlock(x + 0, y + 2, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 2, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 2, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 2, z + 9, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 2, z + 9, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 2, z + 10, Block3, 0, 3); - world.setBlock(x + 4, y + 2, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 2, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 2, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 2, z + 10, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 2, z + 10, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 2, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 2, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 2, z + 11, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 2, z + 11, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 2, z + 12, Block3, 0, 3); - world.setBlock(x + 4, y + 2, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 2, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 2, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 2, z + 12, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 2, z + 12, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 5, y + 2, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 6, y + 2, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 7, y + 2, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 8, y + 2, z + 13, Blocks.brick_block, 0, 3); - world.setBlock(x + 10, y + 2, z + 13, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 2, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 14, Blocks.web, 0, 3); - world.setBlock(x + 0, y + 2, z + 15, Block3, 0, 3); - world.setBlock(x + 1, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 2, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 3, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 4, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 5, y + 2, z + 15, Blocks.anvil, 1, 3); - world.setBlock(x + 6, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 7, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 8, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 9, y + 2, z + 15, Blocks.web, 0, 3); - world.setBlock(x + 10, y + 2, z + 15, Block3, 0, 3); - world.setBlock(x + 5, y + 3, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 3, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 2, Block4, 3, 3); - world.setBlock(x + 4, y + 3, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 3, Block4, 4, 3); - world.setBlock(x + 4, y + 3, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 3, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 3, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 3, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 5, Block4, 4, 3); - world.setBlock(x + 9, y + 3, z + 5, Block2, 0, 3); - world.setBlock(x + 5, y + 3, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 6, Block4, 2, 3); - world.setBlock(x + 8, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 10, y + 3, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 9, y + 3, z + 7, Block2, 0, 3); - world.setBlock(x + 5, y + 3, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 3, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 8, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 4, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 2, Block4, 3, 3); - world.setBlock(x + 4, y + 4, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 3, Block4, 4, 3); - world.setBlock(x + 4, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + 4, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 4, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 4, z + 5, Block4, 4, 3); - world.setBlock(x + 9, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 10, y + 4, z + 5, Block2, 0, 3); - world.setBlock(x + 5, y + 4, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 4, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 4, z + 6, Block4, 2, 3); - world.setBlock(x + 10, y + 4, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 4, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 4, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 4, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 4, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 4, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 4, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 5, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 5, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 5, z + 2, Block4, 3, 3); - world.setBlock(x + 4, y + 5, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 5, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 5, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 5, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 5, z + 3, Block4, 4, 3); - world.setBlock(x + 9, y + 5, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 5, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 5, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 5, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 5, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 5, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + 5, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 5, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 5, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 5, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 5, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 5, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 5, z + 5, Block4, 4, 3); - world.setBlock(x + 10, y + 5, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 5, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 5, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 5, z + 6, Block4, 2, 3); - world.setBlock(x + 10, y + 5, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 6, z + 0, Block2, 0, 3); - world.setBlock(x + 7, y + 6, z + 1, Block2, 0, 3); - world.setBlock(x + 8, y + 6, z + 1, Block2, 0, 3); - world.setBlock(x + 9, y + 6, z + 1, Block2, 0, 3); - world.setBlock(x + 5, y + 6, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 6, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 6, z + 2, Block4, 3, 3); - world.setBlock(x + 8, y + 6, z + 2, Block2, 0, 3); - world.setBlock(x + 9, y + 6, z + 2, Block2, 0, 3); - world.setBlock(x + 10, y + 6, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + 6, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 6, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 6, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 6, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 6, z + 3, Block4, 4, 3); - world.setBlock(x + 9, y + 6, z + 3, Block2, 0, 3); - world.setBlock(x + 10, y + 6, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 6, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 6, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 6, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 6, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 6, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 6, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 6, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 6, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 6, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 6, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 6, z + 5, Block4, 4, 3); - world.setBlock(x + 10, y + 6, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 6, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 6, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 6, z + 6, Block4, 2, 3); - world.setBlock(x + 7, y + 7, z + 0, Block2, 0, 3); - world.setBlock(x + 8, y + 7, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 7, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 7, z + 1, Block2, 0, 3); - world.setBlock(x + 7, y + 7, z + 1, Block2, 0, 3); - world.setBlock(x + 9, y + 7, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 7, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 7, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 7, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 7, z + 2, Block4, 3, 3); - world.setBlock(x + 10, y + 7, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 7, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 7, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 7, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 7, z + 3, Block4, 4, 3); - world.setBlock(x + 10, y + 7, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 7, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 7, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 7, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 7, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 7, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 7, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 7, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 7, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 7, z + 5, Block4, 4, 3); - world.setBlock(x + 5, y + 7, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 7, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 7, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 8, z + 0, Block2, 0, 3); - world.setBlock(x + 7, y + 8, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 8, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 8, z + 1, Block2, 0, 3); - world.setBlock(x + 6, y + 8, z + 1, Block2, 0, 3); - world.setBlock(x + 5, y + 8, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 8, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 8, z + 2, Block4, 3, 3); - world.setBlock(x + 4, y + 8, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 8, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 8, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 8, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 8, z + 3, Block4, 4, 3); - world.setBlock(x + 4, y + 8, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 8, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 8, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 8, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 8, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 8, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 8, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 8, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 8, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 8, z + 5, Block4, 4, 3); - world.setBlock(x + 5, y + 8, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 8, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 8, z + 6, Block4, 2, 3); - world.setBlock(x + 4, y + 9, z + 0, Block2, 0, 3); - world.setBlock(x + 5, y + 9, z + 0, Block2, 0, 3); - world.setBlock(x + 6, y + 9, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 9, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 9, z + 1, Block2, 0, 3); - world.setBlock(x + 4, y + 9, z + 1, Block2, 0, 3); - world.setBlock(x + 5, y + 9, z + 1, Block2, 0, 3); - world.setBlock(x + 2, y + 9, z + 2, Block2, 0, 3); - world.setBlock(x + 3, y + 9, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + 9, z + 2, Block2, 0, 3); - world.setBlock(x + 5, y + 9, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 9, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 9, z + 2, Block4, 3, 3); - world.setBlock(x + 3, y + 9, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 9, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 9, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 9, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 9, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 9, z + 3, Block4, 4, 3); - world.setBlock(x + 4, y + 9, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 9, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 9, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 9, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 9, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 9, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 9, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 9, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 9, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 9, z + 5, Block4, 4, 3); - world.setBlock(x + 5, y + 9, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 9, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 9, z + 6, Block4, 2, 3); - world.setBlock(x + 3, y + 10, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 10, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 10, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 10, z + 0, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 10, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 10, z + 1, Blocks.iron_bars, 0, 3); - world.setBlock(x + 2, y + 10, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 10, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 10, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 10, z + 2, Block4, 3, 3); - world.setBlock(x + 2, y + 10, z + 3, Block2, 0, 3); - world.setBlock(x + 3, y + 10, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 10, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 10, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 10, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 10, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 10, z + 3, Block4, 4, 3); - world.setBlock(x + 3, y + 10, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 10, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 10, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 10, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 10, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 10, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 10, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 10, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 10, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 10, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 10, z + 5, Block4, 4, 3); - world.setBlock(x + 5, y + 10, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 10, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 10, z + 6, Block4, 2, 3); - world.setBlock(x + 2, y + 11, z + 2, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 11, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 11, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 11, z + 2, Block4, 3, 3); - world.setBlock(x + 2, y + 11, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 11, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 11, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 11, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 11, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 11, z + 3, Block4, 4, 3); - world.setBlock(x + 10, y + 11, z + 3, Block6, 0, 3); - world.setBlock(x + 2, y + 11, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 11, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 11, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 11, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 11, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 11, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 11, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 11, z + 4, Block6, 0, 3); - world.setBlock(x + 3, y + 11, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 11, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 11, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 11, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 11, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 11, z + 5, Block4, 4, 3); - world.setBlock(x + 10, y + 11, z + 5, Block6, 0, 3); - world.setBlock(x + 5, y + 11, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 11, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 11, z + 6, Block4, 2, 3); - world.setBlock(x + 5, y + 12, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 12, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 12, z + 2, Block4, 3, 3); - world.setBlock(x + 10, y + 12, z + 2, Block6, 0, 3); - world.setBlock(x + 2, y + 12, z + 3, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 12, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 12, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 12, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 12, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 12, z + 3, Block4, 4, 3); - world.setBlock(x + 9, y + 12, z + 3, Block6, 0, 3); - world.setBlock(x + 2, y + 12, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 12, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 12, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 12, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 12, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 12, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + 12, z + 4, Block6, 0, 3); - world.setBlock(x + 2, y + 12, z + 5, Block2, 0, 3); - world.setBlock(x + 3, y + 12, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 12, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 12, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 12, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 12, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 12, z + 5, Block4, 4, 3); - world.setBlock(x + 9, y + 12, z + 5, Block6, 0, 3); - world.setBlock(x + 2, y + 12, z + 6, Block2, 0, 3); - world.setBlock(x + 3, y + 12, z + 6, Block2, 0, 3); - world.setBlock(x + 4, y + 12, z + 6, Block2, 0, 3); - world.setBlock(x + 5, y + 12, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 12, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 12, z + 6, Block4, 2, 3); - world.setBlock(x + 10, y + 12, z + 6, Block6, 0, 3); - world.setBlock(x + 3, y + 12, z + 7, Block2, 0, 3); - world.setBlock(x + 4, y + 12, z + 7, Block2, 0, 3); - world.setBlock(x + 5, y + 12, z + 7, Block2, 0, 3); - world.setBlock(x + 4, y + 12, z + 8, Block2, 0, 3); - world.setBlock(x + 5, y + 13, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 13, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 2, Block4, 3, 3); - world.setBlock(x + 10, y + 13, z + 2, Block6, 0, 3); - world.setBlock(x + 4, y + 13, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 13, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 13, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 13, z + 3, Block4, 4, 3); - world.setBlock(x + 9, y + 13, z + 3, Block6, 0, 3); - world.setBlock(x + 2, y + 13, z + 4, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 13, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 13, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 13, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 13, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 13, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + 13, z + 4, Block7, 0, 3); - world.setBlock(x + 10, y + 13, z + 4, Block7, 0, 3); - world.setBlock(x + 11, y + 13, z + 4, Block8, 0, 3); - world.setBlock(x + 2, y + 13, z + 5, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 13, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 13, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 13, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 13, z + 5, Block4, 4, 3); - world.setBlock(x + 9, y + 13, z + 5, Block6, 0, 3); - world.setBlock(x + 2, y + 13, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 13, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 13, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 6, Block4, 2, 3); - world.setBlock(x + 8, y + 13, z + 6, Block2, 0, 3); - world.setBlock(x + 9, y + 13, z + 6, Block2, 0, 3); - world.setBlock(x + 10, y + 13, z + 6, Block6, 0, 3); - world.setBlock(x + 2, y + 13, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 3, y + 13, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 13, z + 7, Block2, 0, 3); - world.setBlock(x + 6, y + 13, z + 7, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 7, Block2, 0, 3); - world.setBlock(x + 8, y + 13, z + 7, Block2, 0, 3); - world.setBlock(x + 9, y + 13, z + 7, Block2, 0, 3); - world.setBlock(x + 3, y + 13, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 13, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 13, z + 8, Block2, 0, 3); - world.setBlock(x + 6, y + 13, z + 8, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 8, Block2, 0, 3); - world.setBlock(x + 8, y + 13, z + 8, Block2, 0, 3); - world.setBlock(x + 5, y + 14, z + 2, Block4, 3, 3); - world.setBlock(x + 6, y + 14, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 14, z + 2, Block4, 3, 3); - world.setBlock(x + 10, y + 14, z + 2, Block6, 0, 3); - world.setBlock(x + 4, y + 14, z + 3, Block4, 5, 3); - world.setBlock(x + 5, y + 14, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 14, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 14, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 14, z + 3, Block4, 4, 3); - world.setBlock(x + 9, y + 14, z + 3, Block6, 0, 3); - world.setBlock(x + 4, y + 14, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 14, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 14, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 14, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 14, z + 4, Block2, 0, 3); - world.setBlock(x + 9, y + 14, z + 4, Block6, 0, 3); - world.setBlock(x + 4, y + 14, z + 5, Block4, 5, 3); - world.setBlock(x + 5, y + 14, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 14, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 14, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 14, z + 5, Block4, 4, 3); - world.setBlock(x + 9, y + 14, z + 5, Block6, 0, 3); - world.setBlock(x + 5, y + 14, z + 6, Block4, 2, 3); - world.setBlock(x + 6, y + 14, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 14, z + 6, Block4, 2, 3); - world.setBlock(x + 8, y + 14, z + 6, Blocks.chest, 3, 3); - world.setBlockMetadataWithNotify(x + 8, y + 14, z + 6, 3, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 8, y + 14, z + 6), 8); - world.setBlock(x + 9, y + 14, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 14, z + 6, Block6, 0, 3); - world.setBlock(x + 9, y + 14, z + 7, Blocks.iron_bars, 0, 3); - world.setBlock(x + 4, y + 14, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 14, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 14, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 14, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 14, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 14, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 15, z + 2, Block2, 0, 3); - world.setBlock(x + 6, y + 15, z + 2, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 2, Block2, 0, 3); - world.setBlock(x + 4, y + 15, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + 15, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 15, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 3, Block2, 0, 3); - world.setBlock(x + 8, y + 15, z + 3, Block2, 0, 3); - world.setBlock(x + 10, y + 15, z + 3, Block6, 0, 3); - world.setBlock(x + 4, y + 15, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 15, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 15, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 15, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 15, z + 4, Block2, 0, 3); - world.setBlock(x + 10, y + 15, z + 4, Block6, 0, 3); - world.setBlock(x + 4, y + 15, z + 5, Block2, 0, 3); - world.setBlock(x + 5, y + 15, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 15, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 15, z + 5, Block2, 0, 3); - world.setBlock(x + 10, y + 15, z + 5, Block6, 0, 3); - world.setBlock(x + 5, y + 15, z + 6, Block2, 0, 3); - world.setBlock(x + 6, y + 15, z + 6, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 6, Block2, 0, 3); - world.setBlock(x + 6, y + 16, z + 2, Block2, 0, 3); - world.setBlock(x + 5, y + 16, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 16, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 16, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 16, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 16, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 16, z + 4, Block2, 0, 3); - world.setBlock(x + 8, y + 16, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 16, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 16, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 16, z + 6, Block2, 0, 3); - world.setBlock(x + 5, y + 17, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 17, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 17, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 17, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 17, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 17, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 17, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 18, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 18, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 18, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 18, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 18, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 18, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 18, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 18, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 18, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 19, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 19, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 19, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 19, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 19, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 19, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 19, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 19, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 19, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 20, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 20, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 20, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 20, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 20, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 20, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 20, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 20, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 20, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 21, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 21, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 21, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 21, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 21, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 21, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 21, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 21, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 21, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 22, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 22, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 22, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 22, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 22, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 22, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 22, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 22, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 22, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 23, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 23, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 23, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 23, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 23, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 23, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 23, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 23, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 23, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 24, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 24, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 24, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 24, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 24, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 24, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 24, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 24, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 24, z + 5, Block4, 2, 3); - world.setBlock(x + 3, y + 25, z + 3, Block6, 0, 3); - world.setBlock(x + 5, y + 25, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 25, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 25, z + 3, Block4, 3, 3); - world.setBlock(x + 3, y + 25, z + 4, Block6, 0, 3); - world.setBlock(x + 5, y + 25, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 25, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 25, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 25, z + 5, Block6, 0, 3); - world.setBlock(x + 5, y + 25, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 25, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 25, z + 5, Block4, 2, 3); - world.setBlock(x + 3, y + 26, z + 2, Block6, 0, 3); - world.setBlock(x + 4, y + 26, z + 3, Block6, 0, 3); - world.setBlock(x + 5, y + 26, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 26, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 26, z + 3, Block4, 3, 3); - world.setBlock(x + 4, y + 26, z + 4, Block6, 0, 3); - world.setBlock(x + 5, y + 26, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 26, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 26, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 26, z + 5, Block6, 0, 3); - world.setBlock(x + 5, y + 26, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 26, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 26, z + 5, Block4, 2, 3); - world.setBlock(x + 3, y + 26, z + 6, Block6, 0, 3); - world.setBlock(x + 3, y + 27, z + 2, Block6, 0, 3); - world.setBlock(x + 4, y + 27, z + 3, Block6, 0, 3); - world.setBlock(x + 5, y + 27, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 27, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 27, z + 3, Block4, 3, 3); - world.setBlock(x + 2, y + 27, z + 4, Block8, 0, 3); - world.setBlock(x + 3, y + 27, z + 4, Block7, 0, 3); - world.setBlock(x + 4, y + 27, z + 4, Block7, 0, 3); - world.setBlock(x + 5, y + 27, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 27, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 27, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 27, z + 5, Block6, 0, 3); - world.setBlock(x + 5, y + 27, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 27, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 27, z + 5, Block4, 2, 3); - world.setBlock(x + 3, y + 27, z + 6, Block6, 0, 3); - world.setBlock(x + 3, y + 28, z + 2, Block6, 0, 3); - world.setBlock(x + 4, y + 28, z + 3, Block6, 0, 3); - world.setBlock(x + 5, y + 28, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 28, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 28, z + 3, Block4, 3, 3); - world.setBlock(x + 4, y + 28, z + 4, Block6, 0, 3); - world.setBlock(x + 5, y + 28, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 28, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 28, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 28, z + 5, Block6, 0, 3); - world.setBlock(x + 5, y + 28, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 28, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 28, z + 5, Block4, 2, 3); - world.setBlock(x + 3, y + 28, z + 6, Block6, 0, 3); - world.setBlock(x + 3, y + 29, z + 3, Block6, 0, 3); - world.setBlock(x + 5, y + 29, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 29, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 29, z + 3, Block4, 3, 3); - world.setBlock(x + 3, y + 29, z + 4, Block6, 0, 3); - world.setBlock(x + 5, y + 29, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 29, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 29, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 29, z + 5, Block6, 0, 3); - world.setBlock(x + 5, y + 29, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 29, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 29, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 30, z + 1, Block6, 0, 3); - world.setBlock(x + 6, y + 30, z + 1, Block6, 0, 3); - world.setBlock(x + 7, y + 30, z + 1, Block6, 0, 3); - world.setBlock(x + 5, y + 30, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 30, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 30, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 30, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 30, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 30, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 30, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 30, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 30, z + 5, Block4, 2, 3); - world.setBlock(x + 4, y + 31, z + 1, Block6, 0, 3); - world.setBlock(x + 8, y + 31, z + 1, Block6, 0, 3); - world.setBlock(x + 5, y + 31, z + 2, Block6, 0, 3); - world.setBlock(x + 6, y + 31, z + 2, Block6, 0, 3); - world.setBlock(x + 7, y + 31, z + 2, Block6, 0, 3); - world.setBlock(x + 5, y + 31, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 31, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 31, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 31, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 31, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 31, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 31, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 31, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 31, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 32, z + 0, Block8, 0, 3); - world.setBlock(x + 4, y + 32, z + 1, Block6, 0, 3); - world.setBlock(x + 6, y + 32, z + 1, Block7, 0, 3); - world.setBlock(x + 8, y + 32, z + 1, Block6, 0, 3); - world.setBlock(x + 5, y + 32, z + 2, Block6, 0, 3); - world.setBlock(x + 6, y + 32, z + 2, Blocks.chest, 2, 3); - world.setBlockMetadataWithNotify(x + 6, y + 32, z + 2, 2, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 6, y + 32, z + 2), 8); - world.setBlock(x + 7, y + 32, z + 2, Block6, 0, 3); - world.setBlock(x + 5, y + 32, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 32, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 32, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 32, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 32, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 32, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 32, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 32, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 32, z + 5, Block4, 2, 3); - world.setBlock(x + 4, y + 33, z + 1, Block6, 0, 3); - world.setBlock(x + 8, y + 33, z + 1, Block6, 0, 3); - world.setBlock(x + 5, y + 33, z + 2, Block6, 0, 3); - world.setBlock(x + 6, y + 33, z + 2, Block6, 0, 3); - world.setBlock(x + 7, y + 33, z + 2, Block6, 0, 3); - world.setBlock(x + 5, y + 33, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 33, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 33, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 33, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 33, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 33, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 33, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 33, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 33, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 34, z + 1, Block6, 0, 3); - world.setBlock(x + 6, y + 34, z + 1, Block6, 0, 3); - world.setBlock(x + 7, y + 34, z + 1, Block6, 0, 3); - world.setBlock(x + 5, y + 34, z + 3, Block4, 3, 3); - world.setBlock(x + 6, y + 34, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 34, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 34, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 34, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 34, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 34, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 34, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 34, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 35, z + 3, Block2, 0, 3); - world.setBlock(x + 6, y + 35, z + 3, Block2, 0, 3); - world.setBlock(x + 7, y + 35, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + 35, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 35, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 35, z + 4, Block2, 0, 3); - world.setBlock(x + 5, y + 35, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 35, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 35, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 36, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + 36, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 36, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 36, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 36, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 37, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 37, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 37, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 37, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 37, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 38, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 38, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 38, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 38, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 38, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 39, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 39, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 39, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 39, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 39, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 40, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 40, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 40, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 40, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 40, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 41, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 41, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 41, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 41, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 41, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 41, z + 6, Block6, 0, 3); - world.setBlock(x + 6, y + 41, z + 6, Block6, 0, 3); - world.setBlock(x + 7, y + 41, z + 6, Block6, 0, 3); - world.setBlock(x + 6, y + 42, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 42, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 42, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 42, z + 4, Block4, 4, 3); - world.setBlock(x + 5, y + 42, z + 5, Block6, 0, 3); - world.setBlock(x + 6, y + 42, z + 5, Block6, 0, 3); - world.setBlock(x + 7, y + 42, z + 5, Block6, 0, 3); - world.setBlock(x + 4, y + 42, z + 6, Block6, 0, 3); - world.setBlock(x + 8, y + 42, z + 6, Block6, 0, 3); - world.setBlock(x + 6, y + 43, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 43, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 43, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 43, z + 4, Block4, 4, 3); - world.setBlock(x + 5, y + 43, z + 5, Block6, 0, 3); - world.setBlock(x + 6, y + 43, z + 5, Block7, 0, 3); - world.setBlock(x + 7, y + 43, z + 5, Block6, 0, 3); - world.setBlock(x + 4, y + 43, z + 6, Block6, 0, 3); - world.setBlock(x + 6, y + 43, z + 6, Block7, 0, 3); - world.setBlock(x + 8, y + 43, z + 6, Block6, 0, 3); - world.setBlock(x + 6, y + 43, z + 7, Block8, 0, 3); - world.setBlock(x + 6, y + 44, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 44, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 44, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 44, z + 4, Block4, 4, 3); - world.setBlock(x + 5, y + 44, z + 5, Block6, 0, 3); - world.setBlock(x + 6, y + 44, z + 5, Block6, 0, 3); - world.setBlock(x + 7, y + 44, z + 5, Block6, 0, 3); - world.setBlock(x + 4, y + 44, z + 6, Block6, 0, 3); - world.setBlock(x + 8, y + 44, z + 6, Block6, 0, 3); - world.setBlock(x + 6, y + 45, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 45, z + 4, Block4, 5, 3); - - generate_r02(world, rand, x, y, z); - return true; - - } - public boolean generate_r02(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 6, y + 45, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 45, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 45, z + 5, Block4, 2, 3); - world.setBlock(x + 5, y + 45, z + 6, Block6, 0, 3); - world.setBlock(x + 6, y + 45, z + 6, Block6, 0, 3); - world.setBlock(x + 7, y + 45, z + 6, Block6, 0, 3); - world.setBlock(x + 6, y + 46, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 46, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 46, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 46, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 46, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 47, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 47, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 47, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 47, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 47, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 48, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 48, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 48, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 48, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 48, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 49, z + 3, Block4, 3, 3); - world.setBlock(x + 5, y + 49, z + 4, Block4, 5, 3); - world.setBlock(x + 6, y + 49, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 49, z + 4, Block4, 4, 3); - world.setBlock(x + 6, y + 49, z + 5, Block4, 2, 3); - world.setBlock(x + 6, y + 50, z + 3, Block2, 0, 3); - world.setBlock(x + 5, y + 50, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 50, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 7, y + 50, z + 4, Block2, 0, 3); - world.setBlock(x + 6, y + 50, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 51, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 52, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 53, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 54, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 55, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 56, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 57, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 58, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 59, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 60, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 61, z + 4, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + 62, z + 4, Block9, 2, 3); - - generate_r03_last(world, rand, x, y, z); - return true; - - } - public boolean generate_r03_last(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 5, y + 1, z + 11, Blocks.torch, 1, 3); - world.setBlock(x + 3, y + 1, z + 12, Blocks.wall_sign, 4, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned relay tower at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.item.ItemDoor; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Relay extends WorldGenerator +{ + Block Block1 = ModBlocks.reinforced_brick; + Block Block2 = ModBlocks.block_steel; + Block Block3 = ModBlocks.brick_concrete; + Block Block4 = ModBlocks.steel_scaffold; + Block Block5 = ModBlocks.reinforced_glass; + Block Block6 = ModBlocks.block_beryllium; + Block Block7 = ModBlocks.block_red_copper; + Block Block8 = ModBlocks.block_tungsten; + Block Block9 = ModBlocks.pole_top; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.stone, + Blocks.grass, + Blocks.dirt, + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x + 5, y, z + 8)) + { + return false; + } + + world.setBlock(x + 2, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 1, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 0, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 5, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 6, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 8, y + -2, z + 2, Block2, 0, 3); + world.setBlock(x + 9, y + -2, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + -2, z + 3, Block2, 0, 3); + world.setBlock(x + 9, y + -2, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 3, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 7, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + -2, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + -2, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 5, Block2, 0, 3); + world.setBlock(x + 5, y + -2, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + -2, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + -2, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + -2, z + 5, Block2, 0, 3); + world.setBlock(x + 9, y + -2, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 6, Block2, 0, 3); + world.setBlock(x + 5, y + -2, z + 6, Block2, 0, 3); + world.setBlock(x + 6, y + -2, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + -2, z + 6, Block2, 0, 3); + world.setBlock(x + 8, y + -2, z + 6, Block2, 0, 3); + world.setBlock(x + 9, y + -2, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 3, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 0, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 0, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 0, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 7, y + -1, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 0, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 2, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 2, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 5, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 6, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 8, y + -1, z + 2, Block2, 0, 3); + world.setBlock(x + 9, y + -1, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 2, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 3, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 3, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + -1, z + 3, Block2, 0, 3); + world.setBlock(x + 9, y + -1, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 3, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 4, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 4, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 7, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + -1, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + -1, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 4, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 5, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 5, Block2, 0, 3); + world.setBlock(x + 5, y + -1, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + -1, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + -1, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + -1, z + 5, Block2, 0, 3); + world.setBlock(x + 9, y + -1, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 5, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 6, Block2, 0, 3); + world.setBlock(x + 5, y + -1, z + 6, Block2, 0, 3); + world.setBlock(x + 6, y + -1, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + -1, z + 6, Block2, 0, 3); + world.setBlock(x + 8, y + -1, z + 6, Block2, 0, 3); + world.setBlock(x + 9, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 0, y + -1, z + 7, Block3, 0, 3); + world.setBlock(x + 1, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 7, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 7, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 8, Block3, 0, 3); + world.setBlock(x + 0, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 9, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 9, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 9, Block3, 0, 3); + world.setBlock(x + 7, y + -1, z + 9, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 9, Block3, 0, 3); + world.setBlock(x + 9, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -1, z + 10, Block3, 0, 3); + world.setBlock(x + 1, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 10, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 10, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 10, Block3, 0, 3); + world.setBlock(x + 7, y + -1, z + 10, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 10, Block3, 0, 3); + world.setBlock(x + 9, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 11, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 11, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 11, Block3, 0, 3); + world.setBlock(x + 7, y + -1, z + 11, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 11, Block3, 0, 3); + world.setBlock(x + 9, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 1, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 7, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 9, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 0, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 1, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 13, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 13, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 13, Block3, 0, 3); + world.setBlock(x + 7, y + -1, z + 13, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 13, Block3, 0, 3); + world.setBlock(x + 9, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 0, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 1, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 0, y + -1, z + 15, Block3, 0, 3); + world.setBlock(x + 1, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 4, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 15, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 15, Block3, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Block3, 0, 3); + world.setBlock(x + 3, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 0, z + 0, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 0, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 0, z + 0, Block3, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 0, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 0, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 0, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 2, Block4, 3, 3); + world.setBlock(x + 10, y + 0, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 3, Block4, 4, 3); + world.setBlock(x + 10, y + 0, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 0, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 5, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 0, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 5, Block4, 4, 3); + world.setBlock(x + 10, y + 0, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 0, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 0, z + 6, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 0, z + 6, Block4, 2, 3); + world.setBlock(x + 10, y + 0, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 7, Block3, 0, 3); + world.setBlock(x + 1, y + 0, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 7, Block3, 0, 3); + world.setBlock(x + 3, y + 0, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 7, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 7, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 8, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + 0, z + 7, Block3, 0, 3); + world.setBlock(x + 0, y + 0, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 5, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 6, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 7, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 8, y + 0, z + 8, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + 0, z + 8, Block3, 0, 3); + world.setBlock(x + 0, y + 0, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 0, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 0, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 0, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 0, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 0, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 10, Block3, 0, 3); + world.setBlock(x + 4, y + 0, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 0, z + 10, Blocks.chest, 3, 3); + world.setBlockMetadataWithNotify(x + 6, y + 0, z + 10, 3, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 6, y + 0, z + 10), 8); + world.setBlock(x + 7, y + 0, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 0, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 0, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 0, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 0, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 0, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 12, Block3, 0, 3); + //world.setBlock(x + 4, y + 0, z + 12, Blocks.iron_door, 0, 3); + ItemDoor.placeDoorBlock(world, x + 4, y + 0, z + 12, 0, Blocks.iron_door); + world.setBlock(x + 7, y + 0, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 0, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 0, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 0, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 0, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 0, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 0, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 0, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 0, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 0, z + 15, Block3, 0, 3); + world.setBlock(x + 1, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 0, z + 15, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 0, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 0, z + 15, Block3, 0, 3); + world.setBlock(x + 2, y + 1, z + 0, Block3, 0, 3); + world.setBlock(x + 3, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 1, z + 0, Block3, 0, 3); + world.setBlock(x + 7, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 1, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 1, z + 0, Block3, 0, 3); + world.setBlock(x + 2, y + 1, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 1, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 1, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 2, Block4, 3, 3); + world.setBlock(x + 10, y + 1, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 3, Block4, 4, 3); + world.setBlock(x + 10, y + 1, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 5, Block4, 4, 3); + world.setBlock(x + 10, y + 1, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 1, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 6, Block4, 2, 3); + world.setBlock(x + 10, y + 1, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 7, Block3, 0, 3); + world.setBlock(x + 1, y + 1, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 7, Block3, 0, 3); + world.setBlock(x + 3, y + 1, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 7, Block2, 0, 3); + world.setBlock(x + 10, y + 1, z + 7, Block3, 0, 3); + world.setBlock(x + 0, y + 1, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 6, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 7, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 8, y + 1, z + 8, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + 1, z + 8, Block3, 0, 3); + world.setBlock(x + 0, y + 1, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 1, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 1, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 1, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 1, z + 9, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + 1, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 10, Block3, 0, 3); + world.setBlock(x + 4, y + 1, z + 10, Block5, 0, 3); + world.setBlock(x + 7, y + 1, z + 10, ModBlocks.machine_battery, 4, 3); + world.setBlock(x + 8, y + 1, z + 10, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + 1, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 1, z + 11, ModBlocks.machine_battery, 4, 3); + world.setBlock(x + 8, y + 1, z + 11, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + 1, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 12, Block3, 0, 3); + //world.setBlock(x + 4, y + 1, z + 12, Blocks.iron_door, 8, 3); + world.setBlock(x + 7, y + 1, z + 12, ModBlocks.machine_battery, 4, 3); + world.setBlock(x + 8, y + 1, z + 12, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + 1, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 1, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 1, z + 13, Block5, 0, 3); + world.setBlock(x + 7, y + 1, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 1, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 1, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 1, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 0, y + 1, z + 15, Block3, 0, 3); + world.setBlock(x + 1, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 1, z + 15, Block3, 0, 3); + world.setBlock(x + 6, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 1, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 1, z + 15, Block3, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, Block3, 0, 3); + world.setBlock(x + 3, y + 2, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 6, y + 2, z + 0, Blocks.anvil, 3, 3); + world.setBlock(x + 7, y + 2, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 8, y + 2, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 2, z + 0, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 0, Block3, 0, 3); + world.setBlock(x + 2, y + 2, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 1, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 2, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 2, Block4, 3, 3); + world.setBlock(x + 10, y + 2, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 3, Block4, 4, 3); + world.setBlock(x + 10, y + 2, z + 3, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 2, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 2, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 2, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 2, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 5, Block4, 4, 3); + world.setBlock(x + 10, y + 2, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 2, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 6, Block4, 2, 3); + world.setBlock(x + 10, y + 2, z + 6, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 2, z + 7, Block3, 0, 3); + world.setBlock(x + 1, y + 2, z + 7, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 7, Block3, 0, 3); + world.setBlock(x + 3, y + 2, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 7, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 7, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 7, Block2, 0, 3); + world.setBlock(x + 10, y + 2, z + 7, Blocks.anvil, 0, 3); + world.setBlock(x + 0, y + 2, z + 8, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 7, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 8, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 10, y + 2, z + 8, Blocks.anvil, 0, 3); + world.setBlock(x + 0, y + 2, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 2, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 2, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 2, z + 9, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 2, z + 9, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 2, z + 10, Block3, 0, 3); + world.setBlock(x + 4, y + 2, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 2, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 2, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 2, z + 10, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 2, z + 10, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 2, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 2, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 2, z + 11, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 2, z + 11, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 2, z + 12, Block3, 0, 3); + world.setBlock(x + 4, y + 2, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 2, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 2, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 2, z + 12, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 2, z + 12, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 5, y + 2, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 6, y + 2, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 7, y + 2, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 8, y + 2, z + 13, Blocks.brick_block, 0, 3); + world.setBlock(x + 10, y + 2, z + 13, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 2, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 14, Blocks.web, 0, 3); + world.setBlock(x + 0, y + 2, z + 15, Block3, 0, 3); + world.setBlock(x + 1, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 2, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 3, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 4, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 5, y + 2, z + 15, Blocks.anvil, 1, 3); + world.setBlock(x + 6, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 7, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 8, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 9, y + 2, z + 15, Blocks.web, 0, 3); + world.setBlock(x + 10, y + 2, z + 15, Block3, 0, 3); + world.setBlock(x + 5, y + 3, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 3, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 2, Block4, 3, 3); + world.setBlock(x + 4, y + 3, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 3, Block4, 4, 3); + world.setBlock(x + 4, y + 3, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 3, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 3, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 3, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 5, Block4, 4, 3); + world.setBlock(x + 9, y + 3, z + 5, Block2, 0, 3); + world.setBlock(x + 5, y + 3, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 6, Block4, 2, 3); + world.setBlock(x + 8, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 10, y + 3, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 9, y + 3, z + 7, Block2, 0, 3); + world.setBlock(x + 5, y + 3, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 3, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 8, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 4, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 2, Block4, 3, 3); + world.setBlock(x + 4, y + 4, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 3, Block4, 4, 3); + world.setBlock(x + 4, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + 4, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 4, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 4, z + 5, Block4, 4, 3); + world.setBlock(x + 9, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 10, y + 4, z + 5, Block2, 0, 3); + world.setBlock(x + 5, y + 4, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 4, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 4, z + 6, Block4, 2, 3); + world.setBlock(x + 10, y + 4, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 4, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 4, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 4, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 4, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 4, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 4, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 5, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 5, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 5, z + 2, Block4, 3, 3); + world.setBlock(x + 4, y + 5, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 5, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 5, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 5, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 5, z + 3, Block4, 4, 3); + world.setBlock(x + 9, y + 5, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 5, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 5, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 5, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 5, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 5, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + 5, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 5, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 5, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 5, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 5, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 5, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 5, z + 5, Block4, 4, 3); + world.setBlock(x + 10, y + 5, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 5, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 5, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 5, z + 6, Block4, 2, 3); + world.setBlock(x + 10, y + 5, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 6, z + 0, Block2, 0, 3); + world.setBlock(x + 7, y + 6, z + 1, Block2, 0, 3); + world.setBlock(x + 8, y + 6, z + 1, Block2, 0, 3); + world.setBlock(x + 9, y + 6, z + 1, Block2, 0, 3); + world.setBlock(x + 5, y + 6, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 6, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 6, z + 2, Block4, 3, 3); + world.setBlock(x + 8, y + 6, z + 2, Block2, 0, 3); + world.setBlock(x + 9, y + 6, z + 2, Block2, 0, 3); + world.setBlock(x + 10, y + 6, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + 6, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 6, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 6, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 6, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 6, z + 3, Block4, 4, 3); + world.setBlock(x + 9, y + 6, z + 3, Block2, 0, 3); + world.setBlock(x + 10, y + 6, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 6, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 6, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 6, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 6, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 6, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 6, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 6, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 6, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 6, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 6, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 6, z + 5, Block4, 4, 3); + world.setBlock(x + 10, y + 6, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 6, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 6, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 6, z + 6, Block4, 2, 3); + world.setBlock(x + 7, y + 7, z + 0, Block2, 0, 3); + world.setBlock(x + 8, y + 7, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 7, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 7, z + 1, Block2, 0, 3); + world.setBlock(x + 7, y + 7, z + 1, Block2, 0, 3); + world.setBlock(x + 9, y + 7, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 7, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 7, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 7, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 7, z + 2, Block4, 3, 3); + world.setBlock(x + 10, y + 7, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 7, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 7, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 7, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 7, z + 3, Block4, 4, 3); + world.setBlock(x + 10, y + 7, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 7, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 7, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 7, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 7, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 7, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 7, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 7, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 7, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 7, z + 5, Block4, 4, 3); + world.setBlock(x + 5, y + 7, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 7, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 7, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 8, z + 0, Block2, 0, 3); + world.setBlock(x + 7, y + 8, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 8, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 8, z + 1, Block2, 0, 3); + world.setBlock(x + 6, y + 8, z + 1, Block2, 0, 3); + world.setBlock(x + 5, y + 8, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 8, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 8, z + 2, Block4, 3, 3); + world.setBlock(x + 4, y + 8, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 8, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 8, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 8, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 8, z + 3, Block4, 4, 3); + world.setBlock(x + 4, y + 8, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 8, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 8, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 8, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 8, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 8, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 8, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 8, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 8, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 8, z + 5, Block4, 4, 3); + world.setBlock(x + 5, y + 8, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 8, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 8, z + 6, Block4, 2, 3); + world.setBlock(x + 4, y + 9, z + 0, Block2, 0, 3); + world.setBlock(x + 5, y + 9, z + 0, Block2, 0, 3); + world.setBlock(x + 6, y + 9, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 9, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 9, z + 1, Block2, 0, 3); + world.setBlock(x + 4, y + 9, z + 1, Block2, 0, 3); + world.setBlock(x + 5, y + 9, z + 1, Block2, 0, 3); + world.setBlock(x + 2, y + 9, z + 2, Block2, 0, 3); + world.setBlock(x + 3, y + 9, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + 9, z + 2, Block2, 0, 3); + world.setBlock(x + 5, y + 9, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 9, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 9, z + 2, Block4, 3, 3); + world.setBlock(x + 3, y + 9, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 9, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 9, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 9, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 9, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 9, z + 3, Block4, 4, 3); + world.setBlock(x + 4, y + 9, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 9, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 9, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 9, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 9, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 9, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 9, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 9, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 9, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 9, z + 5, Block4, 4, 3); + world.setBlock(x + 5, y + 9, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 9, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 9, z + 6, Block4, 2, 3); + world.setBlock(x + 3, y + 10, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 10, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 10, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 10, z + 0, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 10, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 10, z + 1, Blocks.iron_bars, 0, 3); + world.setBlock(x + 2, y + 10, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 10, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 10, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 10, z + 2, Block4, 3, 3); + world.setBlock(x + 2, y + 10, z + 3, Block2, 0, 3); + world.setBlock(x + 3, y + 10, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 10, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 10, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 10, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 10, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 10, z + 3, Block4, 4, 3); + world.setBlock(x + 3, y + 10, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 10, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 10, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 10, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 10, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 10, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 10, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 10, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 10, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 10, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 10, z + 5, Block4, 4, 3); + world.setBlock(x + 5, y + 10, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 10, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 10, z + 6, Block4, 2, 3); + world.setBlock(x + 2, y + 11, z + 2, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 11, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 11, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 11, z + 2, Block4, 3, 3); + world.setBlock(x + 2, y + 11, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 11, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 11, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 11, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 11, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 11, z + 3, Block4, 4, 3); + world.setBlock(x + 10, y + 11, z + 3, Block6, 0, 3); + world.setBlock(x + 2, y + 11, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 11, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 11, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 11, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 11, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 11, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 11, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 11, z + 4, Block6, 0, 3); + world.setBlock(x + 3, y + 11, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 11, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 11, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 11, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 11, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 11, z + 5, Block4, 4, 3); + world.setBlock(x + 10, y + 11, z + 5, Block6, 0, 3); + world.setBlock(x + 5, y + 11, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 11, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 11, z + 6, Block4, 2, 3); + world.setBlock(x + 5, y + 12, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 12, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 12, z + 2, Block4, 3, 3); + world.setBlock(x + 10, y + 12, z + 2, Block6, 0, 3); + world.setBlock(x + 2, y + 12, z + 3, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 12, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 12, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 12, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 12, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 12, z + 3, Block4, 4, 3); + world.setBlock(x + 9, y + 12, z + 3, Block6, 0, 3); + world.setBlock(x + 2, y + 12, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 12, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 12, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 12, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 12, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 12, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + 12, z + 4, Block6, 0, 3); + world.setBlock(x + 2, y + 12, z + 5, Block2, 0, 3); + world.setBlock(x + 3, y + 12, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 12, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 12, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 12, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 12, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 12, z + 5, Block4, 4, 3); + world.setBlock(x + 9, y + 12, z + 5, Block6, 0, 3); + world.setBlock(x + 2, y + 12, z + 6, Block2, 0, 3); + world.setBlock(x + 3, y + 12, z + 6, Block2, 0, 3); + world.setBlock(x + 4, y + 12, z + 6, Block2, 0, 3); + world.setBlock(x + 5, y + 12, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 12, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 12, z + 6, Block4, 2, 3); + world.setBlock(x + 10, y + 12, z + 6, Block6, 0, 3); + world.setBlock(x + 3, y + 12, z + 7, Block2, 0, 3); + world.setBlock(x + 4, y + 12, z + 7, Block2, 0, 3); + world.setBlock(x + 5, y + 12, z + 7, Block2, 0, 3); + world.setBlock(x + 4, y + 12, z + 8, Block2, 0, 3); + world.setBlock(x + 5, y + 13, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 13, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 2, Block4, 3, 3); + world.setBlock(x + 10, y + 13, z + 2, Block6, 0, 3); + world.setBlock(x + 4, y + 13, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 13, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 13, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 13, z + 3, Block4, 4, 3); + world.setBlock(x + 9, y + 13, z + 3, Block6, 0, 3); + world.setBlock(x + 2, y + 13, z + 4, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 13, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 13, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 13, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 13, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 13, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + 13, z + 4, Block7, 0, 3); + world.setBlock(x + 10, y + 13, z + 4, Block7, 0, 3); + world.setBlock(x + 11, y + 13, z + 4, Block8, 0, 3); + world.setBlock(x + 2, y + 13, z + 5, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 13, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 13, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 13, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 13, z + 5, Block4, 4, 3); + world.setBlock(x + 9, y + 13, z + 5, Block6, 0, 3); + world.setBlock(x + 2, y + 13, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 13, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 13, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 6, Block4, 2, 3); + world.setBlock(x + 8, y + 13, z + 6, Block2, 0, 3); + world.setBlock(x + 9, y + 13, z + 6, Block2, 0, 3); + world.setBlock(x + 10, y + 13, z + 6, Block6, 0, 3); + world.setBlock(x + 2, y + 13, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 3, y + 13, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 13, z + 7, Block2, 0, 3); + world.setBlock(x + 6, y + 13, z + 7, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 7, Block2, 0, 3); + world.setBlock(x + 8, y + 13, z + 7, Block2, 0, 3); + world.setBlock(x + 9, y + 13, z + 7, Block2, 0, 3); + world.setBlock(x + 3, y + 13, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 13, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 13, z + 8, Block2, 0, 3); + world.setBlock(x + 6, y + 13, z + 8, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 8, Block2, 0, 3); + world.setBlock(x + 8, y + 13, z + 8, Block2, 0, 3); + world.setBlock(x + 5, y + 14, z + 2, Block4, 3, 3); + world.setBlock(x + 6, y + 14, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 14, z + 2, Block4, 3, 3); + world.setBlock(x + 10, y + 14, z + 2, Block6, 0, 3); + world.setBlock(x + 4, y + 14, z + 3, Block4, 5, 3); + world.setBlock(x + 5, y + 14, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 14, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 14, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 14, z + 3, Block4, 4, 3); + world.setBlock(x + 9, y + 14, z + 3, Block6, 0, 3); + world.setBlock(x + 4, y + 14, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 14, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 14, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 14, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 14, z + 4, Block2, 0, 3); + world.setBlock(x + 9, y + 14, z + 4, Block6, 0, 3); + world.setBlock(x + 4, y + 14, z + 5, Block4, 5, 3); + world.setBlock(x + 5, y + 14, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 14, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 14, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 14, z + 5, Block4, 4, 3); + world.setBlock(x + 9, y + 14, z + 5, Block6, 0, 3); + world.setBlock(x + 5, y + 14, z + 6, Block4, 2, 3); + world.setBlock(x + 6, y + 14, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 14, z + 6, Block4, 2, 3); + world.setBlock(x + 8, y + 14, z + 6, Blocks.chest, 3, 3); + world.setBlockMetadataWithNotify(x + 8, y + 14, z + 6, 3, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 8, y + 14, z + 6), 8); + world.setBlock(x + 9, y + 14, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 14, z + 6, Block6, 0, 3); + world.setBlock(x + 9, y + 14, z + 7, Blocks.iron_bars, 0, 3); + world.setBlock(x + 4, y + 14, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 14, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 14, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 14, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 14, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 14, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 15, z + 2, Block2, 0, 3); + world.setBlock(x + 6, y + 15, z + 2, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 2, Block2, 0, 3); + world.setBlock(x + 4, y + 15, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + 15, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 15, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 3, Block2, 0, 3); + world.setBlock(x + 8, y + 15, z + 3, Block2, 0, 3); + world.setBlock(x + 10, y + 15, z + 3, Block6, 0, 3); + world.setBlock(x + 4, y + 15, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 15, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 15, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 15, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 15, z + 4, Block2, 0, 3); + world.setBlock(x + 10, y + 15, z + 4, Block6, 0, 3); + world.setBlock(x + 4, y + 15, z + 5, Block2, 0, 3); + world.setBlock(x + 5, y + 15, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 15, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 15, z + 5, Block2, 0, 3); + world.setBlock(x + 10, y + 15, z + 5, Block6, 0, 3); + world.setBlock(x + 5, y + 15, z + 6, Block2, 0, 3); + world.setBlock(x + 6, y + 15, z + 6, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 6, Block2, 0, 3); + world.setBlock(x + 6, y + 16, z + 2, Block2, 0, 3); + world.setBlock(x + 5, y + 16, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 16, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 16, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 16, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 16, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 16, z + 4, Block2, 0, 3); + world.setBlock(x + 8, y + 16, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 16, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 16, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 16, z + 6, Block2, 0, 3); + world.setBlock(x + 5, y + 17, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 17, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 17, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 17, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 17, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 17, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 17, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 18, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 18, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 18, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 18, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 18, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 18, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 18, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 18, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 18, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 19, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 19, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 19, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 19, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 19, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 19, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 19, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 19, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 19, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 20, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 20, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 20, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 20, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 20, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 20, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 20, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 20, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 20, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 21, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 21, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 21, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 21, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 21, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 21, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 21, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 21, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 21, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 22, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 22, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 22, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 22, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 22, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 22, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 22, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 22, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 22, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 23, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 23, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 23, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 23, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 23, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 23, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 23, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 23, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 23, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 24, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 24, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 24, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 24, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 24, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 24, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 24, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 24, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 24, z + 5, Block4, 2, 3); + world.setBlock(x + 3, y + 25, z + 3, Block6, 0, 3); + world.setBlock(x + 5, y + 25, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 25, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 25, z + 3, Block4, 3, 3); + world.setBlock(x + 3, y + 25, z + 4, Block6, 0, 3); + world.setBlock(x + 5, y + 25, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 25, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 25, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 25, z + 5, Block6, 0, 3); + world.setBlock(x + 5, y + 25, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 25, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 25, z + 5, Block4, 2, 3); + world.setBlock(x + 3, y + 26, z + 2, Block6, 0, 3); + world.setBlock(x + 4, y + 26, z + 3, Block6, 0, 3); + world.setBlock(x + 5, y + 26, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 26, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 26, z + 3, Block4, 3, 3); + world.setBlock(x + 4, y + 26, z + 4, Block6, 0, 3); + world.setBlock(x + 5, y + 26, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 26, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 26, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 26, z + 5, Block6, 0, 3); + world.setBlock(x + 5, y + 26, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 26, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 26, z + 5, Block4, 2, 3); + world.setBlock(x + 3, y + 26, z + 6, Block6, 0, 3); + world.setBlock(x + 3, y + 27, z + 2, Block6, 0, 3); + world.setBlock(x + 4, y + 27, z + 3, Block6, 0, 3); + world.setBlock(x + 5, y + 27, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 27, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 27, z + 3, Block4, 3, 3); + world.setBlock(x + 2, y + 27, z + 4, Block8, 0, 3); + world.setBlock(x + 3, y + 27, z + 4, Block7, 0, 3); + world.setBlock(x + 4, y + 27, z + 4, Block7, 0, 3); + world.setBlock(x + 5, y + 27, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 27, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 27, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 27, z + 5, Block6, 0, 3); + world.setBlock(x + 5, y + 27, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 27, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 27, z + 5, Block4, 2, 3); + world.setBlock(x + 3, y + 27, z + 6, Block6, 0, 3); + world.setBlock(x + 3, y + 28, z + 2, Block6, 0, 3); + world.setBlock(x + 4, y + 28, z + 3, Block6, 0, 3); + world.setBlock(x + 5, y + 28, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 28, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 28, z + 3, Block4, 3, 3); + world.setBlock(x + 4, y + 28, z + 4, Block6, 0, 3); + world.setBlock(x + 5, y + 28, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 28, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 28, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 28, z + 5, Block6, 0, 3); + world.setBlock(x + 5, y + 28, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 28, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 28, z + 5, Block4, 2, 3); + world.setBlock(x + 3, y + 28, z + 6, Block6, 0, 3); + world.setBlock(x + 3, y + 29, z + 3, Block6, 0, 3); + world.setBlock(x + 5, y + 29, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 29, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 29, z + 3, Block4, 3, 3); + world.setBlock(x + 3, y + 29, z + 4, Block6, 0, 3); + world.setBlock(x + 5, y + 29, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 29, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 29, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 29, z + 5, Block6, 0, 3); + world.setBlock(x + 5, y + 29, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 29, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 29, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 30, z + 1, Block6, 0, 3); + world.setBlock(x + 6, y + 30, z + 1, Block6, 0, 3); + world.setBlock(x + 7, y + 30, z + 1, Block6, 0, 3); + world.setBlock(x + 5, y + 30, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 30, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 30, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 30, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 30, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 30, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 30, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 30, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 30, z + 5, Block4, 2, 3); + world.setBlock(x + 4, y + 31, z + 1, Block6, 0, 3); + world.setBlock(x + 8, y + 31, z + 1, Block6, 0, 3); + world.setBlock(x + 5, y + 31, z + 2, Block6, 0, 3); + world.setBlock(x + 6, y + 31, z + 2, Block6, 0, 3); + world.setBlock(x + 7, y + 31, z + 2, Block6, 0, 3); + world.setBlock(x + 5, y + 31, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 31, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 31, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 31, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 31, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 31, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 31, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 31, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 31, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 32, z + 0, Block8, 0, 3); + world.setBlock(x + 4, y + 32, z + 1, Block6, 0, 3); + world.setBlock(x + 6, y + 32, z + 1, Block7, 0, 3); + world.setBlock(x + 8, y + 32, z + 1, Block6, 0, 3); + world.setBlock(x + 5, y + 32, z + 2, Block6, 0, 3); + world.setBlock(x + 6, y + 32, z + 2, Blocks.chest, 2, 3); + world.setBlockMetadataWithNotify(x + 6, y + 32, z + 2, 2, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 6, y + 32, z + 2), 8); + world.setBlock(x + 7, y + 32, z + 2, Block6, 0, 3); + world.setBlock(x + 5, y + 32, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 32, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 32, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 32, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 32, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 32, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 32, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 32, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 32, z + 5, Block4, 2, 3); + world.setBlock(x + 4, y + 33, z + 1, Block6, 0, 3); + world.setBlock(x + 8, y + 33, z + 1, Block6, 0, 3); + world.setBlock(x + 5, y + 33, z + 2, Block6, 0, 3); + world.setBlock(x + 6, y + 33, z + 2, Block6, 0, 3); + world.setBlock(x + 7, y + 33, z + 2, Block6, 0, 3); + world.setBlock(x + 5, y + 33, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 33, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 33, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 33, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 33, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 33, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 33, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 33, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 33, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 34, z + 1, Block6, 0, 3); + world.setBlock(x + 6, y + 34, z + 1, Block6, 0, 3); + world.setBlock(x + 7, y + 34, z + 1, Block6, 0, 3); + world.setBlock(x + 5, y + 34, z + 3, Block4, 3, 3); + world.setBlock(x + 6, y + 34, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 34, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 34, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 34, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 34, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 34, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 34, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 34, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 35, z + 3, Block2, 0, 3); + world.setBlock(x + 6, y + 35, z + 3, Block2, 0, 3); + world.setBlock(x + 7, y + 35, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + 35, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 35, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 35, z + 4, Block2, 0, 3); + world.setBlock(x + 5, y + 35, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 35, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 35, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 36, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + 36, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 36, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 36, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 36, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 37, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 37, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 37, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 37, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 37, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 38, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 38, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 38, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 38, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 38, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 39, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 39, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 39, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 39, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 39, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 40, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 40, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 40, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 40, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 40, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 41, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 41, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 41, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 41, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 41, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 41, z + 6, Block6, 0, 3); + world.setBlock(x + 6, y + 41, z + 6, Block6, 0, 3); + world.setBlock(x + 7, y + 41, z + 6, Block6, 0, 3); + world.setBlock(x + 6, y + 42, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 42, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 42, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 42, z + 4, Block4, 4, 3); + world.setBlock(x + 5, y + 42, z + 5, Block6, 0, 3); + world.setBlock(x + 6, y + 42, z + 5, Block6, 0, 3); + world.setBlock(x + 7, y + 42, z + 5, Block6, 0, 3); + world.setBlock(x + 4, y + 42, z + 6, Block6, 0, 3); + world.setBlock(x + 8, y + 42, z + 6, Block6, 0, 3); + world.setBlock(x + 6, y + 43, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 43, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 43, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 43, z + 4, Block4, 4, 3); + world.setBlock(x + 5, y + 43, z + 5, Block6, 0, 3); + world.setBlock(x + 6, y + 43, z + 5, Block7, 0, 3); + world.setBlock(x + 7, y + 43, z + 5, Block6, 0, 3); + world.setBlock(x + 4, y + 43, z + 6, Block6, 0, 3); + world.setBlock(x + 6, y + 43, z + 6, Block7, 0, 3); + world.setBlock(x + 8, y + 43, z + 6, Block6, 0, 3); + world.setBlock(x + 6, y + 43, z + 7, Block8, 0, 3); + world.setBlock(x + 6, y + 44, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 44, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 44, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 44, z + 4, Block4, 4, 3); + world.setBlock(x + 5, y + 44, z + 5, Block6, 0, 3); + world.setBlock(x + 6, y + 44, z + 5, Block6, 0, 3); + world.setBlock(x + 7, y + 44, z + 5, Block6, 0, 3); + world.setBlock(x + 4, y + 44, z + 6, Block6, 0, 3); + world.setBlock(x + 8, y + 44, z + 6, Block6, 0, 3); + world.setBlock(x + 6, y + 45, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 45, z + 4, Block4, 5, 3); + + generate_r02(world, rand, x, y, z); + return true; + + } + public boolean generate_r02(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 6, y + 45, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 45, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 45, z + 5, Block4, 2, 3); + world.setBlock(x + 5, y + 45, z + 6, Block6, 0, 3); + world.setBlock(x + 6, y + 45, z + 6, Block6, 0, 3); + world.setBlock(x + 7, y + 45, z + 6, Block6, 0, 3); + world.setBlock(x + 6, y + 46, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 46, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 46, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 46, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 46, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 47, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 47, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 47, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 47, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 47, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 48, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 48, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 48, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 48, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 48, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 49, z + 3, Block4, 3, 3); + world.setBlock(x + 5, y + 49, z + 4, Block4, 5, 3); + world.setBlock(x + 6, y + 49, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 49, z + 4, Block4, 4, 3); + world.setBlock(x + 6, y + 49, z + 5, Block4, 2, 3); + world.setBlock(x + 6, y + 50, z + 3, Block2, 0, 3); + world.setBlock(x + 5, y + 50, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 50, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 7, y + 50, z + 4, Block2, 0, 3); + world.setBlock(x + 6, y + 50, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 51, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 52, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 53, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 54, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 55, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 56, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 57, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 58, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 59, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 60, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 61, z + 4, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + 62, z + 4, Block9, 2, 3); + + generate_r03_last(world, rand, x, y, z); + return true; + + } + public boolean generate_r03_last(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 5, y + 1, z + 11, Blocks.torch, 1, 3); + world.setBlock(x + 3, y + 1, z + 12, Blocks.wall_sign, 4, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned relay tower at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Satellite.java b/com/hbm/world/Satellite.java index 358c2f79e..89a9981b5 100644 --- a/com/hbm/world/Satellite.java +++ b/com/hbm/world/Satellite.java @@ -1,2594 +1,2594 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Satellite extends WorldGenerator -{ - Block Block1 = ModBlocks.brick_concrete; - Block Block2 = ModBlocks.block_steel; - Block Block3 = ModBlocks.steel_scaffold; - Block Block4 = ModBlocks.block_beryllium; - Block Block5 = ModBlocks.block_titanium; - Block Block6 = ModBlocks.tape_recorder; - Block Block7 = ModBlocks.block_tungsten; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.stone, - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x, y, z) || !LocationIsValidSpawn(world, x + 24, y, z) || !LocationIsValidSpawn(world, x + 24, y, z + 30) || !LocationIsValidSpawn(world, x, y, z + 30)) - { - return false; - } - - world.setBlock(x + 18, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 17, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 21, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 16, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 22, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 16, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 22, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 16, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 22, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 21, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 15, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 16, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 16, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 16, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 16, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 17, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 17, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 17, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 17, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 28, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 28, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 28, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 28, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 28, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 28, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 29, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 29, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 29, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 29, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 29, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 29, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 30, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 30, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 30, Block1, 0, 3); - world.setBlock(x + 18, y + -3, z + 30, Block1, 0, 3); - world.setBlock(x + 19, y + -3, z + 30, Block1, 0, 3); - world.setBlock(x + 20, y + -3, z + 30, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 17, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 21, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 16, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 22, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 16, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 22, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 16, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 22, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 21, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 15, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 16, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 17, Block2, 0, 3); - world.setBlock(x + 8, y + -2, z + 17, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 17, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 17, Block2, 0, 3); - world.setBlock(x + 20, y + -2, z + 17, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 28, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 28, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 28, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 28, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 28, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 28, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 29, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 29, Block2, 0, 3); - world.setBlock(x + 8, y + -2, z + 29, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 29, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 29, Block2, 0, 3); - world.setBlock(x + 20, y + -2, z + 29, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 30, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 30, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 30, Block1, 0, 3); - world.setBlock(x + 18, y + -2, z + 30, Block1, 0, 3); - world.setBlock(x + 19, y + -2, z + 30, Block1, 0, 3); - world.setBlock(x + 20, y + -2, z + 30, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 13, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 8, Block2, 0, 3); - world.setBlock(x + 22, y + -1, z + 8, Block2, 0, 3); - world.setBlock(x + 18, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 9, Block2, 0, 3); - world.setBlock(x + 22, y + -1, z + 9, Block2, 0, 3); - world.setBlock(x + 17, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 16, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 16, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 16, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 22, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 17, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 21, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 15, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 16, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 16, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 16, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 16, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 17, Block2, 0, 3); - world.setBlock(x + 8, y + -1, z + 17, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 17, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 17, Block2, 0, 3); - world.setBlock(x + 20, y + -1, z + 17, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 23, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 28, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 29, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 29, Block2, 0, 3); - world.setBlock(x + 8, y + -1, z + 29, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 29, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 29, Block2, 0, 3); - world.setBlock(x + 20, y + -1, z + 29, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 30, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 30, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 30, Block1, 0, 3); - world.setBlock(x + 18, y + -1, z + 30, Block1, 0, 3); - world.setBlock(x + 19, y + -1, z + 30, Block1, 0, 3); - world.setBlock(x + 20, y + -1, z + 30, Block1, 0, 3); - world.setBlock(x + 5, y + 0, z + 8, Block3, 3, 3); - world.setBlock(x + 13, y + 0, z + 8, Block3, 3, 3); - world.setBlock(x + 19, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 20, y + 0, z + 8, Block2, 0, 3); - world.setBlock(x + 21, y + 0, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 0, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 20, y + 0, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 0, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 0, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 0, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 0, z + 29, Block4, 0, 3); - world.setBlock(x + 5, y + 1, z + 8, Block3, 3, 3); - world.setBlock(x + 13, y + 1, z + 8, Block3, 3, 3); - world.setBlock(x + 17, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 18, y + 1, z + 8, Block2, 0, 3); - world.setBlock(x + 19, y + 1, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 1, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 1, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 1, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 1, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 1, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 1, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 1, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 1, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 1, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 1, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 1, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 1, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 1, z + 29, Block4, 0, 3); - world.setBlock(x + 5, y + 2, z + 8, Block3, 3, 3); - world.setBlock(x + 13, y + 2, z + 8, Block3, 3, 3); - world.setBlock(x + 15, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 16, y + 2, z + 8, Block2, 0, 3); - world.setBlock(x + 17, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 2, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 2, z + 9, Block2, 0, 3); - world.setBlock(x + 16, y + 2, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 2, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 2, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 2, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 2, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 2, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 2, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 2, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 2, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 2, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 2, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 2, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 2, z + 29, Block4, 0, 3); - world.setBlock(x + 5, y + 3, z + 8, Block3, 3, 3); - world.setBlock(x + 13, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 8, Block2, 0, 3); - world.setBlock(x + 15, y + 3, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 3, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 3, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 14, y + 3, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 3, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 3, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 3, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 3, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 3, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 3, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 3, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 3, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 3, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 3, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 3, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 3, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 3, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 3, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 3, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 3, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 3, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 3, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 3, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 3, z + 29, Block4, 0, 3); - world.setBlock(x + 5, y + 4, z + 8, Block3, 3, 3); - world.setBlock(x + 11, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 4, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 4, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 4, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 4, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 4, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 4, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 4, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 4, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 4, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 4, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 4, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 4, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 4, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 4, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 4, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 4, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 4, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 4, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 4, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 4, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 4, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 4, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 4, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 4, z + 29, Block4, 0, 3); - world.setBlock(x + 5, y + 5, z + 8, Block3, 3, 3); - world.setBlock(x + 9, y + 5, z + 8, Block2, 0, 3); - world.setBlock(x + 10, y + 5, z + 8, Block2, 0, 3); - world.setBlock(x + 11, y + 5, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 12, y + 5, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 5, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 5, z + 9, Block2, 0, 3); - world.setBlock(x + 10, y + 5, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 5, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 5, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 5, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 5, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 5, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 5, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 5, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 5, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 5, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 5, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 5, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 5, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 5, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 5, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 5, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 5, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 5, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 5, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 5, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 5, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 5, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 5, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 5, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 5, z + 29, Block4, 0, 3); - world.setBlock(x + 5, y + 6, z + 8, Block3, 3, 3); - world.setBlock(x + 7, y + 6, z + 8, Block2, 0, 3); - world.setBlock(x + 8, y + 6, z + 8, Block2, 0, 3); - world.setBlock(x + 9, y + 6, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + 6, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + 6, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 6, z + 9, Block2, 0, 3); - world.setBlock(x + 8, y + 6, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 6, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 6, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 6, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 6, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 6, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 6, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 6, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 6, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 6, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 6, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 6, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 6, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 6, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 6, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 6, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 6, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 6, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 6, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 6, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 6, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 6, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 6, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 6, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 6, z + 29, Block4, 0, 3); - world.setBlock(x + 5, y + 7, z + 8, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 8, Block2, 0, 3); - world.setBlock(x + 7, y + 7, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 8, y + 7, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + 7, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 7, z + 9, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 9, Block2, 0, 3); - world.setBlock(x + 5, y + 7, z + 10, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 10, Block2, 0, 3); - world.setBlock(x + 18, y + 7, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 7, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 7, z + 11, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 11, Block2, 0, 3); - world.setBlock(x + 17, y + 7, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 7, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 7, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 7, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + 7, z + 12, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 12, Block2, 0, 3); - world.setBlock(x + 17, y + 7, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 7, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 7, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 7, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + 7, z + 13, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 13, Block2, 0, 3); - world.setBlock(x + 17, y + 7, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 7, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 7, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 7, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + 7, z + 14, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 14, Block2, 0, 3); - world.setBlock(x + 18, y + 7, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 7, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 7, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + 7, z + 15, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 15, Block2, 0, 3); - world.setBlock(x + 5, y + 7, z + 16, Block2, 0, 3); - world.setBlock(x + 6, y + 7, z + 16, Block2, 0, 3); - world.setBlock(x + 7, y + 7, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 7, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 7, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 7, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 7, z + 29, Block4, 0, 3); - world.setBlock(x + 5, y + 8, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 8, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 8, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 8, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 8, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 8, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 8, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 8, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 8, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 8, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 8, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 8, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + 8, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 8, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 8, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 8, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 8, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + 8, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 8, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 8, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 8, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 8, z + 13, Block1, 0, 3); - world.setBlock(x + 5, y + 8, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 8, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 8, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 8, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + 8, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 8, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 8, z + 17, Block2, 0, 3); - world.setBlock(x + 6, y + 8, z + 17, Block2, 0, 3); - world.setBlock(x + 7, y + 8, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 8, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 8, z + 18, Block2, 0, 3); - world.setBlock(x + 6, y + 8, z + 18, Block2, 0, 3); - world.setBlock(x + 5, y + 8, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 8, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 8, z + 29, Block4, 0, 3); - world.setBlock(x + 18, y + 9, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 9, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 9, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 9, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 9, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 9, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 9, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 9, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 9, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 9, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 9, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 9, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 9, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 9, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 9, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 9, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 9, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 9, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 9, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 9, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 9, z + 14, Block1, 0, 3); - world.setBlock(x + 5, y + 9, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 9, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 9, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 9, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 9, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 9, z + 19, Block2, 0, 3); - world.setBlock(x + 6, y + 9, z + 19, Block2, 0, 3); - world.setBlock(x + 5, y + 9, z + 20, Block2, 0, 3); - world.setBlock(x + 6, y + 9, z + 20, Block2, 0, 3); - world.setBlock(x + 5, y + 9, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 9, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 9, z + 29, Block4, 0, 3); - world.setBlock(x + 18, y + 10, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 10, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 10, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 10, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 10, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 10, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 10, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 10, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 10, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 10, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 10, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 10, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 10, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 10, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 10, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 10, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 10, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 10, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 10, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 10, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 10, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 10, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 10, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 10, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 10, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 10, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 10, z + 21, Block2, 0, 3); - world.setBlock(x + 6, y + 10, z + 21, Block2, 0, 3); - world.setBlock(x + 5, y + 10, z + 22, Block2, 0, 3); - world.setBlock(x + 6, y + 10, z + 22, Block2, 0, 3); - world.setBlock(x + 5, y + 10, z + 23, Block3, 5, 3); - world.setBlock(x + 7, y + 10, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 10, z + 29, Block4, 0, 3); - world.setBlock(x + 18, y + 11, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 11, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 11, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 11, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 11, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 11, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 11, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 11, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 11, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 11, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 11, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 11, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 11, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 11, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 11, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 11, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 11, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 11, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 11, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 11, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 11, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 11, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 11, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 11, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 11, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 11, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 11, z + 23, Block2, 0, 3); - world.setBlock(x + 6, y + 11, z + 23, Block2, 0, 3); - world.setBlock(x + 5, y + 11, z + 24, Block2, 0, 3); - world.setBlock(x + 6, y + 11, z + 24, Block2, 0, 3); - world.setBlock(x + 7, y + 11, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 11, z + 29, Block4, 0, 3); - world.setBlock(x + 18, y + 12, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 12, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 12, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 12, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 12, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 12, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 12, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 12, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 12, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 12, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 12, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 12, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 12, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 12, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 12, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 12, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 12, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 12, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 12, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 12, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 12, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 12, z + 17, Block4, 0, 3); - world.setBlock(x + 19, y + 12, z + 17, Block4, 0, 3); - world.setBlock(x + 5, y + 12, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 12, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 12, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 5, y + 12, z + 25, Block2, 0, 3); - world.setBlock(x + 6, y + 12, z + 25, Block2, 0, 3); - world.setBlock(x + 5, y + 12, z + 26, Block2, 0, 3); - world.setBlock(x + 6, y + 12, z + 26, Block2, 0, 3); - world.setBlock(x + 7, y + 12, z + 29, Block4, 0, 3); - world.setBlock(x + 19, y + 12, z + 29, Block4, 0, 3); - world.setBlock(x + 18, y + 13, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 13, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 13, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 13, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 13, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 13, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 13, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 13, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 13, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 13, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 13, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 13, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 13, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 13, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 13, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 13, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 13, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 13, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 13, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 13, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 13, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 13, z + 17, Block5, 0, 3); - world.setBlock(x + 19, y + 13, z + 17, Block5, 0, 3); - world.setBlock(x + 7, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 9, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 10, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 11, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 12, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 13, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 15, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 16, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 17, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 18, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 19, y + 13, z + 18, Block5, 0, 3); - world.setBlock(x + 7, y + 13, z + 19, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 11, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 13, y + 13, z + 19, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 15, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 16, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 17, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 18, y + 13, z + 19, Blocks.stone_slab, 8, 3); - world.setBlock(x + 19, y + 13, z + 19, Block5, 0, 3); - world.setBlock(x + 7, y + 13, z + 20, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 11, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 13, y + 13, z + 20, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 15, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 16, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 17, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 18, y + 13, z + 20, Blocks.stone_slab, 8, 3); - world.setBlock(x + 19, y + 13, z + 20, Block5, 0, 3); - world.setBlock(x + 20, y + 13, z + 20, Block2, 0, 3); - world.setBlock(x + 21, y + 13, z + 20, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 21, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 11, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 13, y + 13, z + 21, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 15, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 16, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 17, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 18, y + 13, z + 21, Blocks.stone_slab, 8, 3); - world.setBlock(x + 19, y + 13, z + 21, Block5, 0, 3); - world.setBlock(x + 20, y + 13, z + 21, Block2, 0, 3); - world.setBlock(x + 21, y + 13, z + 21, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 22, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 11, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 13, y + 13, z + 22, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 15, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 16, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 17, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 18, y + 13, z + 22, Blocks.stone_slab, 8, 3); - world.setBlock(x + 19, y + 13, z + 22, Block5, 0, 3); - world.setBlock(x + 20, y + 13, z + 22, Block2, 0, 3); - world.setBlock(x + 21, y + 13, z + 22, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 9, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 10, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 11, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 12, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 15, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 16, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 17, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 18, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 19, y + 13, z + 23, Block5, 0, 3); - world.setBlock(x + 5, y + 13, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 13, z + 24, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 11, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 13, y + 13, z + 24, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 15, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 16, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 17, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 18, y + 13, z + 24, Blocks.stone_slab, 8, 3); - world.setBlock(x + 19, y + 13, z + 24, Block5, 0, 3); - world.setBlock(x + 5, y + 13, z + 25, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 13, z + 25, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 11, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 13, y + 13, z + 25, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 15, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 16, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 17, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 18, y + 13, z + 25, Blocks.stone_slab, 8, 3); - world.setBlock(x + 19, y + 13, z + 25, Block5, 0, 3); - world.setBlock(x + 5, y + 13, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 13, z + 26, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 11, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 13, y + 13, z + 26, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 15, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 16, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 17, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 18, y + 13, z + 26, Blocks.stone_slab, 8, 3); - world.setBlock(x + 19, y + 13, z + 26, Block5, 0, 3); - world.setBlock(x + 5, y + 13, z + 27, Block2, 0, 3); - world.setBlock(x + 6, y + 13, z + 27, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 27, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 11, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 13, y + 13, z + 27, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 15, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 16, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 17, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 18, y + 13, z + 27, Blocks.stone_slab, 8, 3); - world.setBlock(x + 19, y + 13, z + 27, Block5, 0, 3); - world.setBlock(x + 5, y + 13, z + 28, Block2, 0, 3); - world.setBlock(x + 6, y + 13, z + 28, Block2, 0, 3); - world.setBlock(x + 7, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 8, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 9, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 10, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 11, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 12, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 13, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 14, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 15, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 16, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 17, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 18, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 19, y + 13, z + 28, Block5, 0, 3); - world.setBlock(x + 7, y + 13, z + 29, Block5, 0, 3); - world.setBlock(x + 19, y + 13, z + 29, Block5, 0, 3); - world.setBlock(x + 18, y + 14, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 14, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 14, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 14, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 14, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 14, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 14, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 14, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 14, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 14, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 14, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 14, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 14, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 14, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 14, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 14, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 14, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 14, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 14, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 14, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 14, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 8, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 9, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 10, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 11, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 12, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 13, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 14, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 15, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 16, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 17, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 18, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 19, y + 14, z + 18, Block2, 0, 3); - world.setBlock(x + 7, y + 14, z + 19, Block2, 0, 3); - world.setBlock(x + 10, y + 14, z + 19, Blocks.chest, 3, 3); - world.setBlockMetadataWithNotify(x + 10, y + 14, z + 19, 3, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 10, y + 14, z + 19), 8); - world.setBlock(x + 19, y + 14, z + 19, Block2, 0, 3); - world.setBlock(x + 20, y + 14, z + 19, Block2, 0, 3); - world.setBlock(x + 21, y + 14, z + 19, Block2, 0, 3); - world.setBlock(x + 7, y + 14, z + 20, Block2, 0, 3); - world.setBlock(x + 21, y + 14, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 14, z + 21, Block2, 0, 3); - world.setBlock(x + 21, y + 14, z + 21, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 14, z + 22, Block2, 0, 3); - world.setBlock(x + 13, y + 14, z + 22, Block2, 0, 3); - world.setBlock(x + 14, y + 14, z + 22, Block2, 0, 3); - world.setBlock(x + 19, y + 14, z + 22, Block2, 0, 3); - world.setBlock(x + 20, y + 14, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 14, z + 22, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 14, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 14, z + 23, Block2, 0, 3); - world.setBlock(x + 14, y + 14, z + 23, Block2, 0, 3); - world.setBlock(x + 19, y + 14, z + 23, Block2, 0, 3); - world.setBlock(x + 7, y + 14, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 13, y + 14, z + 24, Block2, 0, 3); - world.setBlock(x + 14, y + 14, z + 24, Block2, 0, 3); - world.setBlock(x + 19, y + 14, z + 24, Block2, 0, 3); - world.setBlock(x + 19, y + 14, z + 25, Block2, 0, 3); - world.setBlock(x + 5, y + 14, z + 26, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 14, z + 26, Block2, 0, 3); - world.setBlock(x + 5, y + 14, z + 27, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 14, z + 27, Block2, 0, 3); - world.setBlock(x + 16, y + 14, z + 27, Blocks.chest, 2, 3); - world.setBlockMetadataWithNotify(x + 16, y + 14, z + 27, 3, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 16, y + 14, z + 27), 8); - world.setBlock(x + 19, y + 14, z + 27, Block2, 0, 3); - world.setBlock(x + 5, y + 14, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + 14, z + 28, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 8, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 9, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 10, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 11, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 12, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 13, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 14, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 15, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 16, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 17, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 18, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 19, y + 14, z + 28, Block2, 0, 3); - world.setBlock(x + 18, y + 15, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 15, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 15, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 15, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 15, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 15, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 15, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 15, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 15, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 15, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 15, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 15, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 15, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 15, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 15, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 15, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 15, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 15, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 15, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 15, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 15, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 15, z + 18, Block2, 0, 3); - world.setBlock(x + 8, y + 15, z + 18, Block2, 0, 3); - world.setBlock(x + 9, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 10, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 11, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 12, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 13, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 14, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 15, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 16, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 17, y + 15, z + 18, Block4, 0, 3); - world.setBlock(x + 18, y + 15, z + 18, Block2, 0, 3); - world.setBlock(x + 19, y + 15, z + 18, Block2, 0, 3); - world.setBlock(x + 20, y + 15, z + 18, Block2, 0, 3); - world.setBlock(x + 21, y + 15, z + 18, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 19, Block2, 0, 3); - world.setBlock(x + 19, y + 15, z + 19, Block2, 0, 3); - world.setBlock(x + 21, y + 15, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 15, z + 20, Block2, 0, 3); - world.setBlock(x + 21, y + 15, z + 20, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 15, z + 21, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 22, Block2, 0, 3); - world.setBlock(x + 14, y + 15, z + 22, Block6, 4, 3); - world.setBlock(x + 19, y + 15, z + 22, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 15, z + 23, Block6, 4, 3); - world.setBlock(x + 19, y + 15, z + 23, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 15, z + 24, Block3, 5, 3); - world.setBlock(x + 19, y + 15, z + 24, Block2, 0, 3); - world.setBlock(x + 19, y + 15, z + 25, Block2, 0, 3); - world.setBlock(x + 19, y + 15, z + 26, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 27, Block2, 0, 3); - world.setBlock(x + 19, y + 15, z + 27, Block2, 0, 3); - world.setBlock(x + 7, y + 15, z + 28, Block2, 0, 3); - world.setBlock(x + 8, y + 15, z + 28, Block2, 0, 3); - world.setBlock(x + 9, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 10, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 11, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 12, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 13, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 14, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 15, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 16, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 17, y + 15, z + 28, Block4, 0, 3); - world.setBlock(x + 18, y + 15, z + 28, Block2, 0, 3); - world.setBlock(x + 19, y + 15, z + 28, Block2, 0, 3); - world.setBlock(x + 18, y + 16, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 16, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 16, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 16, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 16, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 16, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 16, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 16, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 16, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 16, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 16, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 16, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 16, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 16, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 16, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 16, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 16, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 16, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 16, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 16, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 16, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 16, z + 17, Block2, 0, 3); - world.setBlock(x + 20, y + 16, z + 17, Block2, 0, 3); - world.setBlock(x + 21, y + 16, z + 17, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 8, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 9, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 10, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 11, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 12, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 13, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 14, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 15, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 16, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 17, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 18, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 18, Block2, 0, 3); - world.setBlock(x + 21, y + 16, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 16, z + 19, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 19, Block2, 0, 3); - world.setBlock(x + 21, y + 16, z + 19, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 16, z + 20, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 20, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 21, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 21, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 22, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 22, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 23, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 16, z + 23, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 24, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + 16, z + 24, Block3, 5, 3); - world.setBlock(x + 19, y + 16, z + 24, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 25, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 26, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 27, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 27, Block2, 0, 3); - world.setBlock(x + 7, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 8, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 9, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 10, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 11, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 12, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 13, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 14, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 15, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 16, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 17, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 18, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 19, y + 16, z + 28, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 8, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 8, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 8, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 8, Block2, 0, 3); - world.setBlock(x + 20, y + 17, z + 8, Block2, 0, 3); - world.setBlock(x + 21, y + 17, z + 8, Block2, 0, 3); - world.setBlock(x + 22, y + 17, z + 8, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 20, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 21, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 22, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 23, y + 17, z + 9, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 10, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 10, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 10, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 17, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 17, z + 10, Block1, 0, 3); - world.setBlock(x + 21, y + 17, z + 10, Block2, 0, 3); - world.setBlock(x + 22, y + 17, z + 10, Block2, 0, 3); - world.setBlock(x + 23, y + 17, z + 10, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 11, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 11, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 17, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 17, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 17, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 17, z + 11, Block1, 0, 3); - world.setBlock(x + 22, y + 17, z + 11, Block2, 0, 3); - world.setBlock(x + 23, y + 17, z + 11, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 12, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 12, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 17, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 17, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 17, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 17, z + 12, Block1, 0, 3); - world.setBlock(x + 22, y + 17, z + 12, Block2, 0, 3); - world.setBlock(x + 23, y + 17, z + 12, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 13, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 13, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 17, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 17, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 17, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 17, z + 13, Block1, 0, 3); - world.setBlock(x + 22, y + 17, z + 13, Block2, 0, 3); - world.setBlock(x + 23, y + 17, z + 13, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 14, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 14, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 14, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 17, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 17, z + 14, Block1, 0, 3); - world.setBlock(x + 21, y + 17, z + 14, Block2, 0, 3); - world.setBlock(x + 22, y + 17, z + 14, Block2, 0, 3); - world.setBlock(x + 23, y + 17, z + 14, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 20, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 21, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 22, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 23, y + 17, z + 15, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 16, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 16, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 16, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 16, Block2, 0, 3); - world.setBlock(x + 20, y + 17, z + 16, Block2, 0, 3); - world.setBlock(x + 21, y + 17, z + 16, Block2, 0, 3); - world.setBlock(x + 22, y + 17, z + 16, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 17, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 17, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 17, z + 18, Blocks.iron_bars, 0, 3); - world.setBlock(x + 7, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 19, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 20, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 21, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 22, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 23, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 24, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 25, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 26, Block2, 0, 3); - world.setBlock(x + 7, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 8, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 9, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 10, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 11, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 12, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 13, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 14, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 15, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 16, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 17, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 18, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 19, y + 17, z + 27, Block2, 0, 3); - world.setBlock(x + 16, y + 18, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 18, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 18, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 18, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 20, y + 18, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 18, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 18, z + 8, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 18, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 18, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 18, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 18, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 18, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 18, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 18, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 18, z + 10, Block1, 0, 3); - world.setBlock(x + 23, y + 18, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 18, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 18, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 18, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 18, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 18, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 18, z + 11, Block1, 0, 3); - world.setBlock(x + 23, y + 18, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 18, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 18, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 18, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 18, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + 18, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 18, z + 12, Block1, 0, 3); - world.setBlock(x + 23, y + 18, z + 12, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 18, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 18, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 18, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 18, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 18, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 18, z + 13, Block1, 0, 3); - world.setBlock(x + 23, y + 18, z + 13, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 18, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 18, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 18, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 18, z + 14, Block1, 0, 3); - world.setBlock(x + 23, y + 18, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 15, y + 18, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 18, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 18, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 23, y + 18, z + 15, Blocks.iron_bars, 0, 3); - world.setBlock(x + 16, y + 18, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 17, y + 18, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 18, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 18, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 18, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 22, y + 18, z + 16, Blocks.iron_bars, 0, 3); - world.setBlock(x + 19, y + 18, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 21, y + 18, z + 17, Blocks.iron_bars, 0, 3); - world.setBlock(x + 18, y + 19, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + 19, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + 19, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + 19, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + 19, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + 19, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + 19, z + 11, Block1, 0, 3); - world.setBlock(x + 21, y + 19, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + 19, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + 19, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + 19, z + 12, Blocks.chest, 4, 3); - world.setBlockMetadataWithNotify(x + 19, y + 19, z + 12, 4, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 19, y + 19, z + 12), 12); - world.setBlock(x + 20, y + 19, z + 12, Block1, 0, 3); - world.setBlock(x + 21, y + 19, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + 19, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 19, z + 13, Block1, 0, 3); - world.setBlock(x + 19, y + 19, z + 13, Block1, 0, 3); - world.setBlock(x + 20, y + 19, z + 13, Block1, 0, 3); - world.setBlock(x + 21, y + 19, z + 13, Block1, 0, 3); - world.setBlock(x + 18, y + 19, z + 14, Block1, 0, 3); - world.setBlock(x + 19, y + 19, z + 14, Block1, 0, 3); - world.setBlock(x + 20, y + 19, z + 14, Block1, 0, 3); - world.setBlock(x + 18, y + 20, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 20, z + 10, Block2, 0, 3); - world.setBlock(x + 20, y + 20, z + 10, Block2, 0, 3); - world.setBlock(x + 17, y + 20, z + 11, Block2, 0, 3); - world.setBlock(x + 18, y + 20, z + 11, Block2, 0, 3); - world.setBlock(x + 19, y + 20, z + 11, Block2, 0, 3); - world.setBlock(x + 20, y + 20, z + 11, Block2, 0, 3); - world.setBlock(x + 21, y + 20, z + 11, Block2, 0, 3); - world.setBlock(x + 17, y + 20, z + 12, Block2, 0, 3); - world.setBlock(x + 18, y + 20, z + 12, Block2, 0, 3); - world.setBlock(x + 19, y + 20, z + 12, Block2, 0, 3); - world.setBlock(x + 20, y + 20, z + 12, Block2, 0, 3); - world.setBlock(x + 21, y + 20, z + 12, Block5, 0, 3); - world.setBlock(x + 22, y + 20, z + 12, Block5, 0, 3); - world.setBlock(x + 23, y + 20, z + 12, Block5, 0, 3); - world.setBlock(x + 17, y + 20, z + 13, Block2, 0, 3); - world.setBlock(x + 18, y + 20, z + 13, Block2, 0, 3); - world.setBlock(x + 19, y + 20, z + 13, Block2, 0, 3); - world.setBlock(x + 20, y + 20, z + 13, Block2, 0, 3); - world.setBlock(x + 21, y + 20, z + 13, Block2, 0, 3); - world.setBlock(x + 18, y + 20, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 20, z + 14, Block2, 0, 3); - world.setBlock(x + 20, y + 20, z + 14, Block2, 0, 3); - world.setBlock(x + 18, y + 21, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 21, z + 10, Block2, 0, 3); - world.setBlock(x + 20, y + 21, z + 10, Block2, 0, 3); - world.setBlock(x + 18, y + 21, z + 11, Block2, 0, 3); - world.setBlock(x + 19, y + 21, z + 11, Block2, 0, 3); - world.setBlock(x + 20, y + 21, z + 11, Block2, 0, 3); - world.setBlock(x + 22, y + 21, z + 11, Block4, 0, 3); - world.setBlock(x + 21, y + 21, z + 12, Block5, 0, 3); - world.setBlock(x + 22, y + 21, z + 12, Block4, 0, 3); - world.setBlock(x + 23, y + 21, z + 12, Block5, 0, 3); - world.setBlock(x + 24, y + 21, z + 12, Block5, 0, 3); - world.setBlock(x + 18, y + 21, z + 13, Block2, 0, 3); - world.setBlock(x + 19, y + 21, z + 13, Block2, 0, 3); - world.setBlock(x + 20, y + 21, z + 13, Block2, 0, 3); - world.setBlock(x + 22, y + 21, z + 13, Block4, 0, 3); - world.setBlock(x + 18, y + 21, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 21, z + 14, Block2, 0, 3); - world.setBlock(x + 20, y + 21, z + 14, Block2, 0, 3); - world.setBlock(x + 15, y + 22, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 22, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 22, z + 10, Block2, 0, 3); - world.setBlock(x + 20, y + 22, z + 10, Block2, 0, 3); - world.setBlock(x + 21, y + 22, z + 11, Block4, 0, 3); - world.setBlock(x + 22, y + 22, z + 11, Block4, 0, 3); - world.setBlock(x + 23, y + 22, z + 11, Block4, 0, 3); - world.setBlock(x + 21, y + 22, z + 12, Block4, 0, 3); - world.setBlock(x + 22, y + 22, z + 12, Block4, 0, 3); - world.setBlock(x + 23, y + 22, z + 12, Block4, 0, 3); - world.setBlock(x + 24, y + 22, z + 12, Block5, 0, 3); - world.setBlock(x + 21, y + 22, z + 13, Block4, 0, 3); - world.setBlock(x + 22, y + 22, z + 13, Block4, 0, 3); - world.setBlock(x + 23, y + 22, z + 13, Block4, 0, 3); - world.setBlock(x + 18, y + 22, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 22, z + 14, Block2, 0, 3); - world.setBlock(x + 20, y + 22, z + 14, Block2, 0, 3); - world.setBlock(x + 15, y + 22, z + 15, Block2, 0, 3); - world.setBlock(x + 14, y + 23, z + 9, Block2, 0, 3); - world.setBlock(x + 15, y + 23, z + 9, Block2, 0, 3); - world.setBlock(x + 16, y + 23, z + 9, Block2, 0, 3); - world.setBlock(x + 15, y + 23, z + 10, Block2, 0, 3); - world.setBlock(x + 18, y + 23, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 23, z + 10, Block2, 0, 3); - world.setBlock(x + 20, y + 23, z + 10, Block2, 0, 3); - world.setBlock(x + 15, y + 23, z + 11, Block2, 0, 3); - world.setBlock(x + 20, y + 23, z + 11, Block4, 0, 3); - world.setBlock(x + 21, y + 23, z + 11, Block4, 0, 3); - world.setBlock(x + 22, y + 23, z + 11, Block4, 0, 3); - world.setBlock(x + 15, y + 23, z + 12, Block2, 0, 3); - world.setBlock(x + 20, y + 23, z + 12, Block4, 0, 3); - world.setBlock(x + 21, y + 23, z + 12, Block4, 0, 3); - world.setBlock(x + 22, y + 23, z + 12, Block4, 0, 3); - world.setBlock(x + 23, y + 23, z + 12, Block5, 0, 3); - world.setBlock(x + 24, y + 23, z + 12, Block5, 0, 3); - world.setBlock(x + 15, y + 23, z + 13, Block2, 0, 3); - world.setBlock(x + 20, y + 23, z + 13, Block4, 0, 3); - world.setBlock(x + 21, y + 23, z + 13, Block4, 0, 3); - world.setBlock(x + 22, y + 23, z + 13, Block4, 0, 3); - world.setBlock(x + 15, y + 23, z + 14, Block2, 0, 3); - world.setBlock(x + 18, y + 23, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 23, z + 14, Block2, 0, 3); - world.setBlock(x + 20, y + 23, z + 14, Block2, 0, 3); - world.setBlock(x + 14, y + 23, z + 15, Block2, 0, 3); - world.setBlock(x + 15, y + 23, z + 15, Block2, 0, 3); - world.setBlock(x + 16, y + 23, z + 15, Block2, 0, 3); - world.setBlock(x + 5, y + 24, z + 9, Block5, 0, 3); - world.setBlock(x + 6, y + 24, z + 9, Block5, 0, 3); - world.setBlock(x + 7, y + 24, z + 9, Block5, 0, 3); - world.setBlock(x + 8, y + 24, z + 9, Block5, 0, 3); - world.setBlock(x + 9, y + 24, z + 9, Block5, 0, 3); - world.setBlock(x + 10, y + 24, z + 9, Block5, 0, 3); - world.setBlock(x + 11, y + 24, z + 9, Block5, 0, 3); - world.setBlock(x + 15, y + 24, z + 9, Block2, 0, 3); - world.setBlock(x + 16, y + 24, z + 9, Block2, 0, 3); - world.setBlock(x + 17, y + 24, z + 9, Block2, 0, 3); - world.setBlock(x + 5, y + 24, z + 10, Block5, 0, 3); - world.setBlock(x + 6, y + 24, z + 10, Block5, 0, 3); - world.setBlock(x + 7, y + 24, z + 10, Block5, 0, 3); - world.setBlock(x + 8, y + 24, z + 10, Block5, 0, 3); - world.setBlock(x + 9, y + 24, z + 10, Block5, 0, 3); - world.setBlock(x + 10, y + 24, z + 10, Block5, 0, 3); - world.setBlock(x + 11, y + 24, z + 10, Block5, 0, 3); - world.setBlock(x + 12, y + 24, z + 10, Block2, 0, 3); - world.setBlock(x + 13, y + 24, z + 10, Block2, 0, 3); - world.setBlock(x + 14, y + 24, z + 10, Block2, 0, 3); - world.setBlock(x + 15, y + 24, z + 10, Block2, 0, 3); - world.setBlock(x + 16, y + 24, z + 10, Block2, 0, 3); - world.setBlock(x + 17, y + 24, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 24, z + 10, Block2, 0, 3); - world.setBlock(x + 5, y + 24, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + 24, z + 11, Block5, 0, 3); - world.setBlock(x + 7, y + 24, z + 11, Block5, 0, 3); - world.setBlock(x + 8, y + 24, z + 11, Block5, 0, 3); - world.setBlock(x + 9, y + 24, z + 11, Block5, 0, 3); - world.setBlock(x + 10, y + 24, z + 11, Block5, 0, 3); - world.setBlock(x + 11, y + 24, z + 11, Block5, 0, 3); - world.setBlock(x + 17, y + 24, z + 11, Block2, 0, 3); - world.setBlock(x + 19, y + 24, z + 11, Block4, 0, 3); - world.setBlock(x + 20, y + 24, z + 11, Block4, 0, 3); - world.setBlock(x + 21, y + 24, z + 11, Block4, 0, 3); - world.setBlock(x + 5, y + 24, z + 12, Block5, 0, 3); - world.setBlock(x + 6, y + 24, z + 12, Block5, 0, 3); - world.setBlock(x + 7, y + 24, z + 12, Block5, 0, 3); - world.setBlock(x + 8, y + 24, z + 12, Block5, 0, 3); - world.setBlock(x + 9, y + 24, z + 12, Block5, 0, 3); - world.setBlock(x + 10, y + 24, z + 12, Block5, 0, 3); - world.setBlock(x + 11, y + 24, z + 12, Block5, 0, 3); - world.setBlock(x + 17, y + 24, z + 12, Block2, 0, 3); - world.setBlock(x + 19, y + 24, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 24, z + 12, Block4, 0, 3); - world.setBlock(x + 21, y + 24, z + 12, Block4, 0, 3); - world.setBlock(x + 5, y + 24, z + 13, Block5, 0, 3); - world.setBlock(x + 6, y + 24, z + 13, Block5, 0, 3); - - generate_r02(world, rand, x, y, z); - return true; - - } - public boolean generate_r02(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 7, y + 24, z + 13, Block5, 0, 3); - world.setBlock(x + 8, y + 24, z + 13, Block5, 0, 3); - world.setBlock(x + 9, y + 24, z + 13, Block5, 0, 3); - world.setBlock(x + 10, y + 24, z + 13, Block5, 0, 3); - world.setBlock(x + 11, y + 24, z + 13, Block5, 0, 3); - world.setBlock(x + 17, y + 24, z + 13, Block2, 0, 3); - world.setBlock(x + 19, y + 24, z + 13, Block4, 0, 3); - world.setBlock(x + 20, y + 24, z + 13, Block4, 0, 3); - world.setBlock(x + 21, y + 24, z + 13, Block4, 0, 3); - world.setBlock(x + 5, y + 24, z + 14, Block5, 0, 3); - world.setBlock(x + 6, y + 24, z + 14, Block5, 0, 3); - world.setBlock(x + 7, y + 24, z + 14, Block5, 0, 3); - world.setBlock(x + 8, y + 24, z + 14, Block5, 0, 3); - world.setBlock(x + 9, y + 24, z + 14, Block5, 0, 3); - world.setBlock(x + 10, y + 24, z + 14, Block5, 0, 3); - world.setBlock(x + 11, y + 24, z + 14, Block5, 0, 3); - world.setBlock(x + 12, y + 24, z + 14, Block2, 0, 3); - world.setBlock(x + 13, y + 24, z + 14, Block2, 0, 3); - world.setBlock(x + 14, y + 24, z + 14, Block2, 0, 3); - world.setBlock(x + 15, y + 24, z + 14, Block2, 0, 3); - world.setBlock(x + 16, y + 24, z + 14, Block2, 0, 3); - world.setBlock(x + 17, y + 24, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 24, z + 14, Block2, 0, 3); - world.setBlock(x + 5, y + 24, z + 15, Block5, 0, 3); - world.setBlock(x + 6, y + 24, z + 15, Block5, 0, 3); - world.setBlock(x + 7, y + 24, z + 15, Block5, 0, 3); - world.setBlock(x + 8, y + 24, z + 15, Block5, 0, 3); - world.setBlock(x + 9, y + 24, z + 15, Block5, 0, 3); - world.setBlock(x + 10, y + 24, z + 15, Block5, 0, 3); - world.setBlock(x + 11, y + 24, z + 15, Block5, 0, 3); - world.setBlock(x + 15, y + 24, z + 15, Block2, 0, 3); - world.setBlock(x + 16, y + 24, z + 15, Block2, 0, 3); - world.setBlock(x + 17, y + 24, z + 15, Block2, 0, 3); - world.setBlock(x + 5, y + 25, z + 6, Block5, 0, 3); - world.setBlock(x + 6, y + 25, z + 6, Block5, 0, 3); - world.setBlock(x + 7, y + 25, z + 6, Block5, 0, 3); - world.setBlock(x + 8, y + 25, z + 6, Block5, 0, 3); - world.setBlock(x + 9, y + 25, z + 6, Block5, 0, 3); - world.setBlock(x + 10, y + 25, z + 6, Block5, 0, 3); - world.setBlock(x + 11, y + 25, z + 6, Block5, 0, 3); - world.setBlock(x + 5, y + 25, z + 7, Block5, 0, 3); - world.setBlock(x + 6, y + 25, z + 7, Block5, 0, 3); - world.setBlock(x + 7, y + 25, z + 7, Block5, 0, 3); - world.setBlock(x + 8, y + 25, z + 7, Block5, 0, 3); - world.setBlock(x + 9, y + 25, z + 7, Block5, 0, 3); - world.setBlock(x + 10, y + 25, z + 7, Block5, 0, 3); - world.setBlock(x + 11, y + 25, z + 7, Block5, 0, 3); - world.setBlock(x + 5, y + 25, z + 8, Block5, 0, 3); - world.setBlock(x + 6, y + 25, z + 8, Block5, 0, 3); - world.setBlock(x + 7, y + 25, z + 8, Block5, 0, 3); - world.setBlock(x + 8, y + 25, z + 8, Block5, 0, 3); - world.setBlock(x + 9, y + 25, z + 8, Block5, 0, 3); - world.setBlock(x + 10, y + 25, z + 8, Block5, 0, 3); - world.setBlock(x + 11, y + 25, z + 8, Block5, 0, 3); - world.setBlock(x + 2, y + 25, z + 9, Block5, 0, 3); - world.setBlock(x + 3, y + 25, z + 9, Block5, 0, 3); - world.setBlock(x + 4, y + 25, z + 9, Block5, 0, 3); - world.setBlock(x + 12, y + 25, z + 9, Block5, 0, 3); - world.setBlock(x + 13, y + 25, z + 9, Block5, 0, 3); - world.setBlock(x + 14, y + 25, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 25, z + 9, Block2, 0, 3); - world.setBlock(x + 17, y + 25, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 25, z + 9, Block2, 0, 3); - world.setBlock(x + 2, y + 25, z + 10, Block5, 0, 3); - world.setBlock(x + 3, y + 25, z + 10, Block5, 0, 3); - world.setBlock(x + 4, y + 25, z + 10, Block5, 0, 3); - world.setBlock(x + 12, y + 25, z + 10, Block5, 0, 3); - world.setBlock(x + 13, y + 25, z + 10, Block5, 0, 3); - world.setBlock(x + 14, y + 25, z + 10, Block5, 0, 3); - world.setBlock(x + 15, y + 25, z + 10, Block2, 0, 3); - world.setBlock(x + 16, y + 25, z + 10, Block2, 0, 3); - world.setBlock(x + 17, y + 25, z + 10, Block2, 0, 3); - world.setBlock(x + 18, y + 25, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 25, z + 10, Block2, 0, 3); - world.setBlock(x + 2, y + 25, z + 11, Block5, 0, 3); - world.setBlock(x + 3, y + 25, z + 11, Block5, 0, 3); - world.setBlock(x + 4, y + 25, z + 11, Block5, 0, 3); - world.setBlock(x + 12, y + 25, z + 11, Block5, 0, 3); - world.setBlock(x + 13, y + 25, z + 11, Block5, 0, 3); - world.setBlock(x + 14, y + 25, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 25, z + 11, Block2, 0, 3); - world.setBlock(x + 17, y + 25, z + 11, Block2, 0, 3); - world.setBlock(x + 18, y + 25, z + 11, Block2, 0, 3); - world.setBlock(x + 19, y + 25, z + 11, Block4, 0, 3); - world.setBlock(x + 20, y + 25, z + 11, Block4, 0, 3); - world.setBlock(x + 2, y + 25, z + 12, Block5, 0, 3); - world.setBlock(x + 3, y + 25, z + 12, Block5, 0, 3); - world.setBlock(x + 4, y + 25, z + 12, Block5, 0, 3); - world.setBlock(x + 11, y + 25, z + 12, Block4, 0, 3); - world.setBlock(x + 12, y + 25, z + 12, Block5, 0, 3); - world.setBlock(x + 13, y + 25, z + 12, Block5, 0, 3); - world.setBlock(x + 14, y + 25, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 25, z + 12, Block2, 0, 3); - world.setBlock(x + 17, y + 25, z + 12, Block2, 0, 3); - world.setBlock(x + 18, y + 25, z + 12, Block2, 0, 3); - world.setBlock(x + 19, y + 25, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 25, z + 12, Block4, 0, 3); - world.setBlock(x + 2, y + 25, z + 13, Block5, 0, 3); - world.setBlock(x + 3, y + 25, z + 13, Block5, 0, 3); - world.setBlock(x + 4, y + 25, z + 13, Block5, 0, 3); - world.setBlock(x + 12, y + 25, z + 13, Block5, 0, 3); - world.setBlock(x + 13, y + 25, z + 13, Block5, 0, 3); - world.setBlock(x + 14, y + 25, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 25, z + 13, Block2, 0, 3); - world.setBlock(x + 17, y + 25, z + 13, Block2, 0, 3); - world.setBlock(x + 18, y + 25, z + 13, Block2, 0, 3); - world.setBlock(x + 19, y + 25, z + 13, Block4, 0, 3); - world.setBlock(x + 20, y + 25, z + 13, Block4, 0, 3); - world.setBlock(x + 2, y + 25, z + 14, Block5, 0, 3); - world.setBlock(x + 3, y + 25, z + 14, Block5, 0, 3); - world.setBlock(x + 4, y + 25, z + 14, Block5, 0, 3); - world.setBlock(x + 12, y + 25, z + 14, Block5, 0, 3); - world.setBlock(x + 13, y + 25, z + 14, Block5, 0, 3); - world.setBlock(x + 14, y + 25, z + 14, Block5, 0, 3); - world.setBlock(x + 15, y + 25, z + 14, Block2, 0, 3); - world.setBlock(x + 16, y + 25, z + 14, Block2, 0, 3); - world.setBlock(x + 17, y + 25, z + 14, Block2, 0, 3); - world.setBlock(x + 18, y + 25, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 25, z + 14, Block2, 0, 3); - world.setBlock(x + 2, y + 25, z + 15, Block5, 0, 3); - world.setBlock(x + 3, y + 25, z + 15, Block5, 0, 3); - world.setBlock(x + 4, y + 25, z + 15, Block5, 0, 3); - world.setBlock(x + 12, y + 25, z + 15, Block5, 0, 3); - world.setBlock(x + 13, y + 25, z + 15, Block5, 0, 3); - world.setBlock(x + 14, y + 25, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 25, z + 15, Block2, 0, 3); - world.setBlock(x + 17, y + 25, z + 15, Block2, 0, 3); - world.setBlock(x + 18, y + 25, z + 15, Block2, 0, 3); - world.setBlock(x + 5, y + 25, z + 16, Block5, 0, 3); - world.setBlock(x + 6, y + 25, z + 16, Block5, 0, 3); - world.setBlock(x + 7, y + 25, z + 16, Block5, 0, 3); - world.setBlock(x + 8, y + 25, z + 16, Block5, 0, 3); - world.setBlock(x + 9, y + 25, z + 16, Block5, 0, 3); - world.setBlock(x + 10, y + 25, z + 16, Block5, 0, 3); - world.setBlock(x + 11, y + 25, z + 16, Block5, 0, 3); - world.setBlock(x + 5, y + 25, z + 17, Block5, 0, 3); - world.setBlock(x + 6, y + 25, z + 17, Block5, 0, 3); - world.setBlock(x + 7, y + 25, z + 17, Block5, 0, 3); - world.setBlock(x + 8, y + 25, z + 17, Block5, 0, 3); - world.setBlock(x + 9, y + 25, z + 17, Block5, 0, 3); - world.setBlock(x + 10, y + 25, z + 17, Block5, 0, 3); - world.setBlock(x + 11, y + 25, z + 17, Block5, 0, 3); - world.setBlock(x + 5, y + 25, z + 18, Block5, 0, 3); - world.setBlock(x + 6, y + 25, z + 18, Block5, 0, 3); - world.setBlock(x + 7, y + 25, z + 18, Block5, 0, 3); - world.setBlock(x + 8, y + 25, z + 18, Block5, 0, 3); - world.setBlock(x + 9, y + 25, z + 18, Block5, 0, 3); - world.setBlock(x + 10, y + 25, z + 18, Block5, 0, 3); - world.setBlock(x + 11, y + 25, z + 18, Block5, 0, 3); - world.setBlock(x + 5, y + 26, z + 4, Block5, 0, 3); - world.setBlock(x + 6, y + 26, z + 4, Block5, 0, 3); - world.setBlock(x + 7, y + 26, z + 4, Block5, 0, 3); - world.setBlock(x + 8, y + 26, z + 4, Block5, 0, 3); - world.setBlock(x + 9, y + 26, z + 4, Block5, 0, 3); - world.setBlock(x + 10, y + 26, z + 4, Block5, 0, 3); - world.setBlock(x + 11, y + 26, z + 4, Block5, 0, 3); - world.setBlock(x + 5, y + 26, z + 5, Block5, 0, 3); - world.setBlock(x + 6, y + 26, z + 5, Block5, 0, 3); - world.setBlock(x + 7, y + 26, z + 5, Block5, 0, 3); - world.setBlock(x + 8, y + 26, z + 5, Block5, 0, 3); - world.setBlock(x + 9, y + 26, z + 5, Block5, 0, 3); - world.setBlock(x + 10, y + 26, z + 5, Block5, 0, 3); - world.setBlock(x + 11, y + 26, z + 5, Block5, 0, 3); - world.setBlock(x + 2, y + 26, z + 6, Block5, 0, 3); - world.setBlock(x + 3, y + 26, z + 6, Block5, 0, 3); - world.setBlock(x + 4, y + 26, z + 6, Block5, 0, 3); - world.setBlock(x + 12, y + 26, z + 6, Block5, 0, 3); - world.setBlock(x + 13, y + 26, z + 6, Block5, 0, 3); - world.setBlock(x + 14, y + 26, z + 6, Block5, 0, 3); - world.setBlock(x + 2, y + 26, z + 7, Block5, 0, 3); - world.setBlock(x + 3, y + 26, z + 7, Block5, 0, 3); - world.setBlock(x + 4, y + 26, z + 7, Block5, 0, 3); - world.setBlock(x + 12, y + 26, z + 7, Block5, 0, 3); - world.setBlock(x + 13, y + 26, z + 7, Block5, 0, 3); - world.setBlock(x + 14, y + 26, z + 7, Block5, 0, 3); - world.setBlock(x + 2, y + 26, z + 8, Block5, 0, 3); - world.setBlock(x + 3, y + 26, z + 8, Block5, 0, 3); - world.setBlock(x + 4, y + 26, z + 8, Block5, 0, 3); - world.setBlock(x + 12, y + 26, z + 8, Block5, 0, 3); - world.setBlock(x + 13, y + 26, z + 8, Block5, 0, 3); - world.setBlock(x + 14, y + 26, z + 8, Block5, 0, 3); - world.setBlock(x + 0, y + 26, z + 9, Block7, 0, 3); - world.setBlock(x + 1, y + 26, z + 9, Block5, 0, 3); - world.setBlock(x + 15, y + 26, z + 9, Block5, 0, 3); - world.setBlock(x + 16, y + 26, z + 9, Block5, 0, 3); - world.setBlock(x + 17, y + 26, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 26, z + 9, Block2, 0, 3); - world.setBlock(x + 19, y + 26, z + 9, Block2, 0, 3); - world.setBlock(x + 0, y + 26, z + 10, Block7, 0, 3); - world.setBlock(x + 1, y + 26, z + 10, Block5, 0, 3); - world.setBlock(x + 15, y + 26, z + 10, Block5, 0, 3); - world.setBlock(x + 16, y + 26, z + 10, Block5, 0, 3); - world.setBlock(x + 17, y + 26, z + 10, Block2, 0, 3); - world.setBlock(x + 18, y + 26, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 26, z + 10, Block2, 0, 3); - world.setBlock(x + 0, y + 26, z + 11, Block7, 0, 3); - world.setBlock(x + 1, y + 26, z + 11, Block5, 0, 3); - world.setBlock(x + 15, y + 26, z + 11, Block5, 0, 3); - world.setBlock(x + 16, y + 26, z + 11, Block5, 0, 3); - world.setBlock(x + 17, y + 26, z + 11, Block2, 0, 3); - world.setBlock(x + 18, y + 26, z + 11, Block2, 0, 3); - world.setBlock(x + 19, y + 26, z + 11, Block2, 0, 3); - world.setBlock(x + 0, y + 26, z + 12, Block7, 0, 3); - world.setBlock(x + 1, y + 26, z + 12, Block5, 0, 3); - world.setBlock(x + 10, y + 26, z + 12, Block4, 0, 3); - world.setBlock(x + 11, y + 26, z + 12, Block4, 0, 3); - world.setBlock(x + 15, y + 26, z + 12, Block5, 0, 3); - world.setBlock(x + 16, y + 26, z + 12, Block5, 0, 3); - world.setBlock(x + 17, y + 26, z + 12, Block2, 0, 3); - world.setBlock(x + 18, y + 26, z + 12, Block2, 0, 3); - world.setBlock(x + 19, y + 26, z + 12, Block2, 0, 3); - world.setBlock(x + 0, y + 26, z + 13, Block7, 0, 3); - world.setBlock(x + 1, y + 26, z + 13, Block5, 0, 3); - world.setBlock(x + 15, y + 26, z + 13, Block5, 0, 3); - world.setBlock(x + 16, y + 26, z + 13, Block5, 0, 3); - world.setBlock(x + 17, y + 26, z + 13, Block2, 0, 3); - world.setBlock(x + 18, y + 26, z + 13, Block2, 0, 3); - world.setBlock(x + 19, y + 26, z + 13, Block2, 0, 3); - world.setBlock(x + 0, y + 26, z + 14, Block7, 0, 3); - world.setBlock(x + 1, y + 26, z + 14, Block5, 0, 3); - world.setBlock(x + 15, y + 26, z + 14, Block5, 0, 3); - world.setBlock(x + 16, y + 26, z + 14, Block5, 0, 3); - world.setBlock(x + 17, y + 26, z + 14, Block2, 0, 3); - world.setBlock(x + 18, y + 26, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 26, z + 14, Block2, 0, 3); - world.setBlock(x + 0, y + 26, z + 15, Block7, 0, 3); - world.setBlock(x + 1, y + 26, z + 15, Block5, 0, 3); - world.setBlock(x + 15, y + 26, z + 15, Block5, 0, 3); - world.setBlock(x + 16, y + 26, z + 15, Block5, 0, 3); - world.setBlock(x + 17, y + 26, z + 15, Block2, 0, 3); - world.setBlock(x + 18, y + 26, z + 15, Block2, 0, 3); - world.setBlock(x + 19, y + 26, z + 15, Block2, 0, 3); - world.setBlock(x + 2, y + 26, z + 16, Block5, 0, 3); - world.setBlock(x + 3, y + 26, z + 16, Block5, 0, 3); - world.setBlock(x + 4, y + 26, z + 16, Block5, 0, 3); - world.setBlock(x + 12, y + 26, z + 16, Block5, 0, 3); - world.setBlock(x + 13, y + 26, z + 16, Block5, 0, 3); - world.setBlock(x + 14, y + 26, z + 16, Block5, 0, 3); - world.setBlock(x + 2, y + 26, z + 17, Block5, 0, 3); - world.setBlock(x + 3, y + 26, z + 17, Block5, 0, 3); - world.setBlock(x + 4, y + 26, z + 17, Block5, 0, 3); - world.setBlock(x + 12, y + 26, z + 17, Block5, 0, 3); - world.setBlock(x + 13, y + 26, z + 17, Block5, 0, 3); - world.setBlock(x + 14, y + 26, z + 17, Block5, 0, 3); - world.setBlock(x + 2, y + 26, z + 18, Block5, 0, 3); - world.setBlock(x + 3, y + 26, z + 18, Block5, 0, 3); - world.setBlock(x + 4, y + 26, z + 18, Block5, 0, 3); - world.setBlock(x + 12, y + 26, z + 18, Block5, 0, 3); - world.setBlock(x + 13, y + 26, z + 18, Block5, 0, 3); - world.setBlock(x + 14, y + 26, z + 18, Block5, 0, 3); - world.setBlock(x + 5, y + 26, z + 19, Block5, 0, 3); - world.setBlock(x + 6, y + 26, z + 19, Block5, 0, 3); - world.setBlock(x + 7, y + 26, z + 19, Block5, 0, 3); - world.setBlock(x + 8, y + 26, z + 19, Block5, 0, 3); - world.setBlock(x + 9, y + 26, z + 19, Block5, 0, 3); - world.setBlock(x + 10, y + 26, z + 19, Block5, 0, 3); - world.setBlock(x + 11, y + 26, z + 19, Block5, 0, 3); - world.setBlock(x + 5, y + 26, z + 20, Block5, 0, 3); - world.setBlock(x + 6, y + 26, z + 20, Block5, 0, 3); - world.setBlock(x + 7, y + 26, z + 20, Block5, 0, 3); - world.setBlock(x + 8, y + 26, z + 20, Block5, 0, 3); - world.setBlock(x + 9, y + 26, z + 20, Block5, 0, 3); - world.setBlock(x + 10, y + 26, z + 20, Block5, 0, 3); - world.setBlock(x + 11, y + 26, z + 20, Block5, 0, 3); - world.setBlock(x + 5, y + 27, z + 3, Block5, 0, 3); - world.setBlock(x + 6, y + 27, z + 3, Block5, 0, 3); - world.setBlock(x + 7, y + 27, z + 3, Block5, 0, 3); - world.setBlock(x + 8, y + 27, z + 3, Block5, 0, 3); - world.setBlock(x + 9, y + 27, z + 3, Block5, 0, 3); - world.setBlock(x + 10, y + 27, z + 3, Block5, 0, 3); - world.setBlock(x + 11, y + 27, z + 3, Block5, 0, 3); - world.setBlock(x + 2, y + 27, z + 4, Block7, 0, 3); - world.setBlock(x + 3, y + 27, z + 4, Block5, 0, 3); - world.setBlock(x + 4, y + 27, z + 4, Block5, 0, 3); - world.setBlock(x + 12, y + 27, z + 4, Block5, 0, 3); - world.setBlock(x + 13, y + 27, z + 4, Block5, 0, 3); - world.setBlock(x + 14, y + 27, z + 4, Block5, 0, 3); - world.setBlock(x + 2, y + 27, z + 5, Block7, 0, 3); - world.setBlock(x + 3, y + 27, z + 5, Block5, 0, 3); - world.setBlock(x + 4, y + 27, z + 5, Block5, 0, 3); - world.setBlock(x + 12, y + 27, z + 5, Block5, 0, 3); - world.setBlock(x + 13, y + 27, z + 5, Block5, 0, 3); - world.setBlock(x + 14, y + 27, z + 5, Block5, 0, 3); - world.setBlock(x + 1, y + 27, z + 6, Block7, 0, 3); - world.setBlock(x + 15, y + 27, z + 6, Block5, 0, 3); - world.setBlock(x + 16, y + 27, z + 6, Block5, 0, 3); - world.setBlock(x + 1, y + 27, z + 7, Block7, 0, 3); - world.setBlock(x + 15, y + 27, z + 7, Block5, 0, 3); - world.setBlock(x + 16, y + 27, z + 7, Block5, 0, 3); - world.setBlock(x + 1, y + 27, z + 8, Block7, 0, 3); - world.setBlock(x + 15, y + 27, z + 8, Block5, 0, 3); - world.setBlock(x + 16, y + 27, z + 8, Block5, 0, 3); - world.setBlock(x + 17, y + 27, z + 9, Block5, 0, 3); - world.setBlock(x + 18, y + 27, z + 9, Block2, 0, 3); - world.setBlock(x + 19, y + 27, z + 9, Block2, 0, 3); - world.setBlock(x + 20, y + 27, z + 9, Block2, 0, 3); - world.setBlock(x + 17, y + 27, z + 10, Block5, 0, 3); - world.setBlock(x + 18, y + 27, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 27, z + 10, Block2, 0, 3); - world.setBlock(x + 20, y + 27, z + 10, Block2, 0, 3); - world.setBlock(x + 17, y + 27, z + 11, Block5, 0, 3); - world.setBlock(x + 18, y + 27, z + 11, Block2, 0, 3); - world.setBlock(x + 19, y + 27, z + 11, Block2, 0, 3); - world.setBlock(x + 20, y + 27, z + 11, Block2, 0, 3); - world.setBlock(x + 10, y + 27, z + 12, Block4, 0, 3); - world.setBlock(x + 17, y + 27, z + 12, Block5, 0, 3); - world.setBlock(x + 18, y + 27, z + 12, Block2, 0, 3); - world.setBlock(x + 19, y + 27, z + 12, Block2, 0, 3); - world.setBlock(x + 20, y + 27, z + 12, Block2, 0, 3); - world.setBlock(x + 17, y + 27, z + 13, Block5, 0, 3); - world.setBlock(x + 18, y + 27, z + 13, Block2, 0, 3); - world.setBlock(x + 19, y + 27, z + 13, Block2, 0, 3); - world.setBlock(x + 20, y + 27, z + 13, Block2, 0, 3); - world.setBlock(x + 17, y + 27, z + 14, Block5, 0, 3); - world.setBlock(x + 18, y + 27, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 27, z + 14, Block2, 0, 3); - world.setBlock(x + 20, y + 27, z + 14, Block2, 0, 3); - world.setBlock(x + 17, y + 27, z + 15, Block5, 0, 3); - world.setBlock(x + 18, y + 27, z + 15, Block2, 0, 3); - world.setBlock(x + 19, y + 27, z + 15, Block2, 0, 3); - world.setBlock(x + 20, y + 27, z + 15, Block2, 0, 3); - world.setBlock(x + 1, y + 27, z + 16, Block7, 0, 3); - world.setBlock(x + 15, y + 27, z + 16, Block5, 0, 3); - world.setBlock(x + 16, y + 27, z + 16, Block5, 0, 3); - world.setBlock(x + 1, y + 27, z + 17, Block7, 0, 3); - world.setBlock(x + 15, y + 27, z + 17, Block5, 0, 3); - world.setBlock(x + 16, y + 27, z + 17, Block5, 0, 3); - world.setBlock(x + 1, y + 27, z + 18, Block7, 0, 3); - world.setBlock(x + 15, y + 27, z + 18, Block5, 0, 3); - world.setBlock(x + 16, y + 27, z + 18, Block5, 0, 3); - world.setBlock(x + 2, y + 27, z + 19, Block7, 0, 3); - world.setBlock(x + 3, y + 27, z + 19, Block5, 0, 3); - world.setBlock(x + 4, y + 27, z + 19, Block5, 0, 3); - world.setBlock(x + 12, y + 27, z + 19, Block5, 0, 3); - world.setBlock(x + 13, y + 27, z + 19, Block5, 0, 3); - world.setBlock(x + 14, y + 27, z + 19, Block5, 0, 3); - world.setBlock(x + 2, y + 27, z + 20, Block7, 0, 3); - world.setBlock(x + 3, y + 27, z + 20, Block5, 0, 3); - world.setBlock(x + 4, y + 27, z + 20, Block5, 0, 3); - world.setBlock(x + 12, y + 27, z + 20, Block5, 0, 3); - world.setBlock(x + 13, y + 27, z + 20, Block5, 0, 3); - world.setBlock(x + 14, y + 27, z + 20, Block5, 0, 3); - world.setBlock(x + 5, y + 27, z + 21, Block5, 0, 3); - world.setBlock(x + 6, y + 27, z + 21, Block5, 0, 3); - world.setBlock(x + 7, y + 27, z + 21, Block5, 0, 3); - world.setBlock(x + 8, y + 27, z + 21, Block5, 0, 3); - world.setBlock(x + 9, y + 27, z + 21, Block5, 0, 3); - world.setBlock(x + 10, y + 27, z + 21, Block5, 0, 3); - world.setBlock(x + 11, y + 27, z + 21, Block5, 0, 3); - world.setBlock(x + 5, y + 28, z + 2, Block5, 0, 3); - world.setBlock(x + 6, y + 28, z + 2, Block5, 0, 3); - world.setBlock(x + 7, y + 28, z + 2, Block5, 0, 3); - world.setBlock(x + 8, y + 28, z + 2, Block5, 0, 3); - world.setBlock(x + 9, y + 28, z + 2, Block5, 0, 3); - world.setBlock(x + 10, y + 28, z + 2, Block5, 0, 3); - world.setBlock(x + 11, y + 28, z + 2, Block5, 0, 3); - world.setBlock(x + 2, y + 28, z + 3, Block7, 0, 3); - world.setBlock(x + 3, y + 28, z + 3, Block5, 0, 3); - world.setBlock(x + 4, y + 28, z + 3, Block5, 0, 3); - world.setBlock(x + 12, y + 28, z + 3, Block5, 0, 3); - world.setBlock(x + 13, y + 28, z + 3, Block5, 0, 3); - world.setBlock(x + 14, y + 28, z + 3, Block5, 0, 3); - world.setBlock(x + 15, y + 28, z + 4, Block5, 0, 3); - world.setBlock(x + 16, y + 28, z + 4, Block5, 0, 3); - world.setBlock(x + 15, y + 28, z + 5, Block5, 0, 3); - world.setBlock(x + 16, y + 28, z + 5, Block5, 0, 3); - world.setBlock(x + 17, y + 28, z + 6, Block5, 0, 3); - world.setBlock(x + 17, y + 28, z + 7, Block5, 0, 3); - world.setBlock(x + 17, y + 28, z + 8, Block5, 0, 3); - world.setBlock(x + 18, y + 28, z + 9, Block5, 0, 3); - world.setBlock(x + 19, y + 28, z + 9, Block2, 0, 3); - world.setBlock(x + 20, y + 28, z + 9, Block2, 0, 3); - world.setBlock(x + 21, y + 28, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 28, z + 10, Block5, 0, 3); - world.setBlock(x + 19, y + 28, z + 10, Block2, 0, 3); - world.setBlock(x + 20, y + 28, z + 10, Block2, 0, 3); - world.setBlock(x + 18, y + 28, z + 11, Block5, 0, 3); - world.setBlock(x + 19, y + 28, z + 11, Block2, 0, 3); - world.setBlock(x + 9, y + 28, z + 12, Block4, 0, 3); - world.setBlock(x + 10, y + 28, z + 12, Block4, 0, 3); - world.setBlock(x + 18, y + 28, z + 12, Block5, 0, 3); - world.setBlock(x + 19, y + 28, z + 12, Block2, 0, 3); - world.setBlock(x + 18, y + 28, z + 13, Block5, 0, 3); - world.setBlock(x + 19, y + 28, z + 13, Block2, 0, 3); - world.setBlock(x + 18, y + 28, z + 14, Block5, 0, 3); - world.setBlock(x + 19, y + 28, z + 14, Block2, 0, 3); - world.setBlock(x + 20, y + 28, z + 14, Block2, 0, 3); - world.setBlock(x + 18, y + 28, z + 15, Block5, 0, 3); - world.setBlock(x + 19, y + 28, z + 15, Block2, 0, 3); - world.setBlock(x + 20, y + 28, z + 15, Block2, 0, 3); - world.setBlock(x + 21, y + 28, z + 15, Block2, 0, 3); - world.setBlock(x + 17, y + 28, z + 16, Block5, 0, 3); - world.setBlock(x + 17, y + 28, z + 17, Block5, 0, 3); - world.setBlock(x + 17, y + 28, z + 18, Block5, 0, 3); - world.setBlock(x + 15, y + 28, z + 19, Block5, 0, 3); - world.setBlock(x + 16, y + 28, z + 19, Block5, 0, 3); - world.setBlock(x + 15, y + 28, z + 20, Block5, 0, 3); - world.setBlock(x + 16, y + 28, z + 20, Block5, 0, 3); - world.setBlock(x + 2, y + 28, z + 21, Block7, 0, 3); - world.setBlock(x + 3, y + 28, z + 21, Block5, 0, 3); - world.setBlock(x + 4, y + 28, z + 21, Block5, 0, 3); - world.setBlock(x + 12, y + 28, z + 21, Block5, 0, 3); - world.setBlock(x + 13, y + 28, z + 21, Block5, 0, 3); - world.setBlock(x + 14, y + 28, z + 21, Block5, 0, 3); - world.setBlock(x + 5, y + 28, z + 22, Block5, 0, 3); - world.setBlock(x + 6, y + 28, z + 22, Block5, 0, 3); - world.setBlock(x + 7, y + 28, z + 22, Block5, 0, 3); - world.setBlock(x + 8, y + 28, z + 22, Block5, 0, 3); - world.setBlock(x + 9, y + 28, z + 22, Block5, 0, 3); - world.setBlock(x + 10, y + 28, z + 22, Block5, 0, 3); - world.setBlock(x + 11, y + 28, z + 22, Block5, 0, 3); - world.setBlock(x + 5, y + 29, z + 2, Block5, 0, 3); - world.setBlock(x + 6, y + 29, z + 2, Block5, 0, 3); - world.setBlock(x + 7, y + 29, z + 2, Block5, 0, 3); - world.setBlock(x + 8, y + 29, z + 2, Block5, 0, 3); - world.setBlock(x + 9, y + 29, z + 2, Block5, 0, 3); - world.setBlock(x + 10, y + 29, z + 2, Block5, 0, 3); - world.setBlock(x + 11, y + 29, z + 2, Block5, 0, 3); - world.setBlock(x + 3, y + 29, z + 3, Block7, 0, 3); - world.setBlock(x + 4, y + 29, z + 3, Block5, 0, 3); - world.setBlock(x + 12, y + 29, z + 3, Block5, 0, 3); - world.setBlock(x + 13, y + 29, z + 3, Block5, 0, 3); - world.setBlock(x + 14, y + 29, z + 3, Block5, 0, 3); - world.setBlock(x + 15, y + 29, z + 4, Block5, 0, 3); - world.setBlock(x + 16, y + 29, z + 4, Block5, 0, 3); - world.setBlock(x + 16, y + 29, z + 5, Block5, 0, 3); - world.setBlock(x + 17, y + 29, z + 6, Block5, 0, 3); - world.setBlock(x + 17, y + 29, z + 7, Block5, 0, 3); - world.setBlock(x + 17, y + 29, z + 8, Block5, 0, 3); - world.setBlock(x + 18, y + 29, z + 9, Block5, 0, 3); - world.setBlock(x + 20, y + 29, z + 9, Block2, 0, 3); - world.setBlock(x + 21, y + 29, z + 9, Block2, 0, 3); - world.setBlock(x + 22, y + 29, z + 9, Block2, 0, 3); - world.setBlock(x + 18, y + 29, z + 10, Block5, 0, 3); - world.setBlock(x + 19, y + 29, z + 10, Block2, 0, 3); - world.setBlock(x + 20, y + 29, z + 10, Block2, 0, 3); - world.setBlock(x + 21, y + 29, z + 10, Block2, 0, 3); - world.setBlock(x + 18, y + 29, z + 11, Block5, 0, 3); - world.setBlock(x + 21, y + 29, z + 11, Block2, 0, 3); - world.setBlock(x + 9, y + 29, z + 12, Block4, 0, 3); - world.setBlock(x + 18, y + 29, z + 12, Block5, 0, 3); - world.setBlock(x + 21, y + 29, z + 12, Block2, 0, 3); - world.setBlock(x + 18, y + 29, z + 13, Block5, 0, 3); - world.setBlock(x + 21, y + 29, z + 13, Block2, 0, 3); - world.setBlock(x + 18, y + 29, z + 14, Block5, 0, 3); - world.setBlock(x + 19, y + 29, z + 14, Block2, 0, 3); - world.setBlock(x + 20, y + 29, z + 14, Block2, 0, 3); - world.setBlock(x + 21, y + 29, z + 14, Block2, 0, 3); - world.setBlock(x + 18, y + 29, z + 15, Block5, 0, 3); - world.setBlock(x + 20, y + 29, z + 15, Block2, 0, 3); - world.setBlock(x + 21, y + 29, z + 15, Block2, 0, 3); - world.setBlock(x + 22, y + 29, z + 15, Block2, 0, 3); - world.setBlock(x + 17, y + 29, z + 16, Block5, 0, 3); - world.setBlock(x + 17, y + 29, z + 17, Block5, 0, 3); - world.setBlock(x + 17, y + 29, z + 18, Block5, 0, 3); - world.setBlock(x + 16, y + 29, z + 19, Block5, 0, 3); - world.setBlock(x + 15, y + 29, z + 20, Block5, 0, 3); - world.setBlock(x + 16, y + 29, z + 20, Block5, 0, 3); - world.setBlock(x + 3, y + 29, z + 21, Block7, 0, 3); - world.setBlock(x + 4, y + 29, z + 21, Block5, 0, 3); - world.setBlock(x + 12, y + 29, z + 21, Block5, 0, 3); - world.setBlock(x + 13, y + 29, z + 21, Block5, 0, 3); - world.setBlock(x + 14, y + 29, z + 21, Block5, 0, 3); - world.setBlock(x + 5, y + 29, z + 22, Block5, 0, 3); - world.setBlock(x + 6, y + 29, z + 22, Block5, 0, 3); - world.setBlock(x + 7, y + 29, z + 22, Block5, 0, 3); - world.setBlock(x + 8, y + 29, z + 22, Block5, 0, 3); - world.setBlock(x + 9, y + 29, z + 22, Block5, 0, 3); - world.setBlock(x + 10, y + 29, z + 22, Block5, 0, 3); - world.setBlock(x + 11, y + 29, z + 22, Block5, 0, 3); - world.setBlock(x + 5, y + 30, z + 1, Block5, 0, 3); - world.setBlock(x + 6, y + 30, z + 1, Block5, 0, 3); - world.setBlock(x + 7, y + 30, z + 1, Block5, 0, 3); - world.setBlock(x + 8, y + 30, z + 1, Block5, 0, 3); - world.setBlock(x + 9, y + 30, z + 1, Block5, 0, 3); - world.setBlock(x + 10, y + 30, z + 1, Block5, 0, 3); - world.setBlock(x + 11, y + 30, z + 1, Block5, 0, 3); - world.setBlock(x + 4, y + 30, z + 2, Block7, 0, 3); - world.setBlock(x + 12, y + 30, z + 2, Block5, 0, 3); - world.setBlock(x + 13, y + 30, z + 2, Block5, 0, 3); - world.setBlock(x + 14, y + 30, z + 2, Block5, 0, 3); - world.setBlock(x + 15, y + 30, z + 3, Block5, 0, 3); - world.setBlock(x + 16, y + 30, z + 3, Block5, 0, 3); - world.setBlock(x + 17, y + 30, z + 4, Block5, 0, 3); - world.setBlock(x + 17, y + 30, z + 5, Block5, 0, 3); - world.setBlock(x + 18, y + 30, z + 6, Block5, 0, 3); - world.setBlock(x + 18, y + 30, z + 7, Block5, 0, 3); - world.setBlock(x + 18, y + 30, z + 8, Block5, 0, 3); - world.setBlock(x + 19, y + 30, z + 9, Block5, 0, 3); - world.setBlock(x + 21, y + 30, z + 9, Block2, 0, 3); - world.setBlock(x + 19, y + 30, z + 10, Block5, 0, 3); - world.setBlock(x + 20, y + 30, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 30, z + 11, Block5, 0, 3); - world.setBlock(x + 8, y + 30, z + 12, Block4, 0, 3); - world.setBlock(x + 9, y + 30, z + 12, Block4, 0, 3); - world.setBlock(x + 19, y + 30, z + 12, Block5, 0, 3); - world.setBlock(x + 19, y + 30, z + 13, Block5, 0, 3); - world.setBlock(x + 19, y + 30, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 30, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 30, z + 15, Block5, 0, 3); - world.setBlock(x + 21, y + 30, z + 15, Block2, 0, 3); - world.setBlock(x + 18, y + 30, z + 16, Block5, 0, 3); - world.setBlock(x + 18, y + 30, z + 17, Block5, 0, 3); - world.setBlock(x + 18, y + 30, z + 18, Block5, 0, 3); - world.setBlock(x + 17, y + 30, z + 19, Block5, 0, 3); - world.setBlock(x + 17, y + 30, z + 20, Block5, 0, 3); - world.setBlock(x + 15, y + 30, z + 21, Block5, 0, 3); - world.setBlock(x + 16, y + 30, z + 21, Block5, 0, 3); - world.setBlock(x + 4, y + 30, z + 22, Block7, 0, 3); - world.setBlock(x + 12, y + 30, z + 22, Block5, 0, 3); - world.setBlock(x + 13, y + 30, z + 22, Block5, 0, 3); - world.setBlock(x + 14, y + 30, z + 22, Block5, 0, 3); - world.setBlock(x + 5, y + 30, z + 23, Block5, 0, 3); - world.setBlock(x + 6, y + 30, z + 23, Block5, 0, 3); - world.setBlock(x + 7, y + 30, z + 23, Block5, 0, 3); - world.setBlock(x + 8, y + 30, z + 23, Block5, 0, 3); - world.setBlock(x + 9, y + 30, z + 23, Block5, 0, 3); - world.setBlock(x + 10, y + 30, z + 23, Block5, 0, 3); - world.setBlock(x + 11, y + 30, z + 23, Block5, 0, 3); - world.setBlock(x + 5, y + 31, z + 1, Block7, 0, 3); - world.setBlock(x + 6, y + 31, z + 1, Block5, 0, 3); - world.setBlock(x + 7, y + 31, z + 1, Block5, 0, 3); - world.setBlock(x + 8, y + 31, z + 1, Block5, 0, 3); - world.setBlock(x + 9, y + 31, z + 1, Block5, 0, 3); - world.setBlock(x + 10, y + 31, z + 1, Block5, 0, 3); - world.setBlock(x + 11, y + 31, z + 1, Block5, 0, 3); - world.setBlock(x + 12, y + 31, z + 2, Block5, 0, 3); - world.setBlock(x + 13, y + 31, z + 2, Block5, 0, 3); - world.setBlock(x + 14, y + 31, z + 2, Block5, 0, 3); - world.setBlock(x + 15, y + 31, z + 3, Block5, 0, 3); - world.setBlock(x + 16, y + 31, z + 3, Block5, 0, 3); - world.setBlock(x + 17, y + 31, z + 4, Block5, 0, 3); - world.setBlock(x + 17, y + 31, z + 5, Block5, 0, 3); - world.setBlock(x + 18, y + 31, z + 6, Block5, 0, 3); - world.setBlock(x + 18, y + 31, z + 7, Block5, 0, 3); - world.setBlock(x + 18, y + 31, z + 8, Block5, 0, 3); - world.setBlock(x + 19, y + 31, z + 9, Block5, 0, 3); - world.setBlock(x + 19, y + 31, z + 10, Block5, 0, 3); - world.setBlock(x + 20, y + 31, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 31, z + 11, Block5, 0, 3); - world.setBlock(x + 8, y + 31, z + 12, Block4, 0, 3); - world.setBlock(x + 19, y + 31, z + 12, Block5, 0, 3); - world.setBlock(x + 19, y + 31, z + 13, Block5, 0, 3); - world.setBlock(x + 19, y + 31, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 31, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 31, z + 15, Block5, 0, 3); - world.setBlock(x + 18, y + 31, z + 16, Block5, 0, 3); - world.setBlock(x + 18, y + 31, z + 17, Block5, 0, 3); - world.setBlock(x + 18, y + 31, z + 18, Block5, 0, 3); - world.setBlock(x + 17, y + 31, z + 19, Block5, 0, 3); - world.setBlock(x + 17, y + 31, z + 20, Block5, 0, 3); - world.setBlock(x + 15, y + 31, z + 21, Block5, 0, 3); - world.setBlock(x + 16, y + 31, z + 21, Block5, 0, 3); - world.setBlock(x + 12, y + 31, z + 22, Block5, 0, 3); - world.setBlock(x + 13, y + 31, z + 22, Block5, 0, 3); - world.setBlock(x + 14, y + 31, z + 22, Block5, 0, 3); - world.setBlock(x + 5, y + 31, z + 23, Block7, 0, 3); - world.setBlock(x + 6, y + 31, z + 23, Block5, 0, 3); - world.setBlock(x + 7, y + 31, z + 23, Block5, 0, 3); - world.setBlock(x + 8, y + 31, z + 23, Block5, 0, 3); - world.setBlock(x + 9, y + 31, z + 23, Block5, 0, 3); - world.setBlock(x + 10, y + 31, z + 23, Block5, 0, 3); - world.setBlock(x + 11, y + 31, z + 23, Block5, 0, 3); - world.setBlock(x + 6, y + 32, z + 1, Block7, 0, 3); - world.setBlock(x + 7, y + 32, z + 1, Block5, 0, 3); - world.setBlock(x + 8, y + 32, z + 1, Block5, 0, 3); - world.setBlock(x + 9, y + 32, z + 1, Block5, 0, 3); - world.setBlock(x + 10, y + 32, z + 1, Block5, 0, 3); - world.setBlock(x + 11, y + 32, z + 1, Block5, 0, 3); - world.setBlock(x + 12, y + 32, z + 2, Block5, 0, 3); - world.setBlock(x + 13, y + 32, z + 2, Block5, 0, 3); - world.setBlock(x + 14, y + 32, z + 2, Block5, 0, 3); - world.setBlock(x + 15, y + 32, z + 3, Block5, 0, 3); - world.setBlock(x + 16, y + 32, z + 3, Block5, 0, 3); - world.setBlock(x + 17, y + 32, z + 4, Block5, 0, 3); - world.setBlock(x + 17, y + 32, z + 5, Block5, 0, 3); - world.setBlock(x + 18, y + 32, z + 6, Block5, 0, 3); - world.setBlock(x + 18, y + 32, z + 7, Block5, 0, 3); - world.setBlock(x + 18, y + 32, z + 8, Block5, 0, 3); - world.setBlock(x + 19, y + 32, z + 9, Block5, 0, 3); - world.setBlock(x + 19, y + 32, z + 10, Block5, 0, 3); - world.setBlock(x + 20, y + 32, z + 10, Block2, 0, 3); - world.setBlock(x + 19, y + 32, z + 11, Block5, 0, 3); - world.setBlock(x + 7, y + 32, z + 12, Block4, 0, 3); - world.setBlock(x + 8, y + 32, z + 12, Block4, 0, 3); - world.setBlock(x + 19, y + 32, z + 12, Block5, 0, 3); - world.setBlock(x + 19, y + 32, z + 13, Block5, 0, 3); - world.setBlock(x + 19, y + 32, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 32, z + 14, Block2, 0, 3); - world.setBlock(x + 19, y + 32, z + 15, Block5, 0, 3); - world.setBlock(x + 18, y + 32, z + 16, Block5, 0, 3); - world.setBlock(x + 18, y + 32, z + 17, Block5, 0, 3); - world.setBlock(x + 18, y + 32, z + 18, Block5, 0, 3); - world.setBlock(x + 17, y + 32, z + 19, Block5, 0, 3); - world.setBlock(x + 17, y + 32, z + 20, Block5, 0, 3); - world.setBlock(x + 15, y + 32, z + 21, Block5, 0, 3); - world.setBlock(x + 16, y + 32, z + 21, Block5, 0, 3); - world.setBlock(x + 12, y + 32, z + 22, Block5, 0, 3); - world.setBlock(x + 13, y + 32, z + 22, Block5, 0, 3); - world.setBlock(x + 14, y + 32, z + 22, Block5, 0, 3); - world.setBlock(x + 6, y + 32, z + 23, Block7, 0, 3); - world.setBlock(x + 7, y + 32, z + 23, Block5, 0, 3); - world.setBlock(x + 8, y + 32, z + 23, Block5, 0, 3); - world.setBlock(x + 9, y + 32, z + 23, Block5, 0, 3); - world.setBlock(x + 10, y + 32, z + 23, Block5, 0, 3); - world.setBlock(x + 11, y + 32, z + 23, Block5, 0, 3); - world.setBlock(x + 7, y + 33, z + 0, Block7, 0, 3); - world.setBlock(x + 8, y + 33, z + 0, Block5, 0, 3); - world.setBlock(x + 9, y + 33, z + 0, Block5, 0, 3); - world.setBlock(x + 10, y + 33, z + 0, Block5, 0, 3); - world.setBlock(x + 11, y + 33, z + 0, Block5, 0, 3); - world.setBlock(x + 12, y + 33, z + 1, Block5, 0, 3); - world.setBlock(x + 13, y + 33, z + 1, Block5, 0, 3); - world.setBlock(x + 14, y + 33, z + 1, Block5, 0, 3); - world.setBlock(x + 15, y + 33, z + 2, Block5, 0, 3); - world.setBlock(x + 16, y + 33, z + 2, Block5, 0, 3); - world.setBlock(x + 17, y + 33, z + 3, Block5, 0, 3); - world.setBlock(x + 18, y + 33, z + 4, Block5, 0, 3); - world.setBlock(x + 18, y + 33, z + 5, Block5, 0, 3); - world.setBlock(x + 19, y + 33, z + 6, Block5, 0, 3); - world.setBlock(x + 19, y + 33, z + 7, Block5, 0, 3); - world.setBlock(x + 19, y + 33, z + 8, Block5, 0, 3); - world.setBlock(x + 20, y + 33, z + 9, Block5, 0, 3); - world.setBlock(x + 20, y + 33, z + 10, Block5, 0, 3); - world.setBlock(x + 20, y + 33, z + 11, Block5, 0, 3); - world.setBlock(x + 7, y + 33, z + 12, Block4, 0, 3); - world.setBlock(x + 18, y + 33, z + 12, Block4, 0, 3); - world.setBlock(x + 19, y + 33, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 33, z + 12, Block5, 0, 3); - world.setBlock(x + 20, y + 33, z + 13, Block5, 0, 3); - world.setBlock(x + 20, y + 33, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 33, z + 15, Block5, 0, 3); - world.setBlock(x + 19, y + 33, z + 16, Block5, 0, 3); - world.setBlock(x + 19, y + 33, z + 17, Block5, 0, 3); - world.setBlock(x + 19, y + 33, z + 18, Block5, 0, 3); - world.setBlock(x + 18, y + 33, z + 19, Block5, 0, 3); - world.setBlock(x + 18, y + 33, z + 20, Block5, 0, 3); - world.setBlock(x + 17, y + 33, z + 21, Block5, 0, 3); - world.setBlock(x + 15, y + 33, z + 22, Block5, 0, 3); - world.setBlock(x + 16, y + 33, z + 22, Block5, 0, 3); - world.setBlock(x + 12, y + 33, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + 33, z + 23, Block5, 0, 3); - world.setBlock(x + 14, y + 33, z + 23, Block5, 0, 3); - world.setBlock(x + 7, y + 33, z + 24, Block7, 0, 3); - world.setBlock(x + 8, y + 33, z + 24, Block5, 0, 3); - world.setBlock(x + 9, y + 33, z + 24, Block5, 0, 3); - world.setBlock(x + 10, y + 33, z + 24, Block5, 0, 3); - world.setBlock(x + 11, y + 33, z + 24, Block5, 0, 3); - world.setBlock(x + 8, y + 34, z + 0, Block7, 0, 3); - world.setBlock(x + 9, y + 34, z + 0, Block5, 0, 3); - world.setBlock(x + 10, y + 34, z + 0, Block5, 0, 3); - world.setBlock(x + 11, y + 34, z + 0, Block5, 0, 3); - world.setBlock(x + 12, y + 34, z + 1, Block5, 0, 3); - world.setBlock(x + 13, y + 34, z + 1, Block5, 0, 3); - world.setBlock(x + 14, y + 34, z + 1, Block5, 0, 3); - world.setBlock(x + 15, y + 34, z + 2, Block5, 0, 3); - world.setBlock(x + 16, y + 34, z + 2, Block5, 0, 3); - world.setBlock(x + 17, y + 34, z + 3, Block5, 0, 3); - world.setBlock(x + 18, y + 34, z + 4, Block5, 0, 3); - world.setBlock(x + 18, y + 34, z + 5, Block5, 0, 3); - world.setBlock(x + 19, y + 34, z + 6, Block5, 0, 3); - world.setBlock(x + 19, y + 34, z + 7, Block5, 0, 3); - world.setBlock(x + 19, y + 34, z + 8, Block5, 0, 3); - world.setBlock(x + 20, y + 34, z + 9, Block5, 0, 3); - world.setBlock(x + 20, y + 34, z + 10, Block5, 0, 3); - world.setBlock(x + 20, y + 34, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + 34, z + 12, Block4, 0, 3); - world.setBlock(x + 7, y + 34, z + 12, Block4, 0, 3); - world.setBlock(x + 16, y + 34, z + 12, Block4, 0, 3); - world.setBlock(x + 17, y + 34, z + 12, Block4, 0, 3); - world.setBlock(x + 18, y + 34, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 34, z + 12, Block5, 0, 3); - world.setBlock(x + 20, y + 34, z + 13, Block5, 0, 3); - world.setBlock(x + 20, y + 34, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 34, z + 15, Block5, 0, 3); - world.setBlock(x + 19, y + 34, z + 16, Block5, 0, 3); - world.setBlock(x + 19, y + 34, z + 17, Block5, 0, 3); - world.setBlock(x + 19, y + 34, z + 18, Block5, 0, 3); - world.setBlock(x + 18, y + 34, z + 19, Block5, 0, 3); - world.setBlock(x + 18, y + 34, z + 20, Block5, 0, 3); - world.setBlock(x + 17, y + 34, z + 21, Block5, 0, 3); - world.setBlock(x + 15, y + 34, z + 22, Block5, 0, 3); - world.setBlock(x + 16, y + 34, z + 22, Block5, 0, 3); - world.setBlock(x + 12, y + 34, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + 34, z + 23, Block5, 0, 3); - world.setBlock(x + 14, y + 34, z + 23, Block5, 0, 3); - world.setBlock(x + 8, y + 34, z + 24, Block7, 0, 3); - world.setBlock(x + 9, y + 34, z + 24, Block5, 0, 3); - world.setBlock(x + 10, y + 34, z + 24, Block5, 0, 3); - world.setBlock(x + 11, y + 34, z + 24, Block5, 0, 3); - world.setBlock(x + 9, y + 35, z + 0, Block7, 0, 3); - world.setBlock(x + 10, y + 35, z + 0, Block5, 0, 3); - world.setBlock(x + 11, y + 35, z + 0, Block5, 0, 3); - world.setBlock(x + 12, y + 35, z + 1, Block5, 0, 3); - world.setBlock(x + 13, y + 35, z + 1, Block5, 0, 3); - world.setBlock(x + 14, y + 35, z + 1, Block5, 0, 3); - world.setBlock(x + 15, y + 35, z + 2, Block5, 0, 3); - world.setBlock(x + 16, y + 35, z + 2, Block5, 0, 3); - world.setBlock(x + 17, y + 35, z + 3, Block5, 0, 3); - world.setBlock(x + 18, y + 35, z + 4, Block5, 0, 3); - world.setBlock(x + 18, y + 35, z + 5, Block5, 0, 3); - world.setBlock(x + 19, y + 35, z + 6, Block5, 0, 3); - world.setBlock(x + 19, y + 35, z + 7, Block5, 0, 3); - world.setBlock(x + 19, y + 35, z + 8, Block5, 0, 3); - world.setBlock(x + 20, y + 35, z + 9, Block5, 0, 3); - world.setBlock(x + 20, y + 35, z + 10, Block5, 0, 3); - world.setBlock(x + 20, y + 35, z + 11, Block5, 0, 3); - world.setBlock(x + 6, y + 35, z + 12, Block4, 0, 3); - world.setBlock(x + 14, y + 35, z + 12, Block4, 0, 3); - world.setBlock(x + 15, y + 35, z + 12, Block4, 0, 3); - world.setBlock(x + 16, y + 35, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 35, z + 12, Block5, 0, 3); - world.setBlock(x + 20, y + 35, z + 13, Block5, 0, 3); - world.setBlock(x + 20, y + 35, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 35, z + 15, Block5, 0, 3); - world.setBlock(x + 19, y + 35, z + 16, Block5, 0, 3); - world.setBlock(x + 19, y + 35, z + 17, Block5, 0, 3); - world.setBlock(x + 19, y + 35, z + 18, Block5, 0, 3); - world.setBlock(x + 18, y + 35, z + 19, Block5, 0, 3); - world.setBlock(x + 18, y + 35, z + 20, Block5, 0, 3); - world.setBlock(x + 17, y + 35, z + 21, Block5, 0, 3); - world.setBlock(x + 15, y + 35, z + 22, Block5, 0, 3); - world.setBlock(x + 16, y + 35, z + 22, Block5, 0, 3); - world.setBlock(x + 12, y + 35, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + 35, z + 23, Block5, 0, 3); - world.setBlock(x + 14, y + 35, z + 23, Block5, 0, 3); - world.setBlock(x + 9, y + 35, z + 24, Block7, 0, 3); - world.setBlock(x + 10, y + 35, z + 24, Block5, 0, 3); - world.setBlock(x + 11, y + 35, z + 24, Block5, 0, 3); - world.setBlock(x + 10, y + 36, z + 0, Block7, 0, 3); - world.setBlock(x + 11, y + 36, z + 0, Block5, 0, 3); - world.setBlock(x + 12, y + 36, z + 1, Block5, 0, 3); - world.setBlock(x + 13, y + 36, z + 1, Block5, 0, 3); - world.setBlock(x + 14, y + 36, z + 1, Block5, 0, 3); - world.setBlock(x + 15, y + 36, z + 2, Block5, 0, 3); - world.setBlock(x + 16, y + 36, z + 2, Block5, 0, 3); - world.setBlock(x + 17, y + 36, z + 3, Block5, 0, 3); - world.setBlock(x + 18, y + 36, z + 4, Block5, 0, 3); - world.setBlock(x + 18, y + 36, z + 5, Block5, 0, 3); - world.setBlock(x + 19, y + 36, z + 6, Block5, 0, 3); - world.setBlock(x + 19, y + 36, z + 7, Block5, 0, 3); - world.setBlock(x + 19, y + 36, z + 8, Block5, 0, 3); - world.setBlock(x + 20, y + 36, z + 9, Block5, 0, 3); - world.setBlock(x + 20, y + 36, z + 10, Block5, 0, 3); - world.setBlock(x + 20, y + 36, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 36, z + 12, Block4, 0, 3); - world.setBlock(x + 6, y + 36, z + 12, Block4, 0, 3); - world.setBlock(x + 12, y + 36, z + 12, Block4, 0, 3); - world.setBlock(x + 13, y + 36, z + 12, Block4, 0, 3); - world.setBlock(x + 14, y + 36, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 36, z + 12, Block5, 0, 3); - world.setBlock(x + 20, y + 36, z + 13, Block5, 0, 3); - world.setBlock(x + 20, y + 36, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 36, z + 15, Block5, 0, 3); - world.setBlock(x + 19, y + 36, z + 16, Block5, 0, 3); - world.setBlock(x + 19, y + 36, z + 17, Block5, 0, 3); - world.setBlock(x + 19, y + 36, z + 18, Block5, 0, 3); - world.setBlock(x + 18, y + 36, z + 19, Block5, 0, 3); - world.setBlock(x + 18, y + 36, z + 20, Block5, 0, 3); - world.setBlock(x + 17, y + 36, z + 21, Block5, 0, 3); - world.setBlock(x + 15, y + 36, z + 22, Block5, 0, 3); - world.setBlock(x + 16, y + 36, z + 22, Block5, 0, 3); - world.setBlock(x + 12, y + 36, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + 36, z + 23, Block5, 0, 3); - world.setBlock(x + 14, y + 36, z + 23, Block5, 0, 3); - world.setBlock(x + 10, y + 36, z + 24, Block7, 0, 3); - world.setBlock(x + 11, y + 36, z + 24, Block5, 0, 3); - world.setBlock(x + 11, y + 37, z + 0, Block7, 0, 3); - world.setBlock(x + 12, y + 37, z + 1, Block5, 0, 3); - world.setBlock(x + 13, y + 37, z + 1, Block5, 0, 3); - world.setBlock(x + 14, y + 37, z + 1, Block5, 0, 3); - world.setBlock(x + 15, y + 37, z + 2, Block5, 0, 3); - world.setBlock(x + 16, y + 37, z + 2, Block5, 0, 3); - world.setBlock(x + 17, y + 37, z + 3, Block5, 0, 3); - world.setBlock(x + 18, y + 37, z + 4, Block5, 0, 3); - world.setBlock(x + 18, y + 37, z + 5, Block5, 0, 3); - world.setBlock(x + 19, y + 37, z + 6, Block5, 0, 3); - world.setBlock(x + 19, y + 37, z + 7, Block5, 0, 3); - world.setBlock(x + 19, y + 37, z + 8, Block5, 0, 3); - world.setBlock(x + 20, y + 37, z + 9, Block5, 0, 3); - world.setBlock(x + 20, y + 37, z + 10, Block5, 0, 3); - world.setBlock(x + 20, y + 37, z + 11, Block5, 0, 3); - world.setBlock(x + 5, y + 37, z + 12, Block4, 0, 3); - world.setBlock(x + 10, y + 37, z + 12, Block4, 0, 3); - world.setBlock(x + 11, y + 37, z + 12, Block4, 0, 3); - world.setBlock(x + 12, y + 37, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 37, z + 12, Block5, 0, 3); - world.setBlock(x + 20, y + 37, z + 13, Block5, 0, 3); - world.setBlock(x + 20, y + 37, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 37, z + 15, Block5, 0, 3); - world.setBlock(x + 19, y + 37, z + 16, Block5, 0, 3); - world.setBlock(x + 19, y + 37, z + 17, Block5, 0, 3); - world.setBlock(x + 19, y + 37, z + 18, Block5, 0, 3); - world.setBlock(x + 18, y + 37, z + 19, Block5, 0, 3); - world.setBlock(x + 18, y + 37, z + 20, Block5, 0, 3); - world.setBlock(x + 17, y + 37, z + 21, Block5, 0, 3); - world.setBlock(x + 15, y + 37, z + 22, Block5, 0, 3); - world.setBlock(x + 16, y + 37, z + 22, Block5, 0, 3); - world.setBlock(x + 12, y + 37, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + 37, z + 23, Block5, 0, 3); - world.setBlock(x + 14, y + 37, z + 23, Block5, 0, 3); - world.setBlock(x + 11, y + 37, z + 24, Block7, 0, 3); - world.setBlock(x + 12, y + 38, z + 1, Block7, 0, 3); - world.setBlock(x + 13, y + 38, z + 1, Block5, 0, 3); - world.setBlock(x + 14, y + 38, z + 1, Block5, 0, 3); - world.setBlock(x + 15, y + 38, z + 2, Block5, 0, 3); - world.setBlock(x + 16, y + 38, z + 2, Block5, 0, 3); - world.setBlock(x + 17, y + 38, z + 3, Block5, 0, 3); - world.setBlock(x + 18, y + 38, z + 4, Block5, 0, 3); - world.setBlock(x + 18, y + 38, z + 5, Block5, 0, 3); - world.setBlock(x + 19, y + 38, z + 6, Block5, 0, 3); - world.setBlock(x + 19, y + 38, z + 7, Block5, 0, 3); - world.setBlock(x + 19, y + 38, z + 8, Block5, 0, 3); - world.setBlock(x + 20, y + 38, z + 9, Block5, 0, 3); - world.setBlock(x + 20, y + 38, z + 10, Block5, 0, 3); - world.setBlock(x + 4, y + 38, z + 11, Block7, 0, 3); - world.setBlock(x + 5, y + 38, z + 11, Block7, 0, 3); - world.setBlock(x + 6, y + 38, z + 11, Block7, 0, 3); - world.setBlock(x + 20, y + 38, z + 11, Block5, 0, 3); - world.setBlock(x + 4, y + 38, z + 12, Block7, 0, 3); - world.setBlock(x + 5, y + 38, z + 12, Block7, 0, 3); - world.setBlock(x + 6, y + 38, z + 12, Block7, 0, 3); - world.setBlock(x + 8, y + 38, z + 12, Block4, 0, 3); - world.setBlock(x + 9, y + 38, z + 12, Block4, 0, 3); - world.setBlock(x + 10, y + 38, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 38, z + 12, Block5, 0, 3); - world.setBlock(x + 4, y + 38, z + 13, Block7, 0, 3); - world.setBlock(x + 5, y + 38, z + 13, Block7, 0, 3); - world.setBlock(x + 6, y + 38, z + 13, Block7, 0, 3); - world.setBlock(x + 20, y + 38, z + 13, Block5, 0, 3); - world.setBlock(x + 20, y + 38, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 38, z + 15, Block5, 0, 3); - world.setBlock(x + 19, y + 38, z + 16, Block5, 0, 3); - world.setBlock(x + 19, y + 38, z + 17, Block5, 0, 3); - world.setBlock(x + 19, y + 38, z + 18, Block5, 0, 3); - world.setBlock(x + 18, y + 38, z + 19, Block5, 0, 3); - world.setBlock(x + 18, y + 38, z + 20, Block5, 0, 3); - world.setBlock(x + 17, y + 38, z + 21, Block5, 0, 3); - world.setBlock(x + 15, y + 38, z + 22, Block5, 0, 3); - world.setBlock(x + 16, y + 38, z + 22, Block5, 0, 3); - world.setBlock(x + 12, y + 38, z + 23, Block7, 0, 3); - world.setBlock(x + 13, y + 38, z + 23, Block5, 0, 3); - world.setBlock(x + 14, y + 38, z + 23, Block5, 0, 3); - world.setBlock(x + 13, y + 39, z + 1, Block7, 0, 3); - world.setBlock(x + 14, y + 39, z + 1, Block5, 0, 3); - world.setBlock(x + 15, y + 39, z + 2, Block5, 0, 3); - world.setBlock(x + 16, y + 39, z + 2, Block5, 0, 3); - world.setBlock(x + 17, y + 39, z + 3, Block5, 0, 3); - world.setBlock(x + 18, y + 39, z + 4, Block5, 0, 3); - world.setBlock(x + 18, y + 39, z + 5, Block5, 0, 3); - world.setBlock(x + 19, y + 39, z + 6, Block5, 0, 3); - world.setBlock(x + 19, y + 39, z + 7, Block5, 0, 3); - world.setBlock(x + 19, y + 39, z + 8, Block5, 0, 3); - world.setBlock(x + 20, y + 39, z + 9, Block5, 0, 3); - world.setBlock(x + 20, y + 39, z + 10, Block5, 0, 3); - world.setBlock(x + 4, y + 39, z + 11, Block7, 0, 3); - world.setBlock(x + 5, y + 39, z + 11, Block7, 0, 3); - world.setBlock(x + 6, y + 39, z + 11, Block7, 0, 3); - world.setBlock(x + 20, y + 39, z + 11, Block5, 0, 3); - world.setBlock(x + 4, y + 39, z + 12, Block7, 0, 3); - //world.setBlock(x + 5, y + 39, z + 12, Block7, 0, 3); - world.setBlock(x + 5, y + 39, z + 12, Blocks.chest, 4, 3); - world.setBlockMetadataWithNotify(x + 5, y + 39, z + 12, 4, 3); - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 5, y + 39, z + 12), 12); - world.setBlock(x + 6, y + 39, z + 12, Block7, 0, 3); - world.setBlock(x + 7, y + 39, z + 12, Block4, 0, 3); - world.setBlock(x + 8, y + 39, z + 12, Block4, 0, 3); - world.setBlock(x + 20, y + 39, z + 12, Block5, 0, 3); - world.setBlock(x + 4, y + 39, z + 13, Block7, 0, 3); - world.setBlock(x + 5, y + 39, z + 13, Block7, 0, 3); - world.setBlock(x + 6, y + 39, z + 13, Block7, 0, 3); - world.setBlock(x + 20, y + 39, z + 13, Block5, 0, 3); - world.setBlock(x + 20, y + 39, z + 14, Block5, 0, 3); - world.setBlock(x + 20, y + 39, z + 15, Block5, 0, 3); - world.setBlock(x + 19, y + 39, z + 16, Block5, 0, 3); - world.setBlock(x + 19, y + 39, z + 17, Block5, 0, 3); - world.setBlock(x + 19, y + 39, z + 18, Block5, 0, 3); - world.setBlock(x + 18, y + 39, z + 19, Block5, 0, 3); - world.setBlock(x + 18, y + 39, z + 20, Block5, 0, 3); - world.setBlock(x + 17, y + 39, z + 21, Block5, 0, 3); - world.setBlock(x + 15, y + 39, z + 22, Block5, 0, 3); - world.setBlock(x + 16, y + 39, z + 22, Block5, 0, 3); - world.setBlock(x + 13, y + 39, z + 23, Block7, 0, 3); - world.setBlock(x + 14, y + 39, z + 23, Block5, 0, 3); - world.setBlock(x + 14, y + 40, z + 2, Block7, 0, 3); - world.setBlock(x + 15, y + 40, z + 3, Block5, 0, 3); - world.setBlock(x + 16, y + 40, z + 3, Block5, 0, 3); - world.setBlock(x + 17, y + 40, z + 4, Block5, 0, 3); - world.setBlock(x + 17, y + 40, z + 5, Block5, 0, 3); - world.setBlock(x + 18, y + 40, z + 6, Block5, 0, 3); - world.setBlock(x + 18, y + 40, z + 7, Block5, 0, 3); - world.setBlock(x + 18, y + 40, z + 8, Block5, 0, 3); - world.setBlock(x + 19, y + 40, z + 9, Block5, 0, 3); - world.setBlock(x + 19, y + 40, z + 10, Block5, 0, 3); - world.setBlock(x + 4, y + 40, z + 11, Block7, 0, 3); - world.setBlock(x + 5, y + 40, z + 11, Block7, 0, 3); - world.setBlock(x + 6, y + 40, z + 11, Block7, 0, 3); - world.setBlock(x + 19, y + 40, z + 11, Block5, 0, 3); - world.setBlock(x + 4, y + 40, z + 12, Block7, 0, 3); - world.setBlock(x + 5, y + 40, z + 12, Block7, 0, 3); - world.setBlock(x + 6, y + 40, z + 12, Block7, 0, 3); - world.setBlock(x + 19, y + 40, z + 12, Block5, 0, 3); - world.setBlock(x + 4, y + 40, z + 13, Block7, 0, 3); - world.setBlock(x + 5, y + 40, z + 13, Block7, 0, 3); - world.setBlock(x + 6, y + 40, z + 13, Block7, 0, 3); - world.setBlock(x + 19, y + 40, z + 13, Block5, 0, 3); - world.setBlock(x + 19, y + 40, z + 14, Block5, 0, 3); - world.setBlock(x + 19, y + 40, z + 15, Block5, 0, 3); - world.setBlock(x + 18, y + 40, z + 16, Block5, 0, 3); - world.setBlock(x + 18, y + 40, z + 17, Block5, 0, 3); - world.setBlock(x + 18, y + 40, z + 18, Block5, 0, 3); - world.setBlock(x + 17, y + 40, z + 19, Block5, 0, 3); - world.setBlock(x + 17, y + 40, z + 20, Block5, 0, 3); - world.setBlock(x + 15, y + 40, z + 21, Block5, 0, 3); - world.setBlock(x + 16, y + 40, z + 21, Block5, 0, 3); - world.setBlock(x + 14, y + 40, z + 22, Block7, 0, 3); - world.setBlock(x + 15, y + 41, z + 3, Block7, 0, 3); - world.setBlock(x + 16, y + 41, z + 3, Block5, 0, 3); - world.setBlock(x + 17, y + 41, z + 4, Block5, 0, 3); - world.setBlock(x + 17, y + 41, z + 5, Block5, 0, 3); - world.setBlock(x + 18, y + 41, z + 6, Block5, 0, 3); - world.setBlock(x + 18, y + 41, z + 7, Block5, 0, 3); - world.setBlock(x + 18, y + 41, z + 8, Block5, 0, 3); - world.setBlock(x + 19, y + 41, z + 9, Block5, 0, 3); - world.setBlock(x + 19, y + 41, z + 10, Block5, 0, 3); - world.setBlock(x + 19, y + 41, z + 11, Block5, 0, 3); - world.setBlock(x + 19, y + 41, z + 12, Block5, 0, 3); - world.setBlock(x + 19, y + 41, z + 13, Block5, 0, 3); - world.setBlock(x + 19, y + 41, z + 14, Block5, 0, 3); - world.setBlock(x + 19, y + 41, z + 15, Block5, 0, 3); - world.setBlock(x + 18, y + 41, z + 16, Block5, 0, 3); - world.setBlock(x + 18, y + 41, z + 17, Block5, 0, 3); - world.setBlock(x + 18, y + 41, z + 18, Block5, 0, 3); - world.setBlock(x + 17, y + 41, z + 19, Block5, 0, 3); - world.setBlock(x + 17, y + 41, z + 20, Block5, 0, 3); - world.setBlock(x + 15, y + 41, z + 21, Block7, 0, 3); - world.setBlock(x + 16, y + 41, z + 21, Block5, 0, 3); - world.setBlock(x + 16, y + 42, z + 3, Block7, 0, 3); - world.setBlock(x + 17, y + 42, z + 4, Block7, 0, 3); - world.setBlock(x + 17, y + 42, z + 5, Block7, 0, 3); - world.setBlock(x + 18, y + 42, z + 6, Block5, 0, 3); - world.setBlock(x + 18, y + 42, z + 7, Block5, 0, 3); - world.setBlock(x + 18, y + 42, z + 8, Block5, 0, 3); - world.setBlock(x + 19, y + 42, z + 9, Block5, 0, 3); - world.setBlock(x + 19, y + 42, z + 10, Block5, 0, 3); - world.setBlock(x + 19, y + 42, z + 11, Block5, 0, 3); - world.setBlock(x + 19, y + 42, z + 12, Block5, 0, 3); - world.setBlock(x + 19, y + 42, z + 13, Block5, 0, 3); - world.setBlock(x + 19, y + 42, z + 14, Block5, 0, 3); - world.setBlock(x + 19, y + 42, z + 15, Block5, 0, 3); - world.setBlock(x + 18, y + 42, z + 16, Block5, 0, 3); - world.setBlock(x + 18, y + 42, z + 17, Block5, 0, 3); - world.setBlock(x + 18, y + 42, z + 18, Block5, 0, 3); - world.setBlock(x + 17, y + 42, z + 19, Block7, 0, 3); - world.setBlock(x + 17, y + 42, z + 20, Block7, 0, 3); - world.setBlock(x + 16, y + 42, z + 21, Block7, 0, 3); - world.setBlock(x + 17, y + 43, z + 6, Block7, 0, 3); - world.setBlock(x + 17, y + 43, z + 7, Block7, 0, 3); - world.setBlock(x + 17, y + 43, z + 8, Block7, 0, 3); - world.setBlock(x + 18, y + 43, z + 9, Block5, 0, 3); - world.setBlock(x + 18, y + 43, z + 10, Block5, 0, 3); - world.setBlock(x + 18, y + 43, z + 11, Block5, 0, 3); - world.setBlock(x + 18, y + 43, z + 12, Block5, 0, 3); - world.setBlock(x + 18, y + 43, z + 13, Block5, 0, 3); - world.setBlock(x + 18, y + 43, z + 14, Block5, 0, 3); - world.setBlock(x + 18, y + 43, z + 15, Block5, 0, 3); - world.setBlock(x + 17, y + 43, z + 16, Block7, 0, 3); - world.setBlock(x + 17, y + 43, z + 17, Block7, 0, 3); - world.setBlock(x + 17, y + 43, z + 18, Block7, 0, 3); - world.setBlock(x + 18, y + 44, z + 9, Block7, 0, 3); - world.setBlock(x + 18, y + 44, z + 10, Block7, 0, 3); - world.setBlock(x + 18, y + 44, z + 11, Block7, 0, 3); - world.setBlock(x + 18, y + 44, z + 12, Block7, 0, 3); - world.setBlock(x + 18, y + 44, z + 13, Block7, 0, 3); - world.setBlock(x + 18, y + 44, z + 14, Block7, 0, 3); - world.setBlock(x + 18, y + 44, z + 15, Block7, 0, 3); - - generate_r03_last(world, rand, x, y, z); - return true; - - } - public boolean generate_r03_last(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 19, y + 3, z + 9, Blocks.torch, 4, 3); - world.setBlock(x + 6, y + 10, z + 17, Blocks.torch, 2, 3); - world.setBlock(x + 9, y + 15, z + 19, Blocks.torch, 3, 3); - world.setBlock(x + 17, y + 15, z + 19, Blocks.torch, 3, 3); - world.setBlock(x + 13, y + 15, z + 24, Blocks.torch, 5, 3); - world.setBlock(x + 9, y + 15, z + 27, Blocks.torch, 4, 3); - world.setBlock(x + 17, y + 15, z + 27, Blocks.torch, 4, 3); - world.setBlock(x + 19, y + 19, z + 9, Blocks.torch, 4, 3); - world.setBlock(x + 16, y + 19, z + 12, Blocks.torch, 2, 3); - world.setBlock(x + 22, y + 19, z + 12, Blocks.torch, 1, 3); - world.setBlock(x + 19, y + 19, z + 15, Blocks.torch, 3, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned satellite dish at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Satellite extends WorldGenerator +{ + Block Block1 = ModBlocks.brick_concrete; + Block Block2 = ModBlocks.block_steel; + Block Block3 = ModBlocks.steel_scaffold; + Block Block4 = ModBlocks.block_beryllium; + Block Block5 = ModBlocks.block_titanium; + Block Block6 = ModBlocks.tape_recorder; + Block Block7 = ModBlocks.block_tungsten; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.stone, + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x, y, z) || !LocationIsValidSpawn(world, x + 24, y, z) || !LocationIsValidSpawn(world, x + 24, y, z + 30) || !LocationIsValidSpawn(world, x, y, z + 30)) + { + return false; + } + + world.setBlock(x + 18, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 17, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 21, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 16, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 22, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 16, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 22, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 16, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 22, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 21, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 15, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 16, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 16, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 16, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 16, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 17, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 17, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 17, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 17, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 28, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 28, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 28, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 28, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 28, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 28, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 29, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 29, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 29, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 29, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 29, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 29, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 30, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 30, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 30, Block1, 0, 3); + world.setBlock(x + 18, y + -3, z + 30, Block1, 0, 3); + world.setBlock(x + 19, y + -3, z + 30, Block1, 0, 3); + world.setBlock(x + 20, y + -3, z + 30, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 17, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 21, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 16, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 22, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 16, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 22, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 16, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 22, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 21, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 15, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 16, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 17, Block2, 0, 3); + world.setBlock(x + 8, y + -2, z + 17, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 17, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 17, Block2, 0, 3); + world.setBlock(x + 20, y + -2, z + 17, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 28, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 28, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 28, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 28, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 28, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 28, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 29, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 29, Block2, 0, 3); + world.setBlock(x + 8, y + -2, z + 29, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 29, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 29, Block2, 0, 3); + world.setBlock(x + 20, y + -2, z + 29, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 30, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 30, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 30, Block1, 0, 3); + world.setBlock(x + 18, y + -2, z + 30, Block1, 0, 3); + world.setBlock(x + 19, y + -2, z + 30, Block1, 0, 3); + world.setBlock(x + 20, y + -2, z + 30, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 13, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 8, Block2, 0, 3); + world.setBlock(x + 22, y + -1, z + 8, Block2, 0, 3); + world.setBlock(x + 18, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 9, Block2, 0, 3); + world.setBlock(x + 22, y + -1, z + 9, Block2, 0, 3); + world.setBlock(x + 17, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 16, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 16, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 16, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 22, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 17, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 21, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 15, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 16, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 16, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 16, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 16, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 17, Block2, 0, 3); + world.setBlock(x + 8, y + -1, z + 17, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 17, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 17, Block2, 0, 3); + world.setBlock(x + 20, y + -1, z + 17, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 23, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 28, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 29, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 29, Block2, 0, 3); + world.setBlock(x + 8, y + -1, z + 29, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 29, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 29, Block2, 0, 3); + world.setBlock(x + 20, y + -1, z + 29, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 30, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 30, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 30, Block1, 0, 3); + world.setBlock(x + 18, y + -1, z + 30, Block1, 0, 3); + world.setBlock(x + 19, y + -1, z + 30, Block1, 0, 3); + world.setBlock(x + 20, y + -1, z + 30, Block1, 0, 3); + world.setBlock(x + 5, y + 0, z + 8, Block3, 3, 3); + world.setBlock(x + 13, y + 0, z + 8, Block3, 3, 3); + world.setBlock(x + 19, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 20, y + 0, z + 8, Block2, 0, 3); + world.setBlock(x + 21, y + 0, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 0, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 20, y + 0, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 0, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 0, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 0, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 0, z + 29, Block4, 0, 3); + world.setBlock(x + 5, y + 1, z + 8, Block3, 3, 3); + world.setBlock(x + 13, y + 1, z + 8, Block3, 3, 3); + world.setBlock(x + 17, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 18, y + 1, z + 8, Block2, 0, 3); + world.setBlock(x + 19, y + 1, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 1, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 1, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 1, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 1, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 1, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 1, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 1, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 1, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 1, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 1, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 1, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 1, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 1, z + 29, Block4, 0, 3); + world.setBlock(x + 5, y + 2, z + 8, Block3, 3, 3); + world.setBlock(x + 13, y + 2, z + 8, Block3, 3, 3); + world.setBlock(x + 15, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 16, y + 2, z + 8, Block2, 0, 3); + world.setBlock(x + 17, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 2, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 2, z + 9, Block2, 0, 3); + world.setBlock(x + 16, y + 2, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 2, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 2, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 2, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 2, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 2, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 2, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 2, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 2, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 2, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 2, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 2, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 2, z + 29, Block4, 0, 3); + world.setBlock(x + 5, y + 3, z + 8, Block3, 3, 3); + world.setBlock(x + 13, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 8, Block2, 0, 3); + world.setBlock(x + 15, y + 3, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 3, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 3, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 14, y + 3, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 3, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 3, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 3, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 3, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 3, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 3, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 3, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 3, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 3, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 3, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 3, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 3, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 3, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 3, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 3, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 3, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 3, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 3, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 3, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 3, z + 29, Block4, 0, 3); + world.setBlock(x + 5, y + 4, z + 8, Block3, 3, 3); + world.setBlock(x + 11, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 4, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 4, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 4, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 4, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 4, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 4, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 4, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 4, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 4, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 4, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 4, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 4, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 4, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 4, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 4, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 4, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 4, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 4, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 4, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 4, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 4, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 4, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 4, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 4, z + 29, Block4, 0, 3); + world.setBlock(x + 5, y + 5, z + 8, Block3, 3, 3); + world.setBlock(x + 9, y + 5, z + 8, Block2, 0, 3); + world.setBlock(x + 10, y + 5, z + 8, Block2, 0, 3); + world.setBlock(x + 11, y + 5, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 12, y + 5, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 5, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 5, z + 9, Block2, 0, 3); + world.setBlock(x + 10, y + 5, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 5, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 5, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 5, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 5, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 5, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 5, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 5, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 5, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 5, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 5, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 5, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 5, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 5, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 5, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 5, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 5, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 5, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 5, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 5, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 5, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 5, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 5, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 5, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 5, z + 29, Block4, 0, 3); + world.setBlock(x + 5, y + 6, z + 8, Block3, 3, 3); + world.setBlock(x + 7, y + 6, z + 8, Block2, 0, 3); + world.setBlock(x + 8, y + 6, z + 8, Block2, 0, 3); + world.setBlock(x + 9, y + 6, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + 6, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + 6, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 6, z + 9, Block2, 0, 3); + world.setBlock(x + 8, y + 6, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 6, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 6, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 6, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 6, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 6, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 6, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 6, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 6, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 6, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 6, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 6, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 6, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 6, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 6, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 6, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 6, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 6, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 6, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 6, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 6, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 6, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 6, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 6, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 6, z + 29, Block4, 0, 3); + world.setBlock(x + 5, y + 7, z + 8, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 8, Block2, 0, 3); + world.setBlock(x + 7, y + 7, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 8, y + 7, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + 7, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 7, z + 9, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 9, Block2, 0, 3); + world.setBlock(x + 5, y + 7, z + 10, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 10, Block2, 0, 3); + world.setBlock(x + 18, y + 7, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 7, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 7, z + 11, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 11, Block2, 0, 3); + world.setBlock(x + 17, y + 7, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 7, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 7, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 7, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + 7, z + 12, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 12, Block2, 0, 3); + world.setBlock(x + 17, y + 7, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 7, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 7, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 7, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + 7, z + 13, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 13, Block2, 0, 3); + world.setBlock(x + 17, y + 7, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 7, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 7, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 7, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + 7, z + 14, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 14, Block2, 0, 3); + world.setBlock(x + 18, y + 7, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 7, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 7, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + 7, z + 15, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 15, Block2, 0, 3); + world.setBlock(x + 5, y + 7, z + 16, Block2, 0, 3); + world.setBlock(x + 6, y + 7, z + 16, Block2, 0, 3); + world.setBlock(x + 7, y + 7, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 7, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 7, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 7, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 7, z + 29, Block4, 0, 3); + world.setBlock(x + 5, y + 8, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 8, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 8, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 8, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 8, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 8, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 8, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 8, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 8, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 8, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 8, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 8, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + 8, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 8, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 8, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 8, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 8, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + 8, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 8, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 8, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 8, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 8, z + 13, Block1, 0, 3); + world.setBlock(x + 5, y + 8, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 8, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 8, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 8, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + 8, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 8, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 8, z + 17, Block2, 0, 3); + world.setBlock(x + 6, y + 8, z + 17, Block2, 0, 3); + world.setBlock(x + 7, y + 8, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 8, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 8, z + 18, Block2, 0, 3); + world.setBlock(x + 6, y + 8, z + 18, Block2, 0, 3); + world.setBlock(x + 5, y + 8, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 8, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 8, z + 29, Block4, 0, 3); + world.setBlock(x + 18, y + 9, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 9, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 9, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 9, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 9, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 9, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 9, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 9, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 9, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 9, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 9, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 9, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 9, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 9, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 9, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 9, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 9, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 9, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 9, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 9, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 9, z + 14, Block1, 0, 3); + world.setBlock(x + 5, y + 9, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 9, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 9, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 9, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 9, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 9, z + 19, Block2, 0, 3); + world.setBlock(x + 6, y + 9, z + 19, Block2, 0, 3); + world.setBlock(x + 5, y + 9, z + 20, Block2, 0, 3); + world.setBlock(x + 6, y + 9, z + 20, Block2, 0, 3); + world.setBlock(x + 5, y + 9, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 9, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 9, z + 29, Block4, 0, 3); + world.setBlock(x + 18, y + 10, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 10, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 10, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 10, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 10, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 10, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 10, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 10, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 10, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 10, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 10, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 10, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 10, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 10, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 10, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 10, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 10, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 10, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 10, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 10, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 10, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 10, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 10, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 10, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 10, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 10, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 10, z + 21, Block2, 0, 3); + world.setBlock(x + 6, y + 10, z + 21, Block2, 0, 3); + world.setBlock(x + 5, y + 10, z + 22, Block2, 0, 3); + world.setBlock(x + 6, y + 10, z + 22, Block2, 0, 3); + world.setBlock(x + 5, y + 10, z + 23, Block3, 5, 3); + world.setBlock(x + 7, y + 10, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 10, z + 29, Block4, 0, 3); + world.setBlock(x + 18, y + 11, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 11, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 11, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 11, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 11, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 11, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 11, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 11, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 11, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 11, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 11, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 11, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 11, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 11, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 11, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 11, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 11, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 11, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 11, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 11, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 11, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 11, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 11, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 11, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 11, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 11, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 11, z + 23, Block2, 0, 3); + world.setBlock(x + 6, y + 11, z + 23, Block2, 0, 3); + world.setBlock(x + 5, y + 11, z + 24, Block2, 0, 3); + world.setBlock(x + 6, y + 11, z + 24, Block2, 0, 3); + world.setBlock(x + 7, y + 11, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 11, z + 29, Block4, 0, 3); + world.setBlock(x + 18, y + 12, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 12, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 12, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 12, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 12, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 12, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 12, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 12, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 12, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 12, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 12, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 12, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 12, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 12, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 12, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 12, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 12, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 12, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 12, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 12, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 12, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 12, z + 17, Block4, 0, 3); + world.setBlock(x + 19, y + 12, z + 17, Block4, 0, 3); + world.setBlock(x + 5, y + 12, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 12, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 12, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 5, y + 12, z + 25, Block2, 0, 3); + world.setBlock(x + 6, y + 12, z + 25, Block2, 0, 3); + world.setBlock(x + 5, y + 12, z + 26, Block2, 0, 3); + world.setBlock(x + 6, y + 12, z + 26, Block2, 0, 3); + world.setBlock(x + 7, y + 12, z + 29, Block4, 0, 3); + world.setBlock(x + 19, y + 12, z + 29, Block4, 0, 3); + world.setBlock(x + 18, y + 13, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 13, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 13, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 13, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 13, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 13, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 13, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 13, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 13, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 13, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 13, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 13, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 13, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 13, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 13, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 13, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 13, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 13, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 13, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 13, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 13, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 13, z + 17, Block5, 0, 3); + world.setBlock(x + 19, y + 13, z + 17, Block5, 0, 3); + world.setBlock(x + 7, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 9, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 10, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 11, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 12, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 13, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 15, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 16, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 17, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 18, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 19, y + 13, z + 18, Block5, 0, 3); + world.setBlock(x + 7, y + 13, z + 19, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 11, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 13, y + 13, z + 19, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 15, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 16, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 17, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 18, y + 13, z + 19, Blocks.stone_slab, 8, 3); + world.setBlock(x + 19, y + 13, z + 19, Block5, 0, 3); + world.setBlock(x + 7, y + 13, z + 20, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 11, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 13, y + 13, z + 20, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 15, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 16, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 17, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 18, y + 13, z + 20, Blocks.stone_slab, 8, 3); + world.setBlock(x + 19, y + 13, z + 20, Block5, 0, 3); + world.setBlock(x + 20, y + 13, z + 20, Block2, 0, 3); + world.setBlock(x + 21, y + 13, z + 20, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 21, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 11, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 13, y + 13, z + 21, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 15, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 16, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 17, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 18, y + 13, z + 21, Blocks.stone_slab, 8, 3); + world.setBlock(x + 19, y + 13, z + 21, Block5, 0, 3); + world.setBlock(x + 20, y + 13, z + 21, Block2, 0, 3); + world.setBlock(x + 21, y + 13, z + 21, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 22, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 11, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 13, y + 13, z + 22, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 15, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 16, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 17, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 18, y + 13, z + 22, Blocks.stone_slab, 8, 3); + world.setBlock(x + 19, y + 13, z + 22, Block5, 0, 3); + world.setBlock(x + 20, y + 13, z + 22, Block2, 0, 3); + world.setBlock(x + 21, y + 13, z + 22, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 9, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 10, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 11, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 12, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 15, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 16, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 17, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 18, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 19, y + 13, z + 23, Block5, 0, 3); + world.setBlock(x + 5, y + 13, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 13, z + 24, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 11, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 13, y + 13, z + 24, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 15, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 16, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 17, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 18, y + 13, z + 24, Blocks.stone_slab, 8, 3); + world.setBlock(x + 19, y + 13, z + 24, Block5, 0, 3); + world.setBlock(x + 5, y + 13, z + 25, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 13, z + 25, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 11, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 13, y + 13, z + 25, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 15, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 16, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 17, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 18, y + 13, z + 25, Blocks.stone_slab, 8, 3); + world.setBlock(x + 19, y + 13, z + 25, Block5, 0, 3); + world.setBlock(x + 5, y + 13, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 13, z + 26, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 11, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 13, y + 13, z + 26, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 15, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 16, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 17, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 18, y + 13, z + 26, Blocks.stone_slab, 8, 3); + world.setBlock(x + 19, y + 13, z + 26, Block5, 0, 3); + world.setBlock(x + 5, y + 13, z + 27, Block2, 0, 3); + world.setBlock(x + 6, y + 13, z + 27, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 27, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 11, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 13, y + 13, z + 27, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 15, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 16, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 17, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 18, y + 13, z + 27, Blocks.stone_slab, 8, 3); + world.setBlock(x + 19, y + 13, z + 27, Block5, 0, 3); + world.setBlock(x + 5, y + 13, z + 28, Block2, 0, 3); + world.setBlock(x + 6, y + 13, z + 28, Block2, 0, 3); + world.setBlock(x + 7, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 8, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 9, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 10, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 11, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 12, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 13, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 14, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 15, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 16, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 17, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 18, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 19, y + 13, z + 28, Block5, 0, 3); + world.setBlock(x + 7, y + 13, z + 29, Block5, 0, 3); + world.setBlock(x + 19, y + 13, z + 29, Block5, 0, 3); + world.setBlock(x + 18, y + 14, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 14, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 14, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 14, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 14, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 14, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 14, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 14, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 14, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 14, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 14, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 14, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 14, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 14, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 14, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 14, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 14, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 14, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 14, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 14, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 14, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 8, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 9, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 10, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 11, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 12, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 13, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 14, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 15, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 16, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 17, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 18, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 19, y + 14, z + 18, Block2, 0, 3); + world.setBlock(x + 7, y + 14, z + 19, Block2, 0, 3); + world.setBlock(x + 10, y + 14, z + 19, Blocks.chest, 3, 3); + world.setBlockMetadataWithNotify(x + 10, y + 14, z + 19, 3, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 10, y + 14, z + 19), 8); + world.setBlock(x + 19, y + 14, z + 19, Block2, 0, 3); + world.setBlock(x + 20, y + 14, z + 19, Block2, 0, 3); + world.setBlock(x + 21, y + 14, z + 19, Block2, 0, 3); + world.setBlock(x + 7, y + 14, z + 20, Block2, 0, 3); + world.setBlock(x + 21, y + 14, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 14, z + 21, Block2, 0, 3); + world.setBlock(x + 21, y + 14, z + 21, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 14, z + 22, Block2, 0, 3); + world.setBlock(x + 13, y + 14, z + 22, Block2, 0, 3); + world.setBlock(x + 14, y + 14, z + 22, Block2, 0, 3); + world.setBlock(x + 19, y + 14, z + 22, Block2, 0, 3); + world.setBlock(x + 20, y + 14, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 14, z + 22, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 14, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 14, z + 23, Block2, 0, 3); + world.setBlock(x + 14, y + 14, z + 23, Block2, 0, 3); + world.setBlock(x + 19, y + 14, z + 23, Block2, 0, 3); + world.setBlock(x + 7, y + 14, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 13, y + 14, z + 24, Block2, 0, 3); + world.setBlock(x + 14, y + 14, z + 24, Block2, 0, 3); + world.setBlock(x + 19, y + 14, z + 24, Block2, 0, 3); + world.setBlock(x + 19, y + 14, z + 25, Block2, 0, 3); + world.setBlock(x + 5, y + 14, z + 26, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 14, z + 26, Block2, 0, 3); + world.setBlock(x + 5, y + 14, z + 27, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 14, z + 27, Block2, 0, 3); + world.setBlock(x + 16, y + 14, z + 27, Blocks.chest, 2, 3); + world.setBlockMetadataWithNotify(x + 16, y + 14, z + 27, 3, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(2), (TileEntityChest)world.getTileEntity(x + 16, y + 14, z + 27), 8); + world.setBlock(x + 19, y + 14, z + 27, Block2, 0, 3); + world.setBlock(x + 5, y + 14, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + 14, z + 28, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 8, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 9, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 10, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 11, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 12, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 13, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 14, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 15, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 16, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 17, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 18, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 19, y + 14, z + 28, Block2, 0, 3); + world.setBlock(x + 18, y + 15, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 15, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 15, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 15, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 15, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 15, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 15, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 15, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 15, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 15, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 15, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 15, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 15, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 15, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 15, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 15, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 15, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 15, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 15, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 15, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 15, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 15, z + 18, Block2, 0, 3); + world.setBlock(x + 8, y + 15, z + 18, Block2, 0, 3); + world.setBlock(x + 9, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 10, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 11, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 12, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 13, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 14, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 15, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 16, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 17, y + 15, z + 18, Block4, 0, 3); + world.setBlock(x + 18, y + 15, z + 18, Block2, 0, 3); + world.setBlock(x + 19, y + 15, z + 18, Block2, 0, 3); + world.setBlock(x + 20, y + 15, z + 18, Block2, 0, 3); + world.setBlock(x + 21, y + 15, z + 18, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 19, Block2, 0, 3); + world.setBlock(x + 19, y + 15, z + 19, Block2, 0, 3); + world.setBlock(x + 21, y + 15, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 15, z + 20, Block2, 0, 3); + world.setBlock(x + 21, y + 15, z + 20, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 15, z + 21, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 22, Block2, 0, 3); + world.setBlock(x + 14, y + 15, z + 22, Block6, 4, 3); + world.setBlock(x + 19, y + 15, z + 22, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 15, z + 23, Block6, 4, 3); + world.setBlock(x + 19, y + 15, z + 23, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 15, z + 24, Block3, 5, 3); + world.setBlock(x + 19, y + 15, z + 24, Block2, 0, 3); + world.setBlock(x + 19, y + 15, z + 25, Block2, 0, 3); + world.setBlock(x + 19, y + 15, z + 26, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 27, Block2, 0, 3); + world.setBlock(x + 19, y + 15, z + 27, Block2, 0, 3); + world.setBlock(x + 7, y + 15, z + 28, Block2, 0, 3); + world.setBlock(x + 8, y + 15, z + 28, Block2, 0, 3); + world.setBlock(x + 9, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 10, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 11, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 12, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 13, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 14, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 15, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 16, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 17, y + 15, z + 28, Block4, 0, 3); + world.setBlock(x + 18, y + 15, z + 28, Block2, 0, 3); + world.setBlock(x + 19, y + 15, z + 28, Block2, 0, 3); + world.setBlock(x + 18, y + 16, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 16, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 16, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 16, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 16, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 16, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 16, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 16, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 16, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 16, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 16, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 16, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 16, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 16, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 16, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 16, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 16, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 16, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 16, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 16, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 16, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 16, z + 17, Block2, 0, 3); + world.setBlock(x + 20, y + 16, z + 17, Block2, 0, 3); + world.setBlock(x + 21, y + 16, z + 17, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 8, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 9, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 10, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 11, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 12, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 13, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 14, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 15, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 16, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 17, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 18, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 18, Block2, 0, 3); + world.setBlock(x + 21, y + 16, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 16, z + 19, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 19, Block2, 0, 3); + world.setBlock(x + 21, y + 16, z + 19, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 16, z + 20, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 20, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 21, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 21, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 22, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 22, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 23, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 16, z + 23, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 24, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + 16, z + 24, Block3, 5, 3); + world.setBlock(x + 19, y + 16, z + 24, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 25, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 26, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 27, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 27, Block2, 0, 3); + world.setBlock(x + 7, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 8, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 9, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 10, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 11, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 12, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 13, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 14, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 15, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 16, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 17, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 18, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 19, y + 16, z + 28, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 8, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 8, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 8, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 8, Block2, 0, 3); + world.setBlock(x + 20, y + 17, z + 8, Block2, 0, 3); + world.setBlock(x + 21, y + 17, z + 8, Block2, 0, 3); + world.setBlock(x + 22, y + 17, z + 8, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 20, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 21, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 22, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 23, y + 17, z + 9, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 10, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 10, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 10, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 17, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 17, z + 10, Block1, 0, 3); + world.setBlock(x + 21, y + 17, z + 10, Block2, 0, 3); + world.setBlock(x + 22, y + 17, z + 10, Block2, 0, 3); + world.setBlock(x + 23, y + 17, z + 10, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 11, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 11, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 17, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 17, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 17, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 17, z + 11, Block1, 0, 3); + world.setBlock(x + 22, y + 17, z + 11, Block2, 0, 3); + world.setBlock(x + 23, y + 17, z + 11, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 12, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 12, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 17, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 17, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 17, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 17, z + 12, Block1, 0, 3); + world.setBlock(x + 22, y + 17, z + 12, Block2, 0, 3); + world.setBlock(x + 23, y + 17, z + 12, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 13, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 13, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 17, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 17, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 17, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 17, z + 13, Block1, 0, 3); + world.setBlock(x + 22, y + 17, z + 13, Block2, 0, 3); + world.setBlock(x + 23, y + 17, z + 13, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 14, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 14, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 14, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 17, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 17, z + 14, Block1, 0, 3); + world.setBlock(x + 21, y + 17, z + 14, Block2, 0, 3); + world.setBlock(x + 22, y + 17, z + 14, Block2, 0, 3); + world.setBlock(x + 23, y + 17, z + 14, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 20, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 21, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 22, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 23, y + 17, z + 15, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 16, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 16, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 16, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 16, Block2, 0, 3); + world.setBlock(x + 20, y + 17, z + 16, Block2, 0, 3); + world.setBlock(x + 21, y + 17, z + 16, Block2, 0, 3); + world.setBlock(x + 22, y + 17, z + 16, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 17, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 17, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 17, z + 18, Blocks.iron_bars, 0, 3); + world.setBlock(x + 7, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 19, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 20, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 21, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 22, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 23, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 24, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 25, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 26, Block2, 0, 3); + world.setBlock(x + 7, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 8, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 9, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 10, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 11, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 12, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 13, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 14, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 15, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 16, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 17, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 18, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 19, y + 17, z + 27, Block2, 0, 3); + world.setBlock(x + 16, y + 18, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 18, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 18, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 18, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 20, y + 18, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 18, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 18, z + 8, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 18, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 18, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 18, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 18, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 18, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 18, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 18, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 18, z + 10, Block1, 0, 3); + world.setBlock(x + 23, y + 18, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 18, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 18, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 18, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 18, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 18, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 18, z + 11, Block1, 0, 3); + world.setBlock(x + 23, y + 18, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 18, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 18, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 18, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 18, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + 18, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 18, z + 12, Block1, 0, 3); + world.setBlock(x + 23, y + 18, z + 12, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 18, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 18, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 18, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 18, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 18, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 18, z + 13, Block1, 0, 3); + world.setBlock(x + 23, y + 18, z + 13, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 18, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 18, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 18, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 18, z + 14, Block1, 0, 3); + world.setBlock(x + 23, y + 18, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 15, y + 18, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 18, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 18, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 23, y + 18, z + 15, Blocks.iron_bars, 0, 3); + world.setBlock(x + 16, y + 18, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 17, y + 18, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 18, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 18, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 18, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 22, y + 18, z + 16, Blocks.iron_bars, 0, 3); + world.setBlock(x + 19, y + 18, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 21, y + 18, z + 17, Blocks.iron_bars, 0, 3); + world.setBlock(x + 18, y + 19, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + 19, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + 19, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + 19, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + 19, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + 19, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + 19, z + 11, Block1, 0, 3); + world.setBlock(x + 21, y + 19, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + 19, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + 19, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + 19, z + 12, Blocks.chest, 4, 3); + world.setBlockMetadataWithNotify(x + 19, y + 19, z + 12, 4, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 19, y + 19, z + 12), 12); + world.setBlock(x + 20, y + 19, z + 12, Block1, 0, 3); + world.setBlock(x + 21, y + 19, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + 19, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 19, z + 13, Block1, 0, 3); + world.setBlock(x + 19, y + 19, z + 13, Block1, 0, 3); + world.setBlock(x + 20, y + 19, z + 13, Block1, 0, 3); + world.setBlock(x + 21, y + 19, z + 13, Block1, 0, 3); + world.setBlock(x + 18, y + 19, z + 14, Block1, 0, 3); + world.setBlock(x + 19, y + 19, z + 14, Block1, 0, 3); + world.setBlock(x + 20, y + 19, z + 14, Block1, 0, 3); + world.setBlock(x + 18, y + 20, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 20, z + 10, Block2, 0, 3); + world.setBlock(x + 20, y + 20, z + 10, Block2, 0, 3); + world.setBlock(x + 17, y + 20, z + 11, Block2, 0, 3); + world.setBlock(x + 18, y + 20, z + 11, Block2, 0, 3); + world.setBlock(x + 19, y + 20, z + 11, Block2, 0, 3); + world.setBlock(x + 20, y + 20, z + 11, Block2, 0, 3); + world.setBlock(x + 21, y + 20, z + 11, Block2, 0, 3); + world.setBlock(x + 17, y + 20, z + 12, Block2, 0, 3); + world.setBlock(x + 18, y + 20, z + 12, Block2, 0, 3); + world.setBlock(x + 19, y + 20, z + 12, Block2, 0, 3); + world.setBlock(x + 20, y + 20, z + 12, Block2, 0, 3); + world.setBlock(x + 21, y + 20, z + 12, Block5, 0, 3); + world.setBlock(x + 22, y + 20, z + 12, Block5, 0, 3); + world.setBlock(x + 23, y + 20, z + 12, Block5, 0, 3); + world.setBlock(x + 17, y + 20, z + 13, Block2, 0, 3); + world.setBlock(x + 18, y + 20, z + 13, Block2, 0, 3); + world.setBlock(x + 19, y + 20, z + 13, Block2, 0, 3); + world.setBlock(x + 20, y + 20, z + 13, Block2, 0, 3); + world.setBlock(x + 21, y + 20, z + 13, Block2, 0, 3); + world.setBlock(x + 18, y + 20, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 20, z + 14, Block2, 0, 3); + world.setBlock(x + 20, y + 20, z + 14, Block2, 0, 3); + world.setBlock(x + 18, y + 21, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 21, z + 10, Block2, 0, 3); + world.setBlock(x + 20, y + 21, z + 10, Block2, 0, 3); + world.setBlock(x + 18, y + 21, z + 11, Block2, 0, 3); + world.setBlock(x + 19, y + 21, z + 11, Block2, 0, 3); + world.setBlock(x + 20, y + 21, z + 11, Block2, 0, 3); + world.setBlock(x + 22, y + 21, z + 11, Block4, 0, 3); + world.setBlock(x + 21, y + 21, z + 12, Block5, 0, 3); + world.setBlock(x + 22, y + 21, z + 12, Block4, 0, 3); + world.setBlock(x + 23, y + 21, z + 12, Block5, 0, 3); + world.setBlock(x + 24, y + 21, z + 12, Block5, 0, 3); + world.setBlock(x + 18, y + 21, z + 13, Block2, 0, 3); + world.setBlock(x + 19, y + 21, z + 13, Block2, 0, 3); + world.setBlock(x + 20, y + 21, z + 13, Block2, 0, 3); + world.setBlock(x + 22, y + 21, z + 13, Block4, 0, 3); + world.setBlock(x + 18, y + 21, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 21, z + 14, Block2, 0, 3); + world.setBlock(x + 20, y + 21, z + 14, Block2, 0, 3); + world.setBlock(x + 15, y + 22, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 22, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 22, z + 10, Block2, 0, 3); + world.setBlock(x + 20, y + 22, z + 10, Block2, 0, 3); + world.setBlock(x + 21, y + 22, z + 11, Block4, 0, 3); + world.setBlock(x + 22, y + 22, z + 11, Block4, 0, 3); + world.setBlock(x + 23, y + 22, z + 11, Block4, 0, 3); + world.setBlock(x + 21, y + 22, z + 12, Block4, 0, 3); + world.setBlock(x + 22, y + 22, z + 12, Block4, 0, 3); + world.setBlock(x + 23, y + 22, z + 12, Block4, 0, 3); + world.setBlock(x + 24, y + 22, z + 12, Block5, 0, 3); + world.setBlock(x + 21, y + 22, z + 13, Block4, 0, 3); + world.setBlock(x + 22, y + 22, z + 13, Block4, 0, 3); + world.setBlock(x + 23, y + 22, z + 13, Block4, 0, 3); + world.setBlock(x + 18, y + 22, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 22, z + 14, Block2, 0, 3); + world.setBlock(x + 20, y + 22, z + 14, Block2, 0, 3); + world.setBlock(x + 15, y + 22, z + 15, Block2, 0, 3); + world.setBlock(x + 14, y + 23, z + 9, Block2, 0, 3); + world.setBlock(x + 15, y + 23, z + 9, Block2, 0, 3); + world.setBlock(x + 16, y + 23, z + 9, Block2, 0, 3); + world.setBlock(x + 15, y + 23, z + 10, Block2, 0, 3); + world.setBlock(x + 18, y + 23, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 23, z + 10, Block2, 0, 3); + world.setBlock(x + 20, y + 23, z + 10, Block2, 0, 3); + world.setBlock(x + 15, y + 23, z + 11, Block2, 0, 3); + world.setBlock(x + 20, y + 23, z + 11, Block4, 0, 3); + world.setBlock(x + 21, y + 23, z + 11, Block4, 0, 3); + world.setBlock(x + 22, y + 23, z + 11, Block4, 0, 3); + world.setBlock(x + 15, y + 23, z + 12, Block2, 0, 3); + world.setBlock(x + 20, y + 23, z + 12, Block4, 0, 3); + world.setBlock(x + 21, y + 23, z + 12, Block4, 0, 3); + world.setBlock(x + 22, y + 23, z + 12, Block4, 0, 3); + world.setBlock(x + 23, y + 23, z + 12, Block5, 0, 3); + world.setBlock(x + 24, y + 23, z + 12, Block5, 0, 3); + world.setBlock(x + 15, y + 23, z + 13, Block2, 0, 3); + world.setBlock(x + 20, y + 23, z + 13, Block4, 0, 3); + world.setBlock(x + 21, y + 23, z + 13, Block4, 0, 3); + world.setBlock(x + 22, y + 23, z + 13, Block4, 0, 3); + world.setBlock(x + 15, y + 23, z + 14, Block2, 0, 3); + world.setBlock(x + 18, y + 23, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 23, z + 14, Block2, 0, 3); + world.setBlock(x + 20, y + 23, z + 14, Block2, 0, 3); + world.setBlock(x + 14, y + 23, z + 15, Block2, 0, 3); + world.setBlock(x + 15, y + 23, z + 15, Block2, 0, 3); + world.setBlock(x + 16, y + 23, z + 15, Block2, 0, 3); + world.setBlock(x + 5, y + 24, z + 9, Block5, 0, 3); + world.setBlock(x + 6, y + 24, z + 9, Block5, 0, 3); + world.setBlock(x + 7, y + 24, z + 9, Block5, 0, 3); + world.setBlock(x + 8, y + 24, z + 9, Block5, 0, 3); + world.setBlock(x + 9, y + 24, z + 9, Block5, 0, 3); + world.setBlock(x + 10, y + 24, z + 9, Block5, 0, 3); + world.setBlock(x + 11, y + 24, z + 9, Block5, 0, 3); + world.setBlock(x + 15, y + 24, z + 9, Block2, 0, 3); + world.setBlock(x + 16, y + 24, z + 9, Block2, 0, 3); + world.setBlock(x + 17, y + 24, z + 9, Block2, 0, 3); + world.setBlock(x + 5, y + 24, z + 10, Block5, 0, 3); + world.setBlock(x + 6, y + 24, z + 10, Block5, 0, 3); + world.setBlock(x + 7, y + 24, z + 10, Block5, 0, 3); + world.setBlock(x + 8, y + 24, z + 10, Block5, 0, 3); + world.setBlock(x + 9, y + 24, z + 10, Block5, 0, 3); + world.setBlock(x + 10, y + 24, z + 10, Block5, 0, 3); + world.setBlock(x + 11, y + 24, z + 10, Block5, 0, 3); + world.setBlock(x + 12, y + 24, z + 10, Block2, 0, 3); + world.setBlock(x + 13, y + 24, z + 10, Block2, 0, 3); + world.setBlock(x + 14, y + 24, z + 10, Block2, 0, 3); + world.setBlock(x + 15, y + 24, z + 10, Block2, 0, 3); + world.setBlock(x + 16, y + 24, z + 10, Block2, 0, 3); + world.setBlock(x + 17, y + 24, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 24, z + 10, Block2, 0, 3); + world.setBlock(x + 5, y + 24, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + 24, z + 11, Block5, 0, 3); + world.setBlock(x + 7, y + 24, z + 11, Block5, 0, 3); + world.setBlock(x + 8, y + 24, z + 11, Block5, 0, 3); + world.setBlock(x + 9, y + 24, z + 11, Block5, 0, 3); + world.setBlock(x + 10, y + 24, z + 11, Block5, 0, 3); + world.setBlock(x + 11, y + 24, z + 11, Block5, 0, 3); + world.setBlock(x + 17, y + 24, z + 11, Block2, 0, 3); + world.setBlock(x + 19, y + 24, z + 11, Block4, 0, 3); + world.setBlock(x + 20, y + 24, z + 11, Block4, 0, 3); + world.setBlock(x + 21, y + 24, z + 11, Block4, 0, 3); + world.setBlock(x + 5, y + 24, z + 12, Block5, 0, 3); + world.setBlock(x + 6, y + 24, z + 12, Block5, 0, 3); + world.setBlock(x + 7, y + 24, z + 12, Block5, 0, 3); + world.setBlock(x + 8, y + 24, z + 12, Block5, 0, 3); + world.setBlock(x + 9, y + 24, z + 12, Block5, 0, 3); + world.setBlock(x + 10, y + 24, z + 12, Block5, 0, 3); + world.setBlock(x + 11, y + 24, z + 12, Block5, 0, 3); + world.setBlock(x + 17, y + 24, z + 12, Block2, 0, 3); + world.setBlock(x + 19, y + 24, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 24, z + 12, Block4, 0, 3); + world.setBlock(x + 21, y + 24, z + 12, Block4, 0, 3); + world.setBlock(x + 5, y + 24, z + 13, Block5, 0, 3); + world.setBlock(x + 6, y + 24, z + 13, Block5, 0, 3); + + generate_r02(world, rand, x, y, z); + return true; + + } + public boolean generate_r02(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 7, y + 24, z + 13, Block5, 0, 3); + world.setBlock(x + 8, y + 24, z + 13, Block5, 0, 3); + world.setBlock(x + 9, y + 24, z + 13, Block5, 0, 3); + world.setBlock(x + 10, y + 24, z + 13, Block5, 0, 3); + world.setBlock(x + 11, y + 24, z + 13, Block5, 0, 3); + world.setBlock(x + 17, y + 24, z + 13, Block2, 0, 3); + world.setBlock(x + 19, y + 24, z + 13, Block4, 0, 3); + world.setBlock(x + 20, y + 24, z + 13, Block4, 0, 3); + world.setBlock(x + 21, y + 24, z + 13, Block4, 0, 3); + world.setBlock(x + 5, y + 24, z + 14, Block5, 0, 3); + world.setBlock(x + 6, y + 24, z + 14, Block5, 0, 3); + world.setBlock(x + 7, y + 24, z + 14, Block5, 0, 3); + world.setBlock(x + 8, y + 24, z + 14, Block5, 0, 3); + world.setBlock(x + 9, y + 24, z + 14, Block5, 0, 3); + world.setBlock(x + 10, y + 24, z + 14, Block5, 0, 3); + world.setBlock(x + 11, y + 24, z + 14, Block5, 0, 3); + world.setBlock(x + 12, y + 24, z + 14, Block2, 0, 3); + world.setBlock(x + 13, y + 24, z + 14, Block2, 0, 3); + world.setBlock(x + 14, y + 24, z + 14, Block2, 0, 3); + world.setBlock(x + 15, y + 24, z + 14, Block2, 0, 3); + world.setBlock(x + 16, y + 24, z + 14, Block2, 0, 3); + world.setBlock(x + 17, y + 24, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 24, z + 14, Block2, 0, 3); + world.setBlock(x + 5, y + 24, z + 15, Block5, 0, 3); + world.setBlock(x + 6, y + 24, z + 15, Block5, 0, 3); + world.setBlock(x + 7, y + 24, z + 15, Block5, 0, 3); + world.setBlock(x + 8, y + 24, z + 15, Block5, 0, 3); + world.setBlock(x + 9, y + 24, z + 15, Block5, 0, 3); + world.setBlock(x + 10, y + 24, z + 15, Block5, 0, 3); + world.setBlock(x + 11, y + 24, z + 15, Block5, 0, 3); + world.setBlock(x + 15, y + 24, z + 15, Block2, 0, 3); + world.setBlock(x + 16, y + 24, z + 15, Block2, 0, 3); + world.setBlock(x + 17, y + 24, z + 15, Block2, 0, 3); + world.setBlock(x + 5, y + 25, z + 6, Block5, 0, 3); + world.setBlock(x + 6, y + 25, z + 6, Block5, 0, 3); + world.setBlock(x + 7, y + 25, z + 6, Block5, 0, 3); + world.setBlock(x + 8, y + 25, z + 6, Block5, 0, 3); + world.setBlock(x + 9, y + 25, z + 6, Block5, 0, 3); + world.setBlock(x + 10, y + 25, z + 6, Block5, 0, 3); + world.setBlock(x + 11, y + 25, z + 6, Block5, 0, 3); + world.setBlock(x + 5, y + 25, z + 7, Block5, 0, 3); + world.setBlock(x + 6, y + 25, z + 7, Block5, 0, 3); + world.setBlock(x + 7, y + 25, z + 7, Block5, 0, 3); + world.setBlock(x + 8, y + 25, z + 7, Block5, 0, 3); + world.setBlock(x + 9, y + 25, z + 7, Block5, 0, 3); + world.setBlock(x + 10, y + 25, z + 7, Block5, 0, 3); + world.setBlock(x + 11, y + 25, z + 7, Block5, 0, 3); + world.setBlock(x + 5, y + 25, z + 8, Block5, 0, 3); + world.setBlock(x + 6, y + 25, z + 8, Block5, 0, 3); + world.setBlock(x + 7, y + 25, z + 8, Block5, 0, 3); + world.setBlock(x + 8, y + 25, z + 8, Block5, 0, 3); + world.setBlock(x + 9, y + 25, z + 8, Block5, 0, 3); + world.setBlock(x + 10, y + 25, z + 8, Block5, 0, 3); + world.setBlock(x + 11, y + 25, z + 8, Block5, 0, 3); + world.setBlock(x + 2, y + 25, z + 9, Block5, 0, 3); + world.setBlock(x + 3, y + 25, z + 9, Block5, 0, 3); + world.setBlock(x + 4, y + 25, z + 9, Block5, 0, 3); + world.setBlock(x + 12, y + 25, z + 9, Block5, 0, 3); + world.setBlock(x + 13, y + 25, z + 9, Block5, 0, 3); + world.setBlock(x + 14, y + 25, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 25, z + 9, Block2, 0, 3); + world.setBlock(x + 17, y + 25, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 25, z + 9, Block2, 0, 3); + world.setBlock(x + 2, y + 25, z + 10, Block5, 0, 3); + world.setBlock(x + 3, y + 25, z + 10, Block5, 0, 3); + world.setBlock(x + 4, y + 25, z + 10, Block5, 0, 3); + world.setBlock(x + 12, y + 25, z + 10, Block5, 0, 3); + world.setBlock(x + 13, y + 25, z + 10, Block5, 0, 3); + world.setBlock(x + 14, y + 25, z + 10, Block5, 0, 3); + world.setBlock(x + 15, y + 25, z + 10, Block2, 0, 3); + world.setBlock(x + 16, y + 25, z + 10, Block2, 0, 3); + world.setBlock(x + 17, y + 25, z + 10, Block2, 0, 3); + world.setBlock(x + 18, y + 25, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 25, z + 10, Block2, 0, 3); + world.setBlock(x + 2, y + 25, z + 11, Block5, 0, 3); + world.setBlock(x + 3, y + 25, z + 11, Block5, 0, 3); + world.setBlock(x + 4, y + 25, z + 11, Block5, 0, 3); + world.setBlock(x + 12, y + 25, z + 11, Block5, 0, 3); + world.setBlock(x + 13, y + 25, z + 11, Block5, 0, 3); + world.setBlock(x + 14, y + 25, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 25, z + 11, Block2, 0, 3); + world.setBlock(x + 17, y + 25, z + 11, Block2, 0, 3); + world.setBlock(x + 18, y + 25, z + 11, Block2, 0, 3); + world.setBlock(x + 19, y + 25, z + 11, Block4, 0, 3); + world.setBlock(x + 20, y + 25, z + 11, Block4, 0, 3); + world.setBlock(x + 2, y + 25, z + 12, Block5, 0, 3); + world.setBlock(x + 3, y + 25, z + 12, Block5, 0, 3); + world.setBlock(x + 4, y + 25, z + 12, Block5, 0, 3); + world.setBlock(x + 11, y + 25, z + 12, Block4, 0, 3); + world.setBlock(x + 12, y + 25, z + 12, Block5, 0, 3); + world.setBlock(x + 13, y + 25, z + 12, Block5, 0, 3); + world.setBlock(x + 14, y + 25, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 25, z + 12, Block2, 0, 3); + world.setBlock(x + 17, y + 25, z + 12, Block2, 0, 3); + world.setBlock(x + 18, y + 25, z + 12, Block2, 0, 3); + world.setBlock(x + 19, y + 25, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 25, z + 12, Block4, 0, 3); + world.setBlock(x + 2, y + 25, z + 13, Block5, 0, 3); + world.setBlock(x + 3, y + 25, z + 13, Block5, 0, 3); + world.setBlock(x + 4, y + 25, z + 13, Block5, 0, 3); + world.setBlock(x + 12, y + 25, z + 13, Block5, 0, 3); + world.setBlock(x + 13, y + 25, z + 13, Block5, 0, 3); + world.setBlock(x + 14, y + 25, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 25, z + 13, Block2, 0, 3); + world.setBlock(x + 17, y + 25, z + 13, Block2, 0, 3); + world.setBlock(x + 18, y + 25, z + 13, Block2, 0, 3); + world.setBlock(x + 19, y + 25, z + 13, Block4, 0, 3); + world.setBlock(x + 20, y + 25, z + 13, Block4, 0, 3); + world.setBlock(x + 2, y + 25, z + 14, Block5, 0, 3); + world.setBlock(x + 3, y + 25, z + 14, Block5, 0, 3); + world.setBlock(x + 4, y + 25, z + 14, Block5, 0, 3); + world.setBlock(x + 12, y + 25, z + 14, Block5, 0, 3); + world.setBlock(x + 13, y + 25, z + 14, Block5, 0, 3); + world.setBlock(x + 14, y + 25, z + 14, Block5, 0, 3); + world.setBlock(x + 15, y + 25, z + 14, Block2, 0, 3); + world.setBlock(x + 16, y + 25, z + 14, Block2, 0, 3); + world.setBlock(x + 17, y + 25, z + 14, Block2, 0, 3); + world.setBlock(x + 18, y + 25, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 25, z + 14, Block2, 0, 3); + world.setBlock(x + 2, y + 25, z + 15, Block5, 0, 3); + world.setBlock(x + 3, y + 25, z + 15, Block5, 0, 3); + world.setBlock(x + 4, y + 25, z + 15, Block5, 0, 3); + world.setBlock(x + 12, y + 25, z + 15, Block5, 0, 3); + world.setBlock(x + 13, y + 25, z + 15, Block5, 0, 3); + world.setBlock(x + 14, y + 25, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 25, z + 15, Block2, 0, 3); + world.setBlock(x + 17, y + 25, z + 15, Block2, 0, 3); + world.setBlock(x + 18, y + 25, z + 15, Block2, 0, 3); + world.setBlock(x + 5, y + 25, z + 16, Block5, 0, 3); + world.setBlock(x + 6, y + 25, z + 16, Block5, 0, 3); + world.setBlock(x + 7, y + 25, z + 16, Block5, 0, 3); + world.setBlock(x + 8, y + 25, z + 16, Block5, 0, 3); + world.setBlock(x + 9, y + 25, z + 16, Block5, 0, 3); + world.setBlock(x + 10, y + 25, z + 16, Block5, 0, 3); + world.setBlock(x + 11, y + 25, z + 16, Block5, 0, 3); + world.setBlock(x + 5, y + 25, z + 17, Block5, 0, 3); + world.setBlock(x + 6, y + 25, z + 17, Block5, 0, 3); + world.setBlock(x + 7, y + 25, z + 17, Block5, 0, 3); + world.setBlock(x + 8, y + 25, z + 17, Block5, 0, 3); + world.setBlock(x + 9, y + 25, z + 17, Block5, 0, 3); + world.setBlock(x + 10, y + 25, z + 17, Block5, 0, 3); + world.setBlock(x + 11, y + 25, z + 17, Block5, 0, 3); + world.setBlock(x + 5, y + 25, z + 18, Block5, 0, 3); + world.setBlock(x + 6, y + 25, z + 18, Block5, 0, 3); + world.setBlock(x + 7, y + 25, z + 18, Block5, 0, 3); + world.setBlock(x + 8, y + 25, z + 18, Block5, 0, 3); + world.setBlock(x + 9, y + 25, z + 18, Block5, 0, 3); + world.setBlock(x + 10, y + 25, z + 18, Block5, 0, 3); + world.setBlock(x + 11, y + 25, z + 18, Block5, 0, 3); + world.setBlock(x + 5, y + 26, z + 4, Block5, 0, 3); + world.setBlock(x + 6, y + 26, z + 4, Block5, 0, 3); + world.setBlock(x + 7, y + 26, z + 4, Block5, 0, 3); + world.setBlock(x + 8, y + 26, z + 4, Block5, 0, 3); + world.setBlock(x + 9, y + 26, z + 4, Block5, 0, 3); + world.setBlock(x + 10, y + 26, z + 4, Block5, 0, 3); + world.setBlock(x + 11, y + 26, z + 4, Block5, 0, 3); + world.setBlock(x + 5, y + 26, z + 5, Block5, 0, 3); + world.setBlock(x + 6, y + 26, z + 5, Block5, 0, 3); + world.setBlock(x + 7, y + 26, z + 5, Block5, 0, 3); + world.setBlock(x + 8, y + 26, z + 5, Block5, 0, 3); + world.setBlock(x + 9, y + 26, z + 5, Block5, 0, 3); + world.setBlock(x + 10, y + 26, z + 5, Block5, 0, 3); + world.setBlock(x + 11, y + 26, z + 5, Block5, 0, 3); + world.setBlock(x + 2, y + 26, z + 6, Block5, 0, 3); + world.setBlock(x + 3, y + 26, z + 6, Block5, 0, 3); + world.setBlock(x + 4, y + 26, z + 6, Block5, 0, 3); + world.setBlock(x + 12, y + 26, z + 6, Block5, 0, 3); + world.setBlock(x + 13, y + 26, z + 6, Block5, 0, 3); + world.setBlock(x + 14, y + 26, z + 6, Block5, 0, 3); + world.setBlock(x + 2, y + 26, z + 7, Block5, 0, 3); + world.setBlock(x + 3, y + 26, z + 7, Block5, 0, 3); + world.setBlock(x + 4, y + 26, z + 7, Block5, 0, 3); + world.setBlock(x + 12, y + 26, z + 7, Block5, 0, 3); + world.setBlock(x + 13, y + 26, z + 7, Block5, 0, 3); + world.setBlock(x + 14, y + 26, z + 7, Block5, 0, 3); + world.setBlock(x + 2, y + 26, z + 8, Block5, 0, 3); + world.setBlock(x + 3, y + 26, z + 8, Block5, 0, 3); + world.setBlock(x + 4, y + 26, z + 8, Block5, 0, 3); + world.setBlock(x + 12, y + 26, z + 8, Block5, 0, 3); + world.setBlock(x + 13, y + 26, z + 8, Block5, 0, 3); + world.setBlock(x + 14, y + 26, z + 8, Block5, 0, 3); + world.setBlock(x + 0, y + 26, z + 9, Block7, 0, 3); + world.setBlock(x + 1, y + 26, z + 9, Block5, 0, 3); + world.setBlock(x + 15, y + 26, z + 9, Block5, 0, 3); + world.setBlock(x + 16, y + 26, z + 9, Block5, 0, 3); + world.setBlock(x + 17, y + 26, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 26, z + 9, Block2, 0, 3); + world.setBlock(x + 19, y + 26, z + 9, Block2, 0, 3); + world.setBlock(x + 0, y + 26, z + 10, Block7, 0, 3); + world.setBlock(x + 1, y + 26, z + 10, Block5, 0, 3); + world.setBlock(x + 15, y + 26, z + 10, Block5, 0, 3); + world.setBlock(x + 16, y + 26, z + 10, Block5, 0, 3); + world.setBlock(x + 17, y + 26, z + 10, Block2, 0, 3); + world.setBlock(x + 18, y + 26, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 26, z + 10, Block2, 0, 3); + world.setBlock(x + 0, y + 26, z + 11, Block7, 0, 3); + world.setBlock(x + 1, y + 26, z + 11, Block5, 0, 3); + world.setBlock(x + 15, y + 26, z + 11, Block5, 0, 3); + world.setBlock(x + 16, y + 26, z + 11, Block5, 0, 3); + world.setBlock(x + 17, y + 26, z + 11, Block2, 0, 3); + world.setBlock(x + 18, y + 26, z + 11, Block2, 0, 3); + world.setBlock(x + 19, y + 26, z + 11, Block2, 0, 3); + world.setBlock(x + 0, y + 26, z + 12, Block7, 0, 3); + world.setBlock(x + 1, y + 26, z + 12, Block5, 0, 3); + world.setBlock(x + 10, y + 26, z + 12, Block4, 0, 3); + world.setBlock(x + 11, y + 26, z + 12, Block4, 0, 3); + world.setBlock(x + 15, y + 26, z + 12, Block5, 0, 3); + world.setBlock(x + 16, y + 26, z + 12, Block5, 0, 3); + world.setBlock(x + 17, y + 26, z + 12, Block2, 0, 3); + world.setBlock(x + 18, y + 26, z + 12, Block2, 0, 3); + world.setBlock(x + 19, y + 26, z + 12, Block2, 0, 3); + world.setBlock(x + 0, y + 26, z + 13, Block7, 0, 3); + world.setBlock(x + 1, y + 26, z + 13, Block5, 0, 3); + world.setBlock(x + 15, y + 26, z + 13, Block5, 0, 3); + world.setBlock(x + 16, y + 26, z + 13, Block5, 0, 3); + world.setBlock(x + 17, y + 26, z + 13, Block2, 0, 3); + world.setBlock(x + 18, y + 26, z + 13, Block2, 0, 3); + world.setBlock(x + 19, y + 26, z + 13, Block2, 0, 3); + world.setBlock(x + 0, y + 26, z + 14, Block7, 0, 3); + world.setBlock(x + 1, y + 26, z + 14, Block5, 0, 3); + world.setBlock(x + 15, y + 26, z + 14, Block5, 0, 3); + world.setBlock(x + 16, y + 26, z + 14, Block5, 0, 3); + world.setBlock(x + 17, y + 26, z + 14, Block2, 0, 3); + world.setBlock(x + 18, y + 26, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 26, z + 14, Block2, 0, 3); + world.setBlock(x + 0, y + 26, z + 15, Block7, 0, 3); + world.setBlock(x + 1, y + 26, z + 15, Block5, 0, 3); + world.setBlock(x + 15, y + 26, z + 15, Block5, 0, 3); + world.setBlock(x + 16, y + 26, z + 15, Block5, 0, 3); + world.setBlock(x + 17, y + 26, z + 15, Block2, 0, 3); + world.setBlock(x + 18, y + 26, z + 15, Block2, 0, 3); + world.setBlock(x + 19, y + 26, z + 15, Block2, 0, 3); + world.setBlock(x + 2, y + 26, z + 16, Block5, 0, 3); + world.setBlock(x + 3, y + 26, z + 16, Block5, 0, 3); + world.setBlock(x + 4, y + 26, z + 16, Block5, 0, 3); + world.setBlock(x + 12, y + 26, z + 16, Block5, 0, 3); + world.setBlock(x + 13, y + 26, z + 16, Block5, 0, 3); + world.setBlock(x + 14, y + 26, z + 16, Block5, 0, 3); + world.setBlock(x + 2, y + 26, z + 17, Block5, 0, 3); + world.setBlock(x + 3, y + 26, z + 17, Block5, 0, 3); + world.setBlock(x + 4, y + 26, z + 17, Block5, 0, 3); + world.setBlock(x + 12, y + 26, z + 17, Block5, 0, 3); + world.setBlock(x + 13, y + 26, z + 17, Block5, 0, 3); + world.setBlock(x + 14, y + 26, z + 17, Block5, 0, 3); + world.setBlock(x + 2, y + 26, z + 18, Block5, 0, 3); + world.setBlock(x + 3, y + 26, z + 18, Block5, 0, 3); + world.setBlock(x + 4, y + 26, z + 18, Block5, 0, 3); + world.setBlock(x + 12, y + 26, z + 18, Block5, 0, 3); + world.setBlock(x + 13, y + 26, z + 18, Block5, 0, 3); + world.setBlock(x + 14, y + 26, z + 18, Block5, 0, 3); + world.setBlock(x + 5, y + 26, z + 19, Block5, 0, 3); + world.setBlock(x + 6, y + 26, z + 19, Block5, 0, 3); + world.setBlock(x + 7, y + 26, z + 19, Block5, 0, 3); + world.setBlock(x + 8, y + 26, z + 19, Block5, 0, 3); + world.setBlock(x + 9, y + 26, z + 19, Block5, 0, 3); + world.setBlock(x + 10, y + 26, z + 19, Block5, 0, 3); + world.setBlock(x + 11, y + 26, z + 19, Block5, 0, 3); + world.setBlock(x + 5, y + 26, z + 20, Block5, 0, 3); + world.setBlock(x + 6, y + 26, z + 20, Block5, 0, 3); + world.setBlock(x + 7, y + 26, z + 20, Block5, 0, 3); + world.setBlock(x + 8, y + 26, z + 20, Block5, 0, 3); + world.setBlock(x + 9, y + 26, z + 20, Block5, 0, 3); + world.setBlock(x + 10, y + 26, z + 20, Block5, 0, 3); + world.setBlock(x + 11, y + 26, z + 20, Block5, 0, 3); + world.setBlock(x + 5, y + 27, z + 3, Block5, 0, 3); + world.setBlock(x + 6, y + 27, z + 3, Block5, 0, 3); + world.setBlock(x + 7, y + 27, z + 3, Block5, 0, 3); + world.setBlock(x + 8, y + 27, z + 3, Block5, 0, 3); + world.setBlock(x + 9, y + 27, z + 3, Block5, 0, 3); + world.setBlock(x + 10, y + 27, z + 3, Block5, 0, 3); + world.setBlock(x + 11, y + 27, z + 3, Block5, 0, 3); + world.setBlock(x + 2, y + 27, z + 4, Block7, 0, 3); + world.setBlock(x + 3, y + 27, z + 4, Block5, 0, 3); + world.setBlock(x + 4, y + 27, z + 4, Block5, 0, 3); + world.setBlock(x + 12, y + 27, z + 4, Block5, 0, 3); + world.setBlock(x + 13, y + 27, z + 4, Block5, 0, 3); + world.setBlock(x + 14, y + 27, z + 4, Block5, 0, 3); + world.setBlock(x + 2, y + 27, z + 5, Block7, 0, 3); + world.setBlock(x + 3, y + 27, z + 5, Block5, 0, 3); + world.setBlock(x + 4, y + 27, z + 5, Block5, 0, 3); + world.setBlock(x + 12, y + 27, z + 5, Block5, 0, 3); + world.setBlock(x + 13, y + 27, z + 5, Block5, 0, 3); + world.setBlock(x + 14, y + 27, z + 5, Block5, 0, 3); + world.setBlock(x + 1, y + 27, z + 6, Block7, 0, 3); + world.setBlock(x + 15, y + 27, z + 6, Block5, 0, 3); + world.setBlock(x + 16, y + 27, z + 6, Block5, 0, 3); + world.setBlock(x + 1, y + 27, z + 7, Block7, 0, 3); + world.setBlock(x + 15, y + 27, z + 7, Block5, 0, 3); + world.setBlock(x + 16, y + 27, z + 7, Block5, 0, 3); + world.setBlock(x + 1, y + 27, z + 8, Block7, 0, 3); + world.setBlock(x + 15, y + 27, z + 8, Block5, 0, 3); + world.setBlock(x + 16, y + 27, z + 8, Block5, 0, 3); + world.setBlock(x + 17, y + 27, z + 9, Block5, 0, 3); + world.setBlock(x + 18, y + 27, z + 9, Block2, 0, 3); + world.setBlock(x + 19, y + 27, z + 9, Block2, 0, 3); + world.setBlock(x + 20, y + 27, z + 9, Block2, 0, 3); + world.setBlock(x + 17, y + 27, z + 10, Block5, 0, 3); + world.setBlock(x + 18, y + 27, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 27, z + 10, Block2, 0, 3); + world.setBlock(x + 20, y + 27, z + 10, Block2, 0, 3); + world.setBlock(x + 17, y + 27, z + 11, Block5, 0, 3); + world.setBlock(x + 18, y + 27, z + 11, Block2, 0, 3); + world.setBlock(x + 19, y + 27, z + 11, Block2, 0, 3); + world.setBlock(x + 20, y + 27, z + 11, Block2, 0, 3); + world.setBlock(x + 10, y + 27, z + 12, Block4, 0, 3); + world.setBlock(x + 17, y + 27, z + 12, Block5, 0, 3); + world.setBlock(x + 18, y + 27, z + 12, Block2, 0, 3); + world.setBlock(x + 19, y + 27, z + 12, Block2, 0, 3); + world.setBlock(x + 20, y + 27, z + 12, Block2, 0, 3); + world.setBlock(x + 17, y + 27, z + 13, Block5, 0, 3); + world.setBlock(x + 18, y + 27, z + 13, Block2, 0, 3); + world.setBlock(x + 19, y + 27, z + 13, Block2, 0, 3); + world.setBlock(x + 20, y + 27, z + 13, Block2, 0, 3); + world.setBlock(x + 17, y + 27, z + 14, Block5, 0, 3); + world.setBlock(x + 18, y + 27, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 27, z + 14, Block2, 0, 3); + world.setBlock(x + 20, y + 27, z + 14, Block2, 0, 3); + world.setBlock(x + 17, y + 27, z + 15, Block5, 0, 3); + world.setBlock(x + 18, y + 27, z + 15, Block2, 0, 3); + world.setBlock(x + 19, y + 27, z + 15, Block2, 0, 3); + world.setBlock(x + 20, y + 27, z + 15, Block2, 0, 3); + world.setBlock(x + 1, y + 27, z + 16, Block7, 0, 3); + world.setBlock(x + 15, y + 27, z + 16, Block5, 0, 3); + world.setBlock(x + 16, y + 27, z + 16, Block5, 0, 3); + world.setBlock(x + 1, y + 27, z + 17, Block7, 0, 3); + world.setBlock(x + 15, y + 27, z + 17, Block5, 0, 3); + world.setBlock(x + 16, y + 27, z + 17, Block5, 0, 3); + world.setBlock(x + 1, y + 27, z + 18, Block7, 0, 3); + world.setBlock(x + 15, y + 27, z + 18, Block5, 0, 3); + world.setBlock(x + 16, y + 27, z + 18, Block5, 0, 3); + world.setBlock(x + 2, y + 27, z + 19, Block7, 0, 3); + world.setBlock(x + 3, y + 27, z + 19, Block5, 0, 3); + world.setBlock(x + 4, y + 27, z + 19, Block5, 0, 3); + world.setBlock(x + 12, y + 27, z + 19, Block5, 0, 3); + world.setBlock(x + 13, y + 27, z + 19, Block5, 0, 3); + world.setBlock(x + 14, y + 27, z + 19, Block5, 0, 3); + world.setBlock(x + 2, y + 27, z + 20, Block7, 0, 3); + world.setBlock(x + 3, y + 27, z + 20, Block5, 0, 3); + world.setBlock(x + 4, y + 27, z + 20, Block5, 0, 3); + world.setBlock(x + 12, y + 27, z + 20, Block5, 0, 3); + world.setBlock(x + 13, y + 27, z + 20, Block5, 0, 3); + world.setBlock(x + 14, y + 27, z + 20, Block5, 0, 3); + world.setBlock(x + 5, y + 27, z + 21, Block5, 0, 3); + world.setBlock(x + 6, y + 27, z + 21, Block5, 0, 3); + world.setBlock(x + 7, y + 27, z + 21, Block5, 0, 3); + world.setBlock(x + 8, y + 27, z + 21, Block5, 0, 3); + world.setBlock(x + 9, y + 27, z + 21, Block5, 0, 3); + world.setBlock(x + 10, y + 27, z + 21, Block5, 0, 3); + world.setBlock(x + 11, y + 27, z + 21, Block5, 0, 3); + world.setBlock(x + 5, y + 28, z + 2, Block5, 0, 3); + world.setBlock(x + 6, y + 28, z + 2, Block5, 0, 3); + world.setBlock(x + 7, y + 28, z + 2, Block5, 0, 3); + world.setBlock(x + 8, y + 28, z + 2, Block5, 0, 3); + world.setBlock(x + 9, y + 28, z + 2, Block5, 0, 3); + world.setBlock(x + 10, y + 28, z + 2, Block5, 0, 3); + world.setBlock(x + 11, y + 28, z + 2, Block5, 0, 3); + world.setBlock(x + 2, y + 28, z + 3, Block7, 0, 3); + world.setBlock(x + 3, y + 28, z + 3, Block5, 0, 3); + world.setBlock(x + 4, y + 28, z + 3, Block5, 0, 3); + world.setBlock(x + 12, y + 28, z + 3, Block5, 0, 3); + world.setBlock(x + 13, y + 28, z + 3, Block5, 0, 3); + world.setBlock(x + 14, y + 28, z + 3, Block5, 0, 3); + world.setBlock(x + 15, y + 28, z + 4, Block5, 0, 3); + world.setBlock(x + 16, y + 28, z + 4, Block5, 0, 3); + world.setBlock(x + 15, y + 28, z + 5, Block5, 0, 3); + world.setBlock(x + 16, y + 28, z + 5, Block5, 0, 3); + world.setBlock(x + 17, y + 28, z + 6, Block5, 0, 3); + world.setBlock(x + 17, y + 28, z + 7, Block5, 0, 3); + world.setBlock(x + 17, y + 28, z + 8, Block5, 0, 3); + world.setBlock(x + 18, y + 28, z + 9, Block5, 0, 3); + world.setBlock(x + 19, y + 28, z + 9, Block2, 0, 3); + world.setBlock(x + 20, y + 28, z + 9, Block2, 0, 3); + world.setBlock(x + 21, y + 28, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 28, z + 10, Block5, 0, 3); + world.setBlock(x + 19, y + 28, z + 10, Block2, 0, 3); + world.setBlock(x + 20, y + 28, z + 10, Block2, 0, 3); + world.setBlock(x + 18, y + 28, z + 11, Block5, 0, 3); + world.setBlock(x + 19, y + 28, z + 11, Block2, 0, 3); + world.setBlock(x + 9, y + 28, z + 12, Block4, 0, 3); + world.setBlock(x + 10, y + 28, z + 12, Block4, 0, 3); + world.setBlock(x + 18, y + 28, z + 12, Block5, 0, 3); + world.setBlock(x + 19, y + 28, z + 12, Block2, 0, 3); + world.setBlock(x + 18, y + 28, z + 13, Block5, 0, 3); + world.setBlock(x + 19, y + 28, z + 13, Block2, 0, 3); + world.setBlock(x + 18, y + 28, z + 14, Block5, 0, 3); + world.setBlock(x + 19, y + 28, z + 14, Block2, 0, 3); + world.setBlock(x + 20, y + 28, z + 14, Block2, 0, 3); + world.setBlock(x + 18, y + 28, z + 15, Block5, 0, 3); + world.setBlock(x + 19, y + 28, z + 15, Block2, 0, 3); + world.setBlock(x + 20, y + 28, z + 15, Block2, 0, 3); + world.setBlock(x + 21, y + 28, z + 15, Block2, 0, 3); + world.setBlock(x + 17, y + 28, z + 16, Block5, 0, 3); + world.setBlock(x + 17, y + 28, z + 17, Block5, 0, 3); + world.setBlock(x + 17, y + 28, z + 18, Block5, 0, 3); + world.setBlock(x + 15, y + 28, z + 19, Block5, 0, 3); + world.setBlock(x + 16, y + 28, z + 19, Block5, 0, 3); + world.setBlock(x + 15, y + 28, z + 20, Block5, 0, 3); + world.setBlock(x + 16, y + 28, z + 20, Block5, 0, 3); + world.setBlock(x + 2, y + 28, z + 21, Block7, 0, 3); + world.setBlock(x + 3, y + 28, z + 21, Block5, 0, 3); + world.setBlock(x + 4, y + 28, z + 21, Block5, 0, 3); + world.setBlock(x + 12, y + 28, z + 21, Block5, 0, 3); + world.setBlock(x + 13, y + 28, z + 21, Block5, 0, 3); + world.setBlock(x + 14, y + 28, z + 21, Block5, 0, 3); + world.setBlock(x + 5, y + 28, z + 22, Block5, 0, 3); + world.setBlock(x + 6, y + 28, z + 22, Block5, 0, 3); + world.setBlock(x + 7, y + 28, z + 22, Block5, 0, 3); + world.setBlock(x + 8, y + 28, z + 22, Block5, 0, 3); + world.setBlock(x + 9, y + 28, z + 22, Block5, 0, 3); + world.setBlock(x + 10, y + 28, z + 22, Block5, 0, 3); + world.setBlock(x + 11, y + 28, z + 22, Block5, 0, 3); + world.setBlock(x + 5, y + 29, z + 2, Block5, 0, 3); + world.setBlock(x + 6, y + 29, z + 2, Block5, 0, 3); + world.setBlock(x + 7, y + 29, z + 2, Block5, 0, 3); + world.setBlock(x + 8, y + 29, z + 2, Block5, 0, 3); + world.setBlock(x + 9, y + 29, z + 2, Block5, 0, 3); + world.setBlock(x + 10, y + 29, z + 2, Block5, 0, 3); + world.setBlock(x + 11, y + 29, z + 2, Block5, 0, 3); + world.setBlock(x + 3, y + 29, z + 3, Block7, 0, 3); + world.setBlock(x + 4, y + 29, z + 3, Block5, 0, 3); + world.setBlock(x + 12, y + 29, z + 3, Block5, 0, 3); + world.setBlock(x + 13, y + 29, z + 3, Block5, 0, 3); + world.setBlock(x + 14, y + 29, z + 3, Block5, 0, 3); + world.setBlock(x + 15, y + 29, z + 4, Block5, 0, 3); + world.setBlock(x + 16, y + 29, z + 4, Block5, 0, 3); + world.setBlock(x + 16, y + 29, z + 5, Block5, 0, 3); + world.setBlock(x + 17, y + 29, z + 6, Block5, 0, 3); + world.setBlock(x + 17, y + 29, z + 7, Block5, 0, 3); + world.setBlock(x + 17, y + 29, z + 8, Block5, 0, 3); + world.setBlock(x + 18, y + 29, z + 9, Block5, 0, 3); + world.setBlock(x + 20, y + 29, z + 9, Block2, 0, 3); + world.setBlock(x + 21, y + 29, z + 9, Block2, 0, 3); + world.setBlock(x + 22, y + 29, z + 9, Block2, 0, 3); + world.setBlock(x + 18, y + 29, z + 10, Block5, 0, 3); + world.setBlock(x + 19, y + 29, z + 10, Block2, 0, 3); + world.setBlock(x + 20, y + 29, z + 10, Block2, 0, 3); + world.setBlock(x + 21, y + 29, z + 10, Block2, 0, 3); + world.setBlock(x + 18, y + 29, z + 11, Block5, 0, 3); + world.setBlock(x + 21, y + 29, z + 11, Block2, 0, 3); + world.setBlock(x + 9, y + 29, z + 12, Block4, 0, 3); + world.setBlock(x + 18, y + 29, z + 12, Block5, 0, 3); + world.setBlock(x + 21, y + 29, z + 12, Block2, 0, 3); + world.setBlock(x + 18, y + 29, z + 13, Block5, 0, 3); + world.setBlock(x + 21, y + 29, z + 13, Block2, 0, 3); + world.setBlock(x + 18, y + 29, z + 14, Block5, 0, 3); + world.setBlock(x + 19, y + 29, z + 14, Block2, 0, 3); + world.setBlock(x + 20, y + 29, z + 14, Block2, 0, 3); + world.setBlock(x + 21, y + 29, z + 14, Block2, 0, 3); + world.setBlock(x + 18, y + 29, z + 15, Block5, 0, 3); + world.setBlock(x + 20, y + 29, z + 15, Block2, 0, 3); + world.setBlock(x + 21, y + 29, z + 15, Block2, 0, 3); + world.setBlock(x + 22, y + 29, z + 15, Block2, 0, 3); + world.setBlock(x + 17, y + 29, z + 16, Block5, 0, 3); + world.setBlock(x + 17, y + 29, z + 17, Block5, 0, 3); + world.setBlock(x + 17, y + 29, z + 18, Block5, 0, 3); + world.setBlock(x + 16, y + 29, z + 19, Block5, 0, 3); + world.setBlock(x + 15, y + 29, z + 20, Block5, 0, 3); + world.setBlock(x + 16, y + 29, z + 20, Block5, 0, 3); + world.setBlock(x + 3, y + 29, z + 21, Block7, 0, 3); + world.setBlock(x + 4, y + 29, z + 21, Block5, 0, 3); + world.setBlock(x + 12, y + 29, z + 21, Block5, 0, 3); + world.setBlock(x + 13, y + 29, z + 21, Block5, 0, 3); + world.setBlock(x + 14, y + 29, z + 21, Block5, 0, 3); + world.setBlock(x + 5, y + 29, z + 22, Block5, 0, 3); + world.setBlock(x + 6, y + 29, z + 22, Block5, 0, 3); + world.setBlock(x + 7, y + 29, z + 22, Block5, 0, 3); + world.setBlock(x + 8, y + 29, z + 22, Block5, 0, 3); + world.setBlock(x + 9, y + 29, z + 22, Block5, 0, 3); + world.setBlock(x + 10, y + 29, z + 22, Block5, 0, 3); + world.setBlock(x + 11, y + 29, z + 22, Block5, 0, 3); + world.setBlock(x + 5, y + 30, z + 1, Block5, 0, 3); + world.setBlock(x + 6, y + 30, z + 1, Block5, 0, 3); + world.setBlock(x + 7, y + 30, z + 1, Block5, 0, 3); + world.setBlock(x + 8, y + 30, z + 1, Block5, 0, 3); + world.setBlock(x + 9, y + 30, z + 1, Block5, 0, 3); + world.setBlock(x + 10, y + 30, z + 1, Block5, 0, 3); + world.setBlock(x + 11, y + 30, z + 1, Block5, 0, 3); + world.setBlock(x + 4, y + 30, z + 2, Block7, 0, 3); + world.setBlock(x + 12, y + 30, z + 2, Block5, 0, 3); + world.setBlock(x + 13, y + 30, z + 2, Block5, 0, 3); + world.setBlock(x + 14, y + 30, z + 2, Block5, 0, 3); + world.setBlock(x + 15, y + 30, z + 3, Block5, 0, 3); + world.setBlock(x + 16, y + 30, z + 3, Block5, 0, 3); + world.setBlock(x + 17, y + 30, z + 4, Block5, 0, 3); + world.setBlock(x + 17, y + 30, z + 5, Block5, 0, 3); + world.setBlock(x + 18, y + 30, z + 6, Block5, 0, 3); + world.setBlock(x + 18, y + 30, z + 7, Block5, 0, 3); + world.setBlock(x + 18, y + 30, z + 8, Block5, 0, 3); + world.setBlock(x + 19, y + 30, z + 9, Block5, 0, 3); + world.setBlock(x + 21, y + 30, z + 9, Block2, 0, 3); + world.setBlock(x + 19, y + 30, z + 10, Block5, 0, 3); + world.setBlock(x + 20, y + 30, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 30, z + 11, Block5, 0, 3); + world.setBlock(x + 8, y + 30, z + 12, Block4, 0, 3); + world.setBlock(x + 9, y + 30, z + 12, Block4, 0, 3); + world.setBlock(x + 19, y + 30, z + 12, Block5, 0, 3); + world.setBlock(x + 19, y + 30, z + 13, Block5, 0, 3); + world.setBlock(x + 19, y + 30, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 30, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 30, z + 15, Block5, 0, 3); + world.setBlock(x + 21, y + 30, z + 15, Block2, 0, 3); + world.setBlock(x + 18, y + 30, z + 16, Block5, 0, 3); + world.setBlock(x + 18, y + 30, z + 17, Block5, 0, 3); + world.setBlock(x + 18, y + 30, z + 18, Block5, 0, 3); + world.setBlock(x + 17, y + 30, z + 19, Block5, 0, 3); + world.setBlock(x + 17, y + 30, z + 20, Block5, 0, 3); + world.setBlock(x + 15, y + 30, z + 21, Block5, 0, 3); + world.setBlock(x + 16, y + 30, z + 21, Block5, 0, 3); + world.setBlock(x + 4, y + 30, z + 22, Block7, 0, 3); + world.setBlock(x + 12, y + 30, z + 22, Block5, 0, 3); + world.setBlock(x + 13, y + 30, z + 22, Block5, 0, 3); + world.setBlock(x + 14, y + 30, z + 22, Block5, 0, 3); + world.setBlock(x + 5, y + 30, z + 23, Block5, 0, 3); + world.setBlock(x + 6, y + 30, z + 23, Block5, 0, 3); + world.setBlock(x + 7, y + 30, z + 23, Block5, 0, 3); + world.setBlock(x + 8, y + 30, z + 23, Block5, 0, 3); + world.setBlock(x + 9, y + 30, z + 23, Block5, 0, 3); + world.setBlock(x + 10, y + 30, z + 23, Block5, 0, 3); + world.setBlock(x + 11, y + 30, z + 23, Block5, 0, 3); + world.setBlock(x + 5, y + 31, z + 1, Block7, 0, 3); + world.setBlock(x + 6, y + 31, z + 1, Block5, 0, 3); + world.setBlock(x + 7, y + 31, z + 1, Block5, 0, 3); + world.setBlock(x + 8, y + 31, z + 1, Block5, 0, 3); + world.setBlock(x + 9, y + 31, z + 1, Block5, 0, 3); + world.setBlock(x + 10, y + 31, z + 1, Block5, 0, 3); + world.setBlock(x + 11, y + 31, z + 1, Block5, 0, 3); + world.setBlock(x + 12, y + 31, z + 2, Block5, 0, 3); + world.setBlock(x + 13, y + 31, z + 2, Block5, 0, 3); + world.setBlock(x + 14, y + 31, z + 2, Block5, 0, 3); + world.setBlock(x + 15, y + 31, z + 3, Block5, 0, 3); + world.setBlock(x + 16, y + 31, z + 3, Block5, 0, 3); + world.setBlock(x + 17, y + 31, z + 4, Block5, 0, 3); + world.setBlock(x + 17, y + 31, z + 5, Block5, 0, 3); + world.setBlock(x + 18, y + 31, z + 6, Block5, 0, 3); + world.setBlock(x + 18, y + 31, z + 7, Block5, 0, 3); + world.setBlock(x + 18, y + 31, z + 8, Block5, 0, 3); + world.setBlock(x + 19, y + 31, z + 9, Block5, 0, 3); + world.setBlock(x + 19, y + 31, z + 10, Block5, 0, 3); + world.setBlock(x + 20, y + 31, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 31, z + 11, Block5, 0, 3); + world.setBlock(x + 8, y + 31, z + 12, Block4, 0, 3); + world.setBlock(x + 19, y + 31, z + 12, Block5, 0, 3); + world.setBlock(x + 19, y + 31, z + 13, Block5, 0, 3); + world.setBlock(x + 19, y + 31, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 31, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 31, z + 15, Block5, 0, 3); + world.setBlock(x + 18, y + 31, z + 16, Block5, 0, 3); + world.setBlock(x + 18, y + 31, z + 17, Block5, 0, 3); + world.setBlock(x + 18, y + 31, z + 18, Block5, 0, 3); + world.setBlock(x + 17, y + 31, z + 19, Block5, 0, 3); + world.setBlock(x + 17, y + 31, z + 20, Block5, 0, 3); + world.setBlock(x + 15, y + 31, z + 21, Block5, 0, 3); + world.setBlock(x + 16, y + 31, z + 21, Block5, 0, 3); + world.setBlock(x + 12, y + 31, z + 22, Block5, 0, 3); + world.setBlock(x + 13, y + 31, z + 22, Block5, 0, 3); + world.setBlock(x + 14, y + 31, z + 22, Block5, 0, 3); + world.setBlock(x + 5, y + 31, z + 23, Block7, 0, 3); + world.setBlock(x + 6, y + 31, z + 23, Block5, 0, 3); + world.setBlock(x + 7, y + 31, z + 23, Block5, 0, 3); + world.setBlock(x + 8, y + 31, z + 23, Block5, 0, 3); + world.setBlock(x + 9, y + 31, z + 23, Block5, 0, 3); + world.setBlock(x + 10, y + 31, z + 23, Block5, 0, 3); + world.setBlock(x + 11, y + 31, z + 23, Block5, 0, 3); + world.setBlock(x + 6, y + 32, z + 1, Block7, 0, 3); + world.setBlock(x + 7, y + 32, z + 1, Block5, 0, 3); + world.setBlock(x + 8, y + 32, z + 1, Block5, 0, 3); + world.setBlock(x + 9, y + 32, z + 1, Block5, 0, 3); + world.setBlock(x + 10, y + 32, z + 1, Block5, 0, 3); + world.setBlock(x + 11, y + 32, z + 1, Block5, 0, 3); + world.setBlock(x + 12, y + 32, z + 2, Block5, 0, 3); + world.setBlock(x + 13, y + 32, z + 2, Block5, 0, 3); + world.setBlock(x + 14, y + 32, z + 2, Block5, 0, 3); + world.setBlock(x + 15, y + 32, z + 3, Block5, 0, 3); + world.setBlock(x + 16, y + 32, z + 3, Block5, 0, 3); + world.setBlock(x + 17, y + 32, z + 4, Block5, 0, 3); + world.setBlock(x + 17, y + 32, z + 5, Block5, 0, 3); + world.setBlock(x + 18, y + 32, z + 6, Block5, 0, 3); + world.setBlock(x + 18, y + 32, z + 7, Block5, 0, 3); + world.setBlock(x + 18, y + 32, z + 8, Block5, 0, 3); + world.setBlock(x + 19, y + 32, z + 9, Block5, 0, 3); + world.setBlock(x + 19, y + 32, z + 10, Block5, 0, 3); + world.setBlock(x + 20, y + 32, z + 10, Block2, 0, 3); + world.setBlock(x + 19, y + 32, z + 11, Block5, 0, 3); + world.setBlock(x + 7, y + 32, z + 12, Block4, 0, 3); + world.setBlock(x + 8, y + 32, z + 12, Block4, 0, 3); + world.setBlock(x + 19, y + 32, z + 12, Block5, 0, 3); + world.setBlock(x + 19, y + 32, z + 13, Block5, 0, 3); + world.setBlock(x + 19, y + 32, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 32, z + 14, Block2, 0, 3); + world.setBlock(x + 19, y + 32, z + 15, Block5, 0, 3); + world.setBlock(x + 18, y + 32, z + 16, Block5, 0, 3); + world.setBlock(x + 18, y + 32, z + 17, Block5, 0, 3); + world.setBlock(x + 18, y + 32, z + 18, Block5, 0, 3); + world.setBlock(x + 17, y + 32, z + 19, Block5, 0, 3); + world.setBlock(x + 17, y + 32, z + 20, Block5, 0, 3); + world.setBlock(x + 15, y + 32, z + 21, Block5, 0, 3); + world.setBlock(x + 16, y + 32, z + 21, Block5, 0, 3); + world.setBlock(x + 12, y + 32, z + 22, Block5, 0, 3); + world.setBlock(x + 13, y + 32, z + 22, Block5, 0, 3); + world.setBlock(x + 14, y + 32, z + 22, Block5, 0, 3); + world.setBlock(x + 6, y + 32, z + 23, Block7, 0, 3); + world.setBlock(x + 7, y + 32, z + 23, Block5, 0, 3); + world.setBlock(x + 8, y + 32, z + 23, Block5, 0, 3); + world.setBlock(x + 9, y + 32, z + 23, Block5, 0, 3); + world.setBlock(x + 10, y + 32, z + 23, Block5, 0, 3); + world.setBlock(x + 11, y + 32, z + 23, Block5, 0, 3); + world.setBlock(x + 7, y + 33, z + 0, Block7, 0, 3); + world.setBlock(x + 8, y + 33, z + 0, Block5, 0, 3); + world.setBlock(x + 9, y + 33, z + 0, Block5, 0, 3); + world.setBlock(x + 10, y + 33, z + 0, Block5, 0, 3); + world.setBlock(x + 11, y + 33, z + 0, Block5, 0, 3); + world.setBlock(x + 12, y + 33, z + 1, Block5, 0, 3); + world.setBlock(x + 13, y + 33, z + 1, Block5, 0, 3); + world.setBlock(x + 14, y + 33, z + 1, Block5, 0, 3); + world.setBlock(x + 15, y + 33, z + 2, Block5, 0, 3); + world.setBlock(x + 16, y + 33, z + 2, Block5, 0, 3); + world.setBlock(x + 17, y + 33, z + 3, Block5, 0, 3); + world.setBlock(x + 18, y + 33, z + 4, Block5, 0, 3); + world.setBlock(x + 18, y + 33, z + 5, Block5, 0, 3); + world.setBlock(x + 19, y + 33, z + 6, Block5, 0, 3); + world.setBlock(x + 19, y + 33, z + 7, Block5, 0, 3); + world.setBlock(x + 19, y + 33, z + 8, Block5, 0, 3); + world.setBlock(x + 20, y + 33, z + 9, Block5, 0, 3); + world.setBlock(x + 20, y + 33, z + 10, Block5, 0, 3); + world.setBlock(x + 20, y + 33, z + 11, Block5, 0, 3); + world.setBlock(x + 7, y + 33, z + 12, Block4, 0, 3); + world.setBlock(x + 18, y + 33, z + 12, Block4, 0, 3); + world.setBlock(x + 19, y + 33, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 33, z + 12, Block5, 0, 3); + world.setBlock(x + 20, y + 33, z + 13, Block5, 0, 3); + world.setBlock(x + 20, y + 33, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 33, z + 15, Block5, 0, 3); + world.setBlock(x + 19, y + 33, z + 16, Block5, 0, 3); + world.setBlock(x + 19, y + 33, z + 17, Block5, 0, 3); + world.setBlock(x + 19, y + 33, z + 18, Block5, 0, 3); + world.setBlock(x + 18, y + 33, z + 19, Block5, 0, 3); + world.setBlock(x + 18, y + 33, z + 20, Block5, 0, 3); + world.setBlock(x + 17, y + 33, z + 21, Block5, 0, 3); + world.setBlock(x + 15, y + 33, z + 22, Block5, 0, 3); + world.setBlock(x + 16, y + 33, z + 22, Block5, 0, 3); + world.setBlock(x + 12, y + 33, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + 33, z + 23, Block5, 0, 3); + world.setBlock(x + 14, y + 33, z + 23, Block5, 0, 3); + world.setBlock(x + 7, y + 33, z + 24, Block7, 0, 3); + world.setBlock(x + 8, y + 33, z + 24, Block5, 0, 3); + world.setBlock(x + 9, y + 33, z + 24, Block5, 0, 3); + world.setBlock(x + 10, y + 33, z + 24, Block5, 0, 3); + world.setBlock(x + 11, y + 33, z + 24, Block5, 0, 3); + world.setBlock(x + 8, y + 34, z + 0, Block7, 0, 3); + world.setBlock(x + 9, y + 34, z + 0, Block5, 0, 3); + world.setBlock(x + 10, y + 34, z + 0, Block5, 0, 3); + world.setBlock(x + 11, y + 34, z + 0, Block5, 0, 3); + world.setBlock(x + 12, y + 34, z + 1, Block5, 0, 3); + world.setBlock(x + 13, y + 34, z + 1, Block5, 0, 3); + world.setBlock(x + 14, y + 34, z + 1, Block5, 0, 3); + world.setBlock(x + 15, y + 34, z + 2, Block5, 0, 3); + world.setBlock(x + 16, y + 34, z + 2, Block5, 0, 3); + world.setBlock(x + 17, y + 34, z + 3, Block5, 0, 3); + world.setBlock(x + 18, y + 34, z + 4, Block5, 0, 3); + world.setBlock(x + 18, y + 34, z + 5, Block5, 0, 3); + world.setBlock(x + 19, y + 34, z + 6, Block5, 0, 3); + world.setBlock(x + 19, y + 34, z + 7, Block5, 0, 3); + world.setBlock(x + 19, y + 34, z + 8, Block5, 0, 3); + world.setBlock(x + 20, y + 34, z + 9, Block5, 0, 3); + world.setBlock(x + 20, y + 34, z + 10, Block5, 0, 3); + world.setBlock(x + 20, y + 34, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + 34, z + 12, Block4, 0, 3); + world.setBlock(x + 7, y + 34, z + 12, Block4, 0, 3); + world.setBlock(x + 16, y + 34, z + 12, Block4, 0, 3); + world.setBlock(x + 17, y + 34, z + 12, Block4, 0, 3); + world.setBlock(x + 18, y + 34, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 34, z + 12, Block5, 0, 3); + world.setBlock(x + 20, y + 34, z + 13, Block5, 0, 3); + world.setBlock(x + 20, y + 34, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 34, z + 15, Block5, 0, 3); + world.setBlock(x + 19, y + 34, z + 16, Block5, 0, 3); + world.setBlock(x + 19, y + 34, z + 17, Block5, 0, 3); + world.setBlock(x + 19, y + 34, z + 18, Block5, 0, 3); + world.setBlock(x + 18, y + 34, z + 19, Block5, 0, 3); + world.setBlock(x + 18, y + 34, z + 20, Block5, 0, 3); + world.setBlock(x + 17, y + 34, z + 21, Block5, 0, 3); + world.setBlock(x + 15, y + 34, z + 22, Block5, 0, 3); + world.setBlock(x + 16, y + 34, z + 22, Block5, 0, 3); + world.setBlock(x + 12, y + 34, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + 34, z + 23, Block5, 0, 3); + world.setBlock(x + 14, y + 34, z + 23, Block5, 0, 3); + world.setBlock(x + 8, y + 34, z + 24, Block7, 0, 3); + world.setBlock(x + 9, y + 34, z + 24, Block5, 0, 3); + world.setBlock(x + 10, y + 34, z + 24, Block5, 0, 3); + world.setBlock(x + 11, y + 34, z + 24, Block5, 0, 3); + world.setBlock(x + 9, y + 35, z + 0, Block7, 0, 3); + world.setBlock(x + 10, y + 35, z + 0, Block5, 0, 3); + world.setBlock(x + 11, y + 35, z + 0, Block5, 0, 3); + world.setBlock(x + 12, y + 35, z + 1, Block5, 0, 3); + world.setBlock(x + 13, y + 35, z + 1, Block5, 0, 3); + world.setBlock(x + 14, y + 35, z + 1, Block5, 0, 3); + world.setBlock(x + 15, y + 35, z + 2, Block5, 0, 3); + world.setBlock(x + 16, y + 35, z + 2, Block5, 0, 3); + world.setBlock(x + 17, y + 35, z + 3, Block5, 0, 3); + world.setBlock(x + 18, y + 35, z + 4, Block5, 0, 3); + world.setBlock(x + 18, y + 35, z + 5, Block5, 0, 3); + world.setBlock(x + 19, y + 35, z + 6, Block5, 0, 3); + world.setBlock(x + 19, y + 35, z + 7, Block5, 0, 3); + world.setBlock(x + 19, y + 35, z + 8, Block5, 0, 3); + world.setBlock(x + 20, y + 35, z + 9, Block5, 0, 3); + world.setBlock(x + 20, y + 35, z + 10, Block5, 0, 3); + world.setBlock(x + 20, y + 35, z + 11, Block5, 0, 3); + world.setBlock(x + 6, y + 35, z + 12, Block4, 0, 3); + world.setBlock(x + 14, y + 35, z + 12, Block4, 0, 3); + world.setBlock(x + 15, y + 35, z + 12, Block4, 0, 3); + world.setBlock(x + 16, y + 35, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 35, z + 12, Block5, 0, 3); + world.setBlock(x + 20, y + 35, z + 13, Block5, 0, 3); + world.setBlock(x + 20, y + 35, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 35, z + 15, Block5, 0, 3); + world.setBlock(x + 19, y + 35, z + 16, Block5, 0, 3); + world.setBlock(x + 19, y + 35, z + 17, Block5, 0, 3); + world.setBlock(x + 19, y + 35, z + 18, Block5, 0, 3); + world.setBlock(x + 18, y + 35, z + 19, Block5, 0, 3); + world.setBlock(x + 18, y + 35, z + 20, Block5, 0, 3); + world.setBlock(x + 17, y + 35, z + 21, Block5, 0, 3); + world.setBlock(x + 15, y + 35, z + 22, Block5, 0, 3); + world.setBlock(x + 16, y + 35, z + 22, Block5, 0, 3); + world.setBlock(x + 12, y + 35, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + 35, z + 23, Block5, 0, 3); + world.setBlock(x + 14, y + 35, z + 23, Block5, 0, 3); + world.setBlock(x + 9, y + 35, z + 24, Block7, 0, 3); + world.setBlock(x + 10, y + 35, z + 24, Block5, 0, 3); + world.setBlock(x + 11, y + 35, z + 24, Block5, 0, 3); + world.setBlock(x + 10, y + 36, z + 0, Block7, 0, 3); + world.setBlock(x + 11, y + 36, z + 0, Block5, 0, 3); + world.setBlock(x + 12, y + 36, z + 1, Block5, 0, 3); + world.setBlock(x + 13, y + 36, z + 1, Block5, 0, 3); + world.setBlock(x + 14, y + 36, z + 1, Block5, 0, 3); + world.setBlock(x + 15, y + 36, z + 2, Block5, 0, 3); + world.setBlock(x + 16, y + 36, z + 2, Block5, 0, 3); + world.setBlock(x + 17, y + 36, z + 3, Block5, 0, 3); + world.setBlock(x + 18, y + 36, z + 4, Block5, 0, 3); + world.setBlock(x + 18, y + 36, z + 5, Block5, 0, 3); + world.setBlock(x + 19, y + 36, z + 6, Block5, 0, 3); + world.setBlock(x + 19, y + 36, z + 7, Block5, 0, 3); + world.setBlock(x + 19, y + 36, z + 8, Block5, 0, 3); + world.setBlock(x + 20, y + 36, z + 9, Block5, 0, 3); + world.setBlock(x + 20, y + 36, z + 10, Block5, 0, 3); + world.setBlock(x + 20, y + 36, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 36, z + 12, Block4, 0, 3); + world.setBlock(x + 6, y + 36, z + 12, Block4, 0, 3); + world.setBlock(x + 12, y + 36, z + 12, Block4, 0, 3); + world.setBlock(x + 13, y + 36, z + 12, Block4, 0, 3); + world.setBlock(x + 14, y + 36, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 36, z + 12, Block5, 0, 3); + world.setBlock(x + 20, y + 36, z + 13, Block5, 0, 3); + world.setBlock(x + 20, y + 36, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 36, z + 15, Block5, 0, 3); + world.setBlock(x + 19, y + 36, z + 16, Block5, 0, 3); + world.setBlock(x + 19, y + 36, z + 17, Block5, 0, 3); + world.setBlock(x + 19, y + 36, z + 18, Block5, 0, 3); + world.setBlock(x + 18, y + 36, z + 19, Block5, 0, 3); + world.setBlock(x + 18, y + 36, z + 20, Block5, 0, 3); + world.setBlock(x + 17, y + 36, z + 21, Block5, 0, 3); + world.setBlock(x + 15, y + 36, z + 22, Block5, 0, 3); + world.setBlock(x + 16, y + 36, z + 22, Block5, 0, 3); + world.setBlock(x + 12, y + 36, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + 36, z + 23, Block5, 0, 3); + world.setBlock(x + 14, y + 36, z + 23, Block5, 0, 3); + world.setBlock(x + 10, y + 36, z + 24, Block7, 0, 3); + world.setBlock(x + 11, y + 36, z + 24, Block5, 0, 3); + world.setBlock(x + 11, y + 37, z + 0, Block7, 0, 3); + world.setBlock(x + 12, y + 37, z + 1, Block5, 0, 3); + world.setBlock(x + 13, y + 37, z + 1, Block5, 0, 3); + world.setBlock(x + 14, y + 37, z + 1, Block5, 0, 3); + world.setBlock(x + 15, y + 37, z + 2, Block5, 0, 3); + world.setBlock(x + 16, y + 37, z + 2, Block5, 0, 3); + world.setBlock(x + 17, y + 37, z + 3, Block5, 0, 3); + world.setBlock(x + 18, y + 37, z + 4, Block5, 0, 3); + world.setBlock(x + 18, y + 37, z + 5, Block5, 0, 3); + world.setBlock(x + 19, y + 37, z + 6, Block5, 0, 3); + world.setBlock(x + 19, y + 37, z + 7, Block5, 0, 3); + world.setBlock(x + 19, y + 37, z + 8, Block5, 0, 3); + world.setBlock(x + 20, y + 37, z + 9, Block5, 0, 3); + world.setBlock(x + 20, y + 37, z + 10, Block5, 0, 3); + world.setBlock(x + 20, y + 37, z + 11, Block5, 0, 3); + world.setBlock(x + 5, y + 37, z + 12, Block4, 0, 3); + world.setBlock(x + 10, y + 37, z + 12, Block4, 0, 3); + world.setBlock(x + 11, y + 37, z + 12, Block4, 0, 3); + world.setBlock(x + 12, y + 37, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 37, z + 12, Block5, 0, 3); + world.setBlock(x + 20, y + 37, z + 13, Block5, 0, 3); + world.setBlock(x + 20, y + 37, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 37, z + 15, Block5, 0, 3); + world.setBlock(x + 19, y + 37, z + 16, Block5, 0, 3); + world.setBlock(x + 19, y + 37, z + 17, Block5, 0, 3); + world.setBlock(x + 19, y + 37, z + 18, Block5, 0, 3); + world.setBlock(x + 18, y + 37, z + 19, Block5, 0, 3); + world.setBlock(x + 18, y + 37, z + 20, Block5, 0, 3); + world.setBlock(x + 17, y + 37, z + 21, Block5, 0, 3); + world.setBlock(x + 15, y + 37, z + 22, Block5, 0, 3); + world.setBlock(x + 16, y + 37, z + 22, Block5, 0, 3); + world.setBlock(x + 12, y + 37, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + 37, z + 23, Block5, 0, 3); + world.setBlock(x + 14, y + 37, z + 23, Block5, 0, 3); + world.setBlock(x + 11, y + 37, z + 24, Block7, 0, 3); + world.setBlock(x + 12, y + 38, z + 1, Block7, 0, 3); + world.setBlock(x + 13, y + 38, z + 1, Block5, 0, 3); + world.setBlock(x + 14, y + 38, z + 1, Block5, 0, 3); + world.setBlock(x + 15, y + 38, z + 2, Block5, 0, 3); + world.setBlock(x + 16, y + 38, z + 2, Block5, 0, 3); + world.setBlock(x + 17, y + 38, z + 3, Block5, 0, 3); + world.setBlock(x + 18, y + 38, z + 4, Block5, 0, 3); + world.setBlock(x + 18, y + 38, z + 5, Block5, 0, 3); + world.setBlock(x + 19, y + 38, z + 6, Block5, 0, 3); + world.setBlock(x + 19, y + 38, z + 7, Block5, 0, 3); + world.setBlock(x + 19, y + 38, z + 8, Block5, 0, 3); + world.setBlock(x + 20, y + 38, z + 9, Block5, 0, 3); + world.setBlock(x + 20, y + 38, z + 10, Block5, 0, 3); + world.setBlock(x + 4, y + 38, z + 11, Block7, 0, 3); + world.setBlock(x + 5, y + 38, z + 11, Block7, 0, 3); + world.setBlock(x + 6, y + 38, z + 11, Block7, 0, 3); + world.setBlock(x + 20, y + 38, z + 11, Block5, 0, 3); + world.setBlock(x + 4, y + 38, z + 12, Block7, 0, 3); + world.setBlock(x + 5, y + 38, z + 12, Block7, 0, 3); + world.setBlock(x + 6, y + 38, z + 12, Block7, 0, 3); + world.setBlock(x + 8, y + 38, z + 12, Block4, 0, 3); + world.setBlock(x + 9, y + 38, z + 12, Block4, 0, 3); + world.setBlock(x + 10, y + 38, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 38, z + 12, Block5, 0, 3); + world.setBlock(x + 4, y + 38, z + 13, Block7, 0, 3); + world.setBlock(x + 5, y + 38, z + 13, Block7, 0, 3); + world.setBlock(x + 6, y + 38, z + 13, Block7, 0, 3); + world.setBlock(x + 20, y + 38, z + 13, Block5, 0, 3); + world.setBlock(x + 20, y + 38, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 38, z + 15, Block5, 0, 3); + world.setBlock(x + 19, y + 38, z + 16, Block5, 0, 3); + world.setBlock(x + 19, y + 38, z + 17, Block5, 0, 3); + world.setBlock(x + 19, y + 38, z + 18, Block5, 0, 3); + world.setBlock(x + 18, y + 38, z + 19, Block5, 0, 3); + world.setBlock(x + 18, y + 38, z + 20, Block5, 0, 3); + world.setBlock(x + 17, y + 38, z + 21, Block5, 0, 3); + world.setBlock(x + 15, y + 38, z + 22, Block5, 0, 3); + world.setBlock(x + 16, y + 38, z + 22, Block5, 0, 3); + world.setBlock(x + 12, y + 38, z + 23, Block7, 0, 3); + world.setBlock(x + 13, y + 38, z + 23, Block5, 0, 3); + world.setBlock(x + 14, y + 38, z + 23, Block5, 0, 3); + world.setBlock(x + 13, y + 39, z + 1, Block7, 0, 3); + world.setBlock(x + 14, y + 39, z + 1, Block5, 0, 3); + world.setBlock(x + 15, y + 39, z + 2, Block5, 0, 3); + world.setBlock(x + 16, y + 39, z + 2, Block5, 0, 3); + world.setBlock(x + 17, y + 39, z + 3, Block5, 0, 3); + world.setBlock(x + 18, y + 39, z + 4, Block5, 0, 3); + world.setBlock(x + 18, y + 39, z + 5, Block5, 0, 3); + world.setBlock(x + 19, y + 39, z + 6, Block5, 0, 3); + world.setBlock(x + 19, y + 39, z + 7, Block5, 0, 3); + world.setBlock(x + 19, y + 39, z + 8, Block5, 0, 3); + world.setBlock(x + 20, y + 39, z + 9, Block5, 0, 3); + world.setBlock(x + 20, y + 39, z + 10, Block5, 0, 3); + world.setBlock(x + 4, y + 39, z + 11, Block7, 0, 3); + world.setBlock(x + 5, y + 39, z + 11, Block7, 0, 3); + world.setBlock(x + 6, y + 39, z + 11, Block7, 0, 3); + world.setBlock(x + 20, y + 39, z + 11, Block5, 0, 3); + world.setBlock(x + 4, y + 39, z + 12, Block7, 0, 3); + //world.setBlock(x + 5, y + 39, z + 12, Block7, 0, 3); + world.setBlock(x + 5, y + 39, z + 12, Blocks.chest, 4, 3); + world.setBlockMetadataWithNotify(x + 5, y + 39, z + 12, 4, 3); + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 5, y + 39, z + 12), 12); + world.setBlock(x + 6, y + 39, z + 12, Block7, 0, 3); + world.setBlock(x + 7, y + 39, z + 12, Block4, 0, 3); + world.setBlock(x + 8, y + 39, z + 12, Block4, 0, 3); + world.setBlock(x + 20, y + 39, z + 12, Block5, 0, 3); + world.setBlock(x + 4, y + 39, z + 13, Block7, 0, 3); + world.setBlock(x + 5, y + 39, z + 13, Block7, 0, 3); + world.setBlock(x + 6, y + 39, z + 13, Block7, 0, 3); + world.setBlock(x + 20, y + 39, z + 13, Block5, 0, 3); + world.setBlock(x + 20, y + 39, z + 14, Block5, 0, 3); + world.setBlock(x + 20, y + 39, z + 15, Block5, 0, 3); + world.setBlock(x + 19, y + 39, z + 16, Block5, 0, 3); + world.setBlock(x + 19, y + 39, z + 17, Block5, 0, 3); + world.setBlock(x + 19, y + 39, z + 18, Block5, 0, 3); + world.setBlock(x + 18, y + 39, z + 19, Block5, 0, 3); + world.setBlock(x + 18, y + 39, z + 20, Block5, 0, 3); + world.setBlock(x + 17, y + 39, z + 21, Block5, 0, 3); + world.setBlock(x + 15, y + 39, z + 22, Block5, 0, 3); + world.setBlock(x + 16, y + 39, z + 22, Block5, 0, 3); + world.setBlock(x + 13, y + 39, z + 23, Block7, 0, 3); + world.setBlock(x + 14, y + 39, z + 23, Block5, 0, 3); + world.setBlock(x + 14, y + 40, z + 2, Block7, 0, 3); + world.setBlock(x + 15, y + 40, z + 3, Block5, 0, 3); + world.setBlock(x + 16, y + 40, z + 3, Block5, 0, 3); + world.setBlock(x + 17, y + 40, z + 4, Block5, 0, 3); + world.setBlock(x + 17, y + 40, z + 5, Block5, 0, 3); + world.setBlock(x + 18, y + 40, z + 6, Block5, 0, 3); + world.setBlock(x + 18, y + 40, z + 7, Block5, 0, 3); + world.setBlock(x + 18, y + 40, z + 8, Block5, 0, 3); + world.setBlock(x + 19, y + 40, z + 9, Block5, 0, 3); + world.setBlock(x + 19, y + 40, z + 10, Block5, 0, 3); + world.setBlock(x + 4, y + 40, z + 11, Block7, 0, 3); + world.setBlock(x + 5, y + 40, z + 11, Block7, 0, 3); + world.setBlock(x + 6, y + 40, z + 11, Block7, 0, 3); + world.setBlock(x + 19, y + 40, z + 11, Block5, 0, 3); + world.setBlock(x + 4, y + 40, z + 12, Block7, 0, 3); + world.setBlock(x + 5, y + 40, z + 12, Block7, 0, 3); + world.setBlock(x + 6, y + 40, z + 12, Block7, 0, 3); + world.setBlock(x + 19, y + 40, z + 12, Block5, 0, 3); + world.setBlock(x + 4, y + 40, z + 13, Block7, 0, 3); + world.setBlock(x + 5, y + 40, z + 13, Block7, 0, 3); + world.setBlock(x + 6, y + 40, z + 13, Block7, 0, 3); + world.setBlock(x + 19, y + 40, z + 13, Block5, 0, 3); + world.setBlock(x + 19, y + 40, z + 14, Block5, 0, 3); + world.setBlock(x + 19, y + 40, z + 15, Block5, 0, 3); + world.setBlock(x + 18, y + 40, z + 16, Block5, 0, 3); + world.setBlock(x + 18, y + 40, z + 17, Block5, 0, 3); + world.setBlock(x + 18, y + 40, z + 18, Block5, 0, 3); + world.setBlock(x + 17, y + 40, z + 19, Block5, 0, 3); + world.setBlock(x + 17, y + 40, z + 20, Block5, 0, 3); + world.setBlock(x + 15, y + 40, z + 21, Block5, 0, 3); + world.setBlock(x + 16, y + 40, z + 21, Block5, 0, 3); + world.setBlock(x + 14, y + 40, z + 22, Block7, 0, 3); + world.setBlock(x + 15, y + 41, z + 3, Block7, 0, 3); + world.setBlock(x + 16, y + 41, z + 3, Block5, 0, 3); + world.setBlock(x + 17, y + 41, z + 4, Block5, 0, 3); + world.setBlock(x + 17, y + 41, z + 5, Block5, 0, 3); + world.setBlock(x + 18, y + 41, z + 6, Block5, 0, 3); + world.setBlock(x + 18, y + 41, z + 7, Block5, 0, 3); + world.setBlock(x + 18, y + 41, z + 8, Block5, 0, 3); + world.setBlock(x + 19, y + 41, z + 9, Block5, 0, 3); + world.setBlock(x + 19, y + 41, z + 10, Block5, 0, 3); + world.setBlock(x + 19, y + 41, z + 11, Block5, 0, 3); + world.setBlock(x + 19, y + 41, z + 12, Block5, 0, 3); + world.setBlock(x + 19, y + 41, z + 13, Block5, 0, 3); + world.setBlock(x + 19, y + 41, z + 14, Block5, 0, 3); + world.setBlock(x + 19, y + 41, z + 15, Block5, 0, 3); + world.setBlock(x + 18, y + 41, z + 16, Block5, 0, 3); + world.setBlock(x + 18, y + 41, z + 17, Block5, 0, 3); + world.setBlock(x + 18, y + 41, z + 18, Block5, 0, 3); + world.setBlock(x + 17, y + 41, z + 19, Block5, 0, 3); + world.setBlock(x + 17, y + 41, z + 20, Block5, 0, 3); + world.setBlock(x + 15, y + 41, z + 21, Block7, 0, 3); + world.setBlock(x + 16, y + 41, z + 21, Block5, 0, 3); + world.setBlock(x + 16, y + 42, z + 3, Block7, 0, 3); + world.setBlock(x + 17, y + 42, z + 4, Block7, 0, 3); + world.setBlock(x + 17, y + 42, z + 5, Block7, 0, 3); + world.setBlock(x + 18, y + 42, z + 6, Block5, 0, 3); + world.setBlock(x + 18, y + 42, z + 7, Block5, 0, 3); + world.setBlock(x + 18, y + 42, z + 8, Block5, 0, 3); + world.setBlock(x + 19, y + 42, z + 9, Block5, 0, 3); + world.setBlock(x + 19, y + 42, z + 10, Block5, 0, 3); + world.setBlock(x + 19, y + 42, z + 11, Block5, 0, 3); + world.setBlock(x + 19, y + 42, z + 12, Block5, 0, 3); + world.setBlock(x + 19, y + 42, z + 13, Block5, 0, 3); + world.setBlock(x + 19, y + 42, z + 14, Block5, 0, 3); + world.setBlock(x + 19, y + 42, z + 15, Block5, 0, 3); + world.setBlock(x + 18, y + 42, z + 16, Block5, 0, 3); + world.setBlock(x + 18, y + 42, z + 17, Block5, 0, 3); + world.setBlock(x + 18, y + 42, z + 18, Block5, 0, 3); + world.setBlock(x + 17, y + 42, z + 19, Block7, 0, 3); + world.setBlock(x + 17, y + 42, z + 20, Block7, 0, 3); + world.setBlock(x + 16, y + 42, z + 21, Block7, 0, 3); + world.setBlock(x + 17, y + 43, z + 6, Block7, 0, 3); + world.setBlock(x + 17, y + 43, z + 7, Block7, 0, 3); + world.setBlock(x + 17, y + 43, z + 8, Block7, 0, 3); + world.setBlock(x + 18, y + 43, z + 9, Block5, 0, 3); + world.setBlock(x + 18, y + 43, z + 10, Block5, 0, 3); + world.setBlock(x + 18, y + 43, z + 11, Block5, 0, 3); + world.setBlock(x + 18, y + 43, z + 12, Block5, 0, 3); + world.setBlock(x + 18, y + 43, z + 13, Block5, 0, 3); + world.setBlock(x + 18, y + 43, z + 14, Block5, 0, 3); + world.setBlock(x + 18, y + 43, z + 15, Block5, 0, 3); + world.setBlock(x + 17, y + 43, z + 16, Block7, 0, 3); + world.setBlock(x + 17, y + 43, z + 17, Block7, 0, 3); + world.setBlock(x + 17, y + 43, z + 18, Block7, 0, 3); + world.setBlock(x + 18, y + 44, z + 9, Block7, 0, 3); + world.setBlock(x + 18, y + 44, z + 10, Block7, 0, 3); + world.setBlock(x + 18, y + 44, z + 11, Block7, 0, 3); + world.setBlock(x + 18, y + 44, z + 12, Block7, 0, 3); + world.setBlock(x + 18, y + 44, z + 13, Block7, 0, 3); + world.setBlock(x + 18, y + 44, z + 14, Block7, 0, 3); + world.setBlock(x + 18, y + 44, z + 15, Block7, 0, 3); + + generate_r03_last(world, rand, x, y, z); + return true; + + } + public boolean generate_r03_last(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 19, y + 3, z + 9, Blocks.torch, 4, 3); + world.setBlock(x + 6, y + 10, z + 17, Blocks.torch, 2, 3); + world.setBlock(x + 9, y + 15, z + 19, Blocks.torch, 3, 3); + world.setBlock(x + 17, y + 15, z + 19, Blocks.torch, 3, 3); + world.setBlock(x + 13, y + 15, z + 24, Blocks.torch, 5, 3); + world.setBlock(x + 9, y + 15, z + 27, Blocks.torch, 4, 3); + world.setBlock(x + 17, y + 15, z + 27, Blocks.torch, 4, 3); + world.setBlock(x + 19, y + 19, z + 9, Blocks.torch, 4, 3); + world.setBlock(x + 16, y + 19, z + 12, Blocks.torch, 2, 3); + world.setBlock(x + 22, y + 19, z + 12, Blocks.torch, 1, 3); + world.setBlock(x + 19, y + 19, z + 15, Blocks.torch, 3, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned satellite dish at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Silo.java b/com/hbm/world/Silo.java index 253816278..f2a5d8a32 100644 --- a/com/hbm/world/Silo.java +++ b/com/hbm/world/Silo.java @@ -1,2529 +1,2529 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Silo extends WorldGenerator -{ - Block Block1 = ModBlocks.brick_concrete; - Block Block2 = ModBlocks.launch_pad; - Block Block3 = ModBlocks.reinforced_light; - Block Block4 = ModBlocks.tape_recorder; - Block Block5 = ModBlocks.reinforced_glass; - Block Block6 = ModBlocks.block_steel; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.stone, - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x + 10, y, z + 10)) - { - return false; - } - - world.setBlock(x + 7, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -21, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 13, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 15, y + -21, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -21, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 13, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 14, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 15, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 17, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 18, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 19, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 20, y + -21, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 13, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 14, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 15, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 16, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 17, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 18, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 20, y + -21, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 13, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 14, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 15, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 16, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 18, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + -21, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 13, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 14, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 15, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 16, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + -21, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 13, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 14, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 15, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 16, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + -21, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -21, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 15, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 16, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 16, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 17, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 17, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 17, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 18, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 18, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 18, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -21, z + 19, Block1, 0, 3); - world.setBlock(x + 8, y + -21, z + 19, Block1, 0, 3); - world.setBlock(x + 9, y + -21, z + 19, Block1, 0, 3); - world.setBlock(x + 10, y + -21, z + 19, Block1, 0, 3); - world.setBlock(x + 11, y + -21, z + 19, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -20, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -20, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -20, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + -20, z + 5, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 14, y + -20, z + 5, Block1, 0, 3); - world.setBlock(x + 15, y + -20, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + -20, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + -20, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + -20, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -20, z + 6, Blocks.unpowered_repeater, 2, 3); - world.setBlock(x + 13, y + -20, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -20, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -20, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -20, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -20, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -20, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -20, z + 8, Blocks.unpowered_repeater, 2, 3); - world.setBlock(x + 13, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 14, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 15, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 17, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 18, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 19, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 20, y + -20, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -20, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -20, z + 9, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 13, y + -20, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 15, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 16, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 17, y + -20, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 18, y + -20, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + -20, z + 9, Block1, 0, 3); - world.setBlock(x + 20, y + -20, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -20, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 10, Block2, 0, 3); - world.setBlock(x + 10, y + -20, z + 10, Blocks.unpowered_repeater, 3, 3); - world.setBlock(x + 11, y + -20, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 12, y + -20, z + 10, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 13, y + -20, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 15, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 16, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 17, y + -20, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 18, y + -20, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + -20, z + 10, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 19, y + -20, z + 10, 5, 3); - if(world.getBlock(x + 19, y + -20, z + 10) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 19, y + -20, z + 10), rand.nextInt(2)+ 6); - } - world.setBlock(x + 20, y + -20, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -20, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -20, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 15, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 16, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 17, y + -20, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 18, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + -20, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 13, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 14, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 15, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 16, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + -20, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -20, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -20, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + -20, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + -20, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + -20, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -20, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -20, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -20, z + 19, Block1, 0, 3); - world.setBlock(x + 8, y + -20, z + 19, Block1, 0, 3); - world.setBlock(x + 9, y + -20, z + 19, Block1, 0, 3); - world.setBlock(x + 10, y + -20, z + 19, Block1, 0, 3); - world.setBlock(x + 11, y + -20, z + 19, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -19, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -19, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -19, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + -19, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + -19, z + 5, Blocks.redstone_wire, 15, 3); - world.setBlock(x + 15, y + -19, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + -19, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + -19, z + 6, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + -19, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -19, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -19, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -19, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -19, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -19, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -19, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -19, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -19, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 14, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 15, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 17, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 18, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 19, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 20, y + -19, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -19, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -19, z + 9, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 15, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 16, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 17, y + -19, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 18, y + -19, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + -19, z + 9, Block1, 0, 3); - world.setBlock(x + 20, y + -19, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -19, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -19, z + 10, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 15, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 16, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 17, y + -19, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 18, y + -19, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + -19, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + -19, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -19, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 6, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -19, z + 11, Blocks.iron_bars, 0, 3); - world.setBlock(x + 14, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 15, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 16, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 17, y + -19, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 18, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + -19, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 13, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 14, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 15, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 16, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + -19, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -19, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -19, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 9, y + -19, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 10, y + -19, z + 14, Blocks.iron_bars, 0, 3); - world.setBlock(x + 11, y + -19, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -19, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -19, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -19, z + 19, Block1, 0, 3); - world.setBlock(x + 8, y + -19, z + 19, Block1, 0, 3); - world.setBlock(x + 9, y + -19, z + 19, Block1, 0, 3); - world.setBlock(x + 10, y + -19, z + 19, Block1, 0, 3); - world.setBlock(x + 11, y + -19, z + 19, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 2, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -18, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + -18, z + 5, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 14, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 15, y + -18, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -18, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -18, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -18, z + 7, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -18, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 13, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 14, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 15, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 16, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 17, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 18, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 19, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 20, y + -18, z + 8, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -18, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 14, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 15, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 16, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 17, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 18, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 19, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 20, y + -18, z + 9, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -18, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 14, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 15, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 16, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 17, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 18, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 19, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 20, y + -18, z + 10, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -18, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 14, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 15, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 16, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 17, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 18, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 19, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 20, y + -18, z + 11, Block1, 0, 3); - world.setBlock(x + 0, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 1, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 2, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 3, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 4, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -18, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 13, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 14, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 15, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 16, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 17, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 18, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 19, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 20, y + -18, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -18, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -18, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -18, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -18, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 15, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 15, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 16, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 16, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 16, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 16, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 16, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 17, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 17, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 17, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 17, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 17, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 18, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 18, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 18, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 18, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 18, Block1, 0, 3); - world.setBlock(x + 7, y + -18, z + 19, Block1, 0, 3); - world.setBlock(x + 8, y + -18, z + 19, Block1, 0, 3); - world.setBlock(x + 9, y + -18, z + 19, Block1, 0, 3); - world.setBlock(x + 10, y + -18, z + 19, Block1, 0, 3); - world.setBlock(x + 11, y + -18, z + 19, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -17, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 2, Blocks.chest, 3, 3); - world.setBlockMetadataWithNotify(x + 8, y + -17, z + 2, 3, 3); - if(world.getBlock(x + 8, y + -17, z + 2) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(7), (TileEntityChest)world.getTileEntity(x + 8, y + -17, z + 2), rand.nextInt(2)+ 6); - } - world.setBlock(x + 10, y + -17, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -17, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + -17, z + 5, Blocks.redstone_wire, 15, 3); - world.setBlock(x + 15, y + -17, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -17, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -17, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -17, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -17, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -17, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -17, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -17, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -17, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -17, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -17, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -17, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -17, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -17, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -16, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -16, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -16, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -16, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 4, Block3, 0, 3); - world.setBlock(x + 8, y + -16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 4, Block3, 0, 3); - world.setBlock(x + 12, y + -16, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -16, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -16, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -16, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + -16, z + 5, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 14, y + -16, z + 5, Block1, 0, 3); - world.setBlock(x + 15, y + -16, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -16, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -16, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -16, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -16, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -16, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -16, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -16, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -16, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -16, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -16, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -16, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -16, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -16, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -16, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -16, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -16, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -16, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -16, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -16, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -16, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -16, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -16, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -16, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -16, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -16, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -16, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -16, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -15, z + 1, Block3, 0, 3); - world.setBlock(x + 10, y + -15, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -15, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -15, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -15, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -15, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -15, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + -15, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + -15, z + 5, Blocks.redstone_wire, 15, 3); - world.setBlock(x + 15, y + -15, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -15, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -15, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -15, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -15, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -15, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -15, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -15, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -15, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -15, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -15, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -15, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -15, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -15, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -15, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -15, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -15, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -15, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -15, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -15, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -15, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -15, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -15, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -15, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -15, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -15, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -15, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -15, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -14, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -14, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -14, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -14, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -14, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -14, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -14, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -14, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -14, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -14, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -14, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -14, z + 5, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 12, y + -14, z + 5, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 13, y + -14, z + 5, Blocks.stone_slab, 8, 3); - world.setBlock(x + 14, y + -14, z + 5, Block1, 0, 3); - world.setBlock(x + 15, y + -14, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -14, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -14, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -14, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -14, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -14, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -14, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -14, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -14, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -14, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -14, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -14, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -14, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -14, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -14, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -14, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -14, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -14, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -14, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -14, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -14, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -14, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -14, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -14, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -14, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -14, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -14, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -14, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -14, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -13, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -13, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -13, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -13, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -13, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -13, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -13, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -13, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -13, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -13, z + 5, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 11, y + -13, z + 5, Blocks.stone_slab, 8, 3); - world.setBlock(x + 12, y + -13, z + 5, Block1, 0, 3); - world.setBlock(x + 13, y + -13, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + -13, z + 5, Block1, 0, 3); - world.setBlock(x + 15, y + -13, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -13, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -13, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -13, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -13, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -13, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -13, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -13, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -13, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -13, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -13, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -13, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -13, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -13, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -13, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -13, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -13, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -13, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -13, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -13, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -13, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -13, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -13, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -13, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -13, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -13, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -13, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -13, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -13, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -12, z + 1, Block3, 0, 3); - world.setBlock(x + 10, y + -12, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -12, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -12, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -12, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -12, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -12, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -12, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 13, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 14, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 15, y + -12, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 5, Blocks.redstone_wire, 15, 3); - world.setBlock(x + 9, y + -12, z + 5, Blocks.stone_slab, 8, 3); - world.setBlock(x + 10, y + -12, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -12, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + -12, z + 5, Block1, 0, 3); - world.setBlock(x + 13, y + -12, z + 5, Block1, 0, 3); - world.setBlock(x + 14, y + -12, z + 5, Block1, 0, 3); - world.setBlock(x + 15, y + -12, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 13, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 14, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 15, y + -12, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -12, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -12, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -12, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -12, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -12, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -12, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -12, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -12, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -12, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -12, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -12, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -12, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -12, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -12, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -12, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -12, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -12, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -12, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -12, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -12, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -12, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -12, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -12, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -12, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -12, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -12, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -12, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -11, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -11, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -11, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -11, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -11, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -11, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -11, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -11, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -11, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -11, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -11, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -11, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -11, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -11, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -11, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -11, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -11, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -11, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -11, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -11, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -11, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -11, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -11, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -11, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -11, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -11, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -11, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -11, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -11, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -11, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -11, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -11, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -11, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -11, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -11, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -11, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -11, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -11, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -11, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -11, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -11, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -11, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -11, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -11, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -11, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -11, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -11, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -11, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -10, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -10, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -10, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -10, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -10, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -10, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -10, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -10, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -10, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -10, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -10, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -10, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -10, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -10, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -10, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -10, z + 5, Blocks.redstone_wire, 0, 3); - world.setBlock(x + 10, y + -10, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -10, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -10, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -10, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -10, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -10, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -10, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -10, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -10, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -10, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -10, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -10, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -10, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -10, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -10, z + 9, Blocks.air, 0, 3); - - generate_r02(world, rand, x, y, z); - return true; - - } - public boolean generate_r02(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 11, y + -10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -10, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -10, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -10, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -10, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -10, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -10, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -10, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -10, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -10, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -10, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -10, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -10, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -10, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -10, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -10, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -10, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -10, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -10, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -10, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -9, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -9, z + 1, Block3, 0, 3); - world.setBlock(x + 10, y + -9, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -9, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -9, z + 3, Blocks.stone_stairs, 3, 3); - world.setBlock(x + 11, y + -9, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -9, z + 4, Blocks.web, 0, 3); - world.setBlock(x + 9, y + -9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -9, z + 5, Blocks.chest, 2, 3); - world.setBlockMetadataWithNotify(x + 8, y + -9, z + 5, 3, 3); - if(world.getBlock(x + 8, y + -9, z + 5) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 8, y + -9, z + 5), rand.nextInt(2)+ 8); - } - world.setBlock(x + 8, y + -10, z + 5, Blocks.stone_slab, 8, 3); - world.setBlock(x + 9, y + -9, z + 5, Blocks.planks, 0, 3); - world.setBlock(x + 10, y + -9, z + 5, Block4, 2, 3); - world.setBlock(x + 11, y + -9, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -9, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -9, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -9, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -9, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -9, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -9, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -9, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -9, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -9, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -9, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -9, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -9, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -9, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -9, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -9, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -9, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -9, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -9, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -9, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -9, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -9, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -9, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -9, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -9, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -9, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -9, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -9, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -8, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -8, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -8, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -8, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -8, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -8, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 4, Block3, 0, 3); - world.setBlock(x + 8, y + -8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 4, Block3, 0, 3); - world.setBlock(x + 7, y + -8, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -8, z + 6, Block5, 0, 3); - world.setBlock(x + 9, y + -8, z + 6, Block5, 0, 3); - world.setBlock(x + 10, y + -8, z + 6, Block5, 0, 3); - world.setBlock(x + 11, y + -8, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -8, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -8, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -8, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -8, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -8, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -8, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -8, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -8, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -8, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -8, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -8, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -8, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -8, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -8, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -8, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -8, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -8, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -8, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -8, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -8, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -8, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -8, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -8, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -7, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -7, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -7, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 2, Blocks.web, 0, 3); - world.setBlock(x + 10, y + -7, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 5, Blocks.web, 0, 3); - world.setBlock(x + 11, y + -7, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 6, Block5, 0, 3); - world.setBlock(x + 9, y + -7, z + 6, Block5, 0, 3); - world.setBlock(x + 10, y + -7, z + 6, Block5, 0, 3); - world.setBlock(x + 11, y + -7, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -7, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -7, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -7, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -7, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -7, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -7, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -7, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -7, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -7, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -7, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -7, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -7, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -7, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -7, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -7, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -7, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -7, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -7, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -7, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -7, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -7, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -7, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -7, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -7, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -7, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -7, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -7, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -7, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -7, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -7, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -7, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -6, z + 1, Block3, 0, 3); - world.setBlock(x + 10, y + -6, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + -6, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -6, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + -6, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -6, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -6, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + -6, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + -6, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + -6, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + -6, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + -6, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + -6, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + -6, z + 5, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -6, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -6, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + -6, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -6, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -6, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -6, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -6, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -6, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -6, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -6, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -6, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -6, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -6, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -6, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -6, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -6, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -6, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -6, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -6, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -6, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -6, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -6, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -6, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -6, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -6, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -6, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -6, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -6, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -6, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -6, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -6, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -6, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -6, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -6, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -6, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -6, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -5, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -5, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -5, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -5, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -5, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -5, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -5, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -5, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -5, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -5, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -5, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -5, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -5, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -5, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -5, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -5, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -5, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -4, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -4, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -4, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -4, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -4, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -4, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -4, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -4, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -4, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -4, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -4, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -4, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -4, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -4, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -4, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -4, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -4, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -4, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -4, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -4, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -4, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -4, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -4, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -4, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -4, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -4, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -4, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -4, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -4, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -4, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -4, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 1, Block3, 0, 3); - world.setBlock(x + 10, y + -3, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -3, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -3, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -3, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -3, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -3, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -3, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -3, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -3, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -2, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -2, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -2, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 13, y + -2, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -2, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -2, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 6, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 7, Blocks.stone_brick_stairs, 7, 3); - world.setBlock(x + 9, y + -1, z + 7, Blocks.stone_brick_stairs, 7, 3); - world.setBlock(x + 10, y + -1, z + 7, Blocks.stone_brick_stairs, 7, 3); - world.setBlock(x + 11, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + -1, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 8, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 8, Block3, 0, 3); - world.setBlock(x + 12, y + -1, z + 8, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 9, Blocks.stone_brick_stairs, 5, 3); - world.setBlock(x + 7, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 9, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 13, y + -1, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 10, Blocks.stone_brick_stairs, 5, 3); - world.setBlock(x + 7, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 10, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 13, y + -1, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 11, Blocks.stone_brick_stairs, 5, 3); - world.setBlock(x + 7, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 11, Blocks.stone_brick_stairs, 4, 3); - world.setBlock(x + 13, y + -1, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 8, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 12, Block3, 0, 3); - world.setBlock(x + 12, y + -1, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 13, Blocks.stone_brick_stairs, 6, 3); - world.setBlock(x + 9, y + -1, z + 13, Blocks.stone_brick_stairs, 6, 3); - world.setBlock(x + 10, y + -1, z + 13, Blocks.stone_brick_stairs, 6, 3); - world.setBlock(x + 11, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + -1, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + -1, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 0, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 1, Block3, 0, 3); - world.setBlock(x + 10, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 1, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 2, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 3, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 4, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 5, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 5, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 5, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 5, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 12, y + 0, z + 6, Block1, 0, 3); - world.setBlock(x + 5, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 12, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 13, y + 0, z + 7, Block1, 0, 3); - world.setBlock(x + 5, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 12, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 13, y + 0, z + 8, Block1, 0, 3); - world.setBlock(x + 4, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 5, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 13, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 14, y + 0, z + 9, Block1, 0, 3); - world.setBlock(x + 4, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 5, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 13, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 14, y + 0, z + 10, Block1, 0, 3); - world.setBlock(x + 4, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 13, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 14, y + 0, z + 11, Block1, 0, 3); - world.setBlock(x + 5, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 12, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 13, y + 0, z + 12, Block1, 0, 3); - world.setBlock(x + 5, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 12, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 13, y + 0, z + 13, Block1, 0, 3); - world.setBlock(x + 6, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 7, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 11, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 12, y + 0, z + 14, Block1, 0, 3); - world.setBlock(x + 8, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 9, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 10, y + 0, z + 15, Block1, 0, 3); - world.setBlock(x + 8, y + 1, z + 1, Block6, 0, 3); - world.setBlock(x + 9, y + 1, z + 1, Block6, 0, 3); - world.setBlock(x + 10, y + 1, z + 1, Block6, 0, 3); - world.setBlock(x + 8, y + 1, z + 2, Block6, 0, 3); - world.setBlock(x + 10, y + 1, z + 2, Block6, 0, 3); - world.setBlock(x + 8, y + 1, z + 3, Block6, 0, 3); - world.setBlock(x + 9, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 3, Block6, 0, 3); - world.setBlock(x + 8, y + 1, z + 7, Block6, 0, 3); - world.setBlock(x + 9, y + 1, z + 7, Block6, 0, 3); - world.setBlock(x + 10, y + 1, z + 7, Block6, 0, 3); - world.setBlock(x + 7, y + 1, z + 8, Block6, 0, 3); - world.setBlock(x + 8, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 8, Block6, 0, 3); - world.setBlock(x + 6, y + 1, z + 9, Block6, 0, 3); - world.setBlock(x + 7, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 1, z + 9, Block6, 0, 3); - world.setBlock(x + 6, y + 1, z + 10, Block6, 0, 3); - world.setBlock(x + 7, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 1, z + 10, Block6, 0, 3); - world.setBlock(x + 6, y + 1, z + 11, Block6, 0, 3); - world.setBlock(x + 7, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 1, z + 11, Block6, 0, 3); - world.setBlock(x + 7, y + 1, z + 12, Block6, 0, 3); - world.setBlock(x + 8, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 12, Block6, 0, 3); - world.setBlock(x + 8, y + 1, z + 13, Block6, 0, 3); - world.setBlock(x + 9, y + 1, z + 13, Block6, 0, 3); - world.setBlock(x + 10, y + 1, z + 13, Block6, 0, 3); - - generate_r03_last(world, rand, x, y, z); - return true; - - } - public boolean generate_r03_last(World world, Random rand, int x, int y, int z) - { - - world.setBlock(x + 13, y + -20, z + 5, Blocks.unlit_redstone_torch, 2, 3); - world.setBlock(x + 8, y + -20, z + 7, Blocks.ladder, 5, 3); - world.setBlock(x + 10, y + -20, z + 7, Blocks.ladder, 4, 3); - world.setBlock(x + 13, y + -19, z + 5, Blocks.redstone_torch, 1, 3); - world.setBlock(x + 8, y + -19, z + 7, Blocks.ladder, 5, 3); - world.setBlock(x + 10, y + -19, z + 7, Blocks.ladder, 4, 3); - world.setBlock(x + 13, y + -18, z + 5, Blocks.unlit_redstone_torch, 2, 3); - world.setBlock(x + 8, y + -18, z + 7, Blocks.ladder, 5, 3); - world.setBlock(x + 10, y + -18, z + 7, Blocks.ladder, 4, 3); - world.setBlock(x + 9, y + -17, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 13, y + -17, z + 5, Blocks.redstone_torch, 1, 3); - world.setBlock(x + 8, y + -17, z + 7, Blocks.ladder, 5, 3); - world.setBlock(x + 10, y + -17, z + 7, Blocks.ladder, 4, 3); - world.setBlock(x + 9, y + -16, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 13, y + -16, z + 5, Blocks.unlit_redstone_torch, 2, 3); - world.setBlock(x + 9, y + -15, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 13, y + -15, z + 5, Blocks.redstone_torch, 1, 3); - world.setBlock(x + 9, y + -14, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -13, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -13, z + 5, Blocks.unlit_redstone_torch, 1, 3); - world.setBlock(x + 9, y + -12, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -11, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 8, y + -11, z + 5, Blocks.redstone_torch, 2, 3); - world.setBlock(x + 9, y + -10, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -9, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 8, y + -9, z + 3, Blocks.wall_sign, 4, 3); - world.setBlock(x + 10, y + -9, z + 3, Blocks.wall_sign, 5, 3); - world.setBlock(x + 9, y + -8, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -8, z + 5, Blocks.lever, 5, 3); - world.setBlock(x + 9, y + -7, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -6, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -5, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -4, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -3, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -2, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + -1, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + 0, z + 2, Blocks.ladder, 3, 3); - world.setBlock(x + 9, y + 1, z + 2, Blocks.ladder, 3, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned missile silo at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Silo extends WorldGenerator +{ + Block Block1 = ModBlocks.brick_concrete; + Block Block2 = ModBlocks.launch_pad; + Block Block3 = ModBlocks.reinforced_light; + Block Block4 = ModBlocks.tape_recorder; + Block Block5 = ModBlocks.reinforced_glass; + Block Block6 = ModBlocks.block_steel; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.stone, + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x + 10, y, z + 10)) + { + return false; + } + + world.setBlock(x + 7, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -21, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 13, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 15, y + -21, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -21, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 13, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 14, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 15, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 17, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 18, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 19, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 20, y + -21, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 13, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 14, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 15, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 16, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 17, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 18, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 20, y + -21, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 13, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 14, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 15, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 16, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 18, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + -21, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 13, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 14, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 15, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 16, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + -21, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 13, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 14, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 15, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 16, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + -21, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -21, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 15, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 16, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 16, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 17, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 17, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 17, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 18, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 18, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 18, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -21, z + 19, Block1, 0, 3); + world.setBlock(x + 8, y + -21, z + 19, Block1, 0, 3); + world.setBlock(x + 9, y + -21, z + 19, Block1, 0, 3); + world.setBlock(x + 10, y + -21, z + 19, Block1, 0, 3); + world.setBlock(x + 11, y + -21, z + 19, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -20, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -20, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -20, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + -20, z + 5, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 14, y + -20, z + 5, Block1, 0, 3); + world.setBlock(x + 15, y + -20, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + -20, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + -20, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + -20, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -20, z + 6, Blocks.unpowered_repeater, 2, 3); + world.setBlock(x + 13, y + -20, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -20, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -20, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -20, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -20, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -20, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -20, z + 8, Blocks.unpowered_repeater, 2, 3); + world.setBlock(x + 13, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 14, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 15, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 17, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 18, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 19, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 20, y + -20, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -20, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -20, z + 9, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 13, y + -20, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 15, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 16, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 17, y + -20, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 18, y + -20, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + -20, z + 9, Block1, 0, 3); + world.setBlock(x + 20, y + -20, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -20, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 10, Block2, 0, 3); + world.setBlock(x + 10, y + -20, z + 10, Blocks.unpowered_repeater, 3, 3); + world.setBlock(x + 11, y + -20, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 12, y + -20, z + 10, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 13, y + -20, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 15, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 16, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 17, y + -20, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 18, y + -20, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + -20, z + 10, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 19, y + -20, z + 10, 5, 3); + if(world.getBlock(x + 19, y + -20, z + 10) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 19, y + -20, z + 10), rand.nextInt(2)+ 6); + } + world.setBlock(x + 20, y + -20, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -20, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -20, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 15, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 16, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 17, y + -20, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 18, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + -20, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 13, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 14, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 15, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 16, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + -20, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -20, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -20, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + -20, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + -20, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + -20, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -20, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -20, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -20, z + 19, Block1, 0, 3); + world.setBlock(x + 8, y + -20, z + 19, Block1, 0, 3); + world.setBlock(x + 9, y + -20, z + 19, Block1, 0, 3); + world.setBlock(x + 10, y + -20, z + 19, Block1, 0, 3); + world.setBlock(x + 11, y + -20, z + 19, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -19, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -19, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -19, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + -19, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + -19, z + 5, Blocks.redstone_wire, 15, 3); + world.setBlock(x + 15, y + -19, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + -19, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + -19, z + 6, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + -19, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -19, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -19, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -19, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -19, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -19, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -19, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -19, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -19, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 14, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 15, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 17, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 18, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 19, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 20, y + -19, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -19, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -19, z + 9, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 15, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 16, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 17, y + -19, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 18, y + -19, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + -19, z + 9, Block1, 0, 3); + world.setBlock(x + 20, y + -19, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -19, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -19, z + 10, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 15, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 16, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 17, y + -19, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 18, y + -19, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + -19, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + -19, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -19, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 6, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -19, z + 11, Blocks.iron_bars, 0, 3); + world.setBlock(x + 14, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 15, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 16, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 17, y + -19, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 18, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + -19, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 13, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 14, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 15, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 16, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + -19, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -19, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -19, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 9, y + -19, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 10, y + -19, z + 14, Blocks.iron_bars, 0, 3); + world.setBlock(x + 11, y + -19, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -19, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -19, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -19, z + 19, Block1, 0, 3); + world.setBlock(x + 8, y + -19, z + 19, Block1, 0, 3); + world.setBlock(x + 9, y + -19, z + 19, Block1, 0, 3); + world.setBlock(x + 10, y + -19, z + 19, Block1, 0, 3); + world.setBlock(x + 11, y + -19, z + 19, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 2, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -18, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + -18, z + 5, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 14, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 15, y + -18, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -18, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -18, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -18, z + 7, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -18, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 13, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 14, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 15, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 16, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 17, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 18, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 19, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 20, y + -18, z + 8, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -18, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 14, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 15, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 16, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 17, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 18, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 19, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 20, y + -18, z + 9, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -18, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 14, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 15, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 16, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 17, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 18, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 19, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 20, y + -18, z + 10, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -18, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 14, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 15, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 16, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 17, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 18, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 19, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 20, y + -18, z + 11, Block1, 0, 3); + world.setBlock(x + 0, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 1, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 2, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 3, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 4, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -18, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 13, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 14, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 15, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 16, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 17, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 18, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 19, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 20, y + -18, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -18, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -18, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -18, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -18, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 15, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 15, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 16, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 16, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 16, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 16, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 16, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 17, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 17, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 17, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 17, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 17, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 18, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 18, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 18, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 18, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 18, Block1, 0, 3); + world.setBlock(x + 7, y + -18, z + 19, Block1, 0, 3); + world.setBlock(x + 8, y + -18, z + 19, Block1, 0, 3); + world.setBlock(x + 9, y + -18, z + 19, Block1, 0, 3); + world.setBlock(x + 10, y + -18, z + 19, Block1, 0, 3); + world.setBlock(x + 11, y + -18, z + 19, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -17, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 2, Blocks.chest, 3, 3); + world.setBlockMetadataWithNotify(x + 8, y + -17, z + 2, 3, 3); + if(world.getBlock(x + 8, y + -17, z + 2) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(7), (TileEntityChest)world.getTileEntity(x + 8, y + -17, z + 2), rand.nextInt(2)+ 6); + } + world.setBlock(x + 10, y + -17, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -17, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + -17, z + 5, Blocks.redstone_wire, 15, 3); + world.setBlock(x + 15, y + -17, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -17, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -17, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -17, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -17, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -17, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -17, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -17, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -17, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -17, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -17, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -17, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -17, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -17, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -16, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -16, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -16, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -16, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 4, Block3, 0, 3); + world.setBlock(x + 8, y + -16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 4, Block3, 0, 3); + world.setBlock(x + 12, y + -16, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -16, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -16, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -16, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + -16, z + 5, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 14, y + -16, z + 5, Block1, 0, 3); + world.setBlock(x + 15, y + -16, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -16, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -16, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -16, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -16, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -16, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -16, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -16, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -16, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -16, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -16, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -16, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -16, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -16, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -16, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -16, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -16, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -16, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -16, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -16, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -16, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -16, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -16, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -16, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -16, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -16, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -16, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -16, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -15, z + 1, Block3, 0, 3); + world.setBlock(x + 10, y + -15, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -15, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -15, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -15, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -15, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -15, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + -15, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + -15, z + 5, Blocks.redstone_wire, 15, 3); + world.setBlock(x + 15, y + -15, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -15, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -15, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -15, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -15, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -15, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -15, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -15, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -15, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -15, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -15, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -15, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -15, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -15, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -15, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -15, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -15, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -15, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -15, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -15, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -15, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -15, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -15, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -15, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -15, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -15, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -15, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -15, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -14, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -14, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -14, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -14, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -14, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -14, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -14, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -14, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -14, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -14, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -14, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -14, z + 5, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 12, y + -14, z + 5, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 13, y + -14, z + 5, Blocks.stone_slab, 8, 3); + world.setBlock(x + 14, y + -14, z + 5, Block1, 0, 3); + world.setBlock(x + 15, y + -14, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -14, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -14, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -14, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -14, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -14, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -14, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -14, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -14, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -14, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -14, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -14, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -14, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -14, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -14, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -14, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -14, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -14, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -14, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -14, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -14, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -14, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -14, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -14, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -14, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -14, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -14, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -14, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -14, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -13, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -13, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -13, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -13, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -13, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -13, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -13, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -13, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -13, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -13, z + 5, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 11, y + -13, z + 5, Blocks.stone_slab, 8, 3); + world.setBlock(x + 12, y + -13, z + 5, Block1, 0, 3); + world.setBlock(x + 13, y + -13, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + -13, z + 5, Block1, 0, 3); + world.setBlock(x + 15, y + -13, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -13, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -13, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -13, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -13, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -13, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -13, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -13, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -13, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -13, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -13, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -13, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -13, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -13, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -13, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -13, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -13, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -13, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -13, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -13, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -13, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -13, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -13, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -13, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -13, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -13, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -13, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -13, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -13, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -12, z + 1, Block3, 0, 3); + world.setBlock(x + 10, y + -12, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -12, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -12, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -12, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -12, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -12, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -12, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 13, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 14, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 15, y + -12, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 5, Blocks.redstone_wire, 15, 3); + world.setBlock(x + 9, y + -12, z + 5, Blocks.stone_slab, 8, 3); + world.setBlock(x + 10, y + -12, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -12, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + -12, z + 5, Block1, 0, 3); + world.setBlock(x + 13, y + -12, z + 5, Block1, 0, 3); + world.setBlock(x + 14, y + -12, z + 5, Block1, 0, 3); + world.setBlock(x + 15, y + -12, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 13, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 14, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 15, y + -12, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -12, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -12, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -12, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -12, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -12, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -12, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -12, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -12, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -12, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -12, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -12, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -12, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -12, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -12, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -12, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -12, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -12, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -12, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -12, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -12, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -12, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -12, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -12, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -12, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -12, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -12, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -12, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -11, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -11, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -11, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -11, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -11, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -11, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -11, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -11, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -11, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -11, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -11, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -11, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -11, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -11, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -11, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -11, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -11, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -11, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -11, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -11, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -11, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -11, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -11, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -11, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -11, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -11, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -11, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -11, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -11, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -11, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -11, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -11, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -11, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -11, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -11, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -11, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -11, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -11, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -11, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -11, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -11, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -11, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -11, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -11, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -11, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -11, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -11, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -11, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -10, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -10, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -10, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -10, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -10, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -10, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -10, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -10, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -10, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -10, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -10, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -10, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -10, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -10, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -10, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -10, z + 5, Blocks.redstone_wire, 0, 3); + world.setBlock(x + 10, y + -10, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -10, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -10, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -10, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -10, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -10, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -10, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -10, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -10, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -10, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -10, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -10, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -10, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -10, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -10, z + 9, Blocks.air, 0, 3); + + generate_r02(world, rand, x, y, z); + return true; + + } + public boolean generate_r02(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 11, y + -10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -10, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -10, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -10, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -10, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -10, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -10, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -10, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -10, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -10, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -10, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -10, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -10, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -10, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -10, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -10, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -10, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -10, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -10, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -10, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -9, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -9, z + 1, Block3, 0, 3); + world.setBlock(x + 10, y + -9, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -9, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -9, z + 3, Blocks.stone_stairs, 3, 3); + world.setBlock(x + 11, y + -9, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -9, z + 4, Blocks.web, 0, 3); + world.setBlock(x + 9, y + -9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -9, z + 5, Blocks.chest, 2, 3); + world.setBlockMetadataWithNotify(x + 8, y + -9, z + 5, 3, 3); + if(world.getBlock(x + 8, y + -9, z + 5) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(1), (TileEntityChest)world.getTileEntity(x + 8, y + -9, z + 5), rand.nextInt(2)+ 8); + } + world.setBlock(x + 8, y + -10, z + 5, Blocks.stone_slab, 8, 3); + world.setBlock(x + 9, y + -9, z + 5, Blocks.planks, 0, 3); + world.setBlock(x + 10, y + -9, z + 5, Block4, 2, 3); + world.setBlock(x + 11, y + -9, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -9, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -9, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -9, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -9, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -9, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -9, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -9, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -9, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -9, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -9, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -9, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -9, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -9, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -9, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -9, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -9, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -9, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -9, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -9, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -9, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -9, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -9, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -9, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -9, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -9, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -9, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -9, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -8, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -8, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -8, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -8, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -8, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -8, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 4, Block3, 0, 3); + world.setBlock(x + 8, y + -8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 4, Block3, 0, 3); + world.setBlock(x + 7, y + -8, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -8, z + 6, Block5, 0, 3); + world.setBlock(x + 9, y + -8, z + 6, Block5, 0, 3); + world.setBlock(x + 10, y + -8, z + 6, Block5, 0, 3); + world.setBlock(x + 11, y + -8, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -8, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -8, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -8, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -8, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -8, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -8, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -8, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -8, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -8, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -8, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -8, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -8, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -8, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -8, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -8, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -8, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -8, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -8, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -8, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -8, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -8, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -8, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -8, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -7, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -7, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -7, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 2, Blocks.web, 0, 3); + world.setBlock(x + 10, y + -7, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 5, Blocks.web, 0, 3); + world.setBlock(x + 11, y + -7, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 6, Block5, 0, 3); + world.setBlock(x + 9, y + -7, z + 6, Block5, 0, 3); + world.setBlock(x + 10, y + -7, z + 6, Block5, 0, 3); + world.setBlock(x + 11, y + -7, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -7, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -7, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -7, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -7, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -7, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -7, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -7, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -7, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -7, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -7, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -7, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -7, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -7, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -7, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -7, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -7, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -7, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -7, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -7, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -7, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -7, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -7, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -7, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -7, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -7, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -7, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -7, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -7, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -7, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -7, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -7, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -6, z + 1, Block3, 0, 3); + world.setBlock(x + 10, y + -6, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + -6, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -6, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + -6, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -6, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -6, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + -6, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + -6, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + -6, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + -6, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + -6, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + -6, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + -6, z + 5, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -6, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -6, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + -6, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -6, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -6, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -6, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -6, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -6, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -6, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -6, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -6, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -6, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -6, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -6, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -6, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -6, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -6, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -6, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -6, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -6, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -6, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -6, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -6, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -6, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -6, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -6, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -6, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -6, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -6, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -6, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -6, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -6, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -6, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -6, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -6, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -6, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -5, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -5, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -5, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -5, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -5, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -5, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -5, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -5, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -5, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -5, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -5, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -5, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -5, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -5, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -5, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -5, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -5, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -4, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -4, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -4, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -4, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -4, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -4, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -4, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -4, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -4, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -4, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -4, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -4, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -4, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -4, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -4, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -4, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -4, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -4, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -4, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -4, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -4, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -4, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -4, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -4, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -4, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -4, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -4, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -4, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -4, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -4, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -4, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 1, Block3, 0, 3); + world.setBlock(x + 10, y + -3, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -3, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -3, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -3, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -3, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -3, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -3, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -3, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -3, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -2, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -2, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -2, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 13, y + -2, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -2, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -2, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 6, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 7, Blocks.stone_brick_stairs, 7, 3); + world.setBlock(x + 9, y + -1, z + 7, Blocks.stone_brick_stairs, 7, 3); + world.setBlock(x + 10, y + -1, z + 7, Blocks.stone_brick_stairs, 7, 3); + world.setBlock(x + 11, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + -1, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 8, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 8, Block3, 0, 3); + world.setBlock(x + 12, y + -1, z + 8, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 9, Blocks.stone_brick_stairs, 5, 3); + world.setBlock(x + 7, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 9, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 13, y + -1, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 10, Blocks.stone_brick_stairs, 5, 3); + world.setBlock(x + 7, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 10, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 13, y + -1, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 11, Blocks.stone_brick_stairs, 5, 3); + world.setBlock(x + 7, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 11, Blocks.stone_brick_stairs, 4, 3); + world.setBlock(x + 13, y + -1, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 8, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 12, Block3, 0, 3); + world.setBlock(x + 12, y + -1, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 13, Blocks.stone_brick_stairs, 6, 3); + world.setBlock(x + 9, y + -1, z + 13, Blocks.stone_brick_stairs, 6, 3); + world.setBlock(x + 10, y + -1, z + 13, Blocks.stone_brick_stairs, 6, 3); + world.setBlock(x + 11, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + -1, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + -1, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 0, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 1, Block3, 0, 3); + world.setBlock(x + 10, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 1, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 2, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 3, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 4, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 5, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 5, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 5, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 5, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 12, y + 0, z + 6, Block1, 0, 3); + world.setBlock(x + 5, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 12, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 13, y + 0, z + 7, Block1, 0, 3); + world.setBlock(x + 5, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 12, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 13, y + 0, z + 8, Block1, 0, 3); + world.setBlock(x + 4, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 5, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 13, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 14, y + 0, z + 9, Block1, 0, 3); + world.setBlock(x + 4, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 5, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 13, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 14, y + 0, z + 10, Block1, 0, 3); + world.setBlock(x + 4, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 13, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 14, y + 0, z + 11, Block1, 0, 3); + world.setBlock(x + 5, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 12, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 13, y + 0, z + 12, Block1, 0, 3); + world.setBlock(x + 5, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 12, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 13, y + 0, z + 13, Block1, 0, 3); + world.setBlock(x + 6, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 7, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 11, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 12, y + 0, z + 14, Block1, 0, 3); + world.setBlock(x + 8, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 9, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 10, y + 0, z + 15, Block1, 0, 3); + world.setBlock(x + 8, y + 1, z + 1, Block6, 0, 3); + world.setBlock(x + 9, y + 1, z + 1, Block6, 0, 3); + world.setBlock(x + 10, y + 1, z + 1, Block6, 0, 3); + world.setBlock(x + 8, y + 1, z + 2, Block6, 0, 3); + world.setBlock(x + 10, y + 1, z + 2, Block6, 0, 3); + world.setBlock(x + 8, y + 1, z + 3, Block6, 0, 3); + world.setBlock(x + 9, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 3, Block6, 0, 3); + world.setBlock(x + 8, y + 1, z + 7, Block6, 0, 3); + world.setBlock(x + 9, y + 1, z + 7, Block6, 0, 3); + world.setBlock(x + 10, y + 1, z + 7, Block6, 0, 3); + world.setBlock(x + 7, y + 1, z + 8, Block6, 0, 3); + world.setBlock(x + 8, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 8, Block6, 0, 3); + world.setBlock(x + 6, y + 1, z + 9, Block6, 0, 3); + world.setBlock(x + 7, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 1, z + 9, Block6, 0, 3); + world.setBlock(x + 6, y + 1, z + 10, Block6, 0, 3); + world.setBlock(x + 7, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 1, z + 10, Block6, 0, 3); + world.setBlock(x + 6, y + 1, z + 11, Block6, 0, 3); + world.setBlock(x + 7, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 1, z + 11, Block6, 0, 3); + world.setBlock(x + 7, y + 1, z + 12, Block6, 0, 3); + world.setBlock(x + 8, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 12, Block6, 0, 3); + world.setBlock(x + 8, y + 1, z + 13, Block6, 0, 3); + world.setBlock(x + 9, y + 1, z + 13, Block6, 0, 3); + world.setBlock(x + 10, y + 1, z + 13, Block6, 0, 3); + + generate_r03_last(world, rand, x, y, z); + return true; + + } + public boolean generate_r03_last(World world, Random rand, int x, int y, int z) + { + + world.setBlock(x + 13, y + -20, z + 5, Blocks.unlit_redstone_torch, 2, 3); + world.setBlock(x + 8, y + -20, z + 7, Blocks.ladder, 5, 3); + world.setBlock(x + 10, y + -20, z + 7, Blocks.ladder, 4, 3); + world.setBlock(x + 13, y + -19, z + 5, Blocks.redstone_torch, 1, 3); + world.setBlock(x + 8, y + -19, z + 7, Blocks.ladder, 5, 3); + world.setBlock(x + 10, y + -19, z + 7, Blocks.ladder, 4, 3); + world.setBlock(x + 13, y + -18, z + 5, Blocks.unlit_redstone_torch, 2, 3); + world.setBlock(x + 8, y + -18, z + 7, Blocks.ladder, 5, 3); + world.setBlock(x + 10, y + -18, z + 7, Blocks.ladder, 4, 3); + world.setBlock(x + 9, y + -17, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 13, y + -17, z + 5, Blocks.redstone_torch, 1, 3); + world.setBlock(x + 8, y + -17, z + 7, Blocks.ladder, 5, 3); + world.setBlock(x + 10, y + -17, z + 7, Blocks.ladder, 4, 3); + world.setBlock(x + 9, y + -16, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 13, y + -16, z + 5, Blocks.unlit_redstone_torch, 2, 3); + world.setBlock(x + 9, y + -15, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 13, y + -15, z + 5, Blocks.redstone_torch, 1, 3); + world.setBlock(x + 9, y + -14, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -13, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -13, z + 5, Blocks.unlit_redstone_torch, 1, 3); + world.setBlock(x + 9, y + -12, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -11, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 8, y + -11, z + 5, Blocks.redstone_torch, 2, 3); + world.setBlock(x + 9, y + -10, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -9, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 8, y + -9, z + 3, Blocks.wall_sign, 4, 3); + world.setBlock(x + 10, y + -9, z + 3, Blocks.wall_sign, 5, 3); + world.setBlock(x + 9, y + -8, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -8, z + 5, Blocks.lever, 5, 3); + world.setBlock(x + 9, y + -7, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -6, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -5, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -4, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -3, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -2, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + -1, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + 0, z + 2, Blocks.ladder, 3, 3); + world.setBlock(x + 9, y + 1, z + 2, Blocks.ladder, 3, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned missile silo at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Spaceship.java b/com/hbm/world/Spaceship.java index cf6baf05c..162c97a8a 100644 --- a/com/hbm/world/Spaceship.java +++ b/com/hbm/world/Spaceship.java @@ -1,1120 +1,1120 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Spaceship extends WorldGenerator -{ - Block Block1 = ModBlocks.block_tungsten; - Block Block2 = ModBlocks.fusion_conductor; - Block Block3 = ModBlocks.block_steel; - Block Block4 = ModBlocks.fusion_heater; - Block Block5 = ModBlocks.block_meteor; - Block Block6 = ModBlocks.reactor_element; - Block Block7 = ModBlocks.fusion_core; - Block Block8 = ModBlocks.fusion_hatch; - Block Block9 = ModBlocks.reinforced_light; - Block Block10 = ModBlocks.reinforced_glass; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.grass, - Blocks.dirt, - Blocks.stone, - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - if(!LocationIsValidSpawn(world, x, y, z) || !LocationIsValidSpawn(world, x + 12, y, z) || !LocationIsValidSpawn(world, x, y, z + 23) || !LocationIsValidSpawn(world, x + 12, y, z + 23)) - { - return false; - } - - y += 1; - - world.setBlock(x + 2, y + -3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -3, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 3, y + -3, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 18, Block1, 0, 3); - world.setBlock(x + 2, y + -3, z + 19, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -3, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -3, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 19, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 20, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -3, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -3, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -3, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 20, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 21, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 21, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 22, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 22, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 23, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -3, z + 23, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 23, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -3, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 23, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 24, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 24, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 24, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 24, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 24, Block3, 0, 3); - world.setBlock(x + 9, y + -3, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 24, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 25, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 25, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 25, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 25, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 25, Block3, 0, 3); - world.setBlock(x + 9, y + -3, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 25, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 26, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 26, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 26, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 26, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 26, Block3, 0, 3); - world.setBlock(x + 9, y + -3, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 26, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 27, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 27, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 27, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 27, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 27, Block3, 0, 3); - world.setBlock(x + 9, y + -3, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 27, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 28, Block2, 0, 3); - world.setBlock(x + 3, y + -3, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 28, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 28, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 28, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 28, Block3, 0, 3); - world.setBlock(x + 9, y + -3, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 28, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 3, y + -3, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 9, y + -3, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -3, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -3, z + 29, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 30, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 3, y + -3, z + 30, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 4, y + -3, z + 30, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 5, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 30, Block3, 0, 3); - world.setBlock(x + 9, y + -3, z + 30, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + -3, z + 30, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 11, y + -3, z + 30, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 2, y + -3, z + 31, Block2, 0, 3); - world.setBlock(x + 5, y + -3, z + 31, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 31, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 31, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 31, Block3, 0, 3); - world.setBlock(x + 11, y + -3, z + 31, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 32, Block3, 0, 3); - world.setBlock(x + 5, y + -3, z + 32, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 32, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 32, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 32, Block3, 0, 3); - world.setBlock(x + 11, y + -3, z + 32, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 33, Block3, 0, 3); - world.setBlock(x + 5, y + -3, z + 33, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 33, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 33, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 33, Block3, 0, 3); - world.setBlock(x + 11, y + -3, z + 33, Block3, 0, 3); - world.setBlock(x + 2, y + -3, z + 34, Block2, 0, 3); - world.setBlock(x + 5, y + -3, z + 34, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 34, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 34, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 34, Block3, 0, 3); - world.setBlock(x + 11, y + -3, z + 34, Block2, 0, 3); - world.setBlock(x + 2, y + -3, z + 35, Block4, 0, 3); - world.setBlock(x + 5, y + -3, z + 35, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 35, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 35, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 35, Block3, 0, 3); - world.setBlock(x + 11, y + -3, z + 35, Block4, 0, 3); - world.setBlock(x + 5, y + -3, z + 36, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 6, y + -3, z + 36, Block3, 0, 3); - world.setBlock(x + 7, y + -3, z + 36, Block3, 0, 3); - world.setBlock(x + 8, y + -3, z + 36, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 5, y + -3, z + 37, Block3, 0, 3); - world.setBlock(x + 6, y + -3, z + 37, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 37, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 37, Block3, 0, 3); - world.setBlock(x + 4, y + -3, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 38, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 38, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 38, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 38, Block1, 0, 3); - world.setBlock(x + 4, y + -3, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 39, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 39, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 39, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 39, Block1, 0, 3); - world.setBlock(x + 9, y + -3, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -3, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -3, z + 40, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 40, Block1, 0, 3); - world.setBlock(x + 8, y + -3, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -3, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -3, z + 41, Block1, 0, 3); - world.setBlock(x + 7, y + -3, z + 41, Block1, 0, 3); - world.setBlock(x + 6, y + -3, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 2, y + -2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 4, y + -2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 11, y + -2, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 18, Block1, 0, 3); - world.setBlock(x + 1, y + -2, z + 19, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 19, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 19, Block2, 0, 3); - world.setBlock(x + 11, y + -2, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 19, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 20, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 21, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 22, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 22, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 22, Block2, 0, 3); - world.setBlock(x + 11, y + -2, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 22, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 23, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 9, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 24, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 25, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 25, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 25, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 5, y + -2, z + 25, 5, 3); - if(world.getBlock(x + 5, y + -2, z + 25) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(8), (TileEntityChest)world.getTileEntity(x + 5, y + -2, z + 25), 12); - } - world.setBlock(x + 6, y + -2, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 25, Blocks.chest, 4, 3); - world.setBlockMetadataWithNotify(x + 8, y + -2, z + 25, 4, 3); - if(world.getBlock(x + 8, y + -2, z + 25) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(8), (TileEntityChest)world.getTileEntity(x + 8, y + -2, z + 25), 12); - } - world.setBlock(x + 9, y + -2, z + 25, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 25, Block2, 0, 3); - world.setBlock(x + 11, y + -2, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 25, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 26, Blocks.chest, 5, 3); - world.setBlockMetadataWithNotify(x + 5, y + -2, z + 26, 5, 3); - if(world.getBlock(x + 5, y + -2, z + 26) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(8), (TileEntityChest)world.getTileEntity(x + 5, y + -2, z + 26), 12); - } - world.setBlock(x + 6, y + -2, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 26, Blocks.chest, 4, 3); - world.setBlockMetadataWithNotify(x + 8, y + -2, z + 26, 4, 3); - if(world.getBlock(x + 8, y + -2, z + 26) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(8), (TileEntityChest)world.getTileEntity(x + 8, y + -2, z + 26), 12); - } - world.setBlock(x + 9, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 26, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 27, ModBlocks.machine_reactor, 3, 3); - world.setBlock(x + 6, y + -2, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 27, ModBlocks.machine_reactor, 4, 3); - world.setBlock(x + 9, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 27, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 28, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 28, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 28, Block5, 0, 3); - world.setBlock(x + 6, y + -2, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 28, Block5, 0, 3); - world.setBlock(x + 9, y + -2, z + 28, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 28, Block2, 0, 3); - world.setBlock(x + 11, y + -2, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 28, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 29, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 30, Block6, 0, 3); - world.setBlock(x + 4, y + -2, z + 30, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 5, y + -2, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 30, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 10, y + -2, z + 30, Block6, 0, 3); - world.setBlock(x + 11, y + -2, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 30, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 31, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 31, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 31, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 31, Block2, 0, 3); - world.setBlock(x + 11, y + -2, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 31, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 32, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 32, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 32, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 32, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 32, Block2, 0, 3); - world.setBlock(x + 6, y + -2, z + 32, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 32, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 32, Block2, 0, 3); - world.setBlock(x + 9, y + -2, z + 32, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 32, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 32, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 32, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 2, y + -2, z + 33, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 33, Block2, 0, 3); - world.setBlock(x + 6, y + -2, z + 33, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 33, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 33, Block2, 0, 3); - world.setBlock(x + 9, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 11, y + -2, z + 33, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 33, Block3, 0, 3); - world.setBlock(x + 1, y + -2, z + 34, Block2, 0, 3); - world.setBlock(x + 2, y + -2, z + 34, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 34, Block2, 0, 3); - world.setBlock(x + 4, y + -2, z + 34, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 34, Block2, 0, 3); - world.setBlock(x + 6, y + -2, z + 34, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 34, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 34, Block2, 0, 3); - world.setBlock(x + 9, y + -2, z + 34, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 34, Block2, 0, 3); - world.setBlock(x + 11, y + -2, z + 34, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 34, Block2, 0, 3); - world.setBlock(x + 1, y + -2, z + 35, Block4, 0, 3); - world.setBlock(x + 2, y + -2, z + 35, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -2, z + 35, Block4, 0, 3); - world.setBlock(x + 4, y + -2, z + 35, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 35, ModBlocks.machine_battery, 5, 3); - world.setBlock(x + 6, y + -2, z + 35, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 35, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 35, ModBlocks.machine_battery, 4, 3); - world.setBlock(x + 9, y + -2, z + 35, Block3, 0, 3); - world.setBlock(x + 10, y + -2, z + 35, Block4, 0, 3); - world.setBlock(x + 11, y + -2, z + 35, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -2, z + 35, Block4, 0, 3); - world.setBlock(x + 2, y + -2, z + 36, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 3, y + -2, z + 36, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 4, y + -2, z + 36, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 5, y + -2, z + 36, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 6, y + -2, z + 36, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 36, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 36, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 9, y + -2, z + 36, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 10, y + -2, z + 36, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 11, y + -2, z + 36, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 4, y + -2, z + 37, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 37, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 37, Blocks.stone_stairs, 3, 3); - world.setBlock(x + 7, y + -2, z + 37, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 37, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -2, z + 37, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 38, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 38, Blocks.chest, 2, 3); - world.setBlockMetadataWithNotify(x + 8, y + -2, z + 38, 2, 3); - if(world.getBlock(x + 8, y + -2, z + 38) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 8, y + -2, z + 38), 12); - } - world.setBlock(x + 9, y + -2, z + 38, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 39, Block3, 0, 3); - world.setBlock(x + 5, y + -2, z + 39, Block3, 0, 3); - world.setBlock(x + 6, y + -2, z + 39, Block7, 0, 3); - world.setBlock(x + 7, y + -2, z + 39, Block8, 2, 3); - world.setBlock(x + 8, y + -2, z + 39, Block3, 0, 3); - world.setBlock(x + 9, y + -2, z + 39, Block3, 0, 3); - world.setBlock(x + 4, y + -2, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 40, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 40, Block4, 0, 3); - world.setBlock(x + 7, y + -2, z + 40, Block4, 0, 3); - world.setBlock(x + 8, y + -2, z + 40, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -2, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 41, Block1, 0, 3); - world.setBlock(x + 6, y + -2, z + 41, Block4, 0, 3); - world.setBlock(x + 7, y + -2, z + 41, Block4, 0, 3); - world.setBlock(x + 8, y + -2, z + 41, Block1, 0, 3); - world.setBlock(x + 9, y + -2, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 42, Block1, 0, 3); - world.setBlock(x + 7, y + -2, z + 42, Block1, 0, 3); - world.setBlock(x + 8, y + -2, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -2, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -2, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -2, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -2, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 1, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 12, y + -1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 3, y + -1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 18, Block1, 0, 3); - world.setBlock(x + 2, y + -1, z + 19, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 19, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 20, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 20, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 21, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 21, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 22, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 22, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 23, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + -1, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 23, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 24, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 24, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 24, Block3, 0, 3); - world.setBlock(x + 6, y + -1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 24, Block3, 0, 3); - world.setBlock(x + 9, y + -1, z + 24, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 24, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 25, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 25, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 25, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 25, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 26, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 26, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 26, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 26, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 27, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 27, Block9, 0, 3); - world.setBlock(x + 5, y + -1, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 27, Block9, 0, 3); - world.setBlock(x + 10, y + -1, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 27, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 28, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 28, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 28, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 11, y + -1, z + 28, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 29, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 29, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 29, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 29, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 29, Block3, 0, 3); - world.setBlock(x + 11, y + -1, z + 29, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 30, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 30, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 4, y + -1, z + 30, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 5, y + -1, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 30, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 30, ModBlocks.red_cable, 0, 3); - world.setBlock(x + 10, y + -1, z + 30, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 11, y + -1, z + 30, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 31, Block2, 0, 3); - world.setBlock(x + 3, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 31, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 31, Block3, 0, 3); - world.setBlock(x + 11, y + -1, z + 31, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 32, Block3, 0, 3); - world.setBlock(x + 3, y + -1, z + 32, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 32, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 32, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 32, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 32, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 32, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 32, Block3, 0, 3); - world.setBlock(x + 10, y + -1, z + 32, Block3, 0, 3); - world.setBlock(x + 11, y + -1, z + 32, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 4, y + -1, z + 33, Block9, 0, 3); - world.setBlock(x + 5, y + -1, z + 33, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 33, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 33, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 33, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 33, Block9, 0, 3); - world.setBlock(x + 11, y + -1, z + 33, Block3, 0, 3); - world.setBlock(x + 2, y + -1, z + 34, Block2, 0, 3); - world.setBlock(x + 4, y + -1, z + 34, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 34, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 34, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 34, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 34, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 34, Block3, 0, 3); - world.setBlock(x + 11, y + -1, z + 34, Block2, 0, 3); - world.setBlock(x + 2, y + -1, z + 35, Block4, 0, 3); - world.setBlock(x + 4, y + -1, z + 35, Block3, 0, 3); - world.setBlock(x + 5, y + -1, z + 35, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 35, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 35, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 35, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 35, Block3, 0, 3); - world.setBlock(x + 11, y + -1, z + 35, Block4, 0, 3); - world.setBlock(x + 4, y + -1, z + 36, Block10, 0, 3); - world.setBlock(x + 5, y + -1, z + 36, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 36, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 36, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 36, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 36, Block10, 0, 3); - world.setBlock(x + 4, y + -1, z + 37, Block10, 0, 3); - world.setBlock(x + 5, y + -1, z + 37, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 37, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 37, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 37, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 37, Block10, 0, 3); - world.setBlock(x + 4, y + -1, z + 38, Block10, 0, 3); - world.setBlock(x + 5, y + -1, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 38, Block10, 0, 3); - world.setBlock(x + 4, y + -1, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 39, Block10, 0, 3); - world.setBlock(x + 6, y + -1, z + 39, Block10, 0, 3); - world.setBlock(x + 7, y + -1, z + 39, Block10, 0, 3); - world.setBlock(x + 8, y + -1, z + 39, Block10, 0, 3); - world.setBlock(x + 9, y + -1, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 4, y + -1, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 5, y + -1, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 9, y + -1, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 8, y + -1, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 6, y + -1, z + 45, Blocks.air, 0, 3); - world.setBlock(x + 7, y + -1, z + 45, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 12, y + 0, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 0, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 17, Blocks.air, 0, 3); - - new Spaceship2().generate_r00(world, rand, x, y, z); - return true; - - } +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Spaceship extends WorldGenerator +{ + Block Block1 = ModBlocks.block_tungsten; + Block Block2 = ModBlocks.fusion_conductor; + Block Block3 = ModBlocks.block_steel; + Block Block4 = ModBlocks.fusion_heater; + Block Block5 = ModBlocks.block_meteor; + Block Block6 = ModBlocks.reactor_element; + Block Block7 = ModBlocks.fusion_core; + Block Block8 = ModBlocks.fusion_hatch; + Block Block9 = ModBlocks.reinforced_light; + Block Block10 = ModBlocks.reinforced_glass; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.grass, + Blocks.dirt, + Blocks.stone, + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + if(!LocationIsValidSpawn(world, x, y, z) || !LocationIsValidSpawn(world, x + 12, y, z) || !LocationIsValidSpawn(world, x, y, z + 23) || !LocationIsValidSpawn(world, x + 12, y, z + 23)) + { + return false; + } + + y += 1; + + world.setBlock(x + 2, y + -3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -3, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 3, y + -3, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 18, Block1, 0, 3); + world.setBlock(x + 2, y + -3, z + 19, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -3, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -3, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 19, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 20, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -3, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -3, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -3, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 20, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 21, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 21, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 22, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 22, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 23, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -3, z + 23, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 23, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -3, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 23, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 24, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 24, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 24, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 24, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 24, Block3, 0, 3); + world.setBlock(x + 9, y + -3, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 24, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 25, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 25, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 25, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 25, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 25, Block3, 0, 3); + world.setBlock(x + 9, y + -3, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 25, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 26, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 26, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 26, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 26, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 26, Block3, 0, 3); + world.setBlock(x + 9, y + -3, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 26, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 27, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 27, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 27, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 27, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 27, Block3, 0, 3); + world.setBlock(x + 9, y + -3, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 27, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 28, Block2, 0, 3); + world.setBlock(x + 3, y + -3, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 28, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 28, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 28, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 28, Block3, 0, 3); + world.setBlock(x + 9, y + -3, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 28, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 3, y + -3, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 9, y + -3, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -3, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -3, z + 29, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 30, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 3, y + -3, z + 30, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 4, y + -3, z + 30, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 5, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 30, Block3, 0, 3); + world.setBlock(x + 9, y + -3, z + 30, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + -3, z + 30, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 11, y + -3, z + 30, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 2, y + -3, z + 31, Block2, 0, 3); + world.setBlock(x + 5, y + -3, z + 31, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 31, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 31, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 31, Block3, 0, 3); + world.setBlock(x + 11, y + -3, z + 31, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 32, Block3, 0, 3); + world.setBlock(x + 5, y + -3, z + 32, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 32, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 32, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 32, Block3, 0, 3); + world.setBlock(x + 11, y + -3, z + 32, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 33, Block3, 0, 3); + world.setBlock(x + 5, y + -3, z + 33, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 33, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 33, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 33, Block3, 0, 3); + world.setBlock(x + 11, y + -3, z + 33, Block3, 0, 3); + world.setBlock(x + 2, y + -3, z + 34, Block2, 0, 3); + world.setBlock(x + 5, y + -3, z + 34, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 34, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 34, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 34, Block3, 0, 3); + world.setBlock(x + 11, y + -3, z + 34, Block2, 0, 3); + world.setBlock(x + 2, y + -3, z + 35, Block4, 0, 3); + world.setBlock(x + 5, y + -3, z + 35, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 35, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 35, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 35, Block3, 0, 3); + world.setBlock(x + 11, y + -3, z + 35, Block4, 0, 3); + world.setBlock(x + 5, y + -3, z + 36, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 6, y + -3, z + 36, Block3, 0, 3); + world.setBlock(x + 7, y + -3, z + 36, Block3, 0, 3); + world.setBlock(x + 8, y + -3, z + 36, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 5, y + -3, z + 37, Block3, 0, 3); + world.setBlock(x + 6, y + -3, z + 37, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 37, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 37, Block3, 0, 3); + world.setBlock(x + 4, y + -3, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 38, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 38, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 38, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 38, Block1, 0, 3); + world.setBlock(x + 4, y + -3, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 39, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 39, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 39, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 39, Block1, 0, 3); + world.setBlock(x + 9, y + -3, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -3, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -3, z + 40, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 40, Block1, 0, 3); + world.setBlock(x + 8, y + -3, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -3, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -3, z + 41, Block1, 0, 3); + world.setBlock(x + 7, y + -3, z + 41, Block1, 0, 3); + world.setBlock(x + 6, y + -3, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 2, y + -2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 4, y + -2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 11, y + -2, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 18, Block1, 0, 3); + world.setBlock(x + 1, y + -2, z + 19, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 19, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 19, Block2, 0, 3); + world.setBlock(x + 11, y + -2, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 19, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 20, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 21, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 22, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 22, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 22, Block2, 0, 3); + world.setBlock(x + 11, y + -2, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 22, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 23, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 9, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 24, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 25, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 25, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 25, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 5, y + -2, z + 25, 5, 3); + if(world.getBlock(x + 5, y + -2, z + 25) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(8), (TileEntityChest)world.getTileEntity(x + 5, y + -2, z + 25), 12); + } + world.setBlock(x + 6, y + -2, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 25, Blocks.chest, 4, 3); + world.setBlockMetadataWithNotify(x + 8, y + -2, z + 25, 4, 3); + if(world.getBlock(x + 8, y + -2, z + 25) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(8), (TileEntityChest)world.getTileEntity(x + 8, y + -2, z + 25), 12); + } + world.setBlock(x + 9, y + -2, z + 25, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 25, Block2, 0, 3); + world.setBlock(x + 11, y + -2, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 25, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 26, Blocks.chest, 5, 3); + world.setBlockMetadataWithNotify(x + 5, y + -2, z + 26, 5, 3); + if(world.getBlock(x + 5, y + -2, z + 26) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(8), (TileEntityChest)world.getTileEntity(x + 5, y + -2, z + 26), 12); + } + world.setBlock(x + 6, y + -2, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 26, Blocks.chest, 4, 3); + world.setBlockMetadataWithNotify(x + 8, y + -2, z + 26, 4, 3); + if(world.getBlock(x + 8, y + -2, z + 26) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(8), (TileEntityChest)world.getTileEntity(x + 8, y + -2, z + 26), 12); + } + world.setBlock(x + 9, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 26, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 27, ModBlocks.machine_reactor, 3, 3); + world.setBlock(x + 6, y + -2, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 27, ModBlocks.machine_reactor, 4, 3); + world.setBlock(x + 9, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 27, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 28, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 28, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 28, Block5, 0, 3); + world.setBlock(x + 6, y + -2, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 28, Block5, 0, 3); + world.setBlock(x + 9, y + -2, z + 28, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 28, Block2, 0, 3); + world.setBlock(x + 11, y + -2, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 28, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 29, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 30, Block6, 0, 3); + world.setBlock(x + 4, y + -2, z + 30, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 5, y + -2, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 30, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 10, y + -2, z + 30, Block6, 0, 3); + world.setBlock(x + 11, y + -2, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 30, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 31, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 31, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 31, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 31, Block2, 0, 3); + world.setBlock(x + 11, y + -2, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 31, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 32, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 32, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 32, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 32, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 32, Block2, 0, 3); + world.setBlock(x + 6, y + -2, z + 32, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 32, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 32, Block2, 0, 3); + world.setBlock(x + 9, y + -2, z + 32, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 32, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 32, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 32, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 2, y + -2, z + 33, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 33, Block2, 0, 3); + world.setBlock(x + 6, y + -2, z + 33, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 33, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 33, Block2, 0, 3); + world.setBlock(x + 9, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 11, y + -2, z + 33, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 33, Block3, 0, 3); + world.setBlock(x + 1, y + -2, z + 34, Block2, 0, 3); + world.setBlock(x + 2, y + -2, z + 34, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 34, Block2, 0, 3); + world.setBlock(x + 4, y + -2, z + 34, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 34, Block2, 0, 3); + world.setBlock(x + 6, y + -2, z + 34, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 34, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 34, Block2, 0, 3); + world.setBlock(x + 9, y + -2, z + 34, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 34, Block2, 0, 3); + world.setBlock(x + 11, y + -2, z + 34, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 34, Block2, 0, 3); + world.setBlock(x + 1, y + -2, z + 35, Block4, 0, 3); + world.setBlock(x + 2, y + -2, z + 35, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -2, z + 35, Block4, 0, 3); + world.setBlock(x + 4, y + -2, z + 35, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 35, ModBlocks.machine_battery, 5, 3); + world.setBlock(x + 6, y + -2, z + 35, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 35, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 35, ModBlocks.machine_battery, 4, 3); + world.setBlock(x + 9, y + -2, z + 35, Block3, 0, 3); + world.setBlock(x + 10, y + -2, z + 35, Block4, 0, 3); + world.setBlock(x + 11, y + -2, z + 35, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -2, z + 35, Block4, 0, 3); + world.setBlock(x + 2, y + -2, z + 36, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 3, y + -2, z + 36, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 4, y + -2, z + 36, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 5, y + -2, z + 36, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 6, y + -2, z + 36, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 36, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 36, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 9, y + -2, z + 36, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 10, y + -2, z + 36, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 11, y + -2, z + 36, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 4, y + -2, z + 37, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 37, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 37, Blocks.stone_stairs, 3, 3); + world.setBlock(x + 7, y + -2, z + 37, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 37, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -2, z + 37, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 38, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 38, Blocks.chest, 2, 3); + world.setBlockMetadataWithNotify(x + 8, y + -2, z + 38, 2, 3); + if(world.getBlock(x + 8, y + -2, z + 38) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 8, y + -2, z + 38), 12); + } + world.setBlock(x + 9, y + -2, z + 38, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 39, Block3, 0, 3); + world.setBlock(x + 5, y + -2, z + 39, Block3, 0, 3); + world.setBlock(x + 6, y + -2, z + 39, Block7, 0, 3); + world.setBlock(x + 7, y + -2, z + 39, Block8, 2, 3); + world.setBlock(x + 8, y + -2, z + 39, Block3, 0, 3); + world.setBlock(x + 9, y + -2, z + 39, Block3, 0, 3); + world.setBlock(x + 4, y + -2, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 40, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 40, Block4, 0, 3); + world.setBlock(x + 7, y + -2, z + 40, Block4, 0, 3); + world.setBlock(x + 8, y + -2, z + 40, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -2, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 41, Block1, 0, 3); + world.setBlock(x + 6, y + -2, z + 41, Block4, 0, 3); + world.setBlock(x + 7, y + -2, z + 41, Block4, 0, 3); + world.setBlock(x + 8, y + -2, z + 41, Block1, 0, 3); + world.setBlock(x + 9, y + -2, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 42, Block1, 0, 3); + world.setBlock(x + 7, y + -2, z + 42, Block1, 0, 3); + world.setBlock(x + 8, y + -2, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -2, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -2, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -2, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -2, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 1, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 12, y + -1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 3, y + -1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 18, Block1, 0, 3); + world.setBlock(x + 2, y + -1, z + 19, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 19, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 20, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 20, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 21, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 21, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 22, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 22, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 23, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + -1, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 23, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 24, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 24, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 24, Block3, 0, 3); + world.setBlock(x + 6, y + -1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 24, Block3, 0, 3); + world.setBlock(x + 9, y + -1, z + 24, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 24, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 25, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 25, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 25, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 25, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 26, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 26, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 26, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 26, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 27, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 27, Block9, 0, 3); + world.setBlock(x + 5, y + -1, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 27, Block9, 0, 3); + world.setBlock(x + 10, y + -1, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 27, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 28, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 28, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 28, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 11, y + -1, z + 28, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 29, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 29, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 29, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 29, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 29, Block3, 0, 3); + world.setBlock(x + 11, y + -1, z + 29, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 30, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 30, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 4, y + -1, z + 30, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 5, y + -1, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 30, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 30, ModBlocks.red_cable, 0, 3); + world.setBlock(x + 10, y + -1, z + 30, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 11, y + -1, z + 30, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 31, Block2, 0, 3); + world.setBlock(x + 3, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 31, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 31, Block3, 0, 3); + world.setBlock(x + 11, y + -1, z + 31, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 32, Block3, 0, 3); + world.setBlock(x + 3, y + -1, z + 32, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 32, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 32, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 32, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 32, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 32, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 32, Block3, 0, 3); + world.setBlock(x + 10, y + -1, z + 32, Block3, 0, 3); + world.setBlock(x + 11, y + -1, z + 32, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 4, y + -1, z + 33, Block9, 0, 3); + world.setBlock(x + 5, y + -1, z + 33, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 33, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 33, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 33, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 33, Block9, 0, 3); + world.setBlock(x + 11, y + -1, z + 33, Block3, 0, 3); + world.setBlock(x + 2, y + -1, z + 34, Block2, 0, 3); + world.setBlock(x + 4, y + -1, z + 34, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 34, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 34, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 34, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 34, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 34, Block3, 0, 3); + world.setBlock(x + 11, y + -1, z + 34, Block2, 0, 3); + world.setBlock(x + 2, y + -1, z + 35, Block4, 0, 3); + world.setBlock(x + 4, y + -1, z + 35, Block3, 0, 3); + world.setBlock(x + 5, y + -1, z + 35, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 35, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 35, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 35, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 35, Block3, 0, 3); + world.setBlock(x + 11, y + -1, z + 35, Block4, 0, 3); + world.setBlock(x + 4, y + -1, z + 36, Block10, 0, 3); + world.setBlock(x + 5, y + -1, z + 36, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 36, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 36, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 36, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 36, Block10, 0, 3); + world.setBlock(x + 4, y + -1, z + 37, Block10, 0, 3); + world.setBlock(x + 5, y + -1, z + 37, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 37, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 37, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 37, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 37, Block10, 0, 3); + world.setBlock(x + 4, y + -1, z + 38, Block10, 0, 3); + world.setBlock(x + 5, y + -1, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 38, Block10, 0, 3); + world.setBlock(x + 4, y + -1, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 39, Block10, 0, 3); + world.setBlock(x + 6, y + -1, z + 39, Block10, 0, 3); + world.setBlock(x + 7, y + -1, z + 39, Block10, 0, 3); + world.setBlock(x + 8, y + -1, z + 39, Block10, 0, 3); + world.setBlock(x + 9, y + -1, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 4, y + -1, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 5, y + -1, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 9, y + -1, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 8, y + -1, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 6, y + -1, z + 45, Blocks.air, 0, 3); + world.setBlock(x + 7, y + -1, z + 45, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 12, y + 0, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 0, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 17, Blocks.air, 0, 3); + + new Spaceship2().generate_r00(world, rand, x, y, z); + return true; + + } } \ No newline at end of file diff --git a/com/hbm/world/Spaceship2.java b/com/hbm/world/Spaceship2.java index 461ddb887..a5e02f842 100644 --- a/com/hbm/world/Spaceship2.java +++ b/com/hbm/world/Spaceship2.java @@ -1,454 +1,454 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S.SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; - -public class Spaceship2 -{ - Block Block1 = ModBlocks.block_tungsten; - Block Block2 = ModBlocks.fusion_conductor; - Block Block3 = ModBlocks.block_steel; - Block Block4 = ModBlocks.fusion_heater; - Block Block5 = ModBlocks.block_meteor; - Block Block6 = ModBlocks.reactor_element; - Block Block7 = ModBlocks.fusion_core; - Block Block8 = ModBlocks.fusion_hatch; - Block Block9 = ModBlocks.reinforced_light; - Block Block10 = ModBlocks.reinforced_glass; - - public boolean generate_r00(World world, Random rand, int x, int y, int z) - { - world.setBlock(x + 9, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 23, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 24, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 24, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 24, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 24, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 24, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 25, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 25, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 25, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 25, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 25, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 26, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 26, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 26, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 26, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 26, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 27, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 27, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 27, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 27, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 27, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 28, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 28, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 28, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 28, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 0, z + 28, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 0, z + 29, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 0, z + 29, Block3, 0, 3); - world.setBlock(x + 4, y + 0, z + 29, Block3, 0, 3); - world.setBlock(x + 5, y + 0, z + 29, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 29, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 29, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 29, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 29, Block3, 0, 3); - world.setBlock(x + 10, y + 0, z + 29, Block3, 0, 3); - world.setBlock(x + 2, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 3, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 4, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 5, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 10, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 11, y + 0, z + 30, Block3, 0, 3); - world.setBlock(x + 3, y + 0, z + 31, Block3, 0, 3); - world.setBlock(x + 4, y + 0, z + 31, Block3, 0, 3); - world.setBlock(x + 5, y + 0, z + 31, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 31, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 31, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 31, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 31, Block3, 0, 3); - world.setBlock(x + 10, y + 0, z + 31, Block3, 0, 3); - world.setBlock(x + 5, y + 0, z + 32, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 32, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 32, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 32, Block3, 0, 3); - world.setBlock(x + 5, y + 0, z + 33, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 33, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 33, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 33, Block3, 0, 3); - world.setBlock(x + 5, y + 0, z + 34, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 34, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 34, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 34, Block3, 0, 3); - world.setBlock(x + 5, y + 0, z + 35, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 35, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 35, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 35, Block3, 0, 3); - world.setBlock(x + 5, y + 0, z + 36, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 36, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 36, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 36, Block3, 0, 3); - world.setBlock(x + 4, y + 0, z + 37, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 37, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 37, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 37, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 37, Block3, 0, 3); - world.setBlock(x + 4, y + 0, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 38, Block3, 0, 3); - world.setBlock(x + 6, y + 0, z + 38, Block3, 0, 3); - world.setBlock(x + 7, y + 0, z + 38, Block3, 0, 3); - world.setBlock(x + 8, y + 0, z + 38, Block3, 0, 3); - world.setBlock(x + 9, y + 0, z + 38, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 39, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 40, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 0, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 0, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 0, z + 45, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 0, z + 45, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 0, z + 45, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 0, z + 45, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 11, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 10, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 3, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 1, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 17, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 18, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 19, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 20, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 21, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 22, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 41, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 42, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 43, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 1, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 1, z + 44, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 45, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 9, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 4, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 13, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 14, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 2, z + 15, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 16, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 7, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 8, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 9, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 3, z + 10, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 3, z + 11, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 12, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 2, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 3, Blocks.air, 0, 3); - world.setBlock(x + 5, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 4, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 8, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 7, y + 4, z + 7, Blocks.air, 0, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned spaceship at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S.SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; + +public class Spaceship2 +{ + Block Block1 = ModBlocks.block_tungsten; + Block Block2 = ModBlocks.fusion_conductor; + Block Block3 = ModBlocks.block_steel; + Block Block4 = ModBlocks.fusion_heater; + Block Block5 = ModBlocks.block_meteor; + Block Block6 = ModBlocks.reactor_element; + Block Block7 = ModBlocks.fusion_core; + Block Block8 = ModBlocks.fusion_hatch; + Block Block9 = ModBlocks.reinforced_light; + Block Block10 = ModBlocks.reinforced_glass; + + public boolean generate_r00(World world, Random rand, int x, int y, int z) + { + world.setBlock(x + 9, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 23, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 24, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 24, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 24, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 24, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 24, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 25, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 25, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 25, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 25, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 25, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 26, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 26, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 26, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 26, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 26, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 27, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 27, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 27, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 27, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 27, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 28, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 28, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 28, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 28, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 0, z + 28, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 0, z + 29, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 0, z + 29, Block3, 0, 3); + world.setBlock(x + 4, y + 0, z + 29, Block3, 0, 3); + world.setBlock(x + 5, y + 0, z + 29, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 29, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 29, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 29, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 29, Block3, 0, 3); + world.setBlock(x + 10, y + 0, z + 29, Block3, 0, 3); + world.setBlock(x + 2, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 3, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 4, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 5, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 10, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 11, y + 0, z + 30, Block3, 0, 3); + world.setBlock(x + 3, y + 0, z + 31, Block3, 0, 3); + world.setBlock(x + 4, y + 0, z + 31, Block3, 0, 3); + world.setBlock(x + 5, y + 0, z + 31, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 31, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 31, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 31, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 31, Block3, 0, 3); + world.setBlock(x + 10, y + 0, z + 31, Block3, 0, 3); + world.setBlock(x + 5, y + 0, z + 32, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 32, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 32, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 32, Block3, 0, 3); + world.setBlock(x + 5, y + 0, z + 33, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 33, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 33, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 33, Block3, 0, 3); + world.setBlock(x + 5, y + 0, z + 34, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 34, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 34, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 34, Block3, 0, 3); + world.setBlock(x + 5, y + 0, z + 35, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 35, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 35, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 35, Block3, 0, 3); + world.setBlock(x + 5, y + 0, z + 36, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 36, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 36, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 36, Block3, 0, 3); + world.setBlock(x + 4, y + 0, z + 37, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 37, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 37, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 37, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 37, Block3, 0, 3); + world.setBlock(x + 4, y + 0, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 38, Block3, 0, 3); + world.setBlock(x + 6, y + 0, z + 38, Block3, 0, 3); + world.setBlock(x + 7, y + 0, z + 38, Block3, 0, 3); + world.setBlock(x + 8, y + 0, z + 38, Block3, 0, 3); + world.setBlock(x + 9, y + 0, z + 38, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 39, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 40, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 0, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 0, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 0, z + 45, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 0, z + 45, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 0, z + 45, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 0, z + 45, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 11, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 10, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 3, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 1, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 17, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 18, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 19, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 20, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 21, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 22, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 41, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 42, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 43, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 1, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 1, z + 44, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 45, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 9, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 4, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 13, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 14, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 2, z + 15, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 16, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 7, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 8, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 9, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 3, z + 10, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 3, z + 11, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 12, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 2, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 3, Blocks.air, 0, 3); + world.setBlock(x + 5, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 4, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 8, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 7, y + 4, z + 7, Blocks.air, 0, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned spaceship at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Vertibird.java b/com/hbm/world/Vertibird.java index 638602cfb..5147f9467 100644 --- a/com/hbm/world/Vertibird.java +++ b/com/hbm/world/Vertibird.java @@ -1,514 +1,514 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; -import com.hbm.lib.HbmChestContents; -import com.hbm.main.MainRegistry; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.tileentity.TileEntityChest; -import net.minecraft.util.WeightedRandomChestContent; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Vertibird extends WorldGenerator -{ - Block Block2 = ModBlocks.block_steel; - Block Block1 = ModBlocks.block_tungsten; - Block Block4 = ModBlocks.reinforced_glass; - Block Block3 = ModBlocks.block_titanium; - - protected Block[] GetValidSpawnBlocks() - { - return new Block[] - { - Blocks.sand, - Blocks.sandstone, - }; - } - - public boolean LocationIsValidSpawn(World world, int x, int y, int z) - { - - Block checkBlock = world.getBlock(x, y - 1, z); - Block blockAbove = world.getBlock(x, y , z); - Block blockBelow = world.getBlock(x, y - 2, z); - - for (Block i : GetValidSpawnBlocks()) - { - if (blockAbove != Blocks.air) - { - return false; - } - if (checkBlock == i) - { - return true; - } - else if (checkBlock == Blocks.snow_layer && blockBelow == i) - { - return true; - } - else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) - { - return true; - } - } - return false; - } - - @Override - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - int yOffset = 3 + rand.nextInt(4); - - if(!LocationIsValidSpawn(world, x + 13, y, z + 10)) - { - return false; - } - - world.setBlock(x + 13, y + 0 - yOffset, z + 2, Block1, 0, 3); - world.setBlock(x + 12, y + 0 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 14, y + 0 - yOffset, z + 7, Block1, 0, 3); - world.setBlock(x + 13, y + 0 - yOffset, z + 9, Block1, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 11, y + 1 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 15, y + 1 - yOffset, z + 3, Block1, 0, 3); - world.setBlock(x + 11, y + 1 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 15, y + 1 - yOffset, z + 4, Block1, 0, 3); - world.setBlock(x + 11, y + 1 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 1 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 1 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 13, y + 1 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 14, y + 1 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 2 - yOffset, z + 0, Block2, 0, 3); - world.setBlock(x + 13, y + 2 - yOffset, z + 0, Block2, 0, 3); - world.setBlock(x + 14, y + 2 - yOffset, z + 0, Block2, 0, 3); - world.setBlock(x + 11, y + 2 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 15, y + 2 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 11, y + 2 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 12, y + 2 - yOffset, z + 2, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 14, y + 2 - yOffset, z + 2, Blocks.stone_stairs, 2, 3); - world.setBlock(x + 15, y + 2 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 15, y + 2 - yOffset, z + 3, Block3, 0, 3); - world.setBlock(x + 15, y + 2 - yOffset, z + 4, Block3, 0, 3); - world.setBlock(x + 10, y + 2 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 15, y + 2 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 10, y + 2 - yOffset, z + 6, Block3, 0, 3); - world.setBlock(x + 11, y + 2 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 15, y + 2 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 10, y + 2 - yOffset, z + 7, Block3, 0, 3); - world.setBlock(x + 11, y + 2 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 2 - yOffset, z + 7, Blocks.chest, 2, 3); - if(world.getBlock(x + 14, y + 2 - yOffset, z + 7) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(6), (TileEntityChest)world.getTileEntity(x + 14, y + 2 - yOffset, z + 7), 8); - } - world.setBlock(x + 15, y + 2 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 2 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 2 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 2 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 2 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 13, y + 2 - yOffset, z + 9, Block3, 0, 3); - world.setBlock(x + 14, y + 2 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 2 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 13, y + 2 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 14, y + 2 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 2 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 13, y + 2 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 14, y + 2 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 13, y + 2 - yOffset, z + 18, Block2, 0, 3); - world.setBlock(x + 12, y + 3 - yOffset, z + 0, Block4, 0, 3); - world.setBlock(x + 13, y + 3 - yOffset, z + 0, Block4, 0, 3); - world.setBlock(x + 14, y + 3 - yOffset, z + 0, Block4, 0, 3); - world.setBlock(x + 11, y + 3 - yOffset, z + 1, Block4, 0, 3); - world.setBlock(x + 15, y + 3 - yOffset, z + 1, Block4, 0, 3); - world.setBlock(x + 11, y + 3 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 15, y + 3 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 11, y + 3 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 15, y + 3 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 15, y + 3 - yOffset, z + 4, Block3, 0, 3); - world.setBlock(x + 15, y + 3 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 10, y + 3 - yOffset, z + 6, Block3, 0, 3); - world.setBlock(x + 11, y + 3 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 15, y + 3 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 10, y + 3 - yOffset, z + 7, Block3, 0, 3); - world.setBlock(x + 11, y + 3 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 15, y + 3 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 3 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 3 - yOffset, z + 8, ModBlocks.machine_battery, 2, 3); - world.setBlock(x + 14, y + 3 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 3 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 13, y + 3 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 3 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 3 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 13, y + 3 - yOffset, z + 10, Block3, 0, 3); - world.setBlock(x + 14, y + 3 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 3 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 13, y + 3 - yOffset, z + 11, Block3, 0, 3); - world.setBlock(x + 14, y + 3 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 12, y + 3 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 3 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 14, y + 3 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 3 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 13, y + 3 - yOffset, z + 18, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 0, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 0, Block2, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 0, Block2, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 1, Block4, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 1, Block4, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 2, Block4, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 2, Block4, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 4, y + 4 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 22, y + 4 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 10, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 11, Block3, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 11, y + 4 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 12, Block3, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 15, y + 4 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 12, y + 4 - yOffset, z + 13, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 13, Block2, 0, 3); - world.setBlock(x + 14, y + 4 - yOffset, z + 13, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 14, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 15, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 13, y + 4 - yOffset, z + 18, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 1, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 2, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 5 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 22, y + 5 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 5 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 9, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 10, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 16, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 17, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 18, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 21, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 22, y + 5 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 23, y + 5 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 5 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 22, y + 5 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 10, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 11, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 12, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 13, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 13, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 13, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 14, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 14, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 14, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 15, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 15, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 15, Block2, 0, 3); - world.setBlock(x + 9, y + 5 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 10, y + 5 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 16, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 16, y + 5 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 17, y + 5 - yOffset, z + 16, Block2, 0, 3); - world.setBlock(x + 8, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 9, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 10, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 11, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 17, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 15, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 16, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 17, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 18, y + 5 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 12, y + 5 - yOffset, z + 18, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 18, ModBlocks.red_wire_coated, 0, 3); - world.setBlock(x + 14, y + 5 - yOffset, z + 18, Block2, 0, 3); - world.setBlock(x + 13, y + 5 - yOffset, z + 19, Block1, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 1, Block1, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 3, Block2, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 11, y + 6 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 15, y + 6 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 22, y + 6 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 6, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 7, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 8, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 9, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 10, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 11, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 15, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 16, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 17, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 18, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 19, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 20, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 21, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 22, y + 6 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 23, y + 6 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 6 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 11, y + 6 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 6, Blocks.chest, 2, 3); - if(world.getBlock(x + 13, y + 6 - yOffset, z + 6) == Blocks.chest) - { - WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 13, y + 6 - yOffset, z + 6), 8); - } - world.setBlock(x + 14, y + 6 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 15, y + 6 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 22, y + 6 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 11, y + 6 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 15, y + 6 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 11, y + 6 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 15, y + 6 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 9, Block3, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 10, Block3, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 12, y + 6 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 14, y + 6 - yOffset, z + 12, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 13, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 14, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 17, Block2, 0, 3); - world.setBlock(x + 13, y + 6 - yOffset, z + 18, Block2, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 22, y + 7 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 7 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 7 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 12, y + 7 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 14, y + 7 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 21, y + 7 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 22, y + 7 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 23, y + 7 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 7 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 7 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 14, y + 7 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 22, y + 7 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 12, y + 7 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 14, y + 7 - yOffset, z + 7, Block2, 0, 3); - world.setBlock(x + 12, y + 7 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 14, y + 7 - yOffset, z + 8, Block2, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 9, Block2, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 10, Block2, 0, 3); - world.setBlock(x + 13, y + 7 - yOffset, z + 11, Block2, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 22, y + 8 - yOffset, z + 4, Block2, 0, 3); - world.setBlock(x + 3, y + 8 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 8 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 21, y + 8 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 22, y + 8 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 23, y + 8 - yOffset, z + 5, Block2, 0, 3); - world.setBlock(x + 4, y + 8 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 22, y + 8 - yOffset, z + 6, Block2, 0, 3); - world.setBlock(x + 4, y + 9 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 22, y + 9 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 1, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 1, Block3, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 2, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 2, Block3, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 3, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 3, Block3, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 4, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 4, Block3, 0, 3); - world.setBlock(x + 0, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 1, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 2, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 3, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 5, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 6, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 7, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 8, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 18, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 19, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 20, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 21, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 5, Block1, 0, 3); - world.setBlock(x + 23, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 24, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 25, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 26, y + 10 - yOffset, z + 5, Block3, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 6, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 6, Block3, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 7, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 7, Block3, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 8, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 8, Block3, 0, 3); - world.setBlock(x + 4, y + 10 - yOffset, z + 9, Block3, 0, 3); - world.setBlock(x + 22, y + 10 - yOffset, z + 9, Block3, 0, 3); - - generate_r02_last(world, rand, x, y, z, yOffset); - return true; - - } - public boolean generate_r02_last(World world, Random rand, int x, int y, int z, int yOffset) - { - - world.setBlock(x + 12, y + 2 - yOffset, z + 1, Blocks.lever, 3, 3); - world.setBlock(x + 14, y + 2 - yOffset, z + 1, Blocks.lever, 3, 3); - if(MainRegistry.enableDebugMode) - System.out.print("[Debug] Successfully spawned Vertibird at " + x + " " + y +" " + z + "\n"); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; +import com.hbm.lib.HbmChestContents; +import com.hbm.main.MainRegistry; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.tileentity.TileEntityChest; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Vertibird extends WorldGenerator +{ + Block Block2 = ModBlocks.block_steel; + Block Block1 = ModBlocks.block_tungsten; + Block Block4 = ModBlocks.reinforced_glass; + Block Block3 = ModBlocks.block_titanium; + + protected Block[] GetValidSpawnBlocks() + { + return new Block[] + { + Blocks.sand, + Blocks.sandstone, + }; + } + + public boolean LocationIsValidSpawn(World world, int x, int y, int z) + { + + Block checkBlock = world.getBlock(x, y - 1, z); + Block blockAbove = world.getBlock(x, y , z); + Block blockBelow = world.getBlock(x, y - 2, z); + + for (Block i : GetValidSpawnBlocks()) + { + if (blockAbove != Blocks.air) + { + return false; + } + if (checkBlock == i) + { + return true; + } + else if (checkBlock == Blocks.snow_layer && blockBelow == i) + { + return true; + } + else if (checkBlock.getMaterial() == Material.plants && blockBelow == i) + { + return true; + } + } + return false; + } + + @Override + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + int yOffset = 3 + rand.nextInt(4); + + if(!LocationIsValidSpawn(world, x + 13, y, z + 10)) + { + return false; + } + + world.setBlock(x + 13, y + 0 - yOffset, z + 2, Block1, 0, 3); + world.setBlock(x + 12, y + 0 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 14, y + 0 - yOffset, z + 7, Block1, 0, 3); + world.setBlock(x + 13, y + 0 - yOffset, z + 9, Block1, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 11, y + 1 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 15, y + 1 - yOffset, z + 3, Block1, 0, 3); + world.setBlock(x + 11, y + 1 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 15, y + 1 - yOffset, z + 4, Block1, 0, 3); + world.setBlock(x + 11, y + 1 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 1 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 1 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 13, y + 1 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 14, y + 1 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 2 - yOffset, z + 0, Block2, 0, 3); + world.setBlock(x + 13, y + 2 - yOffset, z + 0, Block2, 0, 3); + world.setBlock(x + 14, y + 2 - yOffset, z + 0, Block2, 0, 3); + world.setBlock(x + 11, y + 2 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 15, y + 2 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 11, y + 2 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 12, y + 2 - yOffset, z + 2, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 14, y + 2 - yOffset, z + 2, Blocks.stone_stairs, 2, 3); + world.setBlock(x + 15, y + 2 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 15, y + 2 - yOffset, z + 3, Block3, 0, 3); + world.setBlock(x + 15, y + 2 - yOffset, z + 4, Block3, 0, 3); + world.setBlock(x + 10, y + 2 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 15, y + 2 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 10, y + 2 - yOffset, z + 6, Block3, 0, 3); + world.setBlock(x + 11, y + 2 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 15, y + 2 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 10, y + 2 - yOffset, z + 7, Block3, 0, 3); + world.setBlock(x + 11, y + 2 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 2 - yOffset, z + 7, Blocks.chest, 2, 3); + if(world.getBlock(x + 14, y + 2 - yOffset, z + 7) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(6), (TileEntityChest)world.getTileEntity(x + 14, y + 2 - yOffset, z + 7), 8); + } + world.setBlock(x + 15, y + 2 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 2 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 2 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 2 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 2 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 13, y + 2 - yOffset, z + 9, Block3, 0, 3); + world.setBlock(x + 14, y + 2 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 2 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 13, y + 2 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 14, y + 2 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 2 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 13, y + 2 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 14, y + 2 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 13, y + 2 - yOffset, z + 18, Block2, 0, 3); + world.setBlock(x + 12, y + 3 - yOffset, z + 0, Block4, 0, 3); + world.setBlock(x + 13, y + 3 - yOffset, z + 0, Block4, 0, 3); + world.setBlock(x + 14, y + 3 - yOffset, z + 0, Block4, 0, 3); + world.setBlock(x + 11, y + 3 - yOffset, z + 1, Block4, 0, 3); + world.setBlock(x + 15, y + 3 - yOffset, z + 1, Block4, 0, 3); + world.setBlock(x + 11, y + 3 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 15, y + 3 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 11, y + 3 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 15, y + 3 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 15, y + 3 - yOffset, z + 4, Block3, 0, 3); + world.setBlock(x + 15, y + 3 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 10, y + 3 - yOffset, z + 6, Block3, 0, 3); + world.setBlock(x + 11, y + 3 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 15, y + 3 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 10, y + 3 - yOffset, z + 7, Block3, 0, 3); + world.setBlock(x + 11, y + 3 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 15, y + 3 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 3 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 3 - yOffset, z + 8, ModBlocks.machine_battery, 2, 3); + world.setBlock(x + 14, y + 3 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 3 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 13, y + 3 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 3 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 3 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 13, y + 3 - yOffset, z + 10, Block3, 0, 3); + world.setBlock(x + 14, y + 3 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 3 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 13, y + 3 - yOffset, z + 11, Block3, 0, 3); + world.setBlock(x + 14, y + 3 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 12, y + 3 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 3 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 14, y + 3 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 3 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 13, y + 3 - yOffset, z + 18, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 0, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 0, Block2, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 0, Block2, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 1, Block4, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 1, Block4, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 2, Block4, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 2, Block4, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 4, y + 4 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 22, y + 4 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 10, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 11, Block3, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 11, y + 4 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 12, Block3, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 15, y + 4 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 12, y + 4 - yOffset, z + 13, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 13, Block2, 0, 3); + world.setBlock(x + 14, y + 4 - yOffset, z + 13, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 14, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 15, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 13, y + 4 - yOffset, z + 18, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 1, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 2, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 5 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 22, y + 5 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 5 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 9, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 10, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 16, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 17, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 18, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 21, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 22, y + 5 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 23, y + 5 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 5 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 22, y + 5 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 9, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 9, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 10, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 10, ModBlocks.machine_generator, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 11, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 12, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 13, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 13, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 13, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 14, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 14, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 14, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 15, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 15, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 15, Block2, 0, 3); + world.setBlock(x + 9, y + 5 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 10, y + 5 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 16, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 16, y + 5 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 17, y + 5 - yOffset, z + 16, Block2, 0, 3); + world.setBlock(x + 8, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 9, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 10, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 11, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 17, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 15, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 16, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 17, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 18, y + 5 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 12, y + 5 - yOffset, z + 18, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 18, ModBlocks.red_wire_coated, 0, 3); + world.setBlock(x + 14, y + 5 - yOffset, z + 18, Block2, 0, 3); + world.setBlock(x + 13, y + 5 - yOffset, z + 19, Block1, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 1, Block1, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 3, Block2, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 11, y + 6 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 15, y + 6 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 22, y + 6 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 6, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 7, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 8, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 9, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 10, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 11, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 15, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 16, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 17, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 18, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 19, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 20, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 21, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 22, y + 6 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 23, y + 6 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 6 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 11, y + 6 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 6, Blocks.chest, 2, 3); + if(world.getBlock(x + 13, y + 6 - yOffset, z + 6) == Blocks.chest) + { + WeightedRandomChestContent.generateChestContents(rand, HbmChestContents.getLoot(3), (TileEntityChest)world.getTileEntity(x + 13, y + 6 - yOffset, z + 6), 8); + } + world.setBlock(x + 14, y + 6 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 15, y + 6 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 22, y + 6 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 11, y + 6 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 15, y + 6 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 11, y + 6 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 15, y + 6 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 9, Block3, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 10, Block3, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 12, y + 6 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 14, y + 6 - yOffset, z + 12, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 13, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 14, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 17, Block2, 0, 3); + world.setBlock(x + 13, y + 6 - yOffset, z + 18, Block2, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 22, y + 7 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 7 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 7 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 12, y + 7 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 14, y + 7 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 21, y + 7 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 22, y + 7 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 23, y + 7 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 7 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 7 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 14, y + 7 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 22, y + 7 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 12, y + 7 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 14, y + 7 - yOffset, z + 7, Block2, 0, 3); + world.setBlock(x + 12, y + 7 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 14, y + 7 - yOffset, z + 8, Block2, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 9, Block2, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 10, Block2, 0, 3); + world.setBlock(x + 13, y + 7 - yOffset, z + 11, Block2, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 22, y + 8 - yOffset, z + 4, Block2, 0, 3); + world.setBlock(x + 3, y + 8 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 8 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 21, y + 8 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 22, y + 8 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 23, y + 8 - yOffset, z + 5, Block2, 0, 3); + world.setBlock(x + 4, y + 8 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 22, y + 8 - yOffset, z + 6, Block2, 0, 3); + world.setBlock(x + 4, y + 9 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 22, y + 9 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 1, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 1, Block3, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 2, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 2, Block3, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 3, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 3, Block3, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 4, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 4, Block3, 0, 3); + world.setBlock(x + 0, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 1, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 2, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 3, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 5, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 6, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 7, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 8, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 18, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 19, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 20, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 21, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 5, Block1, 0, 3); + world.setBlock(x + 23, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 24, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 25, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 26, y + 10 - yOffset, z + 5, Block3, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 6, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 6, Block3, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 7, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 7, Block3, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 8, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 8, Block3, 0, 3); + world.setBlock(x + 4, y + 10 - yOffset, z + 9, Block3, 0, 3); + world.setBlock(x + 22, y + 10 - yOffset, z + 9, Block3, 0, 3); + + generate_r02_last(world, rand, x, y, z, yOffset); + return true; + + } + public boolean generate_r02_last(World world, Random rand, int x, int y, int z, int yOffset) + { + + world.setBlock(x + 12, y + 2 - yOffset, z + 1, Blocks.lever, 3, 3); + world.setBlock(x + 14, y + 2 - yOffset, z + 1, Blocks.lever, 3, 3); + if(MainRegistry.enableDebugMode) + System.out.print("[Debug] Successfully spawned Vertibird at " + x + " " + y +" " + z + "\n"); + return true; + + } + } \ No newline at end of file diff --git a/com/hbm/world/Watz.java b/com/hbm/world/Watz.java index ca7c7aca8..fb7c9b0e7 100644 --- a/com/hbm/world/Watz.java +++ b/com/hbm/world/Watz.java @@ -1,676 +1,676 @@ -//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" - -package com.hbm.world; - -import java.util.Random; - -import com.hbm.blocks.ModBlocks; - -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.init.Blocks; -import net.minecraft.world.World; -import net.minecraft.world.gen.feature.WorldGenerator; - -public class Watz extends WorldGenerator -{ - public boolean generate(World world, Random rand, int x, int y, int z) - { - int i = rand.nextInt(1); - - if(i == 0) - { - generate_r0(world, rand, x, y, z); - } - - return true; - - } - - public boolean generate_r0(World world, Random rand, int x, int y, int z) - { - x -= 3; - z -= 3; - - world.setBlock(x + 0, y + 0, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 0, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 0, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 0, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 0, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 0, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 0, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 0, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 0, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 0, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 0, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 0, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 0, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 0, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 0, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 0, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 0, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 0, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 0, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 0, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 0, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 0, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 0, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 0, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 0, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 0, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 0, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 0, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 0, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 0, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 0, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 0, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 0, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 0, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 0, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 0, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 0, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 0, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 0, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 0, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 0, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 0, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 0, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 0, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 0, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 0, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 0, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 0, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 0, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 1, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 1, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 1, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 1, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 1, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 1, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 1, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 1, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 1, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 1, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 1, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 1, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 1, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 1, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 1, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 1, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 1, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 1, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 1, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 1, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 1, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 1, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 1, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 1, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 1, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 1, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 1, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 1, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 1, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 1, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 1, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 1, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 1, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 1, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 1, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 1, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 2, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 2, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 2, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 2, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 2, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 2, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 2, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 2, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 2, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 2, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 2, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 2, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 2, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 2, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 2, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 2, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 2, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 2, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 2, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 2, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 2, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 2, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 2, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 2, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 2, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 2, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 2, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 2, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 2, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 2, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 2, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 2, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 2, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 2, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 2, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 2, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 3, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 3, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 3, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 3, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 3, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 3, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 3, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 3, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 3, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 3, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 3, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 3, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 3, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 3, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 3, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 3, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 3, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 3, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 3, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 3, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 3, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 3, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 3, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 3, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 3, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 3, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 3, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 3, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 3, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 3, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 3, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 3, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 3, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 3, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 3, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 3, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 4, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 4, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 4, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 4, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 4, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 4, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 4, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 4, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 4, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 4, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 4, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 4, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 4, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 4, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 4, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 4, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 4, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 4, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 4, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 4, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 4, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 4, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 4, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 4, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 4, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 4, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 4, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 4, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 4, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 4, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 4, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 4, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 4, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 4, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 4, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 5, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 5, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 5, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 5, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 5, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 5, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 5, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 5, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 5, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 5, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 5, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 5, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 5, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 5, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 5, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 5, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 5, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 5, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 5, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 5, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 5, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 5, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 5, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 5, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 5, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 5, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 5, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 5, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 5, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 5, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 5, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 5, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 5, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 5, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 5, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 5, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 5, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 5, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 6, z + 0, ModBlocks.watz_hatch, 2, 3); - world.setBlock(x + 4, y + 6, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 6, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 6, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 6, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 6, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 6, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 6, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 6, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 6, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 6, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 6, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 6, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 6, z + 3, ModBlocks.watz_hatch, 4, 3); - world.setBlock(x + 1, y + 6, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 6, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 6, z + 3, ModBlocks.watz_core, 0, 3); - world.setBlock(x + 4, y + 6, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 6, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 6, z + 3, ModBlocks.watz_hatch, 5, 3); - world.setBlock(x + 0, y + 6, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 6, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 6, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 6, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 6, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 6, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 6, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 6, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 6, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 6, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 6, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 6, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 6, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 6, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 6, z + 6, ModBlocks.watz_hatch, 3, 3); - world.setBlock(x + 4, y + 6, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 6, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 7, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 7, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 7, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 7, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 7, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 7, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 7, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 7, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 7, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 7, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 7, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 7, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 7, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 7, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 7, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 7, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 7, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 7, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 7, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 7, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 7, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 7, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 7, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 7, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 7, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 7, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 7, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 7, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 7, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 7, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 7, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 7, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 7, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 7, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 7, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 7, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 7, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 8, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 8, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 8, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 8, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 8, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 8, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 8, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 8, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 8, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 8, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 8, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 8, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 8, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 8, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 8, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 8, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 8, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 8, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 8, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 8, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 8, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 8, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 8, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 8, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 8, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 8, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 8, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 8, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 8, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 8, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 8, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 8, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 8, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 8, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 8, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 8, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 8, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 9, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 9, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 9, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 9, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 9, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 9, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 9, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 9, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 9, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 9, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 9, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 9, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 9, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 9, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 9, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 9, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 9, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 9, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 9, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 9, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 9, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 9, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 9, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 9, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 9, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 9, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 9, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 9, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 9, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 9, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 9, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 9, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 9, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 9, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 9, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 9, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 10, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 10, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 10, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 10, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 10, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 10, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 10, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 10, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 10, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 10, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 10, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 10, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 10, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 10, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 10, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 10, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 10, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 10, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 10, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 10, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 10, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 10, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 10, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 10, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 10, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 10, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 10, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 10, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 10, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 10, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 10, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 10, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 10, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 10, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 10, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 10, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 11, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 11, z + 0, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 0, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 11, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 11, z + 1, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 11, z + 1, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 11, z + 1, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 11, z + 1, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 11, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 11, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 11, z + 2, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 11, z + 2, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 11, z + 2, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 11, z + 2, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 11, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 11, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 2, y + 11, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 3, y + 11, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 11, z + 3, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 5, y + 11, z + 3, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 6, y + 11, z + 3, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 11, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 1, y + 11, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 2, y + 11, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 3, y + 11, z + 4, ModBlocks.watz_cooler, 0, 3); - world.setBlock(x + 4, y + 11, z + 4, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 5, y + 11, z + 4, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 6, y + 11, z + 4, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 0, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 2, y + 11, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 3, y + 11, z + 5, ModBlocks.watz_control, 0, 3); - world.setBlock(x + 4, y + 11, z + 5, ModBlocks.watz_element, 0, 3); - world.setBlock(x + 5, y + 11, z + 5, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 6, y + 11, z + 5, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 1, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 2, y + 11, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 3, y + 11, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 4, y + 11, z + 6, ModBlocks.reinforced_brick, 0, 3); - world.setBlock(x + 5, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 6, y + 11, z + 6, Blocks.air, 0, 3); - world.setBlock(x + 0, y + 12, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 12, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 12, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 12, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 12, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 12, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 12, z + 0, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 12, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 12, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 12, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 12, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 12, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 12, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 12, z + 1, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 12, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 12, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 12, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 12, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 12, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 12, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 12, z + 2, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 12, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 12, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 12, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 12, z + 3, ModBlocks.watz_conductor, 0, 3); - world.setBlock(x + 4, y + 12, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 12, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 12, z + 3, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 12, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 12, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 12, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 12, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 12, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 12, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 12, z + 4, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 12, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 12, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 12, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 12, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 12, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 12, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 12, z + 5, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 0, y + 12, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 1, y + 12, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 2, y + 12, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 3, y + 12, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 4, y + 12, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 5, y + 12, z + 6, ModBlocks.watz_end, 0, 3); - world.setBlock(x + 6, y + 12, z + 6, ModBlocks.watz_end, 0, 3); - return true; - - } - +//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" + +package com.hbm.world; + +import java.util.Random; + +import com.hbm.blocks.ModBlocks; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class Watz extends WorldGenerator +{ + public boolean generate(World world, Random rand, int x, int y, int z) + { + int i = rand.nextInt(1); + + if(i == 0) + { + generate_r0(world, rand, x, y, z); + } + + return true; + + } + + public boolean generate_r0(World world, Random rand, int x, int y, int z) + { + x -= 3; + z -= 3; + + world.setBlock(x + 0, y + 0, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 0, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 0, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 0, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 0, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 0, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 0, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 0, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 0, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 0, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 0, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 0, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 0, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 0, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 0, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 0, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 0, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 0, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 0, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 0, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 0, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 0, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 0, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 0, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 0, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 0, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 0, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 0, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 0, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 0, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 0, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 0, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 0, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 0, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 0, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 0, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 0, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 0, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 0, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 0, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 0, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 0, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 0, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 0, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 0, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 0, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 0, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 0, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 0, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 1, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 1, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 1, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 1, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 1, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 1, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 1, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 1, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 1, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 1, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 1, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 1, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 1, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 1, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 1, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 1, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 1, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 1, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 1, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 1, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 1, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 1, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 1, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 1, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 1, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 1, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 1, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 1, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 1, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 1, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 1, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 1, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 1, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 1, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 1, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 1, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 2, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 2, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 2, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 2, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 2, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 2, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 2, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 2, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 2, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 2, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 2, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 2, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 2, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 2, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 2, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 2, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 2, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 2, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 2, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 2, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 2, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 2, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 2, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 2, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 2, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 2, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 2, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 2, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 2, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 2, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 2, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 2, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 2, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 2, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 2, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 2, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 3, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 3, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 3, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 3, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 3, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 3, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 3, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 3, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 3, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 3, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 3, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 3, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 3, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 3, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 3, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 3, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 3, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 3, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 3, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 3, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 3, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 3, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 3, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 3, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 3, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 3, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 3, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 3, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 3, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 3, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 3, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 3, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 3, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 3, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 3, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 3, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 4, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 4, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 4, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 4, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 4, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 4, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 4, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 4, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 4, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 4, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 4, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 4, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 4, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 4, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 4, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 4, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 4, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 4, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 4, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 4, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 4, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 4, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 4, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 4, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 4, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 4, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 4, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 4, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 4, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 4, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 4, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 4, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 4, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 4, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 4, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 4, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 5, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 5, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 5, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 5, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 5, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 5, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 5, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 5, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 5, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 5, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 5, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 5, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 5, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 5, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 5, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 5, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 5, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 5, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 5, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 5, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 5, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 5, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 5, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 5, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 5, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 5, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 5, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 5, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 5, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 5, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 5, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 5, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 5, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 5, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 5, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 5, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 5, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 5, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 6, z + 0, ModBlocks.watz_hatch, 2, 3); + world.setBlock(x + 4, y + 6, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 6, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 6, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 6, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 6, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 6, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 6, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 6, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 6, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 6, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 6, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 6, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 6, z + 3, ModBlocks.watz_hatch, 4, 3); + world.setBlock(x + 1, y + 6, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 6, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 6, z + 3, ModBlocks.watz_core, 0, 3); + world.setBlock(x + 4, y + 6, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 6, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 6, z + 3, ModBlocks.watz_hatch, 5, 3); + world.setBlock(x + 0, y + 6, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 6, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 6, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 6, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 6, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 6, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 6, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 6, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 6, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 6, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 6, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 6, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 6, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 6, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 6, z + 6, ModBlocks.watz_hatch, 3, 3); + world.setBlock(x + 4, y + 6, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 6, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 7, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 7, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 7, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 7, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 7, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 7, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 7, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 7, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 7, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 7, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 7, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 7, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 7, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 7, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 7, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 7, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 7, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 7, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 7, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 7, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 7, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 7, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 7, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 7, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 7, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 7, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 7, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 7, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 7, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 7, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 7, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 7, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 7, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 7, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 7, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 7, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 7, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 8, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 8, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 8, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 8, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 8, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 8, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 8, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 8, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 8, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 8, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 8, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 8, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 8, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 8, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 8, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 8, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 8, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 8, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 8, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 8, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 8, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 8, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 8, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 8, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 8, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 8, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 8, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 8, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 8, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 8, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 8, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 8, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 8, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 8, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 8, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 8, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 8, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 9, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 9, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 9, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 9, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 9, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 9, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 9, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 9, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 9, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 9, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 9, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 9, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 9, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 9, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 9, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 9, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 9, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 9, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 9, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 9, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 9, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 9, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 9, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 9, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 9, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 9, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 9, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 9, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 9, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 9, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 9, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 9, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 9, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 9, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 9, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 9, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 10, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 10, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 10, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 10, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 10, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 10, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 10, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 10, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 10, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 10, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 10, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 10, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 10, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 10, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 10, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 10, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 10, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 10, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 10, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 10, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 10, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 10, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 10, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 10, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 10, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 10, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 10, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 10, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 10, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 10, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 10, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 10, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 10, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 10, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 10, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 10, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 11, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 11, z + 0, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 0, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 11, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 11, z + 1, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 11, z + 1, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 11, z + 1, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 11, z + 1, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 11, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 11, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 11, z + 2, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 11, z + 2, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 11, z + 2, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 11, z + 2, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 11, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 11, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 2, y + 11, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 3, y + 11, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 11, z + 3, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 5, y + 11, z + 3, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 6, y + 11, z + 3, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 11, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 1, y + 11, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 2, y + 11, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 3, y + 11, z + 4, ModBlocks.watz_cooler, 0, 3); + world.setBlock(x + 4, y + 11, z + 4, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 5, y + 11, z + 4, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 6, y + 11, z + 4, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 0, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 2, y + 11, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 3, y + 11, z + 5, ModBlocks.watz_control, 0, 3); + world.setBlock(x + 4, y + 11, z + 5, ModBlocks.watz_element, 0, 3); + world.setBlock(x + 5, y + 11, z + 5, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 6, y + 11, z + 5, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 1, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 2, y + 11, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 3, y + 11, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 4, y + 11, z + 6, ModBlocks.reinforced_brick, 0, 3); + world.setBlock(x + 5, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 6, y + 11, z + 6, Blocks.air, 0, 3); + world.setBlock(x + 0, y + 12, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 12, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 12, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 12, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 12, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 12, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 12, z + 0, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 12, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 12, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 12, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 12, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 12, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 12, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 12, z + 1, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 12, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 12, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 12, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 12, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 12, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 12, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 12, z + 2, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 12, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 12, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 12, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 12, z + 3, ModBlocks.watz_conductor, 0, 3); + world.setBlock(x + 4, y + 12, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 12, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 12, z + 3, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 12, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 12, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 12, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 12, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 12, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 12, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 12, z + 4, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 12, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 12, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 12, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 12, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 12, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 12, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 12, z + 5, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 0, y + 12, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 1, y + 12, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 2, y + 12, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 3, y + 12, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 4, y + 12, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 5, y + 12, z + 6, ModBlocks.watz_end, 0, 3); + world.setBlock(x + 6, y + 12, z + 6, ModBlocks.watz_end, 0, 3); + return true; + + } + } \ No newline at end of file